Suggestions Error on linux

What did you do?

Start the IDE from the command line, and watched the output in the terminal in Pop!OS 20.04 (Ubuntu 20.04)
What did you expect to see?

Description of what is going on.
What did you see instead?

What happens is that an error appears, about finding suggestions:
This is the last [info] message

[info] [2021-04-14T21:29:24.308Z] [org.enso.languageserver.text.CollaborativeBuffer] Buffer opened for Path(f2644d76-41db-46ad-8a38-0adaf7dfc43a,Vector(src, Main.enso)) [client:51e74f29-88e0-4122-8c90-420b020af59b]

And then it starts on [error] messages

[error] [2021-04-14T21:30:07.523Z] [org.enso.languageserver.runtime.ContextEventsListener] Unable to find suggestion for (Standard.Base.Data.Number.Extensions,Builtins.Main.Integer,up_to)
[error] [2021-04-14T21:30:07.524Z] [org.enso.languageserver.runtime.ContextEventsListener] Unable to find suggestion for (Standard.Base.Data.Range,Standard.Base.Data.Range.Range,to_vector)
[error] [2021-04-14T21:30:07.524Z] [org.enso.languageserver.runtime.ContextEventsListener] Unable to find suggestion for (Standard.Base.Data.Vector,Standard.Base.Data.Vector.Vector,map)

And then this one about dead letters:

[info] [2021-04-14T21:30:39.284Z] [akka.actor.LocalActorRef] Message [org.enso.languageserver.search.SearchProtocol$CompletionResult] from Actor[akka://language-server/user/suggestions-handler#-1970814948] to Actor[akka://language-server/user/$c/request-handler-Completion-b4439717-f434-440b-aabd-8c64ba4f7f71#-1023448089] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://language-server/user/$c/request-handler-Completion-b4439717-f434-440b-aabd-8c64ba4f7f71#-1023448089] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
^C[internal-logger-error] One of the printers failed to write a message: akka.stream.StreamDetachedException: Stage with GraphStageLogic akka.stream.impl.QueueSource$$anon$1@4e34b89f stopped before async invocation was processed

Enso Version

enso-linux-2.0.0-alpha.3.AppImage
Additional notes
On my machine, I've gotten suggestions to work once out of maybe 10 starts. I don't know why. I let the Enso instance sit for 5 minutes, and they still don't appear.

Can be caused by #1590


Adding NegativeInt Scalar

Adding NegativeInt Scalar type to HotChocolate.Types.Scalars

Merged! Thanks for the contribution!!

Merged! Thanks for the contribution!!


Model mismatch between nice and raw version

I try to run the example code basic_walkthrough.py to generate model , here are the model files dump.nice.text, dump.raw.text respectively:
booster[0]:
0:[odor=pungent] yes=2,no=1
1:[stalk-root=cup] yes=4,no=3
3:leaf=1.71218
4:leaf=-1.70044
2:[spore-print-color=orange] yes=6,no=5
5:leaf=-1.94071
6:leaf=1.85965
booster[0]:
0:[f29<-9.53674e-07] yes=1,no=2,missing=1
1:[f56<-9.53674e-07] yes=3,no=4,missing=3
3:leaf=1.71218
4:leaf=-1.70044
2:[f109<-9.53674e-07] yes=5,no=6,missing=5
5:leaf=-1.94071
6:leaf=1.85965
In the first model  when  [stalk-root=cup] yes=4 it goes to 4, while in the second it goes to 3.
Why does that discrepancy exist?

In the first one it checks for =1 (text) while the second one checks for =0 (raw).


[DO NOT MERGE] Test nexus 2

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

a
b

Pull request test result: success :star:
Sonar results

Pull request test result: failure :x:


Same volume ids on different volume servers (cause because of master quorum issue)

Describe the bug
After master restart, some volume servers started to create volume id's starting from the beginning again (1 - 7).
We are not using replication or EC. During an upgrade the masters had issues with quorum and I think multiple masters were leaders for a small amount of time or it could be related to enabling volumePreallocate. We now have an issue where we have same volume ids for 1-7 on multiple volume server. I enabled -volumePreallocate on the masters and then rebooted them. At this point quorum was failing for a long time. I removed the -volumePreallocate config and rebooted them again and quorum was OK.
Suspicion that during the quorum startup issues 2 masters were leaders and caused issues?
System Setup

List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount".

5 master servers

5 filer servers

Many volume servers
Master:

OS version
Debian 12
output of weed version
version 30GB 3.80

Expected behavior
No defect
Screenshots

Is it possible to delete those incorrect volumes 1 - 7 that are small. I don't care about losing those files.

I was able to resolve the issue with volume.fix.replication in the weed shell.


User guide: checking Java version in language container

Situation
Before they install Virtual Schemas, users must know, which Java version is installed in their cluster's language container.
Acceptance Criteria

User guide states how to find out, which Java version the LC containes.

As a starting point:
ls  /usr/opt/EXASuite-*/EXASolution-*/tests/default_bucket/EXAClusterOS/*/usr/lib/jvm/

Should be wrapped in a grep command though, to display only the important information.


Is it possible to use regular expression in filter ?

hi all,
I try to using regular expression in my rule as below, it's will alert when id is 1.1 and msg contain type.24:6
 filter:
 - and:
    - term:
         id: "1.1"
   - query:
        query_string:
            query: "msg:\"Type.[0-9]{1,2}\\:6\""

but it's cannot alert  ,Is it possible to use regular expression in filter ?
Thanks by advance

Yes. You need to use https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_regular_expressions. Basically, surround it in / ... /
Also, the and there is implicit, so you don't need it.
I think this is what you want:
 filter:
   - term:
         id: "1.1"
   - query:
        query_string:
            query: "msg: /Type.[0-9]{1,2}\\:6/"

hi Qmando,
I have reset my filter as you said as below,
 filter:
   - term:
         id: "1.1"
   - query:
        query_string:
            query: "myfield: /Type.[0-9]{1,2}\\:6/"

but it's get any alert when have match document ,
Would you have any idea of what might be causing this ?
thanks,

hi Qmando,
I have reset my filter as you said as below,
 filter:
   - term:
         id: "1.1"
   - query:
        query_string:
            query: "myfield:/Type.[0-9]{1,2}\\:6/"

but it's get any alert when have match document ,
Would you have any idea of what might be causing this ?
thanks,

What is the EXACT value you are trying to match?
Did you try using .raw ?

hi Qmando,
for example exact value is
  Line protocol on Interface GE0/7/1/0/20, changed state to Down

my filter as below
 filter:
   - term:
         id: "1.1"
   - query:
        query_string:
            query: "devmsg: /GE[0-9]{1,2}\/[0-9]{1,2}\/[0-9]{1,2}\/[0-9]{1,2}, changed state to Down/"

but when I run the rule ,got the error output
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/elastalert/elastalert/elastalert.py", line 1408, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/elastalert/elastalert/elastalert.py", line 1403, in main
    client = ElastAlerter(args)
  File "/elastalert/elastalert/elastalert.py", line 94, in __init__
    self.conf = load_rules(self.args)
  File "elastalert/config.py", line 400, in load_rules
    raise EAException('Error loading file %s: %s' % (rule_file, e))
elastalert.util.EAException: Error loading file ./rules/log.yaml: Could not parse file ./rules/og.yaml:  while scanning a double-quoted scalar
  in "./rules/log.yaml", line 24, column 17
    found unknown escape character '/'

I don't think you need the backslashes () because / doesn't need to be escaped. Also note (https://www.elastic.co/guide/en/elasticsearch/reference/2.1/query-dsl-regexp-query.html) that regular expressions are anchored, so they must match the whole string. I'm not sure if you want to match GE0 or TE0, but you probably want
 filter:
 - term:
        id: "1.1"
  - regexp:
       log_desc.raw: "Line protocol on Interface TE[0-9]{1,2}/[0-9]{1,2}/[0-9]{1,2}/[0-9]{1,2}, changed state to Down"

You can probably simplify it to "Line protocol on Interface TE.*?changed state to Down"

hi Qmando,
is it must to use .raw field ?

Yes. use .raw, like I said

Hi Qmando,
now i have follow as you said , using .raw field,
for example field value is
exact value is
   bla,bla,bla,bla,bla,bla,test::cerent84State.16785422.430:40,blablablablablablablablablablabla,b

I want to alert when match the pattern
       cerent84State.16785422.430:40

but  16785422 and 430 is random produce, so I set * to my rule
and  my filter as below,
  filter:
       - term:
              id: "1.1"
      - regexp:
             log_desc.raw: "cerent84State.*:40"

but still cannot alert when match match the rule ?
what's wrong with my code ? Thanks!

Elasticsearch regexp is anchored, meaning you have to use ".cerent84State.:40". Leading wildcard is slow but it should match.

Hi Qmand,
the dot . in my pattern is original message
cerent84State.16785422.430:40
follow as you said ,it's still cannot match with my rule
  filter:
       - term:
              id: "1.1"
      - regexp:
            log_desc.raw: ".cerent84State.:40"

and i try to use wildcard as below ,still cannot match
  filter:
       - term:
              id: "1.1"
      - regexp:
            log_desc.raw: "*cerent84State*:40*"

what's wrong with my code ?
Any help should be appreciated!
Thanks!

".*cerent84State.*:40"
Sorry, the github thought the asterisk was a markdown character

hi @Qmando ,
log_desc value is
bla,bla,bla,bla,bla,bla,test::cerent84State.16785422.430:40,blablablablablablablablablablabla,b

the filed mapping as below,
   "log_desc" : {
        "type" : "string",
        "fields" : {
          "raw" : {
            "type" : "string",
            "index" : "not_analyzed",
            "ignore_above" : 256
          }
        }
      },

but as you said  still cannot math the rule  as below,
filter:
- term:
id: "1.1"
- regexp:
log_desc.raw: "cerent84State.:40*"
and I tried the filter
filter:
- term:
id: "1.1"
- regexp:
log_desc.raw: "cerent84State..:40"
,still cannot match
what's wrong with my code please ?
Any help should be appreciated please!
Thanks!

Again, you need to start with .* not just *

hi @Qmando ,
I have try
filter:
       - term:
              id: "1.1"
      - regexp:
            log_desc.raw: ".*cerent84State.*.*:40*"

and
filter:
       - term:
              id: "1.1"
      - regexp:
            log_desc.raw: ".*cerent84State.*:40*"

and finally ,
filter:
       - term:
              id: "1.1"
      - regexp:
            log_desc.raw: ".*"

but ,all of these cannot match
Any help should be appreciated please!
Thanks!

Have you considered if id is not matching?

hi @Qmando ,
I have try to only set term in filter, and it's match
but ,when add regexp in my filter didn't match .
I don't know what's wrong with it ?

Hi. I have similar issue so I thought I will just add here.
I try to alert on following:
"message": "2017-03-19 01:15:53.625 CET [10651]: [2-1] user=,db=,client=, app_name=[] FATAL:  could not receive data from WAL stream: ERROR:  requested WAL segment<PHONE_NUMBER>44054440000040 has already been removed\n\t",
rule configuration:
type: any
filter:

term:
level: "FATAL"
regexp:
message: ".ERROR:."

realert:
hours: 1
If I alert on term only I can see hits but together with regex: - 0 hits
It looks to me that the regex is incorrect.

I found following:
https://github.com/Yelp/elastalert/issues/790
The solution looks to be:
filter:

query_string:
query: "message: errori AND (level: FATAL)"

@alankis is this query working fine after the edit? I think you need to add ./ insted of / in the start of query, what are you trying to match exactly?
filter:
- query:
    query_string:
      query: "system.process.cmdline: /.*org/.apache/.spark/.deploy/.master/.Master.*/"
      analyze_wildcard: true

@abhishekjiitr If I am correct, I should also escape '.' (dot character) with a leading backslash? Eg.
/.*org\.apache\.spark\.deploy\.master\.Master\.*/
This is at least true from the ES documentation.
I am using the following query in Kibana discover pane and it is returning the expected value:
system.process.cmdline: *org\.apache\.spark\.deploy\.master\.Master*

@Qmando i have issue with using  regex in query_string filter
filter:

query:
query_string:
query: "field: /.'./"
I used multiple ways which are

-query: 'field: /.'./' ---which throws error
2.
-query: 'field: /.''./' ---which doesnt throw error but doesnt alert
My alert condition is to alert if the field has any data with an apostrophe('). Kindly help in this regard

Is field analyzed? If so, you'll definitely need field.raw or field.keyword. I would have tried option # 1 so if that doesn't work I can't help you.


Widget: Range Slider

Description
standard form slider input that emits events when the value is changed.
Properties
Existing Dashboard 1.0 properties:

Events

on-change: this widget would need to send a message back to Node-RED when it's value is changed/updated

Controls

enabled: this widget can be enabled/disabled
visible: this widget can be hidden

Existing Examples
Vuetify Component: https://vuetifyjs.com/en/components/sliders/
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

Basic implementation with definable "range" added in #33

Documentation has been added https://flowforge.github.io/flowforge-nr-dashboard/nodes/widgets/ui-slider.html


Install to user dir instead of system dir

System dir should be used when install from system packages. For manual installation, user dir is preferred.

Thanks!


Added: Day10 solution in GoLang

@garvita-jain  this PR contains Day9 file changes also. to request you to create PR  only for Day10 here. you can create a new branch from master and make a commit for Day10 in that branch and create PR with that branch.

@garvita-jain can you update it ?

@garvita-jain any updates for this onee ?

hey @garvita-jain, request you to update about this.

I have made another pull request. Please review it.


⚠ Secret Website 3 has degraded performance

In 508c30e, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2676 ms

Resolved: Secret Website 3 performance has improved in 1853d8f.


SHA256 on Core.Install 1.0.1 Fails

Different SHA-256 hashes are causing the Chocolatey Package to fail. I am getting the following SHA hashes by hand:

DotNetCore.1.0.1-Runtime-x86.exe: 8445CD876475F09EE7459701C759C9B9A73D452EAA6563E3F74132477F0DCC52
DotNetCore.1.0.1-Runtime-x64.exe: CC6D028E60439698B8FA06D676CCB148F2147C747C50CBF7AF3353F3902D2411

Updated and pushed to chocolatey.org. Thanks for reporting this.
(Microsoft has updated the installers without changing the urls.)

Wow, that's a bit scary. Thanks for clarifying @jberezanski!


Implement Landing Page Content for Option A

Landing Page here means the page content for the default topic. URL is: https://livepeer.com/docs/guides.

This option is now at ~75% completeness.


Align revision tags with injection changes

Fixes #30392. Puts the revision tag template in line with the recent changes to injection behavior from #30013. Also fixes bug that prevented users from pointing a revision tag at the default revision
[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[x] Does not have any changes that may affect Istio users.

@Monkeyanator: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
69b87c756330932681d2fcf32eb83e7896f4f2be
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@Monkeyanator: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
69b87c756330932681d2fcf32eb83e7896f4f2be
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Added support for unsigned identity quantization

Hi @lecramdev,
Thank you for the PR!
Could you please sign-off your commit? To be compliant with our contribution guidelines: https://github.com/Xilinx/finn/blob/main/CONTRIBUTING.md
It should be possible to sign-off already pushed commits.


How to pass events to event bus using the DoctrineORMBridge

It took me some time to answer my own question I asked here:

https://github.com/webdevilopers/php-ddd/issues/21#issuecomment-266717263

Finally I've got everything working. Since I use the DoctrineORMBridge I realized that the events are correctly only handled after Doctrine persisted the involved Entity / DomainModel.
I just wonder if the following step is really necessary:
        foreach ($foo->recordedMessages() as $event) {
            $this->eventBus->handle($event);
        }
        $this->modelRepository->save($foo); // persist and flush

Or if this can be done automatically somehow?

@webdevilopers Well this is being done by the DoctrineORMBridge but the think is the events are only triggert when you dispatch the save method from a command handler. There are seral things that are still pending.

This is a pull request made to handle events that have been collected and to dispatch them from outside of the command handler.

https://github.com/SimpleBus/MessageBus/pull/42

The second is this open pull request to switch the collection to a different method.

https://github.com/SimpleBus/DoctrineORMBridge/pull/4

The reason why the doctrine bundle does not dispatches the events itself is that when you call persist and flush inside a command handler you may have some more work to do before you are done.

I'm closing this as https://github.com/SimpleBus/DoctrineORMBridge/pull/4 is very close to get merged. This solves the problem of not dirty entities to trigger the events. The handeling outside a command is still not a recommend way of changing entities.


More automation: Implement some easy ones

Now that we have an automation framework, implement a few relatively-easy form entries to automate.

There are a number of criteria where we can look at the current tracked files in the repo and estimate if the criteria are met.  For example:

The information on how to contribute MUST explain the contribution process (e.g., are pull requests used?) [contribution] - Look for {.,Documentation,doc,docs}/CONTRIBUTE{,.md,.txt}
The information on how to contribute SHOULD include the basic criteria for acceptable contributions (e.g., a reference to any required coding standard). [contribution-criteria] - same.  Also look for {.,Documentation,doc,docs}/Coding[-]Style{,.md,.txt}
The project MUST post licence(s) in a standard location (e.g., as a top-level file named LICENSE or COPYING). License filenames MAY be followed by an extension such as ".txt" or ".md" [license-location] - Look for {COPYING,LICENSE}{,.txt,.md}
The project MUST provide a "ChangeLog" (a human-readable summary of major changes in each release). The ChangeLog MUST NOT be the output of the version control log of every change (e.g., the "git log" command is not a ChangeLog). [changelog]†
If the software requires building for use, the project MUST provide a working build system that can automatically rebuild the software from source code. A build system determines what actions need to occur to rebuild the software (and in what order), and then performs those steps. [build]*† - look for Makefile.am, Makefile, rake files, etc.

A "git --depth=1 ..." is super-easy to implement, and for small projects it would work well.  It also works on any git repo, so in the future we might want to add it.  However, it's painfully slow for bigger projects, even when the clone is with depth=1, so that doesn't seem like the place to start. I did a quick test with the Linux kernel and it takes 1minute+ to do:

time git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git - 1 minute.
time git clone --depth=1 https://github.com/torvalds/linux.git - 1 minute 15 seconds

The GitHub API gives access to repo file contents: https://developer.github.com/v3/
A challenge: it's rate-limited AND it may truncate the data (!).  We also have to walk the git data structures. See: https://developer.github.com/v3/git/trees/  Still, this seems like a FAR faster way to get the data, because we can request ONLY the data we actually want.
Here's a quick outline of how to walk them, using the torvalds/linux repo as an example.

Download the master, e.g., https://api.github.com/repos/torvalds/linux/git/refs/heads/master - returns a JSON file.  Extract its grab "object/url" to get the commit object's URL.
Download the commit object URL, currently https://api.github.com/repos/torvalds/linux/git/commits/7f151f1d8abb7d5930b49d4796b463dca1673cb7 ; extract from the JSON "tree/url" for the tree.
Download tree, currently https://api.github.com/repos/torvalds/linux/git/trees/f995b6444729c105fe0a123b8240ef3dc3f1bf4a.  This JSON file will have a "tree" with an array of values for each file in the top-level directory, where "path" is the name of the file system object, and the "type" is "blob" for file and "tree" for subdirectory.  E.G., here's an entry:

    {
      "path": "COPYING",
      "mode": "100644",
      "type": "blob",
      "sha": "ca442d313d86dc67e0a2e5d584b465bd382cbf5c",
      "size": 18693,
      "url": "https://api.github.com/repos/torvalds/linux/git/blobs/ca442d313d86dc67e0a2e5d584b465bd382cbf5c"
    },

I had originally created a special 'Evidence' class for all evidence, but increasingly that seems like a bad idea; it centralizes things that need distribution.  Instead, we may need a 'RepoFileDetective' that determines how to access the files stored in the repo, and provides a handler (perhaps to itself) that provides a way to access specific info.  It may also want to provide quick access to commonly-used data (e.g., the list of files at the top-level directory, and/or the list of 'Documentation' files).

I think you'll be happier with the contents API, from which it is much
easier to fetch specific files:
https://developer.github.com/v3/repos/contents/
Also, as a todo item, it would be nice to scrape cgit, since I believe that
is the second most common web interface to git, and the also the canonical
one for the kernel:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/
--
Dan Kohn<EMAIL_ADDRESS>tel:+1-415-233-1000
On Tue, Nov 17, 2015 at 6:20 PM, David A. Wheeler<EMAIL_ADDRESS>wrote:

There are a number of criteria where we can look at the current tracked
files in the repo and estimate if the criteria are met. For example:

The information on how to contribute MUST explain the contribution
process (e.g., are pull requests used?) [contribution] - Look for
{.,Documentation,doc,docs}/CONTRIBUTE{,.md,.txt}
The information on how to contribute SHOULD include the basic
criteria for acceptable contributions (e.g., a reference to any required
coding standard). [contribution-criteria] - same. Also look for
{.,Documentation,doc,docs}/Coding[-]Style{,.md,.txt}
The project MUST post licence(s) in a standard location (e.g., as a
top-level file named LICENSE or COPYING). License filenames MAY be followed
by an extension such as ".txt" or ".md" [license-location] - Look for
{COPYING,LICENSE}{,.txt,.md}
The project MUST provide a "ChangeLog" (a human-readable summary of
major changes in each release). The ChangeLog MUST NOT be the output of the
version control log of every change (e.g., the "git log" command is not a
ChangeLog). [changelog]†
If the software requires building for use, the project MUST provide
a working build system that can automatically rebuild the software from
source code. A build system determines what actions need to occur to
rebuild the software (and in what order), and then performs those steps.
[build]*† - look for Makefile.am, Makefile, rake files, etc.

A "git --depth=1 ..." is super-easy to implement, and for small projects
it would work well. It also works on any git repo, so in the future we
might want to add it. However, it's painfully slow for bigger projects,
even when the clone is with depth=1, so that doesn't seem like the place to
start. I did a quick test with the Linux kernel and it takes 1minute+ to do:

time git clone --depth=1 git://
git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git - 1
minute.
time git clone --depth=1 https://github.com/torvalds/linux.git - 1
minute 15 seconds

The GitHub API gives access to repo file contents:
https://developer.github.com/v3/
A challenge: it's rate-limited AND it may truncate the data (!). We
also have to walk the git data structures. See:
https://developer.github.com/v3/git/trees/ Still, this seems like a FAR
faster way to get the data, because we can request ONLY the data we
actually want.
Here's a quick outline of how to walk them, using the torvalds/linux repo
as an example.

Download the master, e.g.,
https://api.github.com/repos/torvalds/linux/git/refs/heads/master -
returns a JSON file. Extract its grab "object/url" to get the commit
object's URL.
Download the commit object URL, currently
https://api.github.com/repos/torvalds/linux/git/commits/7f151f1d8abb7d5930b49d4796b463dca1673cb7
; extract from the JSON "tree/url" for the tree.
Download tree, currently
https://api.github.com/repos/torvalds/linux/git/trees/f995b6444729c105fe0a123b8240ef3dc3f1bf4a.
This JSON file will have a "tree" with an array of values for each file in
the top-level directory, where "path" is the name of the file system
object, and the "type" is "blob" for file and "tree" for subdirectory.
E.G., here's an entry:

{
  "path": "COPYING",
  "mode": "100644",
  "type": "blob",
  "sha": "ca442d313d86dc67e0a2e5d584b465bd382cbf5c",
  "size": 18693,
  "url": "https://api.github.com/repos/torvalds/linux/git/blobs/ca442d313d86dc67e0a2e5d584b465bd382cbf5c"
},

I had originally created a special 'Evidence' class for all evidence, but
increasingly that seems like a bad idea; it centralizes things that need
distribution. Instead, we may need a 'RepoFileDetective' that determines
how to access the files stored in the repo, and provides a handler (perhaps
to itself) that provides a way to access specific info. It may also want to
provide quick access to commonly-used data (e.g., the list of files at the
top-level directory, and/or the list of 'Documentation' files).
—
Reply to this email directly or view it on GitHub
https://github.com/linuxfoundation/cii-best-practices-badge/issues/144#issuecomment-157542334
.

There's a race condition if we directly use the contents API.  If there's a commit in the middle of the analysis process, we'll get a weird mixture of old and new stuff.  That said, maybe that doesn't matter for our purposes; it's unlikely people will remove the files we care about.  It's certainly true that GET /repos/:owner/:repo/contents/:path is much simpler.  It also has a limit of 1000 files in a directory, when retrieving a directory, but I can't imagine that would be a problem for us (we'd have to rate limit ourselves anyway).
I've listed the direct GitHub REST API interface.  That said, we're already using the octokit gem, so once we determine which REST API to use, we'll probably actually use octokit to access it.  See https://github.com/octokit/octokit.rb and http://octokit.github.io/octokit.rb/method_list.html. For contents, the specific documentation is at http://octokit.github.io/octokit.rb/Octokit/Client/Contents.html#contents-instance_method.
It looks pretty easy.  The example they give for accessing a particular file is:

Octokit.contents("octokit/octokit.rb", :path => 'lib/octokit.rb')

I think we should wrap it for portability, so that we can add access to other repos later.
For efficiency we'll need a cache for reading FROM the outside world. Octokit recommends Faraday: https://github.com/plataformatec/faraday-http-cache.


Tried to register two views with the same name RNSVGPath

When you already have react-native-svg as a dependency this error happens. As work around ,I removed react-native-svg from chart-kit node_module folder and the error goes away.
Could we possibly make react-native-svg as a peer dependency?
I'm currently using version: 1.2.2 of chart kit

I still have the same issue with (just with RNSVGRect)
    "expo": "^32.0.2",
...
    "react-native-chart-kit": "^2.4.0",

Did the update fix the problem for you @jdpagley ?
Thanks, Sebi


missing ORDER BY in view

code on p108 includes ORDER BY in window function column but omits it from parent SELECT
however (by VIEW rules) this would also require a TOP 100 PERCENT phrase

The code looks good to me:
CREATE OR ALTER VIEW [Sales].[OrderLinesRuninngTotal]
AS
SELECT
	[OrderID],
	[OrderLineID],
	[Description],
	[Quantity],
	SUM(Quantity) OVER (
		PARTITION BY [OrderID]
		ORDER BY [OrderLineID] ROWS BETWEEN
			UNBOUNDED PRECEDING AND
			CURRENT ROW
	) AS RunningTotal
FROM
	[Sales].[OrderLines];
GO

The ORDER BY is used in the context of the OVER clause, so there is no need to put it after the FROM clause, which would otherwise force the usage of a TOP 100 PERCENT as views cannot be ordered (as you will apply the ORDER clause when using the view, not in the view's body). Make sense?


Does this catch spaces vs tabs?

Not getting an error in Atom. Using WordPress config.

(dots are spaces)
In fact, does the WPCS just not care about HTML inside of .php ??

In fact, does the WPCS just not care about HTML inside of .php ??

Yes. WPCS does flag spaces vs tabs in PHP, but not in strings or HTML.

So, according to WPCS, it's fine to mix tabs and spaces in same file...?

No. In your PHP code you must use tabs. But I'm not sure if PHPCS can flag use of spaces in HTML. It looks like in your mixed HTML and PHP, it isn't flagging spaces in the HTML. But in a block of PHP code it should flag any spaces.

Indeed it does flag it in my PHP.
So this is a problem with phpcs?

So this is a problem with phpcs?

I don't know if PHPCS supports checking for spaces in HTML or not. It might be possible to have it do that by using a different configuration, or using different sniffs. You'd have to ask @gsherwood.

Alright, thanks. Will take this over there.


stenocurl: don't override PATH

PATH was overwritten in line 42, I guess this was by accident.
All other executable files had to be referenced by an absolute path as a result.
This renames PATH to URLPATH and uses the now functional PATH to lookup the executable files.

@googlebot I signed it!


Improve layouts for small devices

Description

Improve mobile layouts for xs and s devices
Automatically collapse left-side if small devices are detected
Remove grid and switch to flex if small devices are detected
Zoom out of screen to scale Plotly charts properly
Declutter charts in demo app

Remove redundant color legends (e.g. if colors are clear from axis labels already)
Resize colorbars and move titles to side
Shorten chart titles
Set automargin for y and x-axes
Remove facets as it was barely visible
Turn on pagination for table
Remove selected charts that didn't add any value to the dashboard (but we've initially added it in to show certain
features which we now have the feature demo dashboard for)

Note: This is only meant as a quick fix and should by no means be our fully fledged mobile solution. For this we need to refactor our CSS code and components to be fully mobile compatible, which might be simplified if we switch to Bootstrap.
Screenshot
After:
This is how it looks like using the dev-tools now e.g. for an Iphone:

Before:

Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

Yay! 🥳 Yes, I also feel this was one of my most productive learning time investments 😄
I fully agree with you. It's also on my list to implement the hamburger menu if we go for the Bootstrap approach 👍
I was hoping you would say that 🤣 I will delete the yaml example with pleasure, haha. I do not want to keep it updated, mainly because we will revamp the demo dashboard again soon and archive this example.


X-Ray integration via serverless.yml is not happening using .Net core sdk

Hi,
I am developing a microservice using .NET core 2.2, trying to integrate x-ray via serverless.yml but its not working. no error but not result at X-ray . Below is the code description.
serverless.yml
provider:
name: aws
tracing:
lambda: true
functions:
GetPersonsAsync:
handler: xyz-abcd
name: dfdfdfdfd
description: provide your lambda function description here
tracing: Active
====C# code for Handler=======
public async Task GetPersonsAsync(APIGatewayProxyRequest request, ILambdaContext context)
{
AWSSDKHandler.RegisterXRayForAllServices();
AWSXRayRecorder.Instance.BeginSubsegment("GetPersonsData");
====business logic=========
}
====IAM permissions=========
"Effect": "Allow"
},
{
"Resource": [
""
],
"Action": [
"xray:BatchGetTraces",
"xray:PutTelemetryRecords",
"xray:GetTraceGraph",
"xray:GetServiceGraph",
"xray:GetTraceSummaries",
"xray:PutTraceSegments"
],
"Effect": "Allow",
"Sid": "sdadfsdsds"
},
{
"Resource": [
""
],
"Action": [
"xray:BatchGetTraces",
"xray:GetTraceGraph",
"xray:GetServiceGraph",
"xray:GetTraceSummaries"
],
"Effect": "Allow",
"Sid": "erwefeer"
}

Hi @neetika123, I would be happy to help you.
A couple of things I would like you to verify. First, once the lambda function is deployed, is the checkbox saying Active tracing under AWS X-Ray enabled?
Second, when you run your lambda function, do you see a trace id something like XRAY TraceId: 1-xxxxxxxx-xxxxxxxxxx	SegmentId: 0c111a1111111111	Sampled: true in the lambda logs?
I would also like you to change the serverless.yml to be as shown below, and try deploying the lambda function again.
tracing:
   lambda: true

See here for reference.

Hi @neetika123 ,
I am closing this issue for now due to inactivity. Please feel free to reopen if you still encounter the problem.
Thanks!


Plan for shrinking

@uroboros reported that there are often issues with efficiency of shrinking.
I understand these are related to #938, #708, #684 (epic).
He suggested that I read Edsko's post https://www.well-typed.com/blog/2019/05/integrated-shrinking/, and we organize meeting with @dnadales @uroboros @mgajda @kevinhammond @mhuesch on what are the current problems, and how to best address them.

Closing and combining with #938


Test on Python 3.11

Codecov Report

Merging #76 (2f573d8) into main (566c15a) will decrease coverage by 0.36%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
- Coverage   97.32%   96.95%   -0.37%
==========================================
  Files          73       73
  Lines        2169     2169
  Branches      350      232     -118
==========================================
- Hits         2111     2103       -8
- Misses         50       55       +5
- Partials        8       11       +3

Impacted Files
Coverage Δ

di/api/executor.py
90.47% <0.00%> (-9.53%)
:arrow_down:

di/api/dependencies.py
92.00% <0.00%> (-8.00%)
:arrow_down:

docs_src/bind_as_a_dep.py
93.10% <0.00%> (-6.90%)
:arrow_down:

tests/test_execute.py
94.47% <0.00%> (-1.11%)
:arrow_down:

docs_src/autowiring.py
0.00% <0.00%> (ø)

Codecov Report

Merging #76 (6f5bbc0) into main (566c15a) will decrease coverage by 0.36%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
- Coverage   97.32%   96.95%   -0.37%
==========================================
  Files          73       73
  Lines        2169     2169
  Branches      350      350
==========================================
- Hits         2111     2103       -8
- Misses         50       55       +5
- Partials        8       11       +3

Impacted Files
Coverage Δ

di/api/executor.py
90.47% <0.00%> (-9.53%)
:arrow_down:

di/api/dependencies.py
92.00% <0.00%> (-8.00%)
:arrow_down:

docs_src/bind_as_a_dep.py
93.10% <0.00%> (-6.90%)
:arrow_down:

tests/test_execute.py
94.47% <0.00%> (-1.11%)
:arrow_down:

docs_src/autowiring.py
0.00% <0.00%> (ø)

Codecov Report

Merging #76 (5dd58be) into main (9cdfb71) will increase coverage by 0.19%.
The diff coverage is n/a.

:exclamation: Current head 5dd58be differs from pull request most recent head 056b1b5. Consider uploading reports for the commit 056b1b5 to get more accurate results

@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
+ Coverage   97.12%   97.32%   +0.19%
==========================================
  Files          72       73       +1
  Lines        2158     2169      +11
  Branches      352      350       -2
==========================================
+ Hits         2096     2111      +15
+ Misses         52       50       -2
+ Partials       10        8       -2

Impacted Files
Coverage Δ

tests/test_solving.py
96.52% <0.00%> (-0.38%)
:arrow_down:

di/container/_solving.py
98.85% <0.00%> (-0.07%)
:arrow_down:

di/api/solved.py
100.00% <0.00%> (ø)

tests/test_scoping.py
100.00% <0.00%> (ø)

di/container/_utils.py
100.00% <0.00%> (ø)

tests/test_get_flat_dependencies.py
100.00% <0.00%> (ø)

tests/test_execute.py
95.58% <0.00%> (+0.60%)
:arrow_up:

di/_utils/scope_map.py
100.00% <0.00%> (+13.04%)
:arrow_up:

Might need to update poetry and use dependency groups to split out pyinstrument until https://github.com/joerick/pyinstrument/issues/187 gets fixed


How to show username on any page in sails application?

Subj

You can access user.username in all controller-backed views.

user
ReferenceError: user is not defined
i can use only
req.session.passport.user
after connect to db and get my username

The user variable is only available in views, not controllers. Use req.user in controllers instead.

please show application where you show username in  layout view
i not understand you

I don't have one handy. The point is that you can access the user object in your views (https://github.com/kasperisager/sails-generate-auth/blob/master/templates/api/policies/passport.js#L30) and req.user in your controllers.

Okey, i see req.user Object in controller
but
<%= user.username %> in homepage.ejs
i see in browser error
{
"path": "Z:\home\sails.loc\www\work\views\homepage.ejs"
}

You have to make sure that your view is connected to a controller. Static views ignore policies.

And no way to get access to this variable in static controllers?

Oh, thanks
close

No problem! You don't get far in this world without patience :smile: Cheers, and thanks!


AVIF image format

After reading these articles

https://reachlightspeed.com/blog/using-the-new-high-performance-avif-image-format-on-the-web-today/
https://netflixtechblog.com/avif-for-next-generation-image-coding-b1d75675fe4
looks like AVIF image format has a lot of advantages and should start looking into how to implement it in dev projects.

As I use Sharp in a few projects, I checked if the format is already supported, but doing a search in this repo for "avif" I see there's only a note for it in this page https://sharp.pixelplumbing.com/api-output#heif
AVIF format support is added in Google Chrome, Firefox and a few other tools. Is this planned to be added in Sharp? Only want to start a discussion and see how this could be done.
Cheers

Please see #2289

Thanks, I'll close this.
That ticket was closed earlier today, and haven't seen it. Probably a good idea to keep it open so it's visible if someone else is looking for same thing.
Also thanks for building and maintaining this library 😀


Fix styles

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 5.985%

Totals

Change from base Build<PHONE_NUMBER>2:
0.003%

Covered Lines:
162

Relevant Lines:
2998

💛  - Coveralls


Ember 1.10 / canary: Uncaught TypeError: Cannot read property 'each' of undefined

Using the code:
{{select-2 content=theReasons value=model.reason optionValuePath="id" placeholder="Choose a reason" label="Reason"}}

With the following defined in the controller:
export default Ember.Controller.extend({
    theReasons: [{
        id: "Reason 1",
        text: "Reason 1"
    }, {
        id: "Reason 2",
        text: "Reason 2"
    }],

I get the following error because theReasons can't be found:
Uncaught TypeError: Cannot read property 'each' of undefined

The same code used to work, not sure exactly which Ember version it broke with.

Same issue with Ember 1.11.0-beta.1+canary.8127715c

This issue seems related to the Ember.Assert call on line 61.
Removing the following line and it works.
Ember.assert("select2 has to exist on Ember.$.fn.select2", Ember.$.fn.select2);

Same with
Ember      : 1.10.0-beta.4
Ember cli  : 0.1.12

The same issue with Ember CLI 0.2.0.
The issue has to do with changes in handlebars scope and deprecations introduced in Ember 1.9.

me too..
Ember      : 1.12.0
Ember Data : 1.0.0-beta.17


Disable flaky TestWatchBackend test

Relates #1178

Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including
functionality, content, code)
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

@chitrangpatel, @wlynch ptal :pray:


Analyzer violations don't show files and lines when run in GitHub Actions (OSOE-875)

See e.g. this run, only the errors are shown:

This makes finding and fixing them harder.
The issue might be similar to https://github.com/Lombiq/GitHub-Actions/issues/365: These annotations seem to be broken for good if file is specified (I couldn't find a way to make them work: https://github.com/Lombiq/GitHub-Actions/issues/365#issuecomment-2204507259). So, the solution can be just changing this line to Write-Output "::error::$Message".
Jira issue

I'd try something like
Write-Output "::error$(if ($Path) { " title=$Path (Line: $Line; Column: $Column)::$Message" } else { "::$Message" })"

or
Write-Output "::error::$Message $(if ($Path) { "(Path: $Path; Line: $Line; Column: $Column)" })"

because Write-Output "::error::$Message" will only output exactly as much as you already see on the screenshot.

Yeah indeed, $Message is not enough, so we should go with your second suggestion. I tried title before for https://github.com/Lombiq/GitHub-Actions/issues/365 and it didn't work either, but we can see if maybe it'll do something here.

Yeah, error annotation titles still don't work: https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions/actions/runs/9780958471/job/27003865573?pr=804


Anatomogram: treatment of unplaced cell types

See e.g. https://wwwdev.ebi.ac.uk/gxa/sc/experiments/E-HCAD-10/results/anatomogram.
Many of the cell types visible in the first view at this link do not seem to be associated with any clickable region of the anatomogram. In fact if you 'click out' to the top level and back again, they all seem to disappear (as per https://github.com/ebi-gene-expression-group/atlas-web-single-cell/issues/136).
Is it worth showing cell types in the heatmap with no relation to the anatomogram?

This experiment was in the list that Silvie compiled that had some issues either in the annotations or in the relationships between ontology data. So I’m closing this issue since it’s covered elsewhere.

Is it worth showing cell types in the heatmap with no relation to the anatomogram?
In this regard, we agreed in earlier meetings that we would in fact do it because it won’t be uncommon, either because the anatomograms haven’t reached a certain level of detail or because new potential cell types haven’t been added to the ontologies yet.


Updated the list of _valid_base_urls; saved many Shuwei's changes in …

…gs.py, esp. on content-type in gcs bucket file uploading

Hi Paul,
I just fixed an incorrect module TimeoutException importing in pilot/user/atlas/common.py. The class TimeoutException is defined in module pilot.util.timer, not in pilot.common.exception.
Hope that it could pass the unit test this time.
Shuwei

Hi,
This was already done in my latest dev version.
I’ll check it tomorrow. In Geneva now..
Cheers
Sent from my iPhone
On 11 Aug 2021, at 16:50, Shuwei Ye @.***> wrote:

Closed #8https://github.com/PalNilsson/pilot2/pull/8.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/PalNilsson/pilot2/pull/8#event-5142785097, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOF2SDVRLDAV5HIDP4DHI3T4KE2RANCNFSM5B4HGIDA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.


Remove custom date filter

Ticket: #2104
Issue
As @columbian-chris points out, there's some weird stuff happening when you use the date filter in certain circumstances. No wonder! We're overriding Twig's default behavior here in an attempt to better integrate WP behavior
Solution
Change the name of our custom filter from date ==> intl_date
Impact
This could break backwards compatibility, so making this a 2.x change
Usage Changes
Yes! Documented in the 2.x upgrade guide
Considerations
Should the name of the filter simply be date_i18n? My fear is unless we're taking exactly the WP behavior, we shouldn't have the same name — thus, intl_date is custom to Timber but something we can control even if in the future WP, Twig or PHP adopts new date/time internationalization behaviors.
Testing
Existing tests will need to be updated to match default Twig date filter behavior

@jarednova I have some thoughts about this and I started working on a separate guide to document how we should work with dates in Timber. I will have some spare time during my holidays to finish that guide and think about a solution for when to use the new wp_date() function and when to still use date_i18n().

sounds good @gchtr! I'll cool my jets on this for now then

Closing in favor of #2135


Add a shadow to the top bar on scroll

Is your feature request related to a problem? Please describe.
Content at the top of the page gets cropped, seemingly for no reason.
Describe the solution you'd like
A shadow underneath the top bar would make it easier to perceive that there is an element that's supposed to be on top, making it clearer why content is getting cropped (there's something above it!).
Describe alternatives you've considered
None.
Additional context
See https://squidfunk.github.io/mkdocs-material/getting-started/ for a decent+subtle implementation of this.

very cool - I like that idea 👍

The top bar is... interestingly styled. Would anyone mind if I rework that element's HTML?

Ummm, depends on what your plastic surgery looks like when it's done :-)

If the end result behaves the same then in general I'm +1 though

How do folks feel about me taking this and #148 down in one big PR?
I'm gonna need to make changes to the sidebar for this, and vice versa, so I'm thinking to kill 2 issues with one PR.

yep if its easier. we can always split it later if its looking too unruly

go for it (with the caveat that the more time goes on, the greater chance I will drop off the face of the earth for a bit)


Latest docker image is not available

Latest datalens-ui version is 0.2092.0, but docker image for this version is not available.
docker pull ghcr.io/datalens-tech/datalens-ui:0.2092.0 Error response from daemon: manifest unknown
Why is the docker image not built automatically for each version?

@Programmeris , hi! The latest available version for datalens-ui is 0.2140.0, and the previous version was 0.2000.0 (https://github.com/datalens-tech/datalens/releases/tag/v1.12.0). See release history in main repository https://github.com/datalens-tech/datalens/releases.
We do not build images for each commit in datalens-ui in proper, that's our decision. That's why there is no image for 0.2092.0 version.


Update E2.2 - Java Basics (Arrays).md

Updated the description to indicate that the last element of the first row (table[0][2]) is initialized with the string "Mary", not the last element of the second row.

Agree!


Copy everything from mac terminal

copy all the features from mac terminal and put it on windows terminal.
I want to be able to type node and the server works.
Plus  open .  to open files.

Node is not a feature of the Mac terminal. Open is a feature of the Mac shell. This isn’t an actionable feature request, sorry.

On Windows we have node, if you install it, and start . instead of open.


Code reorganization

[ ] Move functionality general for all platforms to separate class library CastleGuard.Core
[ ] Create abstract base classes for general types (currently Commands)

Incorrect.


feat(fee_collector): fees aggregation

Description and Motivation

This PR fixes #117. Makes it possible for the fee collector to aggregate fees into a single asset given the swap routes have been defined on the pool router.
The docs will need to be modified after we merge this to account for the changes on some queries/execute messages.
Related Issues

#117

Checklist:

[x] I have read Migaloo's contribution guidelines.
[x] My pull request has a sound title and description (not something vague like Update index.md)
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation.
[x] The code is formatted properly cargo fmt --all --.
[x] Clippy doesn't report any issues cargo clippy -- -D warnings.
[x] I have regenerated the schemas if needed cargo schema.

Looking good on testnet
https://testnet.mintscan.io/juno-testnet/txs/BD3306BB99EC1FE0739D658594646DE659A6B554E97A06CF7698501ED0D1D2EB
https://testnet.mintscan.io/juno-testnet/txs/63C80D0DCBA6C08BC33E2B6C4241C623AB5FB1997633EE717269AC51792F5CBD


[Bug] Inconsistent regex replace doesn't replace properly with groups

Not sure why, but in this scenario:

You can clearly see that some of the matches dont replace with the back reference properly. e.g. 5:27:import ContactMe from '../components/ContactMe.astro'
5:27:import ContactMe from '../components/ContactMe.astro'
I've used the same input with rip-substitute and it works fine, so not sure whats going on here

was an issue with dotall specifically. Should be fixed now!
Let me know if you still have problems!

added another fix since the new \0 match separator screwed up some cases


[BUG] Hud editor updater doesn't overwrite old version of the program.

Describe the issue
Hey this is the issue guy again. When new version is detected by the updater, it gets downloaded to separate tf2-hud-editor directory instead of being extracted over already existing files so the path after update looks like this: ..\tf2-hud-editor\tf2-hud-editor and obviously after program restart we are continuously asked to update. Removing outer tf2-hud dir contents and replacing it with stuff that's in the inner folder concludes the update.
Desktop (please complete the following information):

OS: Win 10
App Version: any

That sounds like the issue with the AutoUpdater dependency that the editor is using. I thought I had disabled the option to download from that pop-up and only allow the user to navigate to the release page. Will need to double check that...
Possibly find a better way of upgrading the editor as well.

Started replacing AutoUpdaterNET for a manual method where we'll just check the current app version and compare it to the latest release tag on GitHub. Should be simpler and less error prone. 0d8b420ec979cc7f2de3c69928565327378a8efe

Fixed in f53da8e8220de8cdabf1533c087631d059b34153. This will be included in the next release. Thank you for reporting.


webview.html not work in new version in remote-ssh mode

workPanel = vscode.window.createWebviewPanel(
            'workNormal',
            'work',
            vscode.ViewColumn.Beside,
            {
                enableScripts: true,
                retainContextWhenHidden: true,
                localResourceRoots: [context.extensionUri]
            }
        );

        workPanel.webview.html = `<!DOCTYPE html>
        <html lang="en">
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <meta http-equiv="Content-Security-Policy" content="default-src 'none';">
            <title>Cat Coding</title>
        </head>
        <body>
            <img src="https://media.giphy.com/media/JIX9t2j0ZTN9S/giphy.gif" width="300" />
        </body>
        </html>`;
        console.log(workPanel.webview.html);

workPanel.webview.html =''' is right in local mode, but not work in remote-ssh mode.
This problem occurred in recent versions, previous version is normal.
It likes an empty webview, not load html content, and small probability normal.

This problem occurred in recent versions, previous version is normal.

NetWork
Right：
index.html!id=xxxx
fake.html?id=xxxx
// js css
Now:
only index.html!id=xxxx

Basically unable to load, occasionally normal.

https://github.com/eightHundreds/vscode-drawio
I install this extension, it has the same problem in remote-ssh in lastest version.

What version of VS Code are you using?
/needsMoreInfo

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

What version of VS Code are you using?
/needsMoreInfo

vscode version: 1.76.2
remote-ssh extension version: 0.98.0
When I SSH into one of my servers, VSCode is unable to display any Jupyter Notebook or JPG files. The image below shows a snapshot of the developer tool for this issue.

In contrast, when I use SSH-Remote to connect to my WSL, Jupyter Notebooks work fine. The image below shows a comparison snapshot of the developer tool.

Do you have any clues or need any additional information? as I rely heavily upon Jupyter Notebook for conducting data analysis in my research endeavor

And I try to give you more descriptions of this bug.

when my mouse hover at the top of the notebook, two buttons appeared

When I right click at any position of this notebook, the drop-down menu behaved quite normal as if I had clicked an invisible jupyter cell

In this issue,  the author proposes that the issue has been resolved in the preview version. I have attempted to replicate this remedy.

Duplicate of https://github.com/microsoft/vscode/issues/166860


ember-prop-type placeholder component

This component would be used to help create an automatic way of documenting the live demo.

This would allow us to do something like the following in the live docs:
{{prop-docs
  data=data
  propTypes=myComponent.propTypes
  defaultValues=myComponent. getDefaultProps()
}}

This component would then render the appropriate inputs per the types that it can and document them. So:
  propTypes: {
    foo: PropTypes.string,
    bar: PropTypes.number.isRequired,
    baz: PropTypes.bool
  },

Would have

{{inputs/-text label="foo" value=data.foo}}
{{inputs/-number label="bar" value=data.bar}}
{{inputs/-checkbox label="baz" value=data.baz}}

@jweakley do we do this already?


Exclude reserved applications from unsuccessful email list

According to the last comment from Kerry:

Just to clarify again for QAEP, International Trade, Innovation and Sustainable Development the unsuccessful emails should go to those where the "STATUS" in the white section on the left hand side says "Not Recommended" or "Not Awarded".
Where the STATUS is "Withdrawn" they do not get anything.

@matthewford done!


Failed: User must be logged in error

I'm using your docker-compose file to run a demo instance and have configured LDAP authentication via a ldap server (not LDAPS).
I can log in to the UI using LDAP authentication, but whenever I try to do anything (create a team, update my user information), it shows a "Failed: User must be logged in" error.
The error log is full of these errors:
2021-05-27 11:59:09,992 INFO falcon_cors Aborting response due to origin not allowed
2021-05-27 11:59:09,992 INFO falcon_cors Aborting response due to origin not allowed
I've read another issue on this project and apparently these errors do not mean anything is actually broken (if so, can they be muted?).
Any idea why I'm seeing the Failed error above?

I deleted cookies - looks like there was one stuck there from before I enabled LDAP auth which was breaking it.


Is the best way to implement a Wayland protocol with wlc?

Sorry if this is off-topic, couldn't find a better place to ask this / reach you.
I have implemented the unstable redshift Wayland protocol in Way Cooler recently, but I found it a bit difficult to do without dropping down into the primitives exposed by wayland_sys. I assume part of this is due to wlc, but there were a few things I had to implement that I expected wayland-scanner to do for me.
For example, I expected wayland-scanner to make some #[repr(C)] structs which I could fill in with extern "C" functions that would trigger when the appropriate request was fired from the client. However, I had to make those myself which I thought a bit strange.
I don't mind working this way, at least until Way Cooler switches to a different compositor framework that will hopefully be less opinionated than wlc, but I wanted to double check I'm not doing this in a very silly way.
The PR in question

The main reason wayland-scanner does not make these struct is simply because wayland-client & wayland-server do not use them. I'm instead using the dispatcher mechanism, which allows me to plug my lib at a lower level in the C libraries, to expose the handler traits I have in wayand-client & wayland-server.
As such, if you need to implement a protocol extension for working with WLC, you'll need to do it the WLC way I'm afraid. I haven't built a compability mechanism, and creating a global using wayland-server on a display chose event-loop is managed by WLC would be hazardous at least.

Ah, I understand. Thanks for the info!


Adding more instruction for README.md

Windows has another folder to allow installing this plugin.

Thanks!


Add Payment Method Sort Order to Affirm Payment Module

This is part of the extension now

Type your response on top of this email to respond to this case. Learn Email Commands Here - https://support.desk.com/customer/portal/articles/1191712-reply-via-email-commands
Case Assignment Notification - Case #13956 ( https://affirm.desk.com/web/agent/case/13956 )
Affirm | Apr 25, 2017 09:03PM UTC

Case #13956
Customer: Affirm/Magento_Affirm
Subject: Re: [Affirm/Magento_Affirm] Add Payment Method Sort Order to Affirm Payment Module (#19)
Case Information (13956):
Subject: Re: [Affirm/Magento_Affirm] Add Payment Method Sort Order to Affirm Payment Module (#19)
Description:
Status: Open
Priority: 4
Assigned Group: MTS

Case History
goatmad  at APR 25, 2017 | 02:03PM PDT:
Closed #19.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/Affirm/Magento_Affirm/pull/19#event-1057440703

This message was sent to<EMAIL_ADDRESS>in reference to Case #13956

Type your response on top of this email to respond to this case. Learn Email Commands Here - https://support.desk.com/customer/portal/articles/1191712-reply-via-email-commands
Case Assignment Notification - Case #13958 ( https://affirm.desk.com/web/agent/case/13958 )
Affirm | Apr 25, 2017 09:04PM UTC

Case #13958
Customer: Affirm/Magento_Affirm
Subject: Re: [Affirm/Magento_Affirm] Add Payment Method Sort Order to Affirm Payment Module (#19)
Case Information (13958):
Subject: Re: [Affirm/Magento_Affirm] Add Payment Method Sort Order to Affirm Payment Module (#19)
Description:
Status: Open
Priority: 4
Assigned Group: MTS

Case History
goatmad  at APR 25, 2017 | 02:04PM PDT:
This is part of the extension now
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/Affirm/Magento_Affirm/pull/19#issuecomment-297164150

This message was sent to<EMAIL_ADDRESS>in reference to Case #13958


Add platform_services sample

This is the first half of the split of hello_services.

I see szakarias's account in the google github accounts list.  So I suspect if you reply "I signed it!" the cla bot will notice and approve the PR.

Oh, sorry, I misread the CLA bots response.  The github account you're posting from is fine.  But the email address used in the commits is not one known to Google/CLA-bot.
One way is to fix the commit and force-push it:
http://stackoverflow.com/questions/3042437/change-commit-author-at-one-specific-commit
But you'll also want to make sure you update your git config to show your intended email.

Thanks everyone for the comments. I have addressed all of them.


Use the debugger in Android Studio: Android Basics with Compose

I git cloned the dice roller app example and ran it on Android Studio Giraffe 2022.3.1 in an API 28 emulator. If I just run the app the app works. However, when I try to follow the last section "Inspect variables"
in Use the debugger by clicking resume after placing one breakpoint at
val imageResource = when(result) {
and clicking "debug", the debugger stops again at imageResource instead of allowing the app to run as the tutorial expects. The result is instead this:

So I click resume again and now the debugger is just stuck at "Waiting until last debugger command completes" screen while the emulator screen remains white and blank the entire time.

The same thing happens when I step over at the 2nd hit at imageResource. When I keep stepping in and out starting from the first breakpoint hit, I notice this waiting message first appears at MaterialTheme.kt line 81
    ProvideTextStyle(value = typography.bodyLarge, content = content)

I have tried restarting the IDE but it doesn't fix it. Any tips would be appreciated.

Hi @gracchen
Thank you for writing in.
I have not seen or heard of the issue you are experiencing.
I would suggest updating Android Studio to the latest stable version and try completing the lesson again.
Regards.


impossible to catch generated ReferenceError

Hi,
when the runned code try to access an object that has not been imported it generate a ReferenceError that cannot be catch.
ReferenceError: myObj is not defined
    at ...\node_modules\sval\dist\sval.js:1990:21
...
Node.js v20.16.0
npm error Lifecycle script `run` failed with error:
npm error code 1

There is a way to handle it?
I've seen in the code there is a throwErr option but is not exposed.
Thanks
PS: I'm importing Sval as an ES6 module in Node

what about this?

What about this? Does it work for your scenario?
const interpreter = new Sval()

try {
  interpreter.run('console.error(myObj)')
} catch (err) {
   console.error('Caught error')
}

No, it did not catch

Could you offer a repo or something to reproduce this bug? It seems I can't reproduce it with<EMAIL_ADDRESS>on node v20.12.2.

when the code is inside an async it is not catch:
try {
  interpreter.run(interpreter.run(`
!async function () {
  console.log(myObj);
}();`));
} catch (e) {
  console.error('err');
}

Right, that's how async behaviours. The async function doesn't run on the current loop, so try catch can't catch the error synchronously. Try to catch the error inside:
import Sval from 'sval';

const interpreter = new Sval();

interpreter.run(`
!async function () {
  try {
    console.log(myObj);
  } catch (e) {
    console.error('err');
  }
}();`);


Parse attributes sometimes doesn't have hasOwnProperty in its prototype

I had a base model with a parse method that looked like this:
parse: function (attributes) {
if (attributes.hasOwnProperty('some_column_name')) {
....
}
For one of our models, this would break because .hasOwnProperty() was undefined. We found this StackOverflow answer and we were able to solve the issue by using Object.prototype.hasOwnProperty.call(attributes, 'some_column_name') instead: http://stackoverflow.com/questions/16585209/node-js-object-object-has-no-method-hasownproperty
Would you consider changing the way the attributes object is created so someone else won't experience the same frustration/confusion?

Duplicate of #586. This is by design.

You can also do: if (hasOwnProperty.call(attributes, 'some_column_name')

Thanks. Sorry I missed the original issue.


Examples incompatible with 4.0.2 ?

Hi,
I've just begun implementing the books's examples with the latest version of NativeScript 4.0.2.
It seems though that some of the examples are not compatible with this last version, for example:
the code in 4.7 leads to
file:///app/views/home/home.js:6:23: JS ERROR TypeError: undefined is not an object (evaluating 'frameModule.topmost().navigate')

Thanks for your swift answer, and your work!

I had the same problem being a complete noob and trying to follow the examples in the live environment. I hope now the NS developers have stabilized the basic code else it's very difficult to follow up. THANKS A LOT FOR YOU HELP AND EBOOK!! 👍


Small adjustments

Updating some info related to onboarding
Updating some member count info (for the second time 🚀 18,000 -> 36,000 -> 50,000)
No hurry! 🤗

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Awesome thanks for the update I merge it 🤗


pillow dependency on stretch-lite

So I just set up a new stretch-lite build and it looks like pillow doesn't compile just leaving to pip. This means python2 users on stretch-lite couldn't easily get setup with the inky-phat.
sudo apt-get install python-pip python-dev python python-pillow instead of sudo apt-get install python-pip python-dev python or the documented from README.md works perfectly and then the sudo pip install inkyphat works too.
Happy to submit a pr if you think this will be helpful

Looks like you're entirely right- our one-line-installer favours the apt packages and will install python-pil and python-numpy for Python 2, and python3-pil and python-numpy for Python 3.
I'll get these added to the README!

D'oh! Actually the obvious answer is just to sudo apt install python-inkyphat since it, and its dependencies, are all available from there! Have updated readme accordingly.

Just quickly, I'm pretty sure the dev instructions should be the python deps. It seems more focused on building from source, and any changes.


Improve error handling

https://github.com/webonyx/graphql-php/blob/0.13.x/src/Executor/Promise/Adapter/SyncPromiseAdapter.php#L169
throw new InvariantViolation('Could not resolve promise');
Doesn't really tell you much about the specific input that caused this exception, does it?

Open for PRs.


[Bug]: "Leave Workspace" option is not disabled if only one member is present

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The Leave Workspace option should be disabled/removed when you are the only member in the workspace.

Steps To Reproduce

Go to the homepage.
Create a workspace such that only the current user is the admin and the sole member.
Clicl on the 3 dots next to the Share button.

Expected: The Leave Workspace option should either be completely removed or disabled.
Public Sample App
No response
Version
Cloud

Not necessary the error is fine


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
5fa5912 -> dd53916

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.36.0 -> v1.37.0

go (source)
toolchain
minor
1.22.6 -> 1.23.0

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.37.0
Compare Source
Features

allow deep folders in stack config path (#851) (fd252ef)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This issue has been resolved in version 3.16.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Moves spring-integration-gcp to spring-cloud-gcp-integration

Fixes #269

Hm. Plus, there is already some conflict against master already.


Fixed use-the-compass.md code blocks

There was some text in the csharp code block that wasn't part of the code.

@Ruyven : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Create spellcheck.yml file

Added action for spell check for pull requests

@coderlore
name: Spell Check
on:
  workflow_dispatch:
  pull_request:

permissions:
  contents: read

jobs:
  check:
    runs-on: ubuntu-latest
    timeout-minutes: 2
    steps:
      - name: Spell check
        uses: austenstone/spellchecker-cli-action-summary/.github/workflows/spellcheck.yml@main

        with:
          node-version-file: '.node-version'
          cache: npm
jobs:
  spellcheck:
    uses: austenstone/spellchecker-cli-action-summary/.github/workflows/spellcheck.yml@main

this may be part of the issue which is some missing sintax:
on:
  workflow_dispatch: null
  pull_request: null
permissions:
  contents:
    read: true
jobs:
  check:
    runs-on: ubuntu-latest
    timeout-minutes: 2
    permissions:
      contents:
        read: true
    steps:
      - name: Spell check
        uses: austenstone/spellchecker-cli-action-summary@main


PHPUnit version

Hi there, I was testing those Meta Runners which technically may help me quite a lot, but I need to specify the PHPUnit version because the latest one will work just with PHP 7 while I need PHP-Unit 5 to work with PHP 5.6
Apparently there is no way where I can specify which version I can use or a specific path to an existing phpunit binary of my choice.
Can you please point me to the right direction?
Thanks
Best regards
Andrea

Nevermind, I found the answer by myself :) Thanks


Guide ja

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
--

Fixed issues
--

Thank you, @softark


Everything is text

Summary by CodeRabbit

New Features

Introduced new dataloaders for EBCL, OCP, and Strats datasets, enhancing data loading and processing capabilities.
Added new models including EBCL, Triplet GPT Forecasting, OCP, and Strats modules for improved model training and evaluation.
Implemented new embedding classes for text code and observation processing.

Documentation

Updated README with a link to the planning document and minor text changes.

Bug Fixes

Improved model initialization in SupervisedModule to enhance robustness.

Tests

Added new test cases for text code and observation processing, as well as expanded parameterization in existing tests.

Chores

Updated pyproject.toml to include transformers dependency.
Introduced new configuration files for various input encoders.

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Problem with onChange method in Tabs component

Hi,
I have some problems with your Tabs and Tab components - onChange function passes as argument not a index of clicked tab but whole Tabs object.
See:
onTabChange(tabs) {
    console.log(tabs);
  }

and
 <Tabs index = {id} onChange={this.onTabChange.bind(this)}>

And I'm getting such a console output:

For example, when I copy-paste from playground from http://react-toolbox.com/#/components/tabs, it doesn't work because of that :(
Regards

Have you tried without the binding? Haven't had the chance to look at this yet, but the example on their site doesn't bind the function.

Hi @marekrydlewski you are overwriting the onChange, the default definition is
handleHeaderClick = (idx) => {
    if (this.props.onChange) this.props.onChange(idx);
  };

Check the arguments in your onTabChange method.

@marekrydlewski You are probably using an outdated version of React Toolbox. In the previous implementation we had the state stored inside the component and in that case we used to bind the Tabs instance to the callback so you can get the currently selected tab using instance.getActive() or something like that.
A couple of weeks ago we deprecated this API and move to stateless components and the new version (the one you see deployed in the playground page) is not storing the currently selected index in the state anymore so the callback gets the index instead of the instance.
Please, update you Toolbox version to the latest available version, we can re-open if the problem persists.
Thanks!! :)


Does this support llama type models as well (Using SwiGLU activation)?

Without replacing the activation function?
Again, amazing work!!

We also hope to utilize sparse activation features in LLM using other activation functions, and are currently conducting related research. We also look forward to more research participating. :)

Currently we do not support. However, We also hope to utilize sparse activation features in LLM using other activation functions, and are currently conducting related research. We also eagerly anticipate more collaborations and contributions from the wider research community. :)

Thanks for the prompt reply! If this also works for other activation functions that will be great, since the drop in math performance (GSM8K https://huggingface.co/SparseLLM/ReluLLaMA-70B) seems to be quite big.

Currently we do not support. However, We also hope to utilize sparse activation features in LLM using other activation functions, and are currently conducting related research. We also eagerly anticipate more collaborations and contributions from the wider research community. :)

Thanks for the prompt reply! If this also works for other activation functions that will be great, since the drop in math performance (GSM8K https://huggingface.co/SparseLLM/ReluLLaMA-70B) seems to be quite big.

In fact, the decrease in mathematical indicators is mainly due to a lack of mathematical related corpus during finetuning, and the SparseLLM Team will continue to update this model in the future. :)

Without replacing the activation function? Again, amazing wor

Hello, I'm 18 just finding this through code files but what is this site


Demo application not working in iPhone 6 + iOS version 9.3.3

Hi,
I run your demo code on iPhone 6s Plus with Firefox browser but remote video doesn't show both side. I debug code but not found any difference between iPhone 5s (Same thing working with iPhone 5s) and iPhone 6s plus with firefox.

 If so, try branch 51 or branch 52 first.
If I recall it correctly, the older version of webrtc has some incompatible issues on arm64 devices.

My experiences are, some of my iphone works and some have problems --- but they are all have the same iOS version with same device modal. very strange. still debugging.

Any news on this issue?

It may related #35
you may want to check my observation:
https://github.com/oney/react-native-webrtc/issues/35#issuecomment-236424076
https://github.com/oney/react-native-webrtc/issues/35#issuecomment-237201028
please let me know if you find any solutions

No follow-up, closing.


chore: bump prophet and holidays (predictive forecasting)

SUMMARY
This PR bumps optional dependency prophet for the predictive forecasting feature. Prophet made huge performance gains in the last releases https://github.com/facebook/prophet/releases and dropped some dependencies.

Sped up .predict() by up to 10x by removing intermediate DataFrame creations.

Also bumped holidays as needed for prophet. https://github.com/dr-prodigy/python-holidays/releases
Note: Although prophet worked before and after the bump, their related integration tests still fail https://github.com/apache/superset/issues/24406. So this PR may be blocked by this issue.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

pip install -e '.[prophet]'
Setup Line chart and enable predictive forecast

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Nice one @sebastianliebscher ! ❤ FYI, @john-bodley has a related PR in the works, but maybe we can get this merged first and then fast follow John's PR to get those tests etc cleaned up.

@villebro maybe you can also have a look at this discussion https://github.com/apache/superset/issues/24357

Oh, sorry I didn't see your PR which will handle the bump + fixing the tests.
Closed in favor of https://github.com/apache/superset/pull/24129


ndt7: tracking sender errors

During our initial client migrations to ndt7, we found that under some conditions (unknown), clients may run for up to 11s (maybe more, but the client stopped at 11s) and the current ndt-server ndt7 prometheus metrics do not distinguish between cause of error. There is ambiguity about whether a write error is due to a problem or a clean shutdown by the remote client.
For example, one cause of write error on a websocket conn may be due to the remote client closing the connection cleanly. For example, conn.WriteJSON may return websocket: close sent from https://github.com/gorilla/websocket/blob/master/conn.go#L86
Other cases may be similarly benign. At best, we can probably separate server-visible errors as one of either:

probable success
probable errors

for clients.

@stephen-soltesz

Related to this:

Consider prometheus labels for TestRate metric:

include error status & run time label (<9, 9-13, >13)s


SPIKE - Determine how reprocessing will work

Description
We will need to handle a few cases for step function triggering if the data has already been processed. This spike should explore a few ways to handle the different use cases for reprocessing, and come up with a wide range of scenarios to discuss.
For clarity, when I discuss "upstream" files, I mean files that are a dependency for the file I am talking about, and "downstream" files means they are files which are dependent on the current file. I will try and avoid the terms "dependent file" or anything unclear.
Requirements

We must be able to reprocess data automatically (when upstream files are updated)
We must be able to trigger reprocessing manually
We must have the option to NOT reprocess automatically

For example, if we don't want to trigger reprocessing for downstream files
There are other special cases which this applies to (for example, if there is a MAG L2 file, we will never reprocess the MAG L2pre file)

We must be able to apply special cases for missing upstream files

For example - if there is a missing upstream file, move forward with the most recent data after waiting for N hours
If there is a partial file, do not process

Nice to have or Goal Requirements

Use existing infrastructure for routing and dependency description to reduce the amount of places the information is duplicated

Additional notes
Any additional notes on the issue, if you have them.
Related tickets

#87 #97

Follow up tickets
This spike is not considered complete until at least one follow up issue is created.

[ ] Placeholder ticket

**Below is the template for the response to this ticket. Add as many solutions as needed, but preferably include 2-5 for discussion. The response should be posted as a comment on this issue, or linked in a comment. **
Solution 1
Write an overview of the solution here.
Pros:

pro 1

Cons:

con 1

Additional notes:

note

Solution 2
Write an overview of the solution here.
Pros:

pro 1

Cons:

con 1

Additional notes:

note

Summary
Write up a summary of your findings, including your preferred solution.

@laspsandoval @tech3371 Per our  discussions today, here is the separate ticket for reprocessing triggers

Notes for reprocessing:

Batch jobs only have a limited number of arguments
How much do we want to parallelize the batch job? How many days do we want to run at once?


Lazy loading component error: TypeError: can't access property "classList", data.root.value is undefined

Environment
stackblitz / latest versions
Reproduction
Below
Describe the bug
Hi, I am trying to lazy load a dialog component (v-dialog from vuetify) and I am getting the following error in the console, which prevents my application from running properly (even thou the component is actually lazy-loaded).
Error: TypeError: can't access property "classList", data.root.value is undefined
Vue Warning: Unhandled error during execution of watcher callback
I have tried both the Lazy prefix syntax and defineAsyncComponent function from vue.
Reproduction
In vite-vue-vuetify works without any error/warning so I thought that might not be vuetify related.
Any help will be appreciated. Thanks!
Additional context
No response
Logs
No response

Seems like the error was specific to the v-dialog (v-overlay) component (maybe because is teleported?)
In any case, setting suspensible: false option in the defineAsyncComponent does fix it.

For anyone coming here in the future:
Wrapping your component (v-overlay in my case) by <ClientOnly> fixes the issue.


Extreme context stuffing (parallel GPT-3.5)

It's pretty expensive... but this seems higher than what we saw on our billing page...
30 contexts:
Total Prompt Tokens: 8692
Total Completion Tokens: 2673
Total cost (3.5-turbo): 13.038  + Completions:  5.346  =  18.384 DOLLARS

15 contexts:
Total Prompt Tokens: 4447
Total Completion Tokens: 1159
Total cost (3.5-turbo): 6.6705000000000005  + Completions:  2.318  =  8.9885
Hypothetical cost for GPT-4: 133.41  + Completions:  69.53999999999999  =  202.95
GPT-4 cost premium:  22.5 x

4 contexts (basically current):
Total Prompt Tokens: 1092
Total Completion Tokens: 300
Total cost (3.5-turbo): 1.6380000000000001  + Completions:  0.6  =  2.238
Hypothetical cost for GPT-4: 32.76  + Completions:  18.0  =  50.76
GPT-4 cost premium:  22.680965147453083 x


Document in the README how to apply this plugin

I had to browse the build.gradle file to discover the plugin ID, which I later applied in my settings.gradle.kts this way:
plugins {
    id("com.gradle.common-custom-user-data-gradle-plugin") version "1.7.2"
}

Better document it in the README like similar projects.

Thanks for the feedback.
This is documented here, via a link to a full example:
https://github.com/gradle/common-custom-user-data-gradle-plugin#applying-the-published-plugin
It is also document on the link we provide to the plugin portal:
https://plugins.gradle.org/plugin/com.gradle.common-custom-user-data-gradle-plugin


Integration with the JSP based application

This issue is raised via forum topic: https://forum.groupdocs.com/t/regarding-groupdocs-java-document-viewer/7422/10

Our UI is designed in JSP so can we easily integrate your code in our project, and if we want to use your UI which you mentioned GroupDocs.Viewer for Java - Spring so can you please provide any support on how to integrate it in our project.

Hi @usmanazizgroupdocs,
To use new viewer ui on your jsp page you need to specify js scripts and root angular tag, for example, in our sample
https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java-Spring/blob/548164f2273b1ce3bb4ce12acbcefb7d31bb0ff6/src/main/resources/templates/viewer.html#L11


[TEMPLATE] Inventory Manager

Description
Inventory Manager helps your bussiness to control the stocks of every product in differents locations.
Note: It's a very simple implementation (developed for Hacktoberfest 2022) and some features are missing, but it's usable and beautiful :)
Integrations and features
Features

Create locations
Create inventories
Add items
Edit items

Integrations

Postgres

Attachments

[x] Link to app - Inventory Manager
[x] Screenshots - Add one or more screenshots to help show your app.

[x] JSON Export - Inventory manager template.zip
[x] DB structure (SQL) - inventory-manager-db-sql.txt

Congratulations! You won a silver prize for this submission and 7 coins for use in the swag store!


Geometries in GeoPackage files

System information:

Operating system (distribution) and version: Microsoft Windows 10
DBeaver version: 21.0.0
Additional extensions: -

Connection specification:

Database name and version: GeoPackage, v1.2
Driver name: org.xerial:sqlite-jdbc:sqlite-jdbc-3.34.0
Do you use tunnels or proxies (SSH, SOCKS, etc)? : no (as far as I know...)

Describe the problem you're observing:
I want to display the spatial data in a GeoPackage file on the map, but nothing is shown.
Steps to reproduce, if exist:

Connect to the GeoPackage file nl.gpkg that is in the zip file that was uploaded by @rduivenvoorde in #9526.
Open table provinces.
Go to the Data tab, open the Grid view
Right-click on the geom column, go to View/Format, Set "geom" format: Geometry cannot be chosen (which should be possible according to https://github.com/dbeaver/dbeaver/wiki/Working-with-Spatial-GIS-data#viewing-string-or-binary-data-from-any-database-on-a-map)

Open the Spatial view: nothing is shown.

Note: when clicking on "Open in Browser", the geometries are shown:

Include any warning/errors/backtraces from the logs
No warning or errors in the logs.

Hello @heidivanparys,
Unfortunately, I cannot reproduce your issue:

Have you tried opening the Value panel on the right in the Grid view? You can select individual geometry values to be shown in this panel. Empty map may be caused by invalid values, as described in #11021.
Also, can you please provide log files?
Thanks.

@ShadelessFox
Value panel (Text):

Value panel (Map): empty canvas (I tried every geometry in provinces and also some geometries in places and rivers, without luck):

Bonusinfo: I also cannot see any of the base maps, not in the Spatial view and not in the Map when I select a specific value.
I deleted my workspace in %APPDATA%\DBeaverData\ and tried again, I have the same issue.
Log file:
dbeaver-debug.log

My last guess is that you may have some some problems with OpenStreetMap tiles. Can you try changing it to something else?

@ShadelessFox This issue is fixed in the 21.0.1 release, there the map viewer shows the geometries and the background map as expected.
Bonus info: I didn't have this issue at all in the 21.0.0 release on my Mac. Tested from the same location (but without VPN, as opposed to on my work computer).


Enabled memory configuration in the executor

This patch allows to introduce the desired runtime memory in the executor and the deployment script. For example:
pw = pywren.ibm_cf_executor(runtime_memory=128)
If the variable runtime_memory is not set, PW uses the memory set in the config file (Default=512MB)
Also, it is possible to provide memory size in the deployment script:
./deploy_runtime --memory 256
./deploy_runtime clone ibmfunctions/pywren-metabolomics:3.6 --memory 1024

or:
import pywren_ibm_cloud as pywren
pywren.runtime.clone_runtime('ibmfunctions/pywren-metabolomics:3.6', memory=256)

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

@JosepSampe why it's closed?

@JosepSampe ?

@gilv All is fin, however I discovered an important performance issue with this approach that should be considered and discussed before merging. I will send you an emsil with the details.


[Logistic] Fix Missing Purpose String issues from AppStore Connect

The app uses ResearchKit as source code, so its capabilities are polluting our app. While we are waiting for its getting provided as a Pod, these purpose strings need to be added for now. ☹

Done and fixed. Now testflight beta is created.