support for creating openshift and  kubernetes objects

One of the areas I find a barrier to getting started in working against the OpenShift API is using the OpenShift client pkg in my code. It seems you need to vendor most of Kubernetes and OpenShift in order to use it.
I would like to be able to create a broker that, in order to provision its services, creates objects via the OpenShift and Kubernetes API.
An early attempt at something similar can be found here:
https://github.com/feedhenry/negotiator (it was started before I knew about the Service Catalog and Open Broker API) but it is essentially a broker.
Is there anything in this project or any plans to make working against the OpenShift API easier from a go broker?
Aside question. Would I be right in thinking that if I wanted to use this I would change the openservicebroker and controller pkg

i'd like @pmorie to weigh in, but for my part I'll say that the brokerSDK is intended to make it easy to write a broker that runs on openshift/k8s (uses openshift/k8s resources to provide the broker API endpoint and store state), but it is not intended to specifically create brokers that provision/bind openshift/k8s resources.
In other words, the brokerSDK doesn't care if you're writing a broker that provisions ec2 instances, sends emails, stands up DBs, deploys pods in a k8s cluster, etc...  the nature of the service being provisioned is irrelevant.  So if we were to say "let's add help for making client requests to openshift/k8s" one could also argue we should "add help for making AWS client requests" or "add help for sending emails".

Aside question. Would I be right in thinking that if I wanted to use this I would change the openservicebroker and controller pkg

depends on exactly what you want to do, but the main areas i'd expect people to customize are:

