Use clear concept to replace std::enable_if

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.08 seconds
stream load tsv:          515 seconds loaded<PHONE_NUMBER>9 Bytes, about 138 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>0 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.16 seconds
stream load tsv:          514 seconds loaded<PHONE_NUMBER>9 Bytes, about 138 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>2 Bytes


unable to run command with prefix

As example npm --prefix myPath run codegen this works but when i try to use it with dotenv :
dotenv -e .env.dev npm --prefix myPath run codegen  I see error :
npm ERR! Missing script: "codegen"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

This is just example, the same behaviour with other scripts, does dotenv cli affects somehow path resolving or what is the reason ?

Please read the readme https://github.com/entropitor/dotenv-cli#flags-to-the-underlying-command
dotenv -e .env.dev -- npm --prefix myPath run codegen


Introduce FuncInfoRef, a wrapped raw pointer to UserFunctionInfo.

This PR:

Implement FuncInfoRef as a wrapped raw pointer to UserFunctionInfo. This allows significant reduction of the size of FunctionObjectKind and ExecContext, and save much time to copying function objects and ExecContext, especially in invoking JS functions (approx. 50% in CALL instruction).
Some refactoring includes moving test code for VM execution (previously in main.rs) to the test crate(./tests).

pub enum FunctionObjectKind {
    User {
        /// Internal slot \[\[Environment\]\]
        outer_env: Option<LexicalEnvironmentRef>,
        info: FuncInfoRef,
    },
    Builtin(BuiltinFuncTy),
}

#[derive(Clone, Debug)]
pub struct UserFunctionInfo {
    pub func_name: Option<String>,

    /// Unique id for many purposes
    pub func_id: FunctionId,

    /// Module id
    pub module_func_id: FunctionId,

    /// Internal slot \[\[FormalParameters\]\]
    pub params: Vec<FunctionParameter>,

    /// Variable declared names
    pub var_names: Vec<String>,

    /// Lexically declared names
    pub lex_names: Vec<String>,

    /// Declared functions to initialize
    pub func_decls: Vec<FuncInfoRef>,

    /// Bytecode to execute
    pub code: ByteCode,

    /// Exception table
    pub exception_table: Vec<Exception>,

    ...and so on
}

#[derive(Clone, Debug, Copy)]
pub struct FuncInfoRef(*mut UserFunctionInfo);

benchmark (examples/fibo.js)
<before>
# performance analysis
total execution time:    5553963 microsecs
gc time:                 1101062 microsecs
Inst          total %    ave.time / inst
...
Call          38.45 %       2077 nsecs
Return         8.04 %        434 nsecs
GetValue      18.66 %        336 nsecs

<after>
# performance analysis
total execution time:    4013104 microsecs
gc time:                  860049 microsecs
Inst          total %    ave.time / inst
...
Call          23.59 %        921 nsecs
Return         8.17 %        319 nsecs
GetValue      26.02 %        338 nsecs

Excellent :)


64b support for iOS

Apple has announced:
As we announced in October, beginning February 1, 2015 new iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK. Beginning June 1, 2015 app updates will also need to follow the same requirements.

Please check the beta branch. It has been updated for Adobe AIR 16.0 beta and supports iOS 64-bit architecture:
https://github.com/MobileAppTracking/air-plugin/tree/beta

Beta branch is the same as master, please check if you have pushed the changes.
Thanks


search should be case insensitive

http://gimmefreshdata.github.io/?limit=20&taxonSelector=aphaenogaster picea%2Caphaenogaster fulva%2Caphaenogaster rudis&traitSelector=&wktString=POLYGON ((-138.8671875 44%2C -138.8671875 70%2C -47.8125 70%2C -47.8125 44%2C -138.8671875 44))
returns two records from GBIF with taxon name = aphaenogaster picea, but
http://gimmefreshdata.github.io/?limit=20&taxonSelector=Aphaenogaster picea%2CAphaenogaster fulva%2CAphaenogaster rudis&traitSelector=&wktString=POLYGON ((-138.8671875 44%2C -138.8671875 70%2C -47.8125 70%2C -47.8125 44%2C -138.8671875 44))
does not include them. Case never provides useful information in a taxon name and we can expect it to be irregular.

I could argue that making the searches case insensitive turns the exact matches into fuzzy matches. I'd argue that "homo sapiens" and "Homo sapiens" are really two very different things. Let us discuss by voice.

Addressing this by inserting the GN Parser before harvested data and searcher input. The capitalization issue will be taken up with GNA if needed.

@jhammock I changed my mind on this. Now, the taxon selector is case insensitive as you requested.  Also see #47 . Will close issue as soon as changes have propagated to the monitors.

That works for me; thanks for the update!

Changes have propagated. Now, both aphaenogaster picea|aphaenogaster fulva|aphaenogaster rudis and Aphaenogaster picea|Aphaenogaster rudis|Aphaenogaster fulva yield the same results.


Search editor: "ApplyChanges" not working in latest release

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.83.0
OS Version: OsX Ventura 13.0

Steps to Reproduce:

search.action.openEditor
search for some term
Do some changes to shown results
searchEditorApplyChanges.apply
Seems normal - Editor is no longer marked as dirty/unsaved
BUG: ...but unfortunately no changes are made to the files :(

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.83.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Corrected! It was a typo. My version is actually 1.83.0

@hediet
@hediet @chavlji Note that it starts working for me if a disable the  Toggle Context Lines icon/option (the icon on the far right).
 Thank you @ArturoDent !
But still please fix it @JacksonKearl to work as it should! 🙏🏻🙏🏻🙏🏻

This should be filed with https://github.com/JacksonKearl/vscode-search-editor-apply-changes


Error in model.linearize()

I have tried your example.
"model.linearize() "causses folloing error
have an idea?
AttributeError                            Traceback (most recent call last)
<ipython-input-13-62321030cd0e> in <module>()
----> 1 model.linearize()

C:\Applications\WinPython-64bit-<IP_ADDRESS>\python-2.7.9.amd64\lib\site-packages\pymola\sympy_runtime.pyc in linearize(self, x0, u0)
     59             u0 = self.x.subs(self.u0)[:]
     60         for i in range(len(ss)):
---> 61             ss_eval += [pl.matrix(ss[i].subs(ss_subs)).astype(float)]
     62         return ss_eval
     63

AttributeError: 'module' object has no attribute 'matrix'

My pylab had been an old version (0.1.3)
After I installed new version, it seems working.
Great project!

Thanks!

Just for your information,
In my case, the pylab was wrong.  Matplotlib will also install pylab. It seems separatelly installing additional pylab causes problem. By unistalling pylab,  I got through it.
http://stackoverflow.com/questions/32279887/pylab-module-object-has-no-attribute-figure


Rating graph scales show possible floating point errors

Sometimes rating graphs seem to have floating point error. For instance, https://agagd.usgo.org/player/12986/ currently shows ticks with values -4.4, -4.2, -4, followed by what I presume are 3.80000003, 3.600000005, 3.40000003, or something similar (the actual 3.8, 3.6, etc. are clipped and do not appear). The following tick is -3.2, then more long decimals.
I don't know if this is a limitation of a library being used, or if it can be worked around.

There is an issue with this user as their ratings page is only showing three tournaments yet they have played in more: https://agagd.usgo.org/ratings/12986/


Trigger PDF page view from citation list

When I select a citation
    and that citation is bound to a PDF
        and that citation has pages populated
            and the PDF (Document) has pages defined
                then a button is present to open and view that page in the PDF viewer

This is already implemented on new taxon name, other place to use this? annotator?

Anwhere we list citations.  Prolly we need a generic citation list
component?
On Thu, Feb 1, 2018 at 2:54 PM, José Luis Pereira<EMAIL_ADDRESS>wrote:

This is already implemented on new taxon name, other place to use this?
annotator?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SpeciesFileGroup/taxonworks/issues/311#issuecomment-362398550,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABYSLIk9LkCPRJr3pOCmG6frK4e9p5Wks5tQiSIgaJpZM4RqTbb
.

Well, I've thinking to add it at the list component, like as we already have the annotator icon


Deprecate and stop using NullThrownError

In (sound) null safe Dart, you cannot throw null. The throw operator expects a non-null operand. If you throw a dynamic-typed null value, you should get an error from the implicit downcast, not a NullThrownError. Same if you try to go through async operations or Error.throwWithStacktrace.
That means that we no longer need the NullThrownError error. Instead we should throw a TypeError for the invalid downcast from null to Object at points where you somehow manage to get a null into throw-error-position.
We should remove references to NullThrownError from the language specification, and we can then deprecate NullThrownError and remove it when ready, no sooner than when removing unsound null-safety mode.

Some tests that contain expectations for a NullThrownError  and need updating:
language/exception/exception_test
language_2/exception/exception_test

@lrhn
After the breaking change are we planning on having these test expectations diverge: TypeError with sound null safety, NullThrownError without? From the DDC perspective it seems easy enough to implement it in both at the same time and would allow for the error class to be removed from the SDK earlier.

Sounds good, thanks. I'll be waiting for the OK to land my cleanup.
I believe in targets building for the web there will be some settings were code will still be running in weak null safety in Dart 3.0. That said, as I understand it now this is a breaking change in Dart 3.0. The class will be removed and any code running with the Dart 3.0 SDK will need to cleanup all uses of the NullThrownError.

Even if we leave in the ability to compile weak null-safety code in the web compilers for a short while after 3.0, for technical reasons, we still expect that code to have stopped using NullThrownError. That's a much smaller fix than a full migration, and it is not expected to be a problem.

I have a CL ready that removes the use of the class from DDC that I created when I saw this issue get filed https://dart-review.googlesource.com/c/sdk/+/273281.
I haven't done any research into whether this is safe to land or not. A quick search in google3 looks like there are expectations for the error that ignore the deprecation message. It could be breaking for me to land it.
@lrhn Will the language/library team be cleaning up those uses?

@nshahan we have a CL cleaning up the uses of CyclicInitializationError, but no one covering the NullThrownError, so I've been looking around for an expert in this area.


Add homepage slideshow

What needs to happen is to add more clips to the sequence and update with newer things. Make sure the video format and size is optimized for web viewing.

Updated, but the quality is pretty low


Gamekins

Repository URL
https://github.com/se2p/gamekins
New Repository Name
gamekins-plugin
Description
Gamekins is a neologism consisting of the words Gamification and Jenkins. This describes best what Gamekins is built for: The integration of Gamification into Jenkins. Gamekins can be used on project level to add various Gamification elements to the Continuous Integration lifecycle of the project. This enables a better and more motivated environment for developers in the project, especially for testing. Gamekins aims to improve the motivation of developers to test their project more thoroughly and therefore to increase the quality of the software.
There is a similar Plugin (ci-game), which is not maintained for more than five years. Gamekins supports much more features and gamification elements and has more focus on active participation than ci-game. ci-game uses static code analysis to award points, Gamekins instead creates challenges for the users, which have to be solved actively.
GitHub users to have commit permission
@PhilippStraubinger
Jenkins project users to have release permission
straubin
Issue tracker
GitHub issues

/hosting re-check

/hosting re-check

/hosting host


More modularity

Hello! Awesome project, looks very much like what I'd like to use (or implement myself), except I need to use a different networking layer for my game.
I figured I could simply use the replication_core - but that is also dependent on renet. Would be great if this project was working around simply a trait anyone could implement as a bring-your-own networking layer kind of thing.
In addition, the project is currently structured as a single crate. I suspect I will have issues with building it to wasm for the web due to the dependencies on Send/Sync stuff and other things that don't work in wasm - so even if I won't use them I suspect it won't build.

Would you consider restructuring the code in such a way that:

It allows pluggable networking backends, with renet implemented out of the box as one of them.
The core replication logic is usable without the networking at all, as a self-contained package. The networking layer can work on top of the replication mechanisms, by driving the inner workings however needed.
The core logic (and possibly the networking interface itself) can be usable in wasm - so it can run in the browser.

The rationale for (2) in addition to (1) is that in the browser environment, it could be possible that the data exchange is not even done via the network in common sense - maybe it uses message posting or some other odd way (i.e. serializing the exchanges via HTTP requests and SSE responses). In these situations, it would be hard to implement a trait that looks something like a networking API, but it would be possible to drive the core logic via the data obtained "somehow".

Hi! Thanks.
I thought about exactly this. The project originated from the networking from my game, that's why it coupled with Renet. My plan was to introduce a trait and have a separate bevy_replicon_renet crate.
Although Renet also recently introduced different transports... So I currently not sure which path to take. I think having different transports on Renet side is easier to maintain. However it currently doesn't support wasm, so someone need to write this transport layer.

I suggest going with replicon's own traits - it will definitely be beneficial, and it will allow the implementation to be more expressive.
In my game I have a layer of traits for networking (that describes what my game needs). I have a couple of networking implementations that are directly using the natively available APIs that the platform offers, and there is another implementation that is itself based on an abstraction layer around the networking (this thing actually: https://github.com/MOZGIII/xwebtransport). I can highly recommend this approach, as it is very interesting to compare the implementations and investigate the architectural designs that would've been otherwise undiscovered.

On the renet side - it would be cool to add WebTransport as a backing transport, and it would probably be easy since it should only need its unreliable datagrams part, as renet has its own implementations for the rest to be built on top. The only downside of WebTransport for that, in particular, is that it is sometimes implemented on top of HTTP/2 which will make unreliable datagrams actually (unwantedly) reliable (and thus slow).

Makes sense... I also had similar suggestions in Discord.
I currently focused on my game, but if you want to tackle this issue - I will be happy to review and merge it. Also feel free to ask any questions about the architecture.

Maybe a bit later. I could do it, but it seems like a lot of work, and this would be a pretty deep dive - so I'm not sure I have the bandwidth for that now.

Understandable. But it's not that coupled with Renet really. All is needed is to create traits for clients and servers and make plugins generic. And then create a crate for renet that implements this trait.

In these situations, it would be hard to implement a trait that looks something like a networking API, but it would be possible to drive the core logic via the data obtained "somehow".

But not sure about this... This crate need only message sending, receiving and list of client IDs.


benchmark setup --use-selected fails if select-apps is not ran first

Describe the bug
If you run benchmark setup --use-selected without previously running select-apps, the program will exit with the error "Benchmark file not built!  All apps were unowned and could not be included!" which could be more intuitive.
Additional Details

Platform you are running SteamPrefill on:  Windows
Discord Username (if you are part of the Lancache Discord Server) : matiaslgonzalez
Region : South America

Screenshots

Released in v2.2.0


Installation failed  on Windows 10

Installation failed  on Windows 10
it is shame Microsoft can not develop package to be in installed on Windows
error message is
  Found existing installation: greenlet 0.4.12
Cannot uninstall 'greenlet'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

all installation history
Microsoft Windows [Version 10.0.17763.557]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\sndr\Downloads>pip install numpy scipy pyscaffold
Requirement already satisfied: numpy in c:\users\sndr\anaconda3\lib\site-packages (1.15.4)
Requirement already satisfied: scipy in c:\users\sndr\anaconda3\lib\site-packages (1.0.0)
Collecting pyscaffold
  Downloading https://files.pythonhosted.org/packages/d3/3f/0ce77998683cb7967ba7d98b114b8a6a954a731b812f455dee57f1636853/PyScaffold-3.1-py3-none-any.whl (163kB)
    100% |████████████████████████████████| 174kB 75kB/s
Requirement already satisfied: setuptools>=38.3 in c:\users\sndr\anaconda3\lib\site-packages (from pyscaffold) (40.8.0)
Installing collected packages: pyscaffold
Successfully installed pyscaffold-3.1

C:\Users\sndr\Downloads>pip install -U interpret
Collecting interpret
  Downloading https://files.pythonhosted.org/packages/d8/0c/3b4b55e69dad95131126ffb3eaa7a8b2f43e7796775aa5dd8123531fab8a/interpret-0.1.9-py3-none-any.whl (4.1MB)
    100% |████████████████████████████████| 4.1MB 3.3MB/s
Collecting pytest>=4.3.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/b3/eb/df264c0b1ff4aaf263375dc09aabd9093364f66060be9b26f3a2c166d558/pytest-4.6.3-py2.py3-none-any.whl (229kB)
    100% |████████████████████████████████| 235kB 6.0MB/s
Collecting gevent>=1.4.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/51/97/2e1e8aa7ea27171c3e249480d382e78b49ab4cead5dafb2124d2a1b58a83/gevent-1.4.0-cp36-cp36m-win_amd64.whl (3.0MB)
    100% |████████████████████████████████| 3.0MB 3.8MB/s
Collecting skope-rules>=1.0.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/56/b0/b56fb8d186f35089a469dc788c32ac99cf0276eae567736325b179b71db0/skope-rules-1.0.0.tar.gz (2.0MB)
    100% |████████████████████████████████| 2.0MB 3.4MB/s
Collecting dash==0.39.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/38/c0/353ba9f56f171389f0b4985f0481805219fc1921d651586c51345b89c1ea/dash-0.39.0.tar.gz (40kB)
    100% |████████████████████████████████| 40kB 2.6MB/s
Requirement already satisfied, skipping upgrade: nbconvert>=5.4.1 in c:\users\sndr\anaconda3\lib\site-packages (from interpret) (5.4.1)
Collecting dash-table-experiments==0.6.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/6f/4a/e201fe7419a250c35635fb0b81f3cba8cf19ed4e3663fda6cd08e7bd0655/dash_table_experiments-0.6.0.tar.gz (738kB)
    100% |████████████████████████████████| 747kB 4.5MB/s
Collecting dash-renderer==0.20.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/c4/dd/f686321d054bb1e145d3a7d1f6600516de535b0d597bcf7701dbb96b1262/dash_renderer-0.20.0.tar.gz (920kB)
    100% |████████████████████████████████| 921kB 5.4MB/s
Collecting SALib>=1.3.3 (from interpret)
  Downloading https://files.pythonhosted.org/packages/12/8b/14f6c0f0a12b29d5e1766e7a585269cd6ec9728a63886c161a6eddb4e7fa/SALib-1.3.7.tar.gz (854kB)
    100% |████████████████████████████████| 860kB 3.8MB/s
Collecting lime>=<IP_ADDRESS> (from interpret)
  Downloading https://files.pythonhosted.org/packages/07/20/a4a59ed562610e19fea333da48bb5fab978a72acbe8e831930f444cd69c9/lime-<IP_ADDRESS>.tar.gz (272kB)
    100% |████████████████████████████████| 276kB 3.8MB/s
Collecting shap>=0.28.5 (from interpret)
  Downloading https://files.pythonhosted.org/packages/5d/34/4a3e429f969cc69ab4e910154360adab3f56cdde02a42f12e170625e71e1/shap-0.29.1-cp36-cp36m-win_amd64.whl (258kB)
    100% |████████████████████████████████| 266kB 2.8MB/s
Collecting ipython>=7.4.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/a9/2e/41dce4ed129057e05a555a7f9629aa2d5f81fdcd4d16568bc24b75a1d2c9/ipython-7.5.0-py3-none-any.whl (770kB)
    100% |████████████████████████████████| 778kB 6.5MB/s
Collecting dash-core-components==0.44.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/07/8b/e7193b60288f62c6c40da7d3fdbd01ccdc6752dbf25e9ef60912a5948938/dash_core_components-0.44.0.tar.gz (4.2MB)
    100% |████████████████████████████████| 4.2MB 3.8MB/s
Collecting scipy>=1.2.1 (from interpret)
  Downloading https://files.pythonhosted.org/packages/9e/fd/9a995b7fc18c6c17ce570b3cfdabffbd2718e4f1830e94777c4fd66e1179/scipy-1.3.0-cp36-cp36m-win_amd64.whl (30.5MB)
    100% |████████████████████████████████| 30.5MB 1.1MB/s
Collecting psutil>=5.6.2 (from interpret)
  Downloading https://files.pythonhosted.org/packages/86/91/f15a3aae2af13f008ed95e02292d1a2e84615ff42b7203357c1c0bbe0651/psutil-5.6.3-cp36-cp36m-win_amd64.whl (234kB)
    100% |████████████████████████████████| 235kB 3.5MB/s
Requirement already satisfied, skipping upgrade: pandas>=0.24.0 in c:\users\sndr\anaconda3\lib\site-packages (from interpret) (0.24.2)
Requirement already satisfied, skipping upgrade: ipykernel>=5.1.0 in c:\users\sndr\anaconda3\lib\site-packages (from interpret) (5.1.0)
Collecting dash-html-components==0.14.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/08/1f/943c0f90d957fdff6c5968ea80694b2959d0b0ec959be17a1478e3c97e5a/dash_html_components-0.14.0.tar.gz (537kB)
    100% |████████████████████████████████| 542kB 5.9MB/s
Collecting scikit-learn>=0.20.0 (from interpret)
  Downloading https://files.pythonhosted.org/packages/a9/bc/18663f6d75838b73353ba49fabd631347e68470ec9e623d7b3f3ccd4f426/scikit_learn-0.21.2-cp36-cp36m-win_amd64.whl (5.9MB)
    100% |████████████████████████████████| 5.9MB 3.4MB/s
Collecting plotly>=3.8.1 (from interpret)
  Downloading https://files.pythonhosted.org/packages/ff/75/3982bac5076d0ce6d23103c03840fcaec90c533409f9d82c19f54512a38a/plotly-3.10.0-py2.py3-none-any.whl (41.5MB)
    100% |████████████████████████████████| 41.5MB 390kB/s
Requirement already satisfied, skipping upgrade: joblib>=0.12.5 in c:\users\sndr\anaconda3\lib\site-packages (from interpret) (0.13.1)
Collecting dash-cytoscape==0.1.1 (from interpret)
  Downloading https://files.pythonhosted.org/packages/aa/93/d9db22331dcad4a055631372816bf4544a1a1a852fb2fa3a2905c6682198/dash_cytoscape-0.1.1.tar.gz (3.4MB)
    100% |████████████████████████████████| 3.4MB 3.2MB/s
Collecting pytest-runner>=4.4 (from interpret)
  Downloading https://files.pythonhosted.org/packages/f8/31/f291d04843523406f242e63b5b90f7b204a756169b4250ff213e10326deb/pytest_runner-5.1-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: numpy>=1.15.1 in c:\users\sndr\anaconda3\lib\site-packages (from interpret) (1.15.4)
Requirement already satisfied, skipping upgrade: six>=1.10.0 in c:\users\sndr\anaconda3\lib\site-packages (from pytest>=4.3.0->interpret) (1.11.0)
Requirement already satisfied, skipping upgrade: py>=1.5.0 in c:\users\sndr\anaconda3\lib\site-packages (from pytest>=4.3.0->interpret) (1.5.2)
Requirement already satisfied, skipping upgrade: colorama; sys_platform == "win32" in c:\users\sndr\anaconda3\lib\site-packages (from pytest>=4.3.0->interpret) (0.3.9)
Collecting pluggy<1.0,>=0.12 (from pytest>=4.3.0->interpret)
  Downloading https://files.pythonhosted.org/packages/06/ee/de89e0582276e3551df3110088bf20844de2b0e7df2748406876cc78e021/pluggy-0.12.0-py2.py3-none-any.whl
Collecting importlib-metadata>=0.12 (from pytest>=4.3.0->interpret)
  Downloading https://files.pythonhosted.org/packages/bd/23/dce4879ec58acf3959580bfe769926ed8198727250c5e395e6785c764a02/importlib_metadata-0.18-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: attrs>=17.4.0 in c:\users\sndr\anaconda3\lib\site-packages (from pytest>=4.3.0->interpret) (17.4.0)
Requirement already satisfied, skipping upgrade: packaging in c:\users\sndr\anaconda3\lib\site-packages (from pytest>=4.3.0->interpret) (16.8)
Requirement already satisfied, skipping upgrade: wcwidth in c:\users\sndr\anaconda3\lib\site-packages (from pytest>=4.3.0->interpret) (0.1.7)
Collecting atomicwrites>=1.0 (from pytest>=4.3.0->interpret)
  Downloading https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: more-itertools>=4.0.0; python_version > "2.7" in c:\users\sndr\anaconda3\lib\site-packages (from pytest>=4.3.0->interpret) (6.0.0)
Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" (from gevent>=1.4.0->interpret)
  Downloading https://files.pythonhosted.org/packages/a9/a3/2a7a15c2dc23f764eaed46d41e081659aadf45570b4170156dde1c76d4f7/greenlet-0.4.15-cp36-cp36m-win_amd64.whl
Collecting cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython" (from gevent>=1.4.0->interpret)
  Downloading https://files.pythonhosted.org/packages/f1/b5/ca3583cbf7975f53b030be773caeabd4e19bac467714e525eaff447a8ac8/cffi-1.12.3-cp36-cp36m-win_amd64.whl (171kB)
    100% |████████████████████████████████| 174kB 2.1MB/s
Requirement already satisfied, skipping upgrade: Flask>=0.12 in c:\users\sndr\anaconda3\lib\site-packages (from dash==0.39.0->interpret) (0.12.2)
Collecting flask-compress (from dash==0.39.0->interpret)
  Downloading https://files.pythonhosted.org/packages/0e/2a/378bd072928f6d92fd8c417d66b00c757dc361c0405a46a0134de6fd323d/Flask-Compress-1.4.0.tar.gz
Collecting dash-table==3.6.0 (from dash==0.39.0->interpret)
  Downloading https://files.pythonhosted.org/packages/a3/3a/eae584bb7eccdf93d2931c4ebf43e55937cf22d51ad63551241fc83d68fc/dash_table-3.6.0.tar.gz (468kB)
    100% |████████████████████████████████| 471kB 5.1MB/s
Requirement already satisfied, skipping upgrade: mistune>=0.8.1 in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (0.8.3)
Requirement already satisfied, skipping upgrade: jinja2 in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (2.10)
Requirement already satisfied, skipping upgrade: pygments in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (2.2.0)
Requirement already satisfied, skipping upgrade: traitlets>=4.2 in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (4.3.2)
Requirement already satisfied, skipping upgrade: jupyter_core in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (4.4.0)
Requirement already satisfied, skipping upgrade: nbformat>=4.4 in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (4.4.0)
Requirement already satisfied, skipping upgrade: entrypoints>=0.2.2 in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (0.2.3)
Requirement already satisfied, skipping upgrade: bleach in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (3.1.0)
Requirement already satisfied, skipping upgrade: pandocfilters>=1.4.1 in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (1.4.2)
Requirement already satisfied, skipping upgrade: testpath in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (0.3.1)
Requirement already satisfied, skipping upgrade: defusedxml in c:\users\sndr\anaconda3\lib\site-packages (from nbconvert>=5.4.1->interpret) (0.5.0)
Requirement already satisfied, skipping upgrade: matplotlib in c:\users\sndr\anaconda3\lib\site-packages (from SALib>=1.3.3->interpret) (2.2.2)
Requirement already satisfied, skipping upgrade: scikit-image>=0.12 in c:\users\sndr\anaconda3\lib\site-packages (from lime>=<IP_ADDRESS>->interpret) (0.13.1)
Requirement already satisfied, skipping upgrade: tqdm in c:\users\sndr\anaconda3\lib\site-packages (from shap>=0.28.5->interpret) (4.26.0)
Collecting prompt-toolkit<2.1.0,>=2.0.0 (from ipython>=7.4.0->interpret)
  Downloading https://files.pythonhosted.org/packages/f7/a7/9b1dd14ef45345f186ef69d175bdd2491c40ab1dfa4b2b3e4352df719ed7/prompt_toolkit-2.0.9-py3-none-any.whl (337kB)
    100% |████████████████████████████████| 337kB 6.8MB/s
Requirement already satisfied, skipping upgrade: pickleshare in c:\users\sndr\anaconda3\lib\site-packages (from ipython>=7.4.0->interpret) (0.7.4)
Requirement already satisfied, skipping upgrade: jedi>=0.10 in c:\users\sndr\anaconda3\lib\site-packages (from ipython>=7.4.0->interpret) (0.11.1)
Requirement already satisfied, skipping upgrade: setuptools>=18.5 in c:\users\sndr\anaconda3\lib\site-packages (from ipython>=7.4.0->interpret) (40.8.0)
Requirement already satisfied, skipping upgrade: decorator in c:\users\sndr\anaconda3\lib\site-packages (from ipython>=7.4.0->interpret) (4.2.1)
Collecting backcall (from ipython>=7.4.0->interpret)
  Downloading https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df935d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz
Requirement already satisfied, skipping upgrade: pytz>=2011k in c:\users\sndr\anaconda3\lib\site-packages (from pandas>=0.24.0->interpret) (2018.9)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.5.0 in c:\users\sndr\anaconda3\lib\site-packages (from pandas>=0.24.0->interpret) (2.6.1)
Requirement already satisfied, skipping upgrade: jupyter-client in c:\users\sndr\anaconda3\lib\site-packages (from ipykernel>=5.1.0->interpret) (5.2.4)
Requirement already satisfied, skipping upgrade: tornado>=4.2 in c:\users\sndr\anaconda3\lib\site-packages (from ipykernel>=5.1.0->interpret) (4.5.3)
Requirement already satisfied, skipping upgrade: requests in c:\users\sndr\anaconda3\lib\site-packages (from plotly>=3.8.1->interpret) (2.18.4)
Collecting retrying>=1.3.3 (from plotly>=3.8.1->interpret)
  Downloading https://files.pythonhosted.org/packages/44/ef/beae4b4ef80902f22e3af073397f079c96969c69b2c7d52a57ea9ae61c9d/retrying-1.3.3.tar.gz
Collecting zipp>=0.5 (from importlib-metadata>=0.12->pytest>=4.3.0->interpret)
  Downloading https://files.pythonhosted.org/packages/a0/0f/9bf71d438d2e9d5fd0e4569ea4d1a2b6f5a524c234c6d221b494298bb4d1/zipp-0.5.1-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: pyparsing in c:\users\sndr\anaconda3\lib\site-packages (from packaging->pytest>=4.3.0->interpret) (2.2.0)
Requirement already satisfied, skipping upgrade: pycparser in c:\users\sndr\anaconda3\lib\site-packages (from cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython"->gevent>=1.4.0->interpret) (2.18)
Requirement already satisfied, skipping upgrade: Werkzeug>=0.7 in c:\users\sndr\anaconda3\lib\site-packages (from Flask>=0.12->dash==0.39.0->interpret) (0.14.1)
Requirement already satisfied, skipping upgrade: itsdangerous>=0.21 in c:\users\sndr\anaconda3\lib\site-packages (from Flask>=0.12->dash==0.39.0->interpret) (0.24)
Requirement already satisfied, skipping upgrade: click>=2.0 in c:\users\sndr\anaconda3\lib\site-packages (from Flask>=0.12->dash==0.39.0->interpret) (6.7)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in c:\users\sndr\anaconda3\lib\site-packages (from jinja2->nbconvert>=5.4.1->interpret) (1.0)
Requirement already satisfied, skipping upgrade: ipython_genutils in c:\users\sndr\anaconda3\lib\site-packages (from traitlets>=4.2->nbconvert>=5.4.1->interpret) (0.2.0)
Requirement already satisfied, skipping upgrade: jsonschema!=2.5.0,>=2.4 in c:\users\sndr\anaconda3\lib\site-packages (from nbformat>=4.4->nbconvert>=5.4.1->interpret) (2.6.0)
Requirement already satisfied, skipping upgrade: webencodings in c:\users\sndr\anaconda3\lib\site-packages (from bleach->nbconvert>=5.4.1->interpret) (0.5.1)
Requirement already satisfied, skipping upgrade: cycler>=0.10 in c:\users\sndr\anaconda3\lib\site-packages (from matplotlib->SALib>=1.3.3->interpret) (0.10.0)
Requirement already satisfied, skipping upgrade: kiwisolver>=1.0.1 in c:\users\sndr\anaconda3\lib\site-packages (from matplotlib->SALib>=1.3.3->interpret) (1.0.1)
Requirement already satisfied, skipping upgrade: networkx>=1.8 in c:\users\sndr\anaconda3\lib\site-packages (from scikit-image>=0.12->lime>=<IP_ADDRESS>->interpret) (1.11)
Requirement already satisfied, skipping upgrade: pillow>=2.1.0 in c:\users\sndr\anaconda3\lib\site-packages (from scikit-image>=0.12->lime>=<IP_ADDRESS>->interpret) (5.0.0)
Requirement already satisfied, skipping upgrade: PyWavelets>=0.4.0 in c:\users\sndr\anaconda3\lib\site-packages (from scikit-image>=0.12->lime>=<IP_ADDRESS>->interpret) (0.5.2)
Requirement already satisfied, skipping upgrade: parso==0.1.* in c:\users\sndr\anaconda3\lib\site-packages (from jedi>=0.10->ipython>=7.4.0->interpret) (0.1.1)
Requirement already satisfied, skipping upgrade: pyzmq>=13 in c:\users\sndr\anaconda3\lib\site-packages (from jupyter-client->ipykernel>=5.1.0->interpret) (16.0.3)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in c:\users\sndr\anaconda3\lib\site-packages (from requests->plotly>=3.8.1->interpret) (3.0.4)
Requirement already satisfied, skipping upgrade: idna<2.7,>=2.5 in c:\users\sndr\anaconda3\lib\site-packages (from requests->plotly>=3.8.1->interpret) (2.6)
Requirement already satisfied, skipping upgrade: urllib3<1.23,>=1.21.1 in c:\users\sndr\anaconda3\lib\site-packages (from requests->plotly>=3.8.1->interpret) (1.22)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in c:\users\sndr\anaconda3\lib\site-packages (from requests->plotly>=3.8.1->interpret) (2019.3.9)
Building wheels for collected packages: skope-rules, dash, dash-table-experiments, dash-renderer, SALib, lime, dash-core-components, dash-html-components, dash-cytoscape, flask-compress, dash-table, backcall, retrying
  Building wheel for skope-rules (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\3e\8d\56\464f328ff3200c785626967ee39a6b2efc455469dab615f03e
  Building wheel for dash (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\fb\75\e5\278d80ca56f3c1d623565079cacf3db4e672948d34311e0c91
  Building wheel for dash-table-experiments (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\17\46\7c\936c2a123c17673d9f46ecc74e1692a118673009bc92c192ae
  Building wheel for dash-renderer (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\6f\33\33\6473598a2a280dcfe8507b020b66da25dafe063fff31bb28f6
  Building wheel for SALib (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\73\94\42\b5160b20f13581c0e7e4d9bc0afa77828900296f8bca82bafe
  Building wheel for lime (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\2f\8e\c1\c1cddd9cf8fbae812904fa5c84ef571e782891288d309d04c8
  Building wheel for dash-core-components (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\83\ac\bb\68cefc4f1e6ec359183f3d198cadbec07193b1e3087256a5a2
  Building wheel for dash-html-components (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\72\e5\cd\a82fd0f01affb14d3f3f19a19407f32a1845825603a7f9664b
  Building wheel for dash-cytoscape (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\32\bd\34\4c0a61c252c4bcee42ab4943e66e7c2d1f7809de90d4caf070
  Building wheel for flask-compress (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\96\32\88\a1f6d9dd3c29570ab3a8acc0d556b3b20abcf3c623c868ce0a
  Building wheel for dash-table (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\b9\7e\8a\1249b5961f59668eba0471800e618c47b4219f77e2887536bd
  Building wheel for backcall (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\98\b0\dd\29e28ff615af3dda4c67cab719dd51357597eabff926976b45
  Building wheel for retrying (setup.py) ... done
  Stored in directory: C:\Users\sndr\AppData\Local\pip\Cache\wheels\d7\a9\33\acc7b709e2a35caa7d4cae442f6fe6fbf2c43f80823d46460c
Successfully built skope-rules dash dash-table-experiments dash-renderer SALib lime dash-core-components dash-html-components dash-cytoscape flask-compress dash-table backcall retrying
jupyter-console 5.2.0 has requirement prompt_toolkit<2.0.0,>=1.0.0, but you'll have prompt-toolkit 2.0.9 which is incompatible.
datashader 0.6.9 has requirement dask[complete]>=0.18.0, but you'll have dask 0.16.1 which is incompatible.
Installing collected packages: zipp, importlib-metadata, pluggy, atomicwrites, pytest, greenlet, cffi, gevent, scipy, scikit-learn, skope-rules, flask-compress, retrying, plotly, dash-renderer, dash-core-components, dash-html-components, dash-table, dash, dash-table-experiments, SALib, lime, prompt-toolkit, backcall, ipython, shap, psutil, dash-cytoscape, pytest-runner, interpret
  Found existing installation: pluggy 0.6.0
    Uninstalling pluggy-0.6.0:
      Successfully uninstalled pluggy-0.6.0
  Found existing installation: pytest 3.3.2
    Uninstalling pytest-3.3.2:
      Successfully uninstalled pytest-3.3.2
  Found existing installation: greenlet 0.4.12
Cannot uninstall 'greenlet'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

C:\Users\sndr\Downloads>

Hi @Sandy4321,
Unfortunately this is a known problem with pip and old versions of greenlet (see here: https://github.com/pypa/pip/issues/4805). The preferred solution is to manually uninstall/remove greenlet, and reinstall a newer version through pip.
Alternatively, you can also run this command instead:
pip install interpret --ignore-installed greenlet

which will overwrite the greenlet dependency with a newer version.
-InterpretML Team

I try uninstall greenlet
Microsoft Windows [Version 10.0.17763.557]
(c) 2018 Microsoft Corporation. All rights reserved.
E:\similarity\code>pip unistal greenlet
ERROR: unknown command "unistal" - maybe you meant "uninstall"
E:\similarity\code>pip uninstall greenlet
Cannot uninstall 'greenlet'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
but this is not working
so can use this one
pip install interpret --ignore-installed greenlet
or how to uninstall greenlet properly?

Yes, if uninstalling greenlet is problematic, using pip install interpret --ignore-installed greenlet should work.


Fix: all Syntax module errors that Jest throws

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (yarn build) was run locally and any changes were pushed
[x] Lint (yarn lint --check) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[x] Other (please describe):

What is the current behavior?

The changes made were to resolve errors that Jest throws when a module uses an API that is outside the scope of the jsdom testing environment. For example, some of these issues were resolved by adding a mock Worker that runs globally during each test (in setup.js), adding a test-utils.tsx file to create a custom render function for components that need access to context and need to render Favicon (this is still being worked on), and adding a mocks directory for any files that need to be mocked in the future. Additionally, I had to ignore modules shown in the ignores variable in the jest config to stop module errors.
Dependencies were installed such as the jest-webpack-resolver package to ensure Jest isn't consuming browser bundles as they may not adhere to Node's ESM conventions.
Issue Number: N/A
What is the new behavior?

All tests are now passing and not throwing module errors.

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Note: In order to stop the UnhandledPromiseRejectionWarning: ReferenceError: fetch is not defined error that was being thrown (image below) I changed the script in package.json from "test": "jest --config ./jest.config.js" to "test": "NODE_OPTIONS=--unhandled-rejections=warn jest --config ./jest.config.js ". The only problem with this is I believe this logs to the console. I am currently searching for a better solution to this because it is obviously suboptimal to log to the console. More context around this problem can be found here .
Image of UnhandledPromiseRejectionWarning: ReferenceError: fetch is not defined

Future work includes making tests run faster by not using Babel, a better solution to fetch errors, completing unit tests, and moving on to integration testing.

Not sure why CI is failing on Linting -- ran this locally and was OK.

Not sure why CI is failing on Linting -- ran this locally and was OK.

I ran it in my local and at least find packages/frontend/jest.config.js is being re-linted.

Not sure why CI is failing on Linting -- ran this locally and was OK.

I ran it in my local and at least find packages/frontend/jest.config.js is being re-linted. (also packages/frontend/tsconfig.json, packages/frontend/src/tests/test-utils.tsx, packages/frontend/src/tests/setup.js, packages/frontend/src/__mocks__/*, packages/frontend/src/__test__/*)

Can you push that up on your machine? Still not getting any files being re-linted on my machine


possible crash in BIO_parse_hostserv()

If BIO_parse_hostserv() is invoked with only , it was running into crash when trying to check for any further colons existed in the parsed , which is NULL in this case.

+1, @levitte for you to do i think :)

Sorry, different patch just went in.  Apparently, you weren't the only one to catch this, @ajmohan ;-)

Closing this one since the issue is now fixed.

Ok, thanks :)


Support of LuaJit lateset version and "writefunction" -> variable

Does is support LuaJit 2.0.5 or 2.1 beta?

If it does, how do I use the writefunction to save returned binary data in a variable? In the documentation it uses writefunction  to write a result into a file.

Whereas I want to fetch an image and save its binary data into a Lua variable. Not a file

$ luajit
LuaJIT 2.0.5 -- Copyright (C) 2005-2017 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse
> local cURL = require "cURL"
error loading module 'lcurl' from file '/usr/lib/lua/5.3/lcurl.so':
	/usr/lib/lua/5.3/lcurl.so: undefined symbol: lua_absindex
stack traceback:
	[C]: at 0x5640b3e5cfb0
	[C]: in function 'require'
	/usr/share/lua/5.3/cURL.lua:11: in main chunk
	[C]: in function 'require'
	stdin:1: in main chunk
	[C]: at 0x5640b3e0dc00

It works and tested with all Lua versions https://github.com/Lua-cURL/Lua-cURLv3/blob/master/.travis.yml#L12 and https://github.com/Lua-cURL/Lua-cURLv3/blob/master/appveyor.yml#L13.
Simple way to use writefunction is just buffer = {}, easy:setopt_writefunction(table.insert, buffer)
lua_absindex added in Lua 5.2. You have to compile lcurl.so file with correct headers. Lua does not support ABI/API compatibility between minor versions.


doc K8s doc modify and add pvc network docs

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


SDK names

now, there are two kinds of SDKs, one for smart chain of s2s, another one for pure solidity bridge messages.
what is the best name for them?
SDK for S2S
SDK for !S2S

only one sdk


Set the title value (in the html head)

I'm not sure what this should be.

We should talk with @amyehodge about this. This value governs what you see in the browser tab when you have H2 loaded. FWIW, Hydrus uses Stanford Digital Repository. Should H2 use the same value?

@mjgiarlo I'll think about this and get back to you.
Also, this changes depending on where you are in the application. If you are looking at a collection it says "[collection.title] - Stanford Digital Repository". If you are on an item, it says "[item.title] - Stanford Digital Repository". If you are editing a collection or item it says "Editing [collection.title/item.title] - Stanford Digital Repository".

@amyehodge For now, how about we set the title to Stanford Digital Repository on all pages, and if there are specific deviations from this you'd like to prioritize in future sprint pre-planning meetings, we can write up issues and get them on the board. Cool?

Sounds good. I think including the collection and item titles makes them too long to be useful anyhow. I tend to only be able to see the first half-dozen characters at best, so I'm wondering if something like "SDR | Stanford Digital Repository" might be better? But let's go with your plan for now. Thanks, @mjgiarlo

@amyehodge :speech_balloon:

Sounds good. I think including the collection and item titles makes them too long to be useful anyhow. I tend to only be able to see the first half-dozen characters at best, so I'm wondering if something like "SDR | Stanford Digital Repository" might be better? But let's go with your plan for now. Thanks, @mjgiarlo

SDR | Stanford Digital Repository it is. Thanks!


Add debug logs for updated schema in BigQueryIO

Example log message:
Use TableSchema for tableSpec: *****.xxxxx: {"fields":[{"mode":"REQUIRED","name":"key","type":"INT64"},{"mode":"NULLABLE","name":"timestamp","type":"TIMESTAMP"}]}

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @ahmedabu98


More inclusive regex catching error opening bash_profile

This catches cases where the temporary directory that is created includes digits and the dot character.
Fixes #63

Coverage remained the same at 100.0% when pulling 25f9a84bd6cf9a0062db7b5b882aa19610a31119 on duckontheweb:test-fix into a060554bbd9ecad7de6c28996f9703d7384c9c57 on wbyoung:master.


Encountering Max Runtime Exception Throws Weird Error

Currently, the processing limit for collections is set to three days. If this limit is reached, the following error is presented to the user:
Proxy redirect error: connect ECONNREFUSED <IP_ADDRESS>:3000
Which doesn't at all tell them what went wrong. This error message should be replaced with something more useful, i.e. "Max runtime limit exceeded (3 days)", and we can perhaps consider increasing it to a week?

Closing as I believe this was completed.


Financial error metric

Add new metrics to capture the financial impact of the improved PV forecast.  This isn't what is called a "proper scoring metric", in that a worse forecast can actually help your financial metric if you happen to be lucky.  But its actually very valuable to be able to quantify the financial impact of our forecasts for end users.
The financial loss metric is relevant for day ahead forecasts (as it is comparing the day ahead price with the balancing price).  It could in theory be applied to forecats a few hours ahead, but it's relevance is primarily for day-ahead forecasts.  It can be used for site-level forecasts, but also for national forecasts.
The theory is in the screenshot attached:

The figures s_a and s_f are the target / forecast.   The figures p_f, p_rt are the EPEX and Balancing (SSP / SBP) prices in the csv attached.

P_f is day ahead price and is column "price" in file epex_prices.csv
p_rt is real-time price (balancing market, or system sell price) and is column "ssp" in file ssphourly.csv

The figures are calcualted for each hour (take sum of forecast and actual generation figures across 2 half-hours to convert to hours), and then the expectation of the hourly figures calcualted across the period being tested - this coul be a year, by month, or by time of day, etc.

epex_prices.csv
ssphourly.csv


Updated selected-row-background-color style to variable primary-color

I found that when using the Streamlit theme that the built in selected row blue background color made it very hard to read the black text. Furthermore when I update the theme, the selection color isn't consistent with my theme.
The only issue I can see is that the hover color will be the same as the selected color, but Streamlit only seems to have a limited amount of "categories" to theme.
My suggestion in this PR is to read from the variable so that it is picked up from the currently set theme.
Here is an example where I have changed the theme (pink - not the best, but shows the issue) and the blue (#005A80) selection makes it hard to read and not consistent:

Thanks! I'll merge it and mention on next update!


Markdown avoid math delimiters

@robertylewis This PR is inadequate in that misaka does not support "cuddled lists" which are used e.g. here https://leanprover-community.github.io/mathlib_docs/algebra/category/Mon/basic.html. But I'm out of ideas for now.

Hmm. I suppose we could open an issue with the Misaka team (https://github.com/FSX/misaka/issues) asking if there's any possibility of supporting cuddled lists. Or alternatively with markdown2 (https://github.com/trentm/python-markdown2) asking if there's any possibility of math mode/arbitrary escape sequence delimiters.
If neither of those are likely, I guess switching to Misaka and replacing cuddled lists is the better option. Math mode will never be reliable with the current markdown2 setup.

Closing this so I can redo it with the avoidance of cuddled lists in mind. I lost my train of thought over the intervening weeks!


Error: is it currently building

Description
Test just stops after start.
 1)  "before all" hook:      Error: is it currently building ?       at SimulatorDriver._callee$ (node_modules/detox/lib/devices/IosDriver.js:38:19)       at tryCatch (node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:65:40)       at Generator.invoke [as _invoke] (node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:303:22)       at Generator.prototype.(anonymous function) [as next] (node_modules/babel-polyfill/node_modules/regenerator-runtime/runtime.js:117:21)       at step (node_modules/detox/lib/devices/IosDriver.js:1:1281)       at node_modules/detox/lib/devices/IosDriver.js:1:1441       at <anonymous>       at process._tickCallback (internal/process/next_tick.js:188:7)
Steps to Reproduce
Just started the test.
Node, Device, Xcode and macOS Versions
Node: v8.3.0
Device: iPhone 6
Xcode: 9.0
macOS: 10.12.6

This is a not-at-all-clear error I added a few days ago when I merged the SwiftSupport branch. The new From Detox 5.7.0 we have a new way delivering Detox framework to the user, instead of bundling a precompiled framework, it is now being built on the user's machine in order to be built with a matching swift version.
The error you see means that the the directory which Detox framework is being built to exists (~/Library/Detox/{hash}/) but Detox.framework does not exist inside it. This can be caused if you ran detox test , the framework build process started, but was interrupted.
I will add a more verbose error there... sorry for that


Decode function does not work for Ultra hdr images created on pixel 6 pro

I wanted to decompress image I took using my pixel 6 pro (UltraHDR option enabled, together with P2 colorspace, does not contain mjpeg stream with video). It gives me error hinting at added text encoding information of XMP information in the file.
$ ./ultrahdr_app -m 1 -j '/home/daniel/Desktop/PXL_20231230_110024323.jpg'
ERROR:Expected first character of a name
- line:1:<?xpacket begin="\xEF\xBB\xBF" id="W5M0MpCehiHzreSzNTczkc9d...
-         ^expected:Name
Encountered error during decodeJPEGR call, error code -20005

PXL_20231230_110024323.jpg.tar.gz

thank you for raising this issue. can you please try if the above patch set works.

It works, thank you.
I am however unable to open result raw (which has expacted size) and when converting back to jpeg, it looks wierd (red and blue stripes altering every pixel on top of what appears to be a luminance map)

I probably have wierd version of ffmpeg... (4.4.2-0ubuntu<IP_ADDRESS>)
[rawvideo @ 0x7efbac000cc0] No such pixel format: x2bgr10le.
Also is there any way to encode the file back to jpeg after editing it?
ultrahdr_app -m 0 -p outrgb.raw -C 1 uses wrong pixel format (result in my last post).

That is an older version of ffmpeg. You can get an updated one here, https://github.com/ffbinaries/ffbinaries-prebuilt/releases.
Also is there any way to encode the file back to jpeg after editing it?

currently the encoder library does not take in rgb input. So for now it is not possible.  Having said that, we are working on few changes that would resolve this. very soon


use torchdata as single source of truth for everthing datapipe

In response to https://github.com/pytorch/data/pull/987#issuecomment-1422827132. I knew I tackled that some time ago.

Lint is green again: https://app.circleci.com/pipelines/github/pytorch/vision/22987/workflows/914fbdfa-5928-4db4-bb3c-d02b6d55512b/jobs/1821408


Use f-strings

We need a section to designate that f-strings are the defacto way to do formatting on codebases that are python 3.6+

(With the explicit exception of logging, for grouping by log message without the embedded data)


Set say dialog for character

The idea of this feature is simple - allow setting default say dialog for Character. It's useful when you have a long dialog with multiple characters with dedicated say dialogs - it's more comfortable to set only character for each say command and not set say dialog for each one explicite in the command.

Sorry it took so long to merge this in. Nice improvement!


How to change color scheme is unclear

In trying to change my color scheme to Solarized Light, I could not figure out how to do so. It would be helpful if this page had step by step instructions on changing the theme of our Windows Terminal app.
Opening up Visual Studio as a means to editing the theme of the Terminal is already a bit daunting

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

ID: f7ba9c54-6f4a-37e7-7b29-c41b2d7700b1
Version Independent ID: 23155e99-d61f-9bab-261c-46050ece6932
Content: Windows Terminal Color Schemes
Content Source: TerminalDocs/customize-settings/color-schemes.md
Service: terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

Follow these steps.

Choose your color scheme from https://aka.ms/terminal-color-schemes
Next go to Windows Terminal settings but hold Alt when you click settings. This takes you to all the color scheme objects.
Copy the entire object for the color scheme you want.
Exit the settings.
Go back to the Settings WITHOUT holding Alt.
Find the "schemes:" property with an empty array. (Line 66 with not other revisions to the json file)
Paste the color scheme object inside the array.

Add "colorScheme": "Color Scheme Name" below source and save.

That's "all" you have to do.

You can actually skip steps 2 through 7, because every color scheme in the "defaults" file is available without any additional effort in your own settings file.
This list of steps becomes:

Choose your color scheme from https://aka.ms/terminal-color-schemes
Go to line 32 (about) and you will see the "list" property with all of your terminal options (Terminal, PwrShell, Ubuntu, etc).
Add "colorScheme": "Color Scheme Name" below source and save.

This looks like it's covered in #103


The functionality of append_topo_arrays() is broken

The append_topo_arrays() method in topology_utils.py class assigns variables incorrectly.

The loop counter should start from 0 not 1.
Fixing this will affect other code. Therefore, raising this issue to keep track of the problem.


Prevent unecessary input trigger with v-model

Fix #5586

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

ping @yyx990803 tell me if you want me to add tests for this
The regression is #5586

A test case would be great.

@yyx990803 Done, although I have never done this kind of events so I'm definitely forgetting about something


add document.title and document.set_title

Thank you,
can you push again without the version bump. I've already released a .14

Thank you, can you push again without the version bump. I've already released a .14

Done :) Please take a look

thank you


ACM - Apply mirroring config to the Agent Service Config

SUMMARY
In a disconnected environment, the AgentServiceConfig must have information about mirroring settings to pull images during agents discovery.
ISSUE TYPE

Nominal change

Tests

[] TestDallas -

TestDallas: ocp-4.16-acm-hub ocp-4.16-acm-sno

recheck

recheck

recheck


New command: planner task set

Usage
m365 planner task set [options]
Description
Updates a Microsoft Planner task
Options

Option
Description

-i, --id <id>
ID of the task

-t, --title [title]
Title of the task.

--bucketId [bucketId]
Bucket ID to which the task belongs. If you want to update the task's bucket, specify either bucketId or bucketName but not both.

--bucketName [bucketName]
Bucket Name to which the task belongs. If you want to update the task's bucket, specify either bucketId or bucketName but not both.

--description [description]
Description of the task.

--startDateTime [startDateTime]
Date and time at which the task starts.

--dueDateTime [dueDateTime]
Date and time at which the task is due.

--percentComplete [percentComplete]
Percentage of task completion. When set to 100, the task is considered completed.

--assignedToUserIds [assignedToUserIds]
The comma-separated IDs of the assignees the task is assigned to. Specify assignedToUserIds or assignedToUserNames but not both.

--assignedToUserNames [assignedToUserNames]
The comma-separated UPNs of the assignees the task is assigned to. Specify assignedToUserIds or assignedToUserNames but not both.

--orderHint [orderHint]
Hint used to order items of this type in a list view. The format is defined in here.

--assigneePriority [assigneePriority]
Hint used to order items of this type in a list view. The format is defined in here

--conversationThreadId [conversationThreadId]
Thread id of the conversation on the task. This is the id of the conversation thread object created in the group.

--appliedCategories [appliedCategories]
The comma-separated categories to which the task has been applied. Possible values see here. Values  are set to true.

Additional Info
Docs:  Update plannertask
Examples
Update the Microsoft Planner task with the title My New Task
m365 planner task set --id gndWTUSK80GwPQfiDDj43JgACCCd --title "My New Task"
Update categories of the task
m365 planner task set --id gndWTUSK80GwPQfiDDj43JgACCCd --appliedCategories "category1","category3","category5"

Still in draft. Maintainers could you look at it?

Very nicely done: well thought out and the link to the docs is helpful to confirm the design.
Looking at the sample in the docs, it seems like the bucket isn't required. The Specify either bucketId or bucketName but not both. seems similar to what we use in commands where we require one of the two possible options. What do you think if we rephrased it to If you want to update the task's bucket, specify either bucketId or bucketName but not both. to make it clear that it's optional?

@Abderahman88 I think we're ready to go. Would you like to take it?

@waldekmastykarz I need to finish my assigned commands first. Open this one up for the community. 👍

@waldekmastykarz if possible then I would like to take a crack at this one too

All yours @Jwaegebaert thank you for your help 👏

A question about the option bucketName.
If we allow this option then we would also need to add the following options.
--planId [planId]
Plan ID to which the task belongs. Specify either planId or planName but not both.
--planName [planName]
Plan Name to which the task belongs. Specify either planId or planName but not both.
--ownerGroupId [ownerGroupId]
ID of the group to which the plan belongs. Specify ownerGroupId or ownerGroupName when using planName.
--ownerGroupName [ownerGroupName]
Name of the group to which the plan belongs. Specify ownerGroupId or ownerGroupName when using planName.
These will be needed because if they are only going to do the command with a bucketName only, we won't be able to retrieve that bucket.
So then the question is, do we add these options or do we leave out the bucketName option?

Good catch @Jwaegebaert. Let's include them in the spec 👍


docs: the current version of the hook usePlaybackState returns an object.

So the comparison in the code example on usePlaybackState lacks the property name.

@dcvz this LGTM


fix: OOM on large evals

Not keeping results in memory anymore
Tracking stats on prompts instead of needing to re-calculate them every time by calling toEvaluateResult
Adding a JSONL export option which writes line by line during eval
Update documentation

I ran a 21,420 test case eval which maxed at 350mb of ram going -j 20. Wrote to a JSONL file, resulting file was > 3gb
Before this would peak to over 4gb of ram and hit an OOM exception.

@coderabbitai review this please


Right swipe

Whenever I received call notification and swipe right then notification gone.
Can I restrict and disable right/left swipe on call notification?

When I left swipe, callkit notify Timeout event.
I think adding swipe method is better than?


'playing' prop not working correctly?

when 'playing' prop is false the stream is not pausing,
how to use 'palying' correctly?
      <ReactPlayer         playing={playing}         ref={playerRef}         className={"player-container"}         url={url}         onReady={onReady}         onPlay={onPlay}         onStart={onStart}         onPause={onPause}         onBuffer={onBuffer}         onError={onError}         volume={props.volume}       />

Whatever you're playing should pause when playing turns from true to false. What URL are you playing? And how are you updating the playing state?

@CookPete when the user click on the pause button i'm triggering the onPause function with "playerRef.current.player.handlePause" function and then im changing the state.
the url: http://01.solumedia.com.ar:8446/stream.aac
what is the correct way to do that with custom controls?

You should be keeping your own playing state (either in a hook or in component state) and then changing the value from true to false using setState().
You can see this in action if you dig around the demo app.
Trying to calling onPause using refs is definitely not the way to go, and very prone to bugs like this.

I was having the same issue, what you need to do is -
wherever you  are setting the value of playing state as false
first change the same playing set to true and then immediately on the next line set it to false again.
It will work. Thanks


<_UIKBFeedbackGenerator: 0x28240bd00>: Couldn't update haptics muting for dictation audio recording. No engine.

Bug Report
Overview
when dictation on keyboard is attempted this occurs
<_UIKBFeedbackGenerator: 0x28240bd00>: Couldn't update haptics muting for dictation audio recording. No engine.
To Reproduce
Steps to reproduce the behavior:

Build to iOS device
try to input text using the mic for dictation
notice the static

Expected behavior
the static should not sound
should not see this in xcode

I still do not understand what the problem is.
I need better logging or stack traces that show the source of the problem being of this library.

import package
With the Unity UI Input Field on iOS device, use the voice dictation as input
Notice the static

Have you tried without my package?
I don't think my package has anything to do with dictation


update to v5 TrezorConnect

imported from the classic-etherwallet, slightly modified for MEW by hackyminer

trezor-connect v5.0.33 used. https://connect.trezor.io/5/trezor-connect.js

based on @j-chimienti 's work https://github.com/EthereumCommonwealth/etherwallet/pull/273

@hackmod  Created a PR for you here https://github.com/hackmod/etherwallet/pull/1 please check

Closing this since changes are included in #2082


The headers search only work when editing settings.json

Brief Issue Summary
The headers search only work when editing settings:
"C_Cpp.default.compileCommands": "${workspaceFolder}/_build/compile_commands.json"
or
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
Why the compile_commands.json cannot be automatically load from the default cmake build folder?
Expected:
Do not edit settings.json.
Platform and Versions

Operating System:
CMake Version:  3.20.0-rc5
VSCode Version: 1.52.1
CMake Tools Extension Version: v1.7.1
Compiler/Toolchain: gcc.exe (Rev9, Built by MSYS2 project) 10.2.0

The C++ extension is blissfully unaware of the outputs of any build system extension like this one.  There are other extensions out there that provide similar functionality so it doesn't play favorites with CMake Tools.
Yet another option is to use "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools" and not need compile_commands.json at all.

"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"

Thank you. It worked for me.
May be is interesting have it in documentation: https://code.visualstudio.com/docs/cpp/cmake-linux


Fix NSInternalInconsistencyException in - [NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]

Version: 2.3.0 (2015.10.09) | net.artsy.artsy
Reason
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0.  The number of rows contained in an existing section after the update (6) must be equal to the number of rows contained in that section before the update (2), plus or minus the number of rows inserted or deleted from that section (5 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).'
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37029/crash_reasons/54794191

Likely fixed by #936  - hard to tell without symbolification


Diagnose why file transfer Rust test is failing in CI

This test is failing across multiple open PRs
https://github.com/build-trust/ockam/actions/runs/5490221113/jobs/10005394844#step:8:573

Hi @YorickdeJong ! It's still open, yes, but still don't have a way to replace the old 1.node.ockam.network:4000 node address.

The node with the address 1.node.ockam.network:4000 used to be a test node in our old system a few months ago, but it's no longer available. The problem is that we made some major changes in our cloud system, and we haven't set up a replacement for this node yet.


Integrate with use-package without overriding :ensure?

I was looking at some options for augmenting my use of package.el + MELPA. In particular I was interested in using a dev branch of a particular MELPA package. I found this one and it seemed very nice, but perhaps I misunderstood its intended use case.
I was hoping to be able to use its use-package integration such that I could continue to use it the way I do now (it uses MELPA and assumes :ensure t to pull from MELPA), but have an opt-in for making particular packages use straight.el, presumably implied by the mere existence of the :recipe handler. Perhaps this could be achieved through the addition of a setting to specify that the :ensure t shouldn't be automatically handled by straight.el unless :recipe is present? Or is what I'm trying to do a non-goal? If so, could you recommend any other package that may accomplish this?
I noticed the readme says this:

By default, straight.el overrides use-package so that :ensure installs packages using straight.el instead of package.el. (You can override this behavior by customizing straight-enable-use-package-integration.)

I thought that might mean that I could set straight-enable-use-package-integration to nil to only disable overriding :ensure but still inserting the :recipe handler, but I seached straight.el and found no mention of that variable besides its defcustom.

I'm wondering if, failing that, I could disable use-package integration and then manually call (straight-use-package 'my-package), then I can use (use-package my-package :ensure nil ...) to still use use-package's features without making it install things? I believe that should work, I'm just wondering if mixing these two, i.e. using package.el + MELPA by default but straight.el for certain packages, will lead to any problems.

I just noticed that Quelpa's use-package integration seems to support this use case, in case it isn't the case that this is a non-goal, and you may gain some insight from it.

See https://github.com/raxod502/straight.el/issues/128#issuecomment-321956872 for this.
And also, setting straight-enable-use-package-integration to nil not working was a bug now fixed in develop: https://github.com/raxod502/straight.el/issues/128#issuecomment-322512782

Thanks @vyp.
@blaenk The only thing I have to say is that straight.el is 100% compatible with MELPA, so you're not losing anything if you just switch over entirely.
By the way, quelpa-use-package is actually a complete hack. It doesn't use the official extension API exposed by use-package, and it also doesn't use the official :ensure extension API provided by use-package (the latter is quite understandable since the API didn't exist when quelpa-use-package was first written).
If you want more convenient syntax for this, you're going to have to report it upstream: the fundamental problem is that use-package doesn't support using different package managers for the :ensure keywords of different use-package forms, and working around that in straight.el would be an ugly hack. (Although if somebody provided a pull request that made it work without breaking existing usage, I would consider merging it.)

Thanks @vyp that comment answers my question perfectly.
I would be open to using straight.el entirely. My main concern is that while linux is my primary dev platform, I also do use my setup on windows sometimes and I've found git to be painfully slow on it, like you couldn't imagine. Just bringing up a magit-status buffer takes a few seconds, let alone the dozens of packages I use. It seems to be a well known issue. Since I'm otherwise perfectly comfortable using package.el/MELPA I figured I'd use straight.el for the one or two package forks/dev branches I needed to run. I guess I'll try what you suggested in the linked comment, what I was thinking I may do in the worst case:
(straight-use-package 'el-patch)
(use-package el-patch
  :ensure nil
  <whatever>)

Thanks on letting me know about how quelpa-use-package is implemented. I figured it might use use-package's API. I also wasn't aware of that limitation on use-package's end. I was under the impression that it might be possible to "simply" set :ensure nil to opt-out of my default use of it (I have it default to t to use MELPA/package.el) and then the presence and handler of :recipe would note that :ensure was nil, as a go-ahead to use straight.el instead. I realize though that that would be overloading expected behavior so it's probably not desirable.

Good point on Windows: it's not yet supported, see https://github.com/raxod502/straight.el/issues/124.
What I would recommend doing is only loading straight.el on non-Windows operating systems, and otherwise loading package.el. Then, you're using a single package manager in any given instance of your Emacs configuration, but you don't have to worry about making use-package delegate to different package managers conditionally.
Regarding the performance, I will point out that it shouldn't be an issue during startup (Git is not invoked at all), but only when installing packages initially and when updating/otherwise managing them. But of course that's a moot point at the moment since straight.el doesn't yet work on Windows at all.

Ah that's good to know. I'll have to think about that then, thanks for all of the information!


4.23

QUESTION 23
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution. After you answer a question in this section, you will NOT be able to
return to it. As a result, these questions will not appear in the review screen.
Your company plans to purchase Azure.
The company's support policy states that the Azure environment must provide an option to
access support engineers by phone or email. You need to recommend which support plan meets
the support policy requirement.
Solution: Recommend a Standard support plan.
Does this meet the goal?
A. Yes
B. No

A


ImportError: cannot import name 'login' from 'django.contrib.auth.views'

when I runserver，I take the error ImportError: cannot import name 'login' from 'django.contrib.auth.views' .why?

same problem, any solution?

same problem, any solution?

same probleme
xadmin don't work with django 2.1.0 but it's work with django 2.0.7

It is located in django.contrib.auth (cut out the .views). It seems to have been moved in 2.1...
Can't find 'password_reset' though!

Same problem, fixed as Craig said and I'm trying to find password_reset too

nicogaspa, from the links I posted

contrib.auth’s password_change(), password_change_done(), password_reset(), password_reset_done(), password_reset_confirm(), and password_reset_complete() function-based views are deprecated in favor of new class-based views PasswordChangeView, PasswordChangeDoneView, PasswordResetView, PasswordResetDoneView, PasswordResetConfirmView, and PasswordResetCompleteView.

`from django.conf.urls import url
from django.contrib.auth.views import login
from . import views
urlpatterns = [
# 登录页面
url(r'^login/$', login, {'template_name': 'users/login.html'}, name='login'),
]`
This is my urls.py . As you expect, it will go wrong. I found many ways, but they didn't work. One way is that removing .views, but it also didn't work. And report errors:TypeError: login() got an unexpected keyword argument 'template_name'
Because I just start learning Django, it's difficult for me to understand the Official documents. It would be better if you could tell me how to solve this problem.Thanks

Anthony - this is my urls.py for my "accounts" app.
`
from django.conf.urls import url
from django.contrib.auth.views import (
PasswordResetView,
PasswordResetConfirmView,
PasswordResetDoneView,
PasswordResetCompleteView,
PasswordChangeView,
PasswordChangeDoneView,
)
from accounts import views
from accounts.views import ssl_required  # decorator for contrib.auth functions
urlpatterns = (
url(r"^login", views.LoginView.as_view(), name="login"),
url(r"^logout", views.LogOutView.as_view(), name="logout"),
url(
r"^registered",
views.RegisteredView.as_view(),
name="accounts-registered",
),
url(r"^register", views.RegisterView.as_view(), name="accounts-register"),
url(
r"^my-account/(?P\d+)/$",
views.UserProfileView.as_view(),
name="accounts-user_account",
),
url(
r"^password-change$",
ssl_required(PasswordChangeView.as_view()),
{"extra_context": views.CONTEXT},
name="password_change",
),
url(
r"^password-change-done$",
ssl_required(PasswordChangeDoneView.as_view()),
{"extra_context": views.CONTEXT},
name="password_change_done",
),
url(
r"^password-reset/",
ssl_required(PasswordResetView.as_view()),
{"extra_context": views.CONTEXT},
name="password_reset",
),
url(
r"^password-reset-done",
ssl_required(PasswordResetDoneView.as_view()),
{"extra_context": views.CONTEXT},
name="password_reset_done",
),
url(
r"^password-reset-complete",
ssl_required(PasswordResetCompleteView.as_view()),
{"extra_context": views.CONTEXT},
name="password_reset_complete",
),
url(
r"^password-reset-confirm/(?P[0-9A-Za-z]+)-(?P.+)/$",
ssl_required(PasswordResetConfirmView.as_view()),
{"extra_context": views.CONTEXT},
name="password_reset_confirm",
),
)
`

@rowinggolfer Thank you very much. I solved this problem through your codes just now.

`from django.conf.urls import url
from django.contrib.auth.views import login
from . import views
urlpatterns = [
登录页面
url(r'^login/$', login, {'template_name': 'users/login.html'}, name='login'),
]`
This is my urls.py . As you expect, it will go wrong. I found many ways, but they didn't work. One way is that removing .views, but it also didn't work. And report errors:TypeError: login() got an unexpected keyword argument 'template_name'
Because I just start learning Django, it's difficult for me to understand the Official documents. It would be better if you could tell me how to solve this problem.Thanks

我也遇到了类似的问题

It is located in django.contrib.auth (cut out the .views). It seems to have been moved in 2.1...
Can't find 'password_reset' though!

It worked thank you

The following code also works (you need to import LoginView instead of login)...
from django.urls import path
from django.contrib.auth.views import LoginView
app_name = 'users'
urlpatterns = [
# Login page
path('login/', LoginView.as_view(template_name='users/login.html'),
name='login')
]


8muse rerip does not work

Ripme version: 1.7.22
Java version: java 8
Operating system: Win7 home -->
https://www.8muses.com/comics/album/Various-Authors/Sillygirl/The-Girly-Watch/Issue-6

Expected Behavior
I reipped the url:
https://www.8muses.com/comics/album/Various-Authors
then I tried to rep the url:
https://www.8muses.com/comics/album/Various-Authors/Sillygirl
in a seperate folder
and I expeckt to get a new folder with the images
Actual Behavior
It gives me an empty folder withe the path 8muses_The_Girly_Watch_Issue_6
and does not update new pictures
it tells me:
and it tells me:
Already downloaded https://www.8muses.com/image/fm/Gk+ZFU2KOdtUyDNqLrqO+82R+2mh8CaZ4tah6Du3-FuOrJVqOITUxV8oWec1Lr4y01tj5F-Xs0nqw0bKWW93jYCIFCV0nag7l0PGQkph9WX7eu6uYd8f3HyfjjYbuCwo.jpg

I tried it with overwrite existing files in Option checked and unchecked.
Can you give an option in the menu to force download again?

and it tells me:
Already downloaded https://www.8muses.com/image/fm/Gk+ZFU2KOdtUyDNqLrqO+82R+2mh8CaZ4tah6Du3-FuOrJVqOITUxV8oWec1Lr4y01tj5F-Xs0nqw0bKWW93jYCIFCV0nag7l0PGQkph9WX7eu6uYd8f3HyfjjYbuCwo.jpg

This is expected behavior. By default ripme skips files it has downloaded in pervious rips. To change this behavior go to the configuration tab and uncheck "Remember URL History"


Launch/Open In Web Browser -option for html files

An menu option for html-type files to open then quickly in a web browser (default or other) to see how they look like.

https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-open-in-application


Drop Blowfish algorithm

as its marked as deprecated on cryptography==37.0.0
/opt/venv/lib/python3.9/site-packages/pgcrypto/fields.py:58: CryptographyDeprecationWarning: Blowfish has been deprecated
  return {"aes": algorithms.AES, "bf": algorithms.Blowfish}[self.cipher_name]

May fix https://github.com/dcwatson/django-pgcrypto/issues/32

:+1: This would be nice to have, in order to maintain compatibility

Hi, when can this be merged?

Any updates on this?

Thanks for the PR. I'll get a new release out today or tomorrow.


Port custom tslint rules to eslint

This is a tracking issue to co-ordinate work:
Done:

no-outside-dependencies #650
no-import-default-of-export-equals
no-self-import
no-single-element-tuple-type
no-relative-import-in-test
no-redundant-jsdoc2 (though the new name should be no-redundant-jsdoc unless there's a built-in eslint rule already)

In-progress:

no-single-declare-module

Not started:

no-padding
strict-export-declare-modifier
npm-naming
expect

Comment on this issue to let me know that you're working on a rule and I'll avoid working on it myself.
Also dtslint uses lots of default tslint rules. These all need eslint equivalents. I hope most (all?) of them are already written, but they all need to be tested and added to DT's .eslintrc.json.

no-self-import looks quick, tackling it now...

no-single-element-tuple-type too...

If we're going to use eslint-plugin-jsdoc, we will definitely need to verify that it doesn't negatively impact performance. I removed this plugin from the TS repo for that reason; its parsing of JSDoc was extremely inefficient.

verify that it doesn't negatively impact performance

...indeed. In the DefinitelyTyped repo, after https://github.com/DefinitelyTyped/DefinitelyTyped/pull/65445:

Variant
Timing

Baseline
8.621 s ±  0.249 s

jsdoc
17.843 s ±  0.656 s

Getting performance measurements locally
After installing eslint-plugin-local-rules:
npm i -D eslint-plugin-local-rules

I made the following two files:

.eslint-local-rules.cjs
const dtHeader = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/dt-header");
const exportJustNamespace = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/export-just-namespace");
const noAnyUnion = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/no-any-union");
const noBadReference = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/no-bad-reference");
const noConstEnum = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/no-const-enum");
const noDeadReference = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/no-dead-reference");
const noSingleElementTupleType = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/no-single-element-tuple-type");
const noUselessFiles = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/no-useless-files");
const preferDeclareFunction = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/prefer-declare-function");
const redundantUndefined = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/redundant-undefined");
const trimFile = require("../DefinitelyTyped-tools/packages/dtslint/dist/rules/trim-file");

module.exports = {
  "dt-header": dtHeader,
  "export-just-namespace": exportJustNamespace,
  "no-any-union": noAnyUnion,
  "no-bad-reference": noBadReference,
  "no-const-enum": noConstEnum,
  "no-dead-reference": noDeadReference,
  "no-single-element-tuple-type": noSingleElementTupleType,
  "no-useless-files": noUselessFiles,
  "prefer-declare-function": preferDeclareFunction,
  "redundant-undefined": redundantUndefined,
  "trim-file": trimFile,
};

.eslintrc.json
{
  "root": true,
  "extends": [],
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "warnOnUnsupportedTypeScriptVersion": false
  },
  "plugins": ["@typescript-eslint", "jsdoc", "local-rules"],
  "rules": {
    "jsdoc/check-tag-names": [
      "error",
      {
        "definedTags": [
          "addVersion",
          "api",
          "author",
          "beta",
          "brief",
          "category",
          "cfg",
          "chainable",
          "check",
          "classDescription",
          "condparamprivilege",
          "constraint",
          "credits",
          "declaration",
          "defApiFeature",
          "defaultValue",
          "detail",
          "end",
          "eventproperty",
          "experimental",
          "export",
          "expose",
          "extendscript",
          "factory",
          "field",
          "final",
          "fixme",
          "fluent",
          "for",
          "governance",
          "header",
          "hidden-property",
          "hidden",
          "id",
          "label",
          "language",
          "link",
          "listen",
          "locus",
          "methodOf",
          "minVersion",
          "ngdoc",
          "nonstandard",
          "note",
          "npm",
          "observable",
          "option",
          "optionobject",
          "options",
          "packageDocumentation",
          "param",
          "parent",
          "platform",
          "plugin",
          "preserve",
          "privateRemarks",
          "privilegeLevel",
          "privilegeName",
          "proposed",
          "range",
          "readOnly",
          "related",
          "remark",
          "remarks",
          "required",
          "requires",
          "restriction",
          "returnType",
          "section",
          "see",
          "since",
          "const",
          "singleton",
          "source",
          "struct",
          "suppress",
          "targetfolder",
          "enum",
          "title",
          "record",
          "title",
          "TODO",
          "trigger",
          "triggers",
          "typeparam",
          "typeParam",
          "unsupported",
          "url",
          "usage",
          "warn",
          "warning",
          "version"
        ],
        "typed": true
      }
    ],
    "local-rules/dt-header": "error",
    "local-rules/export-just-namespace": "error",
    "local-rules/no-any-union": "error",
    "local-rules/no-bad-reference": "error",
    "local-rules/no-const-enum": "error",
    "local-rules/no-dead-reference": "error",
    "local-rules/no-single-element-tuple-type": "error",
    "local-rules/no-useless-files": "error",
    "local-rules/prefer-declare-function": "error",
    "local-rules/redundant-undefined": "error",
    "local-rules/trim-file": "error"
  },
  "settings": {
    "jsdoc": {
      "tagNamePreference": {
        "argument": "argument",
        "exception": "exception",
        "function": "function",
        "method": "method",
        "param": "param",
        "return": "return",
        "returns": "returns"
      }
    }
  }
}

Then I ran time npx eslint "types/a*/**/*.d.ts" with and without the jsdoc/check-tag-names entry.

I'll take a look at eslint-plugin-jsdoc performance when I have time. cc @brettz & @gajus - I haven't checked how much of this is parsing vs. rule logic vs. other factors. If you have any advice/input that'd be lovely!

Yeah. It's basically loads of splitting by lines and other such stuff, compared to TS's parser.

The following DefinitelyTyped TSLint rules have rough ESLint equivalents in the wild:

expect: @expect-type/expect
padding: [padding-line-between-statements](https://eslint.org/docs/latest/rules/padding-line-between-statements)
void-return: @typescript-eslint/no-invalid-void-type

...which leaves the following DefinitelyTyped TSLint rules:

no-import-default-of-export-equals
no-relative-import-in-test: #654
no-single-declare-module: #655
npm-naming
strict-export-declare-modifiers

...we're pretty close! 😄

Ah, and good news on the performance! https://github.com/eslint/eslint/pull/17066 significantly improved the performance of ESLint's utils.search, which is frequently used for JSDoc parsing by eslint-plugin-jsdoc via a getJSDocComment function.
Running on a Macbook Air M2 with<EMAIL_ADDRESS>(before the fix landed):
$ hyperfine "npx eslint \"types/a*/**/*.d.ts\"" --ignore-failure
Benchmark 1: npx eslint "types/a*/**/*.d.ts"
  Time (mean ± σ):     14.468 s ±  0.165 s    [User: 19.037 s, System: 1.023 s]
  Range (min … max):   14.060 s … 14.656 s    10 runs

Running on a Macbook Air M2 with<EMAIL_ADDRESS>(which includes the fix):
$ hyperfine "npx eslint \"types/a*/**/*.d.ts\"" --ignore-failure
Benchmark 1: npx eslint "types/a*/**/*.d.ts"
  Time (mean ± σ):      8.057 s ±  0.237 s    [User: 12.593 s, System: 0.955 s]
  Range (min … max):    7.709 s …  8.530 s    10 runs

Nicely done @fasttime! 👏

Going to take a look into porting expect to the ESLint rule @JoshuaKGoldberg  reccomended


Launching a container with --link changes the display name of the target container in the portainer container list

Bug description
When a new container is launched with docker run --name bar --link foo, the display name of the existing foo target container changes to bar/foo in the portainer container list. However, if you click the bar/foo container from the list, portainer correctly shows its name as foo.
Expected behavior
The foo container should be displayed by it's name "foo", not the link alias name created when launching the bar container.
Steps to reproduce the issue:

docker run -d --name foo bash yes
docker run -it --name bar --link foo bash echo bar
docker ps -a --format '{{.ID}}:  {{.Names}}' | egrep 'foo|bar' shows the correct names of the containers

0424d33aaf40:  bar
90082da90384:  foo

Look at portainer container list, filter by search word bar

Click on the incorrectly displayed bar/foo container, see that its still named foo and its name is displayed correctly in the container details page

Technical details:

Portainer version: 2.6.0 (I also tested this in 2.5.0 and 2.5.1, same behaviour)
Docker version (managed by Portainer): moby-engine-20.10.6-1.fc34.x86_64
Kubernetes version (managed by Portainer): n/a
Platform (windows/linux): Linux, Fedora 34 64bit
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): docker run -d --name portainer -v "/var/run/docker.sock:/var/run/docker.sock" -v "vol_dir/data:/data" --restart always -p 9000:9000/tcp portainer/portainer-ce:latest -H unix:///var/run/docker.sock
Browser: Google Chrome | 91.0.4472.114 (Official Build) (64-bit)
Use Case (delete as appropriate): Using Portainer at Home
Have you reviewed our technical documentation and knowledge base? Yes

Hi
There is a discussion already happening on link containers, kindly pl  refer these tickets for link container issue https://github.com/portainer/portainer/issues/2211
https://github.com/portainer/portainer/issues/329

Hi
There is a discussion already happening on link containers, kindly pl refer these tickets for link container issue #2211
#329

Oops, sorry, I had searched for link based issues before submitting this one, I guess I missed those.
I also didn't realize this behavior was that old, as I did not have this issue on my previous setup, which I believe was running Moby engine 18 and portainer 2.5 on fedora 32. Creating a link on that older setup did not rename the target container.

#2211
#329


⚠ Punto de Fuga has degraded performance

In a54e22a, Punto de Fuga (http://puntodefugapodcast.com) experienced degraded performance:

HTTP code: 200
Response time: 12377 ms

Resolved: Punto de Fuga performance has improved in a5a7d36.


[FLINK-17577] SinkFormat#createSinkFormat should use DynamicTableSink…

….Context as the first parameter
This interface was introduced in FLINK-16997, it uses the ScanTableSource.Context as the first param, which is not correct.

@twalthr Can you take a look ?

Looks good to me.

@flinkbot run azure

Merging...