text:
Add a simple but useful feature: dry_run for installations

Description: Add a dry_run parameter to install_requirements() and install_modules() to allow users to simulate an installation without performing it.
Why?: Very useful without being complex to implement. Allows users to see exactly what will be installed (or updated).

Example of use:
pypixz.install_requirements("requirements.txt", dry_run=True)

Console output:
Dry run: The following packages will be installed:
- requests==2.26.0

Provides better communication of the installation behavior to the user.

Add concrete examples for new features (dry_run, timeout, multiple requirements).

repo: YourLabXYZ/PyPIxz


text:
How to prepare datasets for UVAM

Sorry to bother you, I would like to download the dataset from the VGG Sound official website, but it no longer provides download services. Do you have any good suggestions? I want to use my own dataset to train UAVM, but I don't know what format and organized to set for the dataset.

hi there,
These are two different questions:

I would like to download the dataset from the VGG Sound official website, but it no longer provides download services.

See the readme file:

VGGSound Pretrained Audio and Video Features
Audio Features (~20GB)
Video Features (~10GB)

We do provide processed VGGSound data, you can use these to train the model. We cannot release raw data, but the extracted feature should be good enough. Meanwhile, the feature extractors are also released.

I want to use my own dataset to train UAVM, but I don't know what format and organized to set for the dataset.

I recommend to run the "1-click" recipe (in the readme file, there is a detailed instruction). And check the intermediate files, so you know how to organize the training data.
Having said that, this model is a very special model that can take both audio and video data, but one thing at a time. Please make sure it fits your application, most audio-visual model aims to take audio and video data jointly.
-Yuan

Thank you very much for your reply.

Thank you very much for your reply.

Thank you very much for your reply.

source: gharchive/issue

authors: YuanGongND rizentan

repo: YuanGongND/uavm

license_type: permissive

license_source: github-api


text:
Allow localhost subdomains

Most browsers support subdomains of localhost as a secure context. We should too.

Thanks!

Any chance we could get a release out this week? I'm getting ready to share a teaching project next week, and would prefer not to need workarounds for secure context localhost.

Hi Ryan, I'm afraid we won't be able to make a release this week. We don't currently have a release date scheduled, but my best guess at the moment is that there will be a release sometime before the end of the year.

@dainnilsson thamk you. That's obviously not what I was hoping to hear, but I appreciate the transparency!

source: gharchive/pull-request

authors: dainnilsson ryanhiebert


text:
New Zealand flag seems broken

Please check all that apply

[x] visual bug
[ ] functional bug
[x] able to consistently reproduce

Expected Behavior

The New Zealand flag should have a red cross in its top left corner.

Current Behavior

The New Zealand flag is missing its red cross.

This is also the case in this repository
Possible Solution

Add the red cross.
Thanks a lot for this package!

Seems to me there is a masking issue with certain flags. I'll collect his and related issues here in as a single issue.

@daoneandonly
The same issue can also be found in:

HR
KR

Croatian (HR) flag as mentioned by @SimpleCreations looks different on the landing page and different in the index. Both seem to have masking issues and scaling is wrong.
Tested on mobile Safari and iOS 16.0.3 webview

authors: DCzajkowski SimpleCreations Titou325 daoneandonly

repo: Yummygum/flagpack-core

license: MIT


text:
Start config zoomableView

Hi,
If I set config.library.onlySquare = false the zoomableView starts square.
To Reproduce
Set config.library.onlySquare = false
Expected behavior
If the user set config.library.onlySquare = false the zoomableView start config should not fit square.
If the user set config.library.onlySquare = true the zoomableView start config should fit square.

@javiermanzo I think there is a confusion here. The onlySquare setting forces selecting square images. However setting in to no doesn't "force" non square images.
If you look at the instagram app for example (which is our model for the implemented features), users can choose both square and non-square images, yet the picker always starts with a "crop-to-square" setting. This is actually the intended behaviour.
So If the user set config.library.onlySquare = false the zoomableView start config should not fit square is not the intended behaviour :)
Could you explain your use case in more details so we can try and find a solution that fits you?

@s4cha I think he means that it would be very useful to have a congif flag telling the library not to start with a "crop-to-square". And that's what I'd need too because I going to use in a tech support app and they want to start library with full size image to pick it
Thanks

As @appfabtech said, I want to start the library without the crop to square. My PR #318 solves that.

so how to 'start the library without the crop to square'?

Sorry guys, you need to import the library in your project and make the changes from https://github.com/Yummypets/YPImagePicker/pull/318 by yourself.

I added a new PR that I think will be accommodating enough.

authors: NikKovIos appfabtech javiermanzo qky1412 s4cha schveiguy

repo: Yummypets/YPImagePicker

license: mit

license_source: bigquery


text:
Add all styles for the page with styles.css

Стилізував сторінку з резюме

Виконано!

repo: YuriiZagoruyko/homepage


text:
WiFi Config at Runtime

It seems this library doesn’t include a way of configuring the WiFi network at runtime using the web server method that others do. Has anyone integrated a library for this successfully? I’m having trouble getting any of them to work.

Example  EspHapAdvancedLed contains usage of WiFiManager, which allows to setup WiFI at Runtime

Right you are, thanks again for the tip!


text:
【第5章第2節P.105】上司が「上司向け：部下とのキャリア面談のポイント研修」に参加したかどうか【著者追記：重大なミスです、申し訳ございません】

PyTorchによる発展ディープラーニングと共に、自己学習にとても参考とさせて頂いております。
下記質問です。
表題の確率の記載は下記となっています。
z_prob = expit(-5.0*x+5*e_z)
感覚としては「育成の熱心さ(x)が高ければ高いほど研修にも参加しやすい」と思っているのですが、この場合xの係数はマイナスなので反対となっています。
ここが理解できていないので、詳しく教えて頂きたいです。

@raxman0721 さま
重要なご質問をありがとうございます。
こちらは、私が完全に間違えています。
expit(x) = 1/(1+exp(-x))
https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.expit.html
なのですが、完全に
expit(x) = 1/(1+exp(x))
と勘違いしていまっています。
第5章を通して、一貫して間違っているので（恥ずかしながら・・・）
実装コードもコード内自体では矛盾は生じていない状態なのですが、
現象として、
「育成の熱心さ(x)が高ければ高いほど研修には参加しない」
という事態が発生している実装になってしまっています。
本件はコードのみをGitHubで修正すると、紙面との違いで困惑が大きいので、
書籍の増刷時にまとめて修正させてください。
暫定的に、
5_2_meta_learners_issue18.ipynb
5_3_doubly_robust_learning_issue18.ipynb
として、「育成の熱心さ(x)が高ければ高いほど研修にも参加しやすい」
に修正したコードを配置いたします。
非常に重要なご指摘をいただき、誠にありがとうございます。

@YutaroOgawa 様
早急なご対応ありがとうございます。
ちなみにですが7-5でも同様の記載となっていますので、ご確認頂ければと思います。
すべてのコードを動かしているわけではないので漏れはあるかもしれないですが、、、

@raxman0721 さま
誠にありがとうございます。
まさに、おっしゃる通りです。
第7、8章にも影響がありました。
かなりバランスや結果が変わってしまうので、
当面、第7、8章はこのままにしておきます（おかざるを得ない）。
読者の皆さまには、大変申し訳ございません。
本Issueの点を踏まえたうえでご活用いただければ、幸いです。
大変ご不便をおかけいたしますが、どうぞよろしくお願い致します。


text:
Upgrade RuboCop (And other deps)

Today we have the pleasure of a RuboCop upgrade!
There were a number of changes the autoformat made, those are all included in this PR.
Also included is one change I made myself here by recommendation of the holy RuboCop.
Doesn't seem to affect any functionality, just code quality/hygiene stuff.

Looks beautiful. Thank you!

authors: Erisa spotlightishere

repo: Yuuki-Discord/Yuuki-Bot


text:
ADB server version doesn't match this client

adb server version (32) doesn't match this client (41); killing...
Is this because the adb client can't talk to the adb server version on the phone?

Searching the source for this error yields slightly odd results

Almost looks like this message is coming from a dep - tbf I didn't even expect to find plain text in a dll


text:
No prompt for the individual games.

It would be really nice to have a prompt between each game the script successfully identifies that requires a Y/N input if the save transfer should happen for that specific game.
People probably download this for one game, and not for a lot of them at the same time.

Misclicked the comment. Just wanted to add that some games might end up with rather big zip-files of the saves, like my starfield was 500 mb and took quite some time for the script to extract. An option to skip would save some frustration to some one some time.

Good idea, I'll implement this soon.


text:
🛑 ZEENKEY BLOG is down

