text:
dialogWrapContent option is not working with custom views

Please consider making a Pull Request if you are capable of doing so.
Library Version:
2.x.x
Affected Device(s):
Google Pixel 3 XL with Android 9.0
Describe the Bug:
A clear description of what is the bug is.
To Reproduce:
1.
2.
3.
Expected Behavior:
A clear description of what you expected to happen.
This is my use
MaterialDialog(context!!).show {
                customView(R.layout._loading_layout_loading,dialogWrapContent = true)
                cornerRadius(6f)
                cancelOnTouchOutside(false)

            }

but "dialogWrapContent = true" is not working, I hope the dialog would wrap the content width.

There's not quite enough information here to know what's not working.
Can you upload a screenshot? What does your layout look like?

This is screenshot

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/space_10"
    android:layout_gravity="center"
    android:text="加载中..."
    android:textColor="#999999"
    android:textSize="15sp"/>

This is my layout

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/space_10"
    android:layout_gravity="center"
    android:text="加载中..."
    android:textColor="#999999"
    android:textSize="15sp"/>

This is my layout

`

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/space_10"
    android:layout_gravity="center"
    android:text="加载中..."
    android:textColor="#999999"
    android:textSize="15sp"/>

`

This is my layout

There's not quite enough information here to know what's not working.
Can you upload a screenshot? What does your layout look like?

I have upload screenshot and layout, is that a bug or I not used correctly?

It happens to me too
Library-Version: 3.1.0
Affected Device(s): Galaxy S10 5G, with Android 9.0

Same problem at my project: can't wrap content width.
Library-Version: 3.1.0
Device: Galaxy S10, Android 10

Library-Version: core:3.1.1
Device: 10.1" WXGA (Tablet) Emulator using API 28
Note: App is being developed solely for the 1280*800 screen resolution
CustomView:

CustomView XML:

Material Dialog Usage:

Material Dialog before MaxWidth:

Material Dialog after Max Width:

Had a similar issue and it turns out that setting the MaxWidth worked out for me.

As a workaround, you could do overwrite onMeasure of your customView:
class MyView(...) : View {
    override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
        // overwrite spec mode from parent, so we can actually have width WRAP_CONTENT
        val width = MeasureSpec.getSize(widthMeasureSpec)
        val widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST)
        super.onMeasure(widthSpec, heightMeasureSpec)
    }
}

And create the dialog as before, e.g.:
MaterialDialog(context).show {
    customView(view = MyView(context), dialogWrapContent = true)
}

add"scrollable = true" can solve this problem
dialog = MaterialDialog(this, ModalDialog).show {
            cancelOnTouchOutside(false)
            cancelable(false)
            cornerRadius(16f)
            customView(R.layout.layout_loading_view,
                horizontalPadding = true,
                scrollable = true,
                dialogWrapContent = true)
        }

authors: MoonWolf125 abenartz afollestad haluzpav leitana sjqnice ykc415


text:
Automatically add Application Shortcuts

Automatically add Shortcuts from /run/current-system/sw/share/applications to start menu on each install / update.
Requires #1

At some point we might filter certain shortcuts without icons (nixos-manual).
Custom shortcuts will be realized via a nixos module

source: gharchive/issue

repo: aformatik/nixos-devenv

license: MIT

license_type: permissive

license_source: github-api


text:
macOS 10.14.1 百度网盘下载错误

错误描述
百度网盘点击“使用MO下载”按钮后显示“下载成功”，打开MO之后却发现任务显示在“已停止”一栏中并且不可恢复。
如何重现

点击“使用MO下载”
显示“下载成功”
进入MO发现任务显示在“已停止”一栏中并且不可恢复

预期的行为
恢复百度网盘正常下载
截图

运行环境

操作系统类型： macOS
具体版本：macOS 10.14.1
Motrix 版本： 1.33.1
安装包类型：dmg

度盘链接发下
https://www.yuque.com/moapp/help/extensions#ec09647d

如果添加任务出现 SSL/TLS handshake failure: Unspecified error -9847 错误，检查一下系统的 DNS 是不是 223.5.5.5 或 223.6.6.6，换成 114.114.114.114 试试

Motrix 新版本 v1.4.x 不再校验服务器的 SSL 证书有效性，建议更新到最新版
https://github.com/agalwood/Motrix/releases

authors: agalwood suleymanqian

repo: agalwood/Motrix


text:
Language selection for members

Save the preferred language (english or german) of a logged in user. This value can be used in multiple ways:

automatic language selection after login
mails to the user can contain just one language
letters (printed!) can contain just one language

If this feature is considered to be implemented, i can add the necessary storage functionality in the netusers database.

What about cookies?

@sebschrader n1, but i had the current letters to Zeunerstraße in mind. We have to supply both languages there, which is not really necessary.
If we want to send more emails to members in the future, this would although come in handy.
In both cases, cookies would just help the dark side (and only sipa).

@lightning1 it took me a while to understand that you meant sipa-external use cases with your last two points.
The question is where you want to store the language. This has to be supported by the corresponding backend, so a schema change would be necessary, wouldn't it?

@lukasjuhrich sorry for that. I think that was sebschraders problem, too.
As mentioned above, i can apply the changes to the backend. I suggest a simple column in the nutzer-tabelle to save "english" or "german" as a preference.

authors: lightning1 lukasjuhrich sebschrader

repo: agdsn/sipa

license: mit

license_source: bigquery


text:
Absolute URLs in flatpages HTML not correctly prefixed

Example:
https://git.agdsn.de/sipa-content/content/-/blob/master/about_us/vorstand.de.md
https://agdsn.de/sipa/pages/about_us/vorstand
In the HTML, the image src is set to /images/vorstand-2020-2021.jpg, while the actual URL for the user is /sipa/images/vorstand-2020-2021.jpg.
This worked in the past, but not anymore. Maybe related to the recent (dependency) changes by @lukasjuhrich?

High prio, because https://agdsn.de/sipa/pages/service/wlan is not working.


text:
🛑 Sécurité UdeS (prod) is down

In e79f648, Sécurité UdeS (prod) (https://www.usherbrooke.ca/smsp/securite) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sécurité UdeS (prod) is back up in 58654bd.


text:
⚠ AGEG website (prod) has degraded performance

In 234b397, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1972 ms

Resolved: AGEG website (prod) performance has improved in 20cec79.


text:
tester

asa

I'm guessing this PR is a mistake.

source: gharchive/pull-request

authors: ageitgey penyadap

repo: ageitgey/amplify


text:
Universal search engine :)

Hello !
I'm trying to do an universal search (search engine) in Cockpit.
First, I tried to use regexp :
find(array('title'=> array('$regex' => $_POST['title'])))->sort(["created"=>"-1"]) as $item): ?>
Here, I can find post like in sql :
select * from post where title like '%$_POST['title']%';
Now, I want to do it case insensive : something like :
select * from post where title like '%$_POST['title']%';
But I failed :( I tried to use regexp for mongo... but it doesn't work.
Can you help me ?
THank you

You would have read :
select * from post where lower(title) like '%lower($_POST['title'])%';

I would approach a search functionality by leveraging a search engine like Apache Solr or Algolia. The contents can be indexed by pushing the contents to the search engine during a "collections.save.after" event.
Resuming I see some space for a custom addon that provides the mechanisms to integrate with such engines.

Exactly :)

Thank you ! I will have a look to this addon. Don't understant how it's work at first sight, but I will dig !

