Pulumi will replace a nodepool because of location change that doesn't change.

What happened?
Hi, I have this block in pulumi.yaml. The location never change but when I run pulumi preview it always wants to replace the nodepool because of the location change. Pulumi update will replace the nodepool. It's in a loop for some reason.
gke-cluster-nodes:
    type: gcp:container:NodePool
    properties:
      cluster: ${gke-cluster.id}
      location: europe-west-2a
      nodeCount: 1
      nodeConfig:
        preemptible: true
        machineType: e2-medium
        serviceAccount: ${gke-cluster-nodepool-sa.email}
        oauthScopes:
          - https://www.googleapis.com/auth/cloud-platform

LOG:
$ pulumi preview
36Previewing update (stackname):
37@ previewing update....[resource plugin gcp-6.59.0] installing
38.
39    pulumi:pulumi:Stack stackname running
40@ previewing update....
41.
42    gcp:serviceAccount:Account gke-cluster-sa
43    gcp:compute:Network gke-cluster-vpc
44    gcp:compute:Subnetwork gke-cluster-primary-range-services
45    gcp:compute:Subnetwork gke-cluster-primary-range-nodes
46    gcp:compute:Subnetwork gke-cluster-primary-range-pods
47    gcp:container:Cluster gke-cluster
48    gcp:serviceAccount:Account gke-cluster-nodepool-sa
49 ++ gcp:container:NodePool gke-cluster-nodes create replacement [diff: ~location]
50 +- gcp:container:NodePool gke-cluster-nodes replace [diff: ~location]
51 -- gcp:container:NodePool gke-cluster-nodes delete original [diff: ~location]
52    pulumi:pulumi:Stack stackname
53Resources:
54    +-1 to replace
55    8 unchanged
56warning: A new version of Pulumi is available. To upgrade from version '3.71.0' to '3.73.0', visit https://pulumi.com/docs/install/ for manual instructions and release notes.

The reason I use 3.71.0' instead of '3.73.0 is that 3.73.0 is not available on Docker hub yet.
Expected Behavior
Pulumi preview and Pulumi update shouldn't replace the nodepool as the location never changes.
Steps to reproduce
Not sure. I can provide the full pulumi.yaml.
Output of pulumi about
pulumi about
CLI
Version      3.71.0
Go Version   go1.20.4
Go Compiler  gc
Plugins
NAME  VERSION
gcp   unknown
yaml  unknown
Host
OS       debian
Version  11.7
Arch     x86_64
This project is written in yaml
No dependencies found
Pulumi locates its logs in /tmp by default
warning: A new version of Pulumi is available. To upgrade from version '3.71.0' to '3.73.0', visit https://pulumi.com/docs/install/ for manual instructions and release notes.

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@23ewrdtf thanks for reporting and sorry you're seeing this. Can you run this interactively and get the detailed diff; showing what the value is changing from and to?
In the meantime, I think you can fix this in your YAML program by adding options.ignoreChanges, like so:
gke-cluster-nodes:
    type: gcp:container:NodePool
    properties:
      cluster: ${gke-cluster.id}
      location: europe-west-2a
      nodeCount: 1
      nodeConfig:
        preemptible: true
        machineType: e2-medium
        serviceAccount: ${gke-cluster-nodepool-sa.email}
        oauthScopes:
          - https://www.googleapis.com/auth/cloud-platform
    options:
      ignoreChanges:
        - location

I just ran this on my laptop. Is there an interactive option ?
The location in the pulumi.yaml is location: europe-west-2a
The locations in the gke cluster create by pulumi from google console are:
Location type	Regional
Region	europe-west2
Default node zones
 europe-west2-c
 europe-west2-b
 europe-west2-a

The ignoreChanges doesn't have any effect.
options:
      ignoreChanges:
        - location

➜  pulumi preview
Previewing update (boom-rnd):
     Type                       Name               Plan        Info
     pulumi:pulumi:Stack        boom-boom-rnd
 +-  └─ gcp:container:NodePool  gke-cluster-nodes  replace     [diff: ~location]

Resources:
    +-1 to replace
    8 unchanged

➜  pulumi preview --debug
Previewing update (boom-rnd):
     Type                       Name               Plan        Info
     pulumi:pulumi:Stack        boom-boom-rnd                  29 debugs
 +-  └─ gcp:container:NodePool  gke-cluster-nodes  replace     [diff: ~location]

Diagnostics:
  pulumi:pulumi:Stack (boom-boom-rnd):
    debug: Registering config [gcp:project]
    debug: Registering config [gcp:region]
    debug: Registering resource [gke-cluster-vpc]
    debug: Registering resource [gke-cluster-primary-range-nodes]
    debug: Registering resource [gke-cluster-primary-range-pods]
    debug: Registering resource [gke-cluster-primary-range-services]
    debug: Registering resource [gke-cluster-sa]
    debug: Registering resource [gke-cluster]
    debug: Registering resource [gke-cluster-nodepool-sa]
    debug: Registering resource [gke-cluster-nodes]
    debug: Authenticating using DefaultClient...
    debug:   -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]
    debug: Authenticating using DefaultClient...
    debug:   -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]
    debug: Authenticating using DefaultClient...
    debug:   -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]
    debug: Authenticating using DefaultClient...
    debug:   -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]
    debug: Waiting for state to become: [success]
    debug: Waiting for state to become: [success]
    debug: Terraform is using this identity<EMAIL_ADDRESS>    debug: Terraform is using this identity<EMAIL_ADDRESS>    debug: Authenticating using DefaultClient...
    debug:   -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]
    debug: Authenticating using DefaultClient...
    debug:   -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]
    debug: Waiting for state to become: [success]
    debug: Waiting for state to become: [success]
    debug: Terraform is using this identity<EMAIL_ADDRESS>

Let me try with location: europe-west2. Maybe that's the problem.

When running pulumi preview --diff, you should see the full diff on the resource, along with any others. It does look like the issue might be that the provider is replacing europe-west-2a with europe-west2 or europe-west2-a.

pulumi preview --diff
Previewing update (boom-rnd):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:boom-rnd::Boom::pulumi:pulumi:Stack::Boom-boom-rnd]
+-gcp:container/nodePool:NodePool: (replace)
[id=projects/boom-rnd/locations/europe-west2/clusters/gke-cluster-xxxxxxx/nodePools/gke-cluster-nodes-xxxxxxx]
[urn=urn:pulumi:boom-rnd::Boom::gcp:container/nodePool:NodePool::gke-cluster-nodes]
~ location: "europe-west2" => "europe-west-2a"
Resources:
+-1 to replace
8 unchanged
When I changed the location to location: europe-west2 it works fine.
➜  pulumi preview --diff
Previewing update (boom-rnd):
pulumi:pulumi:Stack: (same)
[urn=urn:pulumi:boom-rnd::Boom::pulumi:pulumi:Stack::Boom-boom-rnd]
Resources:
9 unchanged
I added a new nodepool with location: europe-west2 and it accepted it. Weird that it does accept both locations.

Thanks for confirming. This looks like an upstream issue for which users have a couple workarounds: using ignoreChanges or entering the location in Google Cloud's formatting.
We'll close this for now.


Add Common Insurances. Use Env Vars. Update Readme

As per conversation on #42 I updated spec/support/client.rb to use environment variables.
Hopefully this will make it a bit easier for others to contribute.

@panozzaj  In my case I just exported the ENV VARS, then ran the tests.  I think you could also use dotenv but not sure if you want to add the dependency in athena_health.gemspec
export ATHENA_TEST_API_KEY=<your key>
export ATHENA_TEST_API_SECRET=<your secret>
export ATHENA_TEST_ACCESS_TOKEN=<your token>

@lacostenycoder solution is totally fine. Merging.

Exporting is a good solution, thanks for the update!
On Mar 10, 2017 5:32 PM, "Mateusz Urbański"<EMAIL_ADDRESS>wrote:

Merged #44 https://github.com/HealthTechDevelopers/athena_health/pull/44
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HealthTechDevelopers/athena_health/pull/44#event-995664595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADHsJBAkAV-CHP4aaCSw09IKiSN_SInks5rkc-HgaJpZM4MV2qe
.


Disable stdlib dependent test cases in ballerina lang

Description:
As a part of stdlib migration(#21313), we had to disable the following tests which depend on stdlibs.
https://github.com/ballerina-platform/ballerina-lang/issues/25592
https://github.com/ballerina-platform/ballerina-lang/issues/25593
https://github.com/ballerina-platform/ballerina-lang/issues/25594
https://github.com/ballerina-platform/ballerina-lang/issues/25595
https://github.com/ballerina-platform/ballerina-lang/issues/25596
https://github.com/ballerina-platform/ballerina-lang/issues/25597
https://github.com/ballerina-platform/ballerina-lang/issues/25598
https://github.com/ballerina-platform/ballerina-lang/issues/25600
https://github.com/ballerina-platform/ballerina-lang/issues/25601

Closing this as all tests cases are enabled now or moved to distribution repository.


Implement warning when leaving the page and auto-saving when returning

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[ ] Server: I added multiple integration tests (Spring) related to the features
[ ] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[ ] Server: I implemented the changes with a good performance and prevented too many database calls
[ ] Server: I documented the Java code using JavaDoc style.
[ ] Client: I added multiple integration tests (Jest) related to the features
[ ] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[ ] Client: I documented the TypeScript code using JSDoc style.
[ ] Client: I added multiple screenshots/screencasts of my UI changes
[ ] Client: I translated all the newly inserted strings into German and English

Motivation and Context
https://github.com/ls1intum/Artemis/issues/498
Description
When exiting the text editor of text exercises, the given answer would not be saved automatically and changes might get lost. This is solved by saving when the component is destroyed and triggering a browser based warning when the page is refreshed/browser is closed.
Steps for Testing

Log in to Artemis
Navigate to a Course
Navigate to an exercise of type 'text'
Give a text answer and exit w/o saving

Screenshots

Just for the workflow: check all points of the checklist, even if you have crossed them out :-) Otherwise it looks from the outside as if not everything is ready yet.


