Parameter settings  for detection scenario

Hi author, could you please tell me how to set the parameter when running the experiment for detection scenario? Should I set the user_number =1 with channel_copy=1  and hw_copy =8 ? Thank you!

@xinxinzi8 If you want to get the results of the detection scenario, you need to set channel_copy=1 and hw_copy =8, and then focus on the tpr_detection . user_number is fine to set to whatever you want because it only affects tpr_traceability, which is a metric for the traceability scenario that has nothing to do with detection.

Thank you very much!

Hello, I have another question about this line self.tau_onebit = (i+1) / self.marklength in watermark.py. Why i+1 is used when calculate tau_onebit and tau_bits? According to the formula of FPR($\tau$) = B($\tau$ + 1, k - $\tau$, 0.5), I think  i means $\tau$ here. Thank you very much!

Hello, I have another question about this line self.tau_onebit = (i+1) / self.marklength in watermark.py. Whyi+1 is used when calculate tau_onebit and tau_bits? According to the formula of FPR(τ) = B(τ + 1, k - τ, 0.5), I think i means τ here. Thank you very much!

@xinxinzi8 Thank you for pointing out this error! Here it should be self.tau_onebit = i / self.marklength and  self.tau_bits = i / self.marklength . If the original code is followed, the theoretical FPR should be smaller, and the conditions are more stringent for calculating the TPR. We will fix this error as soon as possible！


How to do Global Average Pooling and other global poolings?

How to do this? Is there something like dl.mean(x, axis=1)? how about its gradient?
Thanks

Looks like you found it :)


do not install profile deps of deps

Fix for https://github.com/rebar/rebar3/issues/620
Only use {deps, default} of a dep.

Can we check that the default dep of a test-transitive dep does not result in a locked app? At least by hand if not automated. It seems like the kind of edge case that bites us.

I verified.


Fix CI by relaxing flake8

CI is kind of broken because we are using very broad except statements at some places. I have fixed the obvious and simple ones but I believe there are cases where we can't know upfront which exception will be thrown.
So I updated the flake8 parameters to not fail these cases.

Codecov Report

Merging #120 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #120   +/-   ##
=======================================
  Coverage   95.77%   95.77%
=======================================
  Files           9        9
  Lines         686      686
=======================================
  Hits          657      657
  Misses         29       29

Continue to review full report at Codecov.

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

I think it would be an improvement to just change all except: statements to except Exception: instead. The things that aren't derived from Exception are things we probably shouldn't be catching anyway (like KeyboardInterrupt).

I think it would be an improvement to just change all except: statements to except Exception: instead. The things that aren't derived from Exception are things we probably shouldn't be catching anyway (like KeyboardInterrupt).

done.

Cool :) That means we can take out the --ignore option to flake8 then and still pass, right?

Cool :) That means we can take out the --ignore option to flake8 then and still pass, right?

seems so. My IDE was still complaining 'Too broad exception clause' but seems flake8 doesn't care about that. Pushed another commit.

Lets land this, so that we unblock https://github.com/crossbario/txaio/pull/119


Fix IllegalArgumentException under SDK22

Under SDK 22, something wrong with packing view's state and custom state so I seperated states to bundle.
This fixes onRestoreInstacneState exception under sdk 22 with option Don't keep activities in developer menu.
And also Kitkat support from fixing onRestoreInstanceState.
Code is durty so if you can clean this code, please don't pr but fixing this for seperate view's default state and custom state :D
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.paulrybitskyi.sample/com.paulrybitskyi.sample.DemoActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class com.paulrybitskyi.persistentsearchview.PersistentSearchView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/persistentSearchView. Make sure other views do not use the same id.
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
        at android.app.ActivityThread.access$800(ActivityThread.java:151)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:135)
        at android.app.ActivityThread.main(ActivityThread.java:5254)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
     Caused by: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class com.paulrybitskyi.persistentsearchview.PersistentSearchView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/persistentSearchView. Make sure other views do not use the same id.

Hey there.
I fixed the issue regarding state restoration on Lollipop APIs and released a new update of the library. Please see this release for more details.


Glich shows when selecting image while creating board

Describe the bug
While creating a new board, when "Background" changed to "Image", image didn't show correctly. First, there's no image, then some image show for a second and finally good image appears.
To Reproduce
Steps to reproduce the behavior:

Go to Create board
Click on Image in Background section

Expected behavior
The correct image should appear the first time.
Screenshots
https://github.com/0l1v3rr/trello-clone/assets/60447475/d77e6374-bc5e-4eb1-b4b3-35df4f31116a

Hello @masterHAWK99 ,
Thanks for opening this issue. Would you like to work on this?

Sure, assign me please :)


[Feature]: Allow devs to consume bigger files (5+ MB) on client.

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
We need to expose a way to read the blob and bind it to the a certain widget.
When user tries to upload a large file, say 50MB our app will crash, and to solve that we have to use local storage or local db.
Why should this be worked on?
A user faced a challenge when they uploaded a CSV and wanted to show that data in for say the table widget. The user did not face any challenge for the short files, but was not able to do anything with the big files since they automatically become blobs which is not consumable on the client.

As pointed out by @nidhi-nair maybe one solution is #3961. We will need to discuss that more

Any update on this? This is highly limited as is.


Add BigQuery UDF support

Add a field to support BigQuery UDF.
https://cloud.google.com/bigquery/docs/reference/v2/jobs

configuration.query.userDefinedFunctionResources[]
configuration.query.userDefinedFunctionResources[].inlineCode
configuration.query.userDefinedFunctionResources[].resourceUri

