Incorrect fragment type using interfaces

Describe the bug
Schema:
interface Asset {
  id: String!
  name: String!
}

type File implements Asset {
  extension: String!
}

type Directory implements Asset {
  filesCount: Int!
}

Code:
const AssetFragment = graphql(`
  fragment AssetFragment on Asset {
    __typename
    id
    name
  }
`)

const FileFragment = graphql(`
  fragment FileFragment on File {
    extension
    ...AssetFragment
  }
`, [AssetFragment])

So, type of FileFragment will be:
TadaDocumentNode<{
  __typename: "Directory";
  id: string;
  name: string;
  extension: string;
} | {
  __typename: "File";
  id: string;
  name: string;
  extension: string;
}

Bug 1. In Directory type appears extension field, which exists only for File
Bug 2. In reality, Directory will never return from query using FileFragment, so type should be
TadaDocumentNode<{
  __typename: "File";
  id: string;
  name: string;
  extension: string;
}>

Reproduction
No response
gql.tada version
"gql.tada": "1.8.5"
Validations

[X] I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
[X] Read the docs.
[X] Follow our Code of Conduct

Sorry without a reproduction it'll sometimes take us a while to take a look. Please don't leave these out. Tests and/or sample projects speed this up tremendously, and without those, we're forced to deprioritise and find the time to investigate this from scratch ❤
I think an equivalent case is to create a fragment in the tests like:
    const fragment = graphql(`
      fragment Fields on ITodo @_unmask {
        __typename
        id
      }
    `);

    const subtypeFragment = graphql(`
      fragment SubFieldxs on SmallTodo {
        maxLength
        ...Fields
      }
    `, [fragment]);

Basically, there's nothing constraining the type of SmallTodo. Hence, when you include Fields, that interface widens it again. This can easily be fixed by including a __typename field on subtypeFragment (in your case on FileFragment)
We haven't really included a workaround for this, since it specifically only applies to this specific case in combination with using unmasked fragments.

Related to #102
Related to #100


NTR: miRNA base-pairing repressor activity

Please provide as much information as you can:

**Suggested term label:**miRNA base-pairing repressor activity

OR: miRNA inhibitor activity

Definition (free text) Stops, prevents or reduces the activity of a miRNA via direct binding and/or post-translational modification. A repressor activity that acts by base-pairing with a miRNA. The binding can result in targeting the miRNA for degradation, hence resulting in posttranscriptional gene silencing.

Reference, in format PMID:####### PMID:34454184

Gene product name and ID to be annotated to this term Homo-sapiens	MIAT	URS00007E4AF8_9606

Parent term(s)

is a child of GO:0035198 miRNA binding

is a child of GO:0140678 molecular function inhibitor activity

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

EXACT miRNA binding involved in posttranscriptional gene silencing

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information
see request https://github.com/geneontology/go-ontology/issues/23018 for positive regulation of lncRNA catabolism and
https://github.com/geneontology/go-ontology/issues/22441 for this MF term

Homo-sapiens	MIAT	URS00007E4AF8_9606 is a long noncoding RNA that binds to Homo-sapiens	hsa-miR-665
URS0000355E82_9606 and causes it to be degraded

I wonder, should we modify 'mRNA base-pairing post-transcriptional repressor activity' to just 'base-pairing post-transcriptional repressor activity'? Do we need to specify that the substrate is a mRNA, miRNA, etc?

that is a great idea ;) although it would mean that we will classify lncRNAs and miRNAs the same, but maybe this is OK. This review has a nice graphic (Figure 2) describing the various roles of lncRNAs https://www.nature.com/articles/s41556-019-0311-8
This suggests that lncRNAs can act in a similar way to miRs wrt binding mRNAs via Ago2 (fig 2m)
However in this review they have the miR and lncRNA interaction not associated with Ago2 (fig 2k), where as the article I was curating suggested the lncRNA and the miR were both associated with AGO2. I think this is well established based on this search https://pubmed.ncbi.nlm.nih.gov/?term=lncrna+miR+ago2. And the development of the RIP assay: RNA immunoprecipitation (RIP) assay: A Magna RIP RNA-Binding Protein Immunoprecipitation Kit (Millipore, USA) was used to determine the relationship between lncRNA BCRT1 and miR-1303. Antibodies used for the RIP assay included anti-AGO2 and control IgG (Millipore, USA), and the coprecipitated RNAs were used for cDNA synthesis and evaluated by qRT-PCR.
But if we use the BP term such as lncRNA-mediated gene silencing  (requested) that can include the miR as the target in the AE field then we could create the GO annotation for the lncRNA: base-pairing post-transcriptional repressor activity part of lncRNA-mediated gene silencing has input miR ID. (probably in the comments this needs to state that this term should be applied to lncRNAs and proteins associated with this process and not the target (miR or mRNA) of the process (I will add this to that ticket)
It would be good to have Helen and Giulia's input on this - I think the main objection is whether we want lncRNAs targeting miRs to be distinguished at the MF level from miRs targeting mRNAs.

However, looking at the two parents for mRNA base-pairing post-transcriptional repressor activitythis could be a problem, currently  the parents are
GO:0030371 translation repressor activity

is a GO:1903231 mRNA base-pairing post-transcriptional repressor activity

GO:0003729 mRNA binding

is a GO:1903231 mRNA base-pairing post-transcriptional repressor activity

These parents do not work for the lncRNA MF term would be:
GO:0035198 miRNA binding
GO:0140678 molecular function inhibitor activity
However, I think that GO:1903231 mRNA base-pairing post-transcriptional repressor activity should have the parent GO:0140678 molecular function inhibitor activity ;)
So perhaps we do need to miR base-pairing specific term
but have a grouping term too:
GO:0140678 molecular function inhibitor activity

NTR base-pairing post-transcriptional repressor activity

GO:1903231 mRNA base-pairing post-transcriptional repressor activity
NTR miRNA base-pairing post-transcriptional repressor activity
ADD is_a child GO:0030371 translation repressor activity
GO:1903231 mRNA base-pairing post-transcriptional repressor activity

GO:0003723 RNA binding

NTR base-pairing post-transcriptional repressor activity
GO:0003729 mRNA binding

GO:1903231 mRNA base-pairing post-transcriptional repressor activity
GO:0035198 miRNA binding
NTR miRNA base-pairing post-transcriptional repressor activity

BTW perhaps GO:0030371 translation repressor activity Definition: Antagonizes ribosome-mediated translation of mRNA into a polypeptide isn't the best parent for GO:1903231 mRNA base-pairing post-transcriptional repressor activity as I am not sure when the miR causes degradation it really 'antagonizes' the ribosome.
sorry about this

Hi @RLovering I am going to have a look at this now and try to engage my brain!

Yes and no ;) this is transcription the miR interaction is post-transcriptional. I have also started this ticket to try to think of the bigger lncRNA picture.
https://github.com/geneontology/go-ontology/issues/23028 but there is a lot to consider and I have only just done XIST

+[Term]
+id: GO:0140869
+name: miRNA inhibitor activity
+namespace: molecular_function
+namespace: Stops, prevents or reduces the activity of a miRNA via base-pairing, direct binding and/or post-translational modification. An example of this activity is mediated by long non-coding RNAs (lncRNAs). {xref="PMID:34454184"}
+synonym: "miRNA base-pairing repressor activity" NARROW []
+synonym: "miRNA binding involved in posttranscriptional gene silencing" EXACT []
+is_a: GO:0035198 ! miRNA binding
+is_a: GO:0140678 ! molecular function inhibitor activity
+created_by: pg
+creation_date: 2022-07-04T12:23:27Z


Upload summary contains all extensions in "Extensions added"

Even if I don't add any extension during the current upload, I see this:
CODE SETTINGS SYNC UPLOAD SUMMARY
Version: 3.1.2
--------------------
GitHub Token: ...
GitHub Gist: ...
GitHub Gist Type: Secret

Restarting Visual Studio Code may be required to apply color and file icon theme.
--------------------
Files Uploaded:
  extensions.json > extensions.json
  keybindings.json > keybindings.json
  launch.json > launch.json
  locale.json > locale.json
  settings.json > settings.json
  html.json > snippets|html.json
  typescript.json > snippets|typescript.json
  spellchecker.json > spellchecker.json

Extensions Ignored:
  No extensions ignored.

Extensions Removed:
  No extensions removed.

Extensions Added:
  auto-rename-tag v0.0.15
  code-settings-sync v3.1.2
  crane v0.3.8
  dotenv v1.0.1
  EditorConfig v0.12.4
  ...
--------------------
Done.

The "Extensions Added" section is confusing, IMO, as I didn't really add any extension to the list. In this specific example, I've only changed one value in settings.json.

The "Extensions Added" section is confusing. I've only changed one value in settings.json

Well, the scope would not be limited to extensions.
It should rather compare the remoate and local settings and show summary like ( for your case )
Files Updated:
settings.json > settings.json

Files Added:
None

Extensions Added:
None

Duplicate of #508


Where is my executable?

I am trying to use .NET Core + Ionide + VS Code + Fake + Paket on macOS High Sierra.
Using the project generator, I have created a Suave application. Ionide seems to have generated the appropriate files. After tweaking the TargetFramework to .NET Core, I can build successfully:
$ ./build.sh
...
Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:03.72
Finished Target: Build

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target             Duration
------             --------
Clean              00:00:00.0026904
InstallDotNetCLI   00:00:01.2292511
Restore            00:00:04.2731055
Build              00:00:07.1234434
Total:             00:00:12.7035334
---------------------------------------------------------------------
Status:            Ok
---------------------------------------------------------------------

There are now some files in Test/bin, but none of them are .exe, which is what I would expect as output from fsharpc.
This seems like a crazy question to have to ask, but where does Ionide + Fake put the output executable?

My project has OutputType executable:
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.0</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="Test.fs" />
  </ItemGroup>
  <Import Project="..\.paket\Paket.Restore.targets" />
</Project>

.Net Core compiles all projects (even executable applications) to .dll not .exe that can be run with dotnet PATH_TO_DLL. In the bin folder, in the subfolder for given framework target there should be file YOUR_PROJECT_NAME.dll that can be run with dotnet CLI.


Update Coopr firewall

Update functionality for Coopr firewall.

Support user control of iptables flush behavior - By default, iptables-restore will flush all iptables rules before applying its given ruleset. This will disable this feature and put flush control in the user's hands.
Accept traffic from Docker devices - Use ohai detected interface information and automatically ACCEPT traffic from any interface with type docker as it's always local.
Sort ports and hosts when writing out rules - Sort arrays before writing, so they're easier to read.

Also, disabling Style/PercentLiteralDelimiters cop, since different versions of Rubocop have different requirements and we cannot possibly meet both.

LGTM 👍


Long time solution for unique eui64 for DA15000.

Data for eui64 creation is taken from unique stamp,
provided during production and testing process of a chip.

Codecov Report

Merging #1378 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1378      +/-   ##
==========================================
+ Coverage   69.29%   69.31%   +0.01%
==========================================
  Files         171      171
  Lines       26881    26882       +1
  Branches     3385     3385
