text:
Break long words immediately if word is longer than wrap width.

This changes the break logic for words that are longer than the container width.
For example (assuming default break characters):
Old logic:
+----------------------+
|This is an example of |
|a sentence containing |
|the word              |
|supercalifragilisticex|
|pialidocious          |
+----------------------+

New Logic:
+----------------------+
|This is an example of |
|a sentence containing |
|the word supercalifrag|
|ilisticexpialidocious |
+----------------------+

I've only ran the new logic through a few naive tests, so please give it a try. The code is mostly the same as before, it just looks ahead for the next line break and sees if the width is greater than the max_width specified.
Downsides: lv_txt_get_next_line() is now a little bit more expensive since it has to look further into the string.

writing up more elegant (and efficient code) right now to mitigate downsides.

Ok, I'm actually a bit stumped now. My code isn't working exaclty as expected because of spaces between characters. Currently, it seems the text wrapping code does not account for this (lv_font_get_width() is only the width of the glyph). Unfortunately, character spacing is part of styles and not passed to these functions.
I think i have my other bugs figured out (not yet commited), but this is sort of stumping. @kisvegabor what do you think the best way to proceed?

Ok I was just tired last night, didn't see that letter_space was passed in. This is now ready to merge. I made it as efficient as possible.
How this is currently slower or more resource hungry than the old implementation:

Requires one additional variable w_since_last_break during string transversal that is only updated upon break character. Minimal Overhead.

Continues transversing string after max_width has been reached until a break character is found or max_width since the last break character has been reached. For typical use case, this is only a few extra characters.

Overall there is a very minimal performance penalty.

Additional checks could be put in to set a minimum length for the first breakpoint (like 4 characters). Do we want to do this?

@BrianPugh

Additional checks could be put in to set a minimum length for the first breakpoint (like 4 characters). Do we want to do this?

What would the memory/performance impact of those additional checks be?

Performance impact would be near 0. I'll add some more code this evening. I think a reasonable cutoff would be 3. This is to just avoid something that looks like:
+----------------------+
|This is an example of |
|a sentence containing |
|the word filllllerrr s|
|upercalifragilisticexp|
|ialidocious           |
+----------------------+

If set to 3, it would look like:
+----------------------+
|This is an example of |
|a sentence containing |
|the word filllllerr   |
|supercalifragilisticex|
|pialidocious          |
+----------------------+

With the following being the first instance of a break:
+----------------------+
|This is an example of |
|a sentence containing |
|the word filllller sup|
|ercalifragilisticexpia|
|lidocious             |
+----------------------+

@BrianPugh I see no problem with adding it then; looks great!

Added the feature described above
Currently the length is defined as 3, mimicking the bottom example of above.
Ready to merge on my end.

Sorry for not responding so far. I can immerse into it on the weekend to see how it works.

Sorry for the noise in commits.
I think I found a more simple way to achieve this. Or have I missed something?
See: https://github.com/littlevgl/lvgl/pull/703/commits/f6a46578fdcef47059e68ee436659dcffabdc7a5

authors: BrianPugh embeddedt kisvegabor

repo: littlevgl/lvgl


text:
分数位time类型字段解析失败

5.7版本time类型解析正常。
time(3) time(6)解析结果失败，解析结果为'00:00:00'

my2sql引用了 https://github.com/siddontang的binlog解析库，这个库当前还不支持time类型数据解析，
相关bug：https://github.com/siddontang/go-mysql/issues/515

my2sql引用了 github.com/siddontang的binlog解析库，这个库当前还不支持time类型数据解析，相关bug：https://github.com/siddontang/go-mysql/issues/515

赞！！！

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Modpack won't open.

I downloaded the modpack on Curseforge and tried to launch it, but it just won't work. It kept saying "Exit code 0", so I tried adding more ram and redownloading it, but nothing's working. I'm really sad about this, because it looks like a really cool modpack.
latest.log
Any idea why it won't work?

Try to use the latest Java 8.

Also, thanks your playing!

still will not launch modpack even with latest JDK and Java 8
https://pastebin.com/TwdqicM3

still will not launch modpack even with latest JDK and Java 8
https://pastebin.com/TwdqicM3

Is it a private paste? I cannot open it.

still will not launch modpack even with latest JDK and Java 8
https://pastebin.com/TwdqicM3

Open the Control Panel and find "Language and region" and unselect anything with “beta”, that might be helpful.

I'm having the same issue (Java 8 291) using both MultiMC and Curse.
8 GB RAM allocated
Ryzen 7 3700X
GTX 1660 TI
Link to my pastebin: https://paste.ee/p/ebbVJ

I'm having the same issue (Java 8 291) using both MultiMC and Curse.
8 GB RAM allocated
Ryzen 7 3700X
GTX 1660 TI
Link to my pastebin: https://paste.ee/p/ebbVJ

Try to reinstall it, It seems like your forge wasn't installed correctly.

That didn't help.
Neither on Curse or MultiMC.

That didn't help.
Neither on Curse or MultiMC.

I see, I'll try to fix it later. Thanks everyone!

you have a corrupt forge on the modpack, I just copied the config, mod and script folders from your modpack into a new installation and installed forge 36.1.4 and had no issue running the modpack from the new installation.  You will need to update your forge on the modpack to correct this issue.

I updated my modpack, please have a try. If it still cannot open, I have no idea to fix it. :-(

https://pastebin.com/qX4i0eu6
still same issue hopefully this link works

I think I know what the problem is: Your pack is using a non-standard "!" for its title [！] which is causing major issues for those who are trying to play the pack. This is a character issue, and you need to rename the pack and push a new update out with that. I strongly suggest you rename and republish without that exclamation mark. @liuseniubi
Mentioned because I identified the problem and the solution.

I think I know what the problem is: Your pack is using a non-standard "!" for its title [！] which is causing major issues for those who are trying to play the pack. This is a character issue, and you need to rename the pack and push a new update out with that. I strongly suggest you rename and republish without that exclamation mark. @liuseniubi
Mentioned because I identified the problem and the solution.

WOW! AWESOME! THANKS A LOT!

No problem, glad to be of help. After further testing, that was indeed the problem; renaming the directory SOLVED the problem.

For everyone in this issue:
Sorry for everyone, I'm Chinese and we use [！] instead of [!], and that was the problem.
My team are all students, so we don't have enough spare time to update this modpack. But we are constructing a brand new developing way in the early age to replace the Exnihilo mod (Because we think it's too boring, all you have to do is sieveing things until you created a cobblestone generator.).

No problem, glad to be of help. After further testing, that was indeed the problem; renaming the directory SOLVED the problem.

Could you please test it again, I've fixed it. Thanks in advance.

No problem, glad to be of help. After further testing, that was indeed the problem; renaming the directory SOLVED the problem.

Could you please test it again, I've fixed it. Thanks in advance.

Sure thing, let me download a fresh instance from the CF website, will let you know if you fixed it.

I can tell immediately by the renaming of the pack that the fix will definitely work for everyone else here. Thank you for implementing the fix so quickly.

I can tell immediately by the renaming of the pack that the fix will definitely work for everyone else here. Thank you for implementing the fix so quickly.

Thanks again! It's time to close that annoying issue.

authors: Famous5000 Jdreioe Thatiweirdo jammer131 liuseniubi zeeoric

repo: liuseniubi/CreaTech


text:
504 Gateway Time-out

I made everything from the readme file , but when i try to access www.mywebsite.com/?escaped_fragment= it take some time and then i get a 504 gateway time-out

It seems the problem exists in your web app, which is handling www.mywebsite.com/#!. You need to inspect why it's time-out.

authors: RusEu liuwenchao

repo: liuwenchao/ajax-seo

license: mit

license_source: bigquery


text:
🛑 proships.ru is down

In ffb73fd, proships.ru (https://proships.ru) was down:

HTTP code: 0
Response time: 0 ms

Resolved: proships.ru is back up in f35e2ae.


text:
Interpolates messages with variables

This PR adds the feature of interpolated messages.

[x] add a text inside the help message explaining the interpolation syntax

The interpolation syntax is the same one from KinoDB. One can write a slack interpolated message like this

@josevalim applied your last feedback regarding avoiding appending to the end of a List. I think we're good to now.
Want to take a last look?

source: gharchive/pull-request


text:
Livebook windows app launcher error code 1

Environment

Operating system: Windows 10 Pro 22H2 OS Build 19045.2364
Livebook version: [v0.8.0] & [v0.7.1]

Current behavior
I've just installed Livebook v0.8.0 from official web site for the first time on this machine.
After installation it shows this error, then tried to install an older version (v0.7.1) downloaded from github but it gives the same error

Livebook exited with error code 1.
[os_mon] win32 supervisor port (win32sysinfo): Erlang has closed

Expected behavior
Livebook would launch a local notebook

@ol3mon could you please try a new nightly release? https://livebook.dev/releases/nightly/LivebookInstall-nightly-windows-x86_64.exe
We added some logging during the setup and when running the app so it should be easier to diagnose problems.

Please re-open if you still run into this issue, thanks!

repo: livebook-dev/livebook


text:
[bug][Android] java.lang.RuntimeException: android.opengl.GLException: Failed to create EGL context: 0x3000

Failed to handle method call

java.lang.RuntimeException: android.opengl.GLException: Failed to create EGL context: 0x3000

                                                                                at org.webrtc.EglBase14Impl.createEglContext(EglBase14Impl.java:336)
                                                                                at org.webrtc.EglBase14Impl.-$$Nest$smcreateEglContext(Unknown Source:0)
                                                                                at org.webrtc.EglBase14Impl$EglConnection.<init>(EglBase14Impl.java:66)
                                                                                at org.webrtc.EglBase$EglConnection.create(EglBase.java:50)
                                                                                at org.webrtc.EglThread.lambda$create$0(EglThread.java:64)
                                                                                at org.webrtc.EglThread$$ExternalSyntheticLambda2.call(Unknown Source:4)
                                                                                at org.webrtc.ThreadUtils$3.run(ThreadUtils.java:173)
                                                                                at android.os.Handler.handleCallback(Handler.java:873)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                at org.webrtc.EglThread$HandlerWithExceptionCallbacks.dispatchMessage(EglThread.java:96)
                                                                                at android.os.Looper.loop(Looper.java:226)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:65)
                                                                                at org.webrtc.ThreadUtils.invokeAtFrontUninterruptibly(ThreadUtils.java:184)
                                                                                at org.webrtc.EglThread.create(EglThread.java:57)
                                                                                at org.webrtc.EglThread.create(EglThread.java:79)
                                                                                at org.webrtc.EglRenderer.init(EglRenderer.java:218)
                                                                                at org.webrtc.EglRenderer.init(EglRenderer.java:229)
                                                                                at com.cloudwebrtc.webrtc.SurfaceTextureRenderer.init(SurfaceTextureRenderer.java:61)
                                                                                at com.cloudwebrtc.webrtc.SurfaceTextureRenderer.init(SurfaceTextureRenderer.java:41)
                                                                                at com.cloudwebrtc.webrtc.FlutterRTCVideoRenderer.<init>(FlutterRTCVideoRenderer.java:106)
                                                                                at com.cloudwebrtc.webrtc.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:517)
                                                                                at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
                                                                                at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
                                                                                at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
                                                                                at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
                                                                                at android.os.Handler.handleCallback(Handler.java:873)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                at android.os.Looper.loop(Looper.java:226)
                                                                                at android.app.ActivityThread.main(ActivityThread.java:7224)
                                                                                at java.lang.reflect.Method.invoke(Native Method)
                                                                                at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:500)
                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:913)
                                                                                Caused by: android.opengl.GLException: Failed to create EGL context: 0x3000
                                                                                at org.webrtc.EglBase14Impl.createEglContext(EglBase14Impl.java:336)
                                                                                at org.webrtc.EglBase14Impl.-$$Nest$smcreateEglContext(Unknown Source:0)
                                                                                at org.webrtc.EglBase14Impl$EglConnection.<init>(EglBase14Impl.java:66)
                                                                                at org.webrtc.EglBase$EglConnection.create(EglBase.java:50)
                                                                                at org.webrtc.EglThread.lambda$create$0(EglThread.java:64)
                                                                                at org.webrtc.EglThread$$ExternalSyntheticLambda2.call(Unknown Source:4)
                                                                                at org.webrtc.ThreadUtils$3.run(ThreadUtils.java:173)
                                                                                at android.os.Handler.handleCallback(Handler.java:873)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                at org.webrtc.EglThread$HandlerWithExceptionCallbacks.dispatchMessage(EglThread.java:96)
                                                                                at android.os.Looper.loop(Looper.java:226)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:65)