(migrated from #1988)

@takbab I think @dhermes was talking about dropping the use of _TypedProperty in favor of a property implementation which enforces that items in the list are suitable.  If we use your class for the items in the list, then the property implementation would look something like:

    @property
    def udf_resources(self):
        """List of user-defined resources.

        :rtype: list of :class:`UdfResource`
        :returns: the list, if set, or None
        """
        return list(self._udf_resources) if self._udf_resources else None

    @udf_resources.setter
    def udf_resources(self, value):
        """Update list of user-defined resources

        :type value: list of :class:`UdfResource`
        :param value: the new list

        :raises: ValueError, ir the items in the list are not all instances of
                 :class:`UdfResource`
        """
        if not all((isinstance(item, UdfResource) for item in value)):
            raise ValueError("pass a list of UdfResource instances")
        self._udf_resources = tuple(value)

See #2015 for an alternative.

#2015 looks a more like the example from @tseaver but I need to clean up a lint error.  What's the advantage to the approach here?

@tseaver Thanks for the example! I have added the property to QueryJob class.
What can we do?
I just want to use UDF from my app.
#1829

@takbab Thanks again for the patch!  I merged @dwmclary's version of the feature in #2029, as it looked closer to what I had in mind.

I see, thanks!


Tilt

Hey man,
great add-on. I just want to ask for tilt function. My Somfy blinds do have tilt function, and although I did set tilt to true, I can't control the tilt with your add-on. Do you think you can do it?
Much appreciated, all the best

Feature added with Pull Request #69


Elastalert tries to parse timestamp None

Hello,
I found a certain case when elastalert tries to process timestamp none, just after line 327 of elastalert.py. The underlying issue is here on line 322:
if not ts and not rule["_source_enabled"]:
This properly handles throwing an exception if _source_enabled is false, but if _source_enabled is true and ts is None, an exception will not be thrown, and then it tries to send the None timestamp to the datetime parser which dies and gives a stack trace. Instead it should just throw another exception saying the timestamp field was not found, regardless of the setting of _source_enabled

ElastAlert is currently under maintenance.

No one answers. Search for past issues.

No one answers. Search for past issues.

Yelp/elastalert is no longer maintained. Please use jertel/elastalert.
https://github.com/jertel/elastalert


Infrastructure for scanning a complete ORTResult

We are curently integrating the commercial Blackduck engine as a remote scanner into ORT.
We have built a client layer for interface with the Blackduck ReST API which allows us to create a container structure ("project group") in the remote Blackduck system. This container serves as an outer bracing for all projects in an ORT result.
For each project in an ORT result, we create a matching project in the container project group, upload the dependency information to Blackduck and let Blackduck process the individual porjects.
Once Blackduck is done, we consume the scan results from Blackduck, convert them into the internal format used by ORT and pass them on as a standard ORT scan result.
During the integration efforts, we learned that ORT relies on the abstraction of package scannner eniges, e.g. each dependency can be seperately scanned as an isolated work item.
The way how Blackduck operates, it requires an all-or-nothing approach where we need to upload all packages at once as belonging to a project and let Blackduck process the whole dependency set (per project) in one operation.
IMHO there is currently no "official" way to process a full ORT result structure by a scanner because that infrastructure impliclitly relies on the idea that a scanner is operating on the package level.
We would like to propose the idea of a more powerful scanner integration with the required capabilities to the community and will raise a pull request how we got this working so far

The current  implementation by Porsche has been submitted as a pull request https://github.com/oss-review-toolkit/ort/pull/5325

With the draft #53 now being closed, and us having dedicated issues for Black Duck advisor and scanner integrations, this is getting closed as part of backlog grooming. Feel free to comment if you would like to contribute to this.


Correct error in the doc.

With more data in memory, it is more likely that the columnstore index will find the data it needs in memory with incurring additional reads from disk.
It should read without incurring additional reads...

@mikelawell : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.

@mikelawell Thank you very much for contributing to the docs. This one small typo makes a big change in the meaning, and we appreciate you catching it. I'll sign off on this pull request and it should publish within a few days. Sorry for the delayed response! #sign-off

Glad I could help.
Mike
From: Jason Roth<EMAIL_ADDRESS>Sent: Wednesday, July 3, 2019 8:35 AM
To: MicrosoftDocs/sql-docs<EMAIL_ADDRESS>Cc: mikelawell<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/sql-docs] Correct error in the doc. (#2247)
@mikelawellhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikelawell&data=02|01||475721bf0e934db637e608d6ffbb30a8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636977576764501844&sdata=3Uy0QvGDtJc3gVttxvGWO6enLpfXKfOtn0I%2BYrM6k2w%3D&reserved=0 Thank you very much for contributing to the docs. This one small typo makes a big change in the meaning, and we appreciate you catching it. I'll sign off on this pull request and it should publish within a few days. Sorry for the delayed response! #sign-off
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fsql-docs%2Fpull%2F2247%3Femail_source%3Dnotifications%26email_token%3DAJJVFI7FC3QZCXQ2TGUHJ5LP5STGXA5CNFSM4HSR3PP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEOXPA%23issuecomment-508095420&data=02|01||475721bf0e934db637e608d6ffbb30a8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636977576764511849&sdata=xNIHQ%2B436vzCKeGlayL7%2FLxzGeFAKP%2FMppaBN%2Fs5YMs%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJJVFIZVYAZ3NKJOLXG4MC3P5STGXANCNFSM4HSR3PPQ&data=02|01||475721bf0e934db637e608d6ffbb30a8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636977576764521860&sdata=DoJEjR69pp%2BSPKxu6w6IWa2c3ZMWISEw0suIe3Trgyo%3D&reserved=0.


tarballs.nixos.org: curl: (6) Could not resolve host: tarballs.nixos.org

https://github.com/NixOS/nixos-org-configurations/blob/master/terraform/cache/diagnostic.sh:
[nixos@DANIELKNB1:~/.nix-config]$ ./diagnostics.sh tarballs.nixos.org
domain=tarballs.nixos.org
> dig -t A tarballs.nixos.org

    ; <<>> DiG 9.18.28 <<>> -t A tarballs.nixos.org
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60734
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;tarballs.nixos.org.        IN  A

    ;; ANSWER SECTION:
    tarballs.nixos.org. 0   IN  A   <IP_ADDRESS>
    tarballs.nixos.org. 0   IN  A   <IP_ADDRESS>
    tarballs.nixos.org. 0   IN  A   <IP_ADDRESS>
    tarballs.nixos.org. 0   IN  A   <IP_ADDRESS>

    ;; Query time: 50 msec
    ;; SERVER: ***#53(***) (UDP)
    ;; WHEN: Wed Sep 25 15:58:10 CEST 2024
    ;; MSG SIZE  rcvd: 172

Exit: 0

> ping -c1 tarballs.nixos.org
    PING tarballs.nixos.org (<IP_ADDRESS>) 56(84) bytes of data.
    64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.163 ms

    --- tarballs.nixos.org ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 0.163/0.163/0.163/0.000 ms
Exit: 0

> ping -4 -c1 tarballs.nixos.org
    PING tarballs.nixos.org (<IP_ADDRESS>) 56(84) bytes of data.
    64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.177 ms

    --- tarballs.nixos.org ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 0.177/0.177/0.177/0.000 ms
Exit: 0

> ping -6 -c1 tarballs.nixos.org
    ping: tarballs.nixos.org: Address family for hostname not supported
Exit: 0

> mtr -c 20 -w -r tarballs.nixos.org
    Start: 2024-09-25T15:58:10+0200
    HOST: DANIELKNB1      Loss%   Snt   Last   Avg  Best  Wrst StDev
      1.|-- <IP_ADDRESS>  0.0%    20    0.8   1.6   0.6   3.2   0.7
Exit: 0

> curl_test -4 http://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host tarballs.nixos.org:80 was resolved.
    * IPv6: (none)
    * IPv4: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
    *   Trying <IP_ADDRESS>:80...
    * Connected to tarballs.nixos.org (<IP_ADDRESS>) port 80
    > GET / HTTP/1.1
    > Host: tarballs.nixos.org
    > User-Agent: curl/8.7.1
    > Accept: */*
    >
    * Request completely sent off
    < HTTP/1.1 301 Moved Permanently
    < Connection: close
    < Content-Length: 0
    < Server: Varnish
    < Retry-After: 0
    < Location: https://tarballs.nixos.org/
    < Accept-Ranges: bytes
    < Date: Wed, 25 Sep 2024 13:58:36 GMT
    < Via: 1.1 varnish
    < X-Served-By: cache-fra-etou8220044-FRA
    < X-Cache: HIT
    < X-Cache-Hits: 0
    < X-Timer: S1727272716.324603,VS0,VE0
    <
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    * Closing connection

    time_namelookup:    0.011897
    time_connect:       0.033696
    time_appconnect:    0.000000
    time_pretransfer:   0.033771
    time_redirect:      0.000000
    time_starttransfer: 0.059835
    time_total:         0.059867
Exit: 0

> curl_test -6 http://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Could not resolve host: tarballs.nixos.org
    * Closing connection
    curl: (6) Could not resolve host: tarballs.nixos.org

    time_namelookup:    0.000000
    time_connect:       0.000000
    time_appconnect:    0.000000
    time_pretransfer:   0.000000
    time_redirect:      0.000000
    time_starttransfer: 0.000000
    time_total:         0.000059
Exit: 0

> curl_test -4 https://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host tarballs.nixos.org:443 was resolved.
    * IPv6: (none)
    * IPv4: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
    *   Trying <IP_ADDRESS>:443...
    * Connected to tarballs.nixos.org (<IP_ADDRESS>) port 443
    * ALPN: curl offers h2,http/1.1
    } [5 bytes data]
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    } [512 bytes data]
    * TLSv1.3 (IN), TLS handshake, Server hello (2):
    { [104 bytes data]
    * TLSv1.2 (IN), TLS handshake, Certificate (11):
    { [2825 bytes data]
    * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
    { [300 bytes data]
    * TLSv1.2 (IN), TLS handshake, Server finished (14):
    { [4 bytes data]
    * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
    } [37 bytes data]
    * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
    } [1 bytes data]
    * TLSv1.2 (OUT), TLS handshake, Finished (20):
    } [16 bytes data]
    * TLSv1.2 (IN), TLS handshake, Finished (20):
    { [16 bytes data]
    * SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305 / X25519 / RSASSA-PSS
    * ALPN: server accepted h2
    * Server certificate:
    *  subject: CN=tarballs.nixos.org
    *  start date: Dec  9 19:50:10 2023 GMT
    *  expire date: Jan  9 19:50:09 2025 GMT
    *  subjectAltName: host "tarballs.nixos.org" matched cert's "tarballs.nixos.org"
    *  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA 2023 Q4
    *  SSL certificate verify ok.
    *   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
    *   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
    *   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
    } [5 bytes data]
    * using HTTP/2
    * [HTTP/2] [1] OPENED stream for https://tarballs.nixos.org/
    * [HTTP/2] [1] [:method: GET]
    * [HTTP/2] [1] [:scheme: https]
    * [HTTP/2] [1] [:authority: tarballs.nixos.org]
    * [HTTP/2] [1] [:path: /]
    * [HTTP/2] [1] [user-agent: curl/8.7.1]
    * [HTTP/2] [1] [accept: */*]
    } [5 bytes data]
    > GET / HTTP/2
    > Host: tarballs.nixos.org
    > User-Agent: curl/8.7.1
    > Accept: */*
    >
    * Request completely sent off
    { [5 bytes data]
    < HTTP/2 200
    < last-modified: Fri, 27 Aug 2021 12:44:56 GMT
    < etag: "421c639efb4bc514e838bc825195f54c"
    < content-type: text/html
    < server: AmazonS3
    < via: 1.1 varnish, 1.1 varnish
    < x-timer: S1709014606.928901,VS0,VS0,VE0
    < access-control-allow-origin: *
    < accept-ranges: bytes
    < age: 50684
    < date: Wed, 25 Sep 2024 13:58:36 GMT
    < x-served-by: cache-iad-kiad7000163-IAD, cache-fra-etou8220143-FRA
    < x-cache: HIT, HIT
    < x-cache-hits: 89, 0
    < content-length: 2219
    <
    { [1114 bytes data]
100  2219  100  2219    0     0  21799      0 --:--:-- --:--:-- --:--:-- 21970
    * Connection #0 to host tarballs.nixos.org left intact

    time_namelookup:    0.001174
    time_connect:       0.022294
    time_appconnect:    0.080301
    time_pretransfer:   0.080461
    time_redirect:      0.000000
    time_starttransfer: 0.101643
    time_total:         0.101791
Exit: 0

> curl_test -6 https://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Could not resolve host: tarballs.nixos.org
    * Closing connection
    curl: (6) Could not resolve host: tarballs.nixos.org

    time_namelookup:    0.000000
    time_connect:       0.000000
    time_appconnect:    0.000000
    time_pretransfer:   0.000000
    time_redirect:      0.000000
    time_starttransfer: 0.000000
    time_total:         0.001213
Exit: 0

> curl -I -4 https://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0  2219    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    HTTP/2 200
    last-modified: Fri, 27 Aug 2021 12:44:56 GMT
    etag: "421c639efb4bc514e838bc825195f54c"
    content-type: text/html
    server: AmazonS3
    via: 1.1 varnish, 1.1 varnish
    x-timer: S1709014606.928901,VS0,VS0,VE0
    access-control-allow-origin: *
    accept-ranges: bytes
    date: Wed, 25 Sep 2024 13:58:36 GMT
    age: 50684
    x-served-by: cache-iad-kiad7000163-IAD, cache-fra-etou8220072-FRA
    x-cache: HIT, HIT
    x-cache-hits: 89, 1
    content-length: 2219

Exit: 0

> curl -I -4 https://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0  2219    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    HTTP/2 200
    last-modified: Fri, 27 Aug 2021 12:44:56 GMT
    etag: "421c639efb4bc514e838bc825195f54c"
    content-type: text/html
    server: AmazonS3
    via: 1.1 varnish, 1.1 varnish
    x-timer: S1709014606.928901,VS0,VS0,VE0
    access-control-allow-origin: *
    accept-ranges: bytes
    date: Wed, 25 Sep 2024 13:58:36 GMT
    age: 50685
    x-served-by: cache-iad-kiad7000163-IAD, cache-fra-eddf8230138-FRA
    x-cache: HIT, HIT
    x-cache-hits: 89, 1
    content-length: 2219

Exit: 0

> curl -I -4 https://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0  2219    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    HTTP/2 200
    last-modified: Fri, 27 Aug 2021 12:44:56 GMT
    etag: "421c639efb4bc514e838bc825195f54c"
    content-type: text/html
    server: AmazonS3
    via: 1.1 varnish, 1.1 varnish
    x-timer: S1709014606.928901,VS0,VS0,VE0
    access-control-allow-origin: *
    accept-ranges: bytes
    date: Wed, 25 Sep 2024 13:58:36 GMT
    age: 50685
    x-served-by: cache-iad-kiad7000163-IAD, cache-fra-eddf8230088-FRA
    x-cache: HIT, HIT
    x-cache-hits: 89, 1
    content-length: 2219

Exit: 0

> curl -I -6 https://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: tarballs.nixos.org
Exit: 0

> curl -I -6 https://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: tarballs.nixos.org
Exit: 0

> curl -I -6 https://tarballs.nixos.org/
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: tarballs.nixos.org
Exit: 0

Pasted at: <!doctype html>

    <meta charset=utf-8>
    <title> </title>

ix.io is taking a break 🍻

Enabled "private dns" i. e. cloudflare, google or quadnet as dns server, solved.


Restructure pages related to deploying apps

Re: https://github.com/rancher/rancher-docs/pull/714
The pages in this section of the docs repeat information that also appears under Fleet Gitops at Scale. This is bad for maintenance, as the pages might drift out of sync. We should pick one section or the other.
The PR referenced above had nothing to do with restructuring. It simply uncovered the problem. In the thread, the proposed the following:

For v2.7:

Remove the current Deploying Applications index page and have the user see fleet-git-ops-at-scale in that section, in addition to fleet-git-ops-at-scale's current location under Rancher Integrations.
Don't mention the multi-cluster feature as an option, it's been gone for the past 2 versions. Maybe add a note that it's available in earlier Rancher versions.
Remove both of the current subpages under /deploy-apps, and redirect their paths to fleet-git-ops-at-scale.

For versioned_docs:

Do the same for v2.6 as we did for v2.7.
v2.5 is trickier, since this is where the deprecation occurred. We could leave it alone, as the other options involve moving things around awkwardly or duplicating content.
Leave v2.0-2.4 alone. There's no confusion there.

Update the note on some pages, "As of Rancher v2.5, multi-cluster apps are deprecated. We now recommend using Fleet for deploying apps across clusters," to point to fleet-git-ops-at-scale

Would like to +1 the removal of multi-cluster-apps from docs. It was marked as deprecated in 2.5.0 and removed in 2.7.0 (at least in the UI)
https://github.com/rancher/rancher/releases/tag/v2.5.0 Deprecated Features
https://github.com/rancher/rancher/releases/tag/v2.7.0 Removed Legacy Features


using require() string literal not working with expo

const song = require(`app/assets/songs/${uid}.json`);
I'm trying to import a json file dynamically with require and it looks like its supported by react native [1] and works with next.js in my app. However, I run into an issue when running it with expo on iOS.
error: ../../packages/app/features/song/song-screen.tsx: ../../packages/app/features/song/song-screen.tsx:Invalid call at line 12: require(`app/assets/songs/${uid}.json`)
Error: ../../packages/app/features/song/song-screen.tsx:Invalid call at line 12: import(`app/assets/songs/${uid}.json`)
    at transformJS (./node_modules/metro-transform-worker/src/index.js:225:15)
    at transformJSWithBabel (./node_modules/metro-transform-worker/src/index.js:343:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.transform (./node_modules/metro-transform-worker/src/index.js:461:12)

React native does not allow dynamic string imports the way node does. Neither does frontend in general.

Where do you see it’s supported by RN? That issue doesn’t say it is

In any case, Solito is just an RN app, so if it works (or doesn’t) with RN, then the same will happen in Solito

Where do you see it’s supported by RN? That issue doesn’t say it is

It turns out I missread the last commit:
ZaBursta pushed a commit to ZaBursta/protobuf.js that referenced this issue on May 17, 2018
Only 1 string literal per require …
I see, so is there a way to do this? What would an alternative be?

What is the use case for this on the frontend for you? You could make a server endpoint that returns JSON if you want, or you’d have to make a list importing all possible files

What is the use case for this on the frontend for you? You could make a server endpoint that returns JSON if you want, or you’d have to make a list importing all possible files

For RN, we would want offline functionality as our data doesn't really change. So the JSON files are bundled with the app.

In that case, you can simply import every json file and put them in an array or dictionary with keys and then pick from there

I see, thank you, I appreciate it!


Update to Cmdliner 1.1.0

Apologies - I was coordinating too much my phone yesterday! This got duplicated as part of the April LCU update, so this is now in, thanks!


The lobe of fs is wr rather than normal?

Hi Kai, I really appreciate your excellent work!
I just have a question about the implementation of sg rendering code: here
final_lobes, final_lambdas, final_mus = lambda_trick(lgtSGLobes, lgtSGLambdas, lgtSGMus, warpBrdfSGLobes, warpBrdfSGLambdas, warpBrdfSGMus)
warpBrdfSGLobes here is the reflection direction of views, rather than surface normals.
But in the paper, Eq(8) tells that the Gaussian is aligned with surface normal. Is this a little bug or something I misunderstand?

By the way, I am looking forward to your future works!

Here's an intuitive way to think about the spherical warping of the brdf lobe.
Imagine we want to render the color for a specific viewing direction w_o; then the rendering equation says that we need to summing up the contributions of lighting coming from all directions w_i that lies on the hemisphere centered around surface normal n.
Of course this is going to be a weighted sum give the surface BRDF, as light from the reflected viewing direction is likely to contribute most.
Hence, in spherical Gaussian model, we place a spherical Gaussian around the reflected viewing direction to model the contribution strength of lights coming from different directions.

Thanks Kai! The answer is really clear and makes sense.

Hi @Kai-46,
just a follow-up question. In your actual implementation of the lobe sharpness in Eq. (8) in the figure below, do you treat the half angle vector $\mathbf{h}$ the same as normal vector $\mathbf{n}$ due to the original assumption in Cook-Torrance model?


[GreenCityUBS] Implement Notification Management Features

As a user, I want to mark notification as read / unread or even delete from my list of notifications.
Controller Updates:

Add new endpoints in NotificationController.java to handle user notifications:

viewNotification(): Mark a notification as viewed.
unreadNotification(): Mark a notification as unread.
deleteNotification(): Delete a notification for a user.

Service Layer Implementation:

In NotificationService.java and NotificationServiceImpl.java, add methods to manage notification statuses:

viewNotification(): Logic will mark notifications as viewed.
unreadNotification(): Logic will mark notifications as unread.
deleteNotification(): Logic will delete notifications for users by marking them as deleted.

Repository Updates:

In UserNotificationRepository.java, add methods:

markNotificationAsViewed(): Update notification to be marked as viewed.
markNotificationAsNotViewed(): Update notification to be marked as unread.
deleteUserNotificationByIdAndUserId(): Delete a notification by notification ID and user ID by marking it as deleted.
existsByIdAndUserId(): Check if a notification exists by notification ID and user ID.

Testing:

Write unit tests to cover the new methods in the service and repository layers.

Ensure all endpoints in NotificationController.java are thoroughly tested for correctness.

All methods outlined in the task have been implemented and merged into the codebase. Therefore, I am considering this task as 'Done' and "Ready for testing".


Add PathBorder

Description
This makes it easier to create a border that draws an arbitrary path shape.  This is particularly useful if you wish to draw a border with a dashed path, e.g. via path_drawing's dashPath method.
Related Issues
#4858
Alternative approach to fix https://github.com/flutter/flutter/issues/23801
Tests
I added the following tests:
Basic tests for PathBorder drawing what's expected.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

This doesn't implement much of the API, and since you would typically pass in a new closure each time, it'll have scary performance implications. I'm not sure it makes sense to expose this like this.
I could imagine doing this with a delegate, but at that point I don't know why you wouldn't just implement a Shape directly.

The problem with overriding Shape is that you can't pass that into a BoxDecoration.  I guess we could look at making that class take an arbitrary shape though.

that's what ShapeDecoration is for.
I guess I don't really understand the use case here.


release: the initial release of PoS

Description

Release PoS MVP1

:zap:  Release Status :zap:

Version updated: Version in the  has been updated to the next patch release version.
Publish Artifacts: Check the most recent commit (45f524e99d42b0b7d8173cd55a4474482e51286c) for correctness and run the "pos-publish-release-artifacts" trigger against this branch [release-patch] to upload the artifacts (Jars and Images) to Artifact registry.

:zap:  Two deployments have been created for the Point-of-Sale application. You may access and test them at: :zap:

MySQL DB backed deployment: <IP_ADDRESS>
Embedded H2 DB backed deployment: <IP_ADDRESS>

:zap:  Two deployments have been created for the Point-of-Sale application. You may access and test them at: :zap:

MySQL DB backed deployment: <IP_ADDRESS>
Embedded H2 DB backed deployment: <IP_ADDRESS>

:zap:  Two deployments have been created for the Point-of-Sale application. You may access and test them at: :zap:

MySQL DB backed deployment: <IP_ADDRESS>
Embedded H2 DB backed deployment: <IP_ADDRESS>

:zap:  Release Status :zap:

Artifacts published: Maven JARs and Container images for release version v0.1.0 have been published to Artifact Registry
Manifests updated: Release manifests have been updated to use the version v0.1.0 images
Version bumped: Version in the pom.xml/package.json has been bumped (94d350277a19b9f3e0d2e26dc6149d1a4a1e8027) to the snapshot version of the next patch release v0.1.1-SNAPSHOT
Github release created: A draft Github release has been created. Inspect and publish it
Merge PR: Inspect the latest changes and merge the PR to main to complete the release.

:rocket: Don't forget to run the "pos-deploy-release" trigger against the main to deploy the latest release!!!


upperBound in set incorrectly with React 16

We upgraded version of React to 16. Now the multi slider is broken.
The right slider has left: 0px.
When _handleResize is called initially the 'clientWidth' property of the slider must be 0, so the upperBound property is calculated incorrectly.
Right now my fix is to force a render in the component by updating a property in a timeout. Obviously that's not great.  Haven't found a fix to apply to the component itself.

We are also suffering from this problem, does anyone have a better fix?

Version 0.10.0 now supports React 16 and fixes this issue.


hello，i want the code of llamea-HPO，Where can I see it?"

Dear Tender-sun,
The code used for the LLaMEA-HPO paper can be found on the HPO branch: https://github.com/nikivanstein/LLaMEA/tree/feature/HPO
We also plan to update the main branch soon with the HPO options included and additional upgrades.

Thank you for your reply, I would like to apply this work on other issues, whether there is a guide file, looking forward to your reply


CCK: Reconcile unknown-parameter-type

🤔 What's changed?
unknown-parameter-type now is consistent for ruby/js
⚡ What's your motivation?
Goes towards completion of issue in tracker
🏷 What kind of change is this?

:bank: Refactoring/debt/DX (improvement to code design, tooling, documentation etc. without changing behaviour)
:bug: Bug fix (non-breaking change which fixes a defect)

♻ Anything particular you want feedback on?
Do we need to fix anything else (I'm deliberately not regenerating the ndjson yet because there are a bunch of these that will need re-generating each time).
To avoid conflicts I'll re-generate once after merging several of these fixes
📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct
[ ] I've changed the behaviour of the code

[ ] I have added/updated tests to cover my changes.

[ ] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

[ ] Users should know about my change

[ ] I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

Yep. I just didn't want bucketfuls of conflicts.
What I'm proposing is to merge a few of these and then regenerate afterwards just to save time.


Feature Request: Add $DBTSPARK run support in DataOps docker image bootstrap

Bootstrap should:

convert dbt-spark to $DBTSPARK
spin up Spark server to serve requests
add python option for start_server to wait for spark init to complete, then exit and return control (if possible).

if not possible, we might need to add a dbtutils module

Resolved by #30


can't find guile inside nix-shell

Hi! I'm interested in testing the guile bindings and creating bindings for ChezScheme, but currently I can't get CMake to find guile inside the nix-shell. I tried installing it with
nix-env -iA nixpkgs.guile

Outside the nix-shell CMake does find guile and all other development dependencies, but it generates a warning
-- Found GC library: /usr/lib/x86_64-linux-gnu/libgc.so
CMake Warning (dev) at /usr/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (Boehm_GC)
  does not match the name of the calling package (BoehmGC).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindBoehmGC.cmake:105 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:73 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

and make guile fails
$ make guile
Scanning dependencies of target guile-immer
Building CXX object extra/guile/CMakeFiles/guile-immer.dir/src/immer.cpp.o
In file included from /home/rigille/repositories/cpp/immer/extra/guile/scm/val.hpp:11,
                 from /home/rigille/repositories/cpp/immer/extra/guile/scm/scm.hpp:11,
                 from /home/rigille/repositories/cpp/immer/extra/guile/src/immer.cpp:13:
/home/rigille/repositories/cpp/immer/extra/guile/scm/detail/convert.hpp:28:62: error: extra ‘;’ [-Werror=pedantic]
   28 |         convert<std::decay_t<T>>::to_scm(std::forward<T>(v)));
      |                                                              ^
…

removing the warning flags in line 10 of CMakeLists.txt the errors are different
$ make guile
Scanning dependencies of target guile-immer
Building CXX object extra/guile/CMakeFiles/guile-immer.dir/src/immer.cpp.o
/home/rigille/repositories/cpp/immer/extra/guile/src/immer.cpp: In instantiation of ‘void {anonymous}::init_ivector(std::string) [with T = scm::val; std::string = std::__cxx11::basic_string<char>]’:
/home/rigille/repositories/cpp/immer/extra/guile/src/immer.cpp:137:18:   required from here
/home/rigille/repositories/cpp/immer/extra/guile/src/immer.cpp:88:41: error: no matching function for call to ‘immer::flex_vector<scm::val, immer::memory_policy<immer::heap_policy<{anonymous}::guile_heap>, immer::no_refcount_policy, immer::spinlock_policy, immer::gc_transience_policy, false>, 5, 5>::flex_vector(scm::list, scm::list)’
   88 |             [](scm::args rest) { return self_t(rest.begin(), rest.end()); })
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rigille/repositories/cpp/immer/extra/guile/src/immer.cpp:10:
/home/rigille/repositories/cpp/immer/immer/flex_vector.hpp:121:5: note: candidate: ‘immer::flex_vector<T, MemoryPolicy, B, BL>::flex_vector(immer::flex_vector<T, MemoryPolicy, B, BL>::size_type, T) [with T = scm::val; MemoryPolicy = immer::memory_policy<immer::heap_policy<{anonymous}::guile_heap>, immer::no_refcount_policy, immer::spinlock_policy, immer::gc_transience_policy, false>; unsigned int B = 5; unsigned int BL = 5; immer::flex_vector<T, MemoryPolicy, B, BL>::size_type = long unsigned int]’ <near match>
  121 |     flex_vector(size_type n, T v = {})
      |     ^~~~~~~~~~~
…

i also tried to checkout cf752, which was the last commit that modified extra/guile outside the nix-shell and got the same errors, which makes me think it's a problem with my build environment and not the project. Any ideas on how to fix this?

Hi!
Since the Guile bindings are experimental and not really supported, and the issues seem to be build-system/setup related, I am gonna close this issue for now. That provided code is anyway just an example and hopefully it helped you get some inspiration on how to make your own bindings for ChezScheme. If you are interested in this, I extracted some of the binding infrastructure into another project, which admitelly is also largely outdated, but may help you solve the setup issues you are finding when trying to build the bindings included alongside Immer: https://github.com/arximboldi/schmutz
Cheers!


The default --miso_genes are invalid when --gencode is specified and cause the pipeline to fail

Description of the bug
Basically what the title says. When running the pipeline with --gencode, the default value for --miso_genes should be "ENSG00000004961.15, ENSG00000005302.19, ENSG00000147403.18", otherwise the pipeline will fail to run properly.
More info can be found here: https://github.com/nf-core/rnasplice/issues/72#issuecomment-1643637616
Command used and terminal output
No response
Relevant files
No response
System information
No response

Hey @amizeranschi , thank you for highlighting that. The problem refers to the gtf provided more than to the --gencode option. The pipeline has been designed to work with all the genomes and annotations, so we are going to fix that issue by changing some default options in the configuration file, leaving those IDs only for testing purpose.


List of possible symbols

How is possible to get a list of accessible symbols?

That is a feature that should be requested to the alphavantage people. Usually you can contact them and they reply rather fast. If they implement the call I will update the python library to support the call. Does this answer your question?
Best Regards
Romel

Hi Romel,
it does, thank s for answering!
I have already asked them, time ago, but not answer. I couldn't find either a list of symbols supported. I hoped you could have some info about it!
btw, congrats for the library and thanks for sharing!
best
Jesus

Ah, well... if they reply to you and give you an idea on how to do that (instead of offering an API call) I could help implementing in it in python.
For the time being I will close the issue, if you get more info, do reopen the issue and we'll see where we go from there.
Thanks for posting and using the library...
All the best,
Romel


Invalid schema for Datasets

Summary
Steps to Reproduce
POST this content at /api/v3/datasets
{
  "ownerGroup": "p1",
  "owner": "string",
  "contactEmail"<EMAIL_ADDRESS>  "sourceFolder": "/source/folder",
  "numberOfFilesArchived": 0,
  "creationTime": "2024-03-22T15:55:58.598Z",
  "principalInvestigator": "p1 mp",
  "creationLocation": "SOLEIL",
  "type": "raw",
  "origdatablocks": [
    {
      "createdBy": "string",
      "updatedBy": "string",
      "createdAt": "2024-03-22T15:55:58.599Z",
      "updatedAt": "2024-03-22T15:55:58.599Z",
      "ownerGroup": "p1",
      "accessGroups": [
        "string"
      ],
      "instrumentGroup": "string",
      "isPublished": false,
      "_id": "string",
      "datasetId": "string",
      "size": 0,
      "chkAlg": "string",
      "dataFileList": [
        {
          "path": "string",
          "size": 0,
          "time": "2024-03-22T15:55:58.599Z",
          "chk": "string",
          "uid": "string",
          "gid": "string",
          "perm": "string"
        }
      ]
    }
  ]
}

Current Behaviour
Returns this
{
  "createdBy": "ingestor",
  "updatedBy": "ingestor",
  "ownerGroup": "p1",
  "accessGroups": [],
  "isPublished": false,
  "owner": "string",
  "contactEmail"<EMAIL_ADDRESS>  "sourceFolder": "/source/folder",
  "size": 0,
  "packedSize": 0,
  "numberOfFiles": 0,
  "numberOfFilesArchived": 0,
  "creationTime": "2024-03-22T15:55:58.598Z",
  "type": "raw",
  "keywords": [],
  "datasetlifecycle": {
    "archivable": true,
    "retrievable": false,
    "publishable": false,
    "dateOfDiskPurging": "2024-03-25T15:01:46.238Z",
    "publishedOn": "2024-03-25T15:01:46.238Z",
    "isOnCentralDisk": true,
    "archiveStatusMessage": "datasetCreated",
    "retrieveStatusMessage": "",
    "retrieveIntegrityCheck": false,
    "_id": "6601920c3efea58ccc156928",
    "archiveRetentionTime": "2024-03-01T00:00:00.000Z",
    "dateOfPublishing": "2024-03-01T00:00:00.000Z"
  },
  "sharedWith": [],
  "origdatablocks": [
    {
      "createdBy": "string",
      "updatedBy": "string",
      "createdAt": "2024-03-22T15:55:58.599Z",
      "updatedAt": "2024-03-22T15:55:58.599Z",
      "ownerGroup": "p1",
      "accessGroups": [
        "string"
      ],
      "instrumentGroup": "string",
      "isPublished": false,
      "_id": "string",
      "datasetId": "string",
      "size": 0,
      "chkAlg": "string",
      "dataFileList": [
        {
          "path": "string",
          "size": 0,
          "time": "2024-03-22T15:55:58.599Z",
          "chk": "string",
          "uid": "string",
          "gid": "string",
          "perm": "string",
          "_id": "6601920c3efea58ccc156929"
        }
      ],
      "id": "string"
    }
  ],
  "principalInvestigator": "p1 mp",
  "creationLocation": "SOLEIL",
  "inputDatasets": [],
  "usedSoftware": [],
  "pid": "01.234.56789/b0767fc3-ba73-4a51-9cef-7c95d5b02856",
  "datasetName": "source/folder",
  "history": [],
  "techniques": [],
  "relationships": [],
  "attachments": [],
  "datablocks": [],
  "scientificMetadata": {},
  "createdAt": "2024-03-25T15:02:37.003Z",
  "updatedAt": "2024-03-25T15:02:37.003Z",
  "_id": "01.234.56789/b0767fc3-ba73-4a51-9cef-7c95d5b02856",
  "classification": "IN=medium,AV=low,CO=low",
  "__v": 0,
  "id": "01.234.56789/b0767fc3-ba73-4a51-9cef-7c95d5b02856"
}

Expected Behaviour
The Dataset collection should not contain datablocks or origdatablocks fields since they are stored in dedicated collections.

I think this is a feature, not a bug. The fields are already optional and this allows for easy one-request creation of a dataset, which is needed for more manual ingestion flows (e.g. just using curl) .

Max told me that it's a bug on Slack. Anyway if it's a feature it's still bugged because it doesn't create anything in the OrigDatablock, Datablock or Attachement collection.

Max told me that it's a bug on Slack. Anyway if it's a feature it's still bugged because it doesn't create anything in the OrigDatablock, Datablock or Attachement collection, any data put here will not show up in the UI.

Yes, that would make it a bug. The backend should take care of creating the necessary doc creation.


Duplicate lines due to adding many times the project name '+project_name' in the text file

Hello, there is an issue when you use the application intensively, It duplicates many times lines beacause in the text file it adds many times "+app +app +app" ...

I'm not really sure why anyone would include duplicated tags, but I'm sure there is some valid use case. The next release will fix this.
Thanks for the report.


[CT-3430] [Feature] dbt should tell me if a custom macro in my project overrides one in the global project or my adapter

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
today, users can name custom macros whatever they like, even using the same names as those defined within dbt-core's global project! We call that overriding, and laud it as a feature rather than a bug.
However, there be dragons here. One way to keep the dragons at bay would for dbt to at least warn in stdout that there exists a name collision and that a core macro is being overridden.
Describe alternatives you've considered
disallow use of reserved macro names entirely?
Who will this benefit?
dbt-core#8753 is one example.
@danielmcauley shared another in a #db-snowflake thread where when upgrading from 1.5 to 1.7 he discovers that the root cause is that their project contains a drop_table() macro that now in 1.7 is now overriding a newly introduced global project macro.
Are you interested in contributing this feature?
sure
Anything else?
No response

Dragons, indeed 🐉 -- thanks for raising this @dataders.
If we emit a warning to the logs, a user could use the warn_error_options config to exclude that warning. But it would be an all-or-nothing thing. i.e., if a user has silenced this warning and then creates a new macro that overrides a built-in, then it will just override it silently (which is just the same as the current behavior). Have you thought if there's a way we could opt-in/out on a macro-by-macro basis?
Some other questions:

what will happen if we start emitting these warnings?
what will happen if we don't emit any warnings?

It is of course a feature that users can override/reimplement global macros, as a way to plug into & change the behavior of dbt-core / adapters with just user-space code.
I agree there ought to be a better & clearer way for a user to say: "I know what I'm doing, and I mean to be doing it."
If we start raising a warning, we also need:

A way for users to silence it, for specific macros they intend to override global ones. (Is this a macro property? A decorator on the macro definition itself?)
A way for existing projects to opt out of seeing the warning at all, thereby giving them time to work through silencing ^those warnings for intended overrides

Here's a thread of someone who got burned by this, because a developer predating them changed the macro's behaviour.
It makes sense to be able to suppress the warnings in day to day use, but maybe dbt debug or similar should be able to list out any overridden Core macros so that when someone else comes along one day they have a chance at working it out.

From refinement:

How do we know which macros are coming from the adapter? Package name + name of current running adapter
This would apply for any macros, as well as materialization ones
Would best as parse-time warning, but would need to have all macros parsed in order to do that. Feels like a global check
We should not raise a warning if an adapter overrides a global macro

Partially resolved by: https://github.com/dbt-labs/dbt-core/issues/9981, which addresses the materialization macros component of this feature request and the will go out in 1.8 and will also be backported to 1.6 and 1.7.

Hi all, sorry that I kept missing this issue. Just did some digging in on the issue and came to the following conclusion:

We can do a parsing warning for all macros in root project that will overwrite dbt macros and package pretty easily

in order to do that, we can just do the check when we construct the namespace here

We can provide a flag to disable the warning pretty easliy

this will just stop the check we add in the previous step

We can let the user define a specific set macros that they don't want to raise error on. There are some plumbing to do but not to bad

we add some a new field in dbt_project.yml, value being a list of macros, we skip checking these in step 1

We can add special syntax so the overwrite is defined at where the macros are defined(idea 2 here), this seems like a big change.

this requires use to implement jinja extension for parsing macros

Any thoughts on which step we want to get to in this issue?

Thanks for the deep dive @ChenyuLInx! 🤩
If we can only get these two things done, that would be better than nothing:

We can do a parsing warning for all macros in root project that will overwrite dbt macros and package pretty easily

in order to do that, we can just do the check when we construct the namespace here

We can provide a flag to disable all warnings pretty easliy

this will just stop the check we add in the previous step

Then we could create a separate issue to refine the user experience and technical implementation for these pieces:

We can let the user define a specific set macros that they don't want to raise error on. There are some plumbing to do but not to bad

we add some a new field in dbt_project.yml, value being a list of macros, we skip checking these in step 1

We can add special syntax so the overwrite is defined at where the macros are defined(idea 2 here), this seems like a big change.

this requires use to implement jinja extension for parsing macros(something like this)

Although not the full desired end state, the reason that splitting this seems okay to me:

Any user that silences this warning would just get the same behavior as they have today
All other users would gain visibility into which macros are overriding one in the global project

@jtcohen6 and @graciegoheen How would you feel about splitting this along those lines? Would that be acceptable, or do you feel strongly that it should be all-or-nothing in relation to the granularity of silencing on a macro-by-macro basis?
If we do split this into separate issues, we could recommend not silencing this warning unless they'd accept not being warned about any new collisions.

talked during estimation: we want to create an opt-in flag to warn about what project root/adapter macros are overwritten by the user.
@graciegoheen what should the name of the flag should be? --strict?


vertx module not found

Getting this when using es6-promise 2.1.0 with webpack-dev-server:
./~/es6-promise/dist/es6-promise.js
Module not found: Error: Cannot resolve module 'vertx' in C:\web\node_modules\es6-promise\dist

@ ./~/es6-promise/dist/es6-promise.js 125:20-30

Just tested, this doesn't happen with 2.0.1

+1

Master works fine. Pending @jakearchibald  for a release

There's nothing new to release (there haven't been any commits since 2.1.0)
Looks like when had the same issue https://github.com/cujojs/when/pull/366. @stefanpenner should this fix be here or upstream rsvp?

#105 fixes it in browserify, I assume web-pack may follow the same conventions here, or maybe just delegate out to browserify.

Why is there anything specific to vertx here? Looks weird

See https://github.com/jakearchibald/es6-promise/blob/master/lib/es6-promise/asap.js#L90 - some trickery is used to require vertx but prevent browserify detecting it. Seems that webpack isn't fooled by this.

I submitted the config option that makes browserify actually ignore it. Maybe web pack also supports something like this?
If no one is sure I can dig in further

Here's what I added in my webpack config file until the changes are made.
plugins: [
    new webpack.IgnorePlugin(/vertx/),
],

Still screws up with webpack :(. I had to keep new webpack.IgnorePlugin(/vertx/) in my plugin list.

Is there a config token in package.json webpack cares about?

@stefanpenner "browser": {  "vertx": false } does fix the issue with webpack – but the change is not yet released on npm.

Ah ok.
@jakearchibald do you mind if I cut a new release( assuming I have all the credentials)

Just done a release :dash:

@stefanpenner I've added you as an owner, feel free to release at will

Awesome, thank you :D. Now it's working as expected.

@jakearchibald anything i need to know about the s3 stuff or bower stuff?


Turn off pricing column option.

Is there a way to turn off the price preview for deck lists?
I would love to use this plugin for organizing deck lists, but I am not interested in the cost of the cards.

@michael-byrd there is!  I just added a new setting called Show Prices.  When This is toggled off, it should hide the price column:


Allow "key" along with other equality filters

This resolves #3012.

http://ocd.appscale.net:8080/job/Daily Build/6136/
http://ocd.appscale.net:8080/job/Tools-test/4225/

Demo
master with https://github.com/AppScale/hawkeye/pull/160: http://ocd.appscale.net:8080/job/Hawkeye/17995/ (new test fails)
branch with https://github.com/AppScale/hawkeye/pull/160: http://ocd.appscale.net:8080/job/Hawkeye/17997/ (only urlfetch fails)


Change Prep init to pass folders as parameter

Pass folders to Prep with init parameters, this way the prep class couples less with subclass

The content in this PR have been incorporate into the current code


Download Audio File

Sorry about this but I didn't find the way to extract an Audio file from server, I'm using this code:
 val fileRequest:GetFile = new GetFile(msg.audio.get.fileId) // whats the next step
Regards

GetFile is just a case class, you need to do request(GetFile(...)) to actually spawn the request.
Please check https://github.com/mukel/telegrambot4s/blob/refactor/examples/src/VoiceFileBot.scala it's an example for the upcoming library refactor.
It's a bot that receives voice files sent by users.
Note that GetFile will provide with a URL (filePath) that you can then use to request the actual file. You can download the file using any http client. I just used Akka-http because was already included.
I'll keep this open for a while, feel free to ping me here.

Thanks, I already did my own implementation using your example :D regards (Y)


first run error

got this error on first run
async_api.py:157: RuntimeWarning: coroutine 'BrowserContext.clear_cookies' was never awaited
2nd time it ran without error

Can you run pip freeze in your virtual environment so I can see what version of playwright you've got installed?

playwright==1.29.0

Fixed by #5. Playwright's documentation didn't indicate this as being a coroutine, but it looks like it is with the async version of Playwright's API.


Enhance performance of getting information about keywords with big remote libraries

Hello!
We have really big remote libraries (about 50.000  kw) and we stuck on performance issues
While researching it i found that when client asks for kw names, server sends them all at once, but documentation, arguments e.t.c. sending by one. So we have around 200-300k of requests and to run single case we need to wait around 3 minutes to actually start.
Seems like ok, but in real life when we need to debug smth or run pabot(which simply run allocated instance of robot) 3 minutes becomes 5 hours for 100 suites and our parallel setup becomes useless also
Maybe its possible to make request for all at once and send them also like that?
For now we simply removed this functions from XmlRpcRemoteClient class in Remote.py and it starting now in less than 1 sec)
We also researched dynamic libraries API, but it seems like its not what we need)

Sending all information in one go sounds like a good idea, and is definitely possible, but would need someone to implement it. I can help with the design but don't have time for implementation in the near future. Are you interested? Once this feature would be added to the Remote API, it then needed to be added to various remote servers before actually helping.
Alternatively, or additionally, we could add a feature to the Remote library to disable querying other keyword information than names and possibly arguments. It would probably be easier to implement and wouldn't require changes to remote servers. Depending on the context, of some of this information may be needed during execution (especially argument names and types), so this wouldn't be as good solution than getting all information in one request.

Yeah, im definately interested in this!

We can easily pass arguments to Remote itself when it's imported (it currently gets the optional URI), but there's no way we can pass such initialization information to remote servers. I'm not sure why we needed to pass any such information to implement this functionality, though. This is how I think this should be implemented:

Add a new method to the remote API (and also the the dynamic API used by it) to get all information in one go. Two possibilities here:

Implement a single get_library_information that returns all information of the library (doc, version, ...) and all keywords (names, docs, args, ...). Basically a big dictionary in format like
{'name': 'ExampleLibrary', 'doc': 'Example doc', 'version': '0.0.1a1',
 'keywords': [{'name': 'Kw 1', 'doc': 'xxx', 'args': ['arg1', 'arg2=default']},
              {'name': 'Kw 2', 'args': ['**kws'], 'tags': ['example']}]}

This would have a benefit that there would be a single call to get everything. And additional benefit would be being able to pass information like the version and scope that the remote API currently doesn't support. Needed to think could we use possible scope information somehow or not, though. A possible problem is that the returned dictionary could be huge with big libraries. Needed to be tested can that cause issues.

Implement a keyword specific get_keyword_information that returns all information of that particular keyword. The return value would be a dictionary like {'name': 'Kw 1', 'doc': 'xxx', 'args': ['arg1', 'arg2=default']}.

Regardless would we implement get_library_information or get_keyword_information, we should just try calling that method to see is it implemented. If it is, individual methods like 'get_keyword_arguments` wouldn't need to be called.
If we'd implement get_library_information, then we didn't necessarily need to even call get_keyword_names. This would be a bit more work because at the moment we detect is the library using the dynamic API by checking does it have get_keyword_names and run_keyword methods. If we add support to get_library_information, we probably needed to change this logic so that this method in combination with run_keyword makes the library dynamic as well.

I was thinking this a bit more and realized it would be fine to implement this support only to the remote interface, not to the dynamic API. Robot communicates with the dynamic API on Python level and I doubt there are problems even if the lib would have lot of keywords. The problem is several orders of magnitudes bigger when API calls end up going over HTTP.
If we only implement this in the Remote API, the needed work is a lot smaller.

@MyMindWorld , @pekkaklarck I just found your discussion on performance issue for big library case.
Having exactly the same case, would you please share whether there is planned some implementation on bulk library transfer?

Let's see can we still get this into RF 4.0. I was planning to make a release candidate already today so it's pretty late, but I understand this would be a really important enhancement.

Thanks to PR #3802 by @JFoederer this enhancement has been done! I did some cleanup in the commits above and still need to enhance documentation a bit. Obviously remote servers need to be updated as well before this enhancement really brings benefits.

RoboCon sprints are running today and we just decided to talk about Python remote servers there at 12:00 UTC. Sprints are organized on Gather and you can access them via https://venue.robocon.io. This is very late notice but it would be great if you could make it there @JFoederer!


Organizational Security Concerns

Unfortunately, my organization will not allow download of the Sprint Goal add-in due to security concerns. I wanted to provide these concerns to you, hoping that if any are easily resolvable that I will be able to download it in the future, if resolved. This is the feedback from our security review:

The javascript files were minimized when they weren't supposed to be.
Within those minimized scripts, there was some payment module information that didn't look right.  I'm not sure why it would reference payment info when this has nothing to do with payment information.
Sending any information outside of the organization is a violation of security and could be cause for termination (which appears to happen with this add-in).
It's actually pulling in javascript from outside of the organization's walls; this is a violation and goes against security practices as it opens up our system to script injection.

Please let me know if there is any way to get support to address any of these!

I don't minimize the code, it is packed/bundled by WebPack in a single file. This is because and AzD extension is supposed to be self contained. For multiple reasons I prefer a single file containing all the packages I need.  (bundling != minimizing)

My code does not reference an external library (check the .html files). All packages I depend upon are listed in packages.json. These packages are included in the bundle which you can see in the browsers network tab (eg: sprint-goal.js)   --  It could be possible that any of these dependencies dynamically loads an external resource, I am not aware of that and can also not see that happen in my tests:

^^ all of these are Microsoft owned hosts
Totally agree
Totally agree


swap price websocket error

Description
Got this error when i refreshed dashboard/twin
Steps to reproduce

go to twin page
refresh page
check console

Logs/Alerts

should recheck this after #1758

this was happening as there were a race condition from 2 different clients try to create connection at the same time. There was a lock already to prevent this but the decision to create a new the connection and close the old one was done outside the lock.

Verified,

Devnet
000eea2
TC2434 - Verify Twin Page
NO error is shown after or before the refresh.

@amiraabouhadid
no errors anymore when refresh;
But what about the warning for no decoration ?

it's a normal warning


Fix query params behaviour difference between SSR and Hydrate

There is a behavior difference when we get search params (QueryString) right now between the SSR and Hydrate. Not only this, but both cases are sometimes just wrong. For example, if you have any parameter with a '+' encoded into the data it will be converted to a space in SSR. And it seems that Hydrate, can't handle any special character.
So here I am using the crate URL to parse the URL and get the query pairs and convert it to our ParamsMap. I am not sure why we are avoiding using this crate in Hydrate. If there is a good reason we might think of another way.

The reason the hydrate version isn't using the url crate is just that the browser already provides an API for URL parsing, and it reduces WASM binary size not to compile and ship a crate that duplicates this behavior. Have you done any testing on the difference in binary size between the current version and your PR? I'd be curious to know what it is. If it's significant, I'd rather find a way to fix the current implementations to make them consistent with one another.
This would be really simple -- just go into an example application, compile it to WASM in the current version, compile it to WASM with your version, and check the difference in binary size.
I'm very open to this if it doesn't increase binary size significantly, as it's always better to be consistent if there's not a cost.
I'd also be curious to see concrete examples

of when there's a mismatch between the browser and server behavior here, and
when you think both implementations are wrong. I might be misunderstanding the issue, but if the url crate and the browser's Url are both different from your expectation in the same way, I'd assume it's your expectation that's wrong

The reason the hydrate version isn't using the url crate is just that the browser already provides an API for URL parsing, and it reduces WASM binary size not to compile and ship a crate that duplicates this behavior. Have you done any testing on the difference in binary size between the current version and your PR? I'd be curious to know what it is. If it's significant, I'd rather find a way to fix the current implementations to make them consistent with one another.
This would be really simple -- just go into an example application, compile it to WASM in the current version, compile it to WASM with your version, and check the difference in binary size.
I'm very open to this if it doesn't increase binary size significantly, as it's always better to be consistent if there's not a cost.
I'd also be curious to see concrete examples

of when there's a mismatch between the browser and server behavior here, and
when you think both implementations are wrong. I might be misunderstanding the issue, but if the url crate and the browser's Url are both different from your expectation in the same way, I'd assume it's your expectation that's wrong

I see. It does make sense to keep the wasm size as small as possible.
So to check the size difference and also show the difference in behavior. I create a project using the start template. I added a the following log function so I can log what the message is in both the server side and the client side:
#[cfg(feature = "ssr")]
fn log(message: &str) {
    println!("{message}");
}

#[cfg(not(feature = "ssr"))]
fn log(message: &str) {
    use web_sys::console::log_1;
    log_1(&message.into())
}

So, in the HomePage component, I added the following:
let message = use_query_map(cx).with(move |p| p.get("message").map(|s| s.clone()));
match message {
    Some(message) => log(&message),
    None => {}
};

So I called the application using the following URL: http://<IP_ADDRESS>:3000/?message=Data%3A+%24+%26+%2B%2B+7.
On the server side, it was logged: Data: $ &    7
On the client side, it was logged: Data%3A+%24+%26+%2B%2B+7
While the expected data would have been: Data: $ & ++ 7
With this PR, both sides log the correct message.
Now about application size. With the code from the main, the total wasm side without any optimizations is 3605831. While with this pr, the total size is 4336344. A 16.8% increase. It seems a little too big so I will play around with this to see if I can make it work using only JS functions.

Okay, awesome. Rather than the manual parsing (without decoding) I was doing on the client side, it's probably a much better idea (although awkward in terms of Rust/JS interop) to use URL.searchParams
In JS I tested this out and it parses fine if you use .searchParams as opposed to .search
new URL("http://<IP_ADDRESS>:3000/?message=Data%3A+%24+%26+%2B%2B+7").searchParams
> URLSearchParams { message → "Data: $ & ++ 7" }

I still want to add some testing to this. But this fixes the issue. And the client wasm size is 3627185 bytes. A slight 0.5% increase

Awesome! Yes, that's great and a very small size increase in exchange for the proper behavior. I will let it run the CI for now, and let me know when you're happy with the testing, and I'll merge it.

@killertux I just pulled this down and it looks great, and handles special characters very well in query params across the server and client. Good with you if I go ahead and merge it after a final CI run, or did you have any other changes to make?

I think that this is good as well

Awesome! Merged, and thanks so much for the contribution.


Add tests for ConfigValidator

Hey Sam, I have been using Lasso for a while now and think I should contribute somehow. I am adding ConfigValidator tests and hope that will check one box on your Issue #38.  I am relatively new to open source and let me know if something is not up to the standard. Thanks!

Hey @husonghua, thank you so much! 🙏 I've taken a look at your PR and it looks good so far, I noticed a couple of things that could be changed.
Please could you remove test "it_throws_exception_when_storage_push_to_git_is_set" because this is legacy code, and Lasso no longer supports the "push to git" feature.
One other thing - please could you rename the last test from "final_test" to "it_throws_exception_when_public_path_is_inaccessible"
Thanks!

Ah, just remembered the push_to_git message - please keep this in.

Just fixed the test function name. I overlooked it when I rushed for the push yesterday.
I will try to help out with additional test coverage when I have some free time. Thanks!

Thank you for helping, husonghua


Converted Code to Discord.js v14

Hey, thanks for the PR!
Unfortunately I don't have time to actively maintain duino-stats anymore and test your changes.
I'll merge it into a separate branch for now


Goto line doesn't work properly in Mac OS X

VSCode Version: 1.36.1
OS Version: Mac OS X 10.14.5

Steps to Reproduce:

Open any file
Press ^ + G
Enter an arbitrary number that doesn't exceed the total lines of the file

Does this issue occur when all extensions are disabled?: No
(Actually, the bug seems not appears every time even when the extensions are enabled.)

@LZong-tw can you please share a recording/gif to help troubleshoot?


New Definitions / Resolve Issue Backlog

Apologies for the massive code dump; I'll do my best to humanize the work in this PR comment.

Screenshots
Before

After

File Additions

Converts the .tmLanguage to its YAML equivalent in Syntaxes/Ruby Slim.YAML-tmLanguage. This will require an extra build step, but the improved legibility is worth it.
A sample page to visually confirm the highlighting works as intended is provided in Demo/demo.slim. Its contents aim to cover as many edge cases as possible.

Features

Added filters for erb: and less:
Definitions for initial selectors (. or # shortcuts or HTML tags like span)
Definitions for . and # shortcut separators (i.e. span.my-class#my-id)
Definitions for attributes (i.e. a.my-class#my-id href="#")
Definitions for constants true, false, and nil when used as attribute values
Definitions for splats (i.e. a *{href: '#'})
Definitions for inline tags (i.e. p: span.my-new-tag)

Bugfixes

Support for the bracket attribute wrapper (i.e. span[attribute="value" other-attribute="other-value"])
#20 (related comment)
#38
#47 and #53
#56
#58

(Unrelated: #23 and #41 seem complete)

I am currently using the latest version from tshedor:master (https://github.com/tshedor/ruby-slim.tmbundle) with Sublime Text 3 and so far it works like a charm. Thanks @thsedor!

Great work! 👍 I am happy to merge this big PR when @tshedor feels it's ready and stable. :)

@fredwu Merge away! I was able to test on ST2 today and only encountered one [quickly resolved] bug. Thanks!

Awesome, thanks @tshedor! 👏
Merging this, everyone please give this a try and report any issues. 😈


Cross-compiling tests doesn't work if a package uses macros

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

[X] Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description
It always fails with an error like this with my Android SDK bundles:
error: Failed opening '/home/finagolfin/swift-syntax/Examples/.build/aarch64-unknown-linux-android24/debug/index/store/v5/units/AddAsyncMacroTests.swift.o-20XPE2PQ2J7J7': No such file or directory

I first reported this bug in April, nothing has changed since.
Expected behavior
The tests to cross-compile
Actual behavior
Weird errors that it can't find a file
Steps to reproduce

~/swift-6.0.2-RELEASE-fedora39/usr/bin/swift sdk install ~/swift-6.0.2-RELEASE-android-24-0.1.artifactbundle.tar.gz
cd swift-syntax/Examples
~/swift-6.0.2-RELEASE-fedora39/usr/bin/swift build --build-tests --swift-sdk aarch64-unknown-linux-android24

It fails with a similar error for the latest trunk 6.1 SDK bundle used by the command ~/swift-DEVELOPMENT-SNAPSHOT-2024-10-30-a-ubi9/usr/bin/swift build --build-tests --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -disallow-use-new-driver, with that last flag needed because of a swift-driver 6.1 regression, swiftlang/swift-driver#1723.
Swift Package Manager version/commit hash
SwiftPM 6.0 and 6.1, cross-compiling packages that use macros didn't work at all before that
Swift & OS version (output of swift --version ; uname -a)
Swift 6.0.2/6.1 cross-compiling the swift-syntax example or swift-foundation tests for Android AArch64 from linux x86_64

If I create a MacroDemo project with swift package init --type macro, it fails to cross-compile with a similar error:
$ ~/Library/Developer/Toolchains/swift-6.0.2-RELEASE.xctoolchain/usr/bin/swift build --swift-sdk 6.0.2-RELEASE_ubuntu_jammy_aarch64 --build-tests

Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.02s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 510.0.3
Building for debugging...
…
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
error: Failed opening '/opt/src/github/MacroDemo/.build/aarch64-swift-linux-musl/debug/index/store/v5/units/MacroDemoTests.swift.o-OV9PWKAUKWEY': No such file or directory

The same error occurs with the 6.0.2-RELEASE_ubuntu_jammy_aarch64 (which I built with swift-sdk-generator: swift run swift-sdk-generator make-linux-sdk --swift-version 6.0.2-RELEASE), as well as with both the Musl SDK (swift-6.0.2-RELEASE_static-linux-0.0.1) and the Android SDK (swift-6.0.2-RELEASE-android-24-0.1).

Thanks for checking, Marc.


#7 add label for consistent mass deletion of CES K8s resources

kustomization takes a different approach to adding label than regular resource YAMLs, so this commit makes amends as the previous commits missed to add labels on generated ConfigMaps.

lgtm


[fix bug] add optimizer.zero_grad() in  kws/utils/executor.py (#72)

I noticed that in the training stage, when optimizer.step() is called, optimizer.zero_grad() is not called, so I submit this commit to fix this bug.

I think you should add optimizer.zero_grad() above loss.backward()

I think so.

Thank you for the suggestion, I have made some changes.


Show spinner when loading and processing another indicator

Otherwise it's easy to think the app got frozen
Especially in mobile

https://github.com/Gapminder/vizabi/pull/1541

https://github.com/Gapminder/vizabi/pull/1547


Data template usage for Rest sinks can be improved?

{
  "id": "rule1",
  "sql": "select rand() as rkey,randomnumber from demo where randomnumber > 80",
  "actions": [
      {
      "rest": {
        "url": "http://<IP_ADDRESS>:48060/api/v1/notification",
        "method": "post",
        "dataTemplate": "{\"slug\": \"notice-test-{{.rkey}}\", \"sender\": \"System Management\", \"category\": \"SECURITY\", \"severity\": \"CRITICAL\", \"content\": \"Number is too high: {{.randomnumber}}\",  \"labels\": [ \"cool\", \"test\" ] }",
        "sendSingle": true
        }
      }
    ]
}

Currently, if there are " in the data template, then it need to be escaped, can we improve this?

Use the data template to support the feature, and close the feature.


How to find endpoint for See Click Fix installation?

Hey! I'm trying to add Oakland to this.
The closest I can get to figuring out the endpoint URL is going here:
https://seeclickfix.com/api/v2/places?address=Oakland,+CA
...which says that Oakland has ID = 1693. But this doesn't seem to work.
Am I missing something? How do I get the endpoint URL for Oakland?

SCF's places API for open311 requires an "account ID", which I couldn't find an index/lookup for. I wrote a gentle script to poke at their services api, and determined that oakland's account code is 219.
Here's all of the results: https://gist.github.com/bensheldon/8eede8245f159cd2096569cdb9d84a45
I'm about to switch over from a node version open311status to a rails-based version. Please hold off on adding it till I get #33 merged.

Ruby on Rails application is now on master branch; would love feedback on making update.

Oh, hah. I'm glad I wasn't missing anything. I'll PR it into the config!


Deployment error!

Hi,
I am trying to install the basic people counter app in Panorama device as per the aws-panorama-samples/people_counter_tutorial.ipynb
I am getting the following set of errors at the deployment stage.

time 0:  ERROR fetchFromS3(76) Error: GetObject: : curlCode: 28, Timeout was reached
time 1: ERROR downloadArtifactsS3(76) download file failed: {accountid}/payloads/device-*/deployments/xxxabc.json
time 2:ERROR downloadApplicationGraph(102) Downloading application payload for application: applicationInstance-* failed!
time 3: ERROR installApplicationTask(264) Failed to install application: applicationInstance-* :
EXCEPTION THROWN:
at <time 3> ERROR loadApplicationGraph(301) Failed to install application:Unable to open application graph file: /data/cloud/graphs/applicationInstance-*/graph.json:Please redeploy the application or reset your device. If issue persists, ask Panorama team for assistance