The other approach is to go outside the API entirely and generate the search engine from whatever site is consuming the API. I've got a proof-of-concept project with Algolia here:
https://github.com/ICJIA/algolia-site-indexer
Essentially, this takes a sitemap.xml file for a site (in my case generated with Nuxt.js), parses it, and then one-by-one indexes each url from the site. If it's in the sitemap, it'll get indexed.
I grab key meta items -- title, keywords, description -- and then append a set limit of characters from the URL's main body (by checking whatever class/id attribute is used for the body content). I generate a unique Algolia objectID based on an MD5 hash of the actual URL. That way, I know the objectIDs are unique to each page.
Then I send all the results to the Algolia index.
Finally, I check and see if pages have been deleted since the last indexing. If so, I delete those pages from the Algolia index. (Added pages are automatically included, so I don't need to worry about those.)
In my actual site, I use the Algolia 'vue-instantsearch' tag to display the results.
It works incredibly well. I'm not sure if this is the best way to do it, but for a basic, instant search. this works great!

authors: crealx cschweda pauloamgomes

repo: agentejo/cockpit


text:
Local Machine MVD

Related to agera-edc/MinimumViableDataspace#183
Description
A deployment to Azure that uses Azure resources like KeyVault is provided by agera-edc/MinimumViableDataspace#139, which is a great way to get started with the MVD and deploy it to a cloud environment.
To avoid the requirement to have an Azure subscription for hackathons and to conduct hackathons in a cloud agnostic way, it is required to run the MVD on a local machine.
An approach with Docker images with docker-compose has already been evaluated in #56, which meets the needs for a local machine MVD.
Acceptance Criteria

[ ] The MVD can be run on a local machine based on step-by-step instructions
[ ] A transfer between participants can be performed (contract negotiation and data transfer)
[ ] No additional vendor specific components are required
[ ] Keys are stored on the local file system
[ ] Documentation contains a security warning that keys will not be securely stored, and therefore only temporary keys for development purposes shall be used
[ ] Integration test in CI to validate the local machine MVD

Out of Scope

Deployment to a local cluster, e.g. Minikube

Stories

[ ] agera-edc/MinimumViableDataspace#189
[ ] agera-edc/MinimumViableDataspace#191

Updated after backlog refinement to use a Docker based approach that uses Azurite, which allows to perform a data transfer with Blob storage, without dependency to cloud services.

repo: agera-edc/MinimumViableDataspace


text:
Ionic 2 push notification with Firebase plugin

Is it possible to receive notifications using Ionic Firebase native plugin?
Mixing both plugins result in an android build error

I'm new to all of this. I followed your documentation. Copied and pasted my SENDER_ID into config.xml and app.ts. I ran a --prod build and installed the APK on my Galaxy s7. I went to https://apps.ionic.io > Settings > certificates. I generated the keystore and configured the FCM cloud messaging settings. I then went to push. Generated a push and nothing shows up. Not really sure what to do from here. Thanks for creating this app. It's really helpful.

it's possible.

authors: bsartain menghao93 theunreal


text:
Fixes: #169

Enabled escape sequence because on some systems bash doesn't escape sequences by default.

While using -e flag I've come across a strange behavior. In ubuntu 16-08 running on docker, it outputs "-e" in a new line in config.txt, so perhaps there's no common solution for all linux systems after all.

@memox5 what exact base image have you used?

@agherzan  I've used ubuntu:16.04

Can you see if we can use printf instead of echo

you change is ok but please squash the commits and rebase your branch, so we can get to the final change and forget about the previous iterations.

@memox5 you will probably need a newline if you use printf to maintain the same output as echo.

@agherzan do you mean like printf "\n${{RPI_EXTRA_CONFIG}" for readability?

echo adds a new line at the end of the provided string:
$ echo foo
foo
$ printf foo
$ printf "foo\n"
foo

For example with just a printf command without new lines and the following variable set in local.conf like as stated in the documentation
RPI_EXTRA_CONFIG = ' \n\
    # LetsTrust TPM Module \n\
    dtoverlay=letstrust-tpm \n\
    '

I get two new lines at the end of config.txt and and empty line between the last entry and my custom configuration lines as expected.

you want
printf "%s\n" ....

With an "\n" at the end, on docker I ended up with two new lines after the last line and only one on plain ubuntu. I guess because docker build copies files from windows host, some dos2unix trickery is needed there. That might explain the original problem of \n not treated nicely by echo on docker, but on the other end it's known that some linux systems echo doesn't enable escape by default. So does this fix still make sense for you?

Its ok to change to using printf while echo is simple it can behave different on different shells since its a built-in, however ensure that the change is doing everything that echo was.

The problem was echo on some systems wasn't escaping \n sequence in the variable, printf does. Can we safely assume that in the RPI_EXTRA_CONFIG variable there shouldn't be any unknowingly escaped sequences?

@jenkins-ag ok to test

authors: agherzan kraj memox5

repo: agherzan/meta-raspberrypi


text:
how to record other information by tensorboard in xuance

I'm training a customize mappo environment， now I can visualize the rewards during my training, but I wanna record other information in a dict "self.infos" and can be visualized in tensorboard, self.infos will be returned in the method "step", so how can I realize that?
Thanks

To record additional information returned in the step() method, you can edit on_policy_marl.py by adding the following line after line 427 (version 1.2.3):
step_info["Train-Results/Other-Info"] = {"env-%d" % i: info[i]["Other-Info"]}
This will allow you to capture and log the desired information.

repo: agi-brain/xuance


text:
Failed at the mdns@2.2.11 install script 'node-gyp rebuild'.

root@Wandboard:~# npm install -g homebridge
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge

mdns@2.2.11 install /usr/local/lib/node_modules/homebridge/node_modules/mdns
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.4.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/mdns/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/homebridge/node_modules/mdns/build'
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_sd.cpp:1:
../node_modules/nan/nan.h:602:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:602:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:603:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:608:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:608:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:613:20: error: variable or field ‘AddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:613:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:614:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:619:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:619:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
dns_sd_bindings.target.mk:140: recipe for target 'Release/obj.target/dns_sd_bindings/src/dns_sd.o' failed
make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
make: Leaving directory '/usr/local/lib/node_modules/homebridge/node_modules/mdns/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Linux 3.0.35.8-armhf.com
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge/node_modules/mdns
gyp ERR! node -v v6.4.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
/usr/local/lib
└── (empty)
npm ERR! Linux 3.0.35.8-armhf.com
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebridge"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! mdns@2.2.11 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.2.11 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mdns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs mdns
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls mdns
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /root/npm-debug.log
npm ERR! code 1

install homebridge via npm

mdns@2.2.11 is an old version. The current version works with node 6.4.0. Closing.

authors: TIMSCHMITZ agnat


text:
Unable to click on a view inside a recyclerview viewholder

Steps to reproduce:

Add a screen with a recyclerview
Add a viewholder with a button to the recyclerview
In the tests, go to the screen
Get the first item inside the recyclerview
Click on the button of the first item inside the recyclerview

Observed Results:

Instead of clicking on the button, the test runner clicks on the viewholder itself

Expected Results:

The test runner should click on the button inside the view holder

Relevant Code:
class ScreenA : Screen<ScreenA>() {

    val recycler by lazy {
        KRecyclerView({
            this.withId(R.id.recyclerview)
        }, {
            itemType(::ViewHolder)
        })
    }

    class ViewHolder(parent: Matcher<View>) : KRecyclerItem<ViewHolder>(parent) {
        val title = KView(parent) { withId(R.id.title) }
        val moreOptions = KView { withId(R.id.more)  }
    }
}

Screen.onScreen<ScreenA> {
    recycler.firstChild<ScreenA.ViewHolder> {
        moreOptions.click()
    }
}

Hi!
You forgot to pass parent to your moreOptions view. Here's how it should be declared:
val moreOptions = KView(parent) { withId(R.id.more) }

@lewiemortier let us know please does it solve the issue?

Adding the parent to the view inside the recyclerview item did not work for me. The click is still happening on the middle of the viewholder instead of on the button which is displayed on the bottom right of the viewholder.
Obviously we don't want to pass any coordinates to the click method as those coordinates will differ depending on the device this test is running on

Can you provide your layout then, please?
If espresso clicks at the center of the holder, it believes that the center of the button is at that point as well.

The provided layout looks like this
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto"
        android:contentDescription="@string/search_result_item"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?attr/spListSelectorActivated"
        android:minHeight="@dimen/row_height_72"
        android:paddingBottom="@dimen/padding_medium"
        android:paddingTop="@dimen/padding_medium"
        android:paddingStart="@dimen/padding_medium"
        android:paddingEnd="@dimen/padding_medium"
        tools:background="@android:color/darker_gray">

    <androidx.appcompat.widget.AppCompatImageView
            android:id="@+id/icon"
            android:layout_width="@dimen/content_picker_search_preview"
            android:layout_height="@dimen/content_picker_search_preview"
            android:layout_marginEnd="@dimen/padding_medium"
            android:layout_centerVertical="true"/>

    <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:layout_toEndOf="@id/icon"
            android:layout_toStartOf="@id/ib_more">

        <TextView
                android:id="@+id/title"
                style="@style/SP.Text.Primary"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:maxLines="2"
                android:textSize="16sp"
                android:layout_marginBottom="8dp" />

        <FrameLayout
                android:id="@+id/layout_tags"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:minHeight="20dp"
                android:layout_marginBottom="8dp"/>

        <TextView
                android:id="@+id/id_snippet"
                style="@style/SP.Text.Primary"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:maxLines="2"
                android:ellipsize="end"/>

    </LinearLayout>

    <ImageView
            android:id="@+id/more"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_marginStart="@dimen/padding_medium"
            android:rotation="90"
            app:srcCompat="@drawable/ic_more_vert_white_24dp"/>

</RelativeLayout>

In the UI test we're trying to click on the mroe button.
We've temporarily worked around the issue by using the following code snippet:
fun clickChildViewWithId(id: Int): ViewAction {
        return object : ViewAction {
            override fun getConstraints(): Matcher<View>? {
                return null
            }

            override fun getDescription(): String {
                return "Click on a child view with specified id."
            }

            override fun perform(uiController: UiController, view: View) {
                val v = view.findViewById<ImageView>(id)
                v.performClick()
            }
        }
    }

Hello again!
I don't see any obvious issue with your layout, but I suggest you to debug it with LayoutInspector and check the boundaries of your ImageView.
Your workaround just triggers the click callback and do not simulate the real click from user.

@lewiemortier seems like the middle layout blocking the click event
 <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:layout_toEndOf="@id/icon"
            android:layout_toStartOf="@id/ib_more">
...

If you see the id of android:layout_toStartOf="@id/ib_more" different to the more button id which should be android:id="@+id/more". I dont know if this would work but I think worth to try.

Guys, I am developing news and I have used recyclerview  on Bindviewholder when user clicks item I am starting new activity using intent how can I test that intent using kakao
below my testing class
lass ScreenA : Screen() {
val recycler by lazy {
    KRecyclerView({
        this.withId(R.id.recycler_View)
    }, {
        itemType(::ViewHolder)
    })
}

class ViewHolder(parent: Matcher<View>) : KRecyclerItem<ViewHolder>(parent) {
    val topFlameImageView = KImageView(parent) { withId(R.id.topFlameImageView) }
    val topTitleTextView = KTextView(parent) { withId(R.id.topTitleTextView) }
    val bottomTitleTextView = KTextView(parent) { withId(R.id.bottomTitleTextView) }
    val bigImage = KImageView(parent) { withId(R.id.bigImage) }
    val titleTmageView = KImageView(parent) { withId(R.id.titleImageView) }
    val titleTextView = KTextView(parent) { withId(R.id.bottomTitleTextView) }
    val userAvatarImageView = KImageView(parent) { withId(R.id.userAvatarImageView) }
    val userNameTextView = KTextView(parent) { withId(R.id.userNameTextView) }
    val timestampTextView = KTextView(parent) { withId(R.id.userNameTextView) }
    val imageView = KImageView(parent) { withId(R.id.imageView) }
    val articleTitle = KTextView(parent) { withId(R.id.articleTitle) }
    val imageCategory = KImageView(parent) { withId(R.id.imageCategory) }
    val articleSourceName = KTextView(parent) { withId(R.id.articleSourceName) }
    val articleTime = KTextView(parent) { withId(R.id.articleTime) }
}

//    Screen.onScreen
//    recycler.firstChild<ScreenA.ViewHolder>
//    {
//        topTitleTextView.click()
//    }
}
below DetailActivity.kt
class DetailActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_detail)
    val webView = findViewById<WebView>(R.id.article)

    val toolbar = findViewById<Toolbar>(R.id.toolbar)

    setSupportActionBar(toolbar)
    supportActionBar?.setDisplayHomeAsUpEnabled(true)
    supportActionBar?.setDisplayShowHomeEnabled(true)
    toolbar?.setNavigationIcon(R.drawable.ic_arrow_white)
    val url = intent.extras?.getString("urlKey")

    webView?.webViewClient = WebViewClient()

    webView?.loadUrl(url)

}

