package android.support.annotation does not exist

when use flutter_html_view that have dependency with this library, I get error like this:
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:6: error: package android.support.annotation does not exist
import android.support.annotation.AnimRes;
                                 ^
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:7: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:8: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
                                 ^
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:9: error: package android.support.annotation does not exist
import android.support.annotation.RestrictTo;
                                 ^
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:10: error: cannot find symbol
import android.support.customtabs.CustomTabsIntent;
                                 ^
  symbol:   class CustomTabsIntent
  location: package android.support.customtabs
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:19: error: cannot find symbol
@RestrictTo(RestrictTo.Scope.LIBRARY) public class Launcher {
 ^
  symbol: class RestrictTo
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:43: error: cannot find symbol
  public CustomTabsIntent buildIntent(@NonNull Map<String, Object> options) {
         ^
  symbol:   class CustomTabsIntent
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:74: error: package CustomTabsIntent does not exist
  private void applyAnimations(@NonNull CustomTabsIntent.Builder builder,
                                                        ^
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:107: error: cannot find symbol
      @NonNull CustomTabsIntent customTabsIntent, @Nullable List<String> extraCustomTabs) {
               ^
  symbol:   class CustomTabsIntent
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:7: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:8: error: cannot find symbol
import android.support.customtabs.CustomTabsIntent;
                                 ^
  symbol:   class CustomTabsIntent
  location: package android.support.customtabs
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:38: error: cannot find symbol
  public Launcher(@NonNull Context context) {
                   ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:43: error: cannot find symbol
  public CustomTabsIntent buildIntent(@NonNull Map<String, Object> options) {
                                       ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:42: error: cannot find symbol
  @SuppressWarnings("unchecked") @NonNull
                                  ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:74: error: cannot find symbol
  private void applyAnimations(@NonNull CustomTabsIntent.Builder builder,
                                ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:75: error: cannot find symbol
      @NonNull Map<String, String> animations) {
       ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:98: error: cannot find symbol
  @AnimRes private int resolveAnimationIdentifierIfNeeded(@NonNull String identifier) {
                                                           ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:98: error: cannot find symbol
  @AnimRes private int resolveAnimationIdentifierIfNeeded(@NonNull String identifier) {
   ^
  symbol:   class AnimRes
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:106: error: cannot find symbol
  public void launch(@NonNull Context context, @NonNull Uri uri,
                      ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:106: error: cannot find symbol
  public void launch(@NonNull Context context, @NonNull Uri uri,
                                                ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:107: error: cannot find symbol
      @NonNull CustomTabsIntent customTabsIntent, @Nullable List<String> extraCustomTabs) {
       ^
  symbol:   class NonNull
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:107: error: cannot find symbol
      @NonNull CustomTabsIntent customTabsIntent, @Nullable List<String> extraCustomTabs) {
                                                   ^
  symbol:   class Nullable
  location: class Launcher
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:39: error: cannot find symbol
  private CustomTabsPlugin(@NonNull PluginRegistry.Registrar registrar) {
                            ^
  symbol:   class NonNull
  location: class CustomTabsPlugin
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:57: error: cannot find symbol
  private void launch(@NonNull Map<String, Object> args, @NonNull MethodChannel.Result result) {
                       ^
  symbol:   class NonNull
  location: class CustomTabsPlugin
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:57: error: cannot find symbol
  private void launch(@NonNull Map<String, Object> args, @NonNull MethodChannel.Result result) {
                                                          ^
  symbol:   class NonNull
  location: class CustomTabsPlugin
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:44: error: package CustomTabsIntent does not exist
    final CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
                          ^
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:44: error: package CustomTabsIntent does not exist
    final CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
                                                                 ^
/Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:60: error: cannot find symbol
    final CustomTabsIntent customTabsIntent = launcher.buildIntent(options);
          ^
  symbol:   class CustomTabsIntent
  location: class CustomTabsPlugin
28 errors

FAILURE: Build failed with an exception.

Are you using AndroidX? The version 0.4.0is not AndroidX compatible. Please see my PR https://github.com/droibit/flutter_custom_tabs/pull/11
You can test the AndroidX Support by using my update from the PR.
dependencies:
  flutter_custom_tabs:
    git:
      url: https://github.com/Gurkengewuerz/flutter_custom_tabs.git
      ref: workaround

@hahn any updates on this? A NonNull Exceptions looks like AndroidX, as i mentiond a two weeks ago

i have the same issue.

Error still exists. Maybe because flutter_html_view library not updated.

Mine is solved now After migrate to androidx.

Error still exists. Maybe because flutter_html_view library not updated.

@hahn can you please upgrade all your extensions to the newest version and retry? If you still get the error please post your pubspec.yaml.
In my opinion you dont have updated to AndroidX or you use an extension that dont support AndroidX. Can you clearify that? flutter_html_view already merged AndroidX support end February.

I think this error has been resolved,
because the migration to androidx is complete.


Windows Defender preventing App from running.

Windows Defender apparently does not like the new update to BetterDiscordApp and blocks off running the installer as it is marked as a "Harmful Program" for some reason (Though I specifically know BandagedBD_Windows.exe is not harmful at all).
I've attempted to find ways of installing it without triggering Windows Defender and what might be causing it.
All currently inconclusive.
I found this strange as the last version of BandagedBD didn't trigger Windows Defender at all.

Contact me on discord and I will see what I can do.

Sure,
Where can I find your Discord ID to message you?

it's plastered all over github Zerebos#7790

I sent a friend request on Discord so I can DM you.

I can't reproduce it either. Win10 1809 with latest cumulative update and win defender definitions at latest version. @rauenzi i have send you discord friend request too. Serket.

I don't have any pending

I don't have any pending

I have send a request like 1 min ago.

I have found what was causing the issue.
Apparently Windows Updater was halted for some unknown reason and didn't install the most recent version of Win10 and Windows Defender and never notified me of this.
After updating Win10 and Windows Defender to the most recent version manually it no longer detects BandagedBD as a threat.
I found it strange that being an update behind caused Windows Defender to do this,
But it may have been an actual bug within that Windows Defender version to cause it to false flag safe programs.
Either way,
Upon attempting to install BandagedBD for the first time it did notify me in the installer that I already had the latest version of BandagedBD (even though I didn't)
So I just exited out and retried and was able to successfully install BandagedBD.
Everything is working fine now and it seems this issue has been resolved.

Thanks for the update


git config item is showing the password in clear text

It would be nice not to have the password as clear text with the puppet run.
Notice: /Stage[main]/Xlrelease::Postconfig/Xlrelease_config_item[git]/properties: properties changed '["password", "title", "url", "username"]' to '{"title"=>"git", "url"=>"https://<IP_ADDRESS>:8443", "username"=>"admin", "password"=>"admin"}'

It's clear text or noting pall
Sent from my iPhone
On 21 Oct 2015, at 16:42, Levent Tutar <notifications<EMAIL_ADDRESS>wrote:
It would be nice not to have the password as clear text with the puppet run.
Notice: /Stage[main]/Xlrelease::Postconfig/Xlrelease_config_item[git]/properties: properties changed '["password", "title", "url", "username"]' to '{"title"=>"git", "url"=>"https://<IP_ADDRESS>:8443", "username"=>"admin", "password"=>"admin"}'

Reply to this email directly or view it on GitHubhttps://github.com/xebialabs/puppet-xlrelease/issues/16.

nothing then. we do not want any sensitive information in the puppet logging.

then don't put it in there ..

but you would be adding a manual step to your process

no manual steps


Linked headlines

@sneridagh This works, but the cypress and a11y tests need to be fixed. I'll need assistance on this, also maybe the CSS needs to be redone.

@tiberiuichim
Hmm. This breaks the Table of contents block as it is generated based on the blocks uids.
Also, @razvanMiu confirmed that the block uids are used somewhere within the Link widget to link to sections within the page.
Thus, I think it's safer for now to go with the block UIDs in order not to introduce it as a breaking change and in a separate PR/PLIP we can talk about changing the heading ids to more friendly names (maybe the same way we do with the Override the TOC entry checkbox).

"breaking the toc" is not a blocker, we can fix the toc block.
It would represent a major breaking change for Volto, though.

@tiberiuichim I checked out this branch and I quite like it! I guess we always thought too hard about how an editor could enter the anchor ID in the UI. Though, this solution is both elegant and simple. The only possible downside that I see is that links can break easily when editors change a headline.

@tisto This feature is also available as an add-on until it hits Volto Core. See: https://github.com/eea/volto-anchors

I was also thinking about the adaptability of this feature, whether make it available per content-type, or per block?

The only possible downside that I see is that links can break easily when editors change a headline.

Yes, it's a downside. But I would argue that we shouldn't focus too much on this type of scenario, it's counterproductive. Honestly, because this PR is modeled after the github readmes, it happened to me many times that I arive at a document where the link is no longer valid. And it's frustrating, yes, but in reality I could scan the destination document to find the info I was looking for. Or I could look at the URL fragment and understand what the new section would be. Or the document was fully refactored, split into multiple pages, so the link would no longer be valid anyway.
What we're gaining is simplicity for the "happy case".

@tiberiuichim would it be possible to enable/disable this via a feature toggle? This would give us some flexibility in which Volto version we could ship this feature.

@tisto sure!
Even in its current form, it's ultimately configurable, as we're replacing the way the hx elements are rendered, in the config:

@tiberiuichim awesome!

🎉


Added board definition for upcoming Pimoroni servo driver

A teaser can be seen here 🙂
https://twitter.com/i/status/1489298380270575616
With any luck we'll be launching next week

Looks like you need to rebase something, as this PR shouldn't be changing pwm.h ?

Looks like you need to rebase something, as this PR shouldn't be changing pwm.h ?

Oh, my bad. Guess I branched from the PWM stuff I was doing earlier rather than develop. Fixed it now.


chore(main): release 3.6.1

:robot: I have created a release beep boop
3.6.1 (2024-04-24)
Bug Fixes

update Jesus Fest song lyrics, event images (e66570c)
update Jesus Fest song lyrics, event images (#106) (c4e0418)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Hessuew/flamethefreeze/releases/tag/v3.6.1 :sunflower:


feat(linters/phpcs): pass file path to phpcs (#137)

Pass the file path to PHPCS via --stdin-path to support code sniffs which rely on the file path being available.
Fixes #137

Thanks!


Fix handling of requests with more content than given in content-length

Currently if a request has a larger body than given in content-length we get the error:
[error] GenServer #PID<0.720.0> terminating
** (FunctionClauseError) no function clause matching in :prim_inet.recv0/3
    :prim_inet.recv0(#Port<0.22>, -25, 60000)
    (thousand_island 1.0.0-pre.5) lib/thousand_island/socket.ex:59: ThousandIsland.Socket.recv/3
    (bandit 1.0.0-pre.9) lib/bandit/http1/adapter.ex:346: Bandit.HTTP1.Adapter.read/5
    (bandit 1.0.0-pre.9) lib/bandit/http1/adapter.ex:234: Bandit.HTTP1.Adapter.read_req_body/2
    (plug 1.14.2) lib/plug/conn.ex:1153: Plug.Conn.read_body/2
    (phx_test 0.1.0) lib/phx_test_web/controllers/some_controller.ex:11: PhxTestWeb.SomeController.a/2
    (phx_test 0.1.0) lib/phx_test_web/controllers/some_controller.ex:1: PhxTestWeb.SomeController.action/2
    (phx_test 0.1.0) lib/phx_test_web/controllers/some_controller.ex:1: PhxTestWeb.SomeController.phoenix_controller_pipeline/2
    (phoenix 1.7.6) lib/phoenix/router.ex:430: Phoenix.Router.__call__/5
    (phx_test 0.1.0) lib/phx_test_web/endpoint.ex:1: PhxTestWeb.Endpoint.plug_builder_call/2
    (phx_test 0.1.0) deps/plug/lib/plug/debugger.ex:136: PhxTestWeb.Endpoint."call (overridable 3)"/2
    (phx_test 0.1.0) lib/phx_test_web/endpoint.ex:1: PhxTestWeb.Endpoint.call/2
    (phoenix 1.7.6) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
    (bandit 1.0.0-pre.9) lib/bandit/pipeline.ex:110: Bandit.Pipeline.call_plug/2
    (bandit 1.0.0-pre.9) lib/bandit/pipeline.ex:25: Bandit.Pipeline.run/6
    (bandit 1.0.0-pre.9) lib/bandit/http1/handler.ex:27: Bandit.HTTP1.Handler.handle_data/3
    (bandit 1.0.0-pre.9) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
    (bandit 1.0.0-pre.9) /Users/kevin/Developer/repos/phx_test/deps/thousand_island/lib/thousand_island/handler.ex:399: Bandit.DelegatingHandler.handle_continue/2
    (stdlib 5.0.1) gen_server.erl:1067: :gen_server.try_handle_continue/3
    (stdlib 5.0.1) gen_server.erl:977: :gen_server.loop/7
Last message: {:continue, :handle_connection}
State: {%ThousandIsland.Socket{socket: #Port<0.22>, transport_module: ThousandIsland.Transports.TCP, read_timeout: 60000, span: %ThousandIsland.Telemetry{span_name: :connection, telemetry_span_context: #Reference<0.513344876.2758541319.164812>, start_time: -576460742372031167, start_metadata: %{remote_address: {127, 0, 0, 1}, remote_port: 51244, telemetry_span_context: #Reference<0.513344876.2758541319.164812>, parent_telemetry_span_context: #Reference<0.513344876.2758541316.161650>}}}, %{opts: %{websocket: [], http_1: [], http_2: []}, plug: {Phoenix.Endpoint.SyncCodeReloadPlug, {PhxTestWeb.Endpoint, []}}, websocket_enabled: true, handler_module: Bandit.InitialHandler, http_1_enabled: true, http_2_enabled: true}}

because this will get negative, since we do not limit the first read.
This adds a handler for negative values and only returns the amount of bytes given in content-length as body.

Hi @moogle19
I'm afraid that's happened because line 260 should be body_remaining = body_remaining - result_size + byte_size(buffer). Could you try that please?

@asakura
No that is already to late.
This is called before:
https://github.com/mtrudel/bandit/blob/5268c2eb5e8a86c0583b815c9918b829e0a88d88/lib/bandit/http1/adapter.ex#L232-L235
where to_read will be negative, since body_remaining is negative and we call min/2 there.

Clear. read_available/2 might be called one or more times in do_read_headers/5. That would make it to return req with more data in req.buffer than given in content-length.
Should we just discard those extra bytes after chopping req.buffer or keep them in req.buffer? And why would someone send more data than they would announce in content-length? Is that HTTP Pipelining?

Should we just discard those extra bytes after chopping req.buffer or keep them in req.buffer?

I wasn't quite sure about keeping the additional data in the buffer or not. Maybe @mtrudel could help here.

And why would someone send more data than they would announce in content-length? Is that HTTP Pipelining?

Not sure why someone would do it. I just noticed it while testing the broken multipart requests and thought it should be fixed.

I think @mtrudel comments is related here https://github.com/mtrudel/bandit/pull/166#discussion_r1228125555

I think the best path forward here, rather than trying to reason about all of these different cases, is to get some tests covering the various 'bytes available vs requested' scenarios. As you're both well aware, this stuff is incredibly tricky, and fixing one problem often creates another. I was going to write such tests up on the heels of the bug fixed in #172, and seeing this one hanging out just increases the need for them IMO.

There's some pretty comprehensive refactoring / test coverage at #184 that will make this a whole lot easier to reason about. Let's revisit this once that lands

@moogle19 I'd started down the same path you did here, thinking that if the client sends more than the content length says they should that we should just discard the rest (this was even the spirit of the skipped test I'd put up in #184 that I was thinking we'd handle here). However, I think that this is wrong for a couple of reasons:

A properly behaved client should never do this. We should be surfacing this misbehaviour somehow
It's also perilously close to request smuggling, and we ought to make that very apparent to the user

I've pushed up a branch that handle this at https://github.com/mtrudel/bandit/tree/mt_handle_too_large_bodies if you want to crib from it. I don't want to mess with your PR too much considering it's branched from before #184 landed.
LMK what you think!

@mtrudel
Do we want to support HTTP Pipelining in the future?
If not, I think we can use your version in mt_handle_too_large_bodies.
Since HTTP Pipelining is disabled in all major browsers, I think it is okay if we don't support it.
(I tested HTTP Pipelining with Cowboy and Go (at least how I think it is working 😆  ):
Cowboy seem to support it, but only if the requests are not transmitted as a whole.
Go supports HTTP Pipelining even when 2 requests are submitted as a whole)
This works for Go, but not for Cowboy:
nc -c localhost 8080 <<EOF
GET / HTTP/1.1
Host: localhost:8080
Content-Length: 0
User-Agent: curl/7.54.0
Accept: */*

GET / HTTP/1.1
Host: localhost:8080
Content-Length: 0
User-Agent: curl/7.54.0
Accept: */*

EOF

doing
nc -c localhost 8080

and than pasting the 2 GET-Requests in there works for Cowboy and Go.
Bandit discards the second request.

Pipelining is fundamentally incompatible with the Bandit process model of 'one process per connection'. This is one place where Cowboy's 'one process per connection and one per request within the connection' process model is more flexible. However, I deliberately don't want to go down that road as 1. having half the process count for HTTP/1 requests is a huge win, and 2. pipelining is really tricky to pull off for almost zero benefit.
All of which is to say that I'm not losing any sleep about not having support for it.

Closed in favour of #190


libedit: 20180525-3.1 -> 20181209-3.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libedit/versions.
meta.description for libedit is: '"A port of the NetBSD Editline library (libedit)"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 20181209-3.1 with grep in /nix/store/a1n4mp717ixcvilvvf16zcz0i9h4k5as-libedit-20181209-3.1

directory tree listing: https://gist.github.com/dcd2a5cf6107cdc6ae800044cfabff94

du listing: https://gist.github.com/88e0244e5c323895dfaed3630751c184

Rebuild report (if merged into master) (click to expand)

5842 total rebuild path(s)
1957 package rebuild(s)
1951 x86_64-linux rebuild(s)
1683 i686-linux rebuild(s)
578 x86_64-darwin rebuild(s)
1630 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
AgdaSheaves
AgdaStdlib
TotalParserCombinators
abiword
adapta-gtk-theme
aesop
afew
agdaBase
agdaIowaStdlib
agdaPrelude
ahoviewer
akonadi
akregator
alacritty
alarm-clock-applet
alot
altcoins.aeon
altcoins.dcrd
altcoins.dcrwallet
altcoins.ethabi
altcoins.parity
altcoins.parity-beta
altcoins.polkadot
altcoins.stellar-core
altcoins.wownero
altcoins.zcash
amarok
amarok-kf5
android-studio
android-studio-preview
androidStudioPackages.beta
androidStudioPackages.canary
androidStudioPackages.dev
androidStudioPackages.preview
androidStudioPackages.stable
anki
ape
apeClex
appimage-run
appleseed
apvlv
aravis
arc-theme
areca
ario
ark
arx-libertatis
asc-key-to-qr-code-gif
asciidoc-full
asciidoc-full-with-plugins

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/a1n4mp717ixcvilvvf16zcz0i9h4k5as-libedit-20181209-3.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A libedit https://github.com/r-ryantm/nixpkgs/archive/a9aff515868bd099d1e04e9058f904d93e324be6.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/a1n4mp717ixcvilvvf16zcz0i9h4k5as-libedit-20181209-3.1
ls -la /nix/store/a1n4mp717ixcvilvvf16zcz0i9h4k5as-libedit-20181209-3.1/bin

This is fine, but since there's a new version I'm closing in favor of this: #58234


Add stop streaming button to Chat UI

Summary

Fixes #449
Checklist

[x] My code follows the code style of this project and passes make format.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] My change has adequate unit test coverage.

Reviewing pull request by @homanp.
Overall, the changes in the pull request seem to be related to handling loading state and aborting requests in the chat functionality of the application. Here are my observations:

In chat.tsx:

Added isLoading state variable to track the loading state of the chat.
Added setIsLoading function to update the loading state.
Added abortControllerRef to keep track of the AbortController instance.
Added abortStream function to abort the ongoing request and reset the loading state.
Modified the onSubmit function to handle aborting the previous request, creating a new AbortController, and updating the loading state.
Modified the onclose function to update the loading state when the event source connection is closed.
Modified the onmessage function to update the loading state when a message is received.

In prompt-form.tsx:

Added onStop prop to the PromptForm component.
Added a stop button with the RxStop icon to stop the ongoing request when the chat is loading.

In chat.tsx (in the share directory):

Added isLoading state variable to track the loading state of the chat.
Added setIsLoading function to update the loading state.
Added abortControllerRef to keep track of the AbortController instance.
Added abortStream function to abort the ongoing request and reset the loading state.
Modified the onSubmit function to handle aborting the previous request, creating a new AbortController, and updating the loading state.
Modified the onclose function to update the loading state when the event source connection is closed.

Overall, the changes look good and seem to improve the handling of loading state and request aborting in the chat functionality. The addition of the stop button in the prompt form is also a useful addition. Good job, @homanp! 👍


Created Post A Blood Request Page and linked that with other pages

Created "Post a Blood Request" Page

Kind of change this PR introduce : Post A Blood Request Page
I had created another page on which user will be redirected as he/she will click on Post a Blood Request.
In that page I had created a form so user can enter some details like name, blood group, address etc.

Issue it resolves : #31

Screenshots & GitHub Page Link : Link to the branch where I had performed Changes
Screen Shot :

Here ig github page link @2024-SANDHYA
github page

@2024-SANDHYA i worked on your suggested changes. kindly check it again.
Here is a link of github page

Okay.
Will work again


Exporting title

[x] I have verified that I am on the latest release of BBT (https://github.com/retorquere/zotero-better-bibtex/releases/latest) and Zotero
[x] I am posting a single question, bug or feature request
[x] I have included a descriptive subject of the problem
[x] I am available for follow-up questions and testing

Bug classification
When exporting a reference that contains a special character in the title word (specifically "Grey's Anatomy"), the special character (apostrophe) is added to the citation key (i.e. standring_gray's_2016 instead of standring_grays_2016). This does not cause an error in Better BibLaTeX itself, but does cause an error when trying to use the resulting .bib file.
For names with special characters such as apostrophes, these are automatically removed for the citation key, the same could be done for the title word? It can be overcome manually by removing the special characters and pinning the citation key.
My full citation key is:
[0][auth:lower:postfix,_][Title:lower:skipwords:select,1,1:postfix,_][year]

You will want to use [0][auth:lower:postfix,_][Title:lower:skipwords:select,1,1:clean:postfix,_][year]. :clean is implied for lowercase fields (functions), but not for capitalized fields (property access).
BTW, I usually see the [0] at the end (because it's a postfix), but technically it doesn't matter where you put it.

Perfect, thanks a lot.

bad label-gun, down!


New Files and Folders

I have added new files and folders to our project. Kindly look into it

DONE

seri da baadeyy


Zcu111- flux

PR #9 was becoming difficult to handle, I was trying to implement both multiplex and  flux support in the same PR and this was probably a bad idea. Also, problem in multiplexing were stopping progress on flux.
This PR should just focus on writing a driver for 1 single flux-tunable qubit.
Checklist before merge:

[ ] Reviewers confirm new code works as expected.
[ ] Tests are passing.
[ ] Coverage does not decrease.
[ ] Documentation is updated.

I changed base to isolate which are the changes original in this PR, essentially to avoid reviewing twice #11.
If then you want to merge in a different order, that's perfectly fine by me.

@rodolfocarobene, a frequent approach for logging is setting the configurations globally, and actually log in each file on __name__.
I would suggest doing this for the main logger, you can set the file where to log globally (they will all use the same). You can set the global configurations even __main__.py, as you were doing, since it is the entry point: once set there, they will be available for all the loggers.
However, if you want to have a separate logger, you can consider two alternatives:

if used in a single file, you could define there
otherwise, you could use a log.py file, and import from this file

The configure_logger() function could be defined in log.py in any case, since it will be reused by both the loggers anyhow.

@AleCandido I added a log.py file with the two log-related functions.
I didn't yet defined the global logging and use it with __name__... Is there an advantage of using it or it's a convention? I suppose that the main advantage is to be able to see which file is logging what, but in this project it doesn't seem particularly useful.

Hi @AleCandido, thanks for all the reviews (here and in qibolab). Is something still missing?
I wanted to wait for approval before testing it also with the rfsoc4x2 :-)


ColorPicker

Add simple color-picker.
K20 has built-in. We need general solution.
See https://github.com/heppen-dev/skin.blue.twilight/blob/master/xml/Custom_1117_ColorPicker.xml

Issue is extended to be a StylePicker.


Strange behavior for WS-EUK01/WS-EUK02 Aqara Wall Switches - Not pairing with Gateway 3 ZNDMWG02LM

I tried pairing a brand new wall switch WS-EUK01 & WS-EUK02 and the 3 beep sound comes at the end of the pairing. (incompatible device)
I have the HUB ZNDMWG02LM with 1.4.6_0012 SW. What i find strange is that the HUB actually pairs it, but unpairs it after.
Tried with the app also on mainland CHINA but with most recent xiaomi IOS App, doesn't see the hub anylonger on CHINA servers.

What can i do aside from selling these switches? Thanks!

hub can be connected to any region and zigbee3 devices will pair only on cn region.

https://github.com/AlexxIT/XiaomiGateway3#regional-restrictions


Standardize npm

Coverage remained the same at 100.0% when pulling ebf57b5781e1d72f59be4bdf40a568daad0dc058 on standardize_npm into 56ee387c6de5a298048f1d6277298fe775751cb8 on master.


Add user_ref method to optin messages

This makes it easier to work with the Checkbox plugin (https://developers.facebook.com/docs/messenger-platform/plugin-reference/checkbox-plugin).

@jgorset I don't have admin access to the repo anymore. I think it removed during the migration from the hyperoslo org.

@jgorset please ignore my comment. It was an auth issue.


Web-Antivirus "Pishing"

If my friends (and me) try to connect to the site my webanti virus gives me this:

Kaspersky
PURE 3.0
ACCESS DENIED
The access for the requested website is not allowed
URL-address:
{LINK REMOVED}
Has been blocked by Web Anti-Virus
Reason: Phishing address
Click here if you consider that the website has been mistakenly blocked.
Detection Method: Databases
Message posted on: 19:35:31

How can I fix this and why does it tells me that

What url lol...

http://csgamble.tk

Well, that's not the site's issue... I'm assuming it just blocks .tk domains (?) or that domain in particular is on some sort of blacklist...

Hm okay, I will test it tomorrow !

I checked it with an .de domain but I didnt work too^^...

Again, I'm guessing the domain is on some kind of blacklist for whatever reason. Do some more testing and see if it's all CSGOWinBig-like sites or if it's just your sites.

Lol .de is the German domain and my Web Anti-Virus is from a german company so I think not that ".de" is on a blocklist


fix: make LDBC metadata consistent in experiment store with other storages

What do these changes do?

This pr includes:
In storage:

make the LDBC metadata consistent in experiment store and other storages.
additionally, add a lsqb_metadata for lsqb queries

In query engine:

update query schema in GIE correspondingly
update ci tests
update queries in benchmark

Related issue number

Fixes #3047

Codecov Report

Merging #3048 (9ad1e29) into main (02dd978) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #3048   +/-   ##
=======================================
  Coverage   42.67%   42.67%
=======================================
  Files         100      100
  Lines       10713    10713
=======================================
  Hits         4572     4572
  Misses       6141     6141

Continue to review full report in Codecov by Sentry.

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


fix(router): add parsing for connector_request_reference_id env

Type of Change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description
add parsing for connector_request_reference_id env
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?
Compiler guided
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

How did you test it?
Compiler guided

you should be able to test this via running it locally with env vars since compiler won't point much here


Metadata mapping OpenAPI/gRPC for Bool and Struct

Resolves #83
Description
Satisfies acceptance criteria of #83
How Has This Been Tested?
go test ./internal/...

Merge criteria:

[x] The commits and have meaningful messages; the author will squash them after approval or will ask to merge with squash.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

@tarilabs I think you should run go mod tidy otherwise there are some uncommmitted changes


Fix constructors

What's wrong
We have the weird nameRegistry thing. So every time we deploy a fraudproof contract, we have to do this:
deploy nameRegistry
deploy ParamManager
deploy governance
deploy merkleUtils
deploy tokenRegistry
await nameRegistry.register(ParamManager.governance, governance.address)
await nameRegistry.register(ParamManager.merkleUtils, merkleUtils.address)
await nameRegistry.register(ParamManager.tokenRegistry, tokenRegistry.address)

That's very annoying and bad for unit tests.
How it is fixed
Move the existing constructors to inherit contracts in contracts/prod. We can use much simpler constructor in tests.
// ./contracts/prod
contract TransferProduction is Transfer {
    constructor(_registry){
        // complicate setup with nameRegistry and ParamManager
    }
}

// ./contracts/test
contract TestTransfer is Transfer {
    constructor(merkleUtils, governance){
        // simple setup
    }
}

Umm..not sure if this is a good standard to follow, do any projects do this right now?

per offline discussion, we accept this as a mid-term solution.


Proposal: split up mismatch.py

Is your feature request related to a problem? Please describe.
I've been working with the spectrum unit of pvlib a fair bit recently for my GSoC project and I find that the pvlib/spectrum/mismatch.py file currently contains a range of functions, several of which are not directly related to spectral mismatch.
Current functions in pvlib/spectrum/mismatch.py:
pvlib.spectrum.get_example_spectral_response
pvlib.spectrum.get_am15g (deprecated v0.11, removed 0.12)
pvlib.spectrum.get_reference_spectra
pvlib.spectrum.calc_spectral_mismatch_field
pvlib.spectrum.spectral_factor_caballero
pvlib.spectrum.spectral_factor_firstsolar
pvlib.spectrum.spectral_factor_sapm
pvlib.spectrum.spectral_factor_pvspec
pvlib.spectrum.spectral_factor_jrc
pvlib.spectrum.sr_to_qe
pvlib.spectrum.qe_to_sr
Describe the solution you'd like
I am wondering whether it might help organise the functions more clearly if we were to split up this file into several subpackages, still within pvlib/spectrum.
One suggestion:

pvlib/spectrum/mismatch.py
--> covers the effect on PV performance; calculations of spectral mismatch (atmospheric, field, indoor)

pvlib/spectrum/spectral_irr.py
--> covers the outdoor meteorological side of things; all spectral irradiance calcs, e.g. get_reference_spectra, possibly move spectrl2 into here as well

pvlib/spectrum/spectral_resp.py
--> covers the PV characteristics side of things, e.g. sr_to_qe / qe_to_sr calculations, get_example_spectral_response

I think this framework fits with what we have currently and, in terms of future development, I see scope for expansion of spectral_irr.py in particular to include for example, function to calculate spectral indices such as the average photon energy. I can see mismatch.py being expanded to include variants of the standard spectral mismatch factor, or alternatives such as the (weighted) useful fraction.
Describe alternatives you've considered
Could just rename mismatch.py entirely to broaden its scope, but I think creating a few files here instead would be better for organisation and future development.
Additional context
The suggestion above is just one idea to illustrate what I am thinking about. I am keen to hear other views on this idea.

Is splitting pvlib/spectrum/mismatch.py a good idea?
If yes:
Alternative categorisation structure?
Alternative file names?

I'd be happy to work on this if we reach a consensus. I'm looking forward to hearing your views.

You mean spectrum.py? Why not make it a sub-package?

pvlib/spectrum/mismatch.py
pvlib/spectrum/irradiance.py
Etc

I’m -1 on using a pvlib sub package above spectrum called mismatch because it has many meanings, like electrical mismatch or array level mismatch etc
another idea instead of mismatch usepvlib.spectral.shift? “Spectral shift” is also sometimes used

I’m -1 on using a pvlib sub package above spectrum called mismatch because it has many meanings, like electrical mismatch or array level mismatch etc

@mikofski I don't mean to create a package above spectrum called mismatch. I agree that would not be a good idea. I mean splitting up the existing mismatch.py into several subpackages, all definitely still within spectrum.

pvlib/spectrum/mismatch.py
pvlib/spectrum/irradiance.py
Etc

This is also what I meant. So what we have currently is:

pvlib/spectrum/mismatch.py
pvlib/spectrum/spectrl2.py

and what I was thinking about is taking some functions out of mismatch.py and putting them into some new subpackages (possible new subpackage names in the original post) still within within pvlib\spectrum
I hope this makes my suggestion clearer than in the original post 😅

Thanks for your suggestions @echedey-ls

and put groups 2 & 3 into a new responses.py file

On this point, what is your thinking behind combining the groups?
I lean more towards separate groups since I think the functions would be sufficiently distinct from one another. Group 2 is based on spectral irradiance data, while group 3 is based on the PV device.  Just for example, I don't think a function to calculate a parameter such as the average photon energy (to characterise a spectral irradiance distribution) would fit in a responses.py package, but a spectral response curve or associated response curve analysis functions would.

Another point, do we need deprecations for this?

Good point. I am not sure --- @AdamRJensen @kandersolar ?

On this point, what is your thinking behind combining the groups?

Mainly because the main topic seems that they are related to calculating spectral mismatch or response from an SR and a spectrum. Also, because the prefix spectral in spectral_irr.py and spectral_resp.py seems redundant since those files will be under pvlib.spectrum. And from the contractions irradiance and response, irradiance is somewhat already taken:
from pvlib import irradiance
from pvlib.spectrum import irradiance

This wouldn't work if a file is named irradiance.py under spectrum/. But yeah, we could find some other name I guess.
And then we come to the first point, which is why split things that are going to be used for a common purpose.
Anyway, not a strong opinion; I'm grateful that the base code gets broke down into smaller and maintainable pieces.

Because the names of these sub-files aren't seen by the user (functions are imported from pvlib.spectrum), then we're more lenient on using longer filenames. Another response for the prefix, as pointed out by @echedey-ls, is that there's already a file named irradiance.py.
Given that the functions are advertised in the documentation as imported from pvlib.spectrum, then we can justify not having a deprecation cycle for the filename changes.
As we discussed during today's GSoC group meeting, then I think the preferred naming is:

spectral_response.py
spectral_irradiance.py
spectral_mismatch.py

Also, don't forget to update the __init__.py file.

@AdamRJensen can you write a one sentence description of each of these modules? For those not at the GSoC meeting.

@AdamRJensen can you write a one sentence description of each of these modules? For those not at the GSoC meeting.

@RDaxini could you do that? I'm back in the saddle peddling my way through Greece

So in the GSoC meeting we talked more specifically about the naming and combining subpackages or not. Since the names are similar to the original post suggestion, my understanding is the content is broadly similar too:

pvlib/spectrum/spectral_mismatch.py
--> covers the spectral effect on PV performance, ie models to calculate spectral mismatch
pvlib/spectrum/spectral_irradiance.py
--> covers the meteorological ('off/non-PV') aspect, ie spectral irradiance calculations such as get_reference_spectra, or new functions such as get_ape (average photon energy)
pvlib/spectrum/spectral_response.py
--> covers the PV side of things, e.g. sr_to_qe/qe_to_sr calculations, get_example_spectral_response

ps welcome to join our fun meetings next time @cwhanse :D

Thanks, that clarifies for me the difference between spectral_mismatch and spectral_response.
I'll let you know if I need another meeting :)

I recommend against repeating "spectral" in the module name - they're already in the spectrum namespace! There's no conflict unless a user tries to import in the way that @echedey-ls demonstrated and the answer for that user is "don't do it that way, instead do something like import pvlib.spectrum.irradiance as spectral_irradiance". And don't forget that many of the function names have "spectral" in them too.

Should we vote?
Thumbs up this comment if you're for the spectral_ prefix, thumbs down this comment if you're against the prefix?

Should we vote? Thumbs up this comment if you're for the spectral_ prefix, thumbs down this comment if you're against the prefix?

@RDaxini I think we can conclude that there is a favor for nixing the prefix, you can update #2136 accordingly

@AdamRJensen ok will do. No computer and limited Internet atm, will do it when I'm back at the end of next week.


Trim in .net 6 breaks self contained single file publish mode

Describe the bug
References required for file dialogs will break. There's an exception when trying to use them.
To Reproduce
Steps to reproduce the behavior:

Run an avalonia app with a folder dialog
publish it with .net 6 with trim enabled
see the exception

Desktop (please complete the following information):

OS: Windows
Version 0.10.8

Additional context
Work around, add these settings into your project file
<TrimMode>copyused</TrimMode>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>

this will prevent the needed files from being trimmed, and prevent com from being disabled which is needed.

I use the latest version (0.10.10). Actually, this problem occurs with OpenFileDialog as well. In Linux (Debian), IL trimming doesn't break open folder/file dialog.

I think we can create a PR adding a trim options to some types/assemblies?
https://docs.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options

@luthfiampas problem with dialog was fixed (not yet released). But drag-n-drop might have the same problem.

I've tested and can confirm that drag-n-drop has the same problem.

There are more places:
Exception Info: System.TypeLoadException: Could not load type 'System.StubHelpers.InterfaceMarshaler' from assembly 'System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
   at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointerInternal(IntPtr , Type )
   at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer[TDelegate](IntPtr )
   at System.Runtime.InteropServices.FunctionWrapper.<>c__DisplayClass0_0`1.<Load>b__0()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode )
   at System.Lazy`1.ExecutionAndPublication(LazyHelper , Boolean )
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at System.Runtime.InteropServices.FunctionWrapper`1.get_Delegate()
   at System.Drawing.SafeNativeMethods.Gdip.GdipCreateBitmapFromStream(IStream stream, IntPtr& bitmap)
   at System.Drawing.Bitmap..ctor(Stream stream, Boolean useIcm)
   at System.Drawing.Bitmap..ctor(Stream stream)
   at Avalonia.Win32.CursorFactory.LoadSystemDrawingBitmap(IBitmapImpl bitmap) in C:\Work\Projects\Avalonia\src\Windows\Avalonia.Win32\CursorFactory.cs:line 114

Is this fixed in 0.10.17?

You can workaround it by preserving System.StubHelpers.InterfaceMarshaler

Is this fixed? The avalonia templates in VS link to this issue but this is marked as completed? I've tried to publish a self contained trimmed (link) executable but it crashes upon start. Im assuming its a case that the work has been done but just not released?

It was fixed in 11.0 preview.


Fix failing parallel-matrix test

@firecow there was still a small issue due to the : in the job name now. I have fixed it in #854 as well as added a test to make sure the jobs run successfully


Change internal name to wee_slack (or just slack)

Before 1.0, we should rename so you can do /python reload slack or similar. This should match the file name so the same name is given to /python load and /python reload

@rawdigits, you had opinions about what the exact name should be. I'm happy to implement whatever we decide on, should we go with wee_slack for the extension name and file name? Ideally, I'd want to go with slack.py and slack, but I understand there might be trademark concerns.

i think i prefer to keep it wee_slack and wee_slack.py. let's do this at 1.0.

As discussed on IRC, since it became slack.py when pulled into weechat's script collection, let's use the same.

It's been changed to slack internally at least now, we still need to rename the "outer" module, eventually.

I have a PR in the works that starts the ball rolling on breaking wee_slack.py apart into smaller, more tractable modules, and it's already configured to emit slack.py as a build artifact. As a side effect it cleans up a bunch of places in the tests that call the module wee_slack rather than slack.


Delete multiple textures/materials

Sometimes it would be nice to be able to delete multiple textures/materials at once, by selecting them for example.

Hi
I think the hole asset explorer needs a big review, regarding file selection maybe folder organization etc.
Right now im a bit busy (due to work) but as soon as i finish the console and AR implementation i can pick this up.
Thanks a lot for the suggestion.
Cumps

Sounds good!


QFUF does not support objects in preconditions that are not in parameters

This is a corner case where an action has variables in the preconditions which are not used in the parameters, which makes the encoding fail.

Here is one action:
  (:action move-train
   :parameters (?v - vehicle ?p1 - place ?p2 - place)
   :precondition (and (is-train ?v)
                      (connected-by-rail ?p1 ?p2)
                      (is-at ?v ?p1)
                      (>= (available coal ?v) 1))
   :effect (and (not (is-at ?v ?p1))
                (is-at ?v ?p2)
                (decrease (available coal ?v) 1)
                (increase (pollution) 1)
        ))

Domainfile
Problemfile

I think this is the same as #16. It now complains about initial state having some fluents with no value set, but that's another story :)
Feel free to reopen if there's something wrong


Is the application version information missing the processing logic of rollback status？

Describe the bug
The status column in the version list information is missing the processing of the rollback status, so the status display is empty
To Reproduce
Steps to reproduce the behavior:

Create an application
Add a suspend workflow
Click rollback after deployment
See error

Expected behavior
Screenshots

KubeVela Version
1.7.4

Fixed by #696


Feature/cluster pipeline rebas

I think this one's ready now, I've been using it now for a while and don't have anything to add.

@dim I tried to rebase this branch on master, but forgot to pull you latest changes first... As a result your last commits are lost. Can you please push them again?

Force-pushed again

I think we should handle ask/moved in the Pipeline. @dim what do you think?

Hm, we can't move ask/moved to the Pipeline, because we don't have access to the slots metadata there.

@vmihailenco please check, I'd prefer if you could merge this soon(ish)

I have simpler approach to ClusterPipeline, but I am waiting for https://github.com/go-redis/redis/pull/82 to get merged. Sorry that I did not let you know.

@dim PTAL.

That's it, not much to add. Looks good otherwise :)

@dim addressed all comments. Merging.


Bug in SELECT query

I faced a weird issues with SELECT query.
Below query returns 2 records, where as it should have returned 0 record.
 In below query, just note that I made "isApproved = true" as first condition in WHERE clause where as it was the last condition in above query, otherwise both queries are same and should give same result.

Luigi


Right now, clicking the link will take you to its course page. We can customize this later to be like, show the course info on hover or something.
Also, it needs more style adjustments.

lgtm

nicely done


Extremely low P value while training on BDD100K

Hello,
Thank you for the great work on this project. While training on BDD100K, the Precision value for object detection I get is extremely low.
Driving area Segment: Acc(0.967)    IOU (0.832)    mIOU(0.897)
Lane line Segment: Acc(0.626)    IOU (0.250)  mIOU(0.617)
Detect: P(0.049)  R(0.885)  mAP@0.5(0.728)  mAP@0.5:0.95(0.391)

Am I doing something wrong? The other values match the values given in the readme, but Precision is not given so I don't have a reference.

Hi @naruarjun @Riser6
Where is this logic?
I am getting below results after training for 200 epochs on BDD100k dataset (13 classes):
Driving area Segment: Acc(0.968)    IOU (0.830)    mIOU(0.896)
Lane line Segment: Acc(0.585)    IOU (0.462)  mIOU(0.724)
Detect: P(0.769)  R(0.193)  mAP@0.5(0.177)  mAP@0.5:0.95(0.094)

As you can see, I am getting very low recall and mAP values. Do you know what could be wrong?

Hi @naruarjun @Riser6
Where is this logic?
I am getting below results after training for 200 epochs on BDD100k dataset (13 classes):
Driving area Segment: Acc(0.968)    IOU (0.830)    mIOU(0.896)
Lane line Segment: Acc(0.585)    IOU (0.462)  mIOU(0.724)
Detect: P(0.769)  R(0.193)  mAP@0.5(0.177)  mAP@0.5:0.95(0.094)

As you can see, I am getting very low recall and mAP values. Do you know what could be wrong?

Did you solve it? I am using your 13-class YOLOP.

@s0966066980
As per my experiments, not using the focal loss (setting _C.LOSS.FL_GAMMA to 0 in default.py) improves recall value and decreases precision.
When I set it to 1.5 or 2.0, recall was < 0.2, and when I set it to 0.0, recall was ~ 0.32. This is still not good, but since the authors haven't shared the results, I don't know what should be the target value.


Feature/upload test results

:tada: This PR is included in version 5.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Biome internal mappings (not new biome types)

Signed-off-by: liach<EMAIL_ADDRESS>

@Earthcomputer Requesting another review.

I still don't like the name getNoisePenalty. It is a distance in 4D space, which is then adjusted by rarityPotential. A name like getDistance, getNoiseDistance or getVoronoiDistance is better. If you see it necessary, put the fact that it's adjusted by the rarityPotential, which is not intuitive as an axis in the 5th dimension, in the Javadocs instead.

@Earthcomputer fixed.


single slice cluster running

Hi, Now I have got the result of some sample.  and the result seems great. The tool may match my data good.  Now I  have one sample and no duplicate samples。 Is there any suggestions for me to run single sample.

Hi forrwill,
Thanks for your interest in our work. Unfortunately, stMSA is designed to identify the joint domain for multi-slice data, and some components we designed cannot be used in the single-slice scenario. For representation learning for single-slice ST data, you may try tools specifically designed for single-slice ST domain identification.
Han

Hi forrwill,
Thanks for your interest in our work. Unfortunately, stMSA is designed to identify the joint domain for multi-slice data, and some components we designed cannot be used in the single-slice scenario. For representation learning for single-slice ST data, you may try tools specifically designed for single-slice ST domain identification.
Han

Thank you very much!


Issue on page /notebooks/sax/01_sax.html

SAX simulations seem wrong after updating tidy3d mode solver with conformal mesh
There is an issue on the cascaded MZI filter

https://gdsfactory.github.io/gdsfactory/notebooks/workflow/3_cascaded_mzi.html

https://gdsfactory.github.io/gdsfactory/notebooks/sax/01_sax.html#id1
@lucas-flexcompute
@flaport
@SkandanC

I believe the problem is that we're solving each wavelength in a different grid. Because of the grid differences, each computation of the effective index will have a different quantization error. Here's what I mean:
wavelength = numpy.linspace(1.5, 1.6, 10)
n0 = []

for lda in wavelength:
    wg = waveguide.RectangularDielectric(
        wavelength=lda,
        core_width=0.5,
        core_thickness=0.22,
        core_medium=td.Medium(permittivity=3.48**2),
        clad_medium=td.Medium(permittivity=1.0),
        box_medium=td.Medium(permittivity=1.45**2),
    )
    n0.append(wg.n_eff)

wg1 = waveguide.RectangularDielectric(
    wavelength=wavelength,
    core_width=0.5,
    core_thickness=0.22,
    core_medium=td.Medium(permittivity=3.48**2),
    clad_medium=td.Medium(permittivity=1.0),
    box_medium=td.Medium(permittivity=1.45**2),
)

fig, ax = pyplot.subplots(1, 1)
ax.plot(wavelength, [n.sel(mode_index=0).item() for n in n0], label="Independent")
ax.plot(wavelength, wg1.n_eff.sel(mode_index=0).values, label="Group")
ax.set_xlabel("Wavelength")
ax.set_ylabel("Effective index")
ax.legend()

Unfortunately, the waveguide plugin in gdsfactory accepts only a single wavelength, not a range, so we end up with noisy data that is not appropriate for interpolation with jax/sax. I implemented like this because the previous version was also single-wavelength, if I'm not mistaken.
The best solution seems to be to change the waveguide plugin in gdsfactory to accept multiple wavelengths in a single solver run (which might also be a little more efficient). The only issue I'm not sure how to reconcile is to get the material indices including dispersion. What we do now:
n_core = get_material_index(self.core_material, self.wavelength)
core_medium = td.Medium(permittivity=n_core**2)

because the material parameter can be passed as a name. Maybe we could accept a tidy3d material directly? Is there a way to get the tidy3d material directly from the name (maybe something like get_tidy3d_material(str))?

Yep, get_material_index can take a material as a str as well. Underneath it just gets the material from tidy3d anyway.

From: Lucas @.>
Sent: Wednesday, May 17, 2023 4:09 PM
To: gdsfactory/gdsfactory @.>
Cc: Skandan Chandrasekar @.>; Mention @.>
Subject: Re: [gdsfactory/gdsfactory] Issue on page /notebooks/sax/01_sax.html (Issue #1647)
I believe the problem is that we're solving each wavelength in a different grid. Because of the grid differences, each computation of the effective index will have a different quantization error. Here's what I mean:
wavelength = numpy.linspace(1.5, 1.6, 10)
n0 = []
for lda in wavelength:
wg = waveguide.RectangularDielectric(
wavelength=lda,
core_width=0.5,
core_thickness=0.22,
core_medium=td.Medium(permittivity=3.482),
clad_medium=td.Medium(permittivity=1.0),
box_medium=td.Medium(permittivity=1.452),
)
n0.append(wg.n_eff)
wg1 = waveguide.RectangularDielectric(
wavelength=wavelength,
core_width=0.5,
core_thickness=0.22,
core_medium=td.Medium(permittivity=3.482),
clad_medium=td.Medium(permittivity=1.0),
box_medium=td.Medium(permittivity=1.452),
)
fig, ax = pyplot.subplots(1, 1)
ax.plot(wavelength, [n.sel(mode_index=0).item() for n in n0], label="Independent")
ax.plot(wavelength, wg1.n_eff.sel(mode_index=0).values, label="Group")
ax.set_xlabel("Wavelength")
ax.set_ylabel("Effective index")
ax.legend()
[comparison]https://user-images.githubusercontent.com/119979961/239063873-bb96f824-361f-46a9-b572-9a9c9d6625d0.png
Unfortunately, the waveguide plugin in gdsfactory accepts only a single wavelength, not a range, so we end up with noisy data that is not appropriate for interpolation with jax/sax. I implemented like this because the previous version was also single-wavelength, if I'm not mistaken.
The best solution seems to be to change the waveguide plugin in gdsfactory to accept multiple wavelengths in a single solver run (which might also be a little more efficient). The only issue I'm not sure how to reconcile is to get the material indices including dispersion. What we do now:
n_core = get_material_index(self.core_material, self.wavelength)
core_medium = td.Medium(permittivity=n_core**2)
because the material parameter can be passed as a name. Maybe we could accept a tidy3d material directly? Is there a way to get the tidy3d material directly from the name (maybe something like get_tidy3d_material(str))?
—
Reply to this email directly, view it on GitHubhttps://github.com/gdsfactory/gdsfactory/issues/1647#issuecomment-1551988662, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX72Z27ZUY6535P2LVYG63TXGUWALANCNFSM6AAAAAAYC54MQM.
You are receiving this because you were mentioned.Message ID: @.***>

Yes, I understand that. What I meant is to get back a tidy3d.Medium object instead of a number, so that dispersion is properly modeled.

Yep, you can use get_medium instead then

From: Lucas @.>
Sent: Thursday, May 18, 2023 1:28 PM
To: gdsfactory/gdsfactory @.>
Cc: Skandan Chandrasekar @.>; Mention @.>
Subject: Re: [gdsfactory/gdsfactory] Issue on page /notebooks/sax/01_sax.html (Issue #1647)
Yes, I understand that. What I meant is to get back a tidy3d.Medium object instead of a number, so that dispersion is properly modeled.
—
Reply to this email directly, view it on GitHubhttps://github.com/gdsfactory/gdsfactory/issues/1647#issuecomment-1553382155, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX72Z2Y7I4HJETBS6GDAIMLXGZL4FANCNFSM6AAAAAAYC54MQM.
You are receiving this because you were mentioned.Message ID: @.***>


NetworkImage will break when updating http package to 0.12

I tried updating to a newer version of the http package (not yet released) which supports the new middleware feature to implement an http cache (#10820).
dependencies:
  flutter:
    sdk: flutter

dependency_overrides:
  http:
    git:
      url: https://github.com/dart-lang/http.git
      ref: 40ccf46720cd128794543e73078c2040de267285

[✓] Flutter (on Mac OS X 10.12.5 16F73, locale en-DE, channel alpha)
    • Framework revision d36e2f6191 (11 days ago), 2017-06-21 15:09:10 -0700
    • Engine revision b0dee695ec
    • Tools Dart version 1.24.0-dev.6.7

I noticed the http package has breaking changes breaking the compatibility with the current flutter sdk. Especially for NetworkImage and ImageCache.
══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════
The following NoSuchMethodError was thrown resolving a single-frame image stream:
Class 'Response' has no instance getter 'bodyBytes'.
 Pub's version solver should help ensure that this doesn't cause too much pain for users.
@passsy It's generally going to be risky to use an unreleased version of a package, especially when other packages depend on it, and especially when that version includes breaking changes. It's cool that you want to try out new stuff, but it may be a little early for that with http.

A package Flutter depends on is basically equivalent to a package in the dart: namespace, because people need to be able to upgrade the version of the SDK they use without breaking their code. Since Flutter depends on the http package, that puts it in the "can't break API" category (or rather, puts it in the category of "all Flutter apps must use the version the Flutter SDK uses", which can only be versions that are compatible with the version it was using when we declared our intent to keep the API stable).
It's fine if the http package isn't one we can depend on in this way; in that case we will need to find another package that we can use instead (maybe dart:io directly? I'm not sure why we don't use dart:io directly currently; maybe @abarth remembers?).

We could use dart:io directly.  There are a number of benefits to using the http package (e.g., the ability to replace the client), but they might not be worth the API stability costs.

@Hixie If you require that no packages that the SDK uses ever change, maybe depending on packages from the SDK isn't the right way to go. The whole point of a package ecosystem is to make it possible to (safely) make changes over time.

Yeah, we want to minimize our dependencies for this reason (among others).

Friendly ping. Is this still an issue?

I'm going to close as this is pretty old, but if this is still an issue, please reopen.


Fix issue #6065

Update the Runner.run function.
Update the Server.new function.
Add new Config interface.
Add new ConfigFile interface.
Rename ClientConfig to ClientOptions.

#6065

karma/karma.d.ts
to author(@tkrotoff). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

@eyalsk I'm interested to see an example within karma-tests.ts that uses interface Config/LOG_INFO, LOG_ERROR... (so we don't get regressions in the future), thx

thanks mate!

@tkrotoff well, it's from their documentation, logLevel.

@eyalsk

well, it's from their documentation

Obviously...
An example is different from a technical documentation. If you introduce something new in a d.ts then the syntax should be tested in a -tests.d.ts; otherwise how do you know it works? and how do you know it will continue to work in the future?
See commits 21afe00c53a0c9cdf2fb22d57d9f5adce449f45c and e123fee7b41f18f47c03ada42b86bdfe946f976c from PR #6471

you're right but don't have time to do it atm. :)


Unattached numbers should be channel-agnostic

They shouldn't keep their red/green/blue identity

Done!


docs: add parts 2-4 to the tutorial

add parts 2-4 of the tutorial
fix empty lines etc.

@sbalnojan and @tayloramurphy - What do you think about using meltano config target-postgres --interactive? This is a more guided experience which could replace:

meltano config target-postgres list
the series of meltano config target-postgres <setting> commands
the .env edits

@aaronsteers we use interactive on https://docs.meltano.com/getting-started/part1#configure-the-extractor already, so I'd be in favor of adding it. @sbalnojan ?

@sbalnojan and @tayloramurphy - What do you think about using meltano config target-postgres --interactive? This is a more guided experience which could replace:

meltano config target-postgres list
the series of meltano config target-postgres <setting> commands
the .env edits

Related to steps here: https://deploy-preview-6781--meltano.netlify.app/getting-started/part2#configure-the-target-postgres-loader
I don't know how well it would render in the termy visualizer, but we could list the config values the user needs to set and then instruct them to step through --interactive and enter each value in the respective spot.

I'm all for it. I just forgot to do that. Btw. everything renders well in termy if you take the time to make it render well. The hard part is just getting the ANSI text converted to HTML and then doing a bit of editing to match the size (which I haven't figured out yet. ansi2html doesn't do it for me).

 Next time, smaller PRs.

I switched part 3 and part 4 and adapted them accordingly
I implemented docker exec commands for the delete stuff
I couldn't  add the --interactive config, because I couldn't get it to render nicely (which would require to kind of cut off the width. And that's some serious editing in the CLI output, not too much fun).
changed the language as suggested to "inline data mappings".#

@tayloramurphy and @sbalnojan - For reference, here's the discussion where we talked through this at great length and agreed to not use "transformation" for "stream maps": https://github.com/meltano/meltano/issues/3051
(Click through to the GitLab side for historic comments.)

@aaronsteers I'm not clinging to the (t). I'm more interested in making any decision now and then be consistent. Then let's put that into the other issue/discussion you opened up (I am unable to find right now) and create a follow up to clean up the language here & there (for me).


Automated build & release process

Automate

[ ] release of EasyEngine
[ ] Docker builds

This can be used - https://github.com/softprops/action-gh-release/

[ ] Shift docker images to ghcr.io


SoundFile.flush() not functioning

I'm writing to a core audio format file calling flush every 20 seconds or so to make data available to another script reading and processing collected audio. Flush does not appear to actually be doing anything. When reading the file from another process using SoundFile the returned array has 0 length.

Can you tell us in a bit more detail what you are doing (what sorts of formats, what OS, what version of soundfile, that sort of thing)?

Sure, I'm working on MacOS Big Sur an a new Mac Mini (M1 chip) with SoundFile 0.10.3 (latest). Like I mentioned, exclusively using .caf.

this also failed with a flac file, but in this case it seems like there was some system incompatibility with flac. At command line when using libsndfile-info foo.flac it is defaulting to max int number of frames while it thinks the actual number is 0. when the flac file is closed it's all good just like caf.
it (reading the file with soundfile while also writing with soundfile) seems to be working with a wav file without actually explicitly flushing.
Note I've done this on mac big sur on two machines, one with M1 chip and one with Intel chip. Both have libsndfile installed with brew. All dependencies including flac also installed with brew. On the m1 machine I'm running a roseta terminal.

Unfortunately, this sounds like an issue with libsndfile that soundfile can't do anything about.
It might be worth investigating whether CAF is a streamable data-format. If it isn't (if partial files do not make sense), then flush, or libsndfile::sf_write_sync naturally is nonsensical, and doesn't do anything. WAV can reasonably be flushed, by updating the very simple header on each write. But other formats might not.

defaulted to using wav files. caf preferred because of no meaningful size limit. thanks for looking into this though.


I cant clear recent activity on Steam

There used to be 4 different boxes on sam picker in russian which you would click to clear recent activity. Today when i tried to clear recent activity the boxes werent there

I commented on this in another issue.
If you want to, you can create shortcuts to SAM.Game.exe with the appids of those apps that clear your activity.

Thank you :D


Handle invitation link

Created by: @hanny21 Feb 10 2022 at 11:22 CET
Last updated: Jul 19 2022 at 10:50 CET
ClickUp ID: IK-2198
Allow in sdk an option to pass the invitation token for the login - loginSetup  function (not sure if we need it for the IKUICore package as well).

Commented by: @bayegan Jan 18 2022 at 00:19 CET
cc @PouyanHz @hanny21

Commented by: @hanny21 Feb 10 2022 at 09:41 CET
duplicate to IK-2089

Commented by: @hanny21 Feb 10 2022 at 11:13 CET
@bayegan changed this ticket from handling the create invite (for which we have different ticket) to handle the invitation link.. tried to describe the flow we need for this as I understood it from the discussion with Laszlo.


Improve README.md

A few clearer steps for new users getting started

Thanks @hgs-sellis for pulling these changes together. I'm sorry this didn't get merged at the sprint, and that it has been languishing out here for all this time.
I did review all the changes in the PR and it looks like they've all been overcome by events and are no longer relevant to the repo. 🙁 As a result I'm going to close this PR out. I did make sure though that the equivalents to what you added are in place, because you did point out a number of things that should have been documented that we're previously missing.

Great, thanks @jkeifer !


Add local generation difference check

Check if generating a bundle locally would result in a git diff. If so,
then we should fail since that means changes are missed in the resulting
bundle.

I like this because I often forget to regenerate some of the OLM artifacts, but thinking about it makes me wonder if these things need to be checked into the repo at all, or should we just generate them as part of the build process? My thinking hasn't gone any deeper than that, though.

In theory we could really just have GHA do the local generation and then commit changes automatically, but this was something quick to do which seemed to at least say "hey you forgot this!".
I agree though, there really doesn't need to be a need to self-generate these when CI could really just clean it all up for you.


footer tabs erratic behavior, and losing tabs

Is there any app example that has some minimum basic complexity (i.e. no basic examples) where tabs are used properly and work properly? I find them very difficult to work with, though maybe the documentation needs to be clarified. I find that tabs are either not documented well enough (despite the multiple hints for troubleshooting), or they are buggy in possibly more than one way.
I have a new version 2 of an app that uses the latest in develop rooted at https://mobile.racketlogger.com/home/rackets. This new version 2 is based on an app that has been released and in the app store for a while and was working fairly well for a few months. I am attempting to upgrade the app to the latest, however this also happens when using jason with the above url.

when tapping inside a brand (say of a racket) and then a model, footer tabs are not generated and the existing footer tabs are kept. Is this the proper way to have footer tabs? I would like the app to have footer tabs virtually all the time.
when inside a brand and a model, if you come back to a brand, the footer tabs are lost. coming back one level they re-appear. this looks like a bug.
when tapping on the second tab, the footer color generated is different with new styles as it's a different "area" of the app (the urls are preserved in all the tabs, including the first one, abiding by the strange restriction outlined in the troubleshooting area of the docs), however, coming back to the first tab, the color of the second tab is kept even though a new footer tab is presented. being a top level area this should work, if i understand the bit of documentation properly?
i would like to change the icons to have notifications (e.g. number of messages in a red bubble, like in the example of the documentation). Is this supported? If so, how is this best achieved?
The first issue I actually noticed with this app is that the first view sometimes comes up blank with just the footer there. However, that's probably not related to tabs. I think you should be able to reproduce this relatively easily. Is this a bug in the app or the jason generated by the server?

Thanks in advance.

Mayb these issues arise from an warning in xcode for
UI API called from background thread Group
  app/Jasonette/JasonViewController.m: runtime: UI API called from background thread: -[UITableView indexPathsForVisibleRows] must be used from main thread only
    Thread 9
      #0	0x0000000100ce2a1f in __34-[JasonViewController loadAssets:]_block_invoke_3 at app/Jasonette/JasonViewController.m:1002

Another issue with tabs. In the current develop in iOS, when there is a tab at the bottom, the content above has a portion of it hidden under the tab. The user has to pull the content up to be able to read it or tap on it.
Android works ok (in fact, it leaves some space after the last bit of content).

@cpg - You're right, I've seen that with tabs also, being "buried" here though might get missed by Ethan, I've worked around it by adding a vertical space element to the bottom of the view. Tabs have been fraught with problems, they do seem more stable now though in the current develop branch.

I've just fixed the the bottom padding issue for when there's a footer https://github.com/Jasonette/JASONETTE-iOS/commit/3aa44527aca9c1909878f0bd2ca761078ecd6f5d
I am not sure what the status of the other problem is because the original issue description is too long. If that problem has not been solved, please try to open a separate issue with the simplest replicable test case that demonstrates the problem and I'll take a look.


update various dependencies

I'm the maintainer of lsd for Fedora Linux, and some outdated dependencies are making maintenance increasingly difficult.

deps: update chrono-humanize to v0.2

We have this patched for almost two years in Fedora and it has not caused issues.

deps: update assert_cmd to v2

Same here, this patch has been in the Fedora package for a while.

deps: update sys-locale to v0.3

This dependency seems to have been added recently, not sure why an old version was chosen.

deps: update vsort to v0.2

Same here, this was added recently but 0.1 was used instead of 0.2, not sure why.

deps: update git2 to v0.18

Using old versions of git2 is not a good idea, since the bundled libgit2 C library often has CVE issues.

deps: migrate from users to uzers

The "users" crate is unmaintained. The "uzers" crate is an API-compatible fork that also fixes some bugs and security issues.

deps: update serial_test to v2

The current dependency (v0.5) is reeeeeally old. Not sure why this was never updated.

deps: update predicates to v3

Same here, predicates v1 is reaally old.

deps: allow newer versions of url, wild, and xdg crates

Not sure why strange x.0.* style dependencies were used here. It's holding back various updates for both url and xdg crates, and makes maintaining lsd in Fedora more difficult. We have built lsd against the latest versions of all three crates forever, and it has not caused issues.

PS: I'm not sure why you're keeping Cargo.lock pinned to really old versions. It looks like "cargo update" hasn't been run in ages. I'm sure there's tons of bugfixes (and potentially also security fixes) that happened between the versions pinned in Cargo.lock and the latest compatible versions.

Codecov Report

Merging #938 (b55e9d9) into master (4bdf044) will decrease coverage by 1.21%.
Report is 2 commits behind head on master.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##           master     #938      +/-   ##
==========================================
- Coverage   85.78%   84.57%   -1.21%
==========================================
  Files          51       51
  Lines        5003     5071      +68
==========================================
- Hits         4292     4289       -3
- Misses        711      782      +71

see 6 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hi @decathorpe, thanks so much for raising this, it would definitely help a lot!
I found predicates v3 need msrv 1.69, I have updated the msrv in master, can you help rebase your PR onto it?

Ah, the MSRV is only checked in CI - it might be a good idea to set package.rust-version in Cargo.toml as well?
Thanks for taking a look, I'll rebase my PR.

hi @decathorpe can you help to update the msrv to 1.70, so that we can pass the CI

I've bumped the MSRV in the GitHub action and in Cargo.toml.
I also removed the hand-written MSRV check that was present in build.rs that is redundant with defining package.rust-version in Cargo.toml.

thanks so much for your help @decathorpe!

btw, I have sent you an invitation for the lsd-rs org package maintainers team, welcome aboard if you would like to 😀

Great, thank you :)


Feature Request - Clear Tabs Between Sessions

Hi, thanks a lot for this little cool module. Working great on FF Nightly so far!
I wanted to make a feature request, if it's possible and if you have time to do it.
So the thing is, after the mobile redesign of Firefox, the tabs keep coming back when you open up Firefox again. Some liked this, and some didn't. But Mozilla never brought back this old default behavior as an option. They kind of brought it back with optional timing, like deleting tabs after one day/a week, etc.
As a dinosaur, I would be so happy to have this kind of option, if it's possible for you to do. Something like "Clear Tabs Between Sessions" or "Open homepage only, no tabs from previous session". I hope I am clear enough to explain it, and I just kindly wanted to ask you. Thank you for your work and efforts.

Hey this is possible already (in Fennec at least).
Under "Delete browsing data on quit" your can select "Open tabs" and other things aswell.
Cheers

There is existing implementation as @clemenceaus said and I won't spend time on it since I don't need such things.


Add support for setting custom pod and service CIDR blocks

Driver needs to support setting custom CIDR blocks for Kubernetes pods and services e.g. --pods-cidr=<IP_ADDRESS>/16 and  --services-cidr=<IP_ADDRESS>/16, which get passed to the ClusterCreateOptions.KubernetesNetworkConfig at cluster creation time.

@adi13

@jrosinsk

The two driver flags --pod-cidr, and --service-cidr need to be plumbed through to https://github.com/rancher/terraform-provider-rancher2

This PR is merged into master  https://github.com/rancher/terraform-provider-rancher2


Git hooks should only check staged/committed files

The git hooks perform checks and tests on changes they are not supposed to check.
The pre-commit one should only perform checks (such as the formatting one) on the files added to the staging area.
The pre-push should perform checks and tests on the last commit, not on changes that have not been committed.

The pre-push hook was removed, but Git doesn't propagate hooks so you must run rm .git/hooks/pre-push.sh. Sorry about that.
I created a PR (https://github.com/PRL-PRG/r-compile-server/pull/11) to fix the pre-commit so it only applies to staged files unless everything is staged, and can also auto-format the staged files instead of just throwing an error. I kept it so that it formats everything if everything is staged (even non-committed files) because it's apparently recommended, since spotless already caches (see https://github.com/diffplug/spotless/issues/178).

Thanks!
(I think the one to remove for pre-pushing is .githooks/pre-push.sh)


Duplicate ids found on mask elements

Hi, I exported a bunch of flags using the default settings (prefixIds on) and there are still some duplicated IDs on mask elements

If you'll share a figma file with those components to reproduce – that would be great help.

Sure :)
flags.zip

closed due to my inactivity actively developing this project


I dont know how to do it

I tried to follow the instructions but i didnt know how to install it and do it can someone help please

What operating system are you on?

actually ignore the previous message. I think i fixed your issue. Try again


Can't set measurements with len=1 NumPy array

Environment

Qiskit Terra version:  lastest
Python version:
Operating system:

What is happening?
This fails for len=1 arrays:
qc = QuantumCircuit(2, 1)
qc.measure([0], np.array([0]))

~/mambaforge/envs/qiskit/lib/python3.8/site-packages/qiskit/circuit/quantumcircuit.py in _bit_argument_conversion(bit_representation, in_array)
   1106             raise CircuitError("Index out of range.") from ex
   1107         except TypeError as ex:
-> 1108             raise CircuitError(
   1109                 f"Type error handling {bit_representation} ({type(bit_representation)})"
   1110             ) from ex

CircuitError: "Type error handling [0] (<class 'numpy.ndarray'>)"

For length 2 or higher it works.  Also works if cast to list.
How can we reproduce the issue?
See above
What should happen?
It should work for any length array
Any suggestions?
No response

>>> int(np.array([0]))
0

???
Seems like pretty weird Numpy behaviour, but that's where the issue comes in.  Should be an easy fix.


Delay Error.stack until the last possible moment

Accessing Error.stack is about 10 times slower than creating a new Error in vanilla Node.JS. This is made orders of magnitude worse when using coffeescript or a stack beautification lib that further changes the trace. As such, it should only ever be used when needed. The current implementation of Promise.coroutine obtains the stack whenever a generator is converted to a promise and while this is a one-time cost per promisified generator, if called from within a closure this needlessly obtains the stack when everything is working as expected.
This changes that behavior to only call .stack when the returned promise will throw. While benchmarking, I observed that accessing the .stack property appears to have a similar performance profile with a cached function, so local caching shouldn't be needed. It might make sense to cache the extra .split().slice().join() chain, but I believe that should be a separate PR.
Benchmark: https://gist.github.com/za-creature/28ca43947ee2c0a7ead33558ac4a9fa1
Results (Node.JS 4.6.1):
Different error w/o stack 484
Different error w/ stack 4809
Different error w/ stack w/o reuse 5241
Same error w/ stack w/ plain reuse 4886
Same error w/ stack w/ cached reuse 5209

I believe this used to be implemented like you are saying, but that resulted with memory leaks with infinite promise chains, and now bluebird converts the stacks to strings once the chains reach a certain length...
Afaict the code you modified is only executed during program load when the Promise.coroutine generator function wrapper is called, so it doesn't have an effect at run time...

Sorry, I should've been more clear with the whole 'called from a closure'.
While unfortunate, our current usage pattern involves calling Promise.coroutine dynamically. We are in the process of coroutinifying all of our codebase, but until we finish that process, we are using a helper to add coroutines into existing async code:
async.auto({
  "something": coroutine.auto(function* () {
    value = yield Db.query(...)
    return value
  }),
  "something_else": ["something", ...]
})

Where coroutine.auto calls Promise.coroutine and the async.auto block is part of a route handler (so gets executed on every req).

As for the memory leak, I'm not sure I understand this correctly, but it seems to me like the stack never leaves the local context un-stringified. This PR just delays that process until it actually needs the stack. If storing errors as properties creates a leak (maybe they're not GC'd properly), I could implement a local function that explicitly deletes the error object once the stack was generated and cached.

If you take the Promise.coroutine call outside of that function and call it once-per-function the problem goes away.

Oh, now I understand what you're trying to do.
Still, if you use coroutine in that way, the unserialized stack traces may cause memory leaks. See https://github.com/kriskowal/q/issues/111

Coroutine is assumed to be called once per program startup per function, so it is slow.


update help for output-format

fix #12247
changed help to list "full" as the default for --output-format and removed "text" as an option (as this is no longer supported).
EDIT: I am trying to see why some of the checks below are failing, but don't know how to interpret the errors.

Thanks for contributing! You need to run cargo dev generate-json-schema to update the JSON schema for the docs changes