The device is online the whole time and all other pre-requisites are satisfied. I have tried many times but still get the same error.
Wanted some help in this regard from AWS Panorama team.
Thanks.

Hi @vinodjsr , thank you for your post.
I would like you to check 2 things

Could you check if you see following log in the occ_log stream?
"Unable to fetch device credentials" or "Unable to update device credentials" or "Failed to fetch device credential"

Could you check if your network (where your Panorama device is located) is configured to allow access to S3 endpoints? Any firewall setting restricting access to S3?
https://docs.aws.amazon.com/panorama/latest/dev/appliance-network.html#security-infrastructure-internet

Hi,

Could not traceback any of these errors. Although its a bit puzzling that the containers compiled by panorama samples and upload to {myaccountid} s3 bucket (?) are not being fetched by the panorama device on {myaccountid} even though the object in s3 are public and block is disabled. Also access points to {myaccountid} s3 are internet enabled.

There is no firewall anywhere.

What I indeed would like to know are:

Once the containers are formed in the test utility, where are they uploaded? Are they uploaded to my s3 bucket with my access points or are they hosted on some AWS public s3 bucket and served by public AWS ECR?

I am getting regular curl timeout 28 <GetObject: : curlCode: 28, Timeout was reached> error, even though the device is online consistently. Its only when the artifacts are downloaded do i get the timeout error. Is there any network setting in Panorama service where this error can be avoided?