2.2.6/2.2.7/2.3.0都遇到了此报错 ，报错后视频无法渲染。我们是在视频列表点击item放大视频单独展示时遇到的此问题。

repo: livekit/client-sdk-flutter


text:
Initial commit of signal deduper.

Idea is to protect against signal storm from misbehaving clients.
Design:

SignalDeduper interface with one method to handle a SignalRequest and return if dupe or not.
Signal specific deduper. Could have made a single de-duper which could handle all signal message types, but making it per type so that the code is cleaner.
Some module (like the router) can instantiate whatever signal types it wants to de-dupe. When a signal message is received, that module can run the signal message through the list of de-dupers and potentially drop the message if any of the de-dupers declare that the message is a dupe. Making it a list of de-dupers makes things a little bit inefficient, but keeps things cleaner. Hopefully, not many de-dupers will be needed so that the inefficiency is not pronounced.

lg!
Just thinking about cleaning up for a bit. When participant disconnect, how do we get rid of this cached state (it's small today)? There are two approaches:

ParticipantClosed() interface that will signal cleanup for that participant
for participantsSubscriptions, use a lru with a TTL at the initial level.

wdyt?

Yes, I was thinking more about this. When integrating this, I realised that each signal sink can actually instantiate de-duper(s) and when the sink closes, the de-duper(s) go away too.
The main reason for that is because having a single set of de-duper(s) on a signalling node means all signalling messages flow through that chain and could be a bottle neck.
But, having the ParticipantKey is okay I think. That gives the flexibility of either instantiating once on a signalling node and passing all signal messages through that OR it can be instantiated in each signal sink. When instantiating in each signal sink, the ParticipantKey indirection is a bit of inefficiency, but not bad.
I will add a ParticipantClosed method to the interface for clean up purposes.

repo: livekit/livekit


text:
sendData is not working

First problem. I am using:
await this.client.sendData(roomId, encoder.encode(JSON.stringify(message)), DataPacket_Kind.RELIABLE, {});

The data is sent successfully, but none of the recipients receive the data. The client settings are all fine, and I can create and use rooms without any issues.
Second problem: After several minutes of creating a room, this method starts throwing an error
Error: Request failed with status 503: Service Unavailable
    at <anonymous> (./app/backend/node_modules/livekit-server-sdk/dist/TwirpRPC.js:27:14)
    at processTicksAndRejections (:12:39)
      at ./app/backend/src/lib/LiveKitManager.ts:73:13

and I don't know why. After creating a new room, the method works for 5-7 minutes before encountering the same error again (but clients do not receive anything in both scenarios).

I forget to add "room" field while creating access token, so all my participant was in room named "". I think we need an error for this situation

repo: livekit/server-sdk-js


text:
add round status component

What does this pull request do? Explain your changes. (required)
This PR adds a round status component to the explorer so tokenholders can view how many blocks and how much time is left in the current round, and whether it's been initialized. This component can be viewed by tapping on the little round widget on the bottom of the sidebar.
Does this pull request close any open issues?
Closes #537
Additional Context
This component relies on data from the Livepeer SDK as opposed to the subgraph because at the moment the subgraph only indexes new rounds when they're initialized, but this component requires displaying whether a round has been initialized or not. I plan on submitting a feature request to the Graph that would allow us to create a dynamic handler that gets triggered, for example, 5760 blocks after the currentRoundStartBlock, so we can eventually swap out the data in this component with subgraph data.
Screenshots (optional):

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

The PR overall looks good to me.
I personally have a preference to have more condensed information on the modal rather than full sentences. I think one good option is to put more emphasis on time as a unit rather than block count. The latter can be too abstract at times to do quick math when the remaining number of blocks is still fairly large.
Therefore I would perhaps use time indication in the circle and block numbers in the informative text area on the right.

Yeah, that's a fair point. I used blocks for the chart since it's deterministic, whereas the time estimate per round can change based on average block times. I'll look into ways w emphasis the time more in another iteration.

repo: livepeer/livepeerjs


text:
[BUG] 刚启动的时候遇到闪退npe

检查清单

[X] 之前没有人提交过类似或相同的 bug report。
[X] 我正在使用本软件的最新版本。

我的电视·〇 版本
最新
Bug 描述
java.lang.NullPointerException
at com.lizongying.mytv0.ErrorFragment.getBinding(ErrorFragment.kt:13)
at com.lizongying.mytv0.ErrorFragment.show(ErrorFragment.kt:37)
at com.lizongying.mytv0.MainActivity.hideErrorFragment(MainActivity.kt:524)
at com.lizongying.mytv0.MainActivity.access$hideErrorFragment(MainActivity.kt:25)
at com.lizongying.mytv0.MainActivity$watch$1$2.invoke(MainActivity.kt:196)
at com.lizongying.mytv0.MainActivity$watch$1$2.invoke(MainActivity.kt:189)
at com.lizongying.mytv0.MainActivity$sam$androidx_lifecycle_Observer$0.onChanged(Unknown Source:2)
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:151)
at androidx.lifecycle.LiveData.setValue(LiveData.java:309)
at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:50)
at com.lizongying.mytv0.models.TVModel.setReady(TVModel.kt:84)
at com.lizongying.mytv0.models.TVList.setPosition(TVList.kt:340)
at com.lizongying.mytv0.MainActivity.ready(MainActivity.kt:149)
at com.lizongying.mytv0.PlayerFragment$onCreateView$1.onGlobalLayout(PlayerFragment.kt:136)
at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:1142)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4167)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2933)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10235)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1634)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1643)
at android.view.Choreographer.doCallbacks(Choreographer.java:1172)
at android.view.Choreographer.doFrame(Choreographer.java:1076)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1607)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
预期行为
正常
实际行为
闪退
复现步骤
No response
UI / OS
小米
Android 版本
14
额外信息
No response

1.2.8已修復

authors: lizongying shuohao


text:
Matrix

I have made things!
Checklist

[x] I'm sure that I did not unrelated changes in this pull request
[x] I have created at least one test case for the changes I have made
[x] I have updated the documentation for the changes I have made
[x] I have added my changes to the CHANGELOG.rst

Related issues
Format is:

Closes #727
Refs #727

I tried to follow the symmetry with the integers() function of the same provider, that's why I use the two parameters start and end. The implementation is quite straightforward.

@ceccoemi I'm closing this because of conflicts. Can you please recreate it?

@lk-geimfari I will recreate it as soon as I can.

authors: ceccoemi lk-geimfari

repo: lk-geimfari/mimesis


text:
多语言支持I18N的问题？

请问下schema的title如何配置i18n？

一样的 title 是一个翻译方法的返回值

你好，我说的是json的key怎么给呢？

userName是一个propertites，但是schema的root 的title不知道怎么设置key了

还有一个问题，就是切换语言之后，title不会自动切换，刷新一下页面才可以，这个要怎么处理呢？

这个也是需要你的translate方法支持响应式

authors: FEsujian lljj-x

repo: lljj-x/vue-json-schema-form


text:
Looking for a new maintainer

I now only rarely use Atom and am looking for a new maintainer for this project. Please chime in.

@jazzpi do you feel like this could be of interest to you?

I still use Atom regularly and I think I know how this package works by
now, but I don't really work on ex-mode too often anymore. I guess I
could at least merge PRs and test them for a bit though since I use the
package pretty much daily, so I would take it up if no one else wants too.
On 25.11.2015 14:39, Loic Nageleisen wrote:

@jazzpi https://github.com/jazzpi do you feel like this could be of
interest to you?
—
Reply to this email directly or view it on GitHub
https://github.com/lloeki/ex-mode/issues/116#issuecomment-159610625.

What do you use instead? :D

@jazzpi I added you as a collaborator :-)

Alright, thanks :smile:

Thanks @jazzpi, now that I know about the need for maintenance I'll peer in sometimes. I mostly wondered what the upgrades were after 0.8.0 came out. :smile:

It would be cool if Atom would pick up this package formally, since vim-mode is directly supported.

DUDE!! I'll pick it up!  I came here to file a bug for ex-mode, and was shocked to find that you had written it.  I keep swapping back and forth between vim and atom.

Hah, cool :-) Super busy right now but if @jazzpi doesn't oppose, I'll add you as a collab for now.

No objections, more people working on this can't hurt :smile:

Welcome, @CHIEFnChowCombo.

Hai , i am entirely new to atom. In my VIM world I do use :column , :sort , :set nowrap, etc commands very often . Can i request you guys to add them to the ' : ' please.
I am new to .js and .coffee too , but to make atom the best ever editor (One day when I can just copy my vimrc to atom) , this seems to be a good enough motivation to pick up a new language :)

@vivek-nandyala Hello. You can open new issues for your requests and PR are welcomed