override fun onSupportNavigateUp(): Boolean {
    onBackPressed()
    return true
}

inner class WebViewController : WebViewClient() {

    override fun shouldOverrideUrlLoading(view: WebView, url: String): Boolean {
        view.loadUrl(url)
        return true

    }
}

}
below my intent where I am starting inside holder
holder.itemView.setOnClickListener { v->
val intent = Intent(v.context, DetailActivity::class.java)
intent.putExtra("urlKey", articleList[position].url)
        v.context.startActivity(intent)
    }

Closing this issue due to no activity

authors: Unlimity Vacxe anton46 kyodgorbek lewiemortier

repo: agoda-com/Kakao


text:
Ignoring unknown escape sequence and comments breaking boolean parsing

Comments
Inline comments breaks the parsing of the boolean value, it would seem that systemd expects # comments to start on a newline.
ProtectKernelTunables=true # /proc/sys, /sys, /proc/sysrq-trigger, /proc/latency_stats, /proc/acpi, /proc/timer_stats, /proc/fs and /proc/irq will be read-only within the unit. It is recommended to turn this on for most services.
2.Unknown escape sequence
Systemd just removes the backslash in the case of an unknown escape sequence, it processes escape sequences differently from shell. Escaping the backslash seems needed \\.
grep -i "FTBServer.*jar\|craftbukkit.*jar\|spigot.*jar\|paper*.*jar\|minecraft_server.*jar"

I'm running on ubuntu 20.04 server.

Comments - Thanks for the info! That's a really interesting quark. Arch has also documented it on their wiki. https://wiki.archlinux.org/index.php/systemd#Writing_unit_files

authors: TheSageMarmot yi-fan-song


text:
single datafile

Let's merge all of the *.json files into a single data.yml file

meh

repo: agraubert/Beymax


text:
Implement carousel and overwrite in Download()

This PR adds an overwrite switch and a carousel download function. I did not transfer the code into methods because of the amount of variables that are required by the code itself. If you have any recommendations or tipps to enhance this PR I would be happy to implement them.

Thank you @fronbasal
Welcome to goinsta contributers.

Thank you!

authors: ahmdrz fronbasal

repo: ahmdrz/goinsta


text:
Find 10 open source projects in social tech to use for the app

The open source projects will be listed as part of the main feed for users to make contributions.

Some open source projects to use:

Urbanization Change Detection: https://github.com/geekysethi/Urbanization-change-detection
ActWorthy: https://github.com/actworthy/citizen-flutter
Pandemic-Produce-Delivery-Project: https://github.com/hanseaston/Pandemic-Produce-Delivery-Project
OpenPantry: https://github.com/openpantry/open_pantry
Amplify: https://github.com/ProgramEquity/amplify
The 'Say Thanks' Project: https://github.com/BlitzKraft/saythanks.io


text:
🛑 Plex is down

In c704f11, Plex (http://plex.hurtauda.fr/identity) was down:

HTTP code: 502
Response time: 933 ms

Resolved: Plex is back up in f7c0005 after 3 hours, 18 minutes.

repo: ahurtaud/upptime


text:
Промпт генерируя не правильно (или парсится)

Информация об окружении
python==3.10
gigachain==0.0.322
К кому обратиться?
@Rai220
Дополнительная информация

[ ] Официальных примеров (notebooks)/скриптов
[X] Собственных или доработанных скриптов

Компоненты

[ ] LLMs/Chat Models
[ ] Embedding Models
[X] Prompts / Prompt Templates / Prompt Selectors
[X] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Воспроизведение ошибки
mrkl = initialize_agent(tools, self._llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True, handle_parsing_errors=True)
mrkl.run(message)

При инициализации mrkl генерирует промпт, где просится писать Final answer с маленькой буквы, парсер парсит Final Answer  большой буквы. Возникает ошибка. Локально исправил -- все работает. Исправьте пж
https://github.com/ai-forever/gigachain/blob/master/libs/langchain/langchain/agents/mrkl/prompt.py
Ожидаемое поведение
Ожидается, чтобы агент работал

Спасибо за замечание! Будет исправлено в очередной версии.

repo: ai-forever/gigachain


text:
iOS supported?

Polyphill start record on ios (13), but can't play records sound after stop. What's wrong?

I do not have iOS to test and do not develop this polyfill right now. Feel free to send PR.

Yes it's working, close issue

Yes, it's working on IPhone XS, on IPad etc but not for IPhone X.

authors: MrFranke ai slarouche-jmsl

repo: ai/audio-recorder-polyfill


text:
Build SHiELD in repro mode instead of prod mode

Building in repro mode leads to more informative tracebacks when the model crashes due to the presence of the -ggdb compiler flag.

Resolved by #12.


text:
제공하는 query에 total count 추가

현재 giganto가 제공하는 모든 query에  total count 필드를 추가힙니다.
해당 필드 값은 요청 query에 있는 필터링 조건까지 만족하는 총 결과값의 갯수를 의미합니다.

필터링 조건까지 만족하는 결과값 갯수를 구하려면 매번 상당히 많은 이벤트에 대해 읽기, deserialization, 필터 조건 비교를 거쳐야 해서 로드가 상당히 큽니다.
@sehkone 필터링 조건을 만족하는 이벤트 갯수를 구하는 건 안 하기로 하지 않았나요?

해당 필드 추가에 로드가 커서 추가하지 않기로 하였습니다. 해당 이슈는 닫겠습니다.

authors: kimhanbeom msk

repo: aicers/giganto


text:
[1.9.4] Broken recipe

Compiled on 2016-07-07
forge-1.9.4-12.17.0.1976:
unable to craft a Crusher,
Can see the recipe inside jei and use the [+] to get the items in to the crafting table, but the crusher wont get crafted.

Same on 1.10 version

you are aware that 1.9 and 1.10 are dev build's just saying

so you say i shouldn't have made an issue? @DnTheMn

@DnTheMn We know they are dev builds, and they have bugs that the developer might not know of, so it's best to report them just in case.

Fixed! Appreciate it

authors: Carrots4U DnTheMn FiveEYZ Xiaminou aidancbrady natandestroyer

repo: aidancbrady/Mekanism


text:
[1.10.2] Mechanical and Thermo pipes require replacement after server restart

A recurrence of #3460 from user EzR3aL
Mechanical and Thermo pipes do not work after a server restart and require replacement in order to function again.
Forge: 2065
Minecraft: 1.10.2
Mekanism: 9.1.1.290

[1.10.2] [Mekanism-1.10.2-9.1.1.290] [All the mods - 1.10.2 v1.13c] I think it's affect all kind of pipes.
I have room with Adv. Logistic (from furnace to chest), Adv. Mechanical (Pump to Electrolytic Separator), Adv. Pressurized (Electrolytic to Puryfying) and after restart only Universal Cable works.
But in same time in other room i have Logistic connection between (actually addition) auto-breaker and chest and this one works (sometimes) after restart.

It's all pipes. I've noticed it much moreso when the pipes travel across a bunch of chunks. For example, the main power line in my base goes across about a dozen chunks [ultimate univ cable] and it will just "stop working" sometimes from server restarts or really anything that unloads the chunks such as if I leave the area for a long time to go mining in Mining Dimension or Nether or whatnot.
Breaking the pipe and replacing it fixes the issue but it's super annoying and you lose the "buffer" contained in the pipe [power/fluid/etc] which can be very painful given how large the buffers are. TBH this has been an issue since Mek v8 on 1.7.10 and I think @aidancbrady has put a few fixes in for it as I know I've reported it before but it just keeps coming back. I've even tried throwing down chunkloaders everywhere and still have the issue when server restarts which is sadly somewhat often on our pack since so many of the 1.10 mods are buggy as hell and we have a large pack.
If you look at the pipe you'll see something like:
xxxxxxooooo
x = has power and visibly shows it
o = no power and visibly shows no power, ie pipe not lit up
Next time I see it break I'll have to check it against chunk lines to see if that is it. Like I said, chunk loaders across your base help but... that's not ideal either and pisses off the server admin. :)
Cheers