The locations of downloads are not clear enough for a newbie to start debugging- e.g the location
<download file failed:<PHONE_NUMBER>22/nodePackages/abstract_rtsp_media_source/manifests/1.0/1f1bbff6b79e32b91dd51376f50e78ad333199515078d749710921f76498bdb7.json> is not clear. Here<PHONE_NUMBER>22 is not even my AWS account id!

Any pointers to comprehensive documentation on the panorama code flow starting from model building in EC2 hosted jupyter notebook to containerization of the application to its upload (where/what/how is the application being uploaded? own s3 or public s3/ECR?) to location from where panorama accesses these containers ( s3/ECR access point configuration) and how to check if the device is actually downloading the application and at which stage the device fails or is interrupted (?) WILL BE HIGHLY APPRECIATED.
Thanks,
vinod

@vinodjsr, the s3 buckets are owned by Panorama service, they are configured to be accessed only from specific customer account (in this case, yours) and IAM role. Just to be clear, it is not public.
To troubleshoot your asset download failures, I would like to gather full logs from all log streams. Could we please start an email discussion? Please send an email to me : shimomut{at}amazon.com
Then we would ask to export log streams around the failure using this tool.
https://github.com/aws-samples/aws-panorama-samples/tree/main/tools/export_logs

@shimomut,
I was able to fix the deployment error by resolving network latency. Turns out the panorama device requires very low network latency. Thanks for all the help though.
Thanks,
vinod