the openservicebroker operations files (logic for how to handle a provision/bind/unbind/etc request)
the controller (this is where your logic for what to actually do on a provision request goes, because the provision operation in (1) just creates a provision request object, and the controller is responsible for seeing the request and processing it
the apis/broker resources as these are the resources that "store state" for your broker.

@bparees Thanks for the feedback. I understand where you are coming from here and agree. It makes sense that making the client easier to consume is outside the scope of this project. That said, I believe it could be a common use case to want to create/delete Objects against the OpenShift and Kubernetes API in response to a broker request? An example of how to do this would go a long way to on boarding/encouraging developers to create these kind of brokers.
In the coming weeks I will use this sdk and attempt to create a broker that uses the OpenShift and Kubernetes API in order to manage the services. Would that be useful to this project as a reference?

That said, I believe it could be a common use case to want to create/delete Objects against the OpenShift and Kubernetes API in response to a broker request?

the SDK already does this, it creates a ServiceInstance resource object in response to a provision request (that is the 'broker state" storage use I referred to earlier).  Take a look at the provision operation implementation (and the controller which watches/consumes/updates those resources).  The only difference is that the client is actually pointing to itself as the api server, rather than the master api server.

In the coming weeks I will use this sdk and attempt to create a broker that uses the OpenShift and Kubernetes API in order to manage the services. Would that be useful to this project as a reference?

absolutely, and we'd love any PRs that can make the common parts of the SDK better as you go through the process.


[tlvs] add template 'AppendTlv/FindTlv/ReadTlv()'

This commit adds new template versions of AppendTlv(), FindTlv(),
and ReadTlv() methods in the Tlv class allowing the ValueType to
be provided as a template type parameter. This, in turn, helps simplify
their use in the core modules.

This PR includes the commit from PR https://github.com/openthread/openthread/pull/5735.

Closing this PR in favor of new model from PR https://github.com/openthread/openthread/pull/5755.


missing tqdm dependency

Running the following from the main directory on master fails:
# This will delete any existing test env, so make sure that is ok
conda create -y -n test python=3
conda activate test
conda install openpathsampling --only-deps
pip install -e .
conda install -y pytest nose
py.test

This fails with:
============================================= FAILURES ==============================================
______________________________ TestSimpleProgress.test_progress_setter ______________________________

self = <openpathsampling.tests.test_progress.TestSimpleProgress object at 0x7f909086d6d0>

    def test_progress_setter(self):
        prog = self.progress.progress
        assert prog is not None
        self.progress.progress = 'silent'
        assert self.progress.progress is silent_progress
        self.progress.progress = 'tqdm'
>       assert isinstance(self.progress.progress, TqdmPartial)
E       assert False
E        +  where False = isinstance(<function silent_progress at 0x7f90b83dc820>, TqdmPartial)
E        +    where <function silent_progress at 0x7f90b83dc820> = <openpathsampling.progress.SimpleProgress object at 0x7f909086d5e0>.progress
E        +      where <openpathsampling.progress.SimpleProgress object at 0x7f909086d5e0> = <openpathsampling.tests.test_progress.TestSimpleProgress object at 0x7f909086d6d0>.progress

openpathsampling/tests/test_progress.py:56: AssertionError

after running conda install -y tqdm it passes
(another option is to add the pytest.importorskip(tqdm) to that test but that seems to skip a bit too greedy)

Actually, best is to put the lines
self.progress.progress = 'tqdm'
assert isinstance(self.progress.progress, TqdmPartial)

(and anything else related) in an if block, skipping the tqdm part if tqdm isn't there. Testing for 'silent' should happen anyway in either case. There should be some sort of HAS_TQDM variable defined in the test already.
There's no intention for tqdm to be anything other than optional. You get tqdm-based progress bars if tqdm is in the environment, that's all.
Tests miss this because something else in the test environment requires tqdm, so even in the minimal testing, tqdm is present.
Feel free to make a PR if you want!

Feel free to make a PR if you want!

will do,
other small comment, I think #864 resolved itself (as this issue was run on python 3.8)

other small comment, I think #864 resolved itself (as this issue was run on python 3.8)

Last I checked, we still can't conda install OpenMM on py38, so our testing would be limited. I think OpenMM/py38 is waiting on them getting the conda-forge release of OpenMM working (it is still in the testing label), at which point the omnia channel will be deprecated.

Closed by #916.


Org field suspended

The V3 API allows you to see the status of organizations. make this field visible.
Currently only the name, guid and quota metrics are reported.
Would it be possible to recover the status of the organizations.

@benjaminguttmann-avtq are you ok with it ?
The missing PR !2735 on the cli v8 have been merged, it was missing in prvious PR (!113)


Upgrade Nextclade to 0.11.0-alpha.1 with new clades

Description of proposed changes
This brings the new upcoming clades, as described in
https://virological.org/t/updated-nextstain-sars-cov-2-clade-naming-strategy/581
The Nextclade default tree was updated here: https://github.com/nextstrain/nextclade/pull/293
Related issue(s)
Testing
Thank you for contributing to Nextstrain!

I cancelled the triggered workflow, as the usual incremental run will produce incorrect results.
nextclade.tsv should be recomputed before proceeding.

I cancelled the triggered workflow, as the usual incremental run will produce incorrect results.
nextclade.tsv should be recomputed before proceeding.


DOC: Fixed a minor typo

It also seems that the texts of the doc/README.rst and the doc/source/contributing.rst have lots of overlap and duplication. Not sure if there are any plans in consolidating these two files but I thought to mention that here 😄

[Current coverage][cc-pull] is 84.23%

Merging [#13366][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master     #13366   diff @@
==========================================
  Files           138        138
  Lines         50724      50724
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          42726      42726
  Misses         7998       7998
  Partials          0          0

Powered by Codecov. Last updated by [103f7d3...029ade7][cc-compare]
[cc-base-branch]: https://codecov.io/gh/pydata/pandas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/pydata/pandas/compare/103f7d31e1b850e532ed85a4b53ef222d1271c54...029ade7c9fd65da98e22c09c4e7911e80be95cc5
[cc-pull]: https://codecov.io/gh/pydata/pandas/pull/13366?src=pr

thanks.
the README is for 'local-use' IOW its there waiting to be read if needed. the contributing.rst is built into the published docs.

Cool @jreback. I hope I can contribute more to this awesome library 😄


Error: MessagingClientConversationJoinFailure

I'm setting up omnichannel sdk for the first time and I'm getting this error message while calling startChat method. Here's my script
const express = require('express');
const bodyParser = require('body-parser');
const omnichannel = require('@microsoft/omnichannel-chat-sdk');
const cors = require('cors');
const helmet = require('helmet');
const morgan = require('morgan');

const app = express();

const omnichannelConfig = {
    orgUrl: "xxx",
    orgId: "xxx",
    widgetId: "xxx"
};

app.use(helmet());
app.use(bodyParser.json());
app.use(cors());
app.use(morgan('combined'));

const chatSdk = new omnichannel.OmnichannelChatSDK(omnichannelConfig);

app.get('/startChat', async (req, res) => {
    await chatSdk.initialize();
    await chatSdk.startChat();
    res.send('OK');
});

// starting the server
app.listen(3001, () => {
    console.log('listening on port 3001');
});

also I got the omnichannelConfig from this page's chat widget's data- attributes. app-id = widget-id and others are quite descriptive I guess. Am I doing it correctly?

The error I'm getting is
listening on port 3001
/Volumes/Work/Marketplace/Adapters/Livechat/MSDynamicsNode/node_modules/@microsoft/omnichannel-chat-sdk/lib/utils/exceptionThrowers.js:43
    throw new Error(exceptionDetails.response);
          ^

Error: MessagingClientConversationJoinFailure
    at exports.throwChatSDKError (/Volumes/Work/Marketplace/Adapters/Livechat/MSDynamicsNode/node_modules/@microsoft/omnichannel-chat-sdk/lib/utils/exceptionThrowers.js:43:11)
    at exports.throwMessagingClientConversationJoinFailure (/Volumes/Work/Marketplace/Adapters/Livechat/MSDynamicsNode/node_modules/@microsoft/omnichannel-chat-sdk/lib/utils/exceptionThrowers.js:100:13)
    at OmnichannelChatSDK.<anonymous> (/Volumes/Work/Marketplace/Adapters/Livechat/MSDynamicsNode/node_modules/@microsoft/omnichannel-chat-sdk/lib/OmnichannelChatSDK.js:637:69)
    at step (/Volumes/Work/Marketplace/Adapters/Livechat/MSDynamicsNode/node_modules/@microsoft/omnichannel-chat-sdk/lib/OmnichannelChatSDK.js:45:23)
    at Object.throw (/Volumes/Work/Marketplace/Adapters/Livechat/MSDynamicsNode/node_modules/@microsoft/omnichannel-chat-sdk/lib/OmnichannelChatSDK.js:26:53)
    at rejected (/Volumes/Work/Marketplace/Adapters/Livechat/MSDynamicsNode/node_modules/@microsoft/omnichannel-chat-sdk/lib/OmnichannelChatSDK.js:18:65)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.18.0

It looks like an initialization error. We'll have to investigate further to find the root cause. What is the widgetId?

fd9225fc-70f1-47bf-a96b-1094a5c03452 This is the widget ID

omnichannel-chat-sdk is taking dependencies on different Web libraries. So, it can only be run as frontend. Based on the description, it's being run on nodejs, so it would not work.


module not found error in Next.js

I'm trying to use the Slide for my Next.js project.
It's not working and shows me this error:

Hi @TalDahan22 sorry about this. We are currently working on releasing a new version with full support for typescript. The new version should be released this weekend. I'll inform you once that's done

hi @TalDahan22 a new version 4.0.0 has now been released. That will solve this bug. Sorry about that


Is it possible to define headers for all requests and filter out specific headers from generated files?

Hi,
I'm testing this tool and really liking it so far. I have two separate questions:
is it possible to define headers for all requests? E.g. I'd like all my acceptance specs to have the following headers defined:
header 'Accept', 'application/json'
header 'Content-Type', 'application/json'

And is it possible to hide specific headers from generated docs? It would be the opposite of existing config.request_headers_to_include option.

I'd very much like the ability to define global headers too. Should I just put them in an around(:all), or is there a better way?

Here's how I've implemented this:
I've created a spec/acceptance_helper.rb file:
require 'rails_helper'
require 'rspec_api_documentation/dsl'

RSpec.configure do |config|
  config.before(:each) do |spec|
    if spec.metadata[:type].equal? :acceptance
      header 'Accept', 'application/json'
      header 'Content-Type', 'application/json'
    end
  end
end

and in each acceptance spec instead of requiring:
require 'spec_helper'
require 'rspec_api_documentation/dsl'

I just require:
require 'acceptance_helper'

Thanks!


Can't open multiple windows/instances of Insomnia anymore

Expected Behavior
Shift-clicking task bar icons or start menu items would open a second window of Insomnia.
Actual Behavior
Shift-clicking the icon appears like it's about to start a new instance (you get the "hourglass" icon next to the mouse pointer) but then either does nothing or shows the existing Insomnia window.
Reproduction Steps

Open Insomnia from the Start menu.
Hold shift and click on the Insomnia icon in the Windows task bar.
Observe that a new instance of Insomnia does not start. The existing window might come in focus.

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
This used to work in an earlier version (I can't remember which version), though opening the second window was surprisingly slow.
Insomnia Version
2022.7.5
What operating system are you using?
Windows
Operating System Version
Windows 11 Business version 22H2 (OS build 22621.1105)
Installation method
download from insomnia.rest
Last Known Working Insomnia version
No response

+1 Having the same issue.
Also now on v2022.7.5 and unsure which version last allowed multiple Insomnia windows.
But on Windows 11 Home - Build 10.0.22621

I'm also experiencing this issue, also on 2022.7.5 and Windows 11 22H2.

+1 Same issue
Version: Insomnia 2023.1.0
Build date: 3/9/2023
OS: Windows_NT x64 10.0.19044
Electron: 22.0.0
Node: 16.17.1
V8: <IP_ADDRESS>-electron.0
Architecture: x64

Same issue on Windows Server 2016 RDSH: we can start only one Insomnia instance per server :-(

Same issue, been having it since the fall
Ubuntu 22.04.2 LTS
Insomnia 2023.4.0

I appreciate that I can open new windows in the latest beta version by selecting Window > New, but I'm just wondering why I can't use the usual shift+click feature?

I appreciate that I can open new windows in the latest beta version by selecting Window > New, but I'm just wondering why I can't use the usual shift+click feature?

Thank u very much!


Add match_class! macro

See #771 for more details and discussion.

Codecov Report

Merging #774 into master will increase coverage by 0.03%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master     #774      +/-   ##
==========================================
+ Coverage   62.15%   62.19%   +0.03%
==========================================
  Files          80       80
  Lines       12832    12832
  Branches     2621     2618       -3
==========================================
+ Hits         7976     7981       +5
+ Misses       3190     3184       -6
- Partials     1666     1667       +1

Impacted Files
Coverage Δ

vm/src/obj/objfloat.rs
74.45% <0%> (-0.83%)
:arrow_down:

vm/src/obj/objstr.rs
70.74% <100%> (+0.14%)
:arrow_up:

vm/src/obj/objint.rs
86.31% <66.66%> (+0.05%)
:arrow_up:

vm/src/pyobject.rs
77.89% <0%> (+1.01%)
: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 0ce15e1...8549ea2. Read the comment docs.


fix: respect dark class in addition to data-kb-theme

Fixes #137

Thanks for providing the fix :)
This is will be integrated in #108


Windows Defender Attack Surface Reduction Rules (ASR)

Defender lets you set Attack Surface Reduction rules both via GPO or via Set-MpPreference. A list of the rules can be found here.
Current rules:

Block executable content from email client and webmail
Block all Office applications from creating child processes
Block Office applications from creating executable content
Block Office applications from injecting code into other processes
Block JavaScript or VBScript from launching downloaded executable content
Block execution of potentially obfuscated scripts
Block Win32 API calls from Office macros
Block executable files from running unless they meet a prevalence, age, or trusted list criterion
Use advanced protection against ransomware
Block credential stealing from the Windows local security authority subsystem (lsass.exe)
Block process creations originating from PSExec and WMI commands
Block untrusted and unsigned processes that run from USB
Block Office communication application from creating child processes
Block Adobe Reader from creating child processes
Block persistence through WMI event subscription

Is this something that would be worth me making a PR for?
The main issue is that there are currently 15 possible rules, each with three states (disabled, audit, enabled). Would this be something where there should be three options available as separate commands?

@jcspencer

Is this something that would be worth me making a PR for?

Absolutely, but before you do that, we need to address the issue of "out-of-box" experience for first time Windows users.
So perhaps we need to think about this:

How can we get the out-of-box Vanilla settings for all those?
Which of the are the most important to have, but which will not block you from using Office tools in a standard way?
Maybe have 3 "blocks" of different presets, eahc representing (user knowledge).
For example: [basic, audit, hardened]?

For example, basic would block obvious stuff like:

Block executable content from email client and webmail
Block all Office applications from creating child processes
etc

But not:

Block executable files from running unless they meet a prevalence, age, or trusted list criterion
Block untrusted and unsigned processes that run from USB|


[Relay] Improve numerical gradient check

I was having trouble getting passing tests with the existing gradient check implementation, even though the gradient implementations match results from the keras framework. This change rewrites the gradient check helper to perform two-sided numerical checks on every gradient dimension. I have an upcoming pull request with several gradient implementations that I was able to verify with this implementation.

@MarisaKirisame @vinx13 @junrushao1994 please review


[Not Issue] where can i find skungee 2.0.0 syntax

Title says all.

I would like to find that too but aren't all of them in the releases changelogs?

Not solve. But anyway closing this issue.


Panic in openshift rolebinding

In openshift, rolebindings can have an entry userNames: null
The parsing panics because this is not a string

@sebgoa are you sure? We don't even parse the userNames or the groupNames fields (which we probably should). I've tried visualizing the system:image-pullers role binding, which has userNames: null and it seems to work fine.

This was an openshift 3.11 cluster wtih standard rolebindings. Unfortunately I don't have access to the platform anymore and could not dump the roles in here. I assumed this was due to the userNames but I definitely don't know for sure.
I just add panics when running rback saying that it could not "parse" int.

I don't have an openshift 3.11 environment right now but I made a PR to fix what sounds like a similar issue in openshift 4: https://github.com/team-soteria/rback/pull/20


(3.7.0) Parent id error in log relating to mp-13 default preset

2023-08-11 08:57:15.917 +01:00|<IP_ADDRESS>.25725|Error|Default|Item deserialization error: No parent with id hideout found for item 584148f2245977598f1ad381

Error appears to be related to mp-133 default preset in globals.json

Originally written by chomp

This should be resolved with todays updates

Originally written by chomp


sorting of linkml document

Linkml can sort them alphabetically or by rank (which would be an annotation property that we aren’t using yet)
We should request that alphabetical sorting list required fields first then others

cc @ramonawalls @turbomam @only1chunts @lschriml

When we say "LinkML can sort them", are we saying that software could be written to write sort terms or slots in alphabetical or rank order? Like for ordering columns in a tabular output?
For the record, DataHarmonizer already does arrange slots into groups, and sorts both the groups and the columns, according to rank

See https://github.com/linkml/linkml/issues/885

Sorting happens in the spreadsheet one might be working with for linkml (such as schemasheets). Not a MIxS issue, except around editing workflow.
We could add rank if we want.

@wdduncan can this issue be closed or do you still have questions?

@ramonawalls This issue can be closed if you are satisfied. IIRC, I opened it during a call in regards to this question coming up by others.


"COVID19_cells_info.csv" is missing

https://github.com/QuKunLab/COVID-19/blob/b356e40ca46f6fd5396182a83bd9cf999eb04516/step2_integrate_patients_and_healthy_controls.R#L23
Could you be able to upload "COVID19_cells_info.csv" file for this repository?

Sorry for our mistake. We have uploaded the "COVID19_cells_info.csv" file for this repository.

Thank you so much


Obsoletion request: Some reductase activities

These terms were not obsoleted in this ticket
https://github.com/geneontology/go-ontology/issues/28261
because they had annotations. We need to check if the activities should exist or should be merged/obsoleted.
GO:0004028 3-chloroallyl aldehyde dehydrogenase activity
GO:0008785 alkyl hydroperoxide reductase activity
GO:0009389 dimethyl sulfoxide reductase activity
GO:0034824 citronellyl-CoA dehydrogenase activity
GO:0034832 geranial dehydrogenase activity
Thanks, Pascale

Annotations: https://github.com/geneontology/go-annotation/issues/5416

GO:0034832 geranial dehydrogenase activity: added missing xrefs:
+xref: EC:<IP_ADDRESS> {source="skos:exactMatch"}
+xref: MetaCyc:RXN-11970
+xref: RHEA:34351 {source="skos:exactMatch"}


Error in Liquid template

Two extra "Space"s in line 1,  between curly braces and % in the liquid template given in "Step1 - Create the template" causes the resulting logic app to give an ambiguous error complaining about the incorrect liquid template:
{ %- assign deviceList = content.devices | Split: ', ' -% }
The line has to be corrected in the following way:
{%- assign deviceList = content.devices | Split: ', ' -%}

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

ID: e02fc497-8e32-b0e1-6ae3-cf1039cc1c7b
Version Independent ID: 2ce45d89-18b7-8465-8ab7-bef9b544a474
Content: Convert JSON and XML with Liquid templates - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-enterprise-integration-liquid-transform.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@abbaasi
Thanks for your feedback! We will investigate and update as appropriate.

@abbaasi Thanks again for sharing this feedback and helping us drive improvements toward MS Docs! I've created a PR that removes the spaces and fixes the sample, and the changes will be live soon upon the merge of the PR.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Connection drop by remote server, Windows 7

hi
I am getting error, connection drop by remote server when using db.query (..) , when trying to connect from windows machine to sql server 2012.
Any possible hint ? what could be the issue.
thanks
Vimal

Are you using encryption? SQL auth or Windows authentication?

Yes using Windows Authentication.
Though in the connection string i have to provide user name and password to connect to DB and ping it.
Encryption i have set to disable.
This happen when connect to to remote DB, but local host it work perfectly.

@VimalKumarS For me to pursue this I would need more information. Does the server connection drop right away, after auth, or sometime in the middle? How reliable is your network connection? How far apart are the client and server physically?

We have updated the default timeout to not be 30 sec. Also other improvements have been made. Maybe try again at tip if still an issue.


Fixed proof gen debug script not forcing 1 worker

This was a fix made by @Nashtare on a testing branch, but it really should make it's way into main.

Do we want this straight into main?

If you're ok with it then maybe we should.

I think let's go into develop

Actually I think we should enhance these testing scripts to support both sequential/parallel proving, and to support user provided logging. So that we can quickly test a block by passing "info" and proving/generating witness in parallel, or "trace" and sequential testing when actually debugging.

Sounds sensible to me


compatibility (not work in IE10 and 9)

hi dear
tnx for sharing, i have a problem please advice me if i am wrong!
i use SlipHover plagin but now i realize that it did not work in IE10 and 9 but in doc mentioned that it is compatibility IE9+.

more details of the problem you met is needed


Azure File Shares cannot see mongo data

Hi ,
I have mounted an Azure file share volume to a mongoDb pod on the path /data. Everything seems to work as expected. When I exec into the pod, I can see mongo data in /data/db. But on the Azure File Shares I can only see the folders /db and /dbconfig, not the files.
This is my yaml files
StorageClass
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: azurefile
provisioner: kubernetes.io/azure-file
mountOptions:
  - dir_mode=0777
  - file_mode=0777
  - uid=999
  - gid=999
parameters:
  storageAccount: ACCOUNT_NAME
  skuName: Standard_LRS

PVC
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: azurefile
spec:
  accessModes:
    - ReadWriteMany
  storageClassName: azurefile
  resources:
    requests:
      storage: 20Gi

Mongo deployement file
apiVersion: apps/v1beta2
kind: Deployment
metadata:
  name: mongo
  labels:
    app: mongo
  namespace: development
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mongo
  template:
    metadata:
      labels:
        app: mongo
    spec:
      containers:
        - name: mongo
          image: "mongo"
          imagePullPolicy: IfNotPresent
          ports:
          - containerPort: 27017
            protocol: TCP
          volumeMounts:
          - mountPath: /data
            name: mongovolume
            subPath: mongo
      imagePullSecrets:
        - name: secret-acr
      volumes:
        - name: mongovolume
          persistentVolumeClaim:
            claimName: azurefile

Kubernetes version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:17:39Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.6", GitCommit:"a21fdbd78dde8f5447f5f6c331f7eb6f80bd684e", GitTreeState:"clean", BuildDate:"2018-07-26T10:04:08Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Not sure if it is the good repo to post this. Please refer me the good one if not


python3Packages.elegy: init at 0.8.4

Motivation for this change
Finishes the "extra JAX libraries / frameworks" implementation, see the discussion in #152754 I also had to adjust relax-deps.patch for treex as due to PyYAML version update in nixpkgs it was out of allowed range.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

It would be nice to track down the cause of the failing test, but I don't want that to be a blocker for merging this PR. So unless you'd like me to hold off @ndl, I'll merge in a day or two unless anyone else objects.

Yeah, agree it would be nice to track it down, but realistically I'm unlikely to look into this soon + it's not even clear if this would happen outside the tests, so I'd prefer to leave it "as is" for now.

Unfortunately I believe nixpkgs-review is stuck in some kind of live lock building one of the dependencies for this PR. It's been stuck on this step:
[1/19/23 built (7 failed), 381 copied (3912.8/3914.3 MiB), 1382.7 MiB DL] building python3.9-einops-0.3.2 (installCheckPhase): tests.test_layers.test_reduce_symbolic ... ok

for around half an hour now.
I know that this PR doesn't affect einops directly but we ought to get to the bottom of this nonetheless.

Created for the einops issue: https://github.com/NixOS/nixpkgs/issues/154251. Not sure that we need to worry about that for now though.
@ndl How did you manage to build elegy if the einops dep is failing?

einops test issue could be either non-deterministic or dependencies-dependent, hence I guess I got 'lucky' and it built locally the last time? I'm able to reproduce it locally at current nixpkgs master, though.
Logs show that pytorch is stuck at the inference step with multiple hundreds % of CPU usage, this seems similar to https://discuss.pytorch.org/t/pytorch-cpu-hangs-on-nn-linear/17748/4 and setting OMP_NUM_THREADS=1, as suggested in that thread, does seem to help. Added this work-around to this PR, please check if that helps on your side as well.

Result of nixpkgs-review pr 154115 run on x86_64-linux 1

3 packages failed to build:

python310Packages.einops
python310Packages.elegy
python310Packages.treex

3 packages built:

python39Packages.einops
python39Packages.elegy
python39Packages.treex

Nicely done! It looks like that fixed it for me. This PR may now supersede https://github.com/NixOS/nixpkgs/pull/152291. cc @veprbl @yl3dy
Perhaps we should split this out into two PRs though? What does everyone think?
Python 3.10 is still busted but I suspect that's for some dumb reason out of scope here.

ok as long as it looks good to @veprbl and @yl3dy, doing one PR is good with me


HIVE-26840 : Branch 3 netty upgrade to 4.1.69.Final.

What changes were proposed in this pull request?

Changes were made to shade jetty jars that were causing test failures. Previously in branch-3.1 when encountered this error, we reverted it back. But now for the new release we want to use the latest netty version so that we get rid of CVEs.
We found that a lot of tests failed due to incompatibility of Jackson 2.12.0 and Arrow version 0.8.0. We had 2 options either to downgrade jackson to 2.10.0 or upgrade arrow to 0.11.0. We went ahead with upgrading arrow to 0.11.0 since it fixed a lot of CVE's as well. This is fixed in https://github.com/apache/hive/pull/3902. This also brought an issue with test org.apache.hadoop.hive.ql.io.arrow.TestArrowColumnarBatchSerDe which is fixed in HIVE-26892 / https://github.com/apache/hive/pull/3898 by @cnauroth
Why are the changes needed?

For the test cases in the build to pass for branch-3.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Have tested it locally by building Hive branch-3 and the previously failed test cases passed. Please note that only the test cases failing due to netty upgrade were fixed. More test cases fixes need to go in. So this PR will not be successful only test cases with netty failures will be fixed. To ensure that the netty test cases are fixed, the number of test case failure should match the number of test case failures when I reverted this netty version. Jenkins build when reverted the netty version : http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-3850/1/pipeline

@cnauroth Can you please review this PR. I have fixed the netty issues as suggested by you in this PR : https://github.com/apache/hive/pull/3850. I have mentioned how we are going to ensure that this change works in the description.

Hi,
The tests have ran and we have the same number of failures as compared to when we revreted the netty version. Adding the snapshots of the number of test failure when we reverted this netty version.

This implies that upgrading the netty version works and we can merge this PR. @zabetak @ayushtkn @abstractdog Can either one of you approve and merge this PR
cc - @cnauroth

I'm a bit confused with this PR (sorry, I think I missed some context): originally, Jira says "Backport of HIVE-23073 and HIVE-24138", where HIVE-24138 is clearly about removing the relocation for instance, and I cannot see it now in this PR, so what's the scope here?

Hi @abstractdog Can you please refer to the conversation in this PR : https://github.com/apache/hive/pull/3850. Changes were made to shade jetty jars that were causing test failures. Previously in branch-3.1 when encountered this error, we reverted it back. But now for the new release we want to use the latest netty version so that we get rid of CVEs.

but if we keep shading netty jars after this PR then we're simply not backporting HIVE-24138, right? just asking for clarity's sake

I have cherry picked both HIVE-23073 and HIVE-24138 since I was of the impression that they were related. Some older netty jars were coming as transitive dependencies thats why https://issues.apache.org/jira/browse/HIVE-24138 was created. Please correct me if I am wrong

they are related and HIVE-24138 fixed issues caused by HIVE-23073, my concern is that I can see differences:
original HIVE-24138 commit:
https://github.com/apache/hive/commit/c345cdf58ddf212c2f2d6b82e57ed3d41647ffa7
your backport on this PR (cannot see the ql/pom.xml changes)
https://github.com/apache/hive/pull/3859/commits/d3d2aadb7999b7bcd0d0a96fe79a60665417d2c3

Let me check that. Will re-raise this PR. Thanks @abstractdog

Hi @abstractdog Sorry my bad, somehow these 2 changes got ignored by me. I have included those now. @abstractdog Can you please review once again

@abstractdog Just a gentle reminder, can you please review this.

there are 10 new failures, can you please check if they are related?
http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-3859/4/

Sure let me check. Thanks for highlighting

@abstractdog The tests start failing when I upgrade netty to 4.1.69 with this error :
ava.util.concurrent.TimeoutException
at io.netty.util.concurrent.DefaultPromise.get(DefaultPromise.java:359)
at org.apache.hive.spark.client.TestSparkClient$4.call(TestSparkClient.java:158)
at org.apache.hive.spark.client.TestSparkClient.runTest(TestSparkClient.java:307)
at org.apache.hive.spark.client.TestSparkClient.testSyncRpc(TestSparkClient.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
If we keep the version as 4.1.48 it passes. Let me investigate on this from my side. Thanks.

@abstractdog There is a test org.apache.hadoop.hive.ql.io.arrow.TestArrowColumnarBatchSerDe which is failing with this error :
java.lang.NullPointerException: src 	at io.netty.util.internal.ObjectUtil.checkNotNull(ObjectUtil.java:39) 	at io.netty.buffer.UnsafeByteBufUtil.setBytes(UnsafeByteBufUtil.java:537) 	at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:199) 	at io.netty.buffer.WrappedByteBuf.setBytes(WrappedByteBuf.java:486) 	at io.netty.buffer.UnsafeDirectLittleEndian.setBytes(UnsafeDirectLittleEndian.java:34) 	at io.netty.buffer.ArrowBuf.setBytes(ArrowBuf.java:937) 	at org.apache.arrow.vector.BaseVariableWidthVector.setBytes(BaseVariableWidthVector.java:1155) 	at org.apache.arrow.vector.BaseVariableWidthVector.setSafe(BaseVariableWidthVector.java:990) 	at org.apache.hadoop.hive.ql.io.arrow.Serializer.writePrimitive(Serializer.java:418) 	at org.apache.hadoop.hive.ql.io.arrow.Serializer.write(Serializer.java:213) 	at org.apache.hadoop.hive.ql.io.arrow.Serializer.writeStruct(Serializer.java:279) 	at org.apache.hadoop.hive.ql.io.arrow.Serializer.write(Serializer.java:219) 	at org.apache.hadoop.hive.ql.io.arrow.Serializer.serializeBatch(Serializer.java:142) 	at org.apache.hadoop.hive.ql.io.arrow.Serializer.serialize(Serializer.java:528) 	at org.apache.hadoop.hive.ql.io.arrow.ArrowColumnarBatchSerDe.serialize(ArrowColumnarBatchSerDe.java:260) 	at org.apache.hadoop.hive.ql.io.arrow.TestArrowColumnarBatchSerDe.serializeAndDeserialize(TestArrowColumnarBatchSerDe.java:240) 	at org.apache.hadoop.hive.ql.io.arrow.TestArrowColumnarBatchSerDe.initAndSerializeAndDeserialize(TestArrowColumnarBatchSerDe.java:204) 	at org.apache.hadoop.hive.ql.io.arrow.TestArrowColumnarBatchSerDe.testComprehensive(TestArrowColumnarBatchSerDe.java:381)
This is because arrow 0.x had io.netty version of 4.1.22.Final which is the old version. When we try to upgrade it to 4.1.69.Final netty and exclude the netty jar from arrow dependency as I have done in this PR, then we get the above exception in the test. The solutions are as follows :

Fix this test with the current netty version. I am still working on it but till now not found a fix. If you know of something please let me know.
Revert the netty version. This test works perfectly fine if I change the netty version to 4.1.48.Final.
Upgrade to arrow version 2.0.0 as done in master which has its own implementation of netty classes but not sure how many cherry picks will be required for a green build.

@ayushtkn @cnauroth @zabetak Adding you for your suggestions. Kindly let me know.

Hello @amanraj2520 . Referring to the options above:

I think the ideal path is to get the test fixed. See below for more analysis from me and a proposed path forward.
I'd prefer not to revert back to the earlier version, because we set a goal on the 3.2 release to upgrade dependencies and clear out their CVEs as much as possible. That said, I reviewed CVEs on the older release, and I don't think they have much practical impact on Hive, so I'm not opposed to this as a fallback option if we get stuck.
I'd be concerned about a significant major version bump all the way to Arrow 2.0.0. I don't know Arrow well enough to comment on backward-compatibility of that upgrade.

The test is failing specifically on serializing a row of nulls in all columns. I confirmed that it's this row specifically by commenting out the row and seeing the test pass. I also confirmed that it's specifically failing while serializing a struct column. (Null values for primitive types are fine.)
The problem appears to be that the serializer does not correctly track null values within a null struct. We should be calling the Arrow vector.setNull, but instead, it ends up calling vector.setSafe. There is another patch, HIVE-25243 / PR #2391 that fixed this on master. I tried applying both your patch and a slightly different version of HIVE-25243, and then the test passed locally. The only thing I don't understand is why this was ever passing with the old version. I guess there are some versions of Arrow + Netty that are just more tolerant of clients calling vector.setSafe with null values.
I propose that first, we merge in the current pull request, even with a known test failure. There are already a lot of changes in this patch. Then, I can queue up a separate backport of HIVE-25243. This is non-binding though, so let's see if we can get confirmation on the plan from a committer.

I filed HIVE-26892 / #3898 to backport handling of values in null structs. I'll defer to committers on how they'd best want to handle sequencing of merging these patches into branch-3. @amanraj2520 , I hope this helps.

Hi @cnauroth Thanks a lot for your analysis. This helps me a lot. I will check this from my side in sometime and let you know. The thing that you were curious about, i think I can help sharing some light. Arrow started using netty in its 0.x releases. If we do not exclude netty from arrow while importing dependencies it will get the 4.1.22.Final netty. A point to be noted is that 4.1.22.Final and 4.1.28.Final(which I was planning to revert to) does not have this nonNull check in its stack trace. Therefore even if we upgrade netty to 4.1.69.Final and keep arrow as 0.x, it will pickup the 4.1.22.Final which will not have the nonNull check and it will pass. The problem came because we removed the arrow's netty in branch-3 while importing therefore forcing arrow to use 4.1.69.Final which has this null check and therefore this test fails. Hope this answers you question. We can discuss it further if you want.
Having said this i also feel that fixing this test is the best approach and I will try fixing that in another pr. Will wait for someone to approve this first. Thanks a lot @cnauroth

@cnauroth Your proposed fix works on my local as well. So according to me we can merge this first and then merge the PR you have raised HIVE-26892 / https://github.com/apache/hive/pull/3898
I will also change the name of my PR to Upgrade netty to 4.1.69.Final and arrow to 0.11.0.
@abstractdog Can you please review this idea and let me know if you have any concerns. Thanks.

is this whole this working by adding HIVE-26892 + having Netty 4.1.69.Final and arrow to 0.11.0?
if so, is there a chance to backport arrow upgrade separately first if it was done separately on master?

@abstractdog Yes me and @cnauroth have verified it on our local machine by merging this and the HIVE-26892 branch. The tests pass. I agree that we can upgrade arrow first on branch-3 and then re-visit this PR only for netty. I had just raised it in the same branch, so that we could establish the fact that arrow and netty will have to go in for a green branch-3. Since now you are aware of the test failures, it would became easier to explain. Will raise the arrow upgrade PR in sometime and let you know.

Raised this PR to track the arrow upgrade https://github.com/apache/hive/pull/3902
cc @abstractdog @cnauroth

The arrow upgrade is now handled in branch-3 through this PR : https://github.com/apache/hive/pull/3902. Raising this PR again only for Jetty Upgrade @cnauroth @abstractdog @zabetak FYI

@abstractdog Can you please merge this PR.

Hi @abstractdog @zabetak Can you please review and merge this PR. The tests which are failing are flaky. I have raised separate PR's to disable them as they were disabled on the master as well. Here are the PR's : https://github.com/apache/hive/pull/3929 and https://github.com/apache/hive/pull/3928

@abstractdog @zabtek Can you please check this PR and merge if it looks good.

@abstractdog A gentle reminder. Can you please merge this PR. It has already been approved.

@abstractdog Really apologize to bother you so many times for this PR. The reason why I am stressing on this PR so many times is because this needs to go in branch-3 so that other tests failures (if any) can come up on this branch. For example, this issue prevents tests like CliDriver etc not to run properly. This means that a lot of tests do not run until this is merged to branch-3. So, other PR's are blocked until this PR goes in.
Requesting you to review and merge this. Sorry for bothering you again.

Thanks a lot @abstractdog for merging this


add test for #519

#519
cc @Shashi456, if you want to work on this please add a comment so that I can assign it to you!

@marcrasi I'll take this one!


gh workflow: create production deployment in main branch

Codecov Report

Merging #157 (c6b9024) into main (fda1379) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #157   +/-   ##
=======================================
  Coverage   85.23%   85.23%
=======================================
  Files          22       22
  Lines         210      210
  Branches       32       32
=======================================
  Hits          179      179
  Misses         31       31

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 fda1379...c6b9024. Read the comment docs.


Fix/final adjustments

Codecov Report
Attention: Patch coverage is 86.81319% with 12 lines in your changes missing coverage. Please review.

Project coverage is 83.38%. Comparing base (1900ab2) to head (8719c50).

Files
Patch %
Lines

pkg/test/matrix_tester.go
76.47%
5 Missing and 3 partials :warning:

pkg/tools/any_to_string.go
75.00%
2 Missing :warning:

pkg/httptools/errors.go
50.00%
1 Missing :warning:

pkg/middleware/sentry.go
66.66%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
- Coverage   84.35%   83.38%   -0.98%
==========================================
  Files          44       43       -1
  Lines        1061     1047      -14
==========================================
- Hits          895      873      -22
- Misses        131      137       +6
- Partials       35       37       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


IndexError: single positional indexer is out-of-bounds

Received the following error:

pair = ['ethereum','nexus-governance-token']
apr = 553.94
dft.farmSimulate(pair, apr, start='2021-11-30')
Downloading ethereum
Downloading nexus-governance-token
Traceback (most recent call last):
File "<pyshell#35>", line 1, in
dft.farmSimulate(pair, apr, start='2021-11-30')
File "C:\Users\jadmin\AppData\Local\Programs\Python\Python39\lib\site-packages\defi\defi_tools.py", line 276, in farmSimulate
farm = farm.divide(farm.iloc[0])
File "C:\Users\jadmin\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\indexing.py", line 931, in getitem
return self._getitem_axis(maybe_callable, axis=axis)
File "C:\Users\jadmin\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\indexing.py", line 1566, in _getitem_axis
self._validate_integer(key, axis)
File "C:\Users\jadmin\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\indexing.py", line 1500, in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds

Maybe it was a fail in coingecko API, now this example is working ok


Added .travis.yml

This sets up tests to be run on Travis CI

Should closed, since travis is already in place.


Fix Webpack publicPath for production builds

Previous value /dist/ would cause static assets to be searched for in
file:///dist/... (root of fs), instead of in the dist/ directory
relative to app/index.html.

Necropost but I bout racked myself over this silly little bug. Thanks for the the use of issues @pascalw and context to my madness.


Model Request : WhiteRabbitNeo

https://huggingface.co/whiterabbitneo/WhiteRabbitNeo-13B
https://huggingface.co/TheBloke/WhiteRabbitNeo-13B-GGUF

Looks like a couple people have uploaded quantizations of this even though it's not part of our curated library yet:
https://www.ollama.ai/rfc/whiterabbitneo
https://www.ollama.ai/zoccoccs/whiterabbitneo

Resolving this for now as some people have uploaded the models. Thanks for your request.


Vaccine hesitancy seen manager for screen

Description
Requires BE ticket and migration to work! https://github.com/zoe/covid-app/pull/391
Adds a new boolean field to the Patient model
Uses new field to determine link route from vaccine list page to hesitancy page
Updates new field to True on the first time it is triggered (ie user redirected and sees page)
Test:
Go to "Your covid 19 vaccines" page > delete any vaccines > tap "I haven't had a vaccine" > observe redirect to hesitancy page
hit back (state updates on patch above)  > tab "I haven't had a vaccine" > observe redirect to "How do you feel" page
You can reset the field on django admin at /admin/users/patient/, right at page bottom.
On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[x] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Regarding this button "I haven't had vaccine" and its redirect.

Checklist

[ ] I have updated mockServer
[ ] I've added analytics as relevent
[ ] I have run npm test
[ ] I have run npm run test:i18n

Out of scope and potential follow-up
Is there any related changes that you plan to do in a follow-up PR or voluntarily excluded from the scope?

Closing as this is a none bug due to the check being based on Vaccine Plan lookup, and not Vaccine Doses. Test case in the ticket apparently didn't SAVE the vaccine plan, and so the UX is indeed as it should be, and this new property and PR is not needed. Less noise, till works, all happy!


Documentation warnings...

Here are some documentation warnings that need to be addressed:
/home/ed/tmp/netcdf-c/libdispatch/dfile.c:517: warning: return type of member nc__create is not documented
/home/ed/tmp/netcdf-c/libdispatch/dparallel.c:139: warning: parameters of member nc_open_par_fortran are not (all) documented
/home/ed/tmp/netcdf-c/libdispatch/dparallel.c:139: warning: return type of member nc_open_par_fortran is not documented
/home/ed/tmp/netcdf-c/libdispatch/dvarget.c:109: warning: Member NC_get_var(int ncid, int varid, void *value, nc_type memtype) (function) of group variables is not documented.
/home/ed/tmp/netcdf-c/libdispatch/dvarget.c:555: warning: Member NC_get_varm(int ncid, int varid, const size_t *start, const size_t *edges, const ptrdiff_t *stride, const ptrdiff_t *map, void *value, nc_type memtype) (function) of group variables is not documented.
/home/ed/tmp/netcdf-c/libdispatch/dvarget.c:536: warning: Member NC_get_vars(int ncid, int varid, const size_t *start, const size_t *edges, const ptrdiff_t *stride, void *value, nc_type memtype) (function) of group variables is not documented.
/home/ed/tmp/netcdf-c/libdispatch/dvarinq.c:736: warning: return type of member NC_inq_var_all is not documented
/home/ed/tmp/netcdf-c/libdispatch/datt.c:158: warning: return type of member nc_del_att is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:44: warning: return type of member nc_get_att is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:207: warning: return type of member nc_get_att_double is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:197: warning: return type of member nc_get_att_float is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:177: warning: return type of member nc_get_att_int is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:187: warning: return type of member nc_get_att_long is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:247: warning: return type of member nc_get_att_longlong is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:147: warning: return type of member nc_get_att_schar is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:167: warning: return type of member nc_get_att_short is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:341: warning: return type of member nc_get_att_string is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:137: warning: return type of member nc_get_att_text is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:217: warning: return type of member nc_get_att_ubyte is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:157: warning: return type of member nc_get_att_uchar is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:237: warning: return type of member nc_get_att_uint is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:257: warning: return type of member nc_get_att_ulonglong is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattget.c:227: warning: return type of member nc_get_att_ushort is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattinq.c:72: warning: return type of member nc_inq_att is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattinq.c:101: warning: return type of member nc_inq_attid is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattinq.c:200: warning: return type of member nc_inq_attlen is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattinq.c:129: warning: return type of member nc_inq_attname is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattinq.c:174: warning: return type of member nc_inq_atttype is not documented
/home/ed/tmp/netcdf-c/libdispatch/dattinq.c:149: warning: return type of member nc_inq_natts is not documented
/home/ed/tmp/netcdf-c/libdispatch/datt.c:107: warning: return type of member nc_rename_att is not documented
/home/ed/tmp/netcdf-c/libdispatch/dtype.c:60: warning: Member nc_inq_type_equal(int ncid1, nc_type typeid1, int ncid2, nc_type typeid2, int *equal) (function) of group user_types is not documented.

I have a PR up now that fixes the dattget.c warnings. I will work on the others this morning as a warm-up...

I believe all the doxygen warnings in libdispatch have been handled, which means the public API is fully documented. I will close this ticket.


Stick split labels centered when having different length

Hey @antoniandre,
Is there a way to set the header (split labels) to be centered independent of the length of the label?
I have tried different ways according to the CSS customization and everything on the vue-cal documention (I think), but no success. Have I missed something?
If you give a look at this screenshot of your documentation:

You can confirm that the labels Mom, Dad (3 characters) are almost aligned with the letter "o" of the "No event" indication, right? But Kid 1, Kid 2 and Kid 3 are not aligned with the letter "o", but almost with the letter "N".
So, the more the label has characters, the more it is aligned to the left, until the label is outside the split (lane). My labels are dynamic, so I need them to be centered.
Thanks.

Hi @giulianimartini,
Alright that's an easy one, just add:
.vuecal__split-days-headers .day-split-header {flex-basis: 0;}

I'll see if it's not harmful for all the other cases, if not I will add it directly in the library.

I added it in the codebase and released it. You should be good with that ;)

I just checked that! Thanks for this!
It's working like a charm :D

Great. Closing the issue then.


fix mix

For unknown reasons one file in my code contains this code (certainly months ago when update to pipeable manually I omit this ... it compile = i forget)
import "rxjs/add/operator/distinctUntilChanged";
...
this.form.get('iban').valueChanges.pipe(takeUntil(<Observable<any>> this.ngUnsubscribe))
      .distinctUntilChanged()
      .subscribe(this.onChange_iban.bind(this));

When running tslint my migrate-rxjs.tslint.json nothing change ^^
Is it relevant to fix this kind of code too?

I've tried this locally and I didn't have an issue. Do you have a minimal file that reproduces the issue?

if you compile this green cli6rc4 project issue6.zip with this rxjs-tslint and say it's normal behavior please close issue
FYI: all is inside app.component.ts
I was thinking here outdated will be removed and distinctUntilChange will move inside pipe() with correct path import but ok...

I'm having the same issue that rxjs-5-to-6-migrate only converted the first operator to using pipe, but left all other chained operators untouched (which breaks the build due to changed imports)

same issue for me. Im having to move all my .map operators by hand

What ended up working for me was running the command multiple times.


Maintainers needs more right

Hi !
I just tried the new warehouse, but in many case I can't do anything: I have a lot of project where the owner is one account created for an organization but on which I work as a maintainer with my own account.
This workflow doesn't seems to work on warehouse because maintainers can't do anything else that publish new releases.
I can't delete release anymore on warehouse as a maintainer, the role changed.
Is this possible to:

have multiple owner on a project ?
have an intermediate role between maintainer and owner with more rights ?
have the same permissions for maintainers in warehouse than the legacy PyPI ?
(I think any of these solutions do the job)

Hi, @noirbizarre, and thanks for trying Warehouse and letting us know of your problem!
Right now, in Warehouse,

an Owner owns a project, may add other collaborators for that project, and upload releases for a project. May delete files or releases. Can delete the entire project.

a Maintainer may upload releases for a project. Cannot add collaborators, delete files, delete releases or delete the project.

Can you talk a little about how often you need to delete releases? My personal assumption is that projects very rarely need to delete releases, because instead of deleting a release, a project usually wants to make a new release that supersedes the old one.
Yes, indeed, it is possible to have multiple owners on a project. It sounds like the Owner for many of your projects should promote your account to Owner for those projects.
Thanks!

Hi, I just tested a little bit more and this does not seems to be an issue anymore.
My primary use case was: I need to remove the latest development build so people only see stable version (and this was a daily job). But this is fixed in warehouse by #1519 so there is no need anymore to do so :tada:
Plus, It's already possible to have multiple owners, so everything is perfect :ok_hand:

@noirbizarre Thanks for the update. Glad to hear Warehouse works for you. :tada:
Please consider signing up for our low-traffic announcement email list to get a heads-up when we make any big changes in the future.


[W6.2][T13-B1] Jaryl Tan

added an alert to clear confirmation before executing the clear command

@Juxarius
Please ensure that the build passes before making a pull request.
We hope you were able to get your hands dirty enough to start working on the project's UI.
Closing this PR with minimal review.


How to redirect?

I try in _app
render(){
if(!auth) Router.push('login')
}
and got error
Error: No router instance found.
You should only use "next/router" inside the client side of your app.
how do redirect do right?

The wiki has an entry about this subject.
From what I've seen you should post any future questions not related to actual issues to Next's Spectrum Chat.
Cheers :tada:

@klujanrosas Your example doesnt work in my case

Check the code of this module https://github.com/matthewmueller/next-redirect/ it's actually quite simple, you should redirect in getInitialProps to avoid rendering and fetching unnecessary data.

Maybe some details would be great, instead of just downvoting. Because the example works completely fine for me.

I believe this is a difference in getInitialProps signature for _app.js and normal pages

@sergiodxa @jgillich I am doing something very similar to the implementation in next-redirect but after initiating a redirect on the client (via window.location.href="" where the string is the redirect url), getInitialProps still returns and the page still tries to render briefly before the browser redirects. Do you see the same behavior? Any tips on preventing that behavior?

@klujanrosas how do you redirect with a dynamic route e.g. /blog/:postId?

I am not sure why this got closed when it clearly does not answer the question for so many people.
There HAS to be a way to do redirects outside getInitialProps. I am using relay and don't have the data I need to be able to determine the redirect until the component is partially loaded. At that point, I no longer have access to the router OR the window property, it seems.

Hey, all!
Issuing a side effect during rendering is not a standard React practice.
This can easily become problematic in many scenarios, especially if Next.js ever starts optimistically rendering hidden trees for navigation.
You should avoid redirecting client-side within getInitialProps for the same reason. While this pattern works in practice, the patterns listed below are more encouraged.
Redirects are a side effect, and should occur as so within your component's events:
componentDidMount() { // or componentDidUpdate, depending on what you're trying to do
  if (!auth) {
    Router.push('...')
  }
}

render() {
  if (!auth) {
    return null;
  }
  // ...
}

For a functional component:
function MyPage() {
  useEffect(() => {
    if (!auth) {
      Router.push('...')
    }
  })

  // ...
}


Update packages.

Yes. This has fix for python 3.11 which was released yesterday. pygls had a dependency issue that got addressed today.


CSS gets deleted on each npm start

Hello,
I am trying to edit the resume.css file and every time I save and npm start it, the CSS page automatically deletes anything I have added.
Any help is appreciated.

I'm having this same issue. Did you figure out what was happening?


PR Review levels

See Code review Policy

What is this issue? Why several labels for code review?

To be able click on a label that is on a PR and it will show this issue, which then has the link directly to the definitions.


Update commcid to new codes and validation

Summary of changes
Changes introduced in this pull request:

Issue was just that in copying the buffered blockstore the cids with the new codes were not being ignored

cc @ec2 let me know if this solves
Reference issue to close (if applicable)

Closes
Other information and links

Put back to draft because it is updated on next but not yet on their master branch and network we are interoping against

This change will be needed ~Wed Aug 19, so just opening so it can be reviewed and ready to come in when needed


Question

Can I configure the panel so that the game server is on another server and the panel is on another server?
I want to install web panel on www hosting, where i have only file access, is it possible?

The web panel and daemon can be in two different server.
But you can not run mcsmanager web service without console access.

if u have node installed, the work can be done so.

if not, u can download node and unpack to somewhere you can access. then write a sh file to start the web server with the node you downloaded. without super user permission it's unpossible to install as a service. maybe another startus managers like gnome-tweaks.

if not, u can download node and unpack to somewhere you can access. then write a sh file to start the web server with the node you downloaded. without super user permission it's unpossible to install as a service. maybe another startus managers like gnome-tweaks.

He said he only has file access, how can execute sh file if he can't use the console?

if u only have dir path file access, the work might be impossible.
anyway, u can only put static files there and run web backend in another machine. nginx will help you👀


perf(runtime-core): Improved diff algorithm to reduce duplicate code

When executing the patchKeyedChildrenfunction, there is a part of the logic code that is the same as the logic code in the mountChildren function and unmountChildren function , which has been modified here. Since there is already a withdrawal of the same logic, it should be fully utilized.

I submitted the same PR a few times before, but I happened to encounter that vue/core are migrating from jest to vitest, pr had a lot of problems, and I am now resubmitting to vitest's version

You can see the code changes. The added parameters are for other functions to be called, because they have the same logic code
------------------ Original message ------------------
From: "Jian Zhang";
Sendtime: Friday, Jan 27, 2023 11:56 PM
To: "vuejs/core";
Cc: @.***>; "Manual";
Subject: Re: [vuejs/core] perf(runtime-core): Improved diff algorithm to reduce duplicate code (PR #7584)
@dsonet commented on this pull request.
In packages/runtime-core/src/renderer.ts:
>    ) => { -    for (let i = start; i < children.length; i++) { +    for (let i = start; i < end; i++) {
Why not make this end a local variable rather than add one more argument to the function?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@LinusBorg


[zh]Remove link to compromised github account

Remove link to compromised github account.
And synchronize other modifications of the English upstream version.
related en PR: #30496

/approve

/lgtm


[rdy] pythonPackages.alot: install zsh completion

Motivation for this change
provide zsh completion
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

pinging @Mic92 since you merged a similar zsh completion Pr recently :)


color picker in header

Hi guys.
I need to put a color selector in the header, so the user chooses.
An example is in the image as I want.
Anyone have an idea?

thanks

Hi,
Yes, you can insert HTML in header. See this issue : https://github.com/jspreadsheet/ce/issues/1373
For color, use jSuites color picker for integrate in header : https://jsuites.net/v4/color-picker/basic


Add basic jOOQ demo application and testing rig

Hi there,
after learning that evaluating CrateDB together with jOOQ is a long cherished wish, this patch finally stages a corresponding testing rig.
With kind regards,
Andreas.
/cc @hlcianfagna, @matriv, @mkleen, @proddata, @seut, @hammerhead
About
The idea of jOOQ is to generate typesafe code based on the SQL schema. Then, accessing a database table using the jOOQ DSL API looks like this:
https://github.com/crate/cratedb-examples/blob/278b0f8ad123052c690ccebdce2a064cbc49ce9b/by-language/java-jooq/src/main/java/io/crate/demo/jooq/Application.java#L110-L115
Caveat

jOOQ's code generator takes your database schema and reverse-engineers it into a set of Java classes.

This feature currently does not work with CrateDB yet. The code provided within the src/generated directory has not been derived by reflecting the database schema from CrateDB. In order to make it work out of the box using jOOQ's PostgreSQL dialect, CrateDB would need to support WITH RECURSIVE CTEs.

https://github.com/crate/crate/issues/12544

@amotl Are you sure that you want to check in autogenerated code ? Would it be easier to generate the code add-hoc as part of the build process ?

Are you sure that you want to check in autogenerated code ? Would it be easier to generate the code add-hoc as part of the build process?

@mkleen: It is currently not possible to generate the corresponding code, see the "Caveat" section above. However, I will do it quickly if you can fix https://github.com/crate/crate/issues/12544 right away?

Are you sure that you want to check in autogenerated code ? Would it be easier to generate the code add-hoc as part of the build process?

@mkleen: Thanks for your suggestion. However, it is currently not possible to generate the corresponding code, see the "Caveat" section above. However, I will do it quickly if you can fix crate/crate#12544 right away? ;]

I am referring to the generated domain model such as
https://github.com/crate/cratedb-examples/pull/9/files#diff-8daa01076532b457e57ee3b7ae90d24cf8ff5f1505e155d9777cc151299181efR18

Are you sure that you want to check in autogenerated code ? Would it be easier to generate the code add-hoc as part of the build process?

@mkleen: Thanks for your suggestion. However, it is currently not possible to generate the corresponding code, see the "Caveat" section above. However, I will do it quickly if you can fix crate/crate#12544 right away? ;]

I am referring to the generated domain model such as
https://github.com/crate/cratedb-examples/blob/eb951b9635a56a5c827516159f1c44051459fd52/by-language/java-jooq/src/generated/java/io/crate/demo/jooq/model/tables/records/AuthorRecord.java#L18-L23

It is currently not possible to generate the corresponding code.

jOOQ runs a CTE with WITH RECURSIVE for schema reflection. We are not there yet.

It is currently not possible to generate the corresponding code.

jOOQ runs a CTE with WITH RECURSIVE for schema reflection. We are not there yet.

Ok, now i get it. The sources are not generated from CrateDB. I am not sure if this a good idea to provide this as a sample app then if it's not possible to use straight away.

What's the best practice with jOOQ ? Is it possible to use it without source generation with a normal domain model ?

I am not sure if this a good idea to provide this as a sample app then if it's not possible to use straight away.

Why so serious? Here we go, the intention is clearly stated in the README:

It is intended as a basic example to demonstrate what currently works, and as a testing rig for eventually growing a full-fledged CrateDB dialect, or at least making the code generator work. Contributions are welcome.

What's the best practice with jOOQ? Is it possible to use it without source generation with a normal domain model?

This patch is here to demonstrate just that, right. And to open the door for subsequent refinements.

What's the best practice with jOOQ? Is it possible to use it without source generation with a normal domain model?

This patch is here to demonstrate just that, right. And to open the door for subsequent refinements. Best practice, and main intention, is definitively to use it with code generation, according to upstream docs. Personally, I think the other details of jOOQ are equally powerful, even without using code generation.

I think if we provide an example with CrateDB and jOOQ then this should work out of the box. If the standard workflow is to generate the domain model from the database schema then this should work too. Imagine to explain to a user that he first has to generate the domain model from another database and then modify it by hand to make it work with CrateDB.

I am so serious about that, because I am tired of example apps which don't follow best practices. They are painful to maintain and also painful for the users because they will start on a weak foundation.

I am not sure that committing the generated domain model is not following best practices in this particular case. In order to generate the code, you will need a running database upfront. That would defeat using the domain model within unit tests which use mocking-based techniques right away, essentially rendering the whole application test suite completely useless.
When assembling this code, I followed the same practice of providing the generated domain model classes within the source code repository like seen at ^1. This was invaluable information for me to get started directly using CrateDB, without being able to use the code generator.
I think it is a good start into this topic and will help others to get started quickly as well. I think it does not mislead the user in any way, and follows the style of the example code as provided by the upstream author(s). I would clearly like to see any gaps being closed on behalf of subsequent iterations, in order to leverage more of what jOOQ has to offer.

Imagine to explain to a user that he first has to generate the domain model from another database and then modify it by hand to make it work with CrateDB.

Please also have a look at the "dynamic schema" example code, which also demonstrates a well-supported subset of jOOQ's feature set.
https://github.com/crate/cratedb-examples/blob/eb951b9635a56a5c827516159f1c44051459fd52/by-language/java-jooq/src/main/java/io/crate/demo/jooq/Application.java#L132-L191

Ok, seems like the sample app from jooq also checks in the generated sources
https://github.com/jOOQ/jOOQ-mcve/tree/main/jOOQ-mcve-java/src/main/java/org/jooq/mcve/java

However, I will do it quickly if you can fix https://github.com/crate/crate/issues/12544 right away? ;]

Out of curiosity, is this the only missing feature?
Also is this coming from the pg jdbc driver? have you tried the crate variant?

Also wondering if generation would work, if specified as org.jooq.meta.jdbc.JDBCDatabase?

Thanks for the suggestion, I will try.

Also wondering if code generation would work when using the org.jooq.meta.jdbc.JDBCDatabase generator?

Thanks for the suggestion, I will try.

It also croaks, see https://github.com/crate/cratedb-examples/pull/10#issuecomment-1398655879.

@amotl I spent a bit more time on reading on jOQL. There is the option to use it without code generation. I think I would prefer if we set up an example for jOQL to use an option which the user can reproduce without any hacks. I would also spend a little bit more time on advanced functionality to see if this works end-to-end. Let's make sure this ages well.

However, if https://github.com/crate/crate/issues/12544 is the blocker to jOQl support fully working, I would probably add an issue and then wait for feedback from the community. Then we can support the feature once it gets upvotes.

Hi @mkleen,
thanks for your feedback. Maybe GH-10 already addresses some of your suggestions. I hope that this patch will only be the baseline, and would like to evaluate other features and more advanced operations than just the basic ones demonstrated here, on behalf of subsequent patches.
With kind regards,
Andreas.


Build Fails

git cloned my forked copy (jlpooleen/retina) into /usr/local/src
 cd retina
 cargo build
 ...
   Compiling retina v0.0.1 (/usr/local/src/retina)
error[E0658]: use of unstable library feature 'str_split_once': newly added
   --> src/client/parse.rs:273:18
    |
273 |                 .split_once(' ')
    |                  ^^^^^^^^^^
    |
    = note: see issue #74773 <https://github.com/rust-lang/rust/issues/74773> for more information

error[E0658]: use of unstable library feature 'str_split_once': newly added
   --> src/client/parse.rs:285:18
    |
285 |                 .split_once(' ')
    |                  ^^^^^^^^^^
    |
    = note: see issue #74773 <https://github.com/rust-lang/rust/issues/74773> for more information

error[E0658]: use of unstable library feature 'str_split_once': newly added
   --> src/client/parse.rs:310:18
    |
310 |                 .split_once('/')
    |                  ^^^^^^^^^^
    |
    = note: see issue #74773 <https://github.com/rust-lang/rust/issues/74773> for more information

error[E0658]: use of unstable library feature 'str_split_once': newly added
   --> src/client/parse.rs:553:18
    |
553 |                 .split_once('=')
    |                  ^^^^^^^^^^
    |
    = note: see issue #74773 <https://github.com/rust-lang/rust/issues/74773> for more information

error[E0658]: use of unstable library feature 'str_split_once': newly added
   --> src/codec/aac.rs:323:14
    |
323 |             .split_once('=')
    |              ^^^^^^^^^^
    |
    = note: see issue #74773 <https://github.com/rust-lang/rust/issues/74773> for more information

error[E0658]: use of unstable library feature 'str_split_once': newly added
   --> src/codec/h264.rs:472:41
    |
472 |             let (key, value) = p.trim().split_once('=').unwrap();
    |                                         ^^^^^^^^^^
    |
    = note: see issue #74773 <https://github.com/rust-lang/rust/issues/74773> for more information

error: aborting due to 6 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `retina`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
ares /usr/local/src/retina #

Followed suggested explanation of error:
ares /usr/local/src/retina # rustc --explain E0658
#[repr(u128)] // error: use of unstable library feature 'repr128'
enum Foo {
    Bar(u64),
}
```

If you're using a stable or a beta version of rustc, you won't be able to use
any unstable features. In order to do so, please switch to a nightly version of
rustc (by using [rustup]).

If you're using a nightly version of rustc, just add the corresponding feature
to be able to use it:

```
#![feature(repr128)]

#[repr(u128)] // ok!
enum Foo {
    Bar(u64),
}
```

[rustup]: https://rust-lang.github.io/rustup/concepts/channels.html

Here's what I have installed (high watermark from Gentoo repository):
ares /usr/local/src/retina # eix -I rust
[I] app-eselect/eselect-rust
     Available versions:  20200419
     Installed versions:  20200419(16:34:41 02/07/21)
     Homepage:            https://wiki.gentoo.org/wiki/Project:Rust
     Description:         Eselect module for management of multiple Rust versions

[I] dev-lang/rust
     Available versions:  (stable) 1.51.0-r2(stable/1.51)^t ~1.52.1(stable/1.52)^t
       {clippy debug doc miri nightly parallel-compiler rls rustfmt system-bootstrap system-llvm test verify-sig wasm ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="sse2" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore"}
     Installed versions:  1.51.0-r2(stable/1.51)^t(22:22:19 05/12/21)(-clippy -debug -doc -miri -nightly -parallel-compiler -rls -rustfmt -system-bootstrap -system-llvm -test -verify-sig -wasm ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="sse2" LLVM_TARGETS="X86 -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore")
     Homepage:            https://www.rust-lang.org/
     Description:         Systems programming language from Mozilla

[I] virtual/rust
     Available versions:  1.51.0 ~1.52.1 {ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.51.0(22:23:52 05/12/21)(ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Description:         Virtual for Rust language compiler

Found 3 matches
ares /usr/local/src/retina #

ares /usr/local/src/retina # cargo -V
cargo 1.51.0
ares /usr/local/src/retina #

And, just for completeness, I only have one version staged on my system:
ares /usr/local/src/retina # eselect rust list
Available Rust versions:
  [1]   rust-1.51.0 *
ares /usr/local/src/retina #

The split_once it's complaining about was introduced in Rust 1.52 (latest stable version).

unmasked virtual/rust and dev-lang/rust in Gentoo in /etc/portage/packages.accept_keywords/rust.  Current high watermark for rust in Gentoo is 1.51.[x] :
#
# 6/4/21 jlpoole: required by retina [Moonfire]
#
>=virtual/rust-1.52.1 ~amd64
>=dev-lang/rust-1.52.1 ~amd64

and emerged virutal/rust which brought in rust 1.52.1.
retina successfully compiled.
Also researched if cargo can specify minimum version for rust and determined it cannot -- such a feature is in the Request For Comments phase:  https://github.com/rust-lang/rfcs/pull/2495
Thanks.


How to import a .pem file?

"Alternatively – a cert can be imported into Key Vault – PFX or PEM." ok, yet the keyvault certificate import in the azure management portal fails for .pem files with the error "The file type of the certificate to be imported must be .pfx." - so how do you import a .pem then?

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

ID: 186b5ba4-a5e1-e598-8149-e9079de4d8e2
Version Independent ID: 4f81f071-2f91-f3df-d5d4-64c58a309d30
Content: Get started with Key Vault certificates
Content Source: articles/key-vault/certificate-scenarios.md
Service: key-vault
GitHub Login: @BryanLa
Microsoft Alias: bryanla

@daviburg Can you please check if your PEM file has key as well as x509 certificates.   If you want to import a PEM file to KeyVault, then the PEM file must contain the key as well as x509 certificates while import.

@daviburg We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

@SaurabhSharma-MSFT is there any more documentation around the content of the pem? I am trying to upload a pem with the public and private key, and am getting back the error: "PEM is in unexpected format" is there any way to get more information about what key vault does not like about my pem file?

@SaurabhSharma-MSFT I am trying to upload a cert file in .pfx format with private key but i am getting error that - "Elliptic Curve Cryptography Public Key Algorithm of the x509 certificate in the certificate chain is not supported".
Any idea about this ?


Chartist 0.9

NOT READY FOR MERGE
Between 0.7.x and 0.9.x Chartist has made a number of changes that are causing issues in ember-cli-chartist. I'm still working through the issues trying to get everything back in order.
My main issue right now is trying to get chart rendering working without having data ready on render. This is needed because in a lot of cases data will not be available on page load, but will be fetched from the server and then passed to the Chartist charts. In this branch I have it working for line and bar charts–with some js errors that don't break things, but are unsightly–but this isn't working for pie charts.

@tylergaw if it's okay with you, I'd like to close this in favour of #47 so as to catch this up with master. I think it actually may already be good to go...

@jherdman done and done, thanks


refactor(core): move 'getTransactionsForWalletByPaymentHash' to facade

Description
Makes #4039 diff cleaner

No longer needed


lib_strong/html/svgelement_test is failing since Chrome 50 roll

See for example https://build.chromium.org/p/client.dart/builders/analyzer-mac10.11-release-strong-be/builds/1159/steps/analyze strong tests/logs/stdio
I will make a change to the .status file to turn the bot green again.

@terrylucas

See also https://github.com/dart-lang/sdk/issues/25665.


Sync issue - C64 (US NTSC with 6xxx chips)

Hello!
I just got done installing this mod for my c64 US NTSC model and I am having an issue with sync. I get an image, but it flickers. Neither my test monitor nor my GBS-C scaler likes the output at all. I can see the bootup screen and I can type so I know the C64 is functioning.
Here is a quick video of the issue: https://youtu.be/D48D7ZBlFV0
I have a theory so I'll ask a couple of questions.
On my model, I had a POT on R27 that apparently controls the signal on the RF modulator. It was in the way of the board I needed to install below the VIC20 so I desoldered it, attached some conductors to it and mostly got it out of the way. I made sure that there were no bridges here. Do I possibly need to adjust or even remove this POT? And if I remove, will I need to bridge anything?
UPDATE: I removed the R27 POT entirely, and now the image is more stable but still has a lot of issues.
Picture of the install.

Thanks everyone!

Before anybody wastes time, I think i already see my problem.

Well, that was not it. I fixed that and the pin is making a proper connection now.  However, I still have the rolling image/sync issue as described above :(

I tested Composite out and I get a stable image.

I guess, your problem is caused by the clock generator circuit on your specific board. In some cases the clock signal is so uneven that the mod can not properly sync to it.
There is a way to solve this issue which is nicely summarized at the bottom of this thread (with a video even):
https://github.com/c0pperdragon/C64-Video-Enhancement/issues/53
The real problem here is that you may have to upgrade the firmware on the FPGA for which you need an actual programming device for this (the USB-Blaster).
If you obtained your board from videogameperfection.com, it most probably has the version 2.6 of the firmware which can not yet provide the necessary clock signal.
Maybe your fist attempt could be to try to actually straighten out your clocking circuit. Re-installing the trimmer pot may have some effect. Specifically the signal on the VIC-II pin 22 is crucial here. If you possibly have an oscilloscope this would be of great help here.

The board was built by @bodgit and he thinks it might be revision 2.9 or at least higher than revision 2.6. I believe I have a USB Blaster handy and if I don't then buying a knockoff one is pretty cheap.
I will review the thread and see what my options are. I do happen to have a scope that I acquired a few weeks ago but need to learn.
When you say trimmer pot @c0pperdragon, do you mean R27? I have tried with it in (I connected it via some wire conductors since it was in the way), and the rolling is worse. I pulled it and it's better but still not good. Should I put it back (picture below so that we are on the same page). Thank you for the troubleshooting steps and I'll see what I can do. Much appreciated!!

If you want to use the mod board to generate the pixel clock for an NTSC machine, you need firmware revision 2.10 .
For a PAL machine this was supported earlier since firmware 2.7
I don't have a C64 with thise earlier style clock generation circuit, so I can only guess from the schematics, what R27 is doing. It seems it is needed to fine-tune the primary clock (14.31818 MHz for NTSC). With your oscilloscope you can check at which exact speed this clock is running. This can be directly probed at pin 21 of the VIC-II. Try to tune the R27 pot to hit the exact frequency.
When you already have the proper speed there, you should also check what is going on with the pixel clock on pin 22. This is generated from the primary clock with a pretty complicated PLL circuit and I suspect this very much to not keeping its speed but varying by a noticable amount. This would explain all the reports I have received concerning this issue.
It would be very nice to finally get a confirmation of this.

Thank you for the info! I had some time tonight and was starting out with getting my FW up to 2.10 and I ran into a snag. I'm using Quartus 21 Lite which came with the Max 10 package by default. I did download the extra package they showed on the page, but apparently it's not needed?
I got the USB Blaster driver installed and Quartus sees it and the ribbon is connected to the board. I click Add file and I select the 2.10.pof file I got from the GH releases page and then I click start. At this point it looks like it's working. However, it gets to 4% and stops and eventually times out and fails.
I am new to Quartus so there might be some setting that is not correct? I do have the board still hooked up in the c64 if that matters. I asked around and was told that wouldn't matter and all it needed was power from the c64. So hopefully that was accurate haha.
My goal is to see if this fix actually fixes my issue since it's a bit different than what I saw in the other closed issue and video.  It would be a good first project and possibly help some others out.

I just opened an issue thread firmware flashing, as this seems to become an issue recently:
https://github.com/c0pperdragon/C64-Video-Enhancement/issues/80
Maybe share some screenshot of your programmer version so we can get the reason of this.

I was able to get my firmware updated to latest using Quartus 18.1. It programmed and verified and went to 100%.
I was then able to check to make sure that I was no worse off and I got an output. It had issues with pixels shifting all over, but it wasn't rolling like crazy.
I then did a temp wiring of the pixel clock mod and now I get the normal blue start screen but the lines of text is now a big square of moving garbage.

I made a couple of videos of what I am seeing in hopes that it sheds light on my issue. Without the pixel clock mod, I get an unstable screen/graphics. If I remove POT R27, the image gets a lot more stable, but I will still get unstable graphics. If I install the pixel clock mod, with or without POT R27, I will get a blue screen where the graphics are scrambling.
No Pixel Clock mod installed - https://www.youtube.com/watch?v=PpnNtDq_JnY
Pixel Clock mod installed - https://www.youtube.com/watch?v=wuYv4613QFA

Looking at your picture, it seems that you are feeding the clock signal into the wrong pin on the JTAG header.
You need to feed this into pin 5.
I am sorry that this specific feature (NTSC clock generation) is so obscurely triggered, but I just did not have any free inputs, so I made pin 5 to accept this additional signal possibility (toggling).

Looking at your picture, it seems that you are feeding the clock signal into the wrong pin on the JTAG header. You need to feed this into pin 5.
I am sorry that this specific feature (NTSC clock generation) is so obscurely triggered, but I just did not have any free inputs, so I made pin 5 to accept this additional signal possibility (toggling).

Oh, it's fine that you're using a pin like this. It's rather ingenious to get extra pins for features. However, could you point out exactly which pin is pin5 for you? I looked at both the image in the thread you linked and the video and it looks like I am on the right pin even though I can't really work out how that would be pin 5. https://github.com/c0pperdragon/C64-Video-Enhancement/issues/53#issuecomment-841764357. And the video he made at this time stamp: https://youtu.be/oo_gWjK-gGw?t=2325.
Based on this

And compared to my own (zoomed and rotated), it looks like I am on pin5

So which pin, according to that image, should I be on? Hopefully I did not wreck anything.

Ok, so for anybody in the future reading this, pin5 is marked as below. From the perspective of the image taken in the other thread, and the video, it looked like it was one pin further down (for me anyway).

I was on Pin 7 instead of 5. I am now on 5 and I have what appears to be a perfectly stable image. So that was my problem with that!
However, on to the next problem/question haha!!

Ok, so i noticed this when I first tested the mod and I had an unstable image.  The colors came through, but they were off.  Very green tinted instead of the blue I was expecting. I just verified this by taking a picture of the Component mod that is actually more green IRL than the image conveys, and then another image of Composite out which is the darker blue I was expecting. I do not have Red and Blue swapped incorrectly or anything like that (I swapped them around just in case).
Is this expected?
Also, another oddity I've noticed is that both Composite out and Svideo out has interference now. I don't mind this as I won't be using them, but this unit never had interference before the mod install.
Component:

Composite:

BTW, I confirmed that it was not the LCD's component input and I checked against my main setups CRT. It's still pretty green.

OK, fun story.
Early on when I was troubleshooting stuff, I swapped my TRRS connector from the one Bodgit had sent for the one I used on my NES component out mod. The reason behind this is the one Bodgit sent had Green and Red reversed so I would get no image. I figured I'd check my NES TRRS to see if it had the same issue, and it did not. I got an image as expected (at this point I could not tell the colors all that well).
Fast forward to exactly now, I got it all working fine by switching back to the original TRRS jack. I got to wondering if the jack itself was actually the cause of my issues above. And sure enough, it was. The original jack Bodgit sent with backwards R & G works fine.
I still have an outstanding question about Composite and S-video interference and if that is expected or not. Again, I don't actually care, but somebody else with this unit type might.

To be clear, Component out via the new mod is crystal clear now. The image above has distortion, but that is caused by the camera.
It's only composite and s-video that has the interference that I was describing. And it was happening before I installed the pixel clock mod.
I can adjust the R27 POT to see if that makes any difference. Again, I personally don't have an issue with it as I would only ever use composite/svideo in the future to test with if needed, but somebody reading this in the future might.
Otherwise, I believe my issue is closed. Thank you very much @c0pperdragon, @bodgit and everyone else who chipped in. It's very much appreciated!


correct parsing (the ranges are not mandatory in vensim lookup table)

I ported the World3 model, I needed to do this change to make it successful... It may be incorrect, please suggest another solution if needed.

Coverage remained the same at 89.238% when pulling 78356f7b05f2759cd9dd7291be900279400873f2 on ainar:master into c478e8391c047e3bc7837312a6b405fdf097c95e on JamesPHoughton:master.

I'm doing it through my internship at INRIA (we will work a lot more with this model). Some things may be incorrect, but the output that the Python version give me is very similar (actually identical) to the original 2003 version. You can find my portage on this repo: https://gitlab.inria.fr/arasoldi/world3-03_python
I also have a blog about this: https://broco.ga (in French, sorry) (sorry for the ad.....) but I will be very happy if I get some comments or suggestions!

That disagreement in the population between PySD and Vensim is a big deal - we need to figure that out. Let me know what you find, and I'll try to be helpful if I can. I'm not convinced that its due to the single precision/double precision thing - that would call into question a lot more than just vensim vs. pysd. More like, all of our trust in computer modeling.
The blog looks great, google translates it adequately well. =)

That disagreement in the population between PySD and Vensim is a big deal

Oh! I really need to update it quickly :O, I resolved the problem (it was an inattention... I compared the wrong values from Vensim as I selected the wrong W3 scenario)

That makes me feel muuuuch better. Thanks!
Before I merge your changes into master, I'd like to have a test case for them (its the only insurance against braking things again later in the future...) I'd be happy to build the case, but you might find it interesting and satisfying to do so yourself - there's a nice, geeky sense of completeness.
You'd need to do add a folder to the test models repo, you can probably use one of the other lookups tests as a template, do a PR there (which I'll approve) and then update integration_test_vensim_pathway.py to run the test. Then when you commit, you'll be able to go to travis and see the test passing. (I'm afraid there are a lot failing at the moment, which is a pain).
Let me know if you'd like to do that, otherwise I'll get to it when I have a chance...

It is okay for me! I will try to do it in the week.

How can I re-run the tests? (I commit too early)

Best is probably to sync your local repo with the test-models master, so that your local pysd repo points to the right commit of the tests subrepo. Then recommit the PySD repo. =)
James

On Jun 16, 2018, at 1:43 PM, ainar<EMAIL_ADDRESS>wrote:
How can I re-run the tests? (I commit too early)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/JamesPHoughton/pysd/pull/183#issuecomment-397828348, or mute the thread https://github.com/notifications/unsubscribe-auth/AEGuXq7Tb-4iowtik8TwxkH_R0ACUqhyks5t9UO0gaJpZM4UpsvJ.

I think it is ok for the tests!

Thanks, great PR! #