Fairly certain I've found the issue after some intense testing.  The transmitter network formation algorithm takes a copy of the set of "orphan" transmitters whenever it creates the shared transmitter network, and then once finished, clears the original orphan transmitter set.  Well, 1.8/1.9's world threading has made it possible for new orphan transmitters to be added DURING the network creation algorithm.  As such, the new transmitters were being lost when the algorithm cleared the orphan transmitter set.  I've made some changes to ensure no orphans are lost in the network creation algorithm, and no longer am experiencing the issue.  I think we're good!

Woot!!!

On Sep 5, 2016, at 5:21 PM, Aidan notifications@github.com wrote:
Fairly certain I've found the issue after some intense testing. The transmitter network formation algorithm takes a copy of the set of "orphan" transmitters whenever it creates the shared transmitter network, and then once finished, clears the original orphan transmitter set. Well, 1.8/1.9's world threading has made it possible for new orphan transmitters to be added DURING the network creation algorithm. As such, the new transmitters were being lost when the algorithm cleared the orphan transmitter set. I've made some changes to ensure no orphans are lost in the network creation algorithm, and no longer am experiencing the issue. I think we're good!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Good

I'm having the problem again with 1.11.2 see #3460.

authors: Archadia Avamander BaalEvan Utildayael aidancbrady


text:
[Question] How can I change color of leather item

Question
Any idea?
Plugin Version
latest
Additional Information
No response

Currently there is no action to change the color of leather item. I will add that feature in the next version.

alright 👍

authors: aieuo sweatyrayan

repo: aieuo/Mineflow

license: NCSA


text:
Training Image to Video generation

In the train.py, the code doesn't use sample['ref_pixel_values'] or sample['clip_pixel_values']. Does this mean the image to video generation training uses a random frame instead of the first frame?

I don't understand this meaning. The image generated video is implemented through inpaint, and the parts that need to be reconstructed are masked

authors: abcdvzz bubbliiiing

repo: aigc-apps/CogVideoX-Fun


text:
Folia Support

Will you support folia? Any plans to add Folia support? The project hasn't been updated in quite some time and I am curious if it is abandoned. I find it useful, but if its no longer supported by the developer I will move on. Thanks!

https://github.com/aikar/TaskChain/pull/25

repo: aikar/TaskChain


text:
ApplePayで購入できる

Related Issue
https://github.com/ailab-dev/app_buy_sell/pull/22
Design
Design's link
TODO

@PhongTaKiai
Title: Có thể mua trên ApplePay

弊社のappleアカウントに入金されるようにする

@PhongTaKiai
Anh Sato cmt là nhờ mình đối ứng sao cho tiền sẽ thanh toán vào account apple bên họ ạ

sandboxアカウント待ち


text:
Add generics to search framework

Classes such as HeuristicFunction don't take Generics params and so extending them is clumsy. These classes can easily be genericized for better readability and decrease in RuntimeException-s.

The search framework is currently being rewritten under the AIMA4e branch:
https://github.com/aima-java/aima-java/tree/AIMA4e
lack of generics and several other usability issues are the motivation behind this rewrite. Any feedback on new approach appreciated.

Search framework has been rewritten on AIMA4e branch. Generics used along with closer correspondence to the pseudo-code in the book adhered to.

authors: ctjoreilly moshewe

repo: aima-java/aima-java


text:
Update agents.py

these aren't really the bugs but some correct standard of writing python
*functions should be in lowercase and classes title in uppercase
*convert doc string in tripple double quoted strings doc
*replace assignment with argumented assignment
*remove redundant parentheses
*argument name should be lowercase

surely they are but in factory methods also standard way is function name should start with lowercase

Some good stuff here has been merged into #556.

authors: clavoirr norvig

repo: aimacode/aima-python


text:
Need to create new route in jqadmin

How can create new route in jqadm interface?
As I am implementing an additional functionality in Customers module.
Now getting Route [] not defined. error while adding link in detail page.
@aimeos

Planned to add a approval functionality for users (sellers) in admin detail page.
So I added link , by clicking that some database operation will be done , after that redirect to the same page with success message @aimeos

No need to create a new route/controller for that if you stay within the admin backend. The "save" route is enough and if you only want to perform some database operations in addition, you can create a decorator with your code that does its job depending on the parameters you hand over:
https://aimeos.org/docs/latest/admin/jqadm/extend-panels/
If you have more questions, please open a new topic in the Aimeos forum for help: https://aimeos.org/help

authors: aimeos unnimaya-seeroo

repo: aimeos/aimeos


text:
Handle oil directory listings

oil uses a custom scheme of oil:// for its directory-listing buffers.  This throws off vim-rooter because the none of these paths actually exists.
To get to the "real" path we drop the custom scheme from the filepath.
Closes #136.

@airblade works for me! Thanks as always for your support 😄

Thanks for letting me know!

authors: airblade tpict

repo: airblade/vim-rooter


text:
Use new workspace filenames

Updates the generator code to use the new workspace filenames used by the studio

Thanks! Btw, I'm planning on rewriting the main component generation part of the react generator this week. It's pretty hacky and out of date with the way logic works now.

authors: dabbott haswalt

repo: airbnb/Lona


text:
Fix typo in README

Seems like you misspelled Babel in the README.

Oh, I see. My bad, didn't know that.

repo: airbnb/babel-plugin-dynamic-import-node


text:
Cannot find module 'react-dom' from 'ReactSixteenAdapter.js'

enzyme-adapter-react-16 has a peerDependency for react-dom, however React Native apps do not have react-dom installed.
This throws an error Cannot find module 'react-dom' from 'ReactSixteenAdapter.js'. A quick fix is to install react-dom explicitly as a devDependency, but this is not an ideal solution.

enzyme-adapter-react-16 is for React 16; react-dom is required. If you want to use it with react-native, someone would need to create an adapter for react-native.

for my case, I linked the internal node-module which includes the enzyme. once I unlink it, the error goes away

this worked for me
npm install --save-dev react-dom enzyme

authors: Ahmed-Imam JuiceCrawl ljharb nelsonchen90

repo: airbnb/enzyme


text:
Contains

I kinda was expecting this to not pass
  const wrapper2 = shallow(<Button>Hello
Goodbye
</Button>);
  const expectedChildren = [
    wrong,

Goodbye

  ];

  t.ok(wrapper2.contains(expectedChildren), 'should render children');

Any thoughts?

whoa.  I'd call that a bug.

workarounds:
  const expectedChildren = [
    bye,

Goodbye

  ];

  t.deepEqual(wrapper2.props.children, expectedChildren, 'should render children');

  t.ok(wrapper2.contains(Hello), 'should render children');
  t.ok(wrapper2.contains(
Goodbye
), 'should render children');