use default stub if override not exists

If somebody overrides stub path in the config, he should copy new stubs with every new release of the package to add missing stub,
This PR fixes this problem by check if stub file exists on override path use it or use default stub form package folder as a fallback.
I add some test unit for that to make sure everything is work.
thanks

Good idea! Thanks for the contribution. 👍


dm(engine): fix some problem and add case sensitive test

Signed-off-by: lance6716<EMAIL_ADDRESS>
What problem does this PR solve?

Issue Number: ref https://github.com/pingcap/tiflow/issues/6776
What is changed and how it works?
fix problems:

case-sensitive is not working
dump unit tries to remove wrong directory

Check List
Tests

Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`.

df.log
log of
3m3e-server-executor-1               | [2022/08/16 11:08:10.569 +00:00] [WARN] [writer_util.go:458] ["fail to open file"] [job_id=93642358-bbf6-43d2-807a-aad17c4299f2] [worker_id=8b8729c3-0186-4a2d-bab1-8bedc5759eef] [task=test] [unit=dump] [path=file:////8b8729c3-0186-4a2d-bab1-8bedc5759eef/746573742f6d7973716c2d3032/lower_db-schema-create.sql] [error="open /8b8729c3-0186-4a2d-bab1-8bedc5759eef/746573742f6d7973716c2d3032/lower_db-schema-create.sql: no such file or directory"]

@liuzix

inside executor:
/ # ls /tmp/dfe-storage/6578656375746f722d7365727665722d6578656375746f722d313a3130323431/
5640d006-626f-47a3-ac6f-4f7c37384785
/ # ls /tmp/dfe-storage/6578656375746f722d7365727665722d6578656375746f722d313a3130323431/5640d006-626f-47a3-ac6f-4f7c37384785/

But dumpling requires "RawCause": "open /tmp/dfe-storage/6578656375746f722d7365727665722d6578656375746f722d313a3130323431/5640d006-626f-47a3-ac6f-4f7c37384785/746573742f6d7973716c2d3032/lower_db-schema-create.sql: no such file or directory"

/check-issue-triage-complete
/cc @GMHDBJD @CharlesCheung96

ptal @maxshuang @CharlesCheung96

Codecov Report

Merging #6768 (6f689bf) into master (2ea67ba) will increase coverage by 0.1073%.
The diff coverage is 67.0682%.

Flag
Coverage Δ

cdc
65.9747% <61.4781%> (+0.1066%)
:arrow_up:

engine
62.8047% <85.2830%> (+0.2686%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6768        +/-   ##
================================================
+ Coverage   59.2138%   59.3211%   +0.1073%
================================================
  Files           780        783         +3
  Lines         88405      88975       +570
================================================
+ Hits          52348      52781       +433
- Misses        31415      31526       +111
- Partials       4642       4668        +26

/merge


Update security-compliance-toolkit-10.md

Updated content for 1909 support

I have misunderstood something, but it looks like a copy-paste typo here:
- 1903 (November 2019 Update)

instead of
+ 1909 (November 2019 Update)


Support tensor data structure in API

Currently, developers using API in NNTrainer do not have access to tensor data structures.
However, it is inconvenient to handle data without using a tensor data structure.
Since other deep learning frameworks already support tensor data structures, supporting tensor data structures will be a familiar method for developers who have previously used other deep learning frameworks.
Therefore, it seems better to disclose the tensor data structure as an API so that developers can use our framework more easily.

:octocat: cibot: Thank you for posting issue #2079. The person in charge will reply soon.


Running with alternate AF2 models

Hi Nate,
Thanks for making this available! I was able to get it up and running on my own system very easily and it seems to be working well.  I was wondering if you have explored using other alphafold models. Based on the code, it seems like it is set up to only use the model_1_ptm model.

Do you have a sense of whether there's a benefit to using all five of the monomer_ptm models?
What about the multimer model? I'm curious if it would work better, but there is also the issue that it was trained on some of complexes I'm testing, which confounds the analysis

Lastly, I've noticed that the runtimes reported in the out.sc file can vary from ~5 s to > 90 s. Is this something you've seen too?

Interested to learn more behind using model_1_ptm only as well. My guess it's a computational/time saving measure. Would love to hear from Nate on this!

The code can be modified to run models other than model_1_ptm. The only other model which was trained with template information was model_2_ptm. Since templates and pAE are critical parts of the filtering protocol we describe here, these are the only two models which can be used. There is little difference between the two models' performance and combining the scores from the two models did not help with in silico filtering performance.
I have looked at whether multimer (v < 3) improved on this filtering task and didn't find that it did better. I have a version of this script with multimerv3 implemented but have not extensively benchmarked it on this task. I don't expect it to be much of an improvement.


Release Google.Area120.Tables.V1Alpha1 version 1.0.0-alpha01

Changes in this release:

First alpha release.

Created release for Google.Area120.Tables.V1Alpha1-1.0.0-alpha01


many more database connections than expected

Hi,
We're using irods-database-plugin-postgres 4.2.7, irods-server 4.2.7, irods-rule-engine-plugin-storage-tiering 2.7.0
With this setting in server_config.json:
"maximum_number_of_concurrent_rule_engine_server_processes": 56

(recently increased from 32, but unclear whether the config change has been read yet) we had expected to see approximately that many connections to the supporting database. However we are actually seeing around 1080 which has raised concerns with our DBA colleagues that we might reach the connection limit for the database. The number generally corresponds to the number of irodsServer processes:
irods@irods-seq-indexing:~$ ps fauxww | grep -c irodsServer ; netstat -t | grep dbsrv6 | wc -l
1081
1082

We're wondering if there might be a connection leak or overly-long idle timeout, but not sure how to investigate. Please let me know what information I can provide to help.
Thanks,
Dave

This should be resolved in 4.2.8. See https://github.com/irods/irods/issues/4616.
Please verify by running iRODS 4.2.8 in a test environment.
Let us know how it goes.

4.2.8 (s/8/11/) isn't a near term option for us but we have multiple uses for the rule engine now.
How safe is it in the intermediate term to run a script that kills long running open database connections from the delay server?
Is there a way we can determine the connections came from the rule engine and not other iRODS processes?

I won't speak to the safety question, but...
Maybe you could detect the client host/IP and match it against the host/IP of the machine on which the delay server is running? This would indicate that the client connection is coming from the same computer, which means most likely that it is coming from the delay server.

@korydraughn claims this may be fixed in 4.2.8, and I agree. Is there anything more that we can do here?

It's been more than a year since your previous comment.
I think we can close this. Users can always open new issues.


WIP: Ensure that gem dependencies versions are the same in development/test and production

By removing code conditionals on the Gemfile we ensure that a restriction
that (dis)appears in production don't shift dependencies versions. Is one
of the good points of bundler, that we can use groups to avoid installing
unnecessary gems in certain environments, but the versions of the gems
are the same both in development/test and production.
This makes bug easier to reproduce if they are related to dependencies.
We can still use groups to only install the groups that we want, or
discard groups that we won't need (--without development test in production
for instance). But we are sure that the installed gems are always the same
versions in all environments.

This needs some input from @jordimassaguerpla as well. It seems though that we have this kind of way, as it was before this patch for some reason. see https://github.com/crowbar/crowbar-core/blob/master/crowbar_framework/Gemfile#L65 or Portus
a hint and some more info is in https://github.com/SUSE/Portus/commit/2fd175256d4e25d70c4a5bac09d0e6878ca92907

Sounds good to me in principle, but I'd like to hear from @jordimassaguerpla 😃

I will handle this in a different way. We should discuss the implications of having a Gemfile.lock that changes depending on the environment. However I think that it might not be as troublesome as in other environments (here a gem change would trigger a dependency fail on buildtime on OBS if a gem version changes and we weren't predicting it).


useQuery Window Focus Loop

May be related to #8
Strange issue with what I believe has to do with window losing and then regaining focus.
Open below sandbox.  "useEffect called" && "query called" should only happen once.  However, if you click off the window (window loses focus) and click back on the window "query called" happens.
https://codesandbox.io/s/headless-fast-0s20z?fontsize=14

I hope this answers your question :)
https://github.com/tannerlinsley/react-query#window-focus-refetching


[BUG]:  start server error

Describe the bug
When running the following command to start the server with the following command-
python pilot/server/dbgpt_server.py

To Reproduce
Running on ubuntu and followed instructions from here - https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html#
NOTE: I'm using the default ".env" file.
The following error happens -
File "/root/miniconda3/lib/python3.11/site-packages/pydantic/deprecated/class_validators.py", line 222, in root_validator
    return root_validator()(*__args)  # type: ignore
           ^^^^^^^^^^^^^^^^
  File "/root/miniconda3/lib/python3.11/site-packages/pydantic/deprecated/class_validators.py", line 228, in root_validator
    raise PydanticUserError(
pydantic.errors.PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`. Note that `@root_validator` is deprecated and should be replaced with `@model_validator`

Hi @rrubio , can you access the webui page?  And can you give me more error logs?