Issue resolved. Thanks @shimomut  for prompt response and pointing to debug tools.


When the layout_width="wrap_content", the child views are not in the right width.

The code:
<com.google.android.flexbox.FlexboxLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:flexDirection="row">
        <TextView
            android:text="address:"
            android:layout_marginRight="10dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>
        <TextView
            android:id="@+id/cotent"
            android:text="this is a long long long long something something and could"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>
 </com.google.android.flexbox.FlexboxLayout>

In this way, I can't see the full "content" view. It's text is not complete in the screen.(if you can't see the photo, just click the link)

Is there any idea to solve my problem? Thank you very much.

Thanks for the report. Looks like this is a bug with FlexboxLayou in the measure phase. Let me keep this as a bug.

surround textview with ConstraintLayout may help

any solutions?

It's seems working well.

Is it still not fixed?


Configure TLS using a KeyStore

Motivation
By using a KeyStore to configure TLS for Pulsar components, we're able to support additional algorithms, like ECDSA.
Changes

Use the certconverter-configmap to generate the keystore (right now it is JKS, but it should be PKCS12 in a future iteration)
Set password environment variables
Set the relevant TLS configurations

I tested this with both the examples/dev-values-tls-all-components.yaml and the examples/dev-values-tls.yaml files. Both deployed successfully.


[SPARK-26504][SQL] Rope-wise dumping of Spark plans

What changes were proposed in this pull request?
Proposed new class StringRope for converting a sequence of strings to string with one memory allocation in the toString method.  StringRope replaces StringBuilderWriter in methods of dumping of Spark plans and codegen to strings.
All Writer arguments are replaced by String => Unit in methods related to Spark plans stringification.
How was this patch tested?
It was tested by existing suites QueryExecutionSuite, DebuggingSuite as well as new tests for StringRope in StringUtilsSuite.

@hvanhovell Please, take a look at the PR.

Can one of the admins verify this patch?

Test build #100537 has finished for PR 23406 at commit f621de7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/100537/
Test PASSed.

Test build #100539 has started for PR 23406 at commit ca4aed8.

cc @rednaxelafx

Test build #100556 has started for PR 23406 at commit 544b80e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/6491/
Test PASSed.

Test build #100556 has finished for PR 23406 at commit 544b80e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/100556/
Test PASSed.

Test build #100573 has started for PR 23406 at commit 074e9b8.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/6504/
Test PASSed.

Test build #100573 has finished for PR 23406 at commit 074e9b8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/100573/
Test PASSed.

Test build #100587 has started for PR 23406 at commit 29b62bf.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/6516/
Test PASSed.

Merging to master. Thanks!

Late but looks good to me.

@hvanhovell @srowen @rednaxelafx Happy New Year!!!


Week numbers not applied correctly

If "showWeekNumbers" prop is set to "true" the first week of 2020 should be the week of Sunday, Jan. 3. 2021. React datepicker says this is the 2nd week of 2021.
2020 should have 53 weeks, where the week ending on Jan 2, 2021 is the 53rd week. See: https://www.epochconverter.com/weeks/2021 as a reference for (official) weeknumbers. React datepicker seems to go only to 52 weeks.

I noticed this problem also.

Same for me.
But, i think the problem is with date-fns. This lib is used on date_utils.js file, and i've try this :
console.log(dfgetWeek(new Date())); // 2, it's wrong

Same for me.
But, i think the problem is with date-fns. This lib is used on date_utils.js file, and i've try this :
console.log(dfgetWeek(new Date())); // 2, it's wrong

Has this fix been released yet? When I go to the examples in the site and change locale to en-US and showWeekNumbers to true, it shows that week 1 starts on January 10th.

I noticed though that, for some reason, the locale value changes the week result.
Also noticed that the code still uses a locale value here, although it sohuld not matter at all since date-fns/getISOWeek only accepts one date argument

2021-07-23 should be W29 (source wikipedia)


update Material-X

[ ] Read the theme publishing doc or plugin publishing doc.

Thank you for your contribution :)