==========================================
+ Hits        18627    18632       +5
- Misses       6843     6845       +2
+ Partials     1411     1405       -6

Impacted Files
Coverage Δ

examples/platforms/posix/random.c
85% <ø> (-15%)
:x:

src/core/thread/mesh_forwarder.cpp
80.79% <ø> (-0.59%)
:x:

src/core/common/message.cpp
92.13% <ø> (-0.42%)
:x:

src/core/thread/mle_router.cpp
79.59% <ø> (-0.38%)
:x:

src/ncp/ncp_base.cpp
37.6% <ø> (-0.03%)
:x:

src/core/thread/mle.cpp
81.25% <ø> (ø)
:white_check_mark:

src/core/openthread.cpp
46.12% <ø> (+0.29%)
:white_check_mark:

src/core/thread/network_data_leader.cpp
80.59% <ø> (+0.49%)
:white_check_mark:

src/core/thread/lowpan.cpp
93.72% <ø> (+1.43%)
:white_check_mark:

src/core/thread/network_diagnostic.cpp
6.66% <ø> (+2.66%)
:white_check_mark:

... and 1 more

Continue to review full report at Codecov.

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


Compatibility with HorizontalPodAutoscaler

Since the autoscaling feature is in development, I attempted to autoscale the cluster manually. If the number of replicas are changed in the OpenSearchCluster configuration, the StatefulSets will work without issues since the operator directly controls them.
However, using k scale statefulset --replicas 10 -n opensearch-operator akarx-cluster-data the StatefulSets don't respond with a new number of replicas since the Operator resets them to the replicas value. Configuring a HorizontalPodAutoscaler also doesn't work because of these reasons. But if we have some scaling policies in the HPA to not decrease the number of Pods by a large amount, I think that should be allowed.
Here is how my HPA configuration looks like:
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
  name: opensearch-data-scaler
  namespace: opensearch-operator
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: StatefulSet
    name: akarx-cluster-data
  behavior:
    scaleDown:
      stabilizationWindowSeconds: 100
      policies:
        - type: Pods
          value: 1
          periodSeconds: 60
    scaleUp:
      policies:
        - type: Pods
          value: 2
          periodSeconds: 60
  minReplicas: 5
  maxReplicas: 10
  metrics:
    - type: Resource
      resource:
        name: cpu
        target:
          type: Utilization
          averageUtilization: 25

We can limit the scaleDown to allow only 1 Pod termination in a 60 second window. This will give time to the operator to rebalance the cluster.
Could you please guide me on how I can experiment with this feature in the Operator configuration, specifically which files would I need to change? Thanks for all the help!

Hey @akarX23
The behaviour of blocking manual changes of k8s resources is a known strategy that exist in order to prevent out of sync
CRD and keep the desired state in the k8s equal to the on inside of CRD configuration .
what that you can do it to implement your scaling logic (what that you already did) and instead of running k scale  to the STS, you can use k patch  to edit the CRD. build the command with the needed nodeGroup for scaling and the new amount of replicas .


Worcester State University

worcester.edu
486 Chandler St,
Worcester, MA 01602
https://catalog.worcester.edu/undergraduate/school-education-health-natural-sciences/computer-science/major-computer-science/#requirementstext

@pleszyk First stage of verification passed, official domain for Worcester State University is worcester.edu as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@pleszyk Pull request merged. Thank you.


[BUG] 生产环境 莫名其妙request获取为空

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Linux mall2 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
PHP 7.2.32 (cli) (built: Jul 15 2020 16:10:14) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
donjan-deng/hyperf-permission        2.0.0       hyperf权限管理组件
hyperf/async-queue                   v2.0.11     A async queue component for hyperf.
hyperf/cache                         v2.0.9      A cache component for hyperf.
hyperf/command                       v2.0.23     Command for hyperf
hyperf/config                        v2.0.9      An independent component that provides configuration container.
hyperf/constants                     v2.0.9      A constants component for hyperf.
hyperf/contract                      v2.0.13     The contracts of Hyperf.
hyperf/crontab                       v2.0.21     A crontab component for Hyperf.
hyperf/database                      v2.0.26     A flexible database library.
hyperf/db-connection                 v2.0.20     A hyperf db connection handler for hyperf/database.
hyperf/devtool                       v2.0.21     A Devtool for Hyperf.
hyperf/di                            v2.0.26     A DI for Hyperf.
hyperf/dispatcher                    v2.0.19     A HTTP Server for Hyperf.
hyperf/elasticsearch                 v2.0.10     Elasticsearch client for hyperf
hyperf/event                         v2.0.10     an event manager that implements PSR-14.
hyperf/exception-handler             v2.0.13     Exception handler for hyperf
hyperf/filesystem                    v2.0.11     flysystem integration for hyperf
hyperf/framework                     v2.0.11     A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/grpc                          v2.0.12     A GRPC basic library for Hyperf.
hyperf/grpc-client                   v2.0.16     A GRPC Client for Hyperf.
hyperf/grpc-server                   v2.0.11     A GRPC Server for Hyperf.
hyperf/guzzle                        v2.0.21     Swoole coroutine handler for guzzle
hyperf/http-message                  v2.0.24     microservice framework base on swoole
hyperf/http-server                   v2.0.24     A HTTP Server for Hyperf.
hyperf/logger                        v2.0.11     A logger component for hyperf.
hyperf/memory                        v2.0.12     An independent component that use to operate and manage memory.
hyperf/model-cache                   v2.0.23     A model cache component for hyperf.
hyperf/model-listener                v2.0.12     A model listener for Hyperf.
hyperf/paginator                     v2.0.17     A paginator component for hyperf.
hyperf/pool                          v2.0.12     An independent universal connection pool component.
hyperf/process                       v2.0.13     A process component for hyperf.
hyperf/redis                         v2.0.18     A redis component for hyperf.
hyperf/resource                      v2.0.0      A api resource component for hyperf.
hyperf/resource-grpc                 v2.0.0      A api resource component for hyperf grpc server.
hyperf/server                        v2.0.24     A base server library for Hyperf.
hyperf/testing                       v2.0.14     Testing for hyperf
hyperf/tracer                        v2.0.25     A open tracing system implemented for Hyperf or other coroutine framework
hyperf/translation                   v2.0.18     An independent translation component, forked by illuminate/translation.
hyperf/utils                         v2.0.25     A tools package that could help developer solved the problem quickly.
hyperf/validation                    v2.0.24     hyperf validation
hyperf/view                          v2.0.23     A view library for Hyperf.
hyperf/view-engine                   v2.0.22
hyperf/websocket-server              v2.0.22     A websocket server library for Hyperf.

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.6.6
Built => Jun 21 2021 11:17:29
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 1.0.2k-fips  26 Jan 2017
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.7
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
mysqlnd => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608

Description:
生产环境中突然一段时间，
`
$dispatched = $request->getAttribute(Dispatched::class);
$uri = $dispatched->handler->callback;
[$controller, $action] = explode('@', $uri);
`
$uri 这个值为空了，重新启动后又正常
Steps To Reproduce:
暂时无法重现，留个记录

这个问题不可能有的，除非你自己修改了callback


Update locale-tr.js

Asset settlement

Can we expect the translation to be updated today along with the web gui ?
Thanks
Have a great day !
Mithat Arslan
<EMAIL_ADDRESS>
On 25Nov, 2015, at 11:31 AM, Sigve Kvalsvik<EMAIL_ADDRESS>wrote:
Merged #532 https://github.com/cryptonomex/graphene-ui/pull/532.
—
Reply to this email directly or view it on GitHub https://github.com/cryptonomex/graphene-ui/pull/532#event-474285637.

Yes

Great, thanks.
Have a great day !
Mithat Arslan
<EMAIL_ADDRESS>
On 25Nov, 2015, at 11:36 AM, Sigve Kvalsvik<EMAIL_ADDRESS>wrote:
Yes
—
Reply to this email directly or view it on GitHub https://github.com/cryptonomex/graphene-ui/pull/532#issuecomment-159550202.


update stable deps

Coverage remained the same at 100.0% when pulling 73f691f66ae52416992c2ce8993d026f7a8ff7ca on update-dep into aaff5d7d7f77be1ed5a0a26f3b63aaa8a445cfad on master.


[Feature Request] Simulant Nicknames

Not a pressing matter lol but you can rename your player character, and I've always felt the natural evolution would be the ability to rename individual sims as well.

I must be imaging things, I swore this was a thing already, but trying it out on port and 1.1 rom it isn't.. I know you can do team names, but I was positive until now that you could rename sims lol

Would love the ability to do this.

This brought back a deep memory, I remember having the Prima strategy guide, I think it was bundled with the game or my parents bought it with the game, and in the guide it had a CS section, mostly about maps. But I distinctly remember it saying you can rename simulants, and I spent so long, and got super frustrated, trying to figure out how to rename them, until I realised that it must have been author error, or maybe the guide was written before the game was done and was about a preview build or something.


Detailed __repr__

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

What does this PR do?
Fixes #510.

[x] Updated TensorProxy's __repr__.
This resulted in updating prettyprint
[x] Updated Device's __repr__
make_tensor accepts thunder.devices.Device now!
[x] update dtype __repr__
[x] update executor __repr__

Potential Discussions

codeutils.py's prettyprint to handle TensorProxy x in dataclass
passing device.type for make_tensor
device indexing for cpu (do we allow cpu:0?) (related to _device_from_string_helper)
name of the __repr__

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
⚡

Thank you @k223kim !


('orm') hook fails on Raspian

Sails version: 0.12.13
Node version: 6.11.4
NPM version: 5.5.1
DB adapter name: sails-mysql
DB adapter version: 0.11.5
Operating system: Raspbian

I am running a sails application succesfully on a linux server where everything works as expected.  Now I am trying to get it to run on a raspberry pi for a client. Everything works until it tries to load the ORM hook.
It keeps saying something about waterlock-local-auth but I installed it multiple times and the files are present in the node_modules.
Also I am quite sure the application is able to connect to the database as there is a sessions table created in the database after i try to lift the app. I use express-mysql-session npm module for this.
attached is the stacktrace i get while trying to run the application
error: A hook (`orm`) failed to load!
error: A hook (`controllers`) failed to load!
error: `include-all` attempted to `require(/home/pi/dashboard/api/models/Attempt.js)`, but an error occurred::
Details:Error: Authentication method waterlock-local-auth could not be found.
Try running npm install waterlock-local-auth
    at Object._errorHandler (/home/pi/dashboard/node_modules/waterlock/lib/methods.js:109:19)
    at Object._handleObjects (/home/pi/dashboard/node_modules/waterlock/lib/methods.js:54:14)
    at Object.collect (/home/pi/dashboard/node_modules/waterlock/lib/methods.js:33:19)
    at new Waterlock (/home/pi/dashboard/node_modules/waterlock/lib/waterlock.js:19:50)
    at Object.<anonymous> (/home/pi/dashboard/node_modules/waterlock/lib/index.js:8:22)
    at Module._compile (module.js:570:32)
    at Module._extensions..js (module.js:579:10)
    at Object.require.extensions.(anonymous function) [as .js] (/home/pi/dashboard/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/pi/dashboard/node_modules/waterlock/index.js:6:18)
    at Module._compile (module.js:570:32)
    at Module._extensions..js (module.js:579:10)
    at Object.require.extensions.(anonymous function) [as .js] (/home/pi/dashboard/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)