Maybe it's fine that contains only accepts single nodes?

@SeeThruHead Yeah. I'm not sure what contains would actually do when passed an array... I don't think the case is ever handled specifically so I'm not sure what it actually does in that case.

Looks like it will try to compare the array to every node using nodeEqual from './Utils'
I'll take a look at it later to see if I can figure out why nodeEqual(Array, Node) is passing.

@SeeThruHead I believe I've fixed this ^^. Thanks for reporting the bug!

Awesome thanks a lot @lelandrichardson

authors: SeeThruHead lelandrichardson


text:
enzyme-adapter-react-16 Can't resolve 'enzyme/build/Utils'

Describe the bug
In enzyme-adapter-react-16 ReactSixteenAdapter.js, it is requiring 'enzyme/build/Utils', but it doesn't exist.

It certainly exists: https://unpkg.com/enzyme@3.4.1/build/Utils.js
What version of enzyme are you using? Be sure to run npm ls; if that exits nonzero, then your dep graph is invalid, and you can't expect anything to work.

@makethisbuildthat I ran into this same error although my fix may not work for you if we don't have the same root cause.
I started by searching through yarn list based on @ljharb's comment to find if there were any obvious issues there but there weren't.
In the end, it turned out that a webpack alias was the cause. I don't know what changed recently but it definitely ended up causing problems. Removing the alias fixed the error.

I’m confused why a webpack alias would apply to node tests, but glad you figured it out!

I should have put some more context around this. We have a package that runs tests with testem and mocha and requires the package to build with tests before running which is why webpack was involved for us in this case.
This was a non-issue in our packages that use jest.

authors: ljharb makethisbuildthat mvargeson


text:
Display a useful error when withDom fails to find "jsdom".

Lost a bunch of time on this today because I thought it was a compatibility issue around the new react@15.4.0 release ...
... instead of just my own error of forgetting to install jsdom in a new module. 🙀 🙀 🙀
Hopefully this helps others avoid my mistake. Tried to make the message displayed to users as clear as possible. 💯 ✨ 👍 💪 😼

_

Testability is tricky on this since the enzyme module itself depends on jsdom so the error will never be produced. I could introduce proxyquire and force require('jsdom') to throw, but that seemed like overkill. Hopefully the change is obvious and small enough.

@ljharb updated to --save-dev following your feedback.

Sure I can rebase and squash it.

All set.

Thanks!

authors: indexzero ljharb


text:
Giving internal state 'dateString' first priority for input value.

Resolve #1013
It's an issue with react when replacing the entire string value vs internal managed state.
This change will use dateString when the user is typing within the input field and switch over to displayValue when a date is selected via the calendar.

Test has been added that ensures the prop will take precedence over the state when passed in. Within the same file, tests on lines 19, 25, and 102 do a great job of covering scenarios as well.

This fix is awseome. Any idea when is a new version of react-dates going to be pushed to npm with this fix?

@imrank1 will get it out as soon as https://github.com/airbnb/react-dates/pull/1305 is merged in! :)

repo: airbnb/react-dates


text:
Uses React's onClick handler instead of OutsideClickHandler with withPortal implementations

Fix for https://github.com/airbnb/react-dates/issues/340
This fixes an issue with Firefox specifically where the order of operations of the events caused the withPortal DayPicker to immediately close upon opening.
to: @lencioni
fyi: @phamcharles

Do we want to do this unconditionally, or only when withPortal is false?

@ljharb If you look at where onOutsideClick the variable is defined, we do it conditionally:
const onOutsideClick = (!withFullScreenPortal && withPortal) ? this.onClearFocus : undefined;

which is what we want.

Coverage decreased (-0.1%) to 80.059% when pulling a548fbc72a796ad1cba1723b9859e994bb207751 on maja-fix-firefox-outside-click-with-portal-woes into 5bdcdc41958c0fd5533cd6da61767bc25a3bd4f5 on master.

Coverage decreased (-0.1%) to 80.059% when pulling a548fbc72a796ad1cba1723b9859e994bb207751 on maja-fix-firefox-outside-click-with-portal-woes into 5bdcdc41958c0fd5533cd6da61767bc25a3bd4f5 on master.

Is this an issue with OutsideClickHandler itself; or with our event handler not checking the event target properly? In other words, is this something we could solve while keeping OutsideClickHandler (even if this is a good hotfix in the interim)?

@ljharb So I don't think it is specifically an issue with the OutsideClickHandler. It def does check event target properly, but the issue is with the way the native event system plays with the react event system/render cycle.
Basically, here is what happens on Chrome:

input takes focus event when you click on the input
focus event moves up the tree and triggers onFocusChange
onFocusChange updates state.focusedInput
click event happens somewhere between 2 and here
render cycle begins, rendering the withPortal calendar to the page

Conversely, here is what happens in Firefox

input takes focus event when you click on the input
focus event moves up the tree and triggers onFocusChange
onFocusChange updates state.focusedInput
render cycle begins, rendering the withPortal calendar to the page
click event gets triggered
because the click is now outside the root node (the visible calendar area) of the now renderedOutsideClickHandler, onOutsideClick gets triggered
the calendar closes

Because the initial event is a (1) a focus event and (2) a react event, and the outside click event is (1) a click event and (2) a native JS event, I think there is some conflict between making them play nice together in this one weird edge case. I discussed this with @lencioni and I think this is the solution and not just a hotfix.

Do you want to :stamp: me @ljharb? :D

authors: coveralls ljharb majapw


text:
go airbrake.Notify(err, req) and backtrace

go airbrake.Notify(err, req) creates new goroutine so gobrake can't create meaningful backtrace.

Was fixed long ago.

repo: airbrake/gobrake


text:
fix: use correct job resource values instead of env vars

Hopefully this fixes: https://github.com/airbytehq/airbyte-internal-issues/issues/9712
I think the issue was that we were setting env vars like JOB_MAIN_CONTAINER_CPU_LIMIT, but the charts set them via config maps via global values.
I can now run install multiple times, changing between --low-resource-mode and not
Existing cluster:
docker exec -it airbyte-abctl-control-plane kubectl -n airbyte-abctl get configmap -oyaml --field-selector metadata.name=airbyte-abctl-airbyte-env | grep JOB_
    JOB_MAIN_CONTAINER_CPU_LIMIT: "3"
    JOB_MAIN_CONTAINER_CPU_REQUEST: ""
    JOB_MAIN_CONTAINER_MEMORY_LIMIT: 4Gi
    JOB_MAIN_CONTAINER_MEMORY_REQUEST: ""

After running abctl local install --low-resource-mode:
docker exec -it airbyte-abctl-control-plane kubectl -n airbyte-abctl get configmap -oyaml --field-selector metadata.name=airbyte-abctl-airbyte-env | grep JOB_
    JOB_MAIN_CONTAINER_CPU_LIMIT: "0"
    JOB_MAIN_CONTAINER_CPU_REQUEST: "0"
    JOB_MAIN_CONTAINER_MEMORY_LIMIT: "0"
    JOB_MAIN_CONTAINER_MEMORY_REQUEST: "0"

After running abctl local install:
docker exec -it airbyte-abctl-control-plane kubectl -n airbyte-abctl get configmap -oyaml --field-selector metadata.name=airbyte-abctl-airbyte-env | grep JOB_
    JOB_MAIN_CONTAINER_CPU_LIMIT: "3"
    JOB_MAIN_CONTAINER_CPU_REQUEST: ""
    JOB_MAIN_CONTAINER_MEMORY_LIMIT: 4Gi
    JOB_MAIN_CONTAINER_MEMORY_REQUEST: ""

Airbyte completely ignores these values on k8

authors: abuchanan-airbyte jomach

repo: airbytehq/abctl


text:
GH issues: to clean

remove outdated ones
reach out to person who filed the issue
add stale bot

Marking as done

repo: airctic/icevision


text:
feat: programmatically controlled dags

What does your PR do?
Adds support for programmatically pausing/unpausing of DAGS
Checklist
For all Pull Requests

[X] Commits are signed off
[X] Commits have semantic messages
[X] Documentation updated
[X] Passes ct linting

@asosnovsky this is an interesting idea, can you clarify the situations where someone would need/want this functionality?
Additionally, are you sure that every valid dag_id can be stored in a YAML map key? (It might make more sense to store the "controlled" dags in a YAML list of maps, with a key called dagID that stores a string value)

So I'm managing a system where we have over 10 deployments that require different subsets of dags. Additionally, sometimes engineers forget to turn on/off dags that they were debugging (when random prod issues happen). With this feature (which we already hacked something similar internally) we can reapply the helm chart on a schedule or during new deployments.

@thesuperzapper i am not sure I am following your solution... care to share an example?