authors: CHIEFnChowCombo bakert hultberg jazzpi lloeki rgbkrk vivek-nandyala

repo: lloeki/ex-mode


text:
Valheimplus fails to load

This is more of a question than an issue. It's unclear to me whether the valheimplus mod is already in the package or I should download and implement it myself. I've tried using the "-e VALHEIM_PLUS=true" but to no avail. The folder and file neither get created.
using the following docker run command:
docker run -d
--name valheim-server-plus-true
-p 2456-2458:2456-2458/udp
-v /docker/valheim/config:/config
-e SERVER_NAME=****
-e WORLD_NAME=Valhalla
-e SERVER_PASS=****
-e VALHEIM_PLUS=true
-e VPCFG_Server_enabled=true
-e VPCFG_Server_enforceMod=false
-e VPCFG_Server_dataRate=200
lloesche/valheim-server

I just got the same issue trying to add the V+ mod to a server i host.
For now you can use the :dev version of the image, it pulling the mod, just tried it.

Just like the Valheim dedicated server ValheimPlus is automatically downloaded by the container when you VALHEIM_PLUS=true.
There's no need for you to add anything. Also it's been part of the :latest main branch for a while. No need to use the :dev tag.
Just make sure to pull the :latest image tag and don't have an old version of the image on your container host.

Looking at your command above I would also recommend creating /docker/valheim/data on your host and run with -v /docker/valheim/data:/opt/valheim. That way startup is faster as it doesn't have to download the 1 GB Valheim server from Steam each time you start.

Also, on first start make sure that your config/ folder has no directory named valheimplus. If the directory exists the installer assumes you have an existing ValheimPlus config and won't create it and copy the default V+ config.

@gitglennoo did this answer your question? I'll close the issue but feel free to create a new one if there's anything that's unclear or not working.

authors: Hydeo gitglennoo lloesche

repo: lloesche/valheim-server-docker


text:
Chore(web-twig): Use Node v18 for development since the Docker image for v16 no longer exists

In theory, we still support older Node versions until #DS-466 is fully resolved.

coverage: 80.165% (-16.2%) from 96.371%
when pulling c3c89d177bd3b8475afbe5823138c6f0b8353fce on chore/upgrade-development-node-to-v18
into 9f1715641d5610a6b88a6eb79d20677095391e73 on main.

authors: adamkudrna coveralls

repo: lmc-eu/spirit-design-system


text:
Style(docs): Fix docs using markdown linter

Description

Additional context

Issue reference

https://jira.almacareer.tech/browse/DS-1100

We should rename MIGRATION- to migration-.

coverage: 79.469%. remained the same
when pulling 1af993d191d987d80de2f5e09f346e9d77138c3b on style/DS-1100-docs-makdown-lint
into 332d07c419dbfa5eb4c1f9621eca89890cc2fd86 on main.

authors: coveralls literat


text:
Snapshot - diplay indices

Hi,
cerebro-0.5.1 & elastic 5.2.2
in menu more -> snapshot.
Indices (defaults to all if none is selected) doesn't work. It always show all indices tested Chrome / FireFox.
After checking page code I noticed element doesn't change value:

Checked

<input type="checkbox" ng-model="showSpecialIndices" ng-true-value="true" class="ng-valid ng-dirty ng-valid-parse ng-touched ng-not-empty">

Empty

<input type="checkbox" ng-model="showSpecialIndices" ng-true-value="true" class="ng-valid ng-dirty ng-valid-parse ng-touched ng-empty">

Where "ng-true-value" is always true.

PS: Keep up great work!

@frenkye thanks for reporting! I have been limited on time, but hopefully during the weekend I can close a few issues :)

authors: frenkye lmenezes

repo: lmenezes/cerebro


text:
Colour for heap usage missleading

I'm not sure if this is a bug, or I'm misunderstanding what it means...  Here's an example I often see:

es105 is showing red, but is at 6.35 of 12GB, while es103 is at 6.82 of 12GB.
I assumed that blue == ok, and red == over some percentage of the total, i.e. warning.
Is this a bug, or do the bars mean something different?
Could I have found this explained in documentation somewhere?
Using kopf v1.3.4
Thanks!

+1

repo: lmenezes/elasticsearch-kopf


text:
How to simulate a large file?

@tangxifan my file rtl input of OpenFPGA is a large file which are up to 200000 LUTs and it generate the file: test_top_formal_verification.v. I simulate test_top_formal_verification.v by vcs and questasim tool and because the size of  test_top_formal_verification.v is extremely large, the simulation tool can not simulate (I simulate test_top_formal_verification.v by vcs tool, it took my server up to 160 GB ram). So, with the large design, how do you resimulate to verify the result of OpenFPGA and how long does it take to simulate? how many bytes ram resource does it occupy?

@ducminhnguyen123 It is difficult to estimate as different HDL simulators behave differently on peak memory usage and runtime. I have not tried 2,000,000 LUT on HDL simulation. My experience is that VCS may take 5G for a 6k-LUT device. So you may see the limited on peak memory usage.

repo: lnis-uofu/OpenFPGA


text:
Is there a ready-to-go Docker image?

Hi, I was wondering if there is a ready-to-go Docker image that I can install on my Synology nas. Using Docker on the Synology nas goes to a GUI, so I really don’t know how to install your container without using the GUI.
TIA

Closed due to no response!

repo: loblab/noip-renew


text:
Remove systype in favor of the official ansible_os_library fact

cf: http://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html#ansible-os-family