Microinverter current power and lifetime power is zero

Note that all system level data is sane.
Envoy-S 9170
Firmware R4.10.35
Production metering is enabled and readings are reasonable.
All 18 microinverters (IQ7X) are reporting and indicate producing and provisioned, and communicating.
All 18 microinverters show Power 0 W and power max 0W. Enlighten Manager shows both figures per inverter (eg.  181 W, 799kWh)
Also, Voltage in Power and energy production shows up as 80.4 V, vs. 243.2 V (Enlighten Manager Microinverter AC Voltage)

Please enable debug mode and get the log.

Regarding issue 1 - sanitized log added
Regarding voltage - After upgrade to current version this weekend, voltage is now 120ish instead of 80ish.  Enphase Envoy still reports 243
homebridge-log-enphase-2.txt
.2


I don't see password grant flow in my Discovery document.

I don't see Password grant flow listed in my discovery document under grant_types_supported. I am able to see only
grant_types_supported: [
"authorization_code",
"client_credentials",
"refresh_token"
"implicit",
]
And implemented a client to use password grant flow but not able to get the Access_Token. This is what my logs show : Resource owner password credential grant type not supported
Please let me know if i am missing something for Resource Owner password flow.

Got It , had to implement  IResourceOwnerPasswordValidator in IdentityServer. and it worked !!