@thesuperzapper do you mean like
controlled:
   - dagId: myawesomedag
   - dagId: mycooldag2
     disabled: false

So I'm managing a system where we have lots of deployments that require different subsets of dags. Additionally, sometimes engineers forget to turn on/off dags that they were debugging.

It really seems quite dangerous to use a control loop to force certain dags to be enabled/disabled. There are many situations when you may want to temporarily disable a dag to prevent/fix an issue, and with this, you would be fighting with the controller.
To solve your stated problem of people accidentally leaving dags disabled/enabled, it makes more sense to suggest an upstream change in airflow itself to alert/highlight when an important dag has been left disabled for some period of time. This would be similar to the existing SLA feature, but it's not quite the same, as SLAs only apply to enabled dags.
You may want to suggest any ideas/proposals you have around this in the airflow thread that is discussing a rewrite of the SLA feature, or possibly raise your own separate "airflow improvement proposal" for a "monitored dags" feature like I described above.
But either way, I don't think I am comfortable adding this "dag controller" feature to the chart as I think it's unsafe (feel free to explain why my thinking is wrong).

So I'm managing a system where we have lots of deployments that require different subsets of dags. Additionally, sometimes engineers forget to turn on/off dags that they were debugging.

@asosnovsky It really seems quite dangerous to use a control loop to force certain dags to be enabled/disabled. There are many situations when you may want to temporarily disable a dag to prevent/fix an issue, and with this, you would be fighting with the controller.
To solve your stated problem of people accidentally leaving dags disabled/enabled, it makes more sense to suggest an upstream change in airflow itself to alert/highlight when an important dag has been left disabled for some period of time. This would be similar to the existing SLA feature, but it's not quite the same, as SLAs only apply to enabled dags.
You may want to suggest any ideas/proposals you have around this in the airflow thread that is discussing a rewrite of the SLA feature, or possibly raise your own separate "airflow improvement proposal" for a "monitored dags" feature like I described above.
But either way, I don't think I am comfortable adding this "dag controller" feature to the chart as I think it's unsafe (feel free to explain why my thinking is wrong).

@thesuperzapper I don't see how this relates to SLA. It has nothing to do with notifying when a dag takes longer than expected. But I do agree that it can be annoying/dangerous when you try to pause a DAG and it just bounces back after a minute.
Perhaps, if we just dropped the "Deployment" and kept only the "Job" implementation it would make a better compromise. That way, to return to "normal" you would have to use reapply the chart. It's anyways all I actually need, I.e. a clean way to return to the expected original state for a given deployment. If I didn't want someone to modify the DAG states I would just not give them that permission.
To strengthen the case for this. It's not uncommon (in my experience) for companies to require a special approval process to enable/permanently pause a DAG. Ensuring that there is a programatic way to sync the wanted state for all DAGs (by triggering the job using helm) using a nice infrastructure as code approach is what we use kubernetes for, and not necessarily should expect it from Airflow. (The alternatives I've seen usually involve writing a bash or python script that does the same, or writing a DAG that does the same, which is much less clean than using helm, and tend to have worst audit logs). Plus airflow does provide this feature by allowing users to modify the db dag states (which is what my implementation utilizes).

authors: asosnovsky thesuperzapper

repo: airflow-helm/charts


text:
airlift-server versions using Jetty > 12.0.11 do not call ContainerResponseFilter when an exception is raised

Summary
With airlift-server > 252, a bound ContainerResponseFilter implementation will not get called if a RuntimeException is raised in a Resource while processing the request.
Details
This issue was originally found in https://github.com/trinodb/aws-proxy/pull/156.
Airlift version 253 upgraded the Jetty version 12.0.12.
I created a https://github.com/mosiac1/airlift-example as a minimal example an to make sure the issue is not related to aws-proxy.
Steps to reproduce:

Clone https://github.com/mosiac1/airlift-example;
Run mvn clean package, the tests should fail;
Update dep.airlift.version to 252 in pom.xml;
Run mvn clean package, the tests should pass.

Environment
> java --version
openjdk 22 2024-03-19
OpenJDK Runtime Environment Temurin-22+36 (build 22+36)
OpenJDK 64-Bit Server VM Temurin-22+36 (build 22+36, mixed mode)

> mvn --verison
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /Users/mosiac/.sdkman/candidates/maven/current
Java version: 22, vendor: Eclipse Adoptium, runtime: /Users/mosiac/.sdkman/candidates/java/22-tem
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "14.7", arch: "aarch64", family: "mac"

The ContainerResponseFilter is called correctly  if a ExceptionMapper is registered and processes the exceptions thrown in Resources.

@wendigo Based on the maintainer call this was intentionally done to support HTTP/2. Can we close the issue? Should this be mentioned in release notes?

@mosiac1: https://github.com/eclipse-ee4j/jersey/blob/2fd3e28a206f02a4d31331092fd6546d6d4d770f/core-server/src/main/java/org/glassfish/jersey/server/ServerProperties.java#L636, this is now set to true

repo: airlift/airlift


text:
Bug: Publisher Direct Usage

Describe the bug
Can't use direct publishing
Documentation
How to reproduce
from faststream import FastStream
from faststream.rabbit import RabbitBroker

broker = RabbitBroker("amqp://guest:guest@localhost:5672")
app = FastStream(broker)

await broker.connect()

publisher = broker.publisher("another-queue")

@broker.subscriber("another-queue")
async def handle_next(msg: str):
    assert msg == "Hi!"

await publisher.publish("Hi")

Error:
AssertionError: Please, `connect()` the broker first

When added publisher setup:
from faststream import FastStream
from faststream.rabbit import RabbitBroker

broker = RabbitBroker("amqp://guest:guest@localhost:5672")
app = FastStream(broker)

await broker.connect()

publisher = broker.publisher("another-queue")

@broker.subscriber("another-queue")
async def handle_next(msg: str):
    assert msg == "Hi!"

publisher.setup(producer=broker._producer, app_id=broker.app_id, virtual_host=broker.virtual_host)

await publisher.publish("Hi")

Output:
DeliveredMessage(delivery=<Basic.Return object at 0xffff6e0be3f0>, header=<pamqp.header.ContentHeader object at 0xffff6fa5c590>, body=b'Hi', channel=<Channel: "1" at 0xffff6e2350e0>)

Screenshots

Sorry, but you can't use publisher and other objects as well until broker is not started. This is the core limitation of FastStream, but if you faced with it - you are trying to make really strange thing

Seems like we should correct message to use broker.start() before using publisher.

Anyway, instead of
publisher.setup(producer=broker._producer, app_id=broker.app_id, virtual_host=broker.virtual_host)
# you should use
broker.setup_publisher(publisher)
``

Also, I moved setup hook from start to connect method, so the error message tells the truth now

repo: airtai/faststream


text:
Bug: RedisTelemetryMiddleware typing check fails

Describe the bug
Typing check does fail when using OTEL middleware on RedisBroker
How to reproduce
Include source code:
from faststream.broker.core.usecase import BrokerUsecase
from faststream.broker.publisher.proto import PublisherProto
from faststream.redis import RedisBroker
from faststream.redis.opentelemetry import RedisTelemetryMiddleware

def init_broker(config: AppConfig) -> BrokerUsecase[Any, Any]:
    broker = RedisBroker(
        config.EVENTS.REDIS_BROKER_URL,
        middlewares=(RedisTelemetryMiddleware,),
    )

    return broker

Expected behavior
RedisTelemetryMiddleware to match the typing specs defined at https://github.com/airtai/faststream/blob/4a2341d3b79f4cb6c780e82211145b2c12c6513f/faststream/redis/broker/broker.py#L134
Observed behavior
Mypy fails type checking
src/bootstrap/faststream.py:15: error: Argument "middlewares" to "RedisBroker" has incompatible type "tuple[type[RedisTelemetryMiddleware]]"; expected "Iterable[Callable[[PubSubMessage | DefaultListMessage | BatchListMessage | DefaultStreamMessage | BatchStreamMessage | None], BaseMiddleware]]"  [arg-type]

Screenshots
Not applicable
Environment
Running FastStream 0.5.14 with CPython 3.11.9 on Darwin

Additional context
N/A

Hi! Your snippet does produce an error, but it's not a bug. The fact is that you need to initialize the middleware by passing parameters to it if necessary. Here is an example from the documentation.

🤦♂ Thanks for double-checking this