Ok, fixed!

ok, fixed!

Hi @koraysels, not sure about this one.  Have you contacted the maintainers of Waterlock?

I now have the same problem trying to strat up on my macbook... :(

@sgress454 it seems like @sailsbot is removing the 3rd party module label... it shoudn't, even if new info added, right?

@luislobo ha, yeah, we need to make that one a different color...

@koraysels can you post a project sample? I could test it here on a RPi.


Add regexp support for fake provider

Is your feature request related to a problem? Please describe.
I am trying to use regexp to find keys but it is not compatible with Fake Provider.
Example:
apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
  name: css-fake
spec:
  provider:
    fake:
      data:
      - key: "nginx-dev-var1"
        value: "hello from nginx-dev-var1"
        version: "v1"
      - key: "nginx-dev-var2"
        value: "hello from nginx-dev-var2"
        version: "v1"
      - key: "nginx-pre-var1"
        value: "hello from nginx-pre-var1"
        version: "v1"
      - key: "/nginx/dev/var3"
        value: "hello from nginx-dev-var3"
        version: "v1"

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: es-nginx
spec:
  refreshInterval: 1h
  secretStoreRef:
    name: css-fake
    kind: ClusterSecretStore
  target:
    name: s-nginx
  dataFrom:
  - find:
      name:
        regexp: nginx-dev

I am getting this error:

could not get secret data from provider. GetAllSecrets not implemented.

Describe the solution you'd like
This should retrieve data from Fake provider keys. In this case:

nginx-dev-var1
nginx-dev-var2

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hmm, let me take a look to figure out what is going on

Hi, @joudaon 👋 Thank you for opening the issue!
I've added the support in https://github.com/external-secrets/external-secrets/pull/2844, and it should be included in the next release 🙂


Pod hangs when container in ContainerSet is OOM Killed

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
I have a container set with 2 pods. The first pod runs a script that results in it being OOM Killed. I expect the Pod and Workflow to fail at that point, but they just hang in the "Running" state until they reach their timeoutSeconds deadline.
I found this related issue https://github.com/argoproj/argo-workflows/issues/8680 but I am on 3.4.3 and still running into it.
I am using the emissary executor
Version
v3.4.3
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: example
  namespace: argo
  labels:
spec:
  automountServiceAccountToken: false
  dnsConfig:
    nameservers:
      - <IP_ADDRESS> # AWS VPC Default
      - <IP_ADDRESS> # CloudFlare
      - <IP_ADDRESS> # Google
  executor:
    serviceAccountName: "argo-workflow"
  templates:
    - name: entrypoint
      # max workflow duration https://argoproj.github.io/argo-workflows/fields/#workflowspec
      retryStrategy: # https://argoproj.github.io/argo-workflows/retries/
        limit: "3"
        retryPolicy: "OnTransientError"
      metadata:
      containerSet:
        containers:
          - name: one
            imagePullPolicy: Always
            resources:
              requests:
                memory: "50Mi"
                cpu: "50m"
              limits:
                memory: "50Mi"
            image: "ubuntu"
            command:
              - bash
              - '-c'
            args:
              - |
                /bin/bash <<'EOF'
                echo "hello one"
                apt update -y
                apt install stress -y
                echo 'stress --vm 1 --vm-bytes 512M --vm-hang 100' > abc.sh
                bash abc.sh
                EOF
          - name: two # if changing, update 'eks.amazonaws.com/skip-containers'
            imagePullPolicy: Always
            resources:
              requests:
                memory: "150Mi"
                cpu: "50m"
              limits:
                memory: "250Mi"
            image: "ubuntu"
            command:
              - bash
              - '-c'
            args:
              - |
                /bin/bash <<'EOF'
                echo "hello world"
                EOF
            dependencies:
              - one
  entrypoint: entrypoint

### Logs from the workflow controller

n/a

### Logs from in your workflow's wait container

time="2022-11-18T17:07:11.708Z" level=info msg="Starting Workflow Executor" version=v3.4.3
time="2022-11-18T17:07:11.711Z" level=info msg="Using executor retry strategy" Duration=1s Factor=1.6 Jitter=0.5 Steps=5
time="2022-11-18T17:07:11.711Z" level=info msg="Executor initialized" deadline="0001-01-01 00:00:00 +0000 UTC" includeScriptOutput=false namespace=argo podName=postman-test-fxd4q-entrypoint-1784721547 template="templatehere"
time="2022-11-18T17:07:11.712Z" level=info msg="Starting deadline monitor"

Looking at the controller logs, I can see that it detects the container was killed, but the Pod and Workflow remain in the "Running" phase.
time="2022-11-20T16:42:43.766Z" level=info msg="node postman-test-h2r44-49770529 phase Running -> Failed" namespace=argo workflow=postman-test-h2r44
time="2022-11-20T16:42:43.766Z" level=info msg="node postman-test-h2r44-49770529 message: OOMKilled (exit code 137): " namespace=argo workflow=postman-test-h2r44
time="2022-11-20T16:42:43.767Z" level=info msg="node postman-test-h2r44-49770529 finished: 2022-11-20 16:42:43.76700631 +0000 UTC" namespace=argo workflow=postman-test-h2r44
time="2022-11-20T16:42:43.767Z" level=info msg="node unchanged" namespace=argo nodeID=postman-test-h2r44-1403540372 workflow=postman-test-h2r44
time="2022-11-20T16:42:43.767Z" level=debug msg="Evaluating node postman-test-h2r44: template: *v1alpha1.WorkflowStep (entrypoint), boundaryID: " namespace=argo workflow=postman-test-h2r44

(workflow name is different from the example I shared)
more relevant log lines
time="2022-11-20T16:42:43.770Z" level=debug msg="Log changes patch: {\"status\":{\"conditions\":[{\"status\":\"False\",\"type\":\"PodRunning\"}],\"nodes\":{\"postman-test-h2r44-49770529\":{\"finishedAt\":\"2022-11-20T16:42:43Z\",\"message\":\"OOMKilled (exit code 137): \",\"phase\":\"Failed\"}}}}"
time="2022-11-20T16:42:43.770Z" level=info msg="Workflow to be dehydrated" Workflow Size=11223
time="2022-11-20T16:42:43.790Z" level=info msg="Update workflows 200"
time="2022-11-20T16:42:43.794Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=44830908 workflow=postman-test-h2r44
time="2022-11-20T16:42:43.797Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"postman-test-h2r44\", UID:\"72c7ca6b-3e25-4bbd-88f4-2c5b82af521b\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"44830908\", FieldPath:\"\"}): type: 'Warning' reason: 'WorkflowNodeFailed' Failed node postman-test-h2r44(0).init-application: OOMKilled (exit code 137): "
time="2022-11-20T16:42:43.806Z" level=info msg="Create events 201"
t```

This issue is still happening

@rajaie-sg Do you like to submit PR for this issue?

Hi @sarabala1979 , it looks like there was a fix for this issue but it was reverted at some point? https://github.com/argoproj/argo-workflows/issues/8456#issuecomment-1346749447

This is still an issue

I've noticed this same issue on v3.4.7 using the emissary executor

@RyanDevlin can you please attach a workflow to repro this issue?

I think there are two issues;

Wrong condition for killing containers means a container-set does not get killed.
Signal is only sent to process, to process group.


Don't spam callback URL with Progress callbacks

Currently we send one after every transcoded segment, but should figure out a way to do 1 every X seconds.
@victorges suggested:

you could probably copy 100% of this progress reporter from the task-runner (we could move it to some shared utils lib at some point)
https://github.com/livepeer/task-runner/blob/13db95e3b5c784119d200629e443a32349d899d4/task/progress.go#L35
actually, would only need to change what it does when it "sends a progress update" here
https://github.com/livepeer/task-runner/blob/13db95e3b5c784119d200629e443a32349d899d4/task/progress.go#L115

Closed by #218
cc @thomshutt


SplitButton doesn't respect *ContentAlignment

Describe the bug
The default SplitButton XAML doesn't TemplateBind the HorizontalContentAlignment & VerticalContentAlignment properties to it's "PrimaryButton" component, effectively ignoring them.
Steps to reproduce the bug

Apply HorizontalContentAlignment & VerticalContentAlignment to SplitButton, nothing changes

Expected behavior

Properties should template bind down to the primary button

Sounds very similar to #203, and I expect the fix would be similar. @JohnnyWestlake do you want to take a crack at the fix? :)


Exploration Mode Improvements

As a player I would like to better explore the environment and interact with it.
 For that, I would like to have an automatic elevator to move the car to an upper level.
Acceptance criteria:

 car is moved without falling down and placed on the upper platform in position, facing the race track forwards.
- the action is performed within 10 seconds of requesting it by the player.
- the movements and design of the elevator are coherent with its function.

Encountered some technical issues with this user story. The emulator doesn't support upwards or downwards movements of the car controlled by Arduino, so the options are: 1) make an emulator variant for our group, 2) negotiate with the original feature specification in order to bypas coding the upward or downward movement in Arduino.

Updated the user story to be more in line with the demands of the stakeholders

@restless-learner the vehicle modding that you did actually goes into Finish Line detection issue. It would be great if you created a pull request mentioning that issue.

Make sure to add this  (without the space , should be "del" or "DEL")  to the part that will not be done
 example of  how it should look
so that this issue can be closed and the acceptance criteria can be checked in the DoD

The elevator feature was not implemented since there was no good way to do it with actual coding and we are not interested in other avenues for now.


Fix Doc Typos

While reading docs, fixed a few typos/syntax and a bad link.
Not worth a new release.  I'm sorry if I come off as a "Linter" (no impact beyond spellcheck) but it stands out to me and this may be what little I can contribute :)

Thanks for the fixes!


https://newsroom.spotify.com/news/

https://newsroom.spotify.com/news/
https://music.apple.com/us/playlist/new-music-daily/pl.2b0e6e332fdf4b7a91164da3162127b5
https://open.spotify.com/playlist/37i9dQZF1DX0XUsuxWHRQd?si=ajg4dhXdQiiI2qSL-Ke3kA&pi=u-X9D_Zrd5RN2o
https://www.tunemymusic.com/share/575LiT9sxh
Originally posted by @Freemoneys31 in https://github.com/hmlON/mun/issues/12
Originally posted by @Freemoneys31 in https://github.com/hmlON/mun/issues/13

The Objective is for “Apple Music Artist “Patek Nuk” NEW RELEASE “Now Or Never” Ep to appear With “Apple Music New Release”

https://newsroom.spotify.com/news/
https://music.apple.com/us/playlist/new-music-daily/pl.2b0e6e332fdf4b7a91164da3162127b5
https://open.spotify.com/playlist/37i9dQZF1DX0XUsuxWHRQd?si=ajg4dhXdQiiI2qSL-Ke3kA&pi=u-X9D_Zrd5RN2o
https://www.tunemymusic.com/share/575LiT9sxh
Originally posted by @Freemoneys31 in https://github.com/hmlON/mun/issues/12
Originally posted by @Freemoneys31 in https://github.com/hmlON/mun/issues/13

https://newsroom.spotify.com/news/
https://music.apple.com/us/playlist/new-music-daily/pl.2b0e6e332fdf4b7a91164da3162127b5
https://open.spotify.com/playlist/37i9dQZF1DX0XUsuxWHRQd?si=ajg4dhXdQiiI2qSL-Ke3kA&pi=u-X9D_Zrd5RN2o
https://www.tunemymusic.com/share/575LiT9sxh


series.render is required

Version
5.0.2
Steps to reproduce
After using the V5 version. Custom content of type= "custom" will report an error
{
barWidth: 14
color: {type: "linear", x: 0, y: 0, x2: 0, y2: 1, …}
data:  [{…}, {…}, {…}, {…}, {…}, {…}, {…}]
degree: 1
index: 2
item: {name: "Rate", label: "完成率", type: "none", color: {…}, degree: 1, …}
label: "完成率"
name: "完成率"
type: "custom"
unit: "%"
yAxisIndex: 0
}
What is expected?
Can't find out what's wrong and hope you can help
What is actually happening?
Uncaught Error: series.render is required.

https://echarts.apache.org/en/option.html#series-custom.renderItem is required.

Thank you very much for your reply and let me know what the problem is. My problem has been solved. Please close this issue

你好，能说一下是咋改的么
could you please introduce how to solve this problem?
I met this problem


language props should not be required

language props should be optional.
I can submit a PR if needed.
Ge

Probably better to just submit one next time for something so small. But sure. 1.0.3 makes the prop optional.


Union type defaultable params with a float member type and float literal identified as string

Description:
After the introduction of decimal types (PR: https://github.com/ballerina-platform/ballerina-lang/pull/11034), union type defaultable parameter with a float member type that has a floating point literal is identified as string. Check the below code.
public function main() {
    testDefaultableParams(20); // Output: string
}

function testDefaultableParams(int | float baseSalary = 545.45,
                               decimal annualIncrement,
                               float | string bonusRate = 6.56) {
    if bonusRate is float {
        io:println("float");
    } else if bonusRate is string {
        io:println("string");
    }
}

Suggested Labels (optional):
Component/Compiler, Type/Bug
Suggested Assignees (optional):
Pranavan

Fixed by the above-referenced PR.


Spyder not detecting installed libraries in virtualenv, but showing in pip freeze

Hi @ccordoba12  ,
I am getting same Error in Spyder Ipython console.
I have installed Spyder using PIP and created a virtualenvironment and istalled sklearn , pandas, numpy, Django and django_restframework in virtualenv,
I have checked python versions in virtualenv created by runing query

python -c  "import sys;print(sys.executable)"
C:\Users\Jyothi\AppData\Local\Programs\Python\Python38-32\Scripts\spyder3.exe

it gives python console that is being run in the environment
now i opened spyder and changed the default spyder's python console to above python.exe in virtual environment as below

Preferences > Python Interpreter > Use the following interpreter

Later checked what all libraries are available in spyder now using
pip freeze.
asgiref==3.2.7Note: you may need to restart the kernel to use updated packages.
backcall==0.1.0
cloudpickle==1.4.1
colorama==0.4.3
decorator==4.4.2
Django==3.0.5

djangorestframework==3.11.0
gunicorn==20.0.4
ipykernel==5.2.1
ipython==7.13.0
ipython-genutils==0.2.0
jedi==0.17.0
joblib==0.14.1
jupyter-client==6.1.3
jupyter-core==4.6.3
numpy==1.18.3
parso==0.7.0
pickleshare==0.7.5
prompt-toolkit==3.0.5
psycopg2==2.8.4
Pygments==2.6.1
python-dateutil==2.8.1
pytz==2019.3
pywin32==227
pyzmq==19.0.0
scikit-learn==0.22.2.post1
scipy==1.4.1
six==1.14.0
sklearn==0.0
spyder-kernels==1.9.0
sqlparse==0.3.1
tornado==6.0.4
traitlets==4.3.3
wcwidth==0.1.9

packages and libraries i have installed in my virtual environment are all available in Spyder Ipython console
when i checked
import pandas as pd
Traceback (most recent call last):
  File "<ipython-input-1-7dd3504c366f>", line 1, in <module>
ModuleNotFoundError: No module named 'pandas'
I have even restarted the kernel multiple time, still the same error
How to run/open spyder with created virtualenv in django ?
please help me

Originally posted by @waageesh in https://github.com/spyder-ide/spyder/issues/7867#issuecomment-621912972

Issue has been solved,
I thought Pandas would be installed along with sklearn when we install
pip install sklearn
I installed pandas again and its working now in spyder

Hi, I have all the required libraries (i.e.: tensorflow) installed via pip in my virtual environment. But it is not being loaded and showing the same error and not importing tensorflow even though I can see it installed in pip list

Hi, I have all the required libraries (i.e.: tensorflow) installed via pip in my virtual environment. But it is not being loaded and showing the same error and not importing tensorflow even though I can see it installed in pip list

Try pip install tensorflow in spyder console itself, and try importing tensorflow

Hi, I actually did pip install tensorflow at the first place. Anyways, it works fine now, but for some unknown reason I couldn't find tensorflow installed in my new environment this time. So I reinstalled using pip, now it's working fine.


Would it be possible for VS Code Insiders to get the release notes for the next version of VS Code?

Four or five releases ago, VS Code Insiders could get the release notes as soon as they were written, but not anymore.
This could help test new features and report bugs before the next release of VS Code.

Version: 1.71.0-insider (system setup)
Commit: 16faaf4eb07424d5d7dba7d12bffd64309c283f7
Date: 2022-08-29T15:22:42.368Z
OS: Windows_NT x64 10.0.19044

FYI you can read them before publication by viewing the corresponding file at https://github.com/Microsoft/vscode-docs/blob/vnext/release-notes/

Not only does the VS Code Insider not receive the release notes of the next stable release in advance, but also not when the VS Code is released. Therefore, VS Code Insiders unfortunately never lists new features.

We had been manually creating snapshots of the vnext release notes for Insiders but that practice dropped off several months back. We can bring back that practice, which watched for significant updates to the vnext release notes and ported them to main to go live and be available for Insiders.
Note that at the beginning of a release cycle, the vnext release notes are still just a placeholder until engineers start filling in the release notes towards the end of the milestone.

@gregvanl maybe add to the Insiders placeholder text a link to https://code.visualstudio.com/updates as a convenient way for Insiders users to get to the same information as they'd see in Help\Release Notes if they were using Stable.

Add link to website release notes in the latest placeholder with https://github.com/microsoft/vscode-docs/commit/9afb1a076b19734f442b863fc586153dd208c6cb
We did a snapshot for Insiders on Monday of this last release week and we'll try to be better at creating snapshots once the release notes are filled in. The VS Code team does a release notes read through on the Monday of the release week so that is when the release notes should be finally complete and available.
As pointed out above, people can always read the release notes in the vscode-docs vnext branch independent of having them available in-product on Insiders.


Add support for GitHub Enterprise

When scanning single repositories it's possible to provide a custom URL to a GitHub Enterprise instance, however when running the Org/User scan the tool assumes the public GitHub instance.
It would be create to have an option like "Base GitHub URL" to override this to support GitHub Enterprise deployments.

use the --private flag for org/user scans

Thanks @zricethezav, but that would only cover private repos at GitHub.com. I meant GitHub Enterprise which companies use to host GitHub on their own domain, for example like github.example.com.
In order to support that this part needs to be optional:
https://github.com/zricethezav/gitleaks/blob/master/main.go#L512
and have support for:
https://godoc.org/github.com/google/go-github/github#NewEnterpriseClient
I might be able to find time to make a PR for this if you want.

That would be swell. There are some issues I need to tackle before taking a crack at this

Submitted #85 yesterday that implements this.


Is there a way to get line-level annotations?

I observed that word and character level annotations are supported, but is there a way to get line level annotations, for example all the words on a single line are annotated in a single bounding box  ?

I observed that word and character level annotations are supported, but is there a way to get line level annotations, for example all the words on a single line are annotated in a single bounding box ?

Did you find any way to do that?


NPE: Tesselating block model (1.15.2)

Minecraft version: 1.15.2
Forge version: 31.2.36
Optifine version: 1.15.2_HD_U_G1_pre30
GPU: MSI Radeon RX 580 ARMOR OC (4GB)
I was placing down some polished stone slabs to extend a new bridge to an abandoned city (lost cities mod) when the game crashed to desktop.
The crash was consistent for that particular chunk in subsequent attempts to finish the bridge. The one time the crash didn't happen was when I had disabled Optifine, but that does not necessarily mean anything yet.
I did collect the crash report, and here it is. I also wonder if my java arguments might be messing with things a little.
---- Minecraft Crash Report ----
// Don't do that.
Time: 8/26/20 1:37 PM
Description: Tesselating block model
java.lang.NullPointerException: Tesselating block model
at net.optifine.render.RenderEnv.isBreakingAnimation(RenderEnv.java:157) ~[?:?] {re:classloading}
at net.optifine.model.BlockModelCustomizer.getRenderQuads(BlockModelCustomizer.java:54) ~[?:?] {re:classloading}
at net.minecraft.client.renderer.BlockModelRenderer.renderModelSmooth(BlockModelRenderer.java:145) ~[?:?] {re:classloading,xf:OptiFine:default}
at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.renderModelSmooth(ForgeBlockModelRenderer.java:89) ~[?:?] {re:classloading}
at net.minecraft.client.renderer.BlockModelRenderer.renderModel(BlockModelRenderer.java:101) ~[?:?] {re:classloading,xf:OptiFine:default}
at net.minecraft.client.renderer.BlockRendererDispatcher.renderModel(BlockRendererDispatcher.java:82) ~[?:?] {re:classloading,xf:OptiFine:default}
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher$ChunkRender$RebuildTask.func_228940_a_(ChunkRenderDispatcher.java:877) ~[?:?] {re:classloading,xf:OptiFine:default}
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher$ChunkRender$RebuildTask.func_225618_a_(ChunkRenderDispatcher.java:711) ~[?:?] {re:classloading,xf:OptiFine:default}
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.lambda$runTask$1(ChunkRenderDispatcher.java:180) ~[?:?] {re:classloading,xf:OptiFine:default}
at java.util.concurrent.CompletableFuture.uniCompose(Unknown Source) ~[?:1.8.0_211] {}
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(Unknown Source) ~[?:1.8.0_211] {}
at java.util.concurrent.CompletableFuture.uniComposeStage(Unknown Source) ~[?:1.8.0_211] {}
at java.util.concurrent.CompletableFuture.thenCompose(Unknown Source) ~[?:1.8.0_211] {}
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.func_228909_h_(ChunkRenderDispatcher.java:178) ~[?:?] {re:classloading,xf:OptiFine:default}
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.lambda$schedule$4(ChunkRenderDispatcher.java:252) ~[?:?] {re:classloading,xf:OptiFine:default}
at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213148_e(SourceFile:83) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213145_a(SourceFile:123) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.DelegatedTaskExecutor.run(SourceFile:91) ~[?:?] {re:classloading}
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source) ~[?:1.8.0_211] {}
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_211] {}
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_211] {}
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_211] {}
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_211] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at net.optifine.render.RenderEnv.isBreakingAnimation(RenderEnv.java:157)
at net.optifine.model.BlockModelCustomizer.getRenderQuads(BlockModelCustomizer.java:54)
at net.minecraft.client.renderer.BlockModelRenderer.renderModelSmooth(BlockModelRenderer.java:145)
at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.renderModelSmooth(ForgeBlockModelRenderer.java:89)
-- Block model being tesselated --
Details:
Block: Block{doubleslabs:double_slab}
Block location: World: (1160,71,965), Chunk: (at 8,4,5 in 72,60; contains blocks 1152,0,960 to 1167,255,975), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Using AO: true
Stacktrace:
at net.minecraft.client.renderer.BlockModelRenderer.renderModel(BlockModelRenderer.java:101)
-- Block being tesselated --
Details:
Block: Block{doubleslabs:double_slab}
Block location: World: (1160,71,965), Chunk: (at 8,4,5 in 72,60; contains blocks 1152,0,960 to 1167,255,975), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Stacktrace:
at net.minecraft.client.renderer.BlockRendererDispatcher.renderModel(BlockRendererDispatcher.java:82)
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher$ChunkRender$RebuildTask.func_228940_a_(ChunkRenderDispatcher.java:877)
-- Affected level --
Details:
All players: 1 total; [ClientPlayerEntity['FPCAFox'/35, l='MpServer', x=1161.50, y=73.28, z=955.49]]
Chunk stats: Client Chunk Cache: 441, 240
Level dimension: DimensionType{minecraft:overworld}
Level name: MpServer
Level seed: -170274042140503633
Level generator: ID 07 - biomesoplenty, ver 0. Features enabled: false
Level generator options: {}
Level spawn location: World: (-38,63,191), Chunk: (at 10,3,15 in -3,11; contains blocks -48,0,176 to -33,255,191), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 41147 game time, 41147 day time
Known server brands:
Level was modded: false
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Server brand: forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:611)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:1763)
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.lambda$runTask$3(ChunkRenderDispatcher.java:186)
at java.util.concurrent.CompletableFuture.uniWhenComplete(Unknown Source)
at java.util.concurrent.CompletableFuture.uniWhenCompleteStage(Unknown Source)
at java.util.concurrent.CompletableFuture.whenComplete(Unknown Source)
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.func_228909_h_(ChunkRenderDispatcher.java:181)
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.lambda$schedule$4(ChunkRenderDispatcher.java:252)
at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213148_e(SourceFile:83)
at net.minecraft.util.concurrent.DelegatedTaskExecutor.func_213145_a(SourceFile:123)
at net.minecraft.util.concurrent.DelegatedTaskExecutor.run(SourceFile:91)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.15.2
Minecraft Version ID: 1.15.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_211, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory:<PHONE_NUMBER> bytes (1993 MB) /<PHONE_NUMBER> bytes (4839 MB) up to<PHONE_NUMBER>2 bytes (10137 MB)
CPUs: 12
JVM Flags: 26 total; -Xmn1024m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10 -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms1024m -Xmx10240m
ModLauncher: 5.1.2+70+master.2845bb9
ModLauncher launch target: fmlclient
ModLauncher naming: srg
ModLauncher services:
/eventbus-2.2.0-service.jar eventbus PLUGINSERVICE
/forge-1.15.2-31.2.36-launcher.jar object_holder_definalize PLUGINSERVICE
/forge-1.15.2-31.2.36-launcher.jar runtime_enum_extender PLUGINSERVICE
/accesstransformers-2.1.3-shadowed.jar accesstransformer PLUGINSERVICE
/forge-1.15.2-31.2.36-launcher.jar capability_inject_definalize PLUGINSERVICE
/forge-1.15.2-31.2.36-launcher.jar runtimedistcleaner PLUGINSERVICE
/preview_OptiFine_1.15.2_HD_U_G1_pre30.jar OptiFine TRANSFORMATIONSERVICE
/forge-1.15.2-31.2.36-launcher.jar fml TRANSFORMATIONSERVICE
/MixinBootstrap-1.0.3.jar mixinbootstrap TRANSFORMATIONSERVICE
/MixinBootstrap-1.0.3.jar mixin PLUGINSERVICE
/MixinBootstrap-1.0.3.jar mixinbootstrap PLUGINSERVICE
FML: 31.2
Forge: net.minecraftforge:31.2.36
FML Language Providers:
<EMAIL_ADDRESS>minecraft@1
<EMAIL_ADDRESS>Mod List:
tetra-1.15.2-2.18.1.jar Tetra<EMAIL_ADDRESS>DONE}
SaveMyStronghold-1.15.2-1.0.1.jar Save My Stronghold<EMAIL_ADDRESS>DONE}
QuarkOddities-1.15.2.jar Quark Oddities<EMAIL_ADDRESS>DONE}
foodexpansion-1.5.3.jar Food Expansion: Reimagined<EMAIL_ADDRESS>DONE}
SimplyJetpacks2-1.15.2-<IP_ADDRESS>.jar Simply Jetpacks 2<EMAIL_ADDRESS>DONE}
Cucumber-1.15.2-3.0.9.jar Cucumber Library<EMAIL_ADDRESS>DONE}
pamhc2trees-1.15.2-1.0.7.jar Pam's HarvestCraft 2 Fruit Trees {pamhc2trees@version DONE}
jei-1.15.2-<IP_ADDRESS>.jar Just Enough Items<EMAIL_ADDRESS>DONE}
futuremc-1.15.2-1.0.1.jar Future MC<EMAIL_ADDRESS>DONE}
lithium-mc1.15.2-forge-0.4.6-rc3-mod.jar Lithium<EMAIL_ADDRESS>DONE}
FallingTree-1.15.2-2.2.1.jar Falling Tree<EMAIL_ADDRESS>DONE}
tesseract-1.0.11-mc1.15.jar Tesseract<EMAIL_ADDRESS>DONE}
extrabows-v1.15.2+b2.jar Extra Bows<EMAIL_ADDRESS>b2 DONE}
BetterCaves-1.15.2-1.0.jar YUNG's Better Caves<EMAIL_ADDRESS>DONE}
Waystones_1.15.2-6.0.2.jar Waystones<EMAIL_ADDRESS>DONE}
TerraForged-1.15.2-0.1.2.jar TerraForged<EMAIL_ADDRESS>DONE}
RingOfRepair-1.15.2-1.1.33.jar Ring of Repair<EMAIL_ADDRESS>DONE}
mgui-1.15.2-2.1.1.jar mgui<EMAIL_ADDRESS>DONE}
CTM-MC1.15.2-<IP_ADDRESS>.jar ConnectedTexturesMod<EMAIL_ADDRESS>DONE}
CookingForBlockheads_1.15.2-8.0.3.jar Cooking for Blockheads<EMAIL_ADDRESS>DONE}
comforts-FORGE-1.15.2-<IP_ADDRESS>.jar Comforts<EMAIL_ADDRESS>DONE}
TravelersBackpack-1.15.2-4.0.7.jar Traveler's Backpack<EMAIL_ADDRESS>DONE}
SimpleStorageNetwork-1.15.2-1.0.1.jar Simple Storage Network<EMAIL_ADDRESS>DONE}
culinaryconstruct-FORGE-1.15.2-<IP_ADDRESS>.jar Culinary Construct<EMAIL_ADDRESS>DONE}
betteranimalsplus-1.15.2-<IP_ADDRESS>.jar Better Animals Plus<EMAIL_ADDRESS>DONE}
Reliquary-1.15.2-<IP_ADDRESS>5.jar Reliquary<EMAIL_ADDRESS>DONE}
endercompass-2.1.jar Ender Compass<EMAIL_ADDRESS>DONE}
BetterThanMending-1.4.0.jar BetterThanMending<EMAIL_ADDRESS>DONE}
forge-1.15.2-31.2.36-universal.jar Forge<EMAIL_ADDRESS>DONE}
Atum-1.15.2-2.1.4.jar Atum 2<EMAIL_ADDRESS>DONE}
MysticalAgradditions-1.15.2-3.0.1.jar Mystical Agradditions<EMAIL_ADDRESS>DONE}
MysticalAgriculture-1.15.2-3.0.10.jar Mystical Agriculture<EMAIL_ADDRESS>DONE}
forge-1.15.2-31.2.36-client.jar Minecraft<EMAIL_ADDRESS>DONE}
theoneprobe-1.15-2.0.7.jar The One Probe<EMAIL_ADDRESS>DONE}
ImmersiveEngineering-1.15.2-3.2.0-114.jar Immersive Engineering<EMAIL_ADDRESS>DONE}
BiomesOPlenty-1.15.2-<IP_ADDRESS>6-universal.jar Biomes O' Plenty<EMAIL_ADDRESS>DONE}
phosphor-forge-mc1.15.2-0.5.2+build.4.jar Phosphor<EMAIL_ADDRESS>DONE}
baubles-1.7.1-1.15.2.jar Baubles<EMAIL_ADDRESS>DONE}
pamhc2crops-1.15.2-1.0.5.jar Pam's HarvestCraft 2 Crops {pamhc2crops@version DONE}
Futurepack-1.15.2-20.1.0.jar Futurepack<EMAIL_ADDRESS>DONE}
towers_of_the_wild-1.15.2-1.2.0.jar Towers Of the Wild<EMAIL_ADDRESS>DONE}
pamhc2foodcore-1.15.2-1.0.9.jar Pam's HarvestCraft 2 Food Core {pamhc2foodcore@version DONE}
RingOfMiner-1.15.2-1.1.31.jar Ring of Miner<EMAIL_ADDRESS>DONE}
AutoRegLib-1.5-40.jar AutoRegLib<EMAIL_ADDRESS>DONE}
Quark-r2.1-245.jar Quark<EMAIL_ADDRESS>DONE}
StorageDrawers-1.15.2-7.0.2.jar Storage Drawers<EMAIL_ADDRESS>DONE}
DoubleSlabs-1.15-2.10.0.jar Double Slabs<EMAIL_ADDRESS>DONE}
lostcities-1.15-3.0.1-alpha.jar LostCities<EMAIL_ADDRESS>DONE}
libnonymous-1.15.2-<IP_ADDRESS>.jar Libnonymous<EMAIL_ADDRESS>DONE}
expandedstorage-2.0.0+1.15.2.jar Expanded Storage<EMAIL_ADDRESS>DONE}
worldedit-forge-mc1.15.2-7.1.0.jar WorldEdit {worldedit@7.1.0;48cc31c DONE}
AppleSkin-mc1.15.2-forge-1.0.14.jar AppleSkin<EMAIL_ADDRESS>DONE}
engineersdecor-1.15.2-1.1.2.jar Engineer's Decor<EMAIL_ADDRESS>DONE}
moreoverlays-1.17.5-mc1.15.2.jar More Overlays Updated<EMAIL_ADDRESS>DONE}
forgemod_VoxelMap-1.9.28_for_1.15.2.jar VoxelMap<EMAIL_ADDRESS>DONE}
SolarGeneration-1.15.2-1.2.2.jar Solar Generation<EMAIL_ADDRESS>DONE}
FastLeafDecay-v22.jar FastLeafDecay {fastleafdecay@v22 DONE}
BetterMineshaftsForge-1.15.2-1.3.1.jar YUNG's Better Mineshafts<EMAIL_ADDRESS>DONE}
Launched Version: MultiMC5
Backend library: LWJGL version 3.2.2 build 10
Backend API: ERROR IllegalStateException: Rendersystem called from wrong thread
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
Resource Packs: vanilla, mod_resources
Current Language: English (US)
CPU: 12x AMD Ryzen 5 1600X Six-Core Processor
OptiFine Version: OptiFine_1.15.2_HD_U_G1_pre30
OptiFine Build: 20200622-083032
Render Distance Chunks: 8
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 4.6.13587 Compatibility Profile Context 20.4.1 26.20.15029.20013
OpenGlRenderer: Radeon RX 580 Series
OpenGlVendor: ATI Technologies Inc.
CpuCount: 12
[m [32m[13:37:20] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:func_179870_a:103]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Mark McCloud\AppData\Roaming.minecraft\MultiMC\instances\Vanilla 1.15.2.minecraft\crash-reports\crash-2020-08-26_13.37.20-client.txt
[mSaving all world maps [32m[13:37:20] [Server thread/INFO] [st.si.SimplyJetpacks/]: Server stopping...
[m [32m[13:37:20] [Server thread/INFO] [co.sk.wo.ex.pl.PlatformManager/]: Unregistering com.sk89q.worldedit.forge.ForgePlatform from WorldEdit
[m.
AL lib: (EE) alc_cleanup: 1 device not closed.

Disabling tessellation for javaw (aka "the game") through the Radeon Software panel does not resolve the issue.
Disabling Optifine obviously resolves the crash.

Further investigation suggests that this may have been triggered by Optifine 1.15.2_HD_U_G1_pre30 not having support for Forge versions newer than 31.2.21.
So it is either disable Optifine, disable Double Slabs, or run an older version of Forge and disable any mods that aren't compatible with said older forge version.

Can you try this in the latest version please?

Can you try this in the latest version please?

So far so good. I'll continue tests on and off to see if it is truly resolved.


[Feature] If I never used LNURL login on a site that is on websites list, shouldn't show Enable website login option

Describe the bug
I have on websites list sites that I never logged in or that don't even have LNURL login option, but if I click on it, I see the Enable website login option.
Steps To Reproduce

Go to websites list, click on a site that has no lnurl login and click on edit allowance.

Expected behavior
Sites on my websites list, that I never logged in, shouldn't show the Enable website login option.
Alby information
Alby > 1.20

Currently we do not know which site is supporting lnurlAuth.
Every website is being saved with lnurlAuth: false till it's used and switched to true.
If this is wanted I guess it would be possible to set a one time flag like hasSupportLnurlAuth which will be set if auth is being used ever and only after then we would show the toggle in the allowance.


Made the examples consistent

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

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

What is the current behavior? (You can also link to an open issue here)
Incorrect reference of compiled extension in the example:
require("html!./file.html");

// => '<img src="http://cdn.example.com/49eba9f/a992ca.jpg"
//         data-src="image2x.png">'

What is the new behavior?
Corrected the extension to png/
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Discussion about this can be seen at #82.

Current coverage is 96.62% (diff: 100%)

Merging #86 into master will not change coverage

@@             master        #86   diff @@
==========================================
  Files             2          2
  Lines            89         89
  Methods          11         11
  Messages          0          0
  Branches         15         15
==========================================
  Hits             86         86
  Misses            3          3
  Partials          0          0

Powered by Codecov. Last update a5fe53a...76f150b


IBA::deep_holdout -- fix bug when channels didn't match

deep_holdout() was crashing when the holdout image had more channels
than the input image. It was improper to rely on IBAPrep's default behavior
of setting the result channels to the maximum of the channels in any of
the input images. In this case, we want to force it to match the "shape"
of just the first (source) input, not the second input that only serves
to act as the depth holdout.
While I was there, though, I tightened up the logic of how IBAPrep deals
with the force_spec parameter, and also made that parameter a const ptr,
as it always should have been.

This PR is on hold -- we realized that what I implemented doesn't actually do the right thing.
I'm going to rename what I implemented deep_cull() since what it does is simply drop samples in the source images that are beyond the opaque threshold of the holdout image, without modifying any other samples. Holdout images that have no fully opaque samples have no effect on the result.
Instead, the new thing that will be the real deep_holdout() will be a true "holdout" operation, where for example even a partially-transparent sample in the holdout image will partially block source samples behind it. The holdout operation is one in which the holdout's alpha attenuates the source, but does not itself contribute to color or opacity. It only blocks. The deep analogy to a 2D flat holdout operation where partial holdout is allowed.

I pushed an update to this PR. In addition to fixing the minor issues for which I first proposed this patch, I have amended it with the following major change:

The prior deep_holdout has been renamed deep_cull -- it just drops samples behind the opaque frontier of the holdout image.

A new deep_holdout implementation truly does the deep implementation of the classic "holdout" compositing operation.

A bunch of small changes to DeepData have been made to facilitate the new operation.


Performance issue after import core-js@2

After import core-js@2, the grayscale slowdown
require('core-js')
const Jimp = require('jimp')

const start = process.hrtime();
Jimp
  .read('track-100k.jpg')
  .then(image => {
    return image.grayscale().getBufferAsync(image.getMIME())
  })
  .then(() => {
    const diff = process.hrtime(start)
    console.log(`elapsed: ${diff[0] + (diff[1] * 1.0) / 1e9} ms`)
  })
  .catch(e => {
    console.log(e)
  })

track-100k.jpg size: 100k
test results:

without core-js@2:
elapsed time:  ~0.4884103 ms
with corejs@2:
elapsed:  ~2.078913401 ms

I am about to use this package. Do you find the speed is only slow when you use filters?


Better error message when forgetting to add UMD in targetLib

When you forget to set "targetLib" in the configuration file, you'll get the following error:
"Export from "'main" must be a function that returns an HTML string" .
That's very misleading for the most common use case.
This pull request adds a suggested fix to the error message.

Coverage remained the same at 100.0% when pulling a322a8ce6593a7edf0db908a68771e8449c84acd on alonbardavid:better-umd-error-message into 35c9aa29e5c225ae7bec4d8430cb120553933d8c on markdalgleish:master.

Thanks for the PR! Just released as v3.1.1.


regarding securing the of VC's from impersonation

Dear @simonas-notcat @mirceanis
Hope you are doing great.
If my understanding is correct then whenever we share the VC/VC's against any SDR from a Service provider then we need to mandatorily wrap it in a VP and then sign on that VP so that service provider should be sure that this VC/VC's were sent by me only and not any any-other person or service who might have stored to my attested VC (JWT) and trying to impersonate me.
Kindly confirm if this is the way we avoid a Man in the Middle and our leaked VC's attack.
Q 2 : What will happen if a SP will receive a VC directly instead of VP? will DAF allows such request to process or DAF makes this check on DIDComm level itself while transmitting the credentials

The selective disclosure flow that exists in DAF is based on the existing uPort selective disclosure flow with the messages adapted to fit into the W3C VC/VP paradigm.
Unfortunately this is not a community standard so a lot of the burden of securing this falls on the implementer.
Also, those protocols don't make any assumptions about the subject of all the credentials,( mostly because some credentials may need to be paired or chained to be able to form a complete proof in some situations).
DAF will, by default, process messages that contain VCs/VPs regardless of the protocol they are coming from.
If this is the result of a selective disclosure response, then the app receiving the response will have to verify this and enforce the security precautions that you asked about.
It is this app that will have to make this check about the origin or subject of the credentials. This check is not performed by DAF.
The longer term plan is to create a DAF plugin that adds support for the presentation-exchange protocol which should provide some of these checks out of the box.

I'm closing this; please reopen if the answer does not suffice


foobar

Description of the change:
Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

@rerun

@rerun

@rerun

@rerun

@rerun


conditional logging doesn't seem to work

the remotespy conditional logging doesn't seem to be working, unless im using it wrong. can someone try to use this

I don't think I've gotten any other complaints with this issue, so you're probably not using it correctly. Make sure values, types. and the arg index are correct, and also be aware of hidden white-space characters within strings if you're trying to ignore those. No current plan to provide a solution to that unfortunately, but if it becomes a big enough problem I might reconsider.


strip ASSETS_URL_PREFIX out of the code

ASSETS_URL_PREFIX relates to the old frontend, which is gone now; eliminate it

According to grep this is done:
[alaric@nixos:~/work/dotmesh]$ find . -type f -exec grep ASSETS_URL_PREFIX {} /dev/null \;

[alaric@nixos:~/work/dotmesh]$


when use nginx must override DefaultSavedRequestHandler.getRequestedUrl???

return this.serviceUrl + new URI(context.getFullRequestURL()).getPath();
this is my override content, Is there any other way?
the serviceUrl is the url by proxy by nginx , i try to change the config file of nginx to resolve but not success

Please use the mailing lists for questions: http://www.pac4j.org/mailing-lists.html
You can create your own SavedRequestHandler and assign it to the DefaultSecurityLogic or to the DefaultCallbackLogic.


Parallel execution / thread-safety when using RouterDbProfile.NoCache

I'm not entirely sure if this is a bug as there seems to be no official documentation about re-using the same router for multiple calculations at the same time.
Tests and past issues seems to indicate that this is a supported scenario. As soon as you load a router with NoCache instead of the default in memory approach this scenario breaks.
Itinero crashes currently when trying to resolve / calculate / ... in parallel. Running the same tests without NoCache result in succesful parallel results as expected.
For our use case two simultane calculations is all we need so I'm currently just running two routers side by side with separate file-read streams.
I'm logging this issue here to ensure you're aware of this restriction. I'd expect this to be documented (if expected) or taken up as a bug/feature (if it should work).

Perhaps we should document this better yes, thanks! :+1:
Current situation:
This scenario is not supported when opening with the 'NoCache' profile because reading happens using the open stream and that doesn't support multi-threaded access. What could be done in such a scenario is open two instances of the routerdb with two separate streams. The routerdb is just a wrapper around the open stream and should be fast and cheap to create.
Possible changes:

Better docs, a no-brainer, we should do this.
Make sure the routerdb with 'NoCache' is as fast/cheap as possible to create.
Hide this behavior by synchronizing access to the stream. This one is less obvious because it hides the fact that the routerdb doesn't support multi-threaded access.

Perhaps there is also a way of working unknown to me currently that could fix this on the NoCache scenario? cc @airbreather ?

Perhaps there is also a way of working unknown to me currently that could fix this on the NoCache scenario?

It would take some work, but if NoCache changed to use "true" memory-mapped files, and we'd get multi-threaded reads "for free", since there's no concept of "current position": you just essentially read the value at some virtual memory address, and the OS transparently serves that section of the file to you.
See the last comment I made on itinero/reminiscence#11... there's a test in there that actually honest-to-goodness proves out the idea of an ArrayBase<T> subclass backed by a "true" memory-mapped file.
I haven't had the time to come back to it to get it to a point where I'm comfortable submitting a pull request for it.

@msioen I'll put it on my list to check this in the context of our project and figure this out!
@airbreather That looks awesome as always and sorry for not following up more closely on that, I knew I should CC you on this issue! :+1: I'll probably ping you later for some more info, perhaps you can even help our team to get this done...

This is now on the backlog, closing this issue. The question has been answered and a better solution has been proposed:
https://docs.itinero.tech/docs/itinero/development/index.html#version-20-and-beyond


[BUG] LSF log parsing - invalid wait_time & Host count

Describe the bug
Parsing some records produces incorrect date and host count, preventing JobAnalyzer from processing the file.
Source record:
"JOB_FINISH" "10.1"<PHONE_NUMBER><PHONE_NUMBER>6 33816602 1<PHONE_NUMBER> 0 0 0 "OBFUSCATED" "OBFUSCATED" "rusage[Virtuoso_Multi_mode_Simulation=2:duration=1m] span[hosts=1]" "" "" "OBFUSCATED" "OBFUSCATED" "/dev/null" "/dev/null" "" "1656326059.908631" 0 0 32 1.0 "" "OBFUSCATED" -1.000000 -1.000000 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 "" "OBFUSCATED" 0 1 "" "" 0 0 0 "" "" "" "" 0 "" 14 "" -1 "" "OBFUSCATED" "" "" -1 "" "" 2097168 "" 0 "" "" 2 1032 "0" 1033 "0" 0 -1 64 0 "" "" -1 "" -1 0 "" 0 0 "" 0 "/tmp" 0 "" 0.000000 0.00 0.00 0.00 0.00 0 -1 0 0 0

Generates the following jobs.csv values:

job_id
num_cores
max_mem_gb
num_hosts
submit_time
start_time
finish_time
resource_request
ineligible_pend_time
eligible_time
requeue_time
wait_time
run_time
exit_status
ru_inblock
ru_majflt
ru_maxrss
ru_minflt
ru_msgrcv
ru_msgsnd
ru_nswap
ru_oublock
ru_stime
ru_utime

908631
1
1
0
2022-06-27T10:34:19
1970-01-01T00:00:00
2022-06-27T10:34:25

0
2022-06-27T10:34:19
0
-19170--1 day, 13:25:41
0
0
-1
-1
-1
-1
-1
-1
-1
-1

Expected behavior

Non zero host count
Correct time format for wait_time

Repository Version
Repository cloned on 2022-06-28

The job never started. The StartTime is 0 so the job should be ignored. The WaitTime can't be determined because the job never ran.
The fix for #18 added a check for this:
            if record['startTime'] == 0 and record['runTime'] == 0:
                continue

I've added a debug message saying that the job is ignored.


Laravel 5.4

Just wondering if you are planing to launch an updated version.

Unfortunately I don't have the library in use nor the time to really work on it. I will have to mark it as abandonned. sorry for the bad news.


Bring your own public key

Hi,
This is a PR in a serie of 6 PRs, as it was asked to split https://github.com/freifunkMUC/wg-access-server/pull/294 up into multiple PRs.
Serie:

(THIS PR) feature/bring-your-own-public-key
feature/remove-all-devices-for-user
feature/purge-inactive-devices
feature/health-check
hygiene/put-common-auth-logic-into-func
feature/pre-shared-keys

Feature:
This feature extends the wg-access-server, enabling the user to bring its own public key, instead of it being generated by the frontend. Reason for this is that the private key (generated in the browser), should in some circumstance not touch the web in any way.
This adds a new form input to "Add Device":

The generated config file (or QR code) still include a browser-generated private key. I think we should at least replace it with a placeholder to make it more obvious that it needs changing - but if it's not valid base64 the WireGuard mobile app might reject to import the config.

Good point!
I tested a few configurations, but the wireguard app rejects the qr code, if

there is no private key
the private key is empty
the private key does not have the correct length
and hence only accepts private keys like pleaseReplaceThisPrivatekey0000000000000000=

Maybe, it is a good idea to put pleaseReplaceThisPrivatekeyas the private key (note, it has not the correct length). This way the Wireguard app rejects the qr code, as otherwise it accepts it and generates a public key out of it. This might lead to confusion.

Maybe we should remove the QR code entirely when a user brings their own key pair. The QR code is for easy, simple and quick setup, which is already out of the window when someone went through the hoops to generate their own key pair.
They have to edit the config before importing it in a WireGuard client, and this can only be done using with the text file.

@fbuetler can you rebase your changes again? After that we can merge your PR


FileNotFoundError raised

Checklist

[x] closes #26
[x] tests added
[x] tests passed
[x] all linting tests pass
[x] changelog entry

Description:
If logfiles are not found when parsing then a FileNotFoundError is raised

Hello, I tested main repository below command. I apologize for digging up something a little old.
this error should be handled similar way :)
python -m gurobi_logtools --write-to-dir nicenames summary.xlsx tests/assets/no-exist/*.log
=>
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Python311\Lib\site-packages\gurobi_logtools_main.py", line 4, in
cli(
File "C:\Python311\Lib\site-packages\gurobi_logtools\cli.py", line 29, in cli
summary = result.summary()
^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\gurobi_logtools\api.py", line 115, in summary
fill_default_parameters_nosuffix(parameters.join(summary["Version"]))
~~~~~~~^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\pandas\core\frame.py", line 4090, in getitem
indexer = self.columns.get_loc(key)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\pandas\core\indexes\range.py", line 417, in get_loc
raise KeyError(key)
KeyError: 'Version'


[FEATURE] update both API version and API group before the v0.2.0 release

Is your feature request related to a problem? Please describe.
update both API version and API group before the v0.2.0 release
Describe the solution you'd like
bump the API version to v1beta1 and API group to the harvesterhci.io

[x] update the API version and API group of the Harvester.
[x] update the API group and API version of the network-controller chart.
[x] update the API version, label, and annotations of the Harvester UI.
[x] bump the Harvester API version in the Harvester node driver

Describe alternatives you've considered
N/A
Additional context

should be validated using the harvester-master.iso created after 20/04.

run $kubectl get crds | grep harvester.cattle.io should not exist
the harvesterhci.io CRD's version should be v1beta1
both UI and the Harvester node-driver should be working as expected and no error message is expected
network controller pod should running and its API version is v1beta1 and API group is network.harvesterhci.io

$kubectl get crds | grep harvester.cattle.i returns empty

h1 [~]# kubectl get crds | grep harvester.cattle.io
h1 [~]#

All Harvesterhci.io CRD versions are v1beta1

h1 [~]# crd_name=`kubectl get crd | grep harvesterhci.io | awk '{print $1}'`

h1 [~]# for crd in $crd_name; do version=`kubectl get crd $i -o jsonpath='{.spec.versions[0].name}'`; echo "$crd version: $version" ;done
clusternetworks.network.harvesterhci.io version: v1beta1
keypairs.harvesterhci.io version: v1beta1
nodenetworks.network.harvesterhci.io version: v1beta1
preferences.harvesterhci.io version: v1beta1
settings.harvesterhci.io version: v1beta1
upgrades.harvesterhci.io version: v1beta1
users.harvesterhci.io version: v1beta1
virtualmachinebackupcontents.harvesterhci.io version: v1beta1
virtualmachinebackups.harvesterhci.io version: v1beta1
virtualmachineimages.harvesterhci.io version: v1beta1
virtualmachinerestores.harvesterhci.io version: v1beta1
virtualmachinetemplates.harvesterhci.io version: v1beta1
virtualmachinetemplateversions.harvesterhci.io version: v1beta1

The Harvester node driver does not work as expected due to https://github.com/harvester/harvester/issues/775
The network controller Pod is operating normally, and its API group and API version are network.harvesterhci.io and v1beta1 respectively.

h1 [~]# kubectl get pods -A | grep network
harvester-system          harvester-network-controller-67d9k                      1/1     Running     1          3h36m
harvester-system          harvester-network-controller-d2s7n                      1/1     Running     0          3h46m
harvester-system          harvester-network-controller-manager-749bff44cf-9925p   1/1     Running     0          3h46m
harvester-system          harvester-network-controller-manager-749bff44cf-vgz2v   1/1     Running     1          3h46m
harvester-system          harvester-network-controller-ql8tr                      1/1     Running     0          3h32m

h1 [~]# crd_name="clusternetworks.network.harvesterhci.io nodenetworks.network.harvesterhci.io"
h1 [~]# for crd in $crd_name; do version=`kubectl get crd $i -o jsonpath='{.spec.versions[0].name}'`; echo "$crd version: $version" ;done
clusternetworks.network.harvesterhci.io version: v1beta1
nodenetworks.network.harvesterhci.io version: v1beta1

About the harvester upgrade -- https://github.com/harvester/harvester/issues/383


Some signal to trigger on if heading home

I would like to be able to make home assistant react when I activate "navigate to home" in the car.
Not sure if this is possible - it would mean the API has to expose this action or at least a destination lat/long position.
It could be in the form of an attribute of the location tracker.  The current position is there already

Check out the just released v3.7.0
It has a destination location tracker. That device_tracker state will change to "Home" if the vehicle is actively navigating Home.
There is also an attribute under the new arrival_time sensor called "Destination". That will also show "Home" or the name of any destination that is being navigated to. Ex. an address, or name of a store like "Home Depot"

Thanks. Did not know about 3.7.0 when I asked
Appears to be the right thing. Will check it out next time I am away from home with the car.


Add support for livestream pages under Resources

This is a WIP - this provides a single landing page for each episode of PulumiVision, including buttons/links for twitch, youtube, etc, as well as embedding the video after the stream is over, etc.
Signed-off-by: Matt Stratton<EMAIL_ADDRESS>

a couple of things that are an issue currently:

[ ] Adding the live stream menu item makes it all look wonky
[ ] nothing shows up if you select livestreams, but the stream page shows up on the upcoming, etc

Hi @mattstratton. Since I worked on the update of the Resources page Susan asked me to jump in with my thoughts. I was wondering if it would be possible to design those two new pages with a video at the top like the other video pages on the site are designed now (just to keep it consistent and also gives the user the option to play the live stream right away.) Maybe having the YouTube version being the video that's automatically there on the page and then giving them the choice of Twitch with the 'Watch on Twitch' button underneath the YouTube video on the page (kind of like how this page is set up: http://pulumi-hugo-origin-pr-1261-9771fb7b.s3-website.us-west-2.amazonaws.com/resources/from-zero-to-production-in-kubernetes )
And maybe the form being at the bottom? (Underneath the Get Started with Pulumi text and above Learn more and Contact Us).
@susanev if you have any other suggestions or something that you think would work better, please jump in. Thanks!

That's actually not a bad idea at all (embedding the video even on the upcoming - the pre-recorded does have the embedded video but it looks different than your example because the form is on the right)
this would help because we wouldn't actually need to make changes to the page when the stream was over; the "watch on twitch" could still be there, but would always just take them to our twitch channel (it would be a little confusing because twitch doesn't keep streams around for vieweing after a month or so)
definitely could move the form to the bottom; I will be a smaller form anyway. This was based on the workshops template which has the registration form on the right, but since the reminder form will be smaller, it could be pushed down
https://www.pulumi.com/resources/introduction-to-infrastructure-as-code/

adding the live stream menu item makes it all look wonky

the new resource page menu work fixed this for me :)

@nimbinatus may pick this up in the future, closing for now.


[feature] run staged pattern against a new file only

Description
So when our monorepo was created, some of the projects did not enable typescript strict mode. I'm using typescript-strict for incremental progress, however, a new file with //@ts-strict-ignore crept in. It would nice to be able to run a pattern for new files only.
with this I should be able to run "*.ts": "tsc --strict", or similar
❯ npm explain lint-staged
<EMAIL_ADDRESS>dev

This is currently not something we support. You can try to work around it using an async JS config and filtering yourself. Something like this (in pseudocode):
import execa from 'execa'

const isNewFile = async (file) => {
  const status = await execa('git', ['status', '--porcelain', file])
  // Added file 'A  test.js'
  // Modified file 'M  test.js
  return status.startsWith('A  ')
}

const hasNewFiles = async (files) => {
  const newFileStatuses = await Promise.all(files.map((file) => isNewFile(file)))
  return newFileStatuses.some((status) => status === true)
}

export default {
  '*.ts': async (files) => {
    const hasNewFiles = await hasNewFiles(files)
    return hasNewFiles ? 'tsc --strict' : 'tsc'
  }
}

The linked PR will add a possibility of running lint-staged with --diff-filter=A to only match new files.

The linked PR will add a possibility of running lint-staged with --diff-filter=A to only match new files.

How to use this option in .lintstagedrc.mjs ?

The linked PR will add a possibility of running lint-staged with --diff-filter=A to only match new files.

How to apply this filter to one .lintstagedrc.mjs out of multiple .lintstagedrc.mjs?


Add build systems

Add mvnw and gradlew to the plugin
Add the minimal configuration to make kapt to work with gradle

mvnw comes from that repository and as you stated the idea is you do not need to have Maven installed in your machine in order to be able to compile using maven.
Yeah I understand your point of view about the mvnw and gradlew that are everywhere, but it is more a convenience. These wrappers should be the minimum amount of information possible just to ensure that Maven and Gradle can run.

OK, thanks @joaopapereira.
By the way: would you be interested in becoming maintainer of this repository? I doubt it would be a lot of work. You'd have more freedom to keep it updated with latest best practices etc., to help others, without needing to wait for me to review.

I do not mind that

@joaopapereira By "I do not mind that" do you mean "I would not mind becoming a maintainer"? Or "I do not mind waiting for PR review from you"?


External Contacts on Relays & a Button

Hi Tinkerspy,
Hopefully straightforward for an expert ... 4 questions:
When external contacts on SPDT relay make or break with the Arduino Ground (com) are read with your Automaton Process ... I am seeing that your Digital Machine (if one can get by with it) saves memory over your Button Machine.
I have a total of eight separate digital machines that are basically just reading a ground signal or loss of ground signal with some control of duration of the time the make or break change is on.  To prevent electrical noise problems I am using input pullup mode on all of those pins used with your Digital Machine.  Almost 100% using just ground signals.

Can you explain if changing some of your "true" to "false" can ever be helpful or do anything at all in the way the digital machine behaves.

So far I am setting pinModes & declaring them as integers etc of all eight of those above pins used with my own Automaton Machine in the ino file & the cpp & hpp files of the newly created custom machine.  Could it be that a person can be overly cautious so all three files would have those 8 pinMode settings & int declarations.  Could that cause more use of very scarce SRAM memory?

It seems like I might be just using the Custom Machine only for receiving push changes from your Digital Machine  & with the Acceptor Machine's serial output & serial buffer held to control the moving to specific states for specific ENT outputs.  Which then runs relays in a timely way & change them back & so the relays shut off by the specific action(s) usually on the specific state's EXT action.  Does that mean that there is no need for a "push connector" on my Custom Machine since it seem like it really does not push anything to other machines but just receives "pushes" from the other mentioned machines (mainly your digital machines)?  Maybe I am wasting a bit of SRAM by adding a push connector in my Custom Machine in your machine template creator or does it need to be there to receive pushes also???

Do I only need to declare the output pins in cpp & hpp as long as the changes in digitalWrite is only occurring within the table's ENTs & EXTs actions?  Would they be declared as PRIVATE along with the event timers being declared PRIVATE?

Thanks again.

I am thankful for the "within scope" support that I did get on the above project.  A trust worthy electrical engineer gave me a "heads up" on potential noise from leaving the usb from the laptop on the board during testing.  Also he gave me a "heads up" on using all three of the ground connections as a "star" arrangement instead of just combining all three DC grounds  ... 12vdc gnd, external 5vdc gnd, & the onboard SparkFun Rredboard  UNO clone's own 5vdc gnd.  I did leave out trying to control all "concurrent time remaining" on the LCD which solved the "memory shortage" issue.  The prototype is now testing without error & will hopefully continue to do so.  Time will tell.  On that note I will be closing this issue ... with the understanding that anybody can re-open it later.

@Mike58501 Just curious, what was the conclusion about the GND connections? Did he suggest that you keep them separate as long as you can, or on the opposite that you combine them as early as possible?

rawtaz,
I may have to press him further.  It is my understanding that the board internally combines the grounds but something mitigates the noise between that could otherwise happen if the grounds were combined on the outside.  Since this project will go into what could be a much noisier environment than I could come up with on my two evolving due diligence prototypes ... time will tell if all noise is 100% solved.  I did drop all of Tinkerspy's Time Machine onChange time countdowns within the code ... possibly caused by some code capability being not within my range of capability.


(BUG) Circle Path Does Not Connect Sometimes

Hello,
First: Fantastic asset package - it's enabled me to do a lot.
Question: Sometimes when generating a random circle path and perturbing the vertices with perlin noise, the path doesn't always connect and creates a gap (shown below). What's the best way to check this in code so that I can generate till the path is fully connected?

Thank you in advance for any guidance and insights.

This error is probably related.
Failed extracting collision mesh because vertex at index 13312 contains a non-finite value (-nan(ind), -nan(ind), -nan(ind)).
Scene hierarchy path
"Road Mesh Holder", Mesh asset path "" Mesh name "generated road Instance"
UnityEngine.MeshCollider:set_sharedMesh(Mesh)

Confirming that this pull request is the fix for the issue.
It was the call to get normals returning nan. Not sure why this fix wasn't included in the download for the package.


Update default.js

Added support for jQuery input event.

The tests were failing and I found that we also need to change the remove listener part in unbind(). Turns out it's also a bit tricky to get test coverage right, so I just went ahead and changed things around. Thanks a lot for the PR though.

Thanks! Looking forward to the new release :thumbsup:


Tons of "modified files:" reported when idle

Flow version:
0.91.0
Expected behavior
When server sits idle, nothing should be happening.
Actual behavior
Constant and seemingly spurious reports of files being modified everywhere inside the project root. Sometimes a couple, sometimes ten, sometimes thousands (from e.g. ./node_modules/).
"File watcher reported 42095 files changed"
Typically causes the server to be busy all the time.
OS Version:
MacOS 10.13.5
Project dir:
/Users/{username}/Documents/code
I've read some other report (can't find the ticket here on GH though) somewhere about perhaps iCloud Documents updating metadata perhaps be incorrectly triggering the file watcher. But that feels like something >HighSierra-specific which we could fix in such case.

Link to Try-Flow or Github repo:

Thanks for reporting, @cbrunnkvist
I also suspect it may be caused by some activity on your system that Flow isn't in control of. As a shot in the dark, there may be an option to look for logs of watchman to see exactly what data about the files are changing: https://facebook.github.io/watchman/docs/troubleshooting.html
It may also help debug this issue by upgrading to Mojave and see if it's mitigated.
Do you mind if we close this for now and you can reopen if you're able to collect more info or have steps to reproduce?


Fix health check. (bypass caching mechanism of ArangoTemplate)

ArangoTemplate (the implementation of ArangoOperations) is caching the version, so it's not useful to use this for health checking. The PR change this to use the driver API directly.

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is 0%.

@@         Coverage Diff          @@
##           master   #10   +/-   ##
====================================
  Coverage       0%    0%
====================================
  Files           5     5
  Lines          95    95
  Branches        8     8
====================================
  Misses         95    95

Impacted Files
Coverage Δ

...hub/ganchix/arangodb/health/ArangoHealthCheck.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Great! Thank you


Updated the DEFAULT_IOS_VERSION to 16

The version has been updated to 16 from 9.

Thank you for your PR! But we had some discussion and conclude that maybe it's better to set the version below n-3.
I'll close this, but please don't hesitate if you want to contribute again.


Add model unit test line-item-detail amountOwed

Changes proposed in this pull request:

Add model unit test line-item-detail amountOwed

cc @HospitalRun/core-maintainers

Oops


Basic example doesn't work

I copy pasted the example in the readme.
Clicking on the checkbox does not do anything
I'm using react 0.14.2. how can i trouble shoot this?

Sorry for that it's missing key prop, that is required. https://github.com/gorangajic/react-svg-morph/commit/7737c3852d271dd0287cedc93a78a0238ecbd533.

Oh great the solves it.
Btw, what if i dont want to put an svg? Can i replace the checkbox with a picture for instance?

svg pictures ?

no i mean, i want to replace the checkbox with a facebook picture for instance. So i have to use img tag.

that is not possible, this lib just converts from one svg path to another

alright fair enough! Thx a lot though, i love the plugin none the less :)


[demo] bump xy-chart version

Coverage remained the same at 80.57% when pulling 9eb3ae9eceac38b2a4230a02ff82084629c5ff5b on chris--fix-build into ab21c2a9edb36f84b2d9dd1ccb46e510db572812 on master.


Use fid instead of username

Right now, the codebase uses username to refer to an account and includes usernames in messages. We should use fid: number instead and remove any reference to usernames.

Implemented https://github.com/farcasterxyz/hub/pull/81


Feat: Add Carousel for our collaborators in mobile view.

The Our Collaborators section is not very responsive currently. It would look much more appealing with a carousel.
Current

Change intended is something like this

Sounds Good, Go ahead @akash0708

@Saurav-Pant , issue #89 introduced some breaking changes, due to which the website is not being deployed anymore. Please look into it as without fixing those errors, the files can't even be run locally.