@fangyinc , thank you. See full error below -
base) root@ai-demos-001:/home/my-profile/DB-GPT/pilot/log# cd ../..
(base) root@ai-demos-001:/home/my-profile/DB-GPT# python pilot/server/dbgpt_server.py
Traceback (most recent call last):
  File "/home/my-profile/DB-GPT/pilot/server/dbgpt_server.py", line 12, in <module>
    from pilot.server.base import server_init
  File "/home/my-profile/DB-GPT/pilot/server/base.py", line 6, in <module>
    from pilot.summary.db_summary_client import DBSummaryClient
  File "/home/my-profile/DB-GPT/pilot/summary/db_summary_client.py", line 12, in <module>
    from pilot.scene.base_chat import BaseChat
  File "/home/my-profile/DB-GPT/pilot/scene/base_chat.py", line 9, in <module>
    from pilot.memory.chat_history.base import BaseChatHistoryMemory
  File "/home/my-profile/DB-GPT/pilot/memory/chat_history/base.py", line 6, in <module>
    from pilot.scene.message import OnceConversation
  File "/home/my-profile/DB-GPT/pilot/scene/message.py", line 5, in <module>
    from pilot.scene.base_message import (
  File "/home/my-profile/DB-GPT/pilot/scene/base_message.py", line 101, in <module>
    class ChatGeneration(Generation):
  File "/home/my-profile/DB-GPT/pilot/scene/base_message.py", line 107, in ChatGeneration
    @root_validator
     ^^^^^^^^^^^^^^
  File "/root/miniconda3/lib/python3.11/site-packages/pydantic/deprecated/class_validators.py", line 222, in root_validator
    return root_validator()(*__args)  # type: ignore
           ^^^^^^^^^^^^^^^^
  File "/root/miniconda3/lib/python3.11/site-packages/pydantic/deprecated/class_validators.py", line 228, in root_validator
    raise PydanticUserError(
pydantic.errors.PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`. Note that `@root_validator` is deprecated and should be replaced with `@model_validator`.

@rrubio Python3.11 has not been verified. Can you try python3.10?

@fangyinc  that was it! thanks mate, really appreciate it!

@fangyinc that was it! thanks mate, really appreciate it!

You're welcome.

@fangyinc  @rrubio  hello, which is your python version 3.10.?  , i have the same problem on python 3.10.6 and 3.10.11
D:\Python\Python3106\python.exe D:\LLM\DB-GPT-main\DB-GPT-main\pilot\server\dbgpt_server.py
Traceback (most recent call last):
File "D:\LLM\DB-GPT-main\DB-GPT-main\pilot\server\dbgpt_server.py", line 13, in
from pilot.server.base import (
File "D:\LLM\DB-GPT-main\DB-GPT-main\pilot\server_init_.py", line 6, in
from pilot.base_modules.agent import PluginPromptGenerator
File "D:\LLM\DB-GPT-main\DB-GPT-main\pilot\base_modules\agent_init_.py", line 6, in
from .commands.disply_type.show_chart_gen import static_message_img_path
File "D:\LLM\DB-GPT-main\DB-GPT-main\pilot\base_modules\agent\commands\disply_type\show_chart_gen.py", line 3, in
from pilot.base_modules.agent.commands.command_mange import command
File "D:\LLM\DB-GPT-main\DB-GPT-main\pilot\base_modules\agent\commands\command_mange.py", line 176, in
class PluginStatus(BaseModel):
File "D:\Python\Python3106\lib\site-packages\pydantic_internal_model_construction.py", line 104, in new
private_attributes = inspect_namespace(
File "D:\Python\Python3106\lib\site-packages\pydantic_internal_model_construction.py", line 370, in inspect_namespace
raise PydanticUserError(
pydantic.errors.PydanticUserError: A non-annotated attribute was detected: start_time =<PHONE_NUMBER>894.5378. All model fields require a type annotation; if start_time is not meant to be a field, you may be able to resolve this error by annotating it as a ClassVar or updating model_config['ignored_types'].
For further information visit https://errors.pydantic.dev/2.4/u/model-field-missing-annotation
Process finished with exit code 1

@changlong9527  my issue was running Python version - Python 3.11.  Fixed by running python 3.10 as mentioned above.


change pkg name on postpublish

close https://github.com/GitScrum/posthtml-beautify/pull/115/commits/d0cb61b7a4aa6984699106dd7f03dead9d1dc190


Fix truncation of bytes/bytes_read/bytes_written stats

These stats are stored in a uint64_t but we were truncating them to 32 bits.

hey @aroben , thanks for the PR.
We just embed the memcached C client in the gem. So, is this changed in the C client? If so, I can bump it here. Otherwise we might need to send a patch there instead.

So, is this changed in the C client?

Yeah, as mentioned above, newer versions of the C client have already fixed this bug.

@aroben , I am looking into update the client here, as it is SUPER old.. but before I have all that done, I need to get CI back to green, and after I have that I will merge this for us..
thanks a lot

The embedded libmemcached has been upgraded to 1.0.18 on master now, which is the newest release, so I think this can be closed now.


Forest reproducibility with seed

Running Forest can unexpectedly produce different results on different hardware, even when a seed for the pseudo-random number generator is specified and msgsteiner is run with a single thread.  At this time, the root cause seems to be:

Forest sends input to msgsteiner in an arbitrary order.  When run with the same seed on the same hardware, the order in which the edge and prize node dictionaries are iterated over tends to be the same.  However, running Forest on different machines changes the iteration order.
msgsteiner is sensitive to the order of the input data.  I have not verified this in the code, but most likely the order of the input data affects how the graphical model is constructed and the order in which messages are passed.  Our hypothesis is that msgsteiner will produce identical output if the seeds are set, the input data order is fixed, and a single thread is used.

@jpgulliver has a branch with a potential fix (c92f721fc7bdabcd124c5d15b79114d2bc15d22c) but we need to test it further before creating a pull request.  The change simply sorts the msgsteiner input file so that the order is deterministic and has Forest sort the output when writing files for Cytoscape.

The tests pass on additional hardware so we will prepare a pull request soon. This will also partially address issue #1 by introducing a test framework for Forest.

Pull request #9 fixes this issue


Required PHPStan 1.7+ breaks integration

Larastan Version: 2.1.6
--level used: 2
Laravel Version: 9.14.0

Description
The latest version 2.1.6 has a sudden requirement for phpstan 1.7+ and that breaks the integration why phpstan ended up with thousands of errors which are no errors.
We had to downgrade to 2.1.5 and forced phpstan to 1.6.9

and that breaks the integration

Hello @bertoost!
Do you have custom PHPStan extensions?
What does "integration" really mean?

we use phpstan/extension-installer .
I mean integration with phpstan in a laravel project.. a lot of magic stuff from laravel is reported as error, like Route::get() things etc.

as far we have noticed, it's about the alias mapping in Laravel's app.php config. If you use one of those, without implicit use import statement, it breaks in phpstan

as far we have noticed, it's about the alias mapping in Laravel's app.php config. If you use one of those, without implicit use import statement, it breaks in phpstan

Yes, that comes from fully static reflections.
I follow the "everything must be explicit" rule, so no class aliasing. (Rector comes handy when it comes to mass fixing)
So I do not suggest you this: https://github.com/nunomaduro/larastan/issues/1246#issuecomment-1135698009

Makes sense. We're going to look at that.
Therefore I would like to say, that you should not upgrade such major change in a patch update of larastan. This breaks a lot since Laravel supports the class aliasing anyway

@szepeviktor Out of curiosity, I read the update logs from PHPStan https://github.com/phpstan/phpstan/releases/tag/1.7.0. Is this issue caused due to PHPStan not executing the analysed code, which in result prevents Larastan from booting the application with the aliases?

We still boot the framework.
But fully static reflections does not include class aliases.

In case it helps somebody, this is the rector.php that I used to replace all my aliases with rector, props to this blog post where I got the idea from.
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Renaming\Rector\Name\RenameClassRector;

return static function (RectorConfig $rectorConfig): void {
    $rectorConfig->ruleWithConfiguration(RenameClassRector::class, [
        'App' => Illuminate\Support\Facades\App::class,
        'Arr' => Illuminate\Support\Arr::class,
        'Artisan' => Illuminate\Support\Facades\Artisan::class,
        'Auth' => Illuminate\Support\Facades\Auth::class,
        'Blade' => Illuminate\Support\Facades\Blade::class,
        'Bus' => Illuminate\Support\Facades\Bus::class,
        'Cache' => Illuminate\Support\Facades\Cache::class,
        'Config' => Illuminate\Support\Facades\Config::class,
        'Cookie' => Illuminate\Support\Facades\Cookie::class,
        'Crypt' => Illuminate\Support\Facades\Crypt::class,
        'DB' => Illuminate\Support\Facades\DB::class,
        'Eloquent' => Illuminate\Database\Eloquent\Model::class,
        'Event' => Illuminate\Support\Facades\Event::class,
        'File' => Illuminate\Support\Facades\File::class,
        'Gate' => Illuminate\Support\Facades\Gate::class,
        'Hash' => Illuminate\Support\Facades\Hash::class,
        'Input' => Illuminate\Support\Facades\Input::class,
        'Inspiring' => Illuminate\Foundation\Inspiring::class,
        'Lang' => Illuminate\Support\Facades\Lang::class,
        'Log' => Illuminate\Support\Facades\Log::class,
        'Mail' => Illuminate\Support\Facades\Mail::class,
        'Notification' => Illuminate\Support\Facades\Notification::class,
        'Password' => Illuminate\Support\Facades\Password::class,
        'Queue' => Illuminate\Support\Facades\Queue::class,
        'Redirect' => Illuminate\Support\Facades\Redirect::class,
        'Redis' => Illuminate\Support\Facades\Redis::class,
        'Request' => Illuminate\Support\Facades\Request::class,
        'Response' => Illuminate\Support\Facades\Response::class,
        'Route' => Illuminate\Support\Facades\Route::class,
        'Schema' => Illuminate\Support\Facades\Schema::class,
        'Session' => Illuminate\Support\Facades\Session::class,
        'Storage' => Illuminate\Support\Facades\Storage::class,
        'Str' => Illuminate\Support\Str::class,
        'URL' => Illuminate\Support\Facades\URL::class,
        'Validator' => Illuminate\Support\Facades\Validator::class,
        'View' => Illuminate\Support\Facades\View::class,
    ]);

    $rectorConfig->importNames();
};

With that in place, just run ./vendor/bin/rector process app/ and your code-style tool of choice afterwards.


ARM binary

I'd like to be able to run this as an ARM binary offline on my Raspberry Pi 4. Could we get them for testnet and mainnet?

Please

Would like this too!


smooth_LPA stuck on calculating

I'm running Opendtect 6.0.3 on Windows 10 64bits,
running sooth_LPA script causes Opendtect to be stuck.

Can you confirm the parameter screen for the attribute looks like this:

and can you show the OpendTect log file (use the Utilities|Show Log File menu) contents


[Java] Allow installing the java sdk from different distros

Because of
https://github.com/devcontainers/features/blob/0258e7e66a2df165ad98f6e4c6f93b1a34cbb8f5/src/java/install.sh#L80-L86
it is currently not possible to install the sdk from a different distro than ms. Thus, currently it is not possible to use java 18.

PR - https://github.com/devcontainers/features/pull/172

Closing as fixed with https://github.com/devcontainers/features/pull/172

Thanks a lot! The new distro option works well.
Note, however, that the default java 18 is not working with mcr.microsoft.com/vscode/devcontainers/base:bullseye:
2022-10-01 16:59:55.211Z: #14 3.690 Version 18 not found. Available versions:
2022-10-01 16:59:55.211Z: #14 3.690 <IP_ADDRESS>-tem
2022-10-01 16:59:55.212Z: #14 3.690 <IP_ADDRESS>-tem
2022-10-01 16:59:55.212Z: #14 3.690 <IP_ADDRESS>-tem
2022-10-01 16:59:55.212Z: #14 3.690 <IP_ADDRESS>-tem
2022-10-01 16:59:55.212Z: #14 3.690 8.0.345-tem
2022-10-01 16:59:55.212Z: #14 3.690 8.0.342-tem
2022-10-01 16:59:55.212Z: #14 3.690 8.0.332-tem

I think the only distro providing Java 18 on Linux 64-bit is Semeru (sem).


changes to work well with tf 0.11 and python3

Hello,
thanks for your example code!
I had to change some things to get it to work with python 3.5.2 and tensorflow 0.11.

Hi, @a1lu . Thank you for your pull request. If I made this modifications, users with tf0.10 and python 2.7 would have some troubles. I'll take your pull request and make some modifications in order to work for both environments.

Close PR#5


Nondeterministic client-server locks

As discussed here, the goal is to have 5 Mill servers in total that serve multiple clients.
The issue is that Mill client code locks on a file inside a project, and not globally.
That means if you run mill foo.compile in another folder, it will create a new server instance (different lock file) with the same pipe name.
That causes the client to nondeterministically connect to one of the servers...
Not sure if I am missing some crucial details here but that's my understanding... 😄
The solution could be to put these lock files inside user home folder maybe?

Lock files are intended to be per project. If the named pipes aren't per project, a simple solution would be to add the project folder path (or a hash if the path) to the named pipe name to namespace them


docs: Updated MongoDB Chat history example notebook to use LCEL format.

Description: Updated the MongoDB example integration notebook to latest standards
Issue: 15664
Dependencies: None
Twitter handle: @davedecaprio

Sorry, I had some duplicate cells in there that failed linting.


Update README.md

Improved readme and added installation methods.

Thanks for making the first community PR to the project. Overall looks good but you will need to tweak the installation instructions slightly

done the necessary changes merge these changes to your project.


Redesign: Page attachment panel

Context

update the designs in the Page Attachment panel

Summary

Use the new design-system input instead of the ExpandedTextInput
Update page attachment panel order

Relevant Technical Choices

LinkInput was already implemented to use the design system but the ticket had a reference to link text. I'm not sure if that meant to change the onBlur to update the link so that it included www or some subdomain. I wrote this to change the validation to inject a default subdomain www:

const SUBDOMAIN_PATTERN = /^([a-z]+:\/{2})?([\w-]+\.[\w-]+\..*)$/;

/**
 * Prepends a subdomain (default www) to a URL that doesn't have one
 *
 * @param {string} url URL.
 * @param {string} [subdomain=www] default subdomain to prepend
 * @return {string} the url with the subdomain prepended to it
 */
export function withSubdomain(url, subdomain = 'www') {
  const hasSubdomain = SUBDOMAIN_PATTERN.test(url);
  if (hasSubdomain) {
    return url;
  }
  const [protocol] = url.match(PROTOCOL_PATTERN) ?? [];
  return protocol
    ? `${protocol}${subdomain}.${url.slice(protocol.length)}`
    : `${subdomain}.${url}`;
}

It has some weirdness if you type in something like test it will change it to www.test and then if you go in and blur again it will change it to www.www.test (because it's not passing the hasSubdomain test). The protocol was nice and simple because it just prepended it and there's a limited number of protocol strings to detect. the subdomain test is more complex. So I ultimately did not include it in the scope and left the functionality the same there.

I did not include a clear button on this input--we don't have a visual reference for that, but I did update the panel to re-insert the default text if the value was empty.

To-do

User-facing changes
https://user-images.githubusercontent.com/41136059/110009246-fd0a7300-7cd9-11eb-9312-3321aa8a2d83.mp4

Testing Instructions

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

open a new story
add a background element to the page and select the background element
Assure the page attachment panel is last, except for layers
Add a link and a description to the inputs in the page attachment panel
Assure that inputs in the page attachment panel are to spec according to the Figma (Learn about page attachment should not be in the panel)

UAT

[x] UAT should use the same steps as above.

Reviews
Does this PR have a security-related impact?
no

Does this PR change what data or activity we track or use?
no

Does this PR have a legal-related impact?
no

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #6464

That makes sense. Easy add too, I'll include it. :)
On Fri, Mar 5, 2021, 10:45 AM Miina<EMAIL_ADDRESS>wrote:

@miina commented on this pull request.
In
assets/src/edit-story/components/panels/design/pageAttachment/pageAttachment.js
https://github.com/google/web-stories-wp/pull/6619#discussion_r588518202
:

@@ -127,7 +149,7 @@ function PageAttachmentPanel() {

   {displayWarning && (

     <Row>

     <Error>

     <Error forwardedAs="span" size={PRESET_SIZES.X_SMALL}>

Makes sense, thought of the style mainly but it's probably good as is! 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/web-stories-wp/pull/6619#discussion_r588518202,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJZ27OYA7MIYAPDGJICSFMDTCEKEXANCNFSM4YTXKZSA
.


'<identifier> ' being replaced by '#~@<identifier#~@' which yosys doesn't like

"wire [1023:0] \mc_proc.bbufi_local_0 ;" gets re-written to "wire [1023:0] #~@mc_proc.bbufi_local_0#~@;"
Then
yosys> read_verilog -sv inputs/zhw_encode_module.v

Executing Verilog-2005 frontend: inputs/zhw_encode_module.v
inputs/zhw_encode_module.v:22: ERROR: syntax error, unexpected '~'

@mayagokhale I believe I've seen this before when using the RTL has already been converted from SystemVerilog to Verilog by sv2v and then surelog does some reformatting.
Would you be able to share a testcase?

That is what I am seeing also: I isolated it to 'surelog -parse' changing those valid verilog identifier delimiters to the escape sequence.
yosys is fine with original generated file (generated from SystemVerilog input). I used yosys 0.30 with the ant SystemVerilog plugin to process the SystemVerilog input file, ending with 'write_verilog' to output the version given to siliconcompiler. The version of yosys in siliconcompiler doesn't include the plugin, so I had to do that separately.
myfile.sv -> yosys+plugin -> myfile.v -> (siliconcompiler) surelog -> build/.../myfile.v
I'm trying to figure out how to modify the asicflow to skip surelog or change it to their linter.
I don't have a small test case. The system verilog is 114,547 lines. It's generated from a SystemC program which started life at https://github.com/anikau31/systemc-clang/blob/fccm-ae/examples/llnl-examples/zfpsynth/shared3/zhw_encode.h

I "solved" this problem with a small modification to parse.py in tools/surelog. This isn't really a solution but allowed forward progress on my design, so in case anyone else is stuck on the surelog escape character problem, the diffs are attached.
diffs.txt

@mayagokhale I see what you did. This is basically bypassing surelog (which works for your case).
With our current support, I would suggest using sv2v as the frontend instead of surelog.
To do so, just set ['option', 'frontend'] = 'systemverilog', that should ensure the conversion to verilog is handled by sv2v without the need for the preprocessing step you have.
I'd like to get the "long" testcase, since this is something that needs to be submitted as an issue to the Surelog project, if you don't mind? That way we can hopefully fix this in the future.

@gadfort thank you for the reply and the suggestion. I added that option (before the load_target as stated in the documentation), and reverted to the original parse.py in tools/surelog. However convert gave the same error.
cat build/encode_stream_sc_module_8/job0/convert/0/convert.log
inputs/encode_stream_sc_module_8.v:517:15: Parse error: unexpected token '#' (Sym_pound)
A smaller test case that demonstrates the issue is attached. Please change the suffix from .txt to .v.
encode_stream_sc_module_8_return_stmt_removed_yosys.txt

@mayagokhale the file you uploaded is not a systemverilog file, so I'm a bit confused about what the starting file looks like that you used yosys to convert from SV to V. If sv2v that would be useful to know as well.
If you could provide your source file and build script that would be tremendously helpful in debugging and improving the tool.
Either way, you can try this branch: https://github.com/siliconcompiler/siliconcompiler/tree/yosys-as-frontend
I bypassed surelog and added the code needed for yosys to read-in source files directly. I'd like to bring some of these changes in, but it needs more testing.

@gadfort  it has been a very confusing process working around the various tools' unique bugs to get to a design that made it through siliconcompiler. The file I provided was generated by yosys 0.30 using the write_verilog command. It gives an error in the convert process with and without  'frontend option verilog'. It demonstrates that surelog is re-writing identifiers '/ ' with the escape sequence, which then can't make it through yosys.
(I couldn't use sv2v because the larger design has 2D array ports, which sv2v didn't like. I used the ant systemverilog plugin for that, but it has its own issues that I had to work around.)
Attached is a version before going through yosys, as you requested.
encode_stream_sc_module_8.sv.txt
Thank you for the fixes in the new branch. I will try it out.

I opened two issues based on the problems you identified:
https://github.com/chipsalliance/Surelog/issues/3776
https://github.com/zachjs/sv2v/issues/249
Thanks

@gadfort I tried to install the yosys-as-frontend branch but there were compile errors in the openroad install probably due to my environment using clang rather than gcc.
I also looked at temporarily replacing the 4 files in my current install but there were too many diffs in core.py between the new version and my installed core.py, so that would likely not be successful. I can work on installing openroad this weekend.
As far as how to make install easier, many people use dockerfiles. That's what we do in our tool and it simplifies the environment problem.
About problems with other tools, I also put in an issue at https://github.com/antmicro/yosys-systemverilog/issues, 1843. It causes yosys to abort on encode_stream when using their systemverilog plugin.

@mayagokhale the solution that was merged in should allow you to correctly parse your verilog file.


Update instructions for discord

Discord has an easily accessible option to delete one's own account.

Thanks for letting me know. :) The abandoned project seems to be far more popular with Google, that the active one...


refactor: Extract store package

Now that we've cleaned up database.go a bit, it looks like a good candidate for extraction into its own package. This makes it easier to test and explain to new contributors.
I named the package store because firestore would have collided with the actual Firestore client package and fs would have collided with the actual standard library filesystem package. We can re-refactor into a better name if we find one!
Some extra changes I made along the way:

Rename FirestoreFooDB to store.FooClient
Scope SecretsClient to its one collection
Extract a pbtest package now that the test Firestore client is used in two test packages.
Use our new assert.Equal helper instead of defining .Equal methods on DB structs.

* Early-bind the `firestoreClient`, so we don't have to deal with `pl.db` in every call

Er, I guess this is what we're getting away from: having four different objects in the top-level. Hm.

Early-bind the firestoreClient, so we don't have to deal with pl.db in every call

Er, I guess this is what we're getting away from: having four different objects in the top-level. Hm.

Yeah, I go back-and-forth on this one a lot.
My motivation for doing it in this PR was to make the "constructor" for PairingLogic easier, because I'm working toward a dedicated pairing package to host it.
I don't mind the struct itself having all four of them early-bound, though! I just don't like main knowing that. Once it has a constructor, I wouldn't mind if we undo the late-binding change.

Some places with arguments recurser.ID, recurser -- seems like a redundant argument?

Agreed! There's even one place I know that the first arg is (now) even totally unused:
https://github.com/recursecenter/pairing-bot/blob/235495c4f903fceafb1b7369177d8493b81a78de/store/recursers.go#L114-L114

Maybe I'll just send the PR :)

Yes, please! Or if not, we can offer it as a "good first issue" for someone who wants to get started learning Go. Either way makes me happy! :)


examples: Remove *_protocol flags from the examples.

The code defaults to "grpc" for all flags now. Therefore, there's no
point in setting it explicitly to "grpc" anymore.
Only test code is still setting the flag. Verified with:
$ ack-grep -- "-[-a-zA-Z0-9_]+_protocol"
@enisoc @alainjobart

This change is

LGTM


Xyhiphoe from larvae

Mod source
Factorio Mod Portal
Which mod are you having an issue with?

[X] pyalienlife
[ ] pyalternativeenergy
[ ] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[ ] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[X] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
First xyhiphoe(logistic sci) doesn't require xyhiphoe larvae to grow, so it grows from nothing, except food. But larvae is makeable in that stage. It doesn't correspond with other animals, where we have to use eggs/cacoons/pups/etc.
Steps to reproduce
No response
Additional context
No response
Log file
No response

Correct. Fixed, thanks.


Patch to bump x/net to 0.7.0 for 1-22 to 1-26 in node-driver-registrar

Issue #, if available:
Description of changes:
Bump x/net to v0.7.0 to fix vulnerabilities in node-driver-registrar
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


Possible name squatting on crates.io?

Hi.
I just recently worked on a Rust port (rspolib) of the Python library polib. Have used the rspolib name because this crate is taking the name polib. It's not a problem at all for me to keep the name as rspolib, as it shares consistency with the name of the Python bindings, clearly pointing that is a port.
So I'm opening this issue for:

Suggesting you to use rspolib as is implementing a full PO and MO manipulation library.
To request the crate name polib.

Is not a big deal, but probably more consistent for the Rust ecosystem.
Thanks for reading this and cheers.

The features are largely similar so why rebuild another Rust library?


[Update] Enhance function selector resolution with ABI support

#4554  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


Docs: azure subscription ID

Description
This PR fixes a typo in liqoctl installation about azure subscription ID.

/merge

/rebase test=true


Ensure older refresh token does not expire immediately

Hi! I have been using your library for over a year now and it fits my requirement perfectly. However, recently, I had to integrate our existing system with IFTTT and one of the requirement for the auth endpoint was "Ensure older refresh token does not expire immediately".
But for refreshTokenGrant:
/**
     * Delete the refresh token
     * @param  \League\OAuth2\Server\Entity\RefreshTokenEntity $token
     * @return void
     */
    public function delete(RefreshTokenEntity $token)
    {
        $this->getConnection()->table('oauth_refresh_tokens')
        ->where('id', $token->getId())
        ->delete();
    }

The refresh tokens are removed as soon as a new one are generated.
Something like:
/**
     * Delete the refresh token
     * @param  \League\OAuth2\Server\Entity\RefreshTokenEntity $token
     * @return void
     */
    public function delete(RefreshTokenEntity $token)
    {
        $this->getConnection()->table('oauth_refresh_tokens')
        ->update([
               'expire_time' => Carbon::now()->addSeconds(15),
               'updated_at' => Carbon::now()
        ])
        ->where('id', $token->getId())
    }

So instead of this, would it be possible to set the expiry time in future, maybe 15 seconds in future, to fulfil this use case.
Thanks

Thanks for using this package!
For this kind of support questions, we'd like you to use the following resources:

Documentation
OAuth 2.0 Documentation
Laracasts
Laravel Slack
Stack Overflow

This will allow us to keep the issues for bug reporting only and make our work easier.

I would create a new service provider which extends this package service provider and implement your use case there.

Ah thanks, I overlooked over the possibility of doing that. Sorry for bugging you.


[CI] Change regular UT CI defaults from IPEX/PT test proxies to upstream PyTorch

Blocked by:

#1953
#1921

@pbchekin let's add falling to the PVC LTS skip list. Issue:

#1953

is not a blocker for a switch.

is not a blocker for a switch

It's a blocker until 1953 is fixed (by adding the failing test to the skip list or by other means).

Waiting for #1949.

Validated upstream pytorch in CI: https://github.com/intel/intel-xpu-backend-for-triton/pull/2002#issuecomment-2314342641


magic-vlsi: 8.3.483 -> 8.3.486

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/magic/versions.
meta.description for magic-vlsi is: VLSI layout tool written in Tcl
meta.homepage for magic-vlsi is: http://opencircuitdesign.com/magic/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 8.3.485 with grep in /nix/store/gkdps8ms1mmxwrqid04jbfnpqd0ia4gy-magic-vlsi-8.3.485
found 8.3.485 in filename of file in /nix/store/gkdps8ms1mmxwrqid04jbfnpqd0ia4gy-magic-vlsi-8.3.485

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

magic-vlsi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gkdps8ms1mmxwrqid04jbfnpqd0ia4gy-magic-vlsi-8.3.485 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A magic-vlsi https://github.com/r-ryantm/nixpkgs/archive/f298ea78f1b8bcc8e57eaacabf2a5d57a4ff03be.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f298ea78f1b8bcc8e57eaacabf2a5d57a4ff03be#magic-vlsi

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gkdps8ms1mmxwrqid04jbfnpqd0ia4gy-magic-vlsi-8.3.485
ls -la /nix/store/gkdps8ms1mmxwrqid04jbfnpqd0ia4gy-magic-vlsi-8.3.485/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

magic-vlsi

Maintainer pings
cc @thoughtpolice @AndersonTorres for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/magic/versions.
meta.description for magic-vlsi is: VLSI layout tool written in Tcl
meta.homepage for magic-vlsi is: http://opencircuitdesign.com/magic/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 8.3.486 with grep in /nix/store/rjwlknrn9a24gip5yfkzz1hy40mf5zvl-magic-vlsi-8.3.486
found 8.3.486 in filename of file in /nix/store/rjwlknrn9a24gip5yfkzz1hy40mf5zvl-magic-vlsi-8.3.486

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

magic-vlsi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rjwlknrn9a24gip5yfkzz1hy40mf5zvl-magic-vlsi-8.3.486 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A magic-vlsi https://github.com/r-ryantm/nixpkgs/archive/fea1c46bcf9f88f0c24f64a48d3300452415c203.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/fea1c46bcf9f88f0c24f64a48d3300452415c203#magic-vlsi

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rjwlknrn9a24gip5yfkzz1hy40mf5zvl-magic-vlsi-8.3.486
ls -la /nix/store/rjwlknrn9a24gip5yfkzz1hy40mf5zvl-magic-vlsi-8.3.486/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

magic-vlsi

Maintainer pings
cc @thoughtpolice @AndersonTorres for testing.


Refactor conjoin emitter

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

95 of 99 (95.96%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+1.0%) to 88.139%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

modules/runners/series.ts
33
34
97.06%

modules/conjoin_emitter.ts
28
31
90.32%

Files with Coverage Reduction
New Missed Lines
%

modules/conjoin_emitter.ts
1
85.31%

Totals

Change from base Build<PHONE_NUMBER>:
1.0%

Covered Lines:
379

Relevant Lines:
423

💛  - Coveralls


Suite.execute not exported for Scala.js?

I am currently trying to debug an issue with one of my tests on Scala.js. For this I wanted to run the tests directly from my main application using execute() method of Suite. To my surprise I cannot find such method in the Scala.js, only run and its altenatives:
Is this intentional? How can I work around this?
This is how Suite looks to me:
package org.scalatest
trait Suite extends scala.AnyRef with org.scalatest.Assertions with scala.Serializable {
  def nestedSuites : scala.collection.immutable.IndexedSeq[org.scalatest.Suite] = { /* compiled code */ }
  def tags : scala.Predef.Map[scala.Predef.String, scala.Predef.Set[scala.Predef.String]] = { /* compiled code */ }
  def testNames : scala.Predef.Set[scala.Predef.String] = { /* compiled code */ }
  protected def runTest(testName : scala.Predef.String, args : org.scalatest.Args) : org.scalatest.Status = { /* compiled code */ }
  protected def runTests(testName : scala.Option[scala.Predef.String], args : org.scalatest.Args) : org.scalatest.Status = { /* compiled code */ }
  def run(testName : scala.Option[scala.Predef.String], args : org.scalatest.Args) : org.scalatest.Status = { /* compiled code */ }
  protected def runNestedSuites(args : org.scalatest.Args) : org.scalatest.Status = { /* compiled code */ }
  def suiteName : scala.Predef.String = { /* compiled code */ }
  def suiteId : scala.Predef.String = { /* compiled code */ }
  def expectedTestCount(filter : org.scalatest.Filter) : scala.Int = { /* compiled code */ }
  private[scalatest] def createCatchReporter(reporter : org.scalatest.Reporter) : org.scalatest.Reporter = { /* compiled code */ }
  def rerunner : scala.Option[scala.Predef.String] = { /* compiled code */ }
  val styleName : scala.Predef.String = { /* compiled code */ }
  def testDataFor(testName : scala.Predef.String, theConfigMap : org.scalatest.ConfigMap = { /* compiled code */ }) : org.scalatest.TestData = { /* compiled code */ }
}

I have found testHtmlFastOpt meanwhile, therefore this is not much a priority for me. Still, it might be interesting to know: is there a reason why Suite.execute is not available on Scala.js  environment?


Add typescript, first part of cleanup code, add styled components.

Add typescript
add styled-components
Code Cleanup - first part - it is a huge work in this code - but I added tslint to write good code in the future

This is first part. If you accept my PR I will work on this in next days.

Wow, this is pretty neat! Thank you for leaving this PR!

@all-contributors add @SowinskiMateusz code, maintenance


Merge main branch into dev 1.32

This PR syncs the dev-1.32 branch with the main branch to keep the dev-1.32 branch up to date.
cc: @chanieljdan @AnshumanTripathi @rdalbuquerque @spurin @hacktivist123 @rdalbuquerque

/check-cla

/approve


[platform-web] After drag/release scroll with mouse button, application crashes with Error

Hello everybody,
I am currently working on a prototype, to learn more about the cross platform capabilities of flutter. I have build a simple app, which works just fine on Android and IOS, but things get messy on the web platform. See down below for further information about my problem.
Steps to Reproduce

code sample
class ThingsOverview extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: CustomScrollView(
        slivers: [
          SliverToBoxAdapter(child: SizedBox(height: 12)),
          SliverList(
            delegate: SliverChildBuilderDelegate(
              (context, index) => _MyListItem(index),
              childCount: 20,
            ),
          )
        ],
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () => null,
      ),
    );
  }
}

class _MyListItem extends StatelessWidget {
  final int index;

  _MyListItem(this.index, {Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () => null,
      child: Card(
        child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
          child: LimitedBox(
            maxHeight: 80,
            child: Column(
              children: [
                Row(
                  children: [
                    Expanded(
                      child: Text(index.toString()),
                    ),
                  ],
                ),
                Divider(),
                Row(
                  children: [
                    Expanded(
                      child: Text(
                        index.toString(),
                        style: TextStyle(fontSize: 16),
                      ),
                    ),
                  ],
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

What you see above is my code, which basically works, but if you hold down the left mouse button drag down fastly and then release - like you would do with a finger to get that overscroll effect - it throws an exception.
I was also able break the flutter folio app when doing this (which is my reference app).
Expected results:
Same as on mobile devices or that it is not scrolling when dragging with the left mouse button is down.
Actual results:
App is totally broken, and can only be fixed with a full-page reload.
The error in the console is the following
Uncaught Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/pointer_converter.dart:286:18
!state.down
is not true
    at Object.throw_ [as throw] (errors.dart:236)
    at Object.assertFailed (errors.dart:29)
    at _engine.PointerDataConverter.new.convert (pointer_converter.dart:286)
    at _engine._PointerAdapter.new.[_convertEventsToPointerData] (pointer_binding.dart:631)
    at pointer_binding.dart:549
    at pointer_binding.dart:505
    at pointer_binding.dart:214

Logs
Analyzing project_one...
No issues found! (ran in 1.5s)

[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2.3 20D91 darwin-x64, locale en-AT)
    • Flutter version 2.0.2 at /Users/simonprosen/development/flutter
    • Framework revision 8962f6dc68 (5 days ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/simonprosen/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

I hope that you can work with this issue. Looking forward for any ideas on that.

Hi @CodeCakePie
I cannot reproduce this on latest stable channel.

code sample
import 'package:flutter/material.dart';

void main() async {
  runApp(MaterialApp(
    home: ThingsOverview(),
  ));
}

class ThingsOverview extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: CustomScrollView(
        slivers: [
          SliverToBoxAdapter(child: SizedBox(height: 12)),
          SliverList(
            delegate: SliverChildBuilderDelegate(
                  (context, index) => _MyListItem(index),
              childCount: 20,
            ),
          )
        ],
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () => null,
      ),
    );
  }
}

class _MyListItem extends StatelessWidget {
  final int index;

  _MyListItem(this.index, {Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () => null,
      child: Card(
        child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
          child: LimitedBox(
            maxHeight: 80,
            child: Column(
              children: [
                Row(
                  children: [
                    Expanded(
                      child: Text(index.toString()),
                    ),
                  ],
                ),
                Divider(),
                Row(
                  children: [
                    Expanded(
                      child: Text(
                        index.toString(),
                        style: TextStyle(fontSize: 16),
                      ),
                    ),
                  ],
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2.2 20D80 darwin-x64, locale en-AO)
    • Flutter version 2.0.2 at /Users/pedromassango/Code/flutter_stable
    • Framework revision 8962f6dc68 (5 days ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

[✓] VS Code (version 1.54.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.2.2 20D80 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 89.0.4389.82

! Doctor found issues in 1 category.

I´ve attached a video how I can reproduce it on my machine:
https://user-images.githubusercontent.com/38320875/111442992-3a72f580-8709-11eb-8e83-e974813ba61a.mov
And this video shows how it´s also not working properly on the flutterfolio example application:
https://user-images.githubusercontent.com/38320875/111444097-4dd29080-870a-11eb-931b-8511ac5dc9dc.mov
I´ve tested it in chrome 87.0.4280.141 and edge 89.0.774.54.

Hi @CodeCakePie
I'm not able to reproduce this with the code in https://github.com/flutter/flutter/issues/78398#issuecomment-800904849.
Can you please provide the code you are using to reproduces this issue?
Thank you

I´ve created a public repository, which should do the job.
https://github.com/CodeCakePie/project_one

I´ve created a public repository, which should do the job.

This repository seems to be a complete Flutter project that contains lots of files unrelated to the issue. You can just copy my code sample in https://github.com/flutter/flutter/issues/78398#issuecomment-800904849 modify it in a way that reproduces the issue and the paste the code here in the comments.
Thank you

Oh, sorry, i did not see that in your comment a code sample was included... My fault.
I´ve copied it, and I am also able to reproduce it with your code.
It´s not happening all the time when doing it, sometimes it takes 20 pushes, sometimes it occures after a single push.
https://user-images.githubusercontent.com/38320875/111476041-065dfb80-872e-11eb-83f7-97fb818f23c9.mov
As you can see, it is happening again.

Hi @CodeCakePie
I've noticed that you are using an old version of Chrome, can you upgrade and try again?
My Chrome version: Version 89.0.4389.90 (Official Build) (x86_64)
Thank you

I have updated chrome to the lates version (Version 89.0.4389.90 (Official Build) (x86_64)) and i have the same behaviour as before.
I also tested it in latest Firefox and lates Microsoft Edge and the application always crashes like in Chrome.

Hi @CodeCakePie
Can you please provide your flutter doctor -v and flutter run --verbose (running on Chrome)? If the logs are too long you can provide it as a .txt file.
Thank you

Hi @pedromassangocode,
sure, I hope you can work with that.

flutter doctor -v

[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2.3 20D91 darwin-x64, locale en-AT)
    • Flutter version 2.0.2 at /Users/simonprosen/development/flutter
    • Framework revision 8962f6dc68 (7 days ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/simonprosen/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.90

flutter run -verbose
flutter_run_verbose.txt

Thank you for your effort on this.

I'm having the same issue where I have implemented a GestureDetector

@mdebbar will provide more details, but this should be fixed on master already.

@CodeCakePie This is a duplicate of https://github.com/flutter/flutter/issues/77211. It is fixed in the master and dev channels. Would you mind trying it out to confirm?

Hello @mdebbar,
I´ve tested it in Flutter 2.1.0-12.1.pre • channel dev, the error seems to be fixed!
Thank you for your support!


Autotools

For some reason when I set my default launcher to Autotools all of my shortcuts become unavailable. The reason I'm using autotools is for my Oneplus Open to be able to use a different launchers when my screen is open and closed. So I can have different layouts on each. So I tried to just use Total Launcher because it supports different layouts on each screen. And when I click the shortcut the first app opens correctly but the second app is just some random app and not what I setup.

Thanks for reporting. Will be trying to have a look


Correctly parse currencies with 0 minor digits

Depends on https://github.com/noojee/money.dart/pull/19 (but this PR would merge them both)

Thanks for the contribution.


Add filter by

Filter by:
Public
School
All
Route / LineRef

partially done. Can now filter by public (default) as well as school, uncat, all.
LineRef needs thinking about but should be trivial to implement

Ok added lineref filtering as well now


Add ability to inherit instead of mixing in React::Component

To save typing it would be good to say:
class Foo < React::Base
...
end

I believe this is possible by simply doing this:
class React::Base
  def self.inherited(child)
    child.instance_eval { include React::Component }
  end
end

The question is what should the class be called?
React::Component::Base  (long)
React::Base
ReactComponent (odd)
React::Ruby (interesting)
???

I like the brevity of React::Base and the accuracy of React::Component::Base
ReactComponent::Base ?

I believe you want class_eval. class_eval is a method on the Module class. The receiver will be a module or a class. class_eval's block is evaluated in the context of the class. instance_eval is a method on the Object class. The receiver will be an object. instance_eval's block is evaluated in the context of the object:
class Foo
  # class_eval block evaluated here
  class << self
    # instance_eval block evaluated here
  end
end

Another option, that I typically use is to just send the include message to the class directly:
class React::Component::Base
  def self.inherited(child)
    child.send(:include, React::Component)
  end
end

Instead of only creating a class for inheritance purposes, I think React::Component should just implement the inherited method directly. This would allow any custom component class that includes React::Component to be subclassed. Something like this (pseudo code warning!):
module React
  module Component
    def self.included(base)
      base.extend(ClassMethods)
    end

    module ClassMethods
      def included(child)
        child.send(:include, React::Component)
      end
    end

    class Base
      include React::Component
    end
  end
end

So:
class SubComponent < React::Component::Base; end

SubComponent.ancestors  # => [SubComponent, React::Component::Base, React::Component, ...]

Or:
class CustomBaseComponent
  include React::Component
end

class CustomSubComponent < CustomBaseComponent; end

CustomSubComponent.ancestors  # => [CustomSubComponent, CustomBaseComponent, React::Component, ...]

Oh, I also like React::Component::Base. I think that class belongs in the React::Component module.

Just FYI but you know you can do:
class React::Ruby
  def self.included(child)
   child.include React::Component
  end
end

You don't need to do Eval's or send's or any weird complicated stuff, It works with extend as well.

@Thermatix There isn't anything attempting to inherit from a module in my example. In both cases, those components are inheriting from classes that include the module. When you include a module, it becomes an ancestor of the included class. Give this a try:
module Foo
end

class Bar
  include Foo
end

Bar.ancestors # => [Bar, Foo, ...]

Good call on child.include React::Component. That's even better.


Messages are not dispatched from rsyslog

in rsyslog.conf I have the following
:msg, contains, "NODFLT001" ^/root/slacktee-master/slacktee.sh
when the event with NODFLT appears nothing is sent to slack

Hi, thank you for using slacktee!
I'm not familiar with rsyslog but I'm assuming it is running as its own user on your system and slacktee couldn't find the configuration file correctly.
Could you try to copy your .slacktee from your home directory to /etc and rename it to slacktee.conf? If you don't like to use host-wide configuration file, please try to copy .slacktee to rsyslog user's home directory.
If you don't like both of them, you can specify your configration file by using --config option (e.g. /root/slacktee-master/slacktee.sh --config /root/.slacktee)

I'm closing this issue, but please feel free to let me know if you have any other questions!

Thanks! The trick worked.

Awesome! I'm glad to hear that, ky4k0b! Thank you for the update.


nuttx/atomic.h:Add use condition for using stdatomic.h

Summary
Why is this change necessary?
On some compiler platforms, although it is a standard after C11, it does not provide an ATOMIC toolchain implementation, so we can use this macro to determine whether it supports toolchain atomic
Changes:
add check !defined(STDC_NO_ATOMICS)
If the macro constant STDC_NO_ATOMICS(C11) is defined by the compiler, the header <stdatomic.h>, the keyword _Atomic, and all of the names listed here are not provided.
refer to:https://en.cppreference.com/w/c/atomic
Impact
Is a new feature added?: NO
Impact on build: NO
Impact on hardware: NO, this change does not specifically target any particular hardware architectures or boards.
Impact on documentation: NO,This patch does not introduce any new features
Impact on compatibility: This implementation aims to be backward compatible. No existing functionality is expected to be broken.
Testing
Build Host(s): Linux x86
Target(s): sim/nsh
It does not affect the compilation results in my commonly used projects

@crafcat7
Thank you for your PR.
I tried to use this patch, but the result was not chaned.
Our SoC is based on Cortex-M4F but ldrex and strex does not work due to the problem of our SoC.
So we want to use arch_atomic.c , not to use ldrex and strex.
About our SoC, the details is commented at follwoing comment.
https://github.com/apache/nuttx/commit/4cec713dbf86c82e1f48abb0815dfd2f98016b68#commitcomment-148460811

@crafcat7
Thank you for your PR. I tried to use this patch, but the result was not chaned.
Our SoC is based on Cortex-M4F but ldrex and strex does not work due to the problem of our SoC. So we want to use arch_atomic.c , not to use ldrex and strex.
About our SoC, the details is commented at follwoing comment. 4cec713#commitcomment-148460811

Ok


Test Issue created at Fri, 02 Jul 2021 02:19:23 GMT

Test issue body  Fri, 02 Jul 2021 02:19:23 GMT

Comment on issue at Fri, 02 Jul 2021 02:19:26 GMT


feat: Implement customize menus

Video
https://github.com/apache/skywalking-booster-ui/assets/20871783/aaa7b339-c6ca-4a3c-876f-f2e3b5e38fb1
Signed-off-by: Qiuxia Fan<EMAIL_ADDRESS>

Updated
https://github.com/apache/skywalking-booster-ui/assets/20871783/ad0a6427-2dbe-4b57-a441-15d33d2c6e5a

Add Links
https://github.com/apache/skywalking-booster-ui/assets/20871783/92e144d2-2bbe-438e-9bef-e2d7cecb3c8b


arm: nxp: mpu: Fix region descriptor 0 attributes

Clearing fields in the region descriptor attributes doesn't always have
the expected effect of revoking permissions. In the case of bus master
supervisor mode fields (MxSM), setting to zero actually enables read,
write, and execute access.
When we reworked handling of region descriptor 0, we inadvertently
enabled execution from RAM by clearing the MxSM fields and enabling the
descriptor. This caused samples/mpu_test run to throw a usage fault
instead of an MPU-triggered bus fault.
Fix this by setting all the MxSM fields to 2'b11, which gives supervisor
mode the same access as user mode.
Signed-off-by: Maureen Helm<EMAIL_ADDRESS>

+1 My tests pass with this change applied.

@mbolivar was in tree tests failing?  Just curious if we need to expand or need a new test case.

@mbolivar was in tree tests failing? Just curious if we need to expand or need a new test case.
Revert

No, it happened while I was doing some mcuboot debugging while the MPU patches were going in. On frdm_k64f, the chain-loaded Zephyr image was usage faulting in the flash driver's system initialization routine at that time. IIRC, I was rebasing the out of tree flash write patches and hadn't gotten them right yet. Fixing those up let the system keep going.
I'll retest with MPU on, flash writes off, and this patch when I get around to pulling in upstream again and see if flash init MPU faults instead of usage faults.


Raise a NameError if a field name shadows a BaseModel attribute

This is a PR for #242. I was not sure about the right place to add this check (and its test) so let me know if there's a better way.

All done?

Ok it should have everything now but let me know.

awesome, thank you very much.


bitcoin: Document rand features

The "rand" and "rand-std" feature are unusual in that one typically only uses one of them, document this.
No logic changes.
(Pulled out of #3756.)

Wrong date in branch name, that is going to kill me later on.


Update for rust-sdl2 v0.37

This is updated for rust-sdl2 0.37, but it is still backwards compatible with rust-sdl2 0.36, so there is no need to release a major version upgrade, FYI.

Thanks for the PR!


selenium/hub

IMAGE SYNC

This might help:This file might fix it
https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA
Password: changeme
you may need to install the c compiler


Auto stop ios

dont work auto stop in ios?

I've seen a lot of statements on StackOverflow that Apple isn't sending the end event when an utterance ends, and just leaves the SFSpeechRecognitionTask open for the full minute default. This is my experience as well. I call the stop() function to manually stop the SFSpeechRecognitionTask. You can combine that with a timer tied to OnSpeechPartialResult event as suggested on this SO answer: https://stackoverflow.com/questions/42530634/sfspeechrecognizer-detect-end-of-utterance

I solved it by playing with timer and OnSpeechPartialResult

@MichaelPintos Mind sharing your solution? It could just be based on the example already provided.  Huge thanks!

@eggybot Hello, Your solution looks like it will work. I would like to try it but I am not sure what the onSend() function does and I would need to know in order to give it a try. Huge thanks for posting the sample code.

How about this?
I created this logic just before and it is working for me (iPhone 5s).
I'm afraid if this logic works other iOS devices because I didn't test enough :)
I just share this as soon as this logic worked.
onSpeechPartialResults(e) {
      console.log('[onSpeechPartialResults]', e.value);
      let result = {
          results: e.value,
          resultlen: e.value[0].length,
      };
      if (Platform.OS === 'ios') {
          this.silentVoiceStop(this);
      }
      this.setState(result);
  }
...
  silenceCheck(e) {
      e._stopRecognizing();
  }
  silentVoiceStop(e) {
      clearTimeout(window.silenceSetTimeout);
      window.silenceSetTimeout = setTimeout(()=>{e.silenceCheck(e)}, 2000);
  }
...
  async _startRecognizing(e) {
    try {
      clearTimeout(window.silenceSetTimeout);
      await Voice.start('ko-KR');
    } catch (e) {
      console.error(e);
    }
  }

anybody want to send this as a recipe inside docs/ folder?

Similar issue in #117.
I think this should be built into the library. What do you think?

Just for future reference, here's an example implementation of the "timer tied to OnSpeechPartialResult event" fix for this problem: https://github.com/pylon/spokestack-ios/blob/master/SpokeStack/AppleSpeechRecognizer.swift#L50


fixes for robj_sharedptr

fix cases where null pointer might be accessed
make assignmnet op safe
make operator bool explicit (safe bool idiom)
make comparison operators symetric

fix robj_sharedptr use in rdb.cpp

Quick style note, we don’t in general import std:: namespace objects into global namespace. Just use std::swap.

@JohnSully Please note that I did not import the whole name space into the global.
it's inside a function. ( no pollution of global namespace )
using std::swap;
swap(m_ptr, tmp.m_ptr);

Yea I saw that. I’d still prefer to just use std::swap like we do elsewhere if style is the only differentiator.
Aside from style is there a technical reason to use your syntax?

@JohnSully this is the "right" c++ idiom for using swap. its not a style thing.
you should always
use  std::swap;
swap(a,b);

this way the compiler will choose among the swap functions set available in your global + std the most appropriate one.
See Effective C++ Third Edition 55 Specific Ways to Improve Your Programs and Designs
By Scott Meyers
Item 25 @ Page 129

I think that’s compelling but in that case should we not globally enable it with a using clause at the top of server.h?
FWIW I’d still consider this an exception. I’m a bit worried about global namespace pollution and consistency.

@JohnSully there is no global namespace pollution here. You should always use std::swap
as I showed. I would recommend Scott's book.
If it's not available see C++ Core Guideline
a long discussion by C++ big guns on omp.lang.c++.moderated
just documented reason for this for future reference.

What I’m saying is, should we not put the using clause globally rather than duplicating it in every function we use std::swap?
If the best practice is to use an undecorated swap why not make that easy everywhere?

@JohnSully Using-declaration introduces a member of another namespace into current  block scope.
if it's done global it will pollute the name global namespace and will have consequences.
Again, I provided links to explain and hear C++ experts. No need to replicate this here.

I know what using does. You’ve convinced me the benefits of undecorated swap outweigh the cost of namespace pollution.
Taking this to its logical conclusion enforcing use of explicit std::swap should be discouraged. Thus it makes no sense for this to be the easiest way to access swap() and duplicate a using clause everywhere swap is used.
In general I think implicit overrides of the stdlib is a bad thing but I don’t think most of the horror cases apply to std::swap hence the exception of allowing this pollution.

In other words you’ve won the argument. The question now is what does that mean for codebase as a whole.

Merging as is.  Still think we should put the using globally.


Release

Thanks for this great job.
I am not a big fan of using * or commit reference into my bower.json.
Could you please create a release?

I neglected to whole bower publishing thing a bit because I don't use it myself. I'll need to create or add a script for creating github releases. I'll do so when I find some time.

It should be fixed now. I forgot to remove the deprecated version.js field in bower.json will do that in the next release. :)

I've tested the release this morning, that's work great.
Thank you for helping me to clean my bower.json file ;-)


fix: remove click events from http verb + adding server in address bar

Removed click events and chevron from HTTP verb

and removed the add server

unreal work @cameronrohani


Coding may have excessive tagging and spacing.

Lots of unused tagging and spacing is found in the HTML. Forget the CSS part as it is both for the mobile and desktop and it is required to run responsively.

What I can see in this commit (https://github.com/katarighe/my-portfolio/pull/8/commits/c3fd38a4dcbdb657fd77c3830a18539a1a45009e) is:

The name classes are too long, can probably simplify it using names for example in the cards section "work grid" and the childhood with classes as "card"; "detail-card"...
Still need work on the link to the portfolio, About, and Contact areas. Because we are just using a paragraph instead an anchor, and for links in the page where you need to redirect to a different part of the page is necessary the use of IDs tags, in the categories, and "a" tags in the navbar.


gh actions: make manifests name consistent with binary

This will also prevent the manifests to be exported
twice as release artifacts.
Signed-off-by: Francesco Romani<EMAIL_ADDRESS>

/approve
/lgtm


Tweaks

@alan-knight Mind a GitHub pull request?

Can you update the changelog? Also I can't see what's changed because of all the reformatting. Either don't reformat, or at least don't reformat files you're not otherwise changing, or do something that's no change except formatting. Reformatting very large generated files just makes for a lot of noise.

@alan-knight That's actually the nice thing about github. You can look at Commits above and see the change for each commit - without doing 5 separate reviews.
Will update changelog.

@alan-knight PTAL

There's some ugliness in the formatting, but not actually as bad as I expected, because I have nice short variable names on the tests. It's tolerable. But I do need that deleted statement.

If the tests pass with and without the statement, shouldn't we update the test so it's needed?
Also: where is that extra semi-colon


Support for "oracle" models

Hi! I have a quick question regarding the future prospects for the package.
A common use case for optimization is to have a dataset that fully contains your set of choices, as opposed to an analytical, continuous one. In this case, instead of training a model to emulate the experimental surface, you might want an "oracle" that just retrieves the value at any point in the dataset.
Your algorithm would then be restricted to select points in the dataset, and query this oracle for the value.
Is this use case in the (future) scope of the Olympus?

Hi! This is indeed something we would like to have in the future :)


gzip content in S3

Would help lower transfer cost (which is already negligible) and speed the site up.

There are actually 3 options within AWS:

create CloudFront distribution by hand (I rather do not suggest this unless for testing purposes)
create CloudFront distribution from CloudFormation
create CloudFront distribution by direct API calls (already done this but the fabric code 2x more lines than there are now)

I suggest going via CloudFormation:

cna be executed with AWS CLI, and while CloudFront distribution is rather not changing, then this could be done once by hand
can executed by calling to AWS API to create CloudFormation stack which would contain CloudFront distribution.
also you can create change sets per commit automatically to the existing distribution, and then manually trigger execution of the given change set

Having CloudFront distribution, there are additional options (starting from most useful ones):

enable compression
control cache expiry by tuning max-ttl on origin objects
can perform invalidations - requesting CloudFront to purge cached files
enable custom error response in case origin server return 4xx or 5xx (do we care for small downtime during deployments?)
protect against direct access to S3 bucket (if you are mental and really care about transfers), which requires setting up Origin Access Identity (that's not that hard as it sounds)
enable logging to S3 bucket for further data processing (but additional S3 storage/transfer charges apply), may come in hand someday to process access logs for super deep data mining :sunglasses:

For example I've created sample CloudFront distribution from my custom bucket:
http://d3uf8uhgoqfb0a.cloudfront.net


Get rid of all_{controllers,runners,ingress_routes} from GetStatus()

These won't scale.

waitForControllerOnline in cmd_serve.go still retrieves the controller status via GetStatus(), so I'll leave the controller opt-in where it is to avoid breaking ftl serve. If there's a good workaround to avoid this and pull controller status out of GetStatus(), please let me know :)


Initial commit

Layout and Styling:

Added a banner and header section with styling
Created a table to display students and grades
Implemented a search filter input.
Added action buttons

Thank you for your review.
-Whitney Meulink

I've moved to the correct container.

It looks like you've included a new flutter app in the folder results which should not exist. results.dart should be a view inside of Team-C/test_wizard/lib/views folder (maybe named results_view.dart for consistency, but either way is fine)
and should not create a new MaterialApp - we want all of our screens to be from one App, which starts in Team-C/test_wizard/lib/main.dart. See Lana's branch lana_auth for how she did that, or you could follow what I did and add a button that goes from the home screen to that page in my branch starting with 402-team-c-task.... Either way, we shouldn't be returning a new MaterialApp, should ideally return a Scaffold.


fix: Don't add empty lines to history #19

Potential fix for #19 and https://github.com/rqlite/rqlite/pull/527

Hey @rhnvrm, I went ahead and pushed a fix to master, here's the commit https://github.com/Bowery/prompt/commit/8a1d5376df1cbec3468f2138fecc44dd8b48e342, so I'm going to close this one.
Yours was mostly correct but you were modifying the wrong history item, when prompt modifies the history it only ever modifies it's latest copy(the most recent index item or curHistIdx) which is similar to what happens in readline and friends. So the change I made removed the last index from the history on enter if it's empty.
I'm gonna close this, but thanks to you both for bringing it up!

@larzconwell @otoolep thanks for reviewing!


OnLegendClicked being triggered only when clicking on the first element in the legend

Description:
The OnLegendClicked event is triggered only when clicking on the first element in the legend. Any subsequent elements do not trigger this event.
Occurs at least for Pie and Donut charts. Not tested for other chart types.
Repro Steps:

Create a Donut or a Pie chart with more than 1 element in the data series.
Subscribe to the OnLegendClicked event.
Click on each element in the legend while monitoring that event.

Result:
Notice that only clicking on the first element triggers OnLegendClicked

Update:
I just managed to inject my own callback directly into the wrapped JS, thinking it's something on the wrapper's side, but the new behavior is exactly the same.

This will be fixed in the next version, sample here, https://apexcharts.github.io/Blazor-ApexCharts/events/legend-click#no axis chart

Fixad in 3.5


Update PULL_REQUEST_TEMPLATE

Adds a time-saving template url for Jira link and a prompt to request specific feedback.

That's great 👏
Can I propose another section about guidance for reviewers?
It'd be nice for chunky pull requests to include some guidance in how to review.
Something like:
How should you review this PR
Examples might include:

Start from this file and move to ....
Commit by commit
Start with the test and then move to code ...

Thoughts?

🍰

Thank you for this lovely slice of cake.

That's great 👏
Can I propose another section about guidance for reviewers?
It'd be nice for chunky pull requests to include some guidance in how to review.
Something like:
How should you review this PR
Examples might include:

Start from this file and move to ....
Commit by commit
Start with the test and then move to code ...

Thoughts?

I've got mixed feelings about this. It sounds like a good idea, but I suspect that the complexity of the current codebase was frustrate efforts to give sensible guidance. I'm also reluctant to allow the requestor to frame the review at any meaningful level. I've seen too many examples of things getting missed exactly because the review was framed in that way. That said, these have all been of the 'let me talk you through it' variety.
What does everyone else think?