@pushcx Would you agree one this and the #27 ? I could add it to this PR at the same time.
I think the next big step should be to add group_vars and templating of files so there would be less discrepencies between roles (and avoid issues like you mentioned in #31)

repo: lobsters/lobsters-ansible

license: ISC


text:
Bug report - Error on startup after last update.

Describe the bug
Hello,
I have LS downloaded through chocolatey. After updating to v1.15.3, when I open it, I'm greeted with a screen with the following error:
LocalSend 1.15.3 (53)
Error: PathAccessException: Cannot open file, path = 'C:\ProgramData\chocolatey\lib\localsend.portable\tools\settings.json' (OS Error: Access is denied.
, errno = 5)
#0      _Link.throwIfError (dart:io/link.dart:254)
#1      _File.openSync (dart:io/file_impl.dart:490)
#2      _File.writeAsBytesSync (dart:io/file_impl.dart:644)
#3      _File.writeAsStringSync (dart:io/file_impl.dart:668)
#4      SharedPreferencesFile._write (package:localsend_app/util/shared_preferences/shared_preferences_file.dart:72)
#5      SharedPreferencesFile.setValue (package:localsend_app/util/shared_preferences/shared_preferences_file.dart:63)
#6      PersistenceService.initialize (package:localsend_app/provider/persistence_provider.dart:122)

#7      preInit (package:localsend_app/config/init.dart:60)

#8      main (package:localsend_app/main.dart:23)

Is it an error on my end? It was working fine before.
To reproduce

Have LS 1.15.2 downloaded from chocolatey
upgrade to latest 1.15.3 through chocolatey
open local send
See error message abovev

Expected behavior
start normally
Screenshots

Desktop (please complete the following information)
Using Win10.
Chocolatey
Smartphone (please complete the following information)
No response
Additional context
No response

Is the executable located in the same directory as settings.json?
If you delete settings.json, then it should fallback to a location in AppData. But I don't know why it doesn't have write access though...
Maybe @brogers5 knows more

I'm surprised this hasn't been reported earlier. Looks like v1.13.0 started including settings.json in the portable packaging, which would trigger this behavior.
This is because Chocolatey locks down the write permissions of C:\ProgramData\chocolatey for non-Administrators as part of its installation process, and the contents of the extracted ZIP archive live within here. Had this same problem come up recently in another package I maintain.
A workaround would be to run LocalSend as administrator to grant the process the user token it needs to write here.
I'll need to tweak the portable package to better support this use case for non-elevated users. Most likely this will involve implementing support for the ChocolateyToolsLocation environment variable to enable better control of where it gets extracted.
FYI, the Chocolatey packages are not maintained here, and any issues with them should be directed to the appropriate repository (in this case, the portable package):
https://github.com/brogers5/chocolatey-package-localsend
https://github.com/brogers5/chocolatey-package-localsend.install
https://github.com/brogers5/chocolatey-package-localsend.portable

Troubleshooting LocalSend Access Error
Error Description
When opening LocalSend after updating to version 1.15.3, you encounter the following error:
Error: PathAccessException: Cannot open file, path = 'C:\ProgramData\chocolatey\lib\localsend.portable\tools\settings.json' (OS Error: Access is denied., errno = 5)
#0 _Link.throwIfError (dart:io/link.dart:254)
#1 _File.openSync (dart:io/file_impl.dart:490)
#2 _File.writeAsBytesSync (dart:io/file_impl.dart:644)
#3 _File.writeAsStringSync (dart:io/file_impl.dart:668)
#4 SharedPreferencesFile._write (package:localsend_app/util/shared_preferences/shared_preferences_file.dart:72)
#5 SharedPreferencesFile.setValue (package:localsend_app/util/shared_preferences/shared_preferences_file.dart:63)
#6 PersistenceService.initialize (package:localsend_app/provider/persistence_provider.dart:122)
#7 preInit (package:localsend_app/config/init.dart:60)
#8 main (package:localsend_app/main.dart:23)

Troubleshooting Steps
Step 1: Changing File Permissions

Navigate to C:\ProgramData\chocolatey\lib\localsend.portable\tools.
Right-click on the settings.json file and select Properties.
Go to the Security tab.
Click on Edit to change permissions.
Select the user running the application and ensure that the user has Read and Write permissions.
Apply the changes.

Step 2: Running the Application as Administrator

Right-click on the LocalSend application shortcut.
Select Run as administrator.

Step 3: Checking Antivirus/Firewall Settings

Open your antivirus or firewall software.
Check the logs to see if it has blocked access to settings.json.
If it has, create an exception for the LocalSend application or the specific file path.

Step 4: Reinstall LocalSend

Open Command Prompt as an administrator.
Uninstall LocalSend:choco uninstall localsend.portable

Reinstall LocalSend:choco install localsend.portable

If the issue persists after following these steps, please let me know, and we can explore further troubleshooting options. Additionally, if you have any specific code changes or configuration that you want to address, please share the details.

i got this error and after running it as administrator now when it auto starts i cant minimize or close the window

https://github.com/brogers5/chocolatey-package-localsend.portable/issues/1#issuecomment-2264446673
concludes this is a bug in localsend

What path does it say without administrator run? @slrgt

brogers5/chocolatey-package-localsend.portable#1 (comment) concludes this is a bug in localsend

Just wanted to clarify this applies only to @slrgt's comments. The parent issue is specific to the Chocolatey package and should not require any changes in LocalSend. This will be addressed with the next package version.

I've just pushed a package fix version.

authors: CullPen Tienisto Yolakalemowa brogers5 liayn slrgt

repo: localsend/localsend


text:
Update specs to latest

Incorporates new CFN specs for lambda functions and SNS subscriptions, as well as adding support for the two intrinsic functions that CFN added: ImportValue and Sub.

Coverage remained the same at 100.0% when pulling 44176a7a0c90ac196062d7e9c87e87cdc49b5708 on updates into e3a4a31204edd3837b6c8b715faa6f40647ae763 on master.

Closing this in favor of #60

authors: coveralls kddeisz

repo: localytics/humidifier


text:
GEOMESA-3238 Support for Non-Normalized Heatmaps

Adds normalization boolean to DensityProcess
Updates density process documentation to reflect the change
Adds scala implementation of the HeatmapSurface class

@ronq @jrs53 @elahrvivaz

Going to close for now, but feel free to re-open if work resumes.

authors: elahrvivaz mkearns-ccri

repo: locationtech/geomesa


text:
GEOMESA-1123 Adding max features for bin queries

Signed-off-by: Emilio Lahr-Vivaz elahrvivaz@ccri.com
Note: stacks on top of #845

looks good

dc5e471cacb93c3c66a26ad0cede7a6cb8a556dd

authors: elahrvivaz jahhulbert-ccri


text:
Create mechanism for synchronizing version in JVM and Python builds

Things like project version, project description, spark version. etc.
Suggest creating a class called org.locationtech.rasterframes.Info having a static main method whereby command-line invocation of the .jar will provide values from RFBuildInfo. setup.py could then run the .jar and get the settings defined by sbt.

Depends on #144

NB: setup.py would be responsible for writing out __version__.py, or however else the Python build wants to do based on the values in RFBuildInfo.

I think it's fine if there is a cross-platform executable that setup.py  can run.
Some food for thought on how to maintain version info on the python side. https://packaging.python.org/guides/single-sourcing-package-version/

authors: metasim vpipkt

repo: locationtech/rasterframes


text:
Is this repo dead ?

I've seen no updates in 9 months and some of the links mentioned are dead.

If you check the closed PRs there are a bunch of them that are 3 weeks old

we're just not very good at our job.

What @melvin2001 said. Lots more updates recently, but also work and vacations are a thing.

repo: lockfale/OSINT-Framework


text:
Boost.Python: Optional arguments in overloaded function break Python-derived models

Managed to reliably reproduce the issue I referred to in #841. Here is a MWE:
Note, that each of the ddp.solve(...) options below should work the same. However, the only one that calls the calc method in our Python-derived class (which prints x and u and raises an exception to test) is the one with no arguments. The other calls to ddp.solve(xs, us, etc.) never call back into the Python-derived class.
#!/usr/bin/env python
# coding: utf-8
from __future__ import print_function, division

import numpy as np
import crocoddyl

class DifferentialActionModelTestIssue842(crocoddyl.DifferentialActionModelAbstract):
    def __init__(self):
        crocoddyl.DifferentialActionModelAbstract.__init__(self, crocoddyl.StateVector(4), 12, 2)

    def calc(self, data, x, u=None):
        print("[calc]", "x", x, "u", u)
        raise

    def calcDiff(self, data, x, u=None):
        pass

# Creating the DAM
def create_integrated_action_model():
    testDAM = DifferentialActionModelTestIssue842()
    testND = crocoddyl.DifferentialActionModelNumDiff(testDAM, True)
    testIAM = crocoddyl.IntegratedActionModelEuler(testND, 1e-2)
    return testIAM

# Creating the shooting problem
x0 = np.array([0., 0., 0., 0.])
T = 50

terminal_model = create_integrated_action_model()
running_models = [create_integrated_action_model() for _ in range(T)]

# Initial control sequence depends on the gait status:
us_init = [np.ones(running_models[t].nu) for t in range(T)]
xs_init = [np.array(x).copy() for x in np.linspace([0,0], [1,0], T + 1).tolist()]

problem = crocoddyl.ShootingProblem(x0, running_models, terminal_model)

# Solving it using DDP
ddp = crocoddyl.SolverFDDP(problem)
ddp.setCallbacks([crocoddyl.CallbackVerbose()])

# ddp.setCandidate(xs_init, us_init, False) # this is not working due to #841

ddp.solve(xs_init)                           # never calls DifferentialActionModelTestIssue842.calc
ddp.solve(xs_init, us_init)                  # never calls DifferentialActionModelTestIssue842.calc
ddp.solve(xs_init, us_init, 100)             # never calls DifferentialActionModelTestIssue842.calc
ddp.solve(xs_init, us_init, 100, False)      # never calls DifferentialActionModelTestIssue842.calc
ddp.solve(xs_init, us_init, 100, False, 0.1) # never calls DifferentialActionModelTestIssue842.calc
ddp.solve()                                  # Works as intended, calls DifferentialActionModelTestIssue842.calc and raises the exception

# Further, we can break the correctly working `ddp.solve()` option by uncommenting the setCandidate call (another overloaded method) earlier... then it also won't call back into Python

I have tested a bit more the issue.
If you use crocoddyl.StdVec_VectorX() for constructing xs_init and us_init, then there is no problem, e.g.
xs = crocoddyl.StdVec_VectorX()
us = crocoddyl.StdVec_VectorX()
for x in xs_init:
  xs.append(x)
for u in us_init:
  us.append(u)

ddp.solve(xs)
ddp.solver(xs, us)

I need to investigate a bit more how to solve this issue. It seems that boost option doesn't recognize List objects.

More updates.
@wxmerkt you have an error in the code, the dimension of the xs_init should be 4, not 2.
This is the reason why it doesn't recognize the list. Maybe there is a way to make a warning message for these cases.

@wxmerkt you have an error in the code, the dimension of the xs_init should be 4, not 2.

Indeed, thanks for spotting it! This resolves the observed issue. Interesting that the silent overwriting hence memory messing up had this effect.

authors: cmastalli wxmerkt


text:
[CI] Create an artifact for the front build

When building the project, we have a docker for the API, containing the frontend build.
It should be nice for advanced deployments to have the frontend build in a dedicated artifact, available for a release.
Maybe it could be interesting to have also available for any MR.
We had this feature in the previous Gitlab CI.

There is still a bug in the release workflow.
Artifacts are downloaded, but not uploaded to the release.
Need to dig a bit further.

repo: locokit/locokit


text:
error "Locomotive::Coal::UnauthorizedError" how should i do

I'm newbie for locomotivecms. I have a question. I can't pull and deploy the site from engine which installed on my company server to wagon on my machine, the error is "Pulling...\Locomotive::Coal::UnauthorizedError", but i can pull and deploy to locomotivecms demo server as anytime I want, how should I do?
Sorry for my english.

hi @surachet6,
What's the version of the Locomotive instance running on your company server? What's the version of Wagon you're using?

Sorry, forget the above error. It was because of my server was in private network not accessible from my local development machine. Does Locomotive support deployments through SSH tunnels?

I'd say yes, I don't see why it wouldn't

repo: locomotivecms/coal


text:
Ruff set python version and enable more rules

Set python target-version for ruff.
Enable FA102 rule (Checks for uses of PEP 585- and PEP 604-style type annotations in Python modules that lack the required from future import annotations import for compatibility with older Python versions).
Enable pyupgrade rules.
Make code compatible with rules.

Nice! One small comment, then it is good to go.

What do you think about also enabling isort-like "unsorted-imports (I001)" rule?
(https://docs.astral.sh/ruff/rules/unsorted-imports/)

What do you think about also enabling isort-like "unsorted-imports (I001)" rule? (https://docs.astral.sh/ruff/rules/unsorted-imports/)

Sounds good! I tried using isort a little, but in some cases (locustfiles) we need to ensure locust is imported before other things (because of gevent monkeypatching). If that can be solved then great!

authors: cyberw tdadela

repo: locustio/locust


text:
feat: DOC-234 | add vale - the docs linter

Closes DOC-234

Addressed PR review comments also added a rule that blocks pluralizing vCluster.

Checkout is updated to v4, not sure why it wasn't showing. Added more explicit path triggers for *.mdx and *.md files only.

repo: loft-sh/vcluster-docs


text:
Add Kubernetes capabilities to the default yamls

The linux cap CAP_DAC_READ_SEARCH needs to be enabled in the k8s yaml since the binary has the effective bit set. This is required regardless of running as root or non-root.
Signed-off-by: Jacob Hull jacob@planethull.com

@logdnabot test this

@logdnabot test this


text:
Adding ref to component returns the provided node instead of wrapped node

So this is an interesting problem. When trying to use DraftJS editor in my app, I am unable to use the ref for the editor to access the APIs usually available. I think this is because the Component has instance methods that are obscured by provide.
Setup:

Using in import 'react-redux-provide/lib/install'
Include DraftJS editor component.

import React, { PropTypes, Component } from 'react';
import { Editor, EditorState } from 'draft-js';

export default class MessageBox extends Component {
  render() {
    return <Editor editorState={editorState} onChange={this.onChange}
          ref={node => this.editorNode = node}/>
    </div>;
   }

  onChange = (event) => this.editorNode.focus();
}

This should cause the editor to focus on any input change (useless really but it should work). However, I cannot access the focus() method from the node due to provide. I have a workaround by just adding the __provided prop to the editor, which bypasses the provide wrapper, but I think there should be a better solution.

The import 'react-redux-provide/lib/install' method automatically wraps all React components.  There should be wrappedComponent on the ProvideEditor instance that is the Editor instance.

I had tried this:
ref={node => this.editorNode = node.refs.wrappedInstance}

and that works but throws the following:
index.js?8a51:37 Uncaught TypeError: Cannot read property 'refs' of null

That line refers to node being null.

I can guard against the error, but it seems hacky, I'm not sure why node would ever be null.

I think maybe it has something to do with the component's lifecycle.  But I'm not entirely sure.  React's docs include an example where they check for null as well: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute.  Searching for the term "null" on that page also sort of explains some things.  And then within the complete example code's comments: "The ref attribute is a callback that saves a reference to the component to this.myTextInput when the component is mounted."
Also, I just noticed I told you the wrong thing (wrappedComponent) but you figured it out (wrappedInstance).  Sorry about that.

Don't worry about it. No damage done. You're right though, they even guard against null in the examples. Thanks for the help.

repo: loggur/react-redux-provide


text:
Added tag_on_failure filter attribute

Code modifications for issue #20

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

LGTM

authors: elasticsearch-release hartfordfive ph

repo: logstash-plugins/logstash-filter-json


text:
Blink.md

#76

How does it look??

Duplicate of #

repo: loki-project/loki-docs


text:
Add click event to map markers

Up to now, the user was unable to click on the map marker to load the "about" content in the map sidebar. You had to mouse up to the pop-up and click on that. This was a problem when markers were closely clustered because it was easy to accidentally hover over a different marker in the process. It also was a poor user experience to be able to hover, but not click, on the map marker. Thank you, @jcreamer898, for helping to get this working as it should

Seems legit.

repo: lonelyplanet/rizzo-next


text:
fix: pv volume-scheduling-error not consistent with volume condition

Which issue(s) this PR fixes:

Issue longhorn/longhorn#9514
What this PR does / why we need it:
Update PV volume-scheduling-error annotation when the replica schedule precheck fails.
Special notes for your reviewer:
None
Additional documentation or context
None

@mergify backport v1.7.x

repo: longhorn/longhorn-manager


text:
[BUG]  Nightly Test: test_deleting_backup_volume  sometimes failed

Describe the bug
sometimes test_deleting_backup_volume test failed
To Reproduce
Install Longhorn master
Run test_deleting_backup_volume
Expected behavior
test should pass
Log
client = <longhorn.Client object at 0x7f624a44e550>

    def test_deleting_backup_volume(client):  # NOQA
        """
        Test deleting backup volumes

        1. Create volume and create backup
        2. Delete the backup and make sure it's gone in the backupstore
        """
        lht_hostId = get_self_host_id()

        volName = generate_volume_name()
        volume = create_and_check_volume(client, volName)

        volume.attach(hostId=lht_hostId)
        volume = common.wait_for_volume_healthy(client, volName)

        bv, _, snap1, _ = create_backup(client, volName)
        _, _, snap2, _ = create_backup(client, volName)

        bv = client.by_id_backupVolume(volName)
        client.delete(bv)
>       common.wait_for_backup_volume_delete(client, volName)

test_basic.py:1378:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
common.py:1402: in wait_for_backup_volume_delete
    bvs = client.list_backupVolume()
longhorn.py:538: in <lambda>
    method(type_name, *args, **kw)
longhorn.py:441: in list
    return self._get(collection_url, data=self._to_dict(**kw))
longhorn.py:280: in _get
    return self._unmarshall(self._get_raw(url, data=data))
longhorn.py:74: in wrapped
    return fn(*args, **kw)
longhorn.py:287: in _get_raw
    r = self._get_response(url, data)
longhorn.py:294: in _get_response
    self._error(r.text, r.status_code)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <longhorn.Client object at 0x7f624a44e550>
text = '{"actions":{},"code":"Server Error","detail":"","links":{"self":"http://10.42.0.3:9500/v1/backupvolumes"},"message":"...1/bd\': No such file or directory\\\\n, error exit status 2\\"\\n, error exit status 1","status":500,"type":"error"}\n'
status_code = 500

    def _error(self, text, status_code):
>       raise ApiError(self._unmarshall(text), status_code)
E       longhorn.ApiError: (ApiError(...), '500 : error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-master/longhorn [backup ls --volume-only nfs://longhorn-test-nfs-svc.default:/opt/backupstore], output Failed to execute: ls [-1 /var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore/backupstore/volumes/a1/bd], output ls: cannot open directory \'/var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore/backupstore/volumes/a1/bd\': No such file or directory\n, error exit status 2\n, stderr, time="2020-07-17T08:53:26Z" level=error msg="Failed to execute: ls [-1 /var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore/backupstore/volumes/a1/bd], output ls: cannot open directory \'/var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore/backupstore/volumes/a1/bd\': No such file or directory\\n, error exit status 2"\n, error exit status 1\n{\'code\': 500, \'detail\': \'\', \'message\': \'error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-master/longhorn [backup ls --volume-only nfs://longhorn-test-nfs-svc.default:/opt/backupstore], output Failed to execute: ls [-1 /var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore/backupstore/volumes/a1/bd], output ls: cannot open directory \\\'/var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore/backupstore/volumes/a1/bd\\\': No such file or directory\\n, error exit status 2\\n, stderr, time="2020-07-17T08:53:26Z" level=error msg="Failed to execute: ls [-1 /var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore/backupstore/volumes/a1/bd], output ls: cannot open directory \\\'/var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore/backupstore/volumes/a1/bd\\\': No such file or directory\\\\n, error exit status 2"\\n, error exit status 1\', \'status\': 500}')

longhorn.py:283: ApiError

Environment:

Longhorn version: master
Kubernetes version: v1.17
Node OS type and version: Ubuntu 18.04

Additional context
Jenkins build num: https://jenkins.int.rancher.io/job/longhorn-tests/514

Pre-merged Checklist

[x] Does the PR include the explanation for the fix or the feature?

[ ] Is the backend code merged (Manager, Engine, Instance Manager, BackupStore etc)?
The PR is at longhorn-tests#372

[x] Is the reproduce steps/test steps documented?

[x] Which areas/issues this PR might have potential impacts on?
Area backup tests
Issues #710 #1604 #1603

[x] If the fix introduces the code for backward compatibility Has an separate issue been filed with the label release/obsolete-compatibility?
The compatibility issue is filed at

[x] If labeled: area/ui Has the UI issue filed or ready to be merged?
The UI issue/PR is at

[x] if labeled: require/doc Has the necessary document PR submitted or merged?
The Doc issue/PR is at

[x] If labeled: require/automation-e2e Has the end-to-end test plan been merged? Have QAs agreed on the automation test case?
The automation skeleton PR is at
The automation test case PR is at

[x] if labeled: require/automation-engine Has the engine integration test been merged?
The engine automation PR is at

[x] if labeled: require/manual-test-plan Has the manual test plan been documented?
The updated manual test plan is at

Validation - Passed
The test test_deleting_backup_volume is passing in nightly integration test.

authors: joshimoo khushboo-rancher meldafrawi

repo: longhorn/longhorn


text:
[BUG] Undergoing backup information will be shown as blank in the table

Describe the bug
When creating a batch of backups for the same volume, the backup volume page starting show items with blank information.
To Reproduce

Open UI
Go to volume
Create snapshot
Create backup from previus snapshot
Quickly repeat step 3 and 4
Open Backup page and goto the volume backup list

Screenshot for reference

Expected behavior
Backup items should be displayed with final/finished information.
Log
From one of the blank item
        {
            "actions":
            {},
            "created": "",
            "id": "backup-8951d0937b034c67",
            "labels": null,
            "links":
            {
                "self": "http://10.42.2.4:9500/v1/backups/backup-8951d0937b034c67"
            },
            "messages": null,
            "name": "backup-8951d0937b034c67",
            "size": "",
            "snapshotCreated": "",
            "snapshotName": "",
            "state": "pending",
            "type": "backup",
            "url": "",
            "volumeBackingImageName": "",
            "volumeCreated": "",
            "volumeName": "",
            "volumeSize": ""
        },

Environment:

Longhorn version: v1.1.2-rc1
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl
Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): ec2
Number of Longhorn volumes in the cluster:

Additional context
Probably related issue #2913

Probably this is not good for user experience but it’s caused by the async behavior.
@jenting is it possible to improve this part even the remote backup is not ready?

I'll ask UI to shown backup status on the GUI (we should show in progress backup)

@smallteeths could you please help add a new column Creation State between Labels and Operation?
The data comes from the endpoint backupList response state field.
Current states is:

""
InProgress
Completed
Error
Unknown

authors: innobead jenting kaxing


text:
Unity missing assets

Im importing my project into unity after I import SpriterDotNet into my project, it imports the projects and creates the prefab, the problem is the console throws this error to me in all the images of my project
Missing Asset: Assets/Personaje/Partes esqueleto/esqueleto.png
UnityEngine.Debug:Log(Object)
SpriterDotNetUnity.SpriterImporter:LoadContent(String) (at Assets/SpriterDotNet/SpriterImporter.cs:238)
SpriterDotNetUnity.<LoadAssets>c__Iterator17:MoveNext() (at Assets/SpriterDotNet/SpriterImporter.cs:227)
System.Linq.Enumerable:ToArray(IEnumerable`1)
SpriterDotNetUnity.SpriterImporter:CreateSpriterData(Spriter, String, String) (at Assets/SpriterDotNet/SpriterImporter.cs:87)
SpriterDotNetUnity.SpriterImporter:CreateSpriter(String) (at Assets/SpriterDotNet/SpriterImporter.cs:50)
SpriterDotNetUnity.SpriterImporter:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/SpriterDotNet/SpriterImporter.cs:34)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[])
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEditor.DockArea:OnGUI()

any idea what this could be? i need to do something with my project first?

Hi, check if your images are sprite, if not, do it and then press Reimport on selected folder where is your Spriter animation. Second option is set your project as 2D, then unity always create from textures sprites.
Andy.

What Andy said. I'll update the Unity documentation with this since it comes up rather often. Cheers

authors: AndyGFX alejodiazg loodakrawa

repo: loodakrawa/SpriterDotNet

license: Zlib


text:
Added configDirectory parameter to load yaml config during launch

Added a new parameter, iterating through directories and loading configuration,
configuration validation and sanitization, etc
References #45

:+1:

authors: GiriDandu maheshkelkar

repo: lookout/deploydb


text:
Post Request Parameters issue

I write a method to call by other class as follow:
    /**
     * POST请求
     * @param context
     * @param url
     * @param params
     * @param responseHandler
     */
    public static void post(Context context, String url, RequestParams params, BaseJsonHttpResponseHandler responseHandler) {
        client.setProxy("192.168.2.25",8888);
        params.setUseJsonStreamer(true);
        params.setAutoCloseInputStreams(true);
        client.addHeader("Content-Type", RequestParams.APPLICATION_JSON);
        client.post(context, url, params, responseHandler);

    }

The value of params as follow:
"queryType": "DM",
"entityCode": "2",
"channelType": "1"

When I use Charles to monitor the post request, i found all the requests were add a parameter as follow:
 "_elapsed": 0

This case all my request fail. I don't know is this a issue or I use this lib in a wrong way.
Look forward to your reply. Thank a lot.

@wanyakun
It'll be added as a feature request, thanks for the heads up.

@wanyakun
It'll be added as a feature request, thanks for the heads up.

@wanyakun
This is now addressed in pull #780, which @smarek will decide whether it's fit for merging or not. Please keep an eye on that pull request.

@wanyakun @fineswap merged, consider this closed in latest snapshot

authors: fineswap smarek wanyakun

repo: loopj/android-async-http


text:
Add Electron Release Server as an alternative to Nuts

Initially I tried using nuts, but seeing as my use case of releasing an application internally at Tesla did not deal with Github, I ended up developing the app from scratch. Perhaps it'd be of use to others as well, it'd be great if you could link to it as I have to this :) https://github.com/ArekSredzki/electron-release-server

Offtopic: Is https://github.com/GitbookIO/nuts/issues/32 fixed in your package?

Yup!

@develar Hey, just wondering if you've gotten a chance to take a look and what you think :)
Thanks!

authors: ArekSredzki develar

repo: loopline-systems/electron-builder


text:
Run Rack test suite in tests for mruby-rack

Rack's tests depend only on Ruby Core and bacon. Bacon is a 350-line RSpec clone with no dependencies.
Running Rack's tests will ensure we have ported it (there are some patches we'll need to write to get it to parse) to mruby correctly.

This is blocked on (at least) GH-8, GH-4, and GH-28.

repo: lopopolo/ferrocarril


text:
LOSEHU128K自动多普勒时钟偏移

自动多普勒即使手动设置时间与电脑同步，在一分钟后也会有20s的差距，肉眼可感知K5的1s比实际1s持续时间长

降级到126固件后问题依旧，可能是硬件问题？


text:
update header Accept

Got 403 Forbidden with "X-APP-VERSION: 1.10.0" again:
ComfortCloud-App has in the header ("Accept", "application/json; charset=utf-8") -> no token creation was possible.

mmm... are you kidding me? :P

nope sry - i had several errors the last few hours - seems fine now again.


text:
Fix HTTPS proxy support

Hey, I'd like to apologise for the oversight in #47. I miscounted the arguments to the existing Net::HTTP constructor, as I had only tested directly with the Net::HTTP object. I tested this change directly with the adapter, and it's correct now.
The nil argument is a "Proxy Filter". I think it's safe to disable as Faraday doesn't seem to support proxy filters.
Sorry again for the oversight

Is it possible to add tests which would fail with the previous implementation?

@olleolleolle I've added some specs to check that both the HTTP and HTTPS options are set correctly

authors: olleolleolle richardmarbach


text:
feat: migrate lottie-types project from lottiefiles

The PR contains the migration of the project from lottiefiles organization that has been used internally.
Please read README for more information.
Notes:

changesets - if it is not suitable you can suggest another versioning and changelog tool
we should sync namings with the lottie-web/docs/json because current type names are based on lottie-docs
perhaps we should set prettier standards
should we remove /examples?

Once the PR is approved we can publish and release the v1.0.0 version.

looks great!

authors: Aidosmf bodymovin

repo: lottie-animation-community/lottie-types


text:
Content Security Policy Headers

When installed fontawesome I noticed that lotus sets a content-security-policy header.
This gave me trouble when the font awesome stylesheets tried to load the fonts in chrome, firefox and safari on my mac. (Yosemite)

I noticed a setting for csp in the application.rb file
security.content_security_policy "default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';"

I changed it to
security.content_security_policy "default-src 'self'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';"

And fontawesome started working, but I still had one error left in the console.

I've never run into this issue before so I booted up new rails app, installed fontawesome and gave it a shot, fontawesome loaded up with zero errors in the console. So then I looked up the headers for the rails app and didn't see anything related to csp.
Here is a gist of the rails headers that i pulled up: https://gist.github.com/codyeatworld/a45866c2bf8aefc508d3
I'm guessing rails doesn't set any csp headers because they leave it up to nginx or the server.
Also, I havent had time to test it out more, but I also had trouble inlining an image using a src="data:".
Lotus has been lots of fun though! You can find the application im working on here https://github.com/codyeatworld/codyeatworld
@joneslee85

cc @jodosha

@codyeatworld try removing "; style-src: 'self';"
default-src is used by default: https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives#style-src
Rails doesn't set this CSP aby default if you see in your gist

@codyeatworld Have you tried with @AlfonsoUceda suggestion? Any news on this?

@AlfonsoUceda @jodosha I just tried it and the error in the console says default-src is the problem now.
Content Security Policy: The page's settings blocked the loading of a resource at self ("default-src http://localhost:2300").

@codyeatworld it's weird, can you try only default-src self;? thanks ;)

same problem with
security.content_security_policy "default-src 'self';"

console
Content Security Policy: The page's settings blocked the loading of a resource at self ("default-src http://localhost:2300").

@codyeatworld and is that error raised in all browsers?

Nope, sorry I forgot to check, it was raised in Firefox 37.0.1 but not Chrome 42.0.2311.90 (64-bit) or Safari 8.0.3.

@codyeatworld can you try it in Windows or Linux, maybe can be a Firefox bug, I don't know

@codyeatworld ping

Thanks for the ping, I should have time to look into again this later tonight. I'm not sure how to try it on windows, but I can try it in ubuntu.

I think it might of been a Firefox bug, the error is not present with Firefox Developer Edition, Safari or Chrome after reverting to default CSP settings.
Only standard Firefox.
Thanks for your time and help!

@codyeatworld Closing this for now, please let us to know if the problem is caused by Lotus instead.

@codyeatworld thanks for your help and time ;)

authors: AlfonsoUceda codyeatworld jodosha joneslee85

repo: lotus/lotus


text:
ctrl-s in options script

# Traceback (most recent call last):
#   File "E:/dev/git/vtool/python\vtool\qt_ui.py", line 4566, in _save
#     new_last_modified = util_file.get_last_modified_date(self.filepath)
#   File "E:/dev/git/vtool/python\vtool\util_file.py", line 1816, in get_last_modified_date
#     mtime = os.path.getmtime(filepath)
#   File "E:/Program Files/Autodesk/Maya2022\Python37\lib\genericpath.py", line 55, in getmtime
#     return os.stat(filename).st_mtime
# TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

fixed here
https://github.com/louisVottero/vtool/pull/124

repo: louisVottero/vtool


text:
Monitoring expired domain when deleted

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I'll like to monitor a domain that is expired but forgot to renew and has passed redemption period. Is it possible to monitor such domain when it's available to the public?
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.21.3
💻 Operating System and Arch
Ubuntu 222.04
🌐 Browser
Brave
🐋 Docker Version
No response
🟩 NodeJS Version
No response

Certificate monitoring is available if this is what you are referring to.
If you are literally referring to domain expiry monitors:
I think this is a duplicate of https://github.com/louislam/uptime-kuma/issues/944
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^

@tobsowo Currently this is not supported, and to be honest I don't think it is really something that will ever be supported as it seems quite out of scope for this project and it seems like quite a niche requirement.
@CommanderStorm not a duplicate of #944 as the domain has already expired and we are looking for if the domain has been released back to public sale yet.

@CommanderStorm not a duplicate of #944 as the domain has already expired and we are looking for if the domain has been released back to public sale yet.

If you monitor for domain expiry = 1 day (or smaller) that is a really good indicator of the domain expiring tomorrow
=> This can/schould be handled via the domain monitor proposed in the mentioned issue imo

@tobsowo
Only you or Louis can close this issue ^^
(ping, given that you gave a 👍🏻 on my last comment)

If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?

Thanks ❤

authors: CommanderStorm Computroniks tobsowo

repo: louislam/uptime-kuma


text:
Question: what's the optimum/cleanest way of overlaying multiple images using streams

Hi,
just wanted to post a question to get suggestions how to make code simpler and possible improve performance. We're composing multiple images as one, using read streams (originating from Cloud Storage bucket), here's our implementation:
const composeImage = async imageReadStreams => {
  const baseSharpInstance = sharp();
  imageReadStreams[0].pipe(baseSharpInstance);
  //  read image dimensions from the first read img
  const metaData = await baseSharpInstance.metadata();

  const options: sharp.SharpOptions = {
    raw: {
      width: metaData.width,
      height: metaData.height,
      channels: 4,
    },
  };

  const base = baseSharpInstance.raw().toBuffer();

  imageReadStreams.shift();
  const buffer = await imageReadStreams.reduce((input, overlay) => {
    return input.then(async data => {
      const pipeline = sharp();
      overlay.pipe(pipeline);
      const asBuffer = await pipeline.raw().toBuffer();
      return sharp(data, options)
        .overlayWith(asBuffer, options)
        .raw()
        .toBuffer();
    });
  }, base);
  return sharp(buffer, options);
};

Function returns new Sharp instance which is then used create different sizes & outputs from composed img.
Any suggestions are highly appreciated!

Hello, this is probably about the best that can be achieved using Stream-based input with the current API.
If you haven't already seen it, #728 is tracking proposed improvements and there's an open PR for the groundwork at #1440.

Hope this helped, feel free to re-open if not.

authors: lovell ovaris

repo: lovell/sharp


text:
[ci] Bitstream synthesis and implementation step sometimes fails when license is inaccessible

Pipeline runs like this one: https://dev.azure.com/lowrisc/opentitan/_build/results?buildId=106177&view=logs&jobId=c42160f9-8579-523f-695d-70e04e62fcfe&j=c42160f9-8579-523f-695d-70e04e62fcfe&t=0fb6deac-69ab-5654-b7b3-381b8c8dec1b
Occasionally fail around peak hours and show the following warning:
https://dev.azure.com/lowrisc/opentitan/_build/results?buildId=106177&view=logs&j=c42160f9-8579-523f-695d-70e04e62fcfe&t=0fb6deac-69ab-5654-b7b3-381b8c8dec1b&l=364
WARNING: Default location for XILINX_HLS not found
before failing to execute vivado to provide the bitstream. I presume this an attempt to run the synthesis when there are no licenses avaialable and intend to rerun it but wanted to document it.

@GregAC @a-will do we still observe this issue in CI?
If not we can probs close this...

authors: drewmacrae msfschaffner

repo: lowRISC/opentitan


text:
[pwrmgr, rstmgr, flash_ctrl] Various D2S prep steps

convert to new sparse fsms
add addidiontal sparse fsms to flash / reset
hook-up additional fatal errors

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

there appear to be some problems with FPGA where if a particular state enum is not used, the fpga synthesis creates a combo loop (even though other tools do not detect it).
To triage this better, I'm splitting this PR up so I can track down which one is the issue.


text:
[top/dv] Automatically generate rstmgr exclusion

Automatically exclude resets that are not used at the top level.

Should address #15426

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

hey all, i don't really know if i'm doing this right, so please have a look and let me know.

My preference is to use "cover*.cfg" files rather than ".el" files for these sorts of exclusions. These files are tool-specific (just like *.el files are). One example is at  hw/top_earlgrey/dv/cov/chip_cover_reg_top.cfg, except for your purpose you would need to do "-node ", where - means ignore coverage.

My preference is to use "cover*.cfg" files rather than ".el" files for these sorts of exclusions. These files are tool-specific (just like *.el files are). One example is at hw/top_earlgrey/dv/cov/chip_cover_reg_top.cfg, except for your purpose you would need to do "-node ", where - means ignore coverage.

I am working on adding a constfile that can be added to the coverage collection via -cm_constfile switch. I feel like that will be even better than a -cm_hier cfg file, since it allows VCS to do constant propagation analysis and automatically mark the fanouts of these as unreachable.

sounds good @sriyerg .
do you want me to wait on that for now? I can follow whatever format you think makes sense and add to it.

sounds good @sriyerg . do you want me to wait on that for now? I can follow whatever format you think makes sense and add to it.

Yes please!

We talked about having these exclusions get placed in .cfg rather than .el files: .el files generally tag each exclusion wiith CHECKSUM and ANNOTATION. It is not clear they are indispensable or if the exclusion will work if they are not present. In .cfg files the syntax is "-node ", and no additional tagging is needed.

sounds good @sriyerg . do you want me to wait on that for now? I can follow whatever format you think makes sense and add to it.

VCS unfortunately does not support MDAs in constfiles (I added you to an email thread with SNPS AE). Since resets_o is an MDA (struct), we will not be able to use this approach. We will need to go with @matutem's suggestion instead, and have these implemented in a -cm_hier coverage hierarchy file. Here's an example:
https://github.com/lowRISC/opentitan/blob/d2dce395b2128e5acc40fa772cfd565e4754c82a/hw/top_earlgrey/dv/autogen/xbar_tgl_excl.cfg#L9

sorry this has taken awhile.
@sriyerg / @matutem can you let me know if i did this right?

You can verify if this was done correctly by running a smoke regr with coverage:
$ util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i smoke --cov

and check the generated report located at  /path/to/scratch/<branch>/chip_earlgrey_asic-sim-vcs/cov_report/dashboard.html.

ah sounds good, i did run that sim, but didnt really know what ot check, let me try that.

merging! thanks for the reviews all.

authors: matutem sriyerg tjaychen


text:
Unhandled error thrown inside read handler for characteristic: log is not a function.

Hi, I'm using the following plugins in my Raspberry PI, I had no errors before updating:
Homebridge Broadlink Rm - homebridge-broadlink-rm v3.6.22
Homebridge UI - homebridge-config-ui-x v4.40.0
Homebridge Apple Tv Remote - homebridge-apple-tv-remote v0.12.1
I'm receiving one warning and one error from Homebridge Broadlink RM:

[homebridge-broadlink-rm] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined.

[homebridge-broadlink-rm] This plugin threw an error from the characteristic 'Name': Unhandled error thrown inside read handler for characteristic: log is not a function.

I searched and finally, the last recommendation I to write to the author of the plugin. I will appreciate if some one was able to fix this problem. Kind regards

Hi, I have the same issue, can you take a look @lprhodes ?

Same here:
[homebridge-broadlink-rm] This plugin threw an error from the characteristic 'Name': Unhandled error thrown inside read handler for characteristic: log is not a function. See https://git.io/JtMGR for more info.

Also getting:
[homebridge-broadlink-rm] This plugin threw an error from the characteristic 'Name': Unhandled error thrown inside read handler for characteristic: log is not a function

Update: I find a fork that works:
https://github.com/kiwi-cam/homebridge-broadlink-rm

Created a fix pull request: https://github.com/lprhodes/homebridge-platform-helper/pull/9
Meanwhile, you may replace the line of code in you local file.
/homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/serviceManager.js

@linanw thank for a fix! but let me kindly draw your attention to a typo in your post (not in your commit):
callback(null, !!!->`<-!!! name ?? '');

Created a fix pull request: lprhodes/homebridge-platform-helper#9
Meanwhile, you may replace the line of code in you local file.
/homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/serviceManager.js
if (log) { log(`${name} getName: ${name}`); }
callback(null,` name ?? '');

I cannot seem to find the file. There is no dist folder. Can you help?

Is this actually going to be fixed? It generated a 20GB worth of error logs in homebridge until I noticed this was happening. Congrats, this is horrible.

Hi!
Both code is dropoing me erros on startup, can somebody help me?
callback(null,` name ?? '');
callback(null, name ?? '');

Bumping this issue, as it seems to remain unresolved.
Is the developer still supporting the plugin, or does anyone have a workaround that doesn't require a doctorate in coding?

authors: Faisalthe01 Mattserati Snoomy SzilagyiR avivamientodev dodds-1 jangomunkie linanw patrickchoi sonnyfournier

repo: lprhodes/homebridge-broadlink-rm


text:
Setuptools are outdated

Please upgrade setuptools.

Could you please elaborate a bit? Which version of the Docker image / HASS are you running? Which version of setuptools does that map to and which version do you expect?
Thanks.

authors: lroguet pluskal

repo: lroguet/rpi-home-assistant


text:
enhancement: upgrade tsconfig to use es2020.

What:
Update typescript configuration to make use of es2021.
Preparing the package/server to include the es2020 output of the apollon dependency.
Why:
As the Apollon repository got updated to get build as esmodule instead commonjs after the update to es2021, we have to adjust Apollon_standalone to be able to integrate apollon.

not ready yet


text:
Can't view full model during Plagiarism check

Describe the bug
Whilst reviewing plagiarism cases, I noticed that I can't scroll down on models. Thus I'm not able to view the bottom half of some submissions.
To Reproduce

Go to Course management.
Go to exercises.
Select a modelling exercise that has submissions
Click on Check Plagiarism
Click Detect Plagiarism
Click on a case with a modelling submission that's taller than your screen.

Expected behavior
Being able to scroll in order to see the rest of the model. Only horizontal scrolling is possible currently. Vertical would be appreciated.
Screenshots

What browsers are you seeing the problem on?
Safari
Additional context
No response
Relevant log output
No response

Duplicate of https://github.com/ls1intum/Artemis/issues/5402


text:
Layout and Code Refactoring for Questions and Answers

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.
[x] Client: I added multiple integration tests (Jest) related to the features
[x] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[x] Client: I documented the TypeScript code using JSDoc style.
[x] Client: I added multiple screenshots/screencasts of my UI changes
[x] Client: I translated all the newly inserted strings into German and English

Motivation and Context

Code is hard to read with a lot of duplication.
Questions and Answers are too small for longer texts.
Description

Refactored the code to include less methods and to be more readable.
Extracted the question-answer and question component.
Changed the design of the UI.
Added the functionality to collapse the questions and answers.
Added the functionality to resize the questions and answers by dragging.
Adapted the layout on smaller screens: Questions and Answers are shown below the detail information
Steps for Testing

Log in to Artemis
(1a. If not already, enable questions and answers for the course)
Navigate to an exercise or a lecture detail page
Play around with questions and answers (especially with the new drag and collapse feature)

Screenshots

New design of Question and Answers

Collapsed Questions and Answers

@HanyaElhashemy @sascha11110 Thanks for the feedback! I implemented it now.
And another student can edit/ delete questions and answers if he is at least a tutor in that course.

I don't really like the ? I would prefer if we still write Question at the top,
Same for the lightbulb, I would prefer that we write Answers

I don't really like the ? I would prefer if we still write Question at the top,
Same for the lightbulb, I would prefer that we write Answers

@krusche I removed the icons. Now it says question or answer

Can you update the screenshots in the PR? I would also suggest to move this to 4.0.3 then we have a bit more time for testing

I tested it again and also all options in the markdown editor. Unfortunately, the coloring option does not work for me.
Apart from that, everything works perfectly!

@sascha11110 I had a look into this and it seems to be a problem with the htmlformarkdown pipe. I will fix this in another PR refactoring the whole Markdown Editor, since it isn't directly related to the questions and answers

Good work :) I still have some comments: I would like to see some harder visual break between questions, because I find it hard to see where one stopes and the next one begins, but that might be just my opinion ( to make it clear: it's not something I request - it would be nice ImO but its up to you). Maybe a horizontal break, see screnshot:

@TobiasPr I now added a very light background to each question (group). It should be easier now to tell them apart.

I requested changes, because I found a small bug: When I edit a question or answer and click on cancel, the change is still shown -> when I refresh it is gone, because the data did not change, but it might be confusing. Steps to reproduce:

Create question
Click on edit button
Change question
Click on Cancel
Change is shown, but not applied

@TobiasPr good catch! Now the text is always reset to the initial text if not saved when closing the editor

I tested it again and also all options in the markdown editor. Unfortunately, the coloring option does not work for me.
Apart from that, everything works perfectly!

@sascha11110 I found the reason for this. I now added the 'markdown-preview' class and it should work now

Thanks for fixing the issues with the markdown editor! Looks good to me! :-)
A little suggestion (for a follow-up): would be nice if the focus is set to the corresponding textarea after clicking Add answer or Add question so that you can start typing right away.

Good idea! I'll definitely add that in a later PR

Thank you so much for addressing my previous suggestion. I still have smaller notes: could you please adapt the changes from #1381 here? The quote command does not seem to be working properly in the markdown editor.
Also when I switch to preview tab the size of the tab shrinks, is it possible to adjust this as well?

@HanyaElhashemy I included the fix and the editor should always take up the whole width now
closes https://github.com/ls1intum/Artemis/issues/1057 now, too, I guess

authors: filip-gregurevic krusche


text:
Development: Adjust e2e playwright tests

Checklist
General

[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I strictly followed the client coding and design guidelines.
[x] I documented the TypeScript code using JSDoc style.

Motivation and Context
Migrated Tests from Cypress had to be adjusted in Playwright. The corresponding cypress tests were skipped.
Description
Adds system health tests to Playwright and disables them in Cypress.
Steps for Testing

Code Review: Ensure that tests pass for valid reasons, functionality is adequately tested and check the code quality.
Run the tests (optional): Tests are checked by automatic run in CI environment. You can optionally run them locally and check if they pass.

Steps for running the tests:

Navigate to src/tests/playwright
Configure Playwright using playwright.env file based on your local setup. Current configuration should work for default Artemis setup.
Run npm install && npm run playwright:setup && npx playwright test e2e/SystemHealth.spec.ts
Confirm that "System health" tests pass

Testserver States

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

Review Progress

Code Review

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

Manual Tests

[x] Test 1
[x] Test 2

Summary by CodeRabbit
Summary by CodeRabbit

Tests

Introduced tests for checking the health status of system components using Playwright.
Temporarily skipped system health check tests in Cypress.
Added a new test script SystemHealth.spec.ts for checking system health indicators on a web page.

two playwright tests fail. Can you check if this is connected to this PR?


text:
Datashield Initial Helm Chart

As product owner I would like a helm chart provisioning the datashield products we would like to utilise.
AC:

A helm chart that includes the relevant components
Implementation should work on raspberry pi as well as our azure kubernetes infrastructure

@vvcb Following our call this morning have set this up and assigned to you

Pick up the work done by @vvcb and @OllyButters on https://github.com/lsc-sde/datashield-sde and make it ready for deployment as one of the components within the wider LSC SDE architecture.
Tasks:

[ ] Create a new repository for Helm chart in line with the agreed naming convention
[ ] Restructure the Helm chart directory structure
[ ] Improve/revise all templates
[ ] Remove all hard-coded secrets
[ ] Remove references to environment specific setup within Helm chart (eg. local storage vs Azure, etc.)
[ ] Test Helm chart on microk8s using a separate values.yaml file
[ ] Create a new repository for the flux configuration
[ ] Test on AKS dev cluster

authors: qcaas-nhs-sjt vvcb

repo: lsc-sde/lsc-sde


text:
Usdf rebase on lsst main

Here are changes to PR 1915 that don't break the installer. They were significant enough they were done in a separate branch rebased on lsst main. There are a few changes from the previous PR that I'm not confident how to perform. I'll point them out in comments.

Thanks for feedback, I added another commit making these changes.

Thanks! The semantics of the changes look good now, and I've enabled tests. There are a bunch of failing pre-commit checks, so it looks like you've not run pre-commit on this branch. Follow the instructions here to set that up: https://phalanx.lsst.io/about/precommit-and-helm-docs.html
That will fix the whitespace directly but you'll need to investigate and fix the yamllint errors before we can merge.
Once that's done, rebase against the main branch and push again and we should be pretty much ready to merge.

repo: lsst-sqre/phalanx


text:
feat: use vite-plugin-icons

I have updated vite-plugin-icons to support Vue 2. Both vite-plugin-icons and vite-plugin-components now detect the Vue version automatically, no configure needed.
vite-plugin-pages and vite-plugin-md also support Vue 2 now. If you'd like, I can set them up in another PR.

Hey @antfu,
thanks for the update 👍 I actually saw your post on twitter and had the same Idea 😅
My plans for tomorrow are to deploy a live demo and add the icon plugin.

authors: antfu lstoeferle


text:
Support psalm

Add psalm annotations

[ ] Fix all issues found by psalm
[x] Increase type specificity
[x] Add @psalm-pure
[x] Add @psalm-assert
[ ] Add proper support for more complex cases like compose

Type specificity

[x] Average
[x] ButLast
[x] Capture
[x] CompareObjectHashOn
[x] CompareOn
[x] Compose
[x] Concat
[x] ConstFunction
[x] Contains
[x] Converge
[ ] Curry
[ ] CurryN
[x] Difference
[x] DropFirst
[x] DropLast
[x] Each
[x] Equal
[x] ErrorToException
[x] Every
[x] Exceptions/InvalidArgumentException
[x] Exceptions/MatchException
[x] False
[x] Falsy
[x] Filter
[x] First
[x] FirstIndexOf
[x] FlatMap
[x] Flatten
[x] Flip
[x] Functional
[x] GreaterThan
[x] GreaterThanOrEqual
[x] Group
[x] Head
[x] Id
[x] Identical
[x] IfElse
[x] IndexesOf
[x] Intersperse
[x] Invoke
[x] InvokeFirst
[x] InvokeIf
[x] InvokeLast
[x] Invoker
[x] Last
[x] LastIndexOf
[x] LessThan
[x] LessThanOrEqual
[x] LexicographicCompare
[x] Map
[x] Match
[x] Maximum
[x] Memoize
[x] Minimum
[x] None
[x] Noop
[x] Not
[x] OmitKeys
[x] PartialAny
[x] PartialLeft
[x] PartialMethod
[x] PartialRight
[x] Partition
[x] Pick
[x] Pluck
[x] Poll
[x] Product
[x] Ratio
[x] ReduceLeft
[x] ReduceRight
[x] Reindex
[x] Reject
[x] Repeat
[x] Retry
[x] Select
[x] SelectKeys
[x] SequenceConstant
[x] SequenceExponential
[x] SequenceLinear
[x] Sequences/ExponentialSequence
[x] Sequences/LinearSequence
[x] Some
[x] Sort
[x] Sum
[x] SuppressError
[x] Tail
[x] TailRecursion
[x] TakeLeft
[x] TakeRight
[x] Tap
[x] True
[x] Truthy
[x] Unique
[ ] With
[ ] Zip
[ ] ZipAll

Issues

invoker(), invoke(), partial_method(): no way to annotate method names properly: https://github.com/vimeo/psalm/issues/2500
Recursive types are not implemented (problem for compose, curry, etc.): https://github.com/vimeo/psalm/issues/2499

Nice to see that you decided to go with Psalm! I think this is the best choice for a lib like yours, where templates and @psalm- specific annotations can really help end users.
I would like to help with the integration, if you don't mind (and if it's really needed...). Can start from the end of the list, to not mess with you.

@lstrojny, please take a look at #209

@alexeyshockov it would be terrific to collaborate on this topic. I've just pushed my current WIP, would you mind rebasing. Unfortunately it’s going to create a few conflicts, sorry about that.
How about we agree to mark an item before working on it, so we avoid duplicate work?

@ondrejmirtes Could @phpstan 0.12 also benefit from this work to make this available to even broader user base?

@jkuchar PHPStan can benefit from generics annotations, not from "pure" or "assert" yet. Instead of assert annotations, right now a TypeSpecifyingExtension has to be written. There are already extensions like that for PHPUnit, for beberlei/assert and webmozart/assert.
Of course, an extension like this can be written to interpret these phpDoc annotations but no one did that yet.

Hi @lstrojny! Since 3.11.3 Psalm supports func_num_args for conditional types. You could use for compose but with compromises.
/**
 * @template A
 * @template B
 * @template C
 * @template D
 * @template F
 * @template G
 * @template H
 * @template I
 *
 * @param callable(A):B $aToB
 * @param callable(B):C $bToC
 * @param callable(C):D $cToD
 * @param callable(D):F $dToF
 * @param callable(F):G $fToG
 * @param callable(G):H $gToH
 * @param callable(H):I $hToI
 *
 * @return (func_num_args() is 2 ? callable(A):C : (
 *          func_num_args() is 3 ? callable(A):D : (
 *          func_num_args() is 4 ? callable(A):D : (
 *          func_num_args() is 5 ? callable(A):G : (
 *          func_num_args() is 6 ? callable(A):H : (
 *          func_num_args() is 7 ? callable(A):I : callable
 *         ))))))
 */
function compose(
    callable $aToB,
    callable $bToC,
    callable $cToD = null,
    callable $dToF = null,
    callable $fToG = null,
    callable $gToH = null,
    callable $hToI = null,
    callable ...$others
) {
    // impl here
}

In this case you can type limited arguments count.
After the limit compose will return just callable.
A similar solution used by rxjs

@klimick that’s a great idea, thank you!

Isn't this ready to be merged? (even incomplete) :-)

authors: alexeyshockov jkuchar klimick lstrojny ondrejmirtes

repo: lstrojny/functional-php


text:
🛑 Mirror-木生 is down

In 8168e08, Mirror-木生 (https://t.lsy223622.com/ncov-xidian-times) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mirror-爬 is back up in 356c69b.


text:
🛑 Mirror-爬 is down

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

HTTP code: 404
Response time: 946 ms

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


text:
🛑 Mirror-爬 is down

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

HTTP code: 404
Response time: 1054 ms

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


text:
🛑 Mirror-没有女朋友跨年的群傻逼 is down

In 9658da7, Mirror-没有女朋友跨年的群傻逼 (https://x.ksfu.top/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mirror-木生 is back up in def286b.


text:
🛑 Mirror-木生 is down

In 09b4757, Mirror-木生 (https://t.lsy223622.com/ncov-xidian-times) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mirror-爬 is back up in 17b3d60.


text:
🛑 Mirror-爬 is down

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

HTTP code: 404
Response time: 6613 ms

Resolved: Mirror-鱼露 is back up in 36d993e.


text:
🛑 Mirror-爬 is down

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

HTTP code: 404
Response time: 1030 ms

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


text:
🛑 Mirror-爬 is down

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

HTTP code: 404
Response time: 683 ms

Resolved: Mirror-鱼露 is back up in 3df1443.


text:
🛑 Mirror-爬 is down

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

HTTP code: 404
Response time: 1030 ms

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


text:
🛑 Mirror-爬 is down

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

HTTP code: 404
Response time: 804 ms

Resolved: Mirror-鱼露 is back up in 890dddc.


text:
首页内容建议

可置一个日历控件，显示近1个月或一周任务信息，已过日期显示每天任务数，成功数、失败数、点击数量可向下钻取查看明细，未到日期显示已添加的任务执行计划。如https://www.almsaeedstudio.com/themes/AdminLTE/pages/calendar.html

可以的，我会考虑进去的, 感谢提建议

首页我有个建议，分几个板块，加上比如说LTS简介，快速上手，bug提交，架构设计和架构图等等

建议在首页这个地方方一些开发说明性文档，或者相关的技术文档！API文档相关信息即可。

在页面中对暂停任务分组中的任务进行删除的时候，任务删除成功，页面没有，后台有空指针错误。（/lts-admin/src/main/java/com/github/ltsopensource/admin/web/api/CronJobQueueApi.java）需要做一个很小的修改，删除任务之前，查看任务是否存在
JobPo jobPo = appContext.getSuspendJobQueue().getJob(request.getJobId());
if (jobPo == null) {
return Builder.build(true, "已经删除");
}
增加以上代码就好了，作者的框架很不错。值得学习

添加任务始终报403的错误

希望任务日志可以按“日志类型”查询和”执行结果”查询。并且支持重试任务最大次数的可以重新执行操作。

首页放什么，首先要考虑这个平台上用户最关心的是什么？
1、正在执行的任务、以及任务执行中cpu、内存的变化
2、实时任务监控、cpu、内存监控

LTS后台我发现的问题，
1、我设置固定时间执行的任务，查看不到，如：
job.setTriggerTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse("2017-05-16 10:39:00").getTime());
2、执行完成的任务没有地方可查

首页，必须是各种统计数据图标的展示啊。es6搞起来~~~

当前应用的版本信息需要提供首页某个地方显示下！

可以考虑把任务执行的数据放在首页，报表之类的

1.7版本，首页可以屏蔽掉吗

放一些概览性的东西，比如节点调度情况、任务执行情况、任务执行时长等

repo: ltsopensource/light-task-scheduler


text:
🛑 Afip Login is down

In 4d81585, Afip Login (https://auth.afip.gob.ar/contribuyente_/login.xhtml) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Afip Login is back up in 3210413 after 28 minutes.


text:
Fixing error after playing music several times with AudioCache

Related Issues
fixes #843

I think playBytes has the same issue.

repo: luanpotter/audioplayers