In 1c31442, ZEENKEY BLOG (https://blog.zeenkey.com) was down:

HTTP code: 500
Response time: 156 ms

Resolved: ZEENKEY BLOG is back up in 62911df.

repo: ZEENKEY/statuspage


text:
🛑 Official Website is down

In a5c923a, Official Website (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 222 ms

Resolved: Official Website is back up in 56b86fd.


text:
🛑 ZEENKEY BLOG is down

In 5e4bf16, ZEENKEY BLOG (https://blog.zeenkey.com) was down:

HTTP code: 500
Response time: 253 ms

Resolved: ZEENKEY BLOG is back up in d59f879.


text:
🛑 ZEENKEY CDN is down

In b891cd0, ZEENKEY CDN (https://zeenkeycdn.ga) was down:

HTTP code: 500
Response time: 381 ms

Resolved: ZEENKEY CDN is back up in 1cde926.


text:
More data splits of VOC

Dear author:
Thank you for sharing! Could you share more data splits of your ECCV paper, such as data split of 1/16, 1/4, 1/2 of VOC? We want to run experiments based on more splits and make a comparison with the numbers reported in the paper. Thank you!

Thanks for your attention!
I have uploaded the PascalVOC data splits used in our paper to the master branch. You can try them now. Please create new scripts under the folder pixelssl/task/sseg/script and set new sublabeled_path in the scripts to retrain models (4 GPUs are required for each training).
The script pixelssl/task/sseg/dataset/PascalVOC/tool/random_sublabeled_samples.py is used to create all PascalVOC data splits used in our paper. Actually, you can randomly generate new data splits for experiments. Note that different data splits may cause a large performance gap, especially when the amount of labeled data is small. For example, the mIOU gap of SupOnly could be 1.5% under different 1/16 labeled data. Therefore, for each setup, the average over multiple runs (use different data splits) is reported in our paper.
If you have any problems in the experiment, please feel free to contact me.

Thank you!

authors: ZHKKKe charlesCXK

repo: ZHKKKe/PixelSSL


text:
TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/101806

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/102109

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109806


text:
Step 1 of deps parsing of optional operator and version, and cleanup of envars

This is step of parsing the dependencies which can have a comparison and version. I am not currently using it in any way yet, that logic will come in a later commit.
I will likely move it to common.inc in step 2 because zopen download will need it for runtime dependencies.
I have also added cleanup_envars, which will cleanup dupes in our envars.
If you have any comments on the code so far, please let me know.

@MikeFultonDev, some more details on this PR:

You can now check for version requirements to the deps:

export ZOPEN_TARBALL_DEPS="make>=4.4.0.90"

This now checks in the dependency directory for a .version file. The .version file is product via a zopen_get_version function which needs to be defined in the buildenv. Right now it will print a warning if it's not defined.
It also introduces a new envar:
export ZOPEN_RUNTIME_DEPS="bash>=5.2.0"

This info is then copied into a $ZOPEN_INSTALL_DIR/.deps file.
Step 2 will be to modify Jenkins so that the .version and .deps files are processed and metadata is placed into the github releases. Then zopen download will be modified to extract the version and runtime deps metadata, which will be used for runtime dependency processing.
I tested this PR with a few ports to ensure no regressions.
We'll need to go through and add ZOPEN_RUNTIME_DEPS and zopen_get_version to all of the ports.

Nice. Should the tool to generate a new port be updated to include templates for this new function

Oh yes, I forgot to do that!

Added the templates to zopen generate

repo: ZOSOpenTools/meta


text:
Trio102: await inside finally needs shielding and timeout

A first draft of trio102. check_for_102 is kind of a mess, with having to inspect a lot of places to find cancel scopes, if they have a timeout specified, and if shielding is set. (It appears there was a shield parameter in the past that now is gone?). It might be a bit defensive and checking the parameter of the trio call is probably silly since they require one.
It also fails on fuzzing site code, since they do have await's in finally's and this doesn't care if they're related much to trio at all. Maybe add a global check that the file has to import or mention trio?
trio102.py has a fun case on line 39 (that will fail on python3.8 atm) that idk if it's worth caring about?
And it adds duplicates and is generally kinda ugly, but thought I'd push a first draft to see if I've understood the check correctly and so.

I'll merge in main to this when you've unbroken it :P
Upon seeing trio.CancelScope I'll have to modify this one a bit

Fixed main, and left you a review on the other PR 😁

for the shield value, I'll parse constant bools - but do you want to assume True or False for anything else? E.g.
        with trio.CancelScope(deadline=30, shield=(1==0)):
            await foo()
        myvar = False
        with trio.open_nursery(10) as s:
            s.shield = myvar

for the shield value, I'll parse constant bools - but do you want to assume True or False for anything else?

If it's inside a finally: block, then it must always be shielded, so I'd want an error on anything that isn't literally True.  No need for a variable when you should always have exactly the same value!
I'd even be happy to go a step further and say that should be the first statement of the fail/move_on blocks (or passed as an argument to CancelScope), and should not otherwise be assigned to at all.

for the shield value, I'll parse constant bools - but do you want to assume True or False for anything else?

If it's inside a finally: block, then it must always be shielded, so I'd want an error on anything that isn't literally True. No need for a variable when you should always have exactly the same value!
I'd even be happy to go a step further and say that should be the first statement of the fail/move_on blocks (or passed as an argument to CancelScope), and should not otherwise be assigned to at all.

I think I'll pass on enforcing it to be the first statement unless you insist, I think current solution is pretty clean.

Big rewrite, I suspect you might dislike the added class but I I did not see a clean simpler solution.
All tests fails due to coverage ... which I don't understand and failed to alleviate - would love a tip on what's going on there.
I'm not loving the four separate class variables for tracking state, and them working differently: yield_is_error has the logic in the with&def, while the other three are facts about the state with logic at the point of adding the problem. I think I prefer the latter way with added reuse of the variables between checks, and if you agree I might convert the former.
Will add lineno reference to the finally (and probs fix trio101 at the same time). Could possibly give another reference to the scope if it e.g. has a timeout but no shield.

Oh, is this fine?
finally:
  with trio.CancelScope(deadline=10, shield=True):
    with trio.fail_after(5):
      await foo()

Oh, is this fine?
finally:
  with trio.CancelScope(deadline=10, shield=True):
    with trio.fail_after(5):
      await foo()

Yep, that's fine - the outer shield protects it from the Cancelled exception that (might have) triggered the finally clause, and there's a finite deadline 👍

This should error, right?
with trio.CancelScope(deadline=10, shield=True):
  try:
    pass
  finally:
    await foo()

This should error, right?
with trio.CancelScope(deadline=10, shield=True):
  try:
    pass
  finally:
    await foo()

Correct, it should error, because if pass happened to raise Cancelled (😨) then await foo() would fail.

Oh, is this fine?
finally:
  with trio.CancelScope(deadline=10, shield=True):
    with trio.fail_after(5):
      await foo()

Yep, that's fine - the outer shield protects it from the Cancelled exception that (might have) triggered the finally clause, and there's a finite deadline +1

Hmmm, I think that means I need to make scope a stack (which is saved away upon entering finally) and when await'ing search through the stack to see if any of them have shield+timeout.
This check certainly isn't getting simpler!

Fixed all the comments, and I broke out 102 on an impulse. As you said we can revisit that later.
I also got rid of visit_generic_with and visit_generic_functiondef in favor of visit_AsyncWith calling visit_With. felt cleaner /shrug
The finally doesn't have it's own lineno, do you want me to check the lineno of the first statement in the finalbody and subtract 1 ... or maybe just skip referring to the line number of the finally.

The finally doesn't have it's own lineno, do you want me to check the lineno of the first statement in the finalbody and subtract 1 ... or maybe just skip referring to the line number of the finally.

Let's just skip referring to the lineno of finally:, it should be pretty obvious from context.

authors: Zac-HD jakkdl


text:
Generated parent component factory has an incorrect return type

Summary
When an @MergeSubcomponent is declared with an inner parent component interface, Anvil fails to generate a proper subclass of the parent component interface with the correct return type during component merging. What a mouthful, so let's look at an example 😅
Context
Consider the following, within the :sample:app module of this repository:
@SingleIn(LoggedInScope::class)
@MergeSubcomponent(LoggedInScope::class)
interface LoggedInComponent {
    @ContributesTo(AppScope::class)
    interface ParentBindings {
        fun createLoggedInComponent(): LoggedInComponent
    }
}

When Anvil generates the subcomponent, it will create the following subclass of ParentBindings where createLoggedInComponent is now overridded to the merged type MergedLoggedInComponent:
@Subcomponent(modules = [MergedLoggedInComponent.BindingModule::class])
public interface MergedLoggedInComponent : LoggedInComponent {
  @Module
  public interface BindingModule {
    @Binds
    public fun bindMergedLoggedInComponent(`impl`: MergedLoggedInComponent): LoggedInComponent
  }

  public interface ParentComponent : LoggedInComponent.ParentBindings {
    override fun createLoggedInComponent(): MergedLoggedInComponent
  }
}

When Anvil later performs component merging for AppScope, it will attempt to generate the following:
public interface MergedAppComponent : AppComponent, LoggedInComponent.ParentBindings,
    MergedLoggedInComponent.ParentComponent {
  override fun createLoggedInComponent(): LoggedInComponent = createLoggedInComponent()
}

MergedAppComponent#createLoggedInComponent cannot be overridden with a return type of LoggedInComponent because MergedLoggedInComponent.ParentComponent already overrides it to explicitly be MergedLoggedInComponent:
MergedAppComponent.kt:44:43 Return type of 'createLoggedInComponent' is not a subtype of the return type of the overridden member 'public abstract fun createLoggedInComponent(): MergedLoggedInComponent defined in com.squareup.anvil.sample.MergedLoggedInComponent.ParentComponent'

A patch is available to reproduce this example: issue.patch
Workaround
If you declare a @MergeComponent.Factory and return it from ParentBindings instead, the issue is no longer present:
@SingleIn(LoggedInScope::class)
@MergeSubcomponent(LoggedInScope::class)
interface LoggedInComponent {
    @MergeSubcomponent.Factory
    interface Factory {
        fun create(): LoggedInComponent
    }

    @ContributesTo(AppScope::class)
    interface ParentBindings {
        fun createLoggedInComponentFactory(): Factory
    }
}

That's a tricky one, I'll try to look into it when I have time. In the meantime - PRs welcome and hopefully that workaround suits for now?

What's the purpose of the ParentComponent interface, if there's already a generated @Binds for the concrete subcomponent? It seems like if that didn't exist, everything would compile?

It's hard to say off-hand without digging into the code (this all gets really murky with all the various vague names floating around) but it might be that we already generate it and it's a bit of the left hand not knowing about the right hand in this area of code gen

authors: ZacSweers jonamireh

repo: ZacSweers/anvil


text:
The AutoService code generator doesn't support KSP very well

Hi we have been actively using auto-service-ksp in our repo and found below issue:
The AutoService code generator doesn't support KSP very well (for example
The AutoService code generator doesn't process @AutoService  in code-generated UiRegistry).
We believe below changes need to be made
https://kotlinlang.org/docs/ksp-multi-round.html#changes-to-your-processor
instead of returning an empty list here https://github.com/ZacSweers/auto-service-ksp/blob/main/processor/src/main/kotlin/dev/zacsweers/autoservice/ksp/AutoServiceSymbolProcessor.kt#L132
so it can support KSP correctly which is multi-round.

Want to send a PR?

repo: ZacSweers/auto-service-ksp


text:
Update the submodule to the latest zcashd code

After zcashd merges https://github.com/zcash/zcash/pull/5373 , we should update the submodule to the latest zcashd code.
The PR review removed a single line of unused code, and made some comment changes.
We will probably close this ticket as part of https://github.com/ZcashFoundation/zebra/issues/3041, the next zcash_script feature ticket, or any NU6 zcashd changes.
This ticket is a low priority.

Closed by #29.


text:
🛑 Prod Client init service health is down

In b16bc7c, Prod Client init service health (http://prod.zebr-a.com/client-init-service/v2/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Prod Client init service health is back up in 8beb05c.

repo: Zebrainy/upptime


text:
Can't comiple it

When I try to compile it, it tells me to download .Net 4.0
Which is pain in the ....
Help please

Well most of the project features require .Net 4, For now you have to stick with this version, however if you are able to use lower version e.g 3.5 then feel free to create pull request

authors: NasroGalili Zedstron

repo: Zedstron/Lan-based-computer-spy


text:
Doesn't compile on Kali

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.0-kali9-amd64/build M=/home/kali/RTL8192EU  modules
make[1]: *** /lib/modules/5.10.0-kali9-amd64/build: No such file or directory.  Stop.
make: *** [Makefile:1829: modules] Error 2

/lib/modules/5.10.0-kali9-amd64/ doesn't contain build/.

sudo apt-get install linux-headers-$(uname -r) fixed it.


text:
An app for workout

I want to contribute with a web app for workout with maps feature using Leaflet.
It is a JavaScript project, and uses geolocation API.
Please assign me this task for Hacktoberfest2021

Go! Ahead! Don't create extra folders, Put it in respective directory of this repository.

authors: Astrodevil peprick


text:
🛑 Gitea is down

In 0f7d8fd, Gitea (https://git.zxavier.com) was down:

HTTP code: 502
Response time: 4431 ms

Resolved: Gitea is back up in b03e88b.

repo: ZhangXavier/upptime


text:
ASSERTION FAILED

#----------------------------------------------------------------------#

ASSERTION FAILED

Location 'D:\AzerothCore\Core\src\server\game\Chat\Chat.cpp:253'
Function 'ChatHandler::BuildChatPacket'
Condition 'channelName.length() > 0'
#----------------------------------------------------------------------#
[已退出进程，代码为 3221226528 (0xc0000420)]

服务器里的DBC好像不支持中文的  用了中文机器人不会使用技能 还有这个频道DBC中文后出现宕机

Has anyone experience this with a enUS client?

Has anyone experience this with a enUS client?

I use esES client and have this problem, I will try with a enUS client and answer later

Resolved in https://github.com/ZhengPeiRu21/mod-playerbots/commit/f88f49471a1f3f0664d8f5323983a97cd9297e98.


text:
希望导航栏白条沉浸

目前应用底部显示黑边，播放界面如果能够完善下就好了

参考一下这样是不是很有MD
感谢你的作品！加油！

目前应用底部显示黑边

可以给个截图给我参考一下会出现怎么样的黑边

目前应用底部显示黑边

可以给个截图给我参考一下会出现怎么样的黑边

目前应用底部显示黑边

可以给个截图给我参考一下会出现怎么样的黑边

@

已经了解到这个问题并已经在修复ing
将于下一个版本修复，修复成功后我会关闭这个issue
另外关于播放页面的改进意见，感谢你的建议，我会尝试改进它！

感谢你的努力 谢谢

已在v1.5.4中修复


text:
🛑 blog.zinglix.xyz is down

In 8e3e0fd, blog.zinglix.xyz (https://blog.zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in 3397c51.

repo: ZingLix/blog-mirror-uptime


text:
Force load table once

Force load table once by setting loadOnce:true.
Fix for Bug1 of https://github.com/Zizzamia/ng-tasty/issues/186

Please make sure to pass all the tests, and great new ones for your case.

authors: Zizzamia codenamerana

repo: Zizzamia/ng-tasty


text:
2 SPI devices

Hi,
I have 2 AS5047 devices and want to set both with the SPI (with 2 different chip select pins).
This library doesn't work correctly, because the SPI is initialised again on each device.
SPISettings and SPI.beginTransaction should be used when you have more than 1 SPI device.
So, on each transfer, you can select the right cs and you will be able to use more than only 1 SPI device.

Hi! It looks like you should be able to add SPI.beginTransaction() and SPI.endTransaction() in the  AS5048A::read and AS5048A::write functions, along with setting the SS in the settings as you mention.
If you get this working in a fork, I'd love to have a pull request to merge in :)
https://www.arduino.cc/en/Reference/SPI

Hi Ben.
I made a pull request. I am new to github and still need to learn how to do some changes on the code. Hope I made it correctly.

Closed by #2

authors: Adrianotiger benhowes


text:
Weird Error in Logs Preventing External Clients from Connecting to Internal Sites

So just as a baseline:

I'm running the container using Podman with a macvlan network mapped to 10.88.88.2, which is a DMZ zone on my home network configuration. My router passes all HTTP/S traffic (among other forwarded ports) this address and I have network firewall rules which prevent the DMZ zone from communicating with others within my home network unless the communication is initiated by a privileged user from outside of the DMZ zone.
I further isolate the container from the host with host and Podman firewall rules preventing communication between the network interfaces and by dropping container/Linux capabilities to reduce security exposure (Podman requires a root user when using the macvlan or host network, thus the dropping of unnecessary capabilities to reduce exposure).
I have an additional internal Podman container network attached to both this container and the backend containers for which it's routing traffic. I map the backend containers using their IPs from this network.

Since your most recent update, I have been getting lots of errors like the following:
/usr/local/nginx/lib/lua/crowdsec.lua:293: in function </usr/local/nginx/lib/lua/crowdsec.lua:240>, context: ngx.timer, client: 192.168.2.3, server: 0.0.0.0:81

2024/11/03 15:54:18 [error] 1218#1218: *292 connect() failed (113: Host is unreachable), context: ngx.timer, client: 52.22.236.30, server: 0.0.0.0:443

2024/11/03 15:54:18 [error] 1218#1218: *292 lua entry thread aborted: runtime error: /usr/local/nginx/lib/lua/crowdsec.lua:293: request failed: host is unreachable

stack traceback:

coroutine 0:

        [C]: in function 'error'

        /usr/local/nginx/lib/lua/crowdsec.lua:293: in function </usr/local/nginx/lib/lua/crowdsec.lua:240>, context: ngx.timer, client: 52.22.236.30, server: 0.0.0.0:443

2024/11/03 15:54:19 [error] 1451#1451: *294 connect() failed (113: Host is unreachable), context: ngx.timer, client: 192.168.2.3, server: 0.0.0.0:81

2024/11/03 15:54:19 [error] 1451#1451: *294 lua entry thread aborted: runtime error: /usr/local/nginx/lib/lua/crowdsec.lua:293: request failed: host is unreachable

stack traceback:

coroutine 0:

For external users and services, such as my uptime monitor, this results in failed connections (as in the first failure) but for internal users, it does not, despite the error. What's weird is that previous versions worked AND even as of last night, this version was working fine with no error caused by a 0.0.0.0 host. I can't make sense of it. Any thoughts?

your crowdse  config file?

Sure. For reference, I've changed the secret keys. Also, the internal Podman network is 10.99.99.0/24 with the host being at 10.99.99.1, thus the Crowdsec and Appsec API being there since I'm using Crowdsec from the Debian host.
ENABLED=true
API_URL=http://10.99.99.1:8080
API_KEY=API_KEY_IS_SECRET
CACHE_EXPIRATION=3600
# bounce for all type of remediation that the bouncer can receive from the local API
BOUNCING_ON_TYPE=all
FALLBACK_REMEDIATION=captcha
REQUEST_TIMEOUT=2500
UPDATE_FREQUENCY=10
# By default internal requests are ignored, such as any path affected by rewrite rule.
# set ENABLE_INTERNAL=true to allow checking on these internal requests.
ENABLE_INTERNAL=true
# live or stream
MODE=stream
# exclude the bouncing on those location
EXCLUDE_LOCATION=
#those apply for "ban" action
# /!\ REDIRECT_LOCATION and RET_CODE can't be used together. REDIRECT_LOCATION take priority over RET_CODE
BAN_TEMPLATE_PATH=/data/etc/crowdsec/ban.html
REDIRECT_LOCATION=
RET_CODE=403
#those apply for "captcha" action
#valid providers are recaptcha, hcaptcha, turnstile
CAPTCHA_PROVIDER=recaptcha
# Captcha Secret Key
SECRET_KEY=SECRET_KEY_IS_SECRET
# Captcha Site key
SITE_KEY=SITE_KEY_IS_SECRET
CAPTCHA_TEMPLATE_PATH=/data/etc/crowdsec/captcha.html
CAPTCHA_EXPIRATION=3600

APPSEC_URL=http://10.99.99.1:7422
APPSEC_FAILURE_ACTION=passthrough
APPSEC_CONNECT_TIMEOUT=30000
APPSEC_SEND_TIMEOUT=30000
APPSEC_PROCESS_TIMEOUT=30000
ALWAYS_SEND_TO_APPSEC=true
SSL_VERIFY=true

and npmplus can access http://10.99.99.1:8080?

So I've registered the npmplus bouncers (I'm running two distinct instances of NPMPlus) using cscli bouncers add npmplus-uid but they no longer show up with their version or any details about them on Crowdsec and when I just ran the cscli bouncers list it shows both bouncers but no further details.
This is obviously complicated because of my network configuration, but I had it working before. I will try some troubleshooting.

repo: ZoeyVid/NPMplus


text:
Desert Treasure II - Wrong spell highlighted in totem room

In the room where you must cast a different ancient spell on each of four totems, the wrong spell is highlighted in the spellbook:

? was highlighted for the Blood Totem (I don't remember which, I just noticed that it was incorrect)
? was highlighted for the Shadow Totem
Blood barrage was highlighted for the Smoke Totem
Nothing was highlighted for the Ice Totem

Just bumping as this is still an issue

authors: FounderCasey rdhambrick-dev

repo: Zoinkwiz/quest-helper


text:
🛑 Class File Upload - LTI Lite (Canvas) is down

In 197dddf, Class File Upload - LTI Lite (Canvas) (https://zql.zollege.com/lti/class-file-upload?email=r.watkins@zollege.com&courseId=7) was down:

HTTP code: 530
Response time: 11 ms

Resolved: Class File Upload - LTI Lite (Canvas) is back up in 04d2616 after 8 minutes.

repo: Zollege/status


text:
Attempting to use the tool with no folder loaded results in exception.

TypeError: Arguments to path.join must be strings
  at f (path.js:178:13)
  at Object.filter (native)
  at Object.win32.join (path.js:183:38)
  at Object.module.exports.ZoltuJspm.pathToJspm (C:\Users\Micah\Source\zoltu-jspm-atom\lib\zoltu-jspm.coffee:80:15)
  at Object.module.exports.ZoltuJspm.executeJspm (C:\Users\Micah\Source\zoltu-jspm-atom\lib\zoltu-jspm.coffee:73:14)
  at Object.module.exports.ZoltuJspm.install (C:\Users\Micah\Source\zoltu-jspm-atom\lib\zoltu-jspm.coffee:62:4)
  at Object.module.exports.ZoltuJspm.confirm (C:\Users\Micah\Source\zoltu-jspm-atom\lib\zoltu-jspm.coffee:54:25)
  at atom-text-editor.subscriptions.add.atom.commands.add.core:confirm (C:\Users\Micah\Source\zoltu-jspm-atom\lib\zoltu-jspm.coffee:24:110)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Micah\AppData\Local\atom\app-0.192.0\resources\app\src\command-registry.js:238:29)
  at C:\Users\Micah\AppData\Local\atom\app-0.192.0\resources\app\src\command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\Micah\AppData\Local\atom\app-0.192.0\resources\app\node_modules\atom-keymap\lib\keymap-manager.js:519:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\Micah\AppData\Local\atom\app-0.192.0\resources\app\node_modules\atom-keymap\lib\keymap-manager.js:354:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Users\Micah\AppData\Local\atom\app-0.192.0\resources\app\src\window-event-handler.js:180:20)

Fixed in 1de83a34b905420d78561c659a29037e1f629a6f.

repo: Zoltu/zoltu-jspm-atom


text:
Latest of everything has a few errors

So did an update to the latest version and players are not getting exp for jobs, the jobs bossbar at the top no longer shows and they cannot register furnaces at all. It only shows for OP for me. Is there a new permission or setting somewhere?

not getting exp for jobs

You're not getting for the specific things:

You literally disabled Exp payment in generalConfig
You have limitations set in generalConfig
Your jobs does not contain "experience" value, and you modified the exp-progression-equation

Watch out all settings that the plugin have, revert your last modifications in files and will be good.

the jobs bossbar at the top no longer shows

You literally disabled bossbar in generalConfig or you using old minecraft version which the bossbar is not supported.

Is there a new permission or setting somewhere?

There are wiki for the required permissions: https://github.com/Zrips/Jobs/wiki/Permissions
The required permissions is granted every server-startup, but your permission plugin does not support that.

Using 1.16.2 paper build 174.
Permission plugin is Luckperms using latest version
Jobs reborn is latest version
I never edited or removed (logically) anything all I did was update the jars...

There are wiki for the required permissions: https://github.com/Zrips/Jobs/wiki/Permissions
The required permissions is granted every server-startup, but your permission plugin does not support that.

So?

Not using PEX, Using Luckperms
I have autojoin on true and my players automatically join all jobs so the initial permisssion is irrelevant.
What I need to know is why the bossbar no longer shows at the top and players are no longer getting experience.
I have attached my jobsconfig.yml and generalconfig files.
jobs.zip

Grant jobs.world.worldname and jobs.use for groups where not works.

Done, no changes. Can I hire someone to come in and take a look :D

Make sure that you (probably you) not toggled the bossbar with /jobs toggle bossbar. If you find a file named with "actionBarBossbar" and have some data in it, then remove and reload the jobs.

Okay what about the furnace issue, other server owners are also having it.

As you can see the only boss bars that are appearing are for MCMMO and players getting paid but not getting exp. Please do not accuse me of changing config files. Many other server owners are saying the same thing why do you keep telling us this is our fault?

RangewonkYesterday at 12:40 PM
@Stager Latest version has many bugs - use version 4.16.0.
I have done this and guess what?? everything works! So the issue is with your latest version, please stop blaming server owners.

https://github.com/Zrips/Jobs/commit/78c6368c092e94f9e17aa6a0409a1677468571c3

Wait you re-opened the ticket then referenced some issue that only applies to furnaces? - https://github.com/Zrips/Jobs/commit/78c6368c092e94f9e17aa6a0409a1677468571c3
The thing is that going to the previous version fixed everything, so why not fix the current version since I do not see any updates here since 25th August?

This issue is NOT just for furnaces, you presumed so based on pictures but ALL jobs were not giving exp or showing bossbar. I can install on a new server and show you?

This issue is NOT just for furnaces, you presumed so based on pictures but ALL jobs were not giving exp or showing bossbar. I can install on a new server and show you?

Yes he need open this again, i have pay issues on 4.16.1 too. builder get not pay for players (work in 4.16).

Yea I hear you, but I just gave up because they made it seem like it was my fault that is why I closed it.

Yea I hear you, but I just gave up because they made it seem like it was my fault that is why I closed it.

It is all ways like this with some of Zrips plugins he not care about. Mob farm manger new version has serious bugs he don't care about.
He has at lest step up and fix bugs in cmi atleast.

I would like to say that this has all been fixed with the last 2 updates.

authors: StenaCS broken1arrow montlikadani

repo: Zrips/Jobs


text:
permission boosts dont work for negative values.

jobs.boost.miner.exp.-0.5 < these permission nodes no longer work. Is there an alternate or a new way of doing this? I am trying to have a temp node applied when a player applies haste potions.

How do you think that it not works? More information? What version of jobs you using? Which of the permission plugin you using?

Newest version available on the spigot page (4.16.2)
Luckperms newest version
Paper spigot 1.16.3
I applied the permission exactly as shown on the site.
the perm boosts work fine with a positive integer.
It shows on /jobs bonus

Really isn’t much information to provide other than the version. The boosts don’t allow a negative value and I wasn’t able to find a work around

874fd3ce5c50ce6bdd3fff6af2962a31506452e4

authors: IgnisCraft Zrips montlikadani


text:
Support Apache Iceberg as format

Apache Iceberg is a next generation Big Data Analytics format. Apache Iceberg itself is reasonable mature especially the Spark integration is used by several companies in production.
It has Python support:
https://iceberg.apache.org/docs/latest/python-quickstart/
However, at the moment the Python library is not stable enough to be included in the scrapy-contrib-bigexporter. This issue is just a reminder to regularly check and assess maturity of Python support for Apache Iceberg

One issue is that Apache Iceberg outputs multiple files (metadata files and data files) forming a table. This potentially does not fit the Scrapy API. One would first need to extend the API to support output folders

repo: ZuInnoTe/scrapy-contrib-bigexporters


text:
Snippet List Ordering

With the implementation of the deletion/restoration system Snippets may become out of order, should implement a pipe to order them in the display by either created or last updated date

this has actually already been done as part of another ticket, may be good to sort by oldest/newest though?

Going to expand this to include a "sort by" option, think options should be; created, language, score, with ascending/descending toggle

repo: Zyzle/base


text:
Fatal error: Class 'ProxmoxVE\Proxmox' not found

Using the dev branch, I'm getting Fatal error: Class 'ProxmoxVE\Proxmox' not found
use ProxmoxVE\Credentials;
use ProxmoxVE\Proxmox;

$creds = [
	'hostname' => $request->input('hostname'),
	'username' => $request->input('username'),
	'password' => $request->input('password'),
	'realm'    => $realm,
	'port'     => $port
];

$proxmox = new Proxmox($creds);

I'm showing the the namespace in autoload_psr4.php so not really sure why it's not loading.

Lack of sleep had me running composer update on one server and loading another.
Ignore Issue.

repo: ZzAntares/ProxmoxVE


text:
fix census driven activity model

It was failing because the version of flatgeobuf we were using was not
compatible with the recent tokio update. Now we point to the unreleased
flatgeobuf which is compatible.

Whoops, I didn't test this when I upgraded everything. Thanks for catching this!

authors: dabreegster michaelkirk

repo: a-b-street/abstreet


text:
🛑 RAIDA#5 South Korea is down

In 42d28ae, RAIDA#5 South Korea ($RAIDA_05) was down:

HTTP code: 521
Response time: 746 ms

Resolved: RAIDA#5 South Korea is back up in fa1eff2.

repo: a-lang/raida-uptime


text:
Define name and target on --save or add option to append results.

Is your feature request related to a problem? Please describe.
I am trying to save lots of results when running the cli. --save creates results.json that I then have to go and rename in order to not rewrite data from previous runs.
Describe the solution you'd like
Ability to define a name or append results.
Describe alternatives you've considered
I run mv after every run.
Additional context
This is def. a "nice to have", but running mv between cli scans does get annoying.

Hi @bbertucc you can actually pipe the results of each scan via stdout. Currently --save only allows one stored value as the last report for process that help determine if it passed or failed. You can also chain the mv command that you were using in between each crawl. I would chain them with & to allow the request to follow concurrently through if it is a list that is being used. I think for now --save is not appropriate for this type of functionality and more on the developer to use the stdout.
Example below showing crawls to a tmp folder.
#!/bin/bash

declare -a Sites=( "https://a11ywatch.com/" "https://www.drake.com/" "https://jeffmendez.com/" )

for val in ${Sites[@]}; do
    $(a11ywatch crawl -u $val > "./tmp/${val#*//}-multi.json") &
done

wait;

Going to close this down since you can use stdout for this and features are frozen for the Lite projects.

authors: bbertucc j-mendez


text:
Rias: Background image {width} and {quality} placeholders not replaced

The {width} and {quality} placeholders in ReSRC.it link are not being replaced.
This is my background image setup:

I'm using the RiAS plugin quality setting with simple support for background images (I've also tried the ls.unveilhooks.js plugin, but that didn't work either):
// LazySizes RiAS plugin config
document.addEventListener('lazyriasmodifyoptions', function(event) {
	event.detail.quality = (window.devicePixelRatio || 1) > 1.4 ? 65 : 80;
});

// LazySizes support for background images
document.addEventListener('lazybeforeunveil', function(e) {
	var bg = e.target.getAttribute('data-bg');
	if(bg) {
		e.target.style.backgroundImage = 'url(' + bg + ')';
		e.target.removeAttribute('data-bg');
	}
});

You can see a (not) working implementation here, right at the top: http://altair.studiodumbar.com
What am I doing wrong? Looks like {width} and {quality} aren't calculated/replaced for data-bg?
Thanks for your help and for this really great plugin!
Jonathan

Unfortunately the RIaS plugin only allows to work with img/picture.
Fortunately the bgset plugin does this transformation and I just changed some code in RIaS to work together with the bgset plugin.
So

update lazySizes (including its plugins)
add the bgset plugin
and use data-bgset instead of ``data-bg```

Please close if this works for you.

Great it's working with the updates, this is the output in Safari 8.0.6.:

<picture style="display: none;"><source data-srcset="http://app.resrc.it/s=w96/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 96w, http://app.resrc.it/s=w160/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 160w, http://app.resrc.it/s=w320/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 320w, http://app.resrc.it/s=w480/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 480w, http://app.resrc.it/s=w640/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 640w, http://app.resrc.it/s=w800/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 800w, http://app.resrc.it/s=w960/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 960w, http://app.resrc.it/s=w1280/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 1280w, http://app.resrc.it/s=w1600/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 1600w, http://app.resrc.it/s=w1920/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 1920w, http://app.resrc.it/s=w2240/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 2240w, http://app.resrc.it/s=w2560/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 2560w, http://app.resrc.it/s=w2880/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 2880w" sizes="1278px" srcset="http://app.resrc.it/s=w96/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 96w, http://app.resrc.it/s=w160/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 160w, http://app.resrc.it/s=w320/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 320w, http://app.resrc.it/s=w480/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 480w, http://app.resrc.it/s=w640/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 640w, http://app.resrc.it/s=w800/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 800w, http://app.resrc.it/s=w960/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 960w, http://app.resrc.it/s=w1280/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 1280w, http://app.resrc.it/s=w1600/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 1600w, http://app.resrc.it/s=w1920/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 1920w, http://app.resrc.it/s=w2240/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 2240w, http://app.resrc.it/s=w2560/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 2560w, http://app.resrc.it/s=w2880/o=65/http://altair.studiodumbar.com/thumbs/cover-01-8cf8e463ff29bb83468bcd9b417471ab.jpg 2880w"></picture>

Link: http://altair.studiodumbar.com
Though the initial data-bgset with the placeholder {width} and {quality parameters is stil present in there. Is that on purpose? Necessary? Can it be removed after background image is lazyloaded? Except for this it's working perfectly (at least in latest Safari and Chrome on Mac).
Thanks!

Yes, it is on purpose. But it is not necessary. If you want you can remove it after a lazybeforeunveil event. But this is just cosmetics, you won't get anything from it.

authors: aFarkas jolantis

repo: aFarkas/lazysizes


text:
Error on install

It seems the installation is broken since last update (0.1.5). Everything works fine with 0.1.4.
Here is the error I receive.

rollup-plugin-pug@0.1.5 postinstall /Users/quentinroy/Workspace/test/node_modules/rollup-plugin-pug
node ./build-rt.js
module.js:487
throw err;
^
Error: Cannot find module '/Users/quentinroy/Workspace/test/node_modules/rollup-plugin-pug/build-rt.js'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3

I am using macOS Sierra, npm 5 and node 8.

@all , @QuentinRoy , sorry by that. v0.1.6 is out and working.

authors: QuentinRoy aMarCruz

repo: aMarCruz/rollup-plugin-pug


text:
Change Schema before executing Queries.

In Native JDBC we can use setCatalog() to change schema. Is there any alternative here in Sql2o to execute queries over different schemas.

You can set the schema directly on the underlying jdbc connection. Example:
try (Connectio con = sql2o.open()) {
    con.getJdbcConnection.setCatalog("theCalalog");

    con.createQury(sql).addParameter("param", var).execute...();
}

Thanks. That helped a lot.


text:
🛑 KIOSKOS - HOME is down

In 3ef3bd1, KIOSKOS - HOME (https://recaudacion.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KIOSKOS - HOME is back up in 235f4eb.

repo: aafyyuc/upptime


text:
🛑 SERVICOS VUE is down

In 715c958, SERVICOS VUE (https://wsaafyvue.yucatan.gob.mx/vue/services/consultar/recibos) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SERVICOS VUE is back up in d03d0b1.


text:
🛑 KIOSKOS - HOME is down

In 8ccca85, KIOSKOS - HOME (https://recaudacion.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KIOSKOS - HOME is back up in 305df47 after 37 minutes.


text:
🛑 KIOSKOS - HOME is down

In 855d6ae, KIOSKOS - HOME (https://recaudacion.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KIOSKOS - HOME is back up in f7977f7.


text:
Changes needed for gradle 3.0.1 compatibility

Some minor changes are needed for gradle 3.0.1 compatibility: in android/build.gradle:

Remove the buildToolsVersion, gradle now specifies a default and the current value conflicts with that.
Declare dependencies using api not compile per https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#new_configurations
Replace testCompile with testImplementation.

We are currently hacking these changes with a script in status.im, and would rather it is fixed upstream. Thanks!
Parent issue: https://github.com/status-im/status-react/issues/3037

this appears to be fixed on master

authors: pacamara vonovak

repo: aakashns/react-native-dialogs


text:
Add time it and major refactor

Checklist:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you successfully run tests with your changes locally?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?

Issues Solved
Fixes #35

Hi! Thanks for PR.
Make sure you have checked points in PR Template correctly.
(Powered by GitMate.io)


text:
[ALERTS]
alertname:TicketAlertTestV6 monitor:prometheus repo:data-platform-documentation severity:ticket system:system-monitoring

Hello
test

Hello
test

repo: aasiddiq/testrepo


text:
Conflicting dependencies on elm-date-extra

I would like to use the newly addad Swedish localization in elm-date-extra package which is found in version 9.1.1. Since datetimepicker uses version 8.1.2 upp to 9.0.0, I get a conflict in my project. Would it be possible for you to upgrade to 9 up to 10?

I'll take a look.  Do you know if there's a summary anywhere of the API changes between 8.1.2 and 9?

I was able to get the API diff with elm-package diff:
▶ elm-package diff rluiten/elm-date-extra 8.1.2 9.1.1
Comparing rluiten/elm-date-extra 8.1.2 to 9.1.1...
This is a MAJOR change.

------ Added modules - MINOR ------

    Date.Extra.Config.Config_de_de
    Date.Extra.Config.Config_el_gr
    Date.Extra.Config.Config_et_ee
    Date.Extra.Config.Config_ja_jp
    Date.Extra.Config.Config_lt_lt
    Date.Extra.Config.Config_nl_nl
    Date.Extra.Config.Config_pt_br
    Date.Extra.Config.Config_ru_ru
    Date.Extra.Config.Config_sv_se
    Date.Extra.Config.Config_tr_tr
    Date.Extra.I18n.I_de_de
    Date.Extra.I18n.I_el_gr
    Date.Extra.I18n.I_et_ee
    Date.Extra.I18n.I_ja_jp
    Date.Extra.I18n.I_lt_lt
    Date.Extra.I18n.I_nl_nl
    Date.Extra.I18n.I_pt_br
    Date.Extra.I18n.I_ro_ro
    Date.Extra.I18n.I_ru_ru
    Date.Extra.I18n.I_sv_se
    Date.Extra.I18n.I_tr_tr

------ Changes to module Date.Extra.Config - MAJOR ------

    Changed:
      - type alias Config =
            { i18n : { dayShort : Date.Day -> String,
                       dayName : Date.Day -> String,
                       monthShort : Date.Month -> String,
                       monthName : Date.Month -> String,
                       dayOfMonthWithSuffix : Bool -> Int -> String
                     },
              format : { date : String,
                         longDate : String,
                         time : String,
                         longTime : String,
                         dateTime : String,
                         firstDayOfWeek : Date.Day
                       }
            }
      + type alias Config =
            { i18n : { dayShort : Date.Day -> String,
                       dayName : Date.Day -> String,
                       monthShort : Date.Month -> String,
                       monthName : Date.Month -> String,
                       dayOfMonthWithSuffix : Bool -> Int -> String,
                       twelveHourPeriod : Date.Extra.TwelveHourClock.TwelveHourPeriod -> String
                     },
              format : { date : String,
                         longDate : String,
                         time : String,
                         longTime : String,
                         dateTime : String,
                         firstDayOfWeek : Date.Day
                       }
            }

------ Changes to module Date.Extra.Duration - MINOR ------

    Added:
        diffDays : Date.Date -> Date.Date -> Int

(This is blocked on https://github.com/abadi199/dateparser/pull/9)


text:
🛑 Musga is down

In 7d832b6, Musga (https://musga.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Musga is back up in 2c4380e after 11 minutes.

repo: abaertsoen/upptime


text:
Feature native sql

Feel free to add this app to the repo.
I made it both as a way to learn to use the library and to have something to be a naughty on my job. Now basis can't stop me lol
There are a couple of things that maybe you want to backport to the original app, mainly

the fact that the results pane was hanging in a weird way and didn't extend all the way to the bottom:

(I got rid of the grid and used a flexbox)

and the bug about not being able to filter/order directly on the table component:

These quotes shouldn't be there:

Someday I'll also use cl_adt_dp_cds_assoc_osql_map to convert ABAP CDS associations into joins because they are not materialized in HDB for some reason

very cool, looks great! :)
the idea was to have some helper tools for developers, so native sql is a great idea, but yes better not tell the basis ;)
your bugfixes are good to know too, i think using a flexbox is the better approach, and i also overlooked the quotes, will bring it to the other console one day.
thanks a lot!

authors: oblomov-dev whothefluff


text:
Missing menu hover and visual connection to dropdown menus

In the default theme, there's no visual indicator when moving mouse over selectable items. Also when opening a dropdown menu, the menu name remains as is. This can be confusing... For example, which menu was actually selected here, Branch or Tag?

Dark theme uses different color and underline on hover, but has the same issue with dropdown menus:

Proposed solution:

Conceptually - good feature, but a couple of concerns:

I'd better not do it with box shadow - this is kind of 3d button look from 200x :)) Background highlight would be better
There is an idea to remove favorites bar at all (don't remember the issue number). Though this does not cancel the idea for the menus

The box shadow was already there for the dropdown. I just applied it to the menu to get the same look. Agree, both should be just background highlight.
https://github.com/larshp/abapGit/issues/3269 I'm in favor of it.

Closed by #4768

authors: mbtools sbcgua

repo: abapGit/abapGit


text:
Split DISPLAY_URL logic to separate class

its currently in class ZCL_ABAPGIT_REPO_ONLINE, but only uses public methods
related to https://github.com/abapGit/abapGit/issues/2127

I think you meant GET_COMMIT_DISPLAY_URL.
I suggest consolidating all logic dependent on git provider. These classes look like the start of it although they probably should be renamed:
ZCL_ABAPGIT_PR_ENUMERATOR / ZCL_ABAPGIT_PR_ENUM_GITHUB

yea, sorry method GET_COMMIT_DISPLAY_URL and method GET_DEFAULT_COMMIT_DISPLAY_URL

yea, I think ZCL_ABAPGIT_PR_ENUMERATOR and ZCL_ABAPGIT_PR_ENUM_GITHUB should be moved to a new package along with the GET_COMMIT_DISPLAY_URL logic

what about $ABAPGIT_PROVIDER_API ? (package, I mean)

No APIs anywhere else in AG. Just $abapgit_providers?

provider is not clear enough. provider of what ? The idea is that there is some platform specific logic. abapgit_platforms should also do by the way

+1 for abapgit_git_platform

$abapgit_git_platform sounds good to me

I'm starting this now

todo: ZCL_ABAPGIT_PR_ENUMERATOR and ZCL_ABAPGIT_PR_ENUM_GITHUB

authors: larshp mbtools sbcgua


text:
ISSUE with detection function using two different audio sources

Issue: This app will not mute the ad source unless it is coming from one single source.
SCENARIO: So if you stream music via Spotify to your bluetooth speaker and decide to watch something on your phone or play a game. The app will mute the audio of the app currently streaming audio to the phones speakers but not mute the source for a bluetooth speaker. If you play the audio streams to one device (phone, bluetooth, wired speaker, etc) it will correctly detect the right app to mute. But it won't work if the music streaming app that has ads is separated from the phone source while the phone is still using other apps that produce sound.
I hope that makes sense... If you wish to replicate this then set the spotify app to play from a bluetooth speaker and load up a game on your phone with its output directed via your phone.

I think a possible solution might be to add the function to make the app ignore other apps that the use can input somewhere

repo: abertschi/ad-free


text:
Fix: fileno error google colab (#729)

Instead of using a devnull to redirect stdout and stderr, used a dummy class with a 'write()' method that does nothing.
Closes #729

@DulsaraDhanuka thank you for the fix!

Too good to be true unfortunately, the PR disabled the ability to suppress logs altogether.

authors: DulsaraDhanuka abetlen

repo: abetlen/llama-cpp-python


text:
Alphabetize app lists in app (Notifications)

This one is simple; app list should be alphabetical sorted

It would also be great if you could search apps


text:
feat: added input type number

form to test it out
http://localhost:3000/#/forms/0f724bee4b85cffd77fa97e5afc7b5051984e251604a6a2cde29bf52cb965c94
https://github.com/abhay-raizada/nostr-forms/assets/16651792/5216b164-4e08-43cd-b46a-f8ec5bd2f82e
https://github.com/abhay-raizada/nostr-forms/assets/16651792/72aecc1e-42d2-494c-b2c7-e57af6a0c9a4
The error screens observed will not come in production. Not sure why the nostr error screen is coming

Merged and Closed with #40

authors: abhay-raizada rramaa

repo: abhay-raizada/nostr-forms


text:
Add Xunzhuo`s Profile

What type of PR is this? (check all applicable)

[x] 🚀 Added Name
[ ] ✨ Feature
[x] ✅ Joined Community
[ ] 🌟 ed the repo
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description
Hey, I`ve updated my profile, can I join the Community? I will keep updating my profile and make it Better!
Add Link of GitHub Profile
https://github.com/xunzhuo/

@Xunzhuo Yes you can also join our Community, It's in Discord, link is there in the README, Thanks!

authors: Xunzhuo abhisheknaiidu


text:
[Model Enhancement]: Sentiment Analysis Model using DL

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Project Title : Enhacing Sentiment Analysis Model
:red_circle: Aim : Using BERT and roberta-based  models to improve metrics
:red_circle: Dataset :(an existing repository)https://github.com/abhisheks008/DL-Simplified/tree/main/Sentiment Analysis Model
:red_circle: Approach :Use NLTK for text preprocessing  Implement BERT model  Implement a roberta-base model ffor sentiment analysis

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name : Nour Gaboussa
GitHub Profile Link : https://github.com/nour-gab
Email ID : gaboussanour123@gmail.com
Participant ID (if applicable): discord:nour_g
Approach for this Project : I will implement several Encoder models to enhance performance in setiment analysis
What is your participant role?Gssoc'24 Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Hi @nour-gab nice to have you here. Assigned to you @nour-gab
Make sure you do not remove the existing project files. Use the same dataset, same .ipynb file and make your enhancement there itself.

hey @abhisheks008 i thought of adding a new .ipynb file in the model folders where i will use a bert model on the same dataset

Cool go ahead @nour-gab

Hello I am a GsSOC'24 contributor and I would like to work on this issue. Can you please assign it to me?

Full name : sagar kumar sahu.
GitHub Profile Link : https://github.com/sagar27sahu
Email ID : sagar2004sahu01@gmail.com
Participant ID (if applicable): null
Approach for this Project : I will implement ANN and CNN for  sentiment analysis
What is your participant role?Gssoc'24 Contributor
please assign the task to me.

Full name : sagar kumar sahu. GitHub Profile Link : https://github.com/sagar27sahu Email ID : sagar2004sahu01@gmail.com Participant ID (if applicable): null Approach for this Project : I will implement ANN and CNN for sentiment analysis What is your participant role?Gssoc'24 Contributor please assign the task to me.

As mentioned in this issue, this is an enhancement work of an existing project. BERT and roberta models need to be implemented along with the existing models.
Can you please confirm with this approach?

Yes, I can do it.

Assigning this issue to you @sagar27sahu


text:
Binary search in Java

Algorithm and code of Binary search

The algorithm for Binary search is quiet easy .Here it is:
public int runBinarySearchIteratively(
int[] sortedArray, int key, int low, int high) {
int index = Integer.MAX_VALUE;
while (low <= high) {
    int mid = low  + ((high - low) / 2);
    if (sortedArray[mid] < key) {
        low = mid + 1;
    } else if (sortedArray[mid] > key) {
        high = mid - 1;
    } else if (sortedArray[mid] == key) {
        index = mid;
        break;
    }
}
return index;

}
Now if we implement the above algorithm into a code, that will be:
BinarySearch_Java.docx


text:
why result code is empty

why result code is empty
the front websocket result ： {"type":"setCode","value":""}
and py ：
completion = await stream_openai_response
completion  is empty

Hi, we'll need more information to debug this.

Can you share your backend logs?
Does this happen for one image or all images?

thanks,  this is logs file and image demo
messages_20240408_171908.json

I also encountered the same problem as you, I used a proxy address.
If you are using a proxy address, try adding '/v1' after the address, for example: https://www.xxxxx.xxx/v1

@freshgeek I'm looking for logs from the Python backend server to help you fix the problem.

same problem, I used a proxy address too,result code is empty.

@Srpihot logs would be helpful to debug.

I also encountered the same problem as you, I used a proxy address. If you are using a proxy address, try adding '/v1' after the address, for example: https://www.xxxxx.xxx/v1
this is useful for me 。

authors: Srpihot abi freshgeek it-tin

repo: abi/screenshot-to-code


text:
🛑 Kab. Sambas is down

In c98b197, Kab. Sambas (https://sambas.go.id) was down:

HTTP code: 500
Response time: 8498 ms

Resolved: Kab. Sambas is back up in dc9c291 after 33 minutes.

repo: abimanyu/Kalbarnetworks


text:
🛑 RSUD dr. Soedarso is down

In 0d3097c, RSUD dr. Soedarso (https://rsuddrsoedarso.kalbarprov.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RSUD dr. Soedarso is back up in cd850b6 after 2 hours, 35 minutes.


text:
Temporary fix: check import_package before writing

This pull request tries to fix invalid import path: "" (related issues: #222 #220 )
I've noticed this behavior recently in my build pipline and tried caddyplug package alone: it fails for the first one or two times and works all the following try.
I've checked the source code, but found nothing could result this behavior, so I decide to make this temporary fix, hope this will work for everyone else.

Just FYI, this didn't work for me. Fails in the same way that master does.
    plugins="git,cors,realip,expires,cache,googlecloud" \
    github.com/abiosoft/caddy-docker.git#pull/223/head

...

can't load package: package caddy:
cors.go:2:10: invalid import path: ""
error at 'building caddy'
The command '/bin/sh -c VERSION=${version} PLUGINS=${plugins} ENABLE_TELEMETRY=${enable_telemetry} /bin/sh /usr/bin/builder.sh' returned a non-zero code: 1

@gabegundy you have to rebuild abiosoft/caddy:builder first, the builder.sh is bundled inside it.

Hello, can you make an advice please
is there a way to use your pull in DockerFile?
process wrapper
RUN go get -v github.com/abiosoft/parent
As i understand builder.sh is downloading here
but how can be downloaded your pull instead?

@jffin just replace builder.sh for the abiosoft/caddy:builder, if you are using the default dockerfile in this repo
#
# Builder
#
FROM abiosoft/caddy:builder

# add this line before you run `/bin/sh /usr/bin/builder.sh`
ADD https://raw.githubusercontent.com/jeffreystoke/caddy-docker/master/builder/builder.sh /usr/bin/builder.sh

# ...

#
# Final stage
#
FROM alpine:3.10

# ...

it works
thanks a lot

@tobiasmuehl that could happen since there is no limit to the retry, can you make sure your plugin is properly annotated with package here: https://github.com/caddyserver/caddy/blob/96579b97f687c95aeb85f09029d48122d84c668e/caddyhttp/httpserver/plugin.go#L626
Note: change the file version to match yours.

@jeffreystoke That explains it, the redis plugin is missing from the list. Using the build service from caddyserver.com for now but would prefer to self-build.

Redis is a clustering plugin so it probably belongs somewhere else, not in directives.
// directives is the list of all directives known to exist for the
// http server type, including non-standard (3rd-party) directives.

@tobiasmuehl I see that now. Thanks. I reworked the build to be muti-stage (seems cleaner anyway) and it works great. Thanks.

Unfortunately it doesn't seem to work anymore. I just tried it with the Dockerfile snippet and didn't have any luck.

@tobiasmuehl that could happen since there is no limit to the retry, can you make sure your plugin is properly annotated with package here: https://github.com/caddyserver/caddy/blob/96579b97f687c95aeb85f09029d48122d84c668e/caddyhttp/httpserver/plugin.go#L626
Note: change the file version to match yours.

Redis is a clustering plugin so it probably belongs somewhere else, not in directives.
// directives is the list of all directives known to exist for the
// http server type, including non-standard (3rd-party) directives.

Hi,
I am also running into the same issue. Can you please elaborate on the steps that you followed?

Anyone managed to solve?

@sparampalli I'm not self building, using the commercial installer provided. Here's my dockerfile:
FROM alpine

RUN apk update && apk add bash curl
RUN curl https://getcaddy.com | bash -s personal redis
ADD Caddyfile /etc/Caddyfile
ENTRYPOINT ["caddy"]
CMD ["--conf", "/etc/Caddyfile", "--agree=true"]

Someone managed to solve this problem.
I can't build.
I've tried using the script above but it freezes when loading the plugins.
It only works with the "cloudflare" plugin, but I need to include other plugins.
Does anyone find a solution to this error?

@oslah212 i found no way. I solved it bundling the pre-compiled Caddy executable in the docker container. Dirty fix but needed.

hi @Guglio95 . How can I solve it this way? My goal is to use it with some additional plugins.

When I want to use plugin namesilo, i build caddy in this way. Hope it would help.

FROM abiosoft/caddy:builder as builder1
ARG version="1.0.3"
ARG plugins="namesilo"
process wrapper
RUN go get -v github.com/abiosoft/parent
RUN VERSION=${version} PLUGINS=${plugins} ENABLE_TELEMETRY=false /bin/sh /usr/bin/builder.sh

@oslah212 you should get the Caddy v1 binary, or compile it by yourself if you need additional plugins.
Then you should create a docker container bundling in it the compiled executable.
This is a bad trick, but I needed to get it working; then I migrated to Caddy v2 :smile:
FROM alpine:3.10

ADD caddy /usr/bin/caddy
COPY Caddyfile /etc/Caddyfile

VOLUME /root/.caddy
VOLUME /var/log

ENTRYPOINT ["/bin/sh"]
CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout", "--agree=false"]

authors: Alex-coffen Guglio95 SimJoSt gabegundy jeffreystoke jffin oslah212 sparampalli tobiasmuehl

repo: abiosoft/caddy-docker


text:
Rationale for custom allocator?

I can see this project was written a while ago, I wonder if the go garbage collector matured enough since then that this code is no longer necessary.
I wonder what the authors opinions on that are.

This should be relatively easy to test. Without it there was a very substantial problem with memory consumption and a (probably related) issue with performance simply running the tests. Feel free to rip it out and try without. I don't believe it's necessary for the cgo stuff.

authors: abligh andrewchambers

repo: abligh/gonbdserver


text:
Consider not holding references to children objects

Right now, this causes a crash:
var channel: ARTChannel
{
    var rest = ARTRest(key: "...")
    channel = rest.channels.get("foo")
    // rest is deallocated here, since channel only holds a weak ref to it,
    // so its refcount = 0 when the rest var goes out of scope
}
channel.publish(...) // crash here; channel's internal reference to rest is nil!

Or just:
ARTRest(key: "...").channels/* rest deallocated at this point */.get("foo")/* crash here */.publish(...)

This is because we're following the pattern of parents creating instances of children, usually at startup (e. g. rest.channels, rest.auth, realtime.connection...), and those children having the parent as a dependency, so they refernce the parent too. To avoid a reference-count cycle that would memory leak, we (correctly) reference the parent objects weakly, ie. not incrementing their reference counts. The problem is that this weak reference can in fact outlive the strong one it copies from.
Instead of using weak refs, we can just not have references from parents to children, and instead allocate new instances each time they're asked for, in the getter. The children would then keep strong references to their parents, and then follow the behavior you'd expect from a GCd language.
Any state children "singleton" objects may have can be stored in the parent instead. For a non-trivial example, realtime.channels needs to store its channels somewhere so that you get the same ones, with the same state and everything, in each realtime.channels instance. So it should store them in realtime.

To avoid a reference-count cycle that would memory leak, we (correctly) reference the parent objects weakly, ie. not incrementing their reference counts.

I don't follow.  Why do we have a weak reference from a Channel to the Rest/Realtime Client when as far as I can tell, it depends on it?

@mattheworiordan They depend on each other. The channel depends on REST/Realtime and REST/Realtime depends on the channel (indirectly, through the .channels collection).
In a typical GCd language you can just model this with a straightforward reference cycle. But in iOS there's no GC but Automatic Reference Counting, in which cycles like this necessarily cause leak. So you mark one of the references as weak (ie. it doesn't increase the reference count of the referee) and then enforce the invariant that children must not outlive their parents (ie. when the parent's ref count reaches 0 and is deallocated, the children must not be reachable).
I'm arguing that we're not really enforcing this invariant, since users can hold references to children (channels, rest.auth, etc.) directly (and we want them to!). So we should model these dependency cycles in some other way (I argue, by not having parents depend on long-lived children, but create them each time they're needed, and holding their state for them).

Well, I don't see the point when we can just not have an error.
I've thought a bit more about this and I might have a better solution. Instead of children depending on the parent, and the parent holding up to all their state, which is kind of cumbersome, have a "inner" parent object, and have the client object be just a collection-like for its children, which wouldn't depend on it, but on the parent object.
So currently we have this:

----- = strong reference
- - - = weak reference

+------------+              +-------------------+
|  Realtime  |   channels   | Channel           |
|            |------------->| .state            |
| websocket  |              | .name             |
| queues     |              | (listeners, etc.) |
| conn state |< - - - - - - |                   |
+------------+              +-------------------+

And I proposed this (roughly):
+-----------------------+              +--------------------+
|  Realtime             |              | Channel            |
|                       |<-------------| (stateless proxy   |
| +-------------------+ |              | object for private |
| | Channel (private) | |              | channel)           |
| | .state            |<---------------|                    |
| | .name             | |              |                    |
| | (listeners, etc.) | |              +--------------------+
| +-------------------+ |
| ... other private     |
| channels ...          |
+-----------------------|

But I think this would be probably easier to refactor to, and also less verbose and more efficient:
+------------+              +-------------------+
|  Realtime  |   channels   | Channel           |
|            |------------->| .state            |
|            |              | .name             |
|            |              | (listeners, etc.) |
|            |              |                   |
+------------+              +-------------------+
      |                              |
      |                              |
      |       +------------+         |
      |       | websocket  |         |
      +------>| queues     |<--------+
              | conn state |
              +------------+

Ok, so just to be clear then:

If a reference to the client/connection was lost (for the dev consuming this API), they would have no means to access the object again as it's not exposed from the Channel object or any of it's children.
So long as a ref to Realtime / Channel is kept, the reference counters will prevent them being disposed.  However, as soon the Realtime & Channel refs are both gone, Realtime & Channel should be disposed right?  I assume that's because the ref count for Realtime would be zero, which means it would be disposed of, which in turn would leave all the Channel objects with zero references meaning they too are disposed, finally leaving the WS / connection state with zero references too?

That sounds sensible but worried about how much work this is for a problem we know could affect customers, but at present has not been reported?

If a reference to the client/connection was lost (for the dev consuming this API), they would have no means to access the object again as it's not exposed from the Channel object or any of it's children.

Right. This is less of a corner case for REST, I think, since it's stateless. You can make one-off instances of REST and just take a channel, for example.

So long as a ref to Realtime / Channel is kept, the reference counters will prevent them being disposed. However, as soon the Realtime & Channel refs are both gone, Realtime & Channel should be disposed right? I assume that's because the ref count for Realtime would be zero, which means it would be disposed of, which in turn would leave all the Channel objects with zero references meaning they too are disposed, finally leaving the WS / connection state with zero references too?

Yes, just as in any normal GCd language as long as there are no reference cycles.

That sounds sensible but worried about how much work this is for a problem we know could affect customers, but at present has not been reported?

Sure, it's not a terribly critical issue. But since the code is going to go through a major review for thread-safety anyway, this could sneak at the same time.

Right. This is less of a corner case for REST, I think, since it's stateless. You can make one-off instances of REST and just take a channel, for example.

Sure, but it would feel odd to have two different models.  Additionally, it's not completely stateless. For example a channel is instances with options which affect how it decrypts messages.

Sure, it's not a terribly critical issue. But since the code is going to go through a major review for thread-safety anyway, this could sneak at the same time.

Ok, how's that going?

@mattheworiordan I think this has been addressed here. Right?

@funkyboy to be honest I don't know without reading all the work done in https://github.com/ably/ably-ios/pull/620.  If you think it's addressed, then do close this.

Closing this as I'm finally addressing this problem as part of the solution for #879. Discussion follows there.

authors: mattheworiordan tcard

repo: ably/ably-ios


text:
Add sensor for moving state

Just moved to using the home assistant Integration for my Idasen desk instead of https://github.com/j5lien/esphome-idasen-desk-controller. I miss the sensors that came with the other project, allowing me to monitor if the desk was being controlled by the physical lever, and then I could add an automation from that that would allow me to convert a double press to set a certain position. (e.g. double press up sets auto changes the desk to stand height etc.)
Is it possible to add a similar sensor to this? Either precise desk height or moving state.

Desk height is already available, it is part of the state of cover entity in HA.

Yeah I get that it's available as a percentage there, but it's not as exact as I could get from the other project - basically meaning if I just tap the manual lever, I can't tell with home assistant if it has been tapped or not. With either an exact height, or a "moving/not moving" state sensor.

Oh, I see! That is really interesting use case. I'll add it to the TODO list!
Thanks!

Thanks mate for the swift responses. It's handy to quickly select "sit" or "stand" height with the normal lever (although a little hacky).. Looking forward to it if you get round to it.

Desk height is already available

Would it be possible to expose it as absolute height (in centimeters or meters) through HA? Or is there a technical limitation for using percent?

Desk height is already available

Would it be possible to expose it as absolute height (in centimeters or meters) through HA? Or is there a technical limitation for using percent?

It is possible, but since you already have the percentage, what would be the use case for having it in meters?

Thanks, there's no specific use case, I just thought it would be more intuitive. Maybe I'm too used to the Linak control software (which displays centimeters) 😄

Hey. I've added support for the height in meters. It is currently approved and just missing the docs: https://github.com/home-assistant/core/pull/103324
I will most likely not be able to work on that on the next days. Anyone wants to help with that? :)

authors: abmantis protyposis redtigre

repo: abmantis/idasen-ha


text:
Abseil is conflict with tcmalloc

If I link abseil and tcmalloc together in my program,  It will shutdown and say "Check failed: MallocHook::RemoveNewHook(&InitialNewHook):". But if I use abseil only or tcmalloc only, It will run OK， so I think abseil is conflicted with tcmalloc.

I put absl after tcmalloc, and it works, I don't know if there are any hiddlen problem.

Didn't have a chance to take a look at this today, but I'll investigate tomorrow. Thanks for your patience!

@tjb1216 - are you using Bazel to build your project? gperftools doesn't provide a Bazel BUILD file, so if you have one that works, I'd like to borrow it rather than spend time reinventing the wheel.

@ahedberg - You shouldn't need a BUILD file to reproduce this.  You can compile gperftools separately and then link against it.  Ping me if you need more details.

Thanks @derekmauro - finally figured out where my built-from-source libtcmalloc.so was hiding.
Current theory (assuming use of LD_PRELOAD to use tcmalloc instead of the system malloc):

Calls to MallocHook::InitialNewHook are using the Abseil implementation.
The failing call to MallocHook::RemoveNewHook(&InitialNewHook) is using the tcmalloc/gperftools implementation.
This means means that there are two HookList<MallocHook::NewHook> objects in any program - one for Abseil (where things get added), and one for tcmalloc.
So there's nothing to remove from the tcmalloc HookList in RemoveNewHook, which causes the check failure (because HookList<MallocHook::NewHook>::Remove returns false).

We think this might have something to do with both Abseil and tcmalloc overriding mmap, but I need to investigate further.

@derekmauro and I figured out that the extern "C" parts of MallocHook and MallocExtension are in conflict between tcmalloc and absl, as they have the same names. I'm working on a fix.

Apologies for the silence here. We're still discussing how best to fix this internally. Rest assured we haven't forgotten about this.

This has been fixed. Please let us know if you're experiencing additional issues using tcmalloc with Abseil.

authors: ahedberg derekmauro tjb1216

repo: abseil/abseil-cpp


text:
Feature: Add script for renaming files

This PR adds a little Ruby script named bin/rename-files which gets called in bin/setup.
It will assume the name of the current directory to be the project name and do the search/replace for the differently cased project names mentioned in the README on every file known to git.
In a quick'n'dirty fashion I monkey-patched String with some case logic from Rails. 👍
Not sure where to test this 🤔

$ time bin/rename-files

real    0m0.281s
user    0m0.120s
sys     0m0.129s

Associated task:
https://app.asana.com/0/1142794766483633/1199360272751221/f

Was it such a pain to search and replace in the project that we needed a script for it? Seems like we'll need to start quite a few projects to make up for the time invested in this.

I'm finalizing this PR and merging it to get it out of the way.

I've fixed some issues with this and merged it.
We can implement feedback later if necessary.

authors: bohme jeppester prrrnd

repo: abtion/muffi

license: Unlicense


text:
user image url fix

Needed a correct url to show user image properly.
Thanks for such a awesome project 👍

Thanks @gdbhosale!

authors: acacha gdbhosale

repo: acacha/adminlte-laravel


text:
fix(*): add netlify.toml to show storybook build in netlify - #356

Signed-off-by: lenvi lenvin@oykuapp.com
Issue #356
Added netlify.toml to initialize a Netlify build for the Storybook demo
Changes

Created a new configuration file netlify.toml

for production, that is the demo build. Storybook will be build
for pull/merge request previews, the pervious demo build will be used.
added nothing for the development environment.
added a redirect rule, regardless of any path will be redirected to the main page.

Now Netlify will show the storybook build.
Preview from my fork is available here

Flags

Netlify should be pointed towards the development branch to see changes.
Please let me know if it is breaking anything else (like npm publish)
I'm not sure about its behavior in pull/merge requests.
Resources referred:

Netlify's guide on setting up the toml file
Common configurations for other apps

Related Issues

Issue #356

This is great! A few thoughts, because I think this will need to be put on hold:

Now Netlify will show the storybook build.

I think this is what we will want to do once the Storybook build is accomplishing at least what the current demo build does - we want to see changes implemented in the PR. At least that's what I understood, @DianaLease thoughts?

Netlify should be pointed towards the development branch to see changes.

We will be switching back to master and getting rid of development (see recent Slack discussions for this)

@irmerk, I agree with you on keeping this on hold until the Storybook build is satisfactory. Do you want the changes in Storybook to be done in this PR? I'd love to work on Storybook(I'm not familiar with it, but I can learn).

Netlify should be pointed towards the development branch to see changes.
The reason why I mentioned this is because the storybook related commits are in the development branch, the script will work fine with the master branch provided the Storybook related changes are in the master branch.

I believe @sanyamdogra and @elit-altum were working on this, need to check with them on what the status is there.
Unsure about the branches, it's getting too complicated and will be easier to handle when we revert back to master and get rid of development

Any update on this @98lenvi?

@irmerk, It looks like #315 hasn't seen any progress from where it was. Can I continue on that?

Sure thing @98lenvi, comment in #315 and I'll assign it.

@98lenvi this can be closed because #382 is merged, correct?

Yes, @irmerk. I'm closing this pull request. Thank you!

repo: accordproject/cicero-ui


text:
Added thumbs.db to .gitignore

Changes
thumbs.db is a windows directory cache file which sometimes gets pushed to repos, comes in commits, and can trouble other users. Now windows users can send PRs without having to worry about thumbs.db.

I'm not familiar with this, can you provide more context or links to relevant info?

@irmerk thumbs.db is like the windows version of .DS_Store. It is unnecessary and should never be merged.

You'll want to add a DCO (Developers Certificate of Originality) per the instructions:

Ensure you provide a DCO sign-off for your commits using the -s option of git commit. For more information see how this works.

@irmerk done

Waiting for review from others, I'm not that familiar with thumbs.db.

authors: irmerk sidhyatikku

repo: accordproject/template-studio


text:
fix(css): remove scrollbar

Removed a useless scrollbar by reducing the entire container's bottom margin.

The extra padding below the ui fluid container creates a scrollbar that isn't necessary and screws with the github banner.

The extra margin below the ui fluid container creates a scrollbar that isn't necessary and screws with the github banner.

I'm not able to reproduce this (I've tried on Chrome and Safari). Could you please open an issue first?

#128

@jeromesimeon was there actually a use for that font-family: Menlo line? why was it there in the first place?

@jeromesimeon was there actually a use for that font-family: Menlo line? why was it there in the first place?

A bit of investigation on this: Menlo is a nice monospace font but does not seem to be supported on Windows. The bug is actually that when not found, the CSS does not provide a proper alternative.
Removing it makes it look significantly less nice on MacOS, so it would be worth fixing by providing a windows friendly alternate (maybe along those lines: https://stackoverflow.com/questions/8187640/can-css-be-used-for-alternate-fonts)

oops, I thought that Menlo was just that serif font for some reason
i added monospace instead of Courier because Courier was a little too thin.

oops, I thought that Menlo was just that serif font for some reason
i added monospace instead of Courier because Courier was a little too thin.

I think that's great. It seems to work for me on the netlify preview. How about adding Consolas to that list, after Menlo? https://www.cssfontstack.com/Consolas

wow, consolas is far better than monospace. never knew it existed


text:
fix(Attestation): Fix attestation from rootless pods

This PR contains the following changes:

Updated attestation logic for rootless containers

@vishnusomank @seswarrajan can we merge it?

repo: accuknox/spire


text:
add citation block generated from TEI metadata to all content types

[ ] define structure of citation > @VeronikaEngler could you maybe propose a template?
[ ] implement as component

Veronika and  I would propose a structure like this:
Ritt-Benmimoun, Veronika (ed.) 2024. TUNOCENT- Tunisia’s Linguistic terra incognita: An Investigation into the Arabic Varieties of Northwestern and Central Tunisia. (Available online at https://tunocent-5b7ead81-4e64-4879-83de-7120e271b4f4.acdh-ch-dev.oeaw.ac.at/?w=W10=&a=smart-tile, Accessed on 2024-09-11.)
for the website in general and a structure like these:
Schwemmer, Franziska. 2024. "Profile of Redeyef Arabic". In: Ritt-Benmimoun, Veronika (ed.) 2024. TUNOCENT- Tunisia’s Linguistic terra incognita: An Investigation into the Arabic Varieties of Northwestern and Central Tunisia. (Available online at https://tunocent-5b7ead81-4e64-4879-83de-7120e271b4f4.acdh-ch-dev.oeaw.ac.at/?w=W10=&a=smart-tile, Accessed on 2024-09-11.)
or
Aloui, Nidhal; Naddari, Aleksandra & Ritt-Benmimoun, Veronika. 2024. "A Sample of Gboullat Arabic". In: Ritt-Benmimoun, Veronika (ed.) 2024. TUNOCENT- Tunisia’s Linguistic terra incognita: An Investigation into the Arabic Varieties of Northwestern and Central Tunisia. (Available online at https://tunocent-5b7ead81-4e64-4879-83de-7120e271b4f4.acdh-ch-dev.oeaw.ac.at/?w=W10=&a=smart-tile, Accessed on 2024-09-11.)
or
Ercegovčević, Aleksandra & Ritt-Benmimoun, Veronika. 2024. "Linguistic Features of Bou Saada Arabic". In: Ritt-Benmimoun, Veronika (ed.) 2024. TUNOCENT- Tunisia’s Linguistic terra incognita: An Investigation into the Arabic Varieties of Northwestern and Central Tunisia. (Available online at https://tunocent-5b7ead81-4e64-4879-83de-7120e271b4f4.acdh-ch-dev.oeaw.ac.at/?w=W10=&a=smart-tile, Accessed on 2024-09-11.)
for specific parts/contributions.

@VeronikaEngler is this format following a certain style guide you remember? in that case, we could nicely use an existing plugin to citation.js for example.

MLA is pretty close for example:
https://owl.purdue.edu/owl/research_and_citation/mla_style/mla_formatting_and_style_guide/mla_formatting_and_style_guide.html

https://citation.js.org/

authors: MauPalantir VeronikaEngler dasch124


text:
Add a Getting Help section to somewhere

Like how Redux do, we might need a Getting Help section to encourage people to ask questions on StackOverflow. We can either create a CONTRIBUTING page or just append it to the README.
How do you think?
cc @istarkov @acdlite

I've created a PR for this issue #260.

repo: acdlite/recompose


text:
🛑 AceBlock Swagger UI is down

In 7a16dfa, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in b9c62ba.

repo: aceblockID/monitoring


text:
🛑 AceBlock Swagger UI is down

In 9cb9b32, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in 5801498.


text:
🛑 AceBlock Swagger UI is down

In cab3013, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in bcc55d4.


text:
🛑 AceBlock Swagger UI is down

In 543c603, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in 3455068.


text:
Task 16. MinGQL Interpreter

Задача 16. Интерпретатор языка запросов к графам

Мягкий дедлайн: 29.12.2021, 23:59
Жёсткий дедлайн: <день консультации перед экзаменом>, 23:59
Полный балл: 20

Задача
В данной задаче необходимо разработать интерпретатор языка запросов согласно спецификации, разработанной в работе 13. Интерпретатор должен быть консольной утилитой и принимать на вход файл, исполнять его, сообщать в консоль о статусе исполнения (завершилось успешно, завершилось с ошибкой). Обратите внимание, что для "публикации" результатов вычислений в языке предусмотрена функция print. Также обратите внимание на адекватность сообщений об исключительных ситуациях (некорректный вход, проблемы с типизацией и т.д.)
Так как интерпретатор --- достаточно сложный проект, для него необходима документация. Частью документации будет спецификация языка из работы 13. Дополнительно необходимо задокументировать особенности системы типов, используемые алгоритмы запросов.
Прежде чем писать код, продумайте его архитектуру. Предусмотрите возможности для тестирования отдельных функций, отдельной функциональности (скажем, тестирование системы типов).

[x] Разработать и описать (в документации) механизм вывода или проверки типов, гарантирующий корректность построения запросов (в частности, что не строится пересечение двух контекстно-свободных языков, или что состояния автоматов задаются значениями допустимых типов).

Типизация должна быть строгой.
Типизация может быть как статической, так и динамической.
Можно использовать как вывод типов, так и проверку типов.
Работа системы типов должна соответствовать правилам, указанным в постановке задачи 13 и в вашем её решении (возможны тонкости с частями, абстрактный синтаксис для которых требовалось придумать самостоятельно).
Постарайтесь сделать сообщения об ошибках максимально дружественными к пользователю.

[x] Из множества реализованных в предыдущих работах алгоритмов выполнения запросов к графам выбрать те, которые будут использоваться в интерпретаторе. Обосновать свой выбор (зафиксировать в документации).
[x] Используя парсер из работы 14, разработанную систему вывода или проверки типов, выбранные алгоритмы, реализовать интерпретатор языка, описанного в работе 13.

Хотя конечное решение и должно быть консольной утилитой, предусмотрите возможности для тестирования. Например, сделайте так, чтобы вход можно было получить из строки и, например, "перехватить" результаты вычислений для их проверки в тестах.
Проследите за адекватностью сообщений об ошибках.
Постарайтесь максимально использовать возможности ANTLR по работе с деревом разбора.

[x] Добавить необходимые тесты. Тут, как и с парсером, тестов много не бывает. И, как и с парсером, они должны быть атомарными. При этом и на сложных входах надо не забыть протестировать.

Описание интерпретатора находится здесь: interpreter_spec.md

repo: achains/formal-lang-course


text:
Crash on pressing "cc" in query window

bug description
When I type "cc" in the query window, rainfrog crashes.
technical details
system info

Ubuntu 20.04, kernel 5.4.0-181-generic
rainfrog 0.2.0-VERGEN_IDEMPOTENT_OUTPUT (2024-09-17)

crash logs
name = "rainfrog"
operating_system = "Ubuntu 20.4.0 (focal) [64-bit]"
crate_version = "0.2.0"
explanation = """
Panic occurred in file '/home/mmior/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rainfrog-0.2.0/src/vim.rs' at line 344
"""
cause = 'called Result::unwrap() on an Err value: Unknown { .. } - "Unknown error while interacting with the clipboard: X11 server connection timed out because it was unreachable"'
method = "Panic"
backtrace = """
0: 0x556eb246eddb - rainfrog::components::editor::Editor::transition_vim_state::h3d20a324e016faeb
1: 0x556eb2469670 - <rainfrog::components::editor::Editor as rainfrog::components::Component>::handle_events::h8f0e2253b14231bc
2: 0x556eb25372c3 - rainfrog::app::App::run::{{closure}}::he0d0e37f1050d599
3: 0x556eb2527cb5 - tokio::runtime::runtime::Runtime::block_on::h7a11a1e1f1e03fdf
4: 0x556eb24f508f - rainfrog::main::h95949b0ba75cec25
5: 0x556eb259d463 - std::sys::backtrace::__rust_begin_short_backtrace::h0cf30c58468529e8
6: 0x556eb24f4ca2 - main
7: 0x7f649a4aa083 - __libc_start_main
at /build/glibc-LcI20x/glibc-2.31/csu/../csu/libc-start.c:308
8: 0x556eb2255fee - _start
9:        0x0 - """

### steps to reproduce
Steps to reproduce the behavior. If possible, include the preceding query with sensitive information removed:
1. Press Alt+2 to go to the query window
2. Press cc

thanks for reporting; looks like it might be an issue with the clipboard manager: https://github.com/1Password/arboard/issues/153
will investigate

i was able to reproduce in a vm; it looks like extending the timeout for creating the Clipboard instance might help (https://github.com/1Password/arboard/pull/147), so i will try that later to see if that's the issue or if there's a different root cause
in the meantime, i have a pr to fallback to using the textarea's buffer instead of panicking: https://github.com/achristmascarl/rainfrog/pull/81

@achristmascarl Thanks! Confirmed that PR prevents the panic on my machine.

great! i'll close this for now, and continue tracking the X11 clipboard timeout here: https://github.com/achristmascarl/rainfrog/issues/83

authors: achristmascarl michaelmior

repo: achristmascarl/rainfrog


text:
feat: work with languages besides English

use strong locators, solve #1
was tested with English, Italian, Russian. Will work with another languages

@flybayer , pls help with it)

Thanks!

authors: akaguny flybayer

repo: acorn/twitter-bookmarks-search