Vim LSP, is it worth it?

Is it worth adding a vim-lsp that's written in JavaScript like https://github.com/iamcco/vim-language-server or there are any plans to have this natively for example?

Maybe but I think we should steal that signaturehelp style for the core lsp. I really should improve that feature.

True & that's also one more reason IMO that it should be maybe provided by neovim directly, then the integration would be better overall + no need for external dependencies (not everyone who uses vim uses or needs JavaScript) but all of them will benefit from this

I think if we wanted to provide an LSP style diagnostic, we could do it via treesitter, so we could wait for that to settle and then see.


Markdown files don't have a link back to home or to an upper level file

Markdown files don't have a link back to home or to an upper level file

:+1: This would be very helpful when navigating.


No mention that credits expire.

[Enter feedback here]
No mention that credits expire after 12 months. That's an important "feature".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d52a9779-b72d-dea0-eac2-6c04a8c282eb
Version Independent ID: d3c3d968-9e54-ec42-3438-9320e23d68b9
Content: What are Communications Credits? - Microsoft Teams
Content Source: Teams/what-are-communications-credits.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @epbccorey how are you? hope you are doing good 👍
That is mentioned in the next article of the section

Any funds not used within 12 months of the purchase date will expire and be forfeited.

Thanks for your feedback

I am doing good. Hope you are too.
On that page it’s buried in a minor note, in the second sentence of a paragraph.
There’s no “Do Credits Expire” heading.
It looks like you’re trying to hide it.
We just spent two months in back and forth emails with Microsoft Support because my boss didn’t know that credits expire. That’s a lot of wasted time.
I recommend adding it to the first page.
Corey
From: Andres Mariano Gorzelany @.>
Sent: July 21, 2021 5:45 AM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Corey Fehr EPBC @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] No mention that credits expire. (#7572)
Hello @epbccoreyhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fepbccorey&data=04|01|corey.fehr%40educationplannerbc.ca|6b78f7c0e73a41e5283008d94c455e74|31f68b852fd5401e88a4bda85d3294b0|0|0|637624683084000082|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Qvd1yGr4pAoQABYtY%2Fmd29e7Nuc6lsIPEGsvrW%2BqDac%3D&reserved=0 how are you? hope you are doing good 👍
That is mentioned in the next articlehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fset-up-communications-credits-for-your-organization&data=04|01|corey.fehr%40educationplannerbc.ca|6b78f7c0e73a41e5283008d94c455e74|31f68b852fd5401e88a4bda85d3294b0|0|0|637624683084010075|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=MT%2B98dFcpbuZuX%2FHTO1oD60kvLPjd%2Be032aNirFqsyA%3D&reserved=0 of the section
Any funds not used within 12 months of the purchase date will expire and be forfeited.
Thanks for your feedback
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F7572%23issuecomment-884160384&data=04|01|corey.fehr%40educationplannerbc.ca|6b78f7c0e73a41e5283008d94c455e74|31f68b852fd5401e88a4bda85d3294b0|0|0|637624683084010075|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=mtBzZIpnlXDkVSXCWtjk8sI9gzl%2FPyzBc7DI4VyhVLI%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPF3APQKMTSSUEHT764W6RLTY26NFANCNFSM5AWBPN6Q&data=04|01|corey.fehr%40educationplannerbc.ca|6b78f7c0e73a41e5283008d94c455e74|31f68b852fd5401e88a4bda85d3294b0|0|0|637624683084020072|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Jkpfnh0uupuPW33O8jSpgESc7K0AsYWOnt0RshS1xJk%3D&reserved=0.

Thanks for your feedback @epbccorey

@scanum please close.