text:
[#1370] Use shellcheck rule from bazel-tools

Resolves #1370

It's not working as expected will close for now and test again next week

repo: airyhq/airy


text:
scroller在图片列表情况下有时显示不全,最底部看不到

针对楼上的问题，我在scroller里面设置了height=“-100”，基本可以满足90%的手机匹配

还有使用scroller做分页，并且逻辑里面还有tab切换效果时，当单页数据不满足每页展示的 总条数时，出现的下拉刷新等字样不好控制，我采用的方法：
if(res.data.QueryResultTable.length < this.pageSize){
let oUndefined = document.getElementsByClassName('xs-plugin-pullup-container');
oUndefined[0].style.display="none";
}else{
let oUndefined = document.getElementsByClassName('xs-plugin-pullup-container');
oUndefined[0].style.display="block";
}

authors: airyland elina1201 heiyun

repo: airyland/vux


text:
[Bug Report] DateTime插件设置startdate后，“日”列中的数据总天数显示的是当前月总天数

VUX version
2.9.4
OS/Browsers version
win10/chrome 73.0.3683.86
Vue version
2.6.10
Code
<datetime
                v-model="data.value.startTime"
                :format="this.data.component_info.defaultFormat"
                :placeholder="this.data.component_info.defaultProps"
                :required="this.data.component_info.defaultImportant"
                :minute-list="space_list"
                @on-change="change_info"
                :start-date="start_day"
                :end-date="data.value.endTime"
                style="text-decoration:none"
                >

*{{this.data.component_info.defaultLable}}

            </datetime>

            <datetime
                v-model="data.value.endTime"
                :format="this.data.component_info.defaultFormat"
                :placeholder="this.data.component_info.defaultProps2"
                :required="this.data.component_info.defaultImportant"
                :minute-list="space_list"
                @on-change="change_info"
                :start-date="data.value.startTime"   //这里绑定上一个组件的结果
                :end-date="end_day"
                style="text-decoration:none"
                >

*{{this.data.component_info.defaultLable2}}

            </datetime>

Steps to reproduce
两个datetime组件联合使用，第二个组件的start-date属性绑定第一个组件的结果；
例如：
前提：4月份有30天，5月份有31天，今天是4月30日
操作：
1.点击第一个组件，默认时间2019-04-30，滑动月份到5月，点击确定，第一个组件的结果为2019-05-30
2.点击第二个组件，默认时间为第一个组件的结果，为2019-05-30，但是30下面没有31号
推测：
可能是弹出picker时没有获取“日”列的信息
What is Expected?
点击第二个组件，默认时间为第一个组件的结果，为2019-05-30，30下面有31号
What is actually happening?
点击第二个组件，默认时间为第一个组件的结果，为2019-05-30，但是30下面没有31号

你这个用法，第二个组件的起始日期（而非默认时间）才是第一个组件的结果


text:
⚠ Turnos 24x7 has degraded performance

In e9f5aa7, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 972 ms

Resolved: Turnos 24x7 performance has improved in 00474cb.

repo: aisa-status/status-upptime-dev


text:
Tagui Python: Is there a way to enter an iFrame which has neither and ID or a Name

Im currently trying to create an automation for a carting process using Python including the RPA library. I now want to enter an iFrame for the Payment automation but Tagui command c.frame(Id or name) requires an ID or Name to enter an iFrame. The Problem is my iFrame has no ID or Name attribute. I've already tried to do it with XPATH but it wouldn't work. Does anyone have an idea on how to solve this problem.

Hi @Jonsch-HTL you can try injecting an id or name to the iframe using DOM step, you can see the example here
For the actual RPA for Python syntax you can refer to https://github.com/tebelorg/RPA-Python for DOM step

Closing this issue due to inactivity, feel free to reopen.

authors: Jonsch-HTL ruthtxh

repo: aisingapore/TagUI


text:
🛑 MONGOLIA is down

In 099d4e0, MONGOLIA (https://www.bricks4kidz.mn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MONGOLIA is back up in 2ba2134.


text:
🛑 AUSRALIA is down

In 260ad9d, AUSRALIA (https://www.bricks4kidz.com.au) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AUSRALIA is back up in fab947f.


text:
No longer can Disable Edit Mode after recent auth additions

Environment
Docker
Version
latest
Describe the problem
Used to be that you - EDIT_MODE_PASSWORD= in docker or env variable and you could lock the homarr grid via the menu dropdown in the top right.
Sure you can log out or as someone else, but then it disables other things, like pihole controls, or things I haven't thought about.
Logs
No logs needed.
Context
No context needed.
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

This is intended behavior and noted in our breaking changes:
https://homarr.dev/blog/2023/11/10/authentication#breaking-changes
We will add a more granular permission system in future versions.
The environment variable you mentioned was always marked as experimental and was prone to removal for a long time.
As an alternative, you can use https://homarr.dev/docs/customizations/board-customization#access.

Unfortunately that does not help because of the issue stated above. Looking forward to any changes that go towards re-enabling this functionality!

Could you develop on why that functionality needs to be reinstated?
The very reason it was present was for security and preventing non authorized user to modify the board.
As that security is now behind admin users, the need for it disappeared.
Even as an admin you don't need to constantly be in edit mode, you can use the board normally as is.

For example, if you add a widget like the pihole one, and then go anonymously to the board, you cannot use Enable all Disable all or even click on them to interact with them. That panel is not drawn for anon.
Curiously, you can still disable and enable them by clicking on the children which do not get hidden.
Ultimately, I want to prevent myself from modifying the page but having the same experience, which was what I used that feature for, not security. Ironically, I also would benefit from https://github.com/ajnart/homarr/issues/1345 this, but so would others.
Just think about it. Most boards are full of buttons. People misclick shit all the time. Some people want to be able to make more of their board static, and that makes sense all by itself.

In either case, for many homelab users, that is one such use case where being logged in helps, but it used to not matter. But now being forced to log in means I can edit my screen.

You can make non admin users that can't edit the board.
The pihole not being able to be toggled by non admins is intentional, as a non admin shouldn't be able to change the way a whole network traffic behaves. Following your logic, we wouldn't want a miss-click to disable pihole.
It still being able to be disabled through the badge is indeed the inconsistency that needs to be fixed though.
For the issue you mentioned, I commented a custom CSS there to tackle that issue. We can't implement every little thing like that one as options, especially if it can be solved in CSS like that.
As of now, the only things that are not available out of an admin account are:

toggling dns hole
Approving overseerr requests
Editing the notebook (this one issue resides deeper though, as the system is right now we couldn't even if we wanted)
Pausing the nzb clients

All those things or almost are definitely things you don't want to be clicking on accident and them being available only to admins makes the most sense.
My suggestion, make normal users for your boards, they won't be able to modify like you want to.
Make an admin account that you would only log on fully knowing you need to be careful to perform duties that require admin access, which is not a lot of it.

I appreciate the thorough response and explanation and css.
Suppose I could also just write css to disable that button now that I think about it.

I agree with @Tagaishi. The authentication update was meant to replace some of the parts that OP mentioned.
We already secure the widgets and apps behind the edit mode which makes accidents editing a rare occurrence.
I think this is mostly an edge case.
As Tag mentioned, if you have dangerous controls or widgets, then you should reconsider who has access, how you organise your dashboards or disable them via CSS.
However it should be noted that CSS is not viable at all to improve security - it runs on the client and can therefore be easily manipulated.
We are currently working on a more detailed permission system. We still don't have the specifics decided but it will most likely offer a permission to interact with widgets - so you could just turn that off for the users.
Do you need any further assistance or information? If no, can we close this issue as is? We will be tracking the permissions in a different ticket.

authors: NetSamurai Tagaishi manuel-rw

repo: ajnart/homarr


text:
Finnish translations

Added translations for Finnish language.

Thank you!

authors: epoberezkin saulipurhonen


text:
ensure that nullable is not set for required parameters

nullable was enforced for optional parameters, but not forbidden for
required parameters. This tests and enforces the latter case.
What issue does this pull request resolve?
fixes #2030
at least partially
What changes did you make?
add nullable?: false and tests
Is there anything that requires more attention while reviewing?
nope

I should note that typescript 4.8 causes errors with the JTD schema type, so I restricted the typescript version too.

Fixed the error in 4.8 now, so made it >= 4.8

authors: epoberezkin erikbrinkman

repo: ajv-validator/ajv


text:
Error in prepare_physionet

I have downloaded the EEG data using the script provided, when I run the command:
python prepare_physionet.py --data_dir data --output_dir data/eeg_fpz_cz --select_ch 'EEG Fpz-Cz' it returns an error: ZeroDivisionError: float modulo

I tried to debug, and figuired that raw.ch is equal to 0 at the end. I think its because when it trimmes the tail, it trimmes the whole thing.
Could you please help me understand what is wrong? thank you

Can you give me more details about the environment that you are using and the log of errors that you got?

Hey, I solved it. No worries. Thanks for a quick reply!

authors: Denisolt akaraspt

repo: akaraspt/deepsleepnet


text:
typo-Update upgrades.go

fix(upgrades): correct typo in source file
Corrected a typo in app/upgrades.go:23 where "unitialize" was updated to "uninitialize".
Purpose:

Enhanced code accuracy and professionalism by fixing the typo.

thanks, pls format PR and commit using the conventional commits convention

hello, fix it. check pls.

repo: akash-network/node


text:
minify when prepublish

このpull requestが解決する内容
ビルド結果にミニファイを含めます。
破壊的な変更を含んでいるか?

なし

versionはマージのタイミングでパッチバージョンをbumpします。

repo: akashic-games/akashic-engine


text:
Typo in documentation

Firewall will send a notification as soon as an attack has been detected. Emails entered in notifications.email.to
==>
notifications.mail.to

Feel free to contribute as PR.

authors: denisdulici robov

repo: akaunting/firewall


text:
same ip for all requests

In some networks the logged ips are same for all users and this cause block all requests for all users.please use below code for getting user ip in your Traits/Helper.php file.
public function ip()
    {
       $client = @$_SERVER['HTTP_CLIENT_IP'];
        $forward = @$_SERVER['HTTP_X_FORWARDED_FOR'];
        $remote = @$_SERVER['REMOTE_ADDR'];
        if (filter_var($client, FILTER_VALIDATE_IP)) {
            $ip = $client;
        } elseif (filter_var($forward, FILTER_VALIDATE_IP)) {
            $ip = $forward;
        } else {
            $ip = $remote;
        }
        return $ip ?: '0.0.0.0';
    }

+1
I've noticed on some projects, including those that use Cloudflare, that we get the edge IP, not the user IP, and this has caused blocks to other users.

repo: akaunting/laravel-firewall


text:
能否配置一份GitHubPages的文档

https://akshare.akfamily.xyz/ 文档站点网络环境不够良好，时常子页访问缓慢，使用 GitHub 提供的 Pages 优化这一问题。

https://akshare.akfamily.xyz/ 文档站点网络环境不够良好，时常子页访问缓慢，使用 GitHub 提供的 Pages 优化这一问题。

目前基于 readthedocs 是通用的方式，暂不考虑 Github Pages 部署，建议可以项目本地查看部署和查看文档

authors: albertandking liuxinyumocn

repo: akfamily/akshare


text:
请问如何批量访问比如stock_a_indicator_lg等接口

请问如何批量访问比如stock_a_indicator_lg等接口，现在以每10s访问一次的速度会被限制访问，我看比如巨潮api的接口说明是有批量访问功能的。

请问如何批量访问比如stock_a_indicator_lg等接口，现在以每10s访问一次的速度会被限制访问，我看比如巨潮api的接口说明是有批量访问功能的。

暂时没有


text:
clarification on memory management

Folks,
I'm hoping someone can help me a little with how to clean up jansson objects that are no-longer needed. Currently, I'm doing something like (cribbing from the example provided in the docs tutorial)
root = json_loads(s.ptr, 0, &error);
            if(!root){
                printf("Parsing failed...  ");
                printf("Text was |%s|\n", s.ptr);
            }
            id = json_object_get(root, "id");
            jtx = json_object_get(root, "text");

Then later, after doing things with id and jtx...

json_decref(id);
json_decref(jtx);
 json_decref(root);

is this the correct way to deallocate the memory? - it seems to be causing some odd memory corruption problems with other (non-jansson related) bits of my program - so I suspect I'm doing something incorrect.
For example, should I only call decref on the root and just use free() on the others?
If there examples in the docs, or small repro, I'd be most grateful.
Thanks, Ace

You only need to decref root, and leave the others alone. In your example, json_loads returns a new reference, something that you own and need to decref to free the memory. On the contrary, json_object_get returns a borrowed reference, so you don't own the value, just borrow it, so you don't need to do anything to free it.

Here's a link to the reference count section in the documentation: https://jansson.readthedocs.org/en/2.7/apiref.html#reference-count

Thanks, I went back and re-read the docs and it still wasn't very obvious to me - but your post above helps enormously - thanks very much!

While borrowed references are explained in the documentation, I agree that it's very not obvious that you only json_decref the root object. For example, it's explained that the user "must call json_incref" only to say that "normally...functions...manage the reference". Is this to say that sometimes the function won't manage the reference? Do I still need to call json_incref?
This documentation is lacking in meaningful examples for freeing memory; I spent an hour just now debugging, searching, and reading when this issue here immediately solved my problem. I feel like this issue should be reopened solely for the documentation to be improved in this area.

authors: JDetwiler15 akheron phatmanace

repo: akheron/jansson


text:
Fixed the compiler error related to need to include standard integer …

…library, just like in bos-jansson fork
Fixed the compiler error related to need to include standard integer library, just like in bos-jansson fork: https://github.com/melt7777/bos-jansson/commit/7a2732e18083201cfb5915e8ffaa7fceb750837a
10:57:40 /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wno-format-truncation -g -O2 -MT bos_deserializer.lo -MD -MP -MF .deps/bos_deserializer.Tpo -c -o bos_deserializer.lo bos_deserializer.c
10:57:41 libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wno-format-truncation -g -O2 -MT bos_deserializer.lo -MD -MP -MF .deps/bos_deserializer.Tpo -c bos_deserializer.c  -fPIC -DPIC -o .libs/bos_deserializer.o
10:57:41 In file included from jansson_private.h:13:0,
10:57:41                  from bos_deserializer.c:12:
10:57:41 bosjansson.h:69:5: error: unknown type name ‘uint32_t’
10:57:41      uint32_t size;
10:57:41      ^~~~~~~~
10:57:41 bos_deserializer.c: In function ‘validate_value’:
10:57:41 bos_deserializer.c:443:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
10:57:41      uint8_t data_type;
10:57:41      ^~~~~~~
10:57:41 bos_deserializer.c: In function ‘bos_validate’:
10:57:41 bos_deserializer.c:501:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
10:57:41      buffer_t buffer;
10:57:41      ^~~~~~~~
10:57:42 Makefile:473: recipe for target 'bos_deserializer.lo' failed
10:57:42 make[5]: *** [bos_deserializer.lo] Error 1
10:57:42 make[5]: Leaving directory '/root/jenkins/workspace/miners/miner-build-sgminer-fancyix/label/pimp=2.8/submodules/jansson/src'
10:57:42 Makefile:454: recipe for target 'all-recursive' failed
10:57:42 make[4]: *** [all-recursive] Error 1
10:57:42 make[4]: Leaving directory '/root/jenkins/workspace/miners/miner-build-sgminer-fancyix/label/pimp=2.8/submodules/jansson'
10:57:42 Makefile:363: recipe for target 'all' failed
10:57:42 make[3]: *** [all] Error 2
10:57:42 make[3]: Leaving directory '/root/jenkins/workspace/miners/miner-build-sgminer-fancyix/label/pimp=2.8/submodules/jansson'
10:57:42 Makefile:519: recipe for target 'all-recursive' failed
10:57:42 make[2]: *** [all-recursive] Error 1
10:57:42 make[2]: Leaving directory '/root/jenkins/workspace/miners/miner-build-sgminer-fancyix/label/pimp=2.8/submodules'
10:57:42 Makefile:2298: recipe for target 'all-recursive' failed
10:57:42 make[1]: *** [all-recursive] Error 1
10:57:42 make[1]: Leaving directory '/root/jenkins/workspace/miners/miner-build-sgminer-fancyix/label/pimp=2.8'
10:57:42 Makefile:739: recipe for target 'all' failed
10:57:42 make: *** [all] Error 2

Coverage remained the same at 96.421% when pulling 2062f2be44bdaa9dfe07780929f16aca288c82d9 on melt7777:patch-1 into f4498d2856fff130366e1dacc74d66d3502e0e5c on akheron:master.


text:
ossfuzz: Improvements to json_load_dump_fuzzer

Add in diagnostics to json_load_dump_fuzzer so that if FUZZ_VERBOSE is
defined in the environment, additional debug information about the
current test case is output to stderr.
Replace json_dumps by json_dump_callback so that memory is not exhausted
by excessively nested json objects.

This should work around https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16031 (not yet publicly visible).

Coverage remained the same at 95.507% when pulling 66dec35c8c69449c1f85690b4ba58e2b6ce1f4ba on cmeister2:cmeister2/fuzzerdiags into 1ac79b2558cfa630157ddfa96f25bbad4b7cdffc on akheron:master.

@coreyfarrell as discussed, added in a dump_mode byte.


text:
“将页面自动跳转到下一页。后文将介绍getWxPost.php的原理”

请问这个功能是否能公开呢？
谢谢！

见https://github.com/akinoneko/wechat-mq-spider/blob/master/src/main/java/com/zyy/wechat/mq/spider/controller/SpiderController.java
中的getWechatPost方法

再麻烦问一下：http://127.0.0.1:8080/spider这个服务源码方便公开吗？我想看一下结构，然后用python来实现一下。
谢谢！

这个项目开源的就是Spider服务的实现

authors: akinoneko ichenfujun

repo: akinoneko/wechat-mq-spider