Add echo for end of each build phase

Ported GH #3842 to 1.1.0 branch

It's appropriate to back-port or cherry-pick #3759 to 1.1.0. Ping @mattcaswell or attempt cherry-pick direct here in this request?

I would prefer @mattcaswell do the #3759; he knows more about it than I do.

See #3854

#3854 is in, so I suggest a rebase of this one.

Rebased and pushed.

merged thanks.


VOTE: Where's Waldo?

This is a react vote issue. Please vote on the question below, using thumbs up for yes and thumbs down for no. Other reactions will not be counted. This vote will end when there are 2 total votes.
Additional guidance: here's some extra info for you
QUESTION: Where's Waldo?

This vote is now closed. The result was tie with 1 votes for and 1 votes against. You may continue commenting and reacting, but it will have no impact on the result.


running wf-recorder causes Hyprland to crash

Steps to reproduce: run wf-recorder and then open a new terminal window
Expected outcome: screenrecording works
Noted outcome: Hyprland crashes instantly
Hyprland config (since I source several other configs, I'll just post the github link): https://github.com/justchokingaround/dotfiles/blob/main/hyprland/hypr/hyprland.conf
crash report:
hyprlandCrashReport25821.txt
hyprland.log

#2241


Support overriding default properties in custom distribution

Context
An initial PR implemented the ability to have a daemon.properties file in a custom distribution, to override some defaults, and in particular the daemon defaults. This was discarded after a comment saying that the issue wasn't related to the change of memory settings. However, we now have reports that on some particularly large builds, the default memory settings for Gradle may be now too low. For some organizations this can be problematic as changing the default may involve updating a large number of projects.
The idea would therefore be to restore this PR but with a slightly different scope:

Add a gradle.properties to the Gradle distribution that has the lowest precedence with any other gradle.properties
Everything you can do in gradle.properties, you can do here.

Open questions

Does this work well enough that you can get away with doing everything via org.gradle.jvmargs?
Do we need an alternative to org.gradle.jvmargs that is more structured (e.g., org.gradle.daemon.memory.max) so we can pass the appropriate arguments depending on the JVM version?
Do we differentiate between Gradle distributions that would differ only in gradle.properties content?

PR for gradle.properties in installation directory: #9296.
Regarding the open questions:

If needed, adding additional properties for defining memory options (in addition to the generic org.gradle.jvmargs ) should be handled in a separate issue. These options should then be supported in all gradle.properties files.
There should be a strong use case for this, as it would add additional maintenance burden and also complexity for the users – e.g. if the new options conflict with what is set in org.gradle.jvmargs the behavior can become hard to understand.
No special handling of the same distribution with different gradle.properties is needed. If the properties influence daemon reuse or caching, this is already handled by the existing mechanisms - since we just add a new location for the properties file and no new specific properties.


Added MongoDB readside community example

Hi @abknanda,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
http://www.lightbend.com/contribute/cla

Signed the CLA

thanks @abknanda !


Custom Pins In Android not showing up

I have xamarin forms project and when I try to test it in iOS the CustomPins showing up but not in Android (both in emulator).
I am add it like this
Pins.Add(new TKCustomMapPin
            {
                IsVisible = true,
                ShowCallout = false,
                Subtitle = "ic_point_purple.png",
                Image = ImageSource.FromFile("ic_point_purple.png"),
                Title = "",
                IsDraggable = false,
                Position =
                    new Position(DaruApplication.Current.UserPosition.Latitude,
                        DaruApplication.Current.UserPosition.Longitude)
            });

And my Pins already implemented INotifyPropertyChanged. I don't use any custom renderer or any modifications in those two. I am already try using Xamarin.Forms and Xamarin.Forms.Maps. 2.3.2 and 2.3.3. and it still the same

For me the <IP_ADDRESS> works fine, however the new version <IP_ADDRESS> breaks it.

I'm having the same issue. tried cleaning but it didn't help @JeanCollas

@Racheldelman Does the <IP_ADDRESS> version work?
For me it was working, however the new version (<IP_ADDRESS>, that requires changing the "OnElementChanged" signature) did not at first, until I did a clean of all projects.

@JeanCollas  i tried downgrading to <IP_ADDRESS>, I still couldn't get it to display

@Racheldelman was it working before?

@JeanCollas i just started this project. didn't have anything working before

What about the sample?

Do you use the nugget package or the github sources? What branch?

nuget package v1.5

Use the github instead, probably much more up to date

How do you add references from github @JeanCollas ? It looks like using .net standard 1.5. I tried to change my PCL class to become .NET standard 1.5 and I can't add any nuget packages (xamarin.forms) If I don't change my PCL class to .NET standard 1.5 I can't add references from TK.CustomMap

Yes, the new pre-version will target .net standard 1.5. There shouldnt be any problem referencing XF though.
I will release it today on nuget.

@albilaga
If you want to reference from GitHub, what I would recommend is:

Fork the project (just click on fork, top right)
Download and install Github desktop (official client from github, not too bad even if a bit simple, but easy to use)
On your solution add the CustomMap projects (main, android and iOS)
Link on your UI project the main TKCM project
Link on your iOS project the main and iOS project
You guess: Link on your Android project, the main and Android project

Done.
Then you just have to update the sources sometimes

I have same problem project Android, Method OnElementChanged  not called.
Someone knows how to solve?

Solved in package 1.5.1 pre1


" No ESG Credentials found in /home/ramoking/.esg/credentials.pem"

Describe the bug

Desktop (please complete the following information):
Windows 10

OS:

Browser and Version: Version 122.0.6261.95 (Official Build) (64-bit)

To Reproduce

Expected behavior

Screenshots

Additional context

Please use bash wget-XXX.sh -s this disables the need for credentials.
The platform will migrate soon to an upgraded version of the wget script that no longer will assume the need for credentials as the requirement is deprecated.


A way to combine variable-step integration with a discrete-time controller

Perhaps using a different integrator than the default (e.g. LSODA?) in scipy.integrate.solve_ivp?
The example in https://github.com/python-control/python-control/blob/main/examples/simulating_discrete_nonlinear.ipynb is one option, but it uses a fixed-step integrator. Constructing discrete-time systems that repeatedly call ``scipy.integrate.solve_ivp``` inside the dynamics function is one option, but it is very slow.

I've thought about this a bit in the past (though done nothing about it -:).  One possibility might be to use the events parameter in solve_ivp, which could be set up to create events whenever a discrete time "tick" occurs.  Another would be to call continuous time integration between discrete clock ticks.  I'm not sure whether either of those are faster than using a fixed-step integrator.


autoHide:false hides the scrollbar till mousewheel event fires

I'm using the scrollbar on div element, i want the scrollbar to be always visible. So i set autoHide:false.  However the scrollbar is not visible till i scroll using the mousewheel.

Hey,
Can you tell me which device/browser you're testing? I can't reproduce this issue.
Thanks.

windows, chrome

Found the issue. I'm using the plugin inside angular application. The list i'm calling scrollbar for is loaded dynamically, so resizeScrollbar method is not triggered after that.

Did you fix the issue?
If so, is it related to Simplebar or Angular?
Thanks


Feature/movie api results2

OKAY final pull request, added a reset.css for all the pages, tweaked the pokemon team css on the results page and finished the api movie selection javascript

👌


Removed duplicate entries in Teams data

This is all the same person. There is another entry for him in line 924.
@kaicb97 can you confirm that please?

yep thats all me. Sorry about the circumstances. Very attentive

Good catch, thanks @ccntrq


Send mail when errors are detected

Possible Solution:
Use bash 'mail' as app function?

we've used mailx on BW

I think we can just leave this up to the job scheduler itself. Closing the ticket


Limit usage of ASTStatementExpression

The grammar contains the following line: https://github.com/tact-lang/tact/blob/37ff1512a6cd68ad795e71f1666f95d95ab96e0b/src/grammar/grammar.ohm#L106
This means that all kinds of expressions can be placed into a block of statements. Here is a valid code that passes compilation:
contract SampleTactContract with Deployable {
    init() {
        -4;
        2 == 2;
        true;
    }
}

Actually, all the expressions in the AST do not have any side effects, except function and method calls.
Moreover, having an expression like this: a + b sometimes means that the developer forgot to add an assignment operation, like c = a + b. Therefore, the scope of that error is similar to read-only variables analysis provided by many compilers.
My suggestion is to limit the usage of ASTStatementExpression to contain only ASTOpCall or ASTOpCallStatic.

all the expressions in the AST do not have any side effects, except function and method calls.

Expression evaluation may result in TVM side-effects: various kinds of exceptions, like integer overflows, out-of-gas errors, etc. and also we have some control flow incorporated into expressions:

condition && f(x); (short-circuit evaluation, for || as well)
condition ? f(x) : g(y); (this is weird use case, admittedly)

And the language of conditions is complex enough for us not to disallow its usage.

Adding to what @anton-trunov has said, there are at least two more use-cases:

Currently I use StatementExpression to test highlighting and correct parsing of expressions in tree-sitter-tact. But I can easily switch to an assignment statement if needed (_ = Expression; over Expression;), albeit with introducing some noise to tests :)

Various showcasing matters benefit from using StatementExpression. Like, when teaching Tact to people in a "learnxinyminutes" kind of style or stuff like that.

Discussed this with @byakuren-hijiri a bit more elsewhere and decided to close this issue. This can be covered by static analysis


Update just not null fields ?

Hello,
i got two response models of user info, short and full, can i update only not null fields without clearing another ?

If your updating an existing entity and you want to make a field null when it wasn't before, then you have to set it to null. Is that your question? will close for now, but post back if you have more info.

I think they are asking the following (which, incidentally, is the same question I want to ask):
If you have an existing entity User(id=1, firstName=Kim, lastName=)
and you want to add new data from a different entity that doesn't contain all of the stored data User(id=1, firstName=, lastName=Sheckles)
but without destroying the data you already have, is this possible?
You would want to end up with User(id=1, firstName=Kim, lastName=Sheckles).
Basically, is there a way for update to merge, rather than replace? Or is the only way to first fetch the existing data, do the merge yourself, and then update?

@justokay I accomplished this with some reflection (to avoid needing to update the code if the model changes in the future). I will paste my code, although you'll need to adapt it for your use case and convert to java if needed.
// AppInfoImple and AppInfoEntity both implement the AppInfo interface
    fun put(appInfo: AppInfoImpl): AppInfoEntity {
        val existingItem = db.data.findByKey(AppInfoEntity::class, appInfo.packageName)

        return if (existingItem == null) {
            db.data.insert(mapApiToModel(appInfo))
        } else {
            merge(from = appInfo, to = existingItem)
            db.data.update(existingItem)
        }
    }

    fun put(appInfos: List<AppInfoImpl>) = appInfos.forEach { put(it) }

    /**
     * For each property of [AppInfo], replace the `to` value with the `from` value *iff* the `from` value is not null.
     * Warning: Uses java reflection.
     */
    private fun merge(from: AppInfo, to: AppInfo) {
        val declaredMethods = AppInfo::class.java.declaredMethods
        val getterPrefix = "get"
        val setterPrefix = "set"
        declaredMethods
                .filter { it.name.startsWith(getterPrefix) }
                .filter { it.invoke(from) != null }
                .forEach { getter ->
                    val setter = declaredMethods
                            .first { it.name.startsWith(setterPrefix) && it.name.substring(setterPrefix.count()) == getter.name.substring(getterPrefix.count()) }
                    Timber.v("Setting method ${setter.name} on ${from.title} to non-null value ${getter.invoke(from)}")
                    setter.invoke(to, getter.invoke(from))
                }
    }


Proxy bookmarklet

Would it be possible to make a proxy in a bookmarklet (using something like a token to prevent spamming)?  I would like to know this so i can make a proxy server without have to setup something like tor?  Would it also be possible to make it 'just work' (like, work without any preconfig and things of that nature)?

This project is not intended to be used as a generic web proxy, but as a tool to allow developers to request public data from sites that don't support CORS.


Signup Page must work as expected

Signup Page must work as expected.
AC

If fields are wrong, make sure to display error fields
If signup is successful, take user to the curriculum page.

Code reference: https://github.com/garageScript/c0d3-app/pull/90/files

https://github.com/garageScript/c0d3-app/pull/97


Add gfortran

What do y'all think about adding fortran into this. It looks like python official is using buildpack-deps:jessie and the philosophy of this project is to make it so that doing pip install $PROJECT works for most things. Right now pip install scipy==0.15.1 does not work, but does work if I run
apt-get install --no-install-recommends -y gfortran gfortran-4.9 libgfortran-4.9-dev

I'd say gfortran is an extreme edge case imo. I'd be -1 on this, even though I work with projects that utilize scipy. :)

For reference:
$ apt-get install gfortran gfortran-4.9 libgfortran-4.9-dev
...
After this operation, 21.8 MB of additional disk space will be used.

I agree with it being an edge case.

I also agree, but it does appear that the specific example given here works now:
$ docker run -it --rm python:2 pip install scipy==0.15.1
Unable to find image 'python:2' locally
2: Pulling from library/python
357ea8c3d80b: Already exists
52befadefd24: Already exists
3c0732d5313c: Already exists
ceb711c7e301: Already exists
4211bb537697: Pull complete
c48f01f3aad7: Pull complete
72d54f32484a: Pull complete
Digest: sha256:675765c16c09a0f1b5031cd8e568b1c33eebd65fd4c31b658033e3793e738d9f
Status: Downloaded newer image for python:2
Collecting scipy==0.15.1
  Downloading scipy-0.15.1-cp27-cp27mu-manylinux1_x86_64.whl (37.0MB)
    100% |████████████████████████████████| 37.0MB 24kB/s
Installing collected packages: scipy
Successfully installed scipy-0.15.1

:+1:

All hail PEP-0513. 🙏


KNL-1408 Preferences not loaded when cache entry expires

The original code did this:
 //is the preference in the cache
 if (m_cache.containsKey(id))
 {
         prefs = (BasePreferences) m_cache.get(id);
 }

which fails when there's an entry in the cache that has passed its TTL (.containsKey() returns true but .get() returns NULL).
Rework the code to deal with the null case, and to clarify the overall logic.
Further background in https://jira.sakaiproject.org/browse/KNL-1408.

LGTM
I would also like to see that check for the preference in the session removed completely.
Having a cache for BasePreference should remove any need for storing this in the session.

Yeah, I was tempted to drop it too but wasn't sure if there was some other reason for keeping it around.  I'll take it out in a separate commit.

Well, the code's completely uninteresting now :)


newton_rootfinder 0.4.0 failed to build

Crate name: newton_rootfinder
Build failure link: https://docs.rs/crate/newton_rootfinder/0.4.0/builds/255472
**Additional details: ** the error seems to be related to the build of a dependencies. This dependencies has its documentation up-to-date on doc.rs.
I tried on my computed with stable Rust and its working fine.
However, the build on doc.rs seems to have been done with : rustc 1.45.0-nightly (451272115 2020-05-28)
I tried also on my computer with rustc 1.45.0-nightly (a74d1862d 2020-05-14) and rustc 1.45.0-nightly (56daaf669 2020-06-03). The building of the documentation works for both locally.
Thanks in advance !

This happens because rustc_version_runtime tries to write to its source directory, which is not allowed; it should instead write to $CARGO_OUT_DIR. The fact that the rustc_version_runtime build succeeded is odd, that means that that they're doing something special when built for docs.rs. I recommend filing a bug upstream with that crate.

rustc_version_runtime has just not published a version since that restriction went into place.

I saw that the build succeeded in 0.5.0, so I'm going to close this issue. Feel free to re-open if you're still having trouble!


cli: allow to execute 'popper run' without having a git repo

Based on feedback from @vsoch (discussed in the singularity mailing list)

@ivotron I was thinking if we allow popper to run without a .git folder and take $PWD as root, then how to implement the functions like get_sha(), get_ref(), etc in scm.py ?

I don't think you can - if the user chooses to run without git, it's sort of at their own risk, for their own use case. The ref / sha, and other git related bits would most logically return as None.

And you can give the user a nasty warning about how terribly they are for not having a reproducible workflow :P

@vsoch Thanks a lot.


Support affiliate fee fields in memo

Description
Support affiliate fee fields in memo, added fields for affiliate fee address and fee rate.
Also, raise the bitcoin OP_RETURN length limit from 64 to the correct 80 bytes.
Fixes #2713
https://medium.com/thorchain/affiliate-fees-on-thorchain-17cbc176a11b
How to test
ThorSwap tests.
Not validated end-to-end with real-world TXs.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] Create pull request as draft initially, unless its complete.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] If there is a related Issue, mention it in the description.

If you're adding a new blockchain

[ ] I have read the guidelines for adding a new blockchain.

Put back to draft, plan to make validation

Validated, sample TX, 0.1 BNB->BTC:
https://viewblock.io/thorchain/tx/56CF0C66402B0EC747A514DFDC58AE38467D97026890618A80398ED67DA992BA
https://explorer.bnbchain.org/tx/56CF0C66402B0EC747A514DFDC58AE38467D97026890618A80398ED67DA992BA
https://blockchair.com/bitcoin/transaction/074b34faa49039926d51b1e8af772c15ccf88412f21523ef4f57b4080a095abb
Here is the affiliate fee receiving tx:
https://thorchain.net/address/thor1mvgrkdnqyht3w03mqtwdm2fd9k7x7wcdjwelzd


Not working with the latest fastapi 0.94.1 release

Checklist

[X] The bug is reproducible against the latest release or master.
[X] There are no similar issues or pull requests to fix it yet.

Describe the bug
Hello,
I am using sqladmin with my project, the source of which you can find here: https://github.com/mavroprovato/fuelpricesgr
When I try to update to fastapi version 0.93.0 or later, the admin crashes. With previous versions it works. I have attached the stack trace.
Steps to reproduce the bug
No response
Expected behavior
No response
Actual behavior
No response
Debugging material
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 436, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/fastapi/applications.py", line 276, in call
await super().call(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/cors.py", line 84, in call
await self.app(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 443, in handle
await self.app(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 86, in call
await self.app(scope, receive, send_wrapper)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/sqladmin/authentication.py", line 56, in wrapper_decorator
return await func(*args, **kwargs)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/sqladmin/application.py", line 367, in list
return self.templates.TemplateResponse(model_view.list_template, context)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/templating.py", line 113, in TemplateResponse
return _TemplateResponse(
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/starlette/templating.py", line 39, in init
content = template.render(context)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/sqladmin/templates/list.html", line 1, in top-level template code
{% extends "layout.html" %}
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/sqladmin/templates/layout.html", line 1, in top-level template code
{% extends "base.html" %}
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/sqladmin/templates/base.html", line 17, in top-level template code
{% block body %}
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/sqladmin/templates/layout.html", line 65, in block 'body'
{% block content %} {% endblock %}
File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/sqladmin/templates/list.html", line 102, in block 'content'

File "/home/kostas/.cache/pypoetry/virtualenvs/fuelpricesgr-BkUJlFTl-py3.10/lib/python3.10/site-packages/sqladmin/models.py", line 758, in _url_for_delete
return url + "?" + query_params
TypeError: unsupported operand type(s) for +: 'URL' and 'str'
Environment
OS: Ubuntu 22.04.2
Python : 3.10
SQLAdmin: 0.9.0
Additional context
No response

Hi,
Yes this is already fixed in https://github.com/aminalaee/sqladmin/pull/444
I will do a release tomorrow to allow this fix be used.

Hello @aminalaee and thanks for the quick response! Sorry, I only checked the open issues and not PRs

No worries, this is will be in v0.10.0 today.


fix: Fix generate_arm_templates.sh script, reformat all Bicep files

Purpose

Fixes the generate_arm_templates.sh script, which was failing silently
Format all Bicep files

There are no actual changes to the infra.
Does this introduce a breaking change?

[ ] Yes
[x] No

looks good, how do we test this ?

I quite crudely ran this:
for FILE in $(find . -name '*.bicep'); do
  echo '' >> $FILE
done

Then I made a new commit


Problem with v3-Walk

I've created an SNMP Agent based on the #SNMP Library v9.0.2.
I've found strange behavior concerning v3 Walk.
Please see the screenshots.
I’ve tested this with Nagios XI.
Get requests are processed correctly for any version of protocol (v1-v3).
Single GetNext is also processed correctly.
Walk under v1 and v2c are also processed correctly.
But there is a problem with Walk under v3 .
Only the first GetNext request is transferred to its handler (GetNextMessageHandler.Handle() ), the next one is ignored by #SNMP library for some reason. Then Nagios tries to request GetNext again several times, does not get any further response and then reports a timeout. engine.ExceptionRaised is not triggered.
So v3 Walk fails.
Paessler SNMP tester can do v3 Walk with #SNMP library. But I see that this tester does this in a different way:

It sends two Get Requests after one GetNext request (one to get UpTime, and another - a value of the object)
It sends three different GetNext requests per object and only one of these requests is processed by the library.

Probably SNMP Tester has better degree of compatibility? Or probably this tester's way of alternation of Get and GetNext makes #SNMP library work better?
Also I've tested Nagios v3-Walk against Power SNMP library. It works correctly. So I suspect that something can be wrong in #SNMP library, or probably it lacks some settings from my side?
Has anybody tested v3-Walk with #SNMP library based agent against Nagios XI or some other popular products?
Do you have ideas about how can we fix v3 Walk with it?

It is rather strange that WALK in v3 uses GETNEXT instead of GETBULK. Can you capture network packets in v3 noAuthNoPriv mode using Nagios, and share them? That should help me dig further into the issue.

I've found an issue with SNMPv3 authentication, which could be related to this problem.
In my scenario, SharpSnmpLib is also used in an agent running on our server. The client part is snmpwalk from linux net-snmp package. The client usually reads zero to one, max two, messages and then stops with error message "snmpwalk: Not in time window", which is an error message received from the server.
SNMPv2 works fine as well.
I think this is a bug in SharpSnmpLib. I've tracked it down to a condition in Lextm.SharpSnmpLib.Pipeline.EngineGroup.IsInTime()
var diff = currentTimeData[1] > pastTime ? currentTimeData[1] - pastTime : currentTimeData[1] - pastTime - int.MinValue + int.MaxValue;
return diff >= 0 && diff <= 150;
which evaluates to false when the client message contains the same time as the current time on the server (in other words: works only when 1 second elapsed between previous message and this one).
Is this the same issue or should I open a different one? I could probably send in a pull request for my problem, changing the condition to
var diff = currentTimeData[1] >= pastTime ? currentTimeData[1] - pastTime : pastTime - currentTimeData[1];
though I still can't understand why was the "- int.MinValue + int.MaxValue" part there (this part always evaluates to -1).
Feel free to ask for details on reproducing this behaviour.

@martin-danek yours is duplicate to #20 . Please upgrade to 9.0.5 via NuGet and try again.

Oh, that's it. Sorry for not noticing the fix. Seems to work OK after upgrading. Thank you.

Thank you for your hint about GETNEXT/GETBULK.
That was my fault not turning on support for GetBulk handlers when using your library.
(What confused me - is that some programs were still able to walk via v3 though GetBulk was turned off.
The reason why other programs was able to do this is that they also do not support GetBulk or they were adaptively using GetNext in the case if GetBulk not responded.)
So, turning on GetBulk support solved the problem.

SNMP message handlers must match the behaviors defined by different RFC documents. Thus, to make an agent you need to register handlers in the proper way.
The sample project shows the recommended approach, which you can see from this file,
https://github.com/lextm/sharpsnmplib/blob/master/snmpd/MainForm.cs#L34


Rename statsd to dogstatsd

We unfortunately cannot rely on the dogstatsd-python module as it replaces the default statsd module (and we need to effectively support both at the same time).
I realize this is a backwards incompatible change, but IMO it's worth it.

Related: https://github.com/getsentry/sentry/pull/1604

Have you taken a look at the currently-supported library
https://github.com/DataDog/datadogpy ? Should address these concerns.
On Sun, Jul 12, 2015, 15:00 David Cramer<EMAIL_ADDRESS>wrote:

Related: getsentry/sentry#1604
https://github.com/getsentry/sentry/pull/1604
—
Reply to this email directly or view it on GitHub
https://github.com/DataDog/dogstatsd-python/issues/34#issuecomment-120754304
.

@miketheman ah missed that, thanks!


Bing for Commerce

Please remove Bing for Commerce from this graphic.
[Enter feedback here]

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

ID: 0d8a2537-5c77-cb33-2bf5-0788c584b7c6
Version Independent ID: b323e224-a8c7-0fa8-37a0-6f8382e32804
Content: Headless commerce architecture - Commerce | Dynamics 365
Content Source: articles/commerce/dev-itpro/retail-server-architecture.md
Service: dynamics-365-commerce
GitHub Login: @mugunthanm
Microsoft Alias: mumani

Thanks for the feedback. Updated the diagram, it will be refreshed in few days.


Poor Framerate Performance on Raspberry Pi 4

Required Info

Camera Model
D430

Firmware Version
<IP_ADDRESS>

Operating System & Version
Raspbian GNU/Linux 10 (buster)

Kernel Version (Linux Only)
5.10.63-v7l+

Platform
Raspberry Pi 4B 2GB

SDK Version
2.50.0

Language
Realsense Viewer / Python

Issue Description
I can not receive more than 15 FPS at 640x480 Depth and IR stream. I tested this issue with 2 different Raspberry Pi 4B 2GB.
I installed SDK with -DFORCE_RSUSB_BACKEND=ON -DCMAKE_BUILD_TYPE=Release flags.
When I tested the same sensor on my Ubuntu Desktop PC, I can get higher performance. But I've read that some users can stably get 30 FPS at 1280x720 resolution on Raspberry Pi 4B.
According to your observations, how is the FPS performance on Raspberry Pi 4B?

Hi @yusufcc  The original Raspberry Pi 4 had 4 GB of memory.  So it may be worth first trying to increase the size of your 2 GB Pi's swapfile.  Once a Pi application has used up the real memory capacity then it switches to using slower virtual memory from the drive storage space.
The Acrobotic RealSense installation guide for Pi 4 provides information about configuring the swapfile size.
https://github.com/acrobotic/Ai_Demos_RPi/wiki/Raspberry-Pi-4-and-Intel-RealSense-D435
Instead of setting it to '2048' as the guide suggests, you could try '4096' to account for the memory capacity difference between your Pi and the original 4 GB model.

Unfortunately, increasing swap size did not fix the problem. I had tested with Raspberry Pi 4B 8GB before, but I did not mention it above because I did the SDK 2.41.0 installation with -DBUILD_EXAMPLES=true -DCMAKE_BUILD_TYPE=Release -DFORCE_LIBUVC=true  at that time. And there was no significant difference.

If you are testing with the RealSense Viewer, are you setting the depth and infrared streams to 640x480 and 30 FPS but are only getting an FPS readout of 15 for both streams if you overlay the FPS information with the 'i' button?
Or does the Viewer not allow you to set 30 FPS in the drop-down selector?

The Frame Drops Per Second graph is useful as a rough indicator but is not as useful as a diagnosis of FPS performance, since frame drops can be reported even if FPS is not being impacted, as described by a RealSense team member at https://github.com/IntelRealSense/librealsense/issues/7488#issuecomment-704124850
I note in your image that auto-exposure is disabled.  If you are using manual exposure then using certain ranges of exposure value can cause a drag on FPS.  Another RealSense team member describes this at https://github.com/IntelRealSense/librealsense/issues/1957#issuecomment-400715579 and states that use of manual exposure can affect depth performance, especially if the camera is used in low-light conditions. In such a situation, they suggest increasing gain to improve performance.

Hi @yusufcc  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


[BEAM-498] Port examples to new DoFn

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @bjchambers pretty nice to be showcasing the BoundedWindow parameter in a couple of them.
Any other reviewer can feel free to LGTM if they are happy with it. It is pretty mechanical.

LGTM, I actually did review carefully :)


Stream ending with BadState when navigating back and forth quickly

Describe the bug
I have an app where there is a button in the home page. Upon clicking the button, it navigates me to accounts list page which are retrieved from a local database query stream. When I go to accounts page and come back, everything works fine. However, if I immediately go to accounts page as soon as I am back to home page, it throws me BadState: Stream has already been listened to error. Upon investigating, I found that it takes about a second to cleanup the provider state. Meaning, if I navigate do not navigate quickly to accounts page from home, it works fine.
I tried it with two different databases - Isar and ObjectBox. Both of them were having the same behaviour. If I remove the provider and manually get the stream, it works fine because the widget lifecycle disposes of the stream as soon as I go back (pop the navigation stack).
To Reproduce
I am attaching a sample project with instructions on the home page to reproduce the bug.
https://github.com/AxelBlaz3/Riverpod-StreamBuilder-Bug
Expected behavior
Riverpod should clean up the provider state immediately after I pop the current page because there are no listeners after popping the current page. However, it takes about a second to clean things up which is not what I am expecting (but correct me if I am mistaken).

I am attaching the demo video. If you look carefully you will see that I get a bad stream error only when I quickly navigate to accounts page from home page (I got to home page form accounts page by back gesture on my device). It works fine on normal navigation speed.
https://github.com/rrousselGit/riverpod/assets/28803728/979c65ad-3656-418e-bef6-d9a7c72c1dbe
Just as a note, I have AccountsUiState class with only Stream<List<Account>> because I wanted it to be minimal. In real project, I have more than just a stream.

Just filling in, it looks like the stream is being listened twice, which a singleuser stream cannot.  But the puzzle is why doesn't the provider fully recycle during the quick back and forth, which would have created a new stream?

@RandalSchwartz exactly, I am curious why the provider does not fully recycle during quick back and forth.

There's too much code here. I can't realistically investigate a whole project. Please create a minimal reproducible example.
But my guess is, this is most likely a mistake on your end. I'd suggest asking for help on Discord

@rrousselGit thanks for letting me know about it. I apologize for having a bit more code for a minimal sample. I hope the new code changes are simple to catch and understand. Have a look at it at your convenience.
Also, I have tried asking for help on Discord before I filed an issue. I could be a mistake from my end but I can't figure out where I am going wrong with this.

As a follow-up, I noticed that when I converted AccountsPage to ConsumerStatefulWidget and logged initState and dispose, dispose is being called with a delay when I navigate back.

I recently pushed a new branch called working, which works flawlessly and does not use riverpod to inject dependencies. It works fine regardless of how quick I navigate. The dispose() delay seems to be normal and it is how flutter handles internally from my observation.
As a note, the file providers.dart in working branch has Futures for global state.

It seems like I have to await for my stream in notifier's build() and then yield the List<Account>. This solves the problem but curious why using a StreamBuilder is not working.


Segfault within Eigen implementation of isApprox()

The unit tests produce segfault when compiled in RelWithDebInfo. Debud and Release work fine. this segfault happen on all use of isApprox() function.
It seems to be related to this issue:
http://eigen.tuxfamily.org/bz/show_bug.cgi?id=547
but there is no follow-up on Eigen side.
I observed that only after reinstalling a new laptop, so it should be specific to one version of the dependencies.
System info:

Name
Version

ubuntu:
Release: 12.04

architecture:
64-bit

gcc:
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

git:
git version <IP_ADDRESS>

cmake:
cmake version 2.8.7

boost:
Version: <IP_ADDRESS>

eigen3:
Version: 3.0.5-1

doxygen:
Version: <IP_ADDRESS>-2ubuntu1

See comments in issue #139.


Trival change.

🚀 Pull Request
Description
Checking docsbuild, to chase error on #4291

Consult Iris pull request check list

I am seeing the same errors on #3901, targeting main.

Fixed !


Babylon JS support?

Are there any plans to support Babylon JS?
Thanks

Same question
I need to implement 2d animations in a 3d project made with babylonJS.
For the moment, I switched back to spine with an unofficial runtime but I would totally prefer to use DragonBonesJS.

For other people interested by this feature, and until someone make a working runtime to support babylonjs.
An other solution is Creature 2d, they have a BabylonJS runtime: https://www.kestrelmoon.com/creaturedocs/Game_Engine_Runtimes_And_Integration/BabylonJS_Runtimes.html


Client gets stuck in loop on: CMD /C taskkill /T /F /IM StarCraft.exe

I have the server and client set up on local machine, and another client in a Win10VM.
The clients see the server, and can start starcraft.
Problem: The clients (on either machine) when hitting the CMD /C taskkill /T /F /IM StarCraft.exe cannot continue further.  BW does not close for them, freezing the tournament.

It appears that problem 2:
Taskkill Starcraft.exe command fails to resolve itself on program open, starcraft was never opened by client can be resolved by

closing client
manually opening the shell and running taskkill.exe with parameters desired:

cd /
cd Windows
cd System32
taskkill.exe /T /F /IM StarCraft.exe

Solution:
~/client/bwapi.ini
Change auto_restart = ON

Ooops! Closed this prematurely.
That did not resolve the issue.

Sounds like something system related, haven't run into this issue in a long long time with the TM. Try running all clients in VMs and see if that fixes the issues. Since we did not run into this for the most recent AIIDE tournament I will close this until more people start reporting it, but we can keep talking about it here

I've set it up in a VM Win10(x64) and a VM Win7(x32) between each other and the problem persists.
I've tried changing the BWAPI.ini files contained within required_XXX.zip to have auto_restart=ON as well, but it did not improve the situation.
As a less serious (but perhaps related?) problem, UAB is one of the few bots I cannot play against (fails to find .dll), while the other bots do load (so long as I manually resume between each round.)

Then you are doing something wrong in the set-up. What year version of UAB are you using? This year's version was an .exe

I used the ones bundled with the 2016 AIIDE.zip

Make sure the config file matches the bots you are using. Sounds like you might be using the 2017 config file with the 2017 bots

I tried a fresh pair of VMs and a a clean restart.
I have tried changing the client's bwapi.ini file to match that from one of the: Required_BWAPI_XXX.zip
Is there another .ini file I should instead?
Here is a screenshot of the server and command windows VM postgame (AIUR vs inert UAB)
https://snag.gy/6LEWiw.jpg

@richard-kelly

Neither of those bwapi.ini files actually do anything. The version that gets used is written out by the TM client using hard-coded values and the correct bot names, etc. for the game being scheduled. I had thought that was the case but hadn't confirmed it until now. There are a few old bits of functionality like that which should be removed.
So that's not an issue. I'm thinking it has to do with the client machine setups. What version of Java is installed on the client VMs? Also, there is an issue where two of the C++ redists won't install using the script provided, but that shouldn't affect the TM client killing the StarCraft process.
I had a weird issue the last time I set up a fresh client VM, but I forget the symptom. I'm going to try to recreate it and see if it's the same.
With UAlbertaBot, is it the error that BWAPI reports in the game when it can't find the bot dll? The server_settings.json file and the 2016 bots included with the TM match up and there shouldn't be any issue there.
There may be issues with using paths other than C:\TM\Starcraft for the install directory.

The UAlbertaBot issue is likely that you haven't copied some dlls required for it into either the Windows or Starcraft directory (either is fine) on the client machine : libgmp-10.dll and libmpfr-4.dll
You can get those from the BWTA 2.2 installer in the Windows directory. https://bitbucket.org/auriarte/bwta2/downloads/

I made a small change in the alpha branch to fix a problem I was having. I don't think it would cause your issue, but you should give it a try.

I have repeated the install process again using a fresh pull from this git.
I now use C:\TM\Starcraft as the directory of choice, which should be the default.
I manually install two of the VS distributions, 2010, 2015.
I also moved libgmp-10.dll and libmpfr-4.dll to C:\TM\Starcraft.
Notes: UAB still fails to find the .dll.    The path is C:\TM\Starcraft\Starcraft.exe
I note the folder TM is empty except for .\Starcraft


Accessing the Calculated conntrack-gc-interval Value

Hi,
When conntrack-gc-interval is set to 0s for dynamic calculation, is there any way to access the actual interval value determined by Cilium?
I'm trying to find it as we need to tune conntrack-gc-interval as we're seeing CT: Map insertion failed drops after upgrading from v1.15.5 to v1.16.3.
Unfortunately, I haven't found a way to obtain this value through the cilium-agent logs or metrics - even though It should be in the logs.

Here is where the interval is calculated; so it does appear to be logged but there is not a metric.
Creating a metric for this would be a good idea. Marking this as help-wanted.
It would also be nice to have a counter for CT runs, so we could make a dashboard for this.


The results of colpali are not deterministic

Thank you for the great work!
Recently, I tried to run the benchmark for colpali. And I found that the results are not deterministic, i.e., it has different results for different runs.
I am trying to fix this issue by adding model.eval(), but it doesn't help. Could you help look into this issue?

Hi @SeanLee97 👋🏼
Can I ask which version of colpali-engine and which Hf model name you are using please?

Hi @tonywu71, For library, I used colpali-engine==0.1.1 and vidore-benchmark==3.4.3. For model, I used vidore/colpali-v1.2. Should I update the colpali-engine to the latest?

Yes, that's correct! 👍🏼 The v0.2.0 fixes the issue explained by Manu in https://github.com/illuin-tech/vidore-benchmark/issues/38#issuecomment-2392218396.
Personally, I suggest using:

colpali-engine==0.3.1
vidore/colpali-v1.2
vidore-benchmark==0.4.0 (optional).

Yes, that's correct! 👍🏼 The v0.2.0 fixes the issue explained by Manu in #38 (comment).
Personally, I suggest using:

colpali-engine==0.3.1
vidore/colpali-v1.2
vidore-benchmark==0.4.0 (optional).

hi @tonywu71 @ManuelFay, I used the recommended version, but it is still not deterministic. Here is my evaluation code:
CUDA_VISIBLE_DEVICES=2 vidore-benchmark evaluate-retriever \
    --model-name vidore/colpali \
    --dataset-name vidore/docvqa_test_subsampled \
    --split test

I ran it for two times but got different results:

57.05
56.72

Ok we should look into that !
I guess you mean the v1.2 in the CLI though right ?

@tonywu71 just checked the code in vidore-benchmark - there is no .eval() after loading the Vision Retriever (or other retrievers). Can you update + verify reproducibility please ?

Good catch @ManuelFay, I'm on it!

@SeanLee97 Fixed in https://github.com/illuin-tech/vidore-benchmark/pull/42 and in the new patch release v.4.0.1 for vidore-benchmark. 💪🏼
FYI, I've changed the model alias to the default ColPali checkpoint to make it less confusing. Here's the new command you should run:
vidore-benchmark evaluate-retriever \
    --model-name vidore/colpali-v1.2 \
    --dataset-name vidore/docvqa_test_subsampled \
    --split test

Hi @tonywu71 @ManuelFay , thank you very much for your update!
Unfortunately, the issue has not been fixed, the results are still not deterministic. I upgraded vidore-benchmark to 4.0.1 and ran it 3 times, the results are as follows:

0.56665
0.56886
0.56804

I tried to fix the random seed, but it didn't help.
To solve this issue, I refactor the evaluation:

First, I converted the vidore benchmark to beir format via this script.
Second, I evaluated it with this evaluation script.

With our evaluation script, the results are deterministic now.
Here is an evaluation example:
CUDA_VISIBLE_DEVICES=2 python eval_vidore_beir.py \
    --model_type ColPali \
    --model_name vidore/colpaligemma-3b-pt-448-base \
    --adapter_name vidore/colpali-v1.2 \
    --dataset_name mixedbread-ai/vidore-docvqa_test_subsampled \
    --batch_size 4

I would appreciate it if you could help check the new evaluation code.
If it is correct, could you rerun the benchmark and refresh the benchmark with the deterministic evaluation code?
Thank you!

Thanks for the snippets @SeanLee97. You're absolutely right: the BEIR format makes much more sense for the ViDoRe benchmark as our proposed format doesn't scale well.
I'll be working on integrating this ASAP!

Fixed in #60 normally - I get perfectly exact results on all datasets except for tatdqa where I got a 0.00003 difference once in 5 times but small enough I think it's just numerical stability with FA2


Suggestion: Add bypassable permission node

allow users with a permission node to bypass the block

Resolved in 7cf80c05c92d2907c96db1ddb27142c68c5e55d8.


Fix #631 error while creation of threat model when using GitHub

Summary
This PR fixes #631
Description for the changelog
Allow the creation of a threat model while using GitHub as a provider by making the ThreatModelEdit call the create method of the server when on /create url.
Other info

Creation of ThreatModelCreate (/crete) url for ThreatModelEdit component to differentiate when on creation from editing a threat model.
Change THREATMODEL_CREATE action of the threatmodel store so the new threat model gets created.
Creation of createAsync method on threatmodelApi to call /create api endpoint.
Change from PUT to POST of /create api endpoint of server routes.

A couple of the unit tests are failing - are you OK with fixing these @martinmarsicano ?

Now the test are running the same as last commit (except for Docker, because it fails doing login, I supposed that is something because it's running with my user or because of the branch).
Did you do the merge @jgadsden or do I?


pipenv fails to install Jupyter in a Python3 environment when Python2 is present

Describe the issue briefly here.
pipenv fails to install jupyter in a newly created Python 3 environment when Python 2 is also present
Environment
OS Type : macOS Sierra 10.12.6
Python version: both Python2 and Python3 (installed and updated via homebrew)
Python 2
$ which python
/usr/local/bin/python
$ python --version
Python 2.7.14

Python 3
$ which python3
/usr/local/bin/python3
$ python --version
Python 3.6.3

Pip2
$ which pip
/usr/local/bin/pip
$ pip --version
pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)

Pip3
$ which pip3
/usr/local/bin/pip3
$ pip3 --version
pip 9.0.1 from /usr/local/lib/python3.6/site-packages (python 3.6)

Pipenv
$ which pipenv
/usr/local/bin/pipenv
$ pipenv --version
pipenv, version 8.2.7

Expected result
It seems that if you want to install Jupyter for a Python3 environment, it wants to be installed using pip3 explicitly (at least that is what they say in the installation instructions).
If I understand correctly, pipenv will invoke pip to do the package installation but if you have a legacy Python2 installation, pip will point to pip2.  So what do you do in this case when you want to create a Python3 environment?
My expectation was that when I create a new environment with pipenv --three, it should invoke pip3 each time I install a package via pipenv install package.  It doesn't seem to be the case or am I doing something wrong?
Actual result
See failure message below.
Steps to replicate
$ mkdir NewProject && cd NewProject
$ pipenv --three
Creating a virtualenv for this project…
Using /usr/local/bin/python3 to create virtualenv…
⠋Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6'
New python executable in /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts/bin/python3.6
Also creating executable in /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts
Creating a Pipfile for this project…

$ pipenv install jupyter
Installing jupyter…
Collecting jupyter
  Using cached jupyter-1.0.0-py2.py3-none-any.whl
Collecting ipykernel (from jupyter)
  Using cached ipykernel-4.6.1-py3-none-any.whl
Collecting notebook (from jupyter)
  Using cached notebook-5.2.0-py2.py3-none-any.whl
Collecting ipywidgets (from jupyter)
  Using cached ipywidgets-7.0.3-py2.py3-none-any.whl
Collecting jupyter-console (from jupyter)
  Using cached jupyter_console-5.2.0-py2.py3-none-any.whl
Collecting nbconvert (from jupyter)
  Using cached nbconvert-5.3.1-py2.py3-none-any.whl
Collecting qtconsole (from jupyter)
  Using cached qtconsole-4.3.1-py2.py3-none-any.whl
Collecting tornado>=4.0 (from ipykernel->jupyter)
Collecting traitlets>=4.1.0 (from ipykernel->jupyter)
  Using cached traitlets-4.3.2-py2.py3-none-any.whl
Collecting jupyter-client (from ipykernel->jupyter)
  Using cached jupyter_client-5.1.0-py2.py3-none-any.whl
Collecting ipython>=4.0.0 (from ipykernel->jupyter)
  Using cached ipython-6.2.1-py3-none-any.whl
Collecting jinja2 (from notebook->jupyter)
  Using cached Jinja2-2.9.6-py2.py3-none-any.whl
Collecting ipython-genutils (from notebook->jupyter)
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting nbformat (from notebook->jupyter)
  Using cached nbformat-4.4.0-py2.py3-none-any.whl
Collecting jupyter-core (from notebook->jupyter)
  Using cached jupyter_core-4.3.0-py2.py3-none-any.whl
Collecting terminado>=0.3.3; sys_platform != "win32" (from notebook->jupyter)
Collecting widgetsnbextension~=3.0.0 (from ipywidgets->jupyter)
  Using cached widgetsnbextension-3.0.6-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.0 (from jupyter-console->jupyter)
  Using cached prompt_toolkit-1.0.15-py3-none-any.whl
Collecting pygments (from jupyter-console->jupyter)
  Using cached Pygments-2.2.0-py2.py3-none-any.whl
Collecting entrypoints>=0.2.2 (from nbconvert->jupyter)
  Using cached entrypoints-0.2.3-py2.py3-none-any.whl
Collecting bleach (from nbconvert->jupyter)
  Using cached bleach-2.1.1-py2.py3-none-any.whl
Collecting testpath (from nbconvert->jupyter)
  Using cached testpath-0.3.1-py2.py3-none-any.whl
Collecting pandocfilters>=1.4.1 (from nbconvert->jupyter)
Collecting mistune>=0.7.4 (from nbconvert->jupyter)
  Using cached mistune-0.8-py2.py3-none-any.whl
Collecting decorator (from traitlets>=4.1.0->ipykernel->jupyter)
  Using cached decorator-4.1.2-py2.py3-none-any.whl
Collecting six (from traitlets>=4.1.0->ipykernel->jupyter)
  Using cached six-1.11.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.1 (from jupyter-client->ipykernel->jupyter)
  Using cached python_dateutil-2.6.1-py2.py3-none-any.whl
Collecting pyzmq>=13 (from jupyter-client->ipykernel->jupyter)
  Using cached pyzmq-16.0.3-cp36-cp36m-macosx_10_6_intel.whl
Collecting simplegeneric>0.8 (from ipython>=4.0.0->ipykernel->jupyter)
Collecting pexpect; sys_platform != "win32" (from ipython>=4.0.0->ipykernel->jupyter)
  Using cached pexpect-4.2.1-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=18.5 in /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts/lib/python3.6/site-packages (from ipython>=4.0.0->ipykernel->jupyter)
Collecting pickleshare (from ipython>=4.0.0->ipykernel->jupyter)
  Using cached pickleshare-0.7.4-py2.py3-none-any.whl
Collecting appnope; sys_platform == "darwin" (from ipython>=4.0.0->ipykernel->jupyter)
  Using cached appnope-0.1.0-py2.py3-none-any.whl
Collecting jedi>=0.10 (from ipython>=4.0.0->ipykernel->jupyter)
  Using cached jedi-0.11.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2->notebook->jupyter)
Collecting jsonschema!=2.5.0,>=2.4 (from nbformat->notebook->jupyter)
  Using cached jsonschema-2.6.0-py2.py3-none-any.whl
Collecting ptyprocess (from terminado>=0.3.3; sys_platform != "win32"->notebook->jupyter)
  Using cached ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.0->jupyter-console->jupyter)
  Using cached wcwidth-0.1.7-py2.py3-none-any.whl
Collecting html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre (from bleach->nbconvert->jupyter)
  Using cached html5lib-1.0b10-py2.py3-none-any.whl
Collecting parso==0.1.0 (from jedi>=0.10->ipython>=4.0.0->ipykernel->jupyter)
  Using cached parso-0.1.0-py2.py3-none-any.whl
Collecting webencodings (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach->nbconvert->jupyter)
  Using cached webencodings-0.5.1-py2.py3-none-any.whl
Installing collected packages: tornado, decorator, ipython-genutils, six, traitlets, python-dateutil, pyzmq, jupyter-core, jupyter-client, simplegeneric, ptyprocess, pexpect, pickleshare, appnope, wcwidth, prompt-toolkit, parso, jedi, pygments, ipython, ipykernel, MarkupSafe, jinja2, jsonschema, nbformat, entrypoints, webencodings, html5lib, bleach, testpath, pandocfilters, mistune, nbconvert, terminado, notebook, widgetsnbextension, ipywidgets, jupyter-console, qtconsole, jupyter
Successfully installed MarkupSafe-1.0 appnope-0.1.0 bleach-2.1.1 decorator-4.1.2 entrypoints-0.2.3 html5lib-1.0b10 ipykernel-4.6.1 ipython-6.2.1 ipython-genutils-0.2.0 ipywidgets-7.0.3 jedi-0.11.0 jinja2-2.9.6 jsonschema-2.6.0 jupyter-1.0.0 jupyter-client-5.1.0 jupyter-console-5.2.0 jupyter-core-4.3.0 mistune-0.8 nbconvert-5.3.1 nbformat-4.4.0 notebook-5.2.0 pandocfilters-1.4.2 parso-0.1.0 pexpect-4.2.1 pickleshare-0.7.4 prompt-toolkit-1.0.15 ptyprocess-0.5.2 pygments-2.2.0 python-dateutil-2.6.1 pyzmq-16.0.3 qtconsole-4.3.1 simplegeneric-0.8.1 six-1.11.0 terminado-0.6 testpath-0.3.1 tornado-4.5.2 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.0.6

Adding jupyter to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 1847, in install
    do_lock(system=system, pre=pre)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 1082, in do_lock
    pre=pre
  File "/usr/local/lib/python2.7/site-packages/pipenv/utils.py", line 452, in resolve_deps
    resolved_tree.update(resolver.resolve(max_rounds=PIPENV_MAX_ROUNDS))
  File "/usr/local/lib/python2.7/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/usr/local/lib/python2.7/site-packages/pipenv/patched/piptools/resolver.py", line 200, in _resolve_one_round
    for dep in self._iter_dependencies(best_match):
  File "/usr/local/lib/python2.7/site-packages/pipenv/patched/piptools/resolver.py", line 278, in _iter_dependencies
    for dependency in self.repository.get_dependencies(ireq):
  File "/usr/local/lib/python2.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 153, in get_dependencies
    result = reqset._prepare_file(self.finder, ireq)
  File "/usr/local/lib/python2.7/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
    abstract_dist.prep_for_dist()
  File "/usr/local/lib/python2.7/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
    self.req_to_install.run_egg_info()
  File "/usr/local/lib/python2.7/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/local/lib/python2.7/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/g1/srsny26x1ddfd469qxj675zw0000gn/T/tmpWWilqmbuild/functools32/

If I run pip install --three jupyter, it removes the existing Python3 environment, creates a new Python3 environment and then I get the same error message again.
If I remove the Pipfile, delete the environment and redo using Python 2, everything runs smoothly and installs.
$ rm -f Pipfile
$ rm -rf /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts
$ pipenv --two
Creating a virtualenv for this project…
Using /usr/local/bin/python2 to create virtualenv…
⠋Running virtualenv with interpreter /usr/local/bin/python2
New python executable in /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts/bin/python2.7
Also creating executable in /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts
Creating a Pipfile for this project…
$ pipenv install jupyter
Installing jupyter…
Collecting jupyter
  Using cached jupyter-1.0.0-py2.py3-none-any.whl
Collecting nbconvert (from jupyter)
  Using cached nbconvert-5.3.1-py2.py3-none-any.whl
Collecting jupyter-console (from jupyter)
  Using cached jupyter_console-5.2.0-py2.py3-none-any.whl
Collecting qtconsole (from jupyter)
  Using cached qtconsole-4.3.1-py2.py3-none-any.whl
Collecting ipykernel (from jupyter)
  Using cached ipykernel-4.6.1-py2-none-any.whl
Collecting notebook (from jupyter)
  Using cached notebook-5.2.0-py2.py3-none-any.whl
Collecting ipywidgets (from jupyter)
  Using cached ipywidgets-7.0.3-py2.py3-none-any.whl
Collecting mistune>=0.7.4 (from nbconvert->jupyter)
  Using cached mistune-0.8-py2.py3-none-any.whl
Collecting testpath (from nbconvert->jupyter)
  Using cached testpath-0.3.1-py2.py3-none-any.whl
Collecting jinja2 (from nbconvert->jupyter)
  Using cached Jinja2-2.9.6-py2.py3-none-any.whl
Collecting entrypoints>=0.2.2 (from nbconvert->jupyter)
  Using cached entrypoints-0.2.3-py2.py3-none-any.whl
Collecting pandocfilters>=1.4.1 (from nbconvert->jupyter)
Collecting traitlets>=4.2 (from nbconvert->jupyter)
  Using cached traitlets-4.3.2-py2.py3-none-any.whl
Collecting bleach (from nbconvert->jupyter)
  Using cached bleach-2.1.1-py2.py3-none-any.whl
Collecting jupyter-core (from nbconvert->jupyter)
  Using cached jupyter_core-4.3.0-py2.py3-none-any.whl
Collecting pygments (from nbconvert->jupyter)
  Using cached Pygments-2.2.0-py2.py3-none-any.whl
Collecting nbformat>=4.4 (from nbconvert->jupyter)
  Using cached nbformat-4.4.0-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.0 (from jupyter-console->jupyter)
  Using cached prompt_toolkit-1.0.15-py2-none-any.whl
Collecting ipython (from jupyter-console->jupyter)
  Using cached ipython-5.5.0-py2-none-any.whl
Collecting jupyter-client (from jupyter-console->jupyter)
  Using cached jupyter_client-5.1.0-py2.py3-none-any.whl
Collecting ipython-genutils (from qtconsole->jupyter)
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting tornado>=4.0 (from ipykernel->jupyter)
Collecting terminado>=0.3.3; sys_platform != "win32" (from notebook->jupyter)
Collecting widgetsnbextension~=3.0.0 (from ipywidgets->jupyter)
  Using cached widgetsnbextension-3.0.6-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2->nbconvert->jupyter)
Collecting configparser>=3.5; python_version == "2.7" (from entrypoints>=0.2.2->nbconvert->jupyter)
Collecting six (from traitlets>=4.2->nbconvert->jupyter)
  Using cached six-1.11.0-py2.py3-none-any.whl
Collecting enum34; python_version == "2.7" (from traitlets>=4.2->nbconvert->jupyter)
  Using cached enum34-1.1.6-py2-none-any.whl
Collecting decorator (from traitlets>=4.2->nbconvert->jupyter)
  Using cached decorator-4.1.2-py2.py3-none-any.whl
Collecting html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre (from bleach->nbconvert->jupyter)
  Using cached html5lib-1.0b10-py2.py3-none-any.whl
Collecting jsonschema!=2.5.0,>=2.4 (from nbformat>=4.4->nbconvert->jupyter)
  Using cached jsonschema-2.6.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.0->jupyter-console->jupyter)
  Using cached wcwidth-0.1.7-py2.py3-none-any.whl
Collecting pexpect; sys_platform != "win32" (from ipython->jupyter-console->jupyter)
  Using cached pexpect-4.2.1-py2.py3-none-any.whl
Collecting backports.shutil-get-terminal-size; python_version == "2.7" (from ipython->jupyter-console->jupyter)
  Using cached backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=18.5 in /Volumes/Macintosh_HD/Users/normansecord/Envs/NewProject-ezpWJ_ts/lib/python2.7/site-packages (from ipython->jupyter-console->jupyter)
Collecting pickleshare (from ipython->jupyter-console->jupyter)
  Using cached pickleshare-0.7.4-py2.py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython->jupyter-console->jupyter)
Collecting appnope; sys_platform == "darwin" (from ipython->jupyter-console->jupyter)
  Using cached appnope-0.1.0-py2.py3-none-any.whl
Collecting pathlib2; python_version == "2.7" or python_version == "3.3" (from ipython->jupyter-console->jupyter)
  Using cached pathlib2-2.3.0-py2.py3-none-any.whl
Collecting pyzmq>=13 (from jupyter-client->jupyter-console->jupyter)
  Using cached pyzmq-16.0.3-cp27-cp27m-macosx_10_6_intel.whl
Collecting python-dateutil>=2.1 (from jupyter-client->jupyter-console->jupyter)
  Using cached python_dateutil-2.6.1-py2.py3-none-any.whl
Collecting singledispatch (from tornado>=4.0->ipykernel->jupyter)
  Using cached singledispatch-<IP_ADDRESS>-py2.py3-none-any.whl
Collecting certifi (from tornado>=4.0->ipykernel->jupyter)
  Using cached certifi-2<IP_ADDRESS>-py2.py3-none-any.whl
Collecting backports-abc>=0.4 (from tornado>=4.0->ipykernel->jupyter)
  Using cached backports_abc-0.5-py2.py3-none-any.whl
Collecting ptyprocess (from terminado>=0.3.3; sys_platform != "win32"->notebook->jupyter)
  Using cached ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting webencodings (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach->nbconvert->jupyter)
  Using cached webencodings-0.5.1-py2.py3-none-any.whl
Collecting functools32; python_version == "2.7" (from jsonschema!=2.5.0,>=2.4->nbformat>=4.4->nbconvert->jupyter)
Collecting scandir; python_version < "3.5" (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython->jupyter-console->jupyter)
Installing collected packages: mistune, testpath, MarkupSafe, jinja2, configparser, entrypoints, pandocfilters, six, enum34, decorator, ipython-genutils, traitlets, webencodings, html5lib, bleach, jupyter-core, pygments, functools32, jsonschema, nbformat, nbconvert, wcwidth, prompt-toolkit, ptyprocess, pexpect, backports.shutil-get-terminal-size, scandir, pathlib2, pickleshare, simplegeneric, appnope, ipython, pyzmq, python-dateutil, jupyter-client, singledispatch, certifi, backports-abc, tornado, ipykernel, jupyter-console, qtconsole, terminado, notebook, widgetsnbextension, ipywidgets, jupyter
Successfully installed MarkupSafe-1.0 appnope-0.1.0 backports-abc-0.5 backports.shutil-get-terminal-size-1.0.0 bleach-2.1.1 certifi-2<IP_ADDRESS> configparser-3.5.0 decorator-4.1.2 entrypoints-0.2.3 enum34-1.1.6 functools32-3.2.3.post2 html5lib-1.0b10 ipykernel-4.6.1 ipython-5.5.0 ipython-genutils-0.2.0 ipywidgets-7.0.3 jinja2-2.9.6 jsonschema-2.6.0 jupyter-1.0.0 jupyter-client-5.1.0 jupyter-console-5.2.0 jupyter-core-4.3.0 mistune-0.8 nbconvert-5.3.1 nbformat-4.4.0 notebook-5.2.0 pandocfilters-1.4.2 pathlib2-2.3.0 pexpect-4.2.1 pickleshare-0.7.4 prompt-toolkit-1.0.15 ptyprocess-0.5.2 pygments-2.2.0 python-dateutil-2.6.1 pyzmq-16.0.3 qtconsole-4.3.1 scandir-1.6 simplegeneric-0.8.1 singledispatch-<IP_ADDRESS> six-1.11.0 terminado-0.6 testpath-0.3.1 tornado-4.5.2 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.0.6

Adding jupyter to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (fbd131)!

@nsecord your assumptions are correct, and actually pipenv does this correctly.  Note that in the first instance you saw:

Successfully installed MarkupSafe-1.0 appnope-0.1.0 bleach-2.1.1 decorator-4.1.2 entrypoints-0.2.3 html5lib-1.0b10 ipykernel-4.6.1 ipython-6.2.1 ipython-genutils-0.2.0 ipywidgets-7.0.3 jedi-0.11.0 jinja2-2.9.6 jsonschema-2.6.0 jupyter-1.0.0 jupyter-client-5.1.0 jupyter-console-5.2.0 jupyter-core-4.3.0 mistune-0.8 nbconvert-5.3.1 nbformat-4.4.0 notebook-5.2.0 pandocfilters-1.4.2 parso-0.1.0 pexpect-4.2.1 pickleshare-0.7.4 prompt-toolkit-1.0.15 ptyprocess-0.5.2 pygments-2.2.0 python-dateutil-2.6.1 pyzmq-16.0.3 qtconsole-4.3.1 simplegeneric-0.8.1 six-1.11.0 terminado-0.6 testpath-0.3.1 tornado-4.5.2 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.0.6

The issue is with how pip-tools, the package we use for resolving Pipfile.lock, handles its resolution.  Specifically with python 2 based installs of pipenv, pip-tools has trouble managing dependency resolution when installing python 3 based virtualenvs. This is a known issue and can be resolved by uninstalling pipenv and reinstalling it with pip3 install pipenv3 or pip3 install pipenv --user

@techalchemy thank you for your response, I'll try what you have suggested.  One question, by installing pipenv using pip3, will I run into problems in the opposite sense if I should need to create a Python 2 environment?

@nsecord you shouldn't encounter this problem going in the other direction, so this should be a simple temporary fix.

In my experience Python 3 doing stuff to python 2 stuff is a lot easier than python 2 doing stuff to python 3 stuff.  A very well put together sentence I know, but ya'll get the point!

@techalchemy
I have the same old issue with jupyter and ipython: https://github.com/wemake-services/wemake-django-template/issues/4
When trying your fix:
» pip3 install pipenv3
Collecting pipenv3
  Could not find a version that satisfies the requirement pipenv3 (from versions: )
No matching distribution found for pipenv3

Are you sure that this distribution exists? Or should I add an external PyPI for that?

After installing pipenv with pip3 instead of pipsi I was able to install ipython! Wow!

Installing pipenv with pip3 did the trick. Thanks.


Setup GNU Guix Reproducible Development Environment

Could you put these all in a .guix folder or similar? I'm unfamiliar with the conventions but would prefer to keep the files sandboxed inside a single folder.

Could you put these all in a .guix folder or similar? I'm unfamiliar with the conventions but would prefer to keep the files sandboxed inside a single folder.

Done. Have a look please.

Why isn't this just a manifest with the correct packages and maybe channels ? It feels like you shouldn't need this many scripts to go.
What's the difference between rde and providing a manifest like this that users can use to manipulate their profiles as they want ?

I will have to defer to @gagbo on this one as I live more in the gentoo world when it comes to packaging and deployment. Is there perhaps a community repository where the guix equivalent of a live ebuild could be maintained? (e.g. https://gitlab.com/src_prepare/racket/racket-overlay/-/blob/master/dev-racket/laundry/laundry-2022.02.05.ebuild)

What's the difference between rde and providing a manifest like this that users can use to manipulate their profiles as they want ?

AFAIU the manifest file just declares something. Whereas my PR privides a bash shell and prompt with a clean environment.

It feels like you shouldn't need this many scripts to go.

I can squeeze that. See the 0b354a3  commit.

I will have to defer to @gagbo on this one as I live more in the gentoo world when it comes to packaging and deployment. Is there perhaps a community repository where the guix equivalent of a live ebuild could be maintained? (e.g. https://gitlab.com/src_prepare/racket/racket-overlay/-/blob/master/dev-racket/laundry/laundry-2022.02.05.ebuild)

I'm not sure if I understand you correctly - on the Guix OS: do you want this package be installable also via the standard guix installation mechanism? I.e. in addition to the racket's raco pkg install laundry, also via guix install laundry?
Is that what you mean?


Cost model impact for new prior lake database table

Determine storage estimates for new data and inform @jimmie

compare to the reach & node table size

Expected capacity for each of the individual lake products (prior, observed, unassigned) is approx 1.7 million records/day (mean estimate), which corresponds to ~90 GB/month, ~1 TB/year per subcollection.


[LLC] Enum Work

Today we generate enums, but methods don't take enum they take the strings.
This creates a situation where people you pass Enum.ToString() and can pass it, and you can't. CamelCase vs pascalCase :(
The minute we generate the enum, it could be real enum or extensible enum.

If it is real enum, ToString() issue.
Extensible enums - Handles ToString() well but default params doesn't work cleanly because they don't support extensible enums (it isn't a constant value).

Decision is to add a switch to generate string or enums.

With no models, no models for enum => we just use underlying type as enum, e.g. string, int
Have to worry about casing service used
Either generate as extensible enum, or keep underlying type
=> These are tooling customizations a person could do by hand today
=> Per @ellismg, we could add this later as an opt-in feature, and use it going forward
Question: what is the guidance for teams? Do this, or don't do this?  Trade-off, now we're generating types for enums

[ ] => Need to come up with guidance; ideal: generate by default and opt-in to CLR-type; need to work this through with @KrzysztofCwalina
=> we need the guidance to know whether it's an RC1.0 or RC1.1 feature

We'll solve in docs for RC1.0, may bring in type generation later.
Having the enum types is hard to explain as part of LLC story.


Installation issues

Hi,
I'd like to try VISINITY on our data and images but have run into problems. The mac executable at https://github.com/labsyspharm/Visinity/releases/download/v0.86/Visinity_Mac_v0.86.zip unzips as a document and does not seem to be executable.  I then followed the Developer Instructions but hit an error with the following output:
File "run.py", line 2, in
from minerva_analysis import app
File "/Users/dane/Documents/visinity/visinity/minerva_analysis/init.py", line 55, in
from minerva_analysis.server.routes import page_routes, data_routes, import_routes
File "/Users/dane/Documents/visinity/visinity/minerva_analysis/server/routes/data_routes.py", line 6, in
from minerva_analysis.server.models import data_model
File "/Users/dane/Documents/visinity/visinity/minerva_analysis/server/models/data_model.py", line 8, in
import hdbscan
File "/Users/dane/opt/miniconda3/envs/visinity/lib/python3.8/site-packages/hdbscan/init.py", line 1, in
from .hdbscan_ import HDBSCAN, hdbscan
File "/Users/dane/opt/miniconda3/envs/visinity/lib/python3.8/site-packages/hdbscan/hdbscan_.py", line 509, in
memory=Memory(cachedir=None, verbose=0),
TypeError: init() got an unexpected keyword argument 'cachedir'
I'd be happy to try working through any issues or providing more information. The package looks like a great contribution to the field.
Mark Dane

I was able to work around it using the information here:
https://github.com/scikit-learn-contrib/hdbscan/issues/565
Prior to that I installed the latest hdbscan using:
pip install --upgrade git+https://github.com/scikit-learn-contrib/hdbscan.git#egg=hdbscan
thanks


Updating back to DDB errors

I have 4 characters in our group. Normally I download the characters, then update (we are in person so I just need to sync the foundry character sheets with changes and push currency/items back they get). This week, I have 2 characters that are throwing errors ("Unknown error") when I try to update, importing works just fine.
Character #1:

Character #2:

Please can you reach out on Discord and upload a log file as per https://github.com/MrPrimate/ddb-importer/blob/main/FAQ.md#i-want-to-send-you-a-useful-log-info, although it's worth noting that there are currently some use cases where the importer can get confused:

if an item comes from a monster that was imported
if the item comes from another character that was imported


hack open graph callback in to fix previous video details for now.

This is, to be sure, a pretty ugly hack. It would probably be ok if the
OG stuff was replaced by proper calls to the YouTube v3 Data API, which
I'm not interested in wrestling with right now. The current patch is
meant to at least get things functioning again until somebody can
implement a proper fix.

@thehunmonkgroup thanks for this fix :+1: I do agree with you, this needs investigation into youtube v3 api. I have listed that as an issue on our repo. I will work on it.


Feat Support date_trunc function in partition prune (#38025)

cherry-pick #38025 to branch-2.1

run buildall


Exception on writing Widgettest for a Widget using Futures

Steps to Reproduce

Use a Future.delayed somewhere in the Widget Tree
Try to write a test for a widget containing this Future
Run the test

Logs
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test:
A Timer is still pending even after the widget tree was disposed.
'package:flutter_test/src/binding.dart': Failed assertion: line 787 pos 7:
'_fakeAsync.nonPeriodicTimerCount == 0'

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new

When the exception was thrown, this was the stack:
#2      AutomatedTestWidgetsFlutterBinding._verifyInvariants (package:flutter_test/src/binding.dart)
#3      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:520:7)
<asynchronous suspension>
#6      TestWidgetsFlutterBinding._runTest (package:flutter_test/src/binding.dart:494:14)
#7      AutomatedTestWidgetsFlutterBinding.runTest.<anonymous closure> (package:flutter_test/src/binding.dart:751:24)
#13     AutomatedTestWidgetsFlutterBinding.runTest (package:flutter_test/src/binding.dart:749:16)
#14     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:62:24)
#15     Declarer.test.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test/src/backend/declarer.dart:161:27)
<asynchronous suspension>
#16     Invoker.waitForOutstandingCallbacks.<anonymous closure> (package:test/src/backend/invoker.dart:249:15)
<asynchronous suspension>
#20     Invoker.waitForOutstandingCallbacks (package:test/src/backend/invoker.dart:246:5)
#21     Declarer.test.<anonymous closure>.<anonymous closure> (package:test/src/backend/declarer.dart:159:33)
#25     Declarer.test.<anonymous closure> (package:test/src/backend/declarer.dart:158:13)
<asynchronous suspension>
#26     Invoker._onRun.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test/src/backend/invoker.dart:403:25)
<asynchronous suspension>
#40     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
#41     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
#42     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
(elided 28 frames from class _AssertionError, class _FakeAsync, package dart:async, and package
stack_trace)

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

[√] Flutter (Channel beta, v0.4.4, on Microsoft Windows [Version 10.0.17134.48], locale de-DE)
    • Flutter version 0.4.4 at D:\Daten\Gleydar\Dokumente\Code\Libaries\flutter
    • Framework revision f9bb4289e9 (13 days ago), 2018-05-11 21:44:54 -0700
    • Engine revision 06afdfe54e
    • Dart version 2.0.0-dev.54.0.flutter-46ab040e58

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\Gleydar\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.0)
    • Android Studio at D:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
    • IntelliJ at C:\Users\Gleydar\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\181.5087.20
    • Flutter plugin version 24.2.2
    • Dart plugin version 181.4892.1

[√] IntelliJ IDEA Ultimate Edition (version 2018.2)
    • IntelliJ at C:\Users\Gleydar\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\182.2574.2
    • Flutter plugin version 23.2.3
    • Dart plugin version 182.2371.1

[√] Connected devices (1 available)
    • SM G960F • 21fbe6c040047ece • android-arm64 • Android 8.0.0 (API 26) (emulator)

Do you return the future at the end of the test?
Can you please add the test code that allows to reproduce?

of course, can do:
 testWidgets('HomeScreenTest', (WidgetTester tester) async {
    // Build our app and trigger a frame.
    await tester.pumpWidget(new MaterialApp(home: new LocationScreen()));
    expect(find.byType(BottomNavigationBar), findsOneWidget);
  });

The Future itself is used in the widget:
class LocationScreen extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => new _LocationState();
}

class _LocationState extends State<LocationScreen> {
  CampusProvider _campusProvider;
  List<Campus> _campuses;

  _LocationState() {
    var data = new Data();
    _campusProvider = data.campusProvider;
    _campusProvider.getCampuses().then((campuses) {
      if (mounted) {
        setState(() {
          _campuses = campuses;
        });
      }
    });
  }

I can test widgets without these futures just fine.

There should be at least a way to tell the test framework to ignore pending timers.

Do you know how this can be done? Using await tester.idle() didn't work in my case.

No, no idea if something like that is supported already.

await tester.pumpAndSettle(const Duration(seconds: 2));

(with or without the optional duration parameter)
should do that.
I guess you figured that out by now yourself.
Can this issue be closed?

Actually I didn't figure it out... We solved the problem by refractoring in the end and putting all futures in providers that supplied the widgets. However, this solution would probably come in handy for smaller projects where that kind of refractoring would just be too much work.


Change validator type to sequencer type

Currently the sequencer type is the same as the validator in staking module.
It actually makes more sense to be similar to the sequencer struct in the hub

[ ] define Sequencer struct in proto
[ ] use Sequencer in all internal functions
[ ] Have Sequencer to Validator method, to support some Staking interface calls

@mtsitrin can this be closed?


Bugfixes and Glint enhancements

remedied a couple of copy/paste errors in the configuration objects
our glinting surface now plays nice with thermal wavelengths (hopefully, untested)
thermal surface calculates emissivity based on Lambertian reflectance, excluding specular components.

Spectacular, thank you!


issue-1538-troubled-proxy-parsing

Background
We have a desire for URL mistakes to result in errors when calling Proxy::http.
Change
Check for schema during URL parse error handling.  Lots of unit tests.
Fixes #1538.

Sounds like a great idea to me, thanks!

Running cargo fmt locally doesn't seem to work over the embedded tests ... Oh, wait.  I found it...
cargo fmt -- --check $(find . -name '*.rs' -print)

:woohoo:
Thanks!


django: don't wrap binary files twice

Motivation for this change
The bin directory of Django version 1.8, 1.11 and 2.1 contains the django-admin command wrapped twice:
/nix/store/bhyg18ljfyjvjs9gs3yns0nidlj9ni4f-python3.7-Django-1.11.23/bin
├── django-admin
├── django-admin.py
├── .django-admin.py-wrapped
├── ..django-admin.py-wrapped-wrapped
├── .django-admin-wrapped
└── ..django-admin-wrapped-wrapped

This change removes the second wrapper and only keeps the wrapping done by buildPythonPackage.
Things done

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

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

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

Notify maintainers

Backport 713aca09a5dae1ca4b7d7e300204d9d60c2d61c4


spark with hdp

can you please provide a apache spark with hdp blueprint.

Hi,
Please try this one: https://github.com/sequenceiq/cloudbreak/blob/master/core/src/main/resources/defaults/blueprints/hdp-spark-cluster.bp


Switch from subprocess to pexpect for remote ssh interaction

This PR demonstrates the use of pexpect for remote ssh interaction
without shell display. It cleans up the terminal output.
Try it up:
pip install -r requirements.txt
python stackyter.py

Pros:

fine control of what is passed to the remote
possibility of restarting easily the connexion if lost (TODO)

Downside:

adds two requirements pexpect (mandatory) and colored (optional)
for the colored display of the url
so far I could not manage to create the ssh tunnel with these tools
(might need to use subprocess for that actually :| )

This is more of a personal exercise but if you find it useful we could
work this way.

Thanks for the suggestion! I was actually looking for a way to clean up the terminal output (which is indeed a bit messy), and pexpect looks like a good option.
Unfortunately, I could not make it work using the version you have made. Is it expected? Is it related to the second downside point you mentioned above?
Anyway, this definitely looks useful.
By the way, we are also trying with a colleague to make this work with a hop server: connecting to a first server, jumping to an other one, and running Jupyter on the second one. Do you think pexpect  could allow us to do that?

Where did it fail exactly ?
I forgot to mention that the example I have written does not implement the LSST stack commands but only fires up a Jupyter lab/notebook instance, prints the url with the token and kills it after 10 seconds.
It requires in the .stackyter-config.yaml entries for:

username
host
workdir
mysetup
jupyter

Just putting here a nice link I found on the use of subprocess as a reminder
https://stackoverflow.com/a/4760517

Stalled PR. Closing it.


Start the web-based browser interface

Choose a web framework and craft a crude web-based interface for showing the stored content.

Crude web interface has been developed.


Permutation error bar issue (single thread vs multithread)

While following along with the tutorial I was curious why no error bars were being drawn.
As a test, I tried forcing the statistics to be very small (subsample = 0.0003, which equates to 30 samples). This should make a decent variability between samples (i.e., some bigger error bars). But when I do this n_jobs = 2 (my Mac only has 6 processors, so. I try not to overwhelm it) there are no error bars. See this figure.

code:
results = explainer.permutation_importance(
                                           n_vars=10,
                                           evaluation_fn='norm_aupdc',
                                           n_permute=10,
                                           subsample=0.0003,
                                           n_jobs=2,
                                           verbose=True,
                                           random_seed=42,
                                           direction='backward',
                                              )

But when setting n_jobs=1, the error bars show up.

code:
results2 = explainer.permutation_importance(
                                           n_vars=10,
                                           evaluation_fn='norm_aupdc',
                                           n_permute=10,
                                           subsample=0.0003,
                                           n_jobs=1,
                                           verbose=True,
                                           random_seed=42,
                                           direction='backward',
                                              )

Digging into the src_code I think it might have to do something with var_idx and the _multithread_iteration in abstract_runner.py, where the _singlethread_iteration has a spot for var_idx
Lines 128 - 143
    for var, training_data, scoring_data in selection_iterator:
        score = scoring_fn(training_data, scoring_data, var_idx=var)
        result[var] = score

and _multithread_iteration does not.
lines 158 - 161
    result = dict()
    for index, score in pool_imap_unordered(scoring_fn, selection_iterator, njobs):
        result[index] = score
    return result

I am not sure how I would fix this, hence why I am opening an issue. As a workaround, set n_jobs=1 if you want to do bootstrapping. Hope this is helpful.
Cheers,
Randy

Thanks for raising this issue. There seemed to be a disconnect between selection_iterator and scoring_fn where selection_iterator returned (var, training_data, scoring_data), but scoring_data was expecting (training_data, scoring_data, var). I've addressed this issue in the latest PR and was able to get identical error bars whether n_jobs=1 or >1.
Additionally, while fixing this issue I found that I was computing the forward permutation importance score incorrectly which has been also updated. These recent fixes will be available in version 0.0.3 on pypi.


cant upload my profect to bolt.new from stackblitz.

Describe the bug
dear bolt team, i cant upload my project to bolt.new. here is the error i am facing. meanwhile i need a refund please. i still spent to much but coudnt success to build even one app. it gives me too much error. please compensate the tokens for me.

Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-nixszc
Steps to reproduce
after refreshing my project dosent uploade again.
Expected behavior
please fix my project to be upload at the same time please compensate the tokens for me. Thank you
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 223371855,
  "usedJSHeapSize": 198075183,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = Webomax IT
Chat ID = c965ee92910c

Additional context
No response

Hi @webomax,
Are you able to find your project by navigating to stackblitz.com, clicking Collections on the left-hand side of the page, and then clicking Bolt Collection? If so, are you able to open that project in StackBlitz and then open in Bolt?


Upgrade to Hugo 0.16

👍

Ooops, didn't check the PRs and created #8 which does the same as yours, but I used the provided Debian image as it is half the size of the binary.

Thanks for your contribution @larrywright . I've opted to use the similar PR #8 by @axilleas because of the smaller size.


Proxy support

I hacked together rudimentary proxy support in this PR. This was requested in Proxy Support #116.
A couple quick points:

This PR takes a dependency on tunnel.
The proxy support only kicks in when process.env.http_proxy or process.env.https_proxy is set. I didn't want to modify any documented API, since I don't know your team's preferences :)

Hi @ryanmentzer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

Not sure if it is important, but  tunnel doesn't do anything with the keepAlive option and it handles maxSockets differently than the default agent which is in use when there is no proxy.

Good point @gregjhogan. I chose tunnel because the azure-sdk-for-node had taken a dependency on it  and thought precedence might make the dependency more palatable.

Any news when this commit will be merged into master? Causing me real problems at the moment. Ta.

@ryanmentzer thank you for your contribution and sorry for delay on our side.
I am looking at your PR and would like to merge it to our codebase, however it seem our merge bot, azurecla, identified that signing a contribution license is required. Could you please if you haven't already signed that sign it please so I can go forward with merging your PR?

@ryanmentzer : Could you please sign the CLA for this and resolve pending conflicts and re-submit?
@moderakh will merge your PR.

@ryanmentzer thank you for your PR and our apologies for responding with delay on our side.
As there is another PR for proxy (#220) and we are working on that closing this one.


schemas response

The folder responses contains the definition for the main responses but I am missing the one for "schemas". I also checked the model and I do not found its definition there neither. Am I missing it or should it be added?

The schemas for the Map, Configuration, etc. could be found in the responses\sections folder.
If you refer to the schemas for entry types like "genomicVariants", they could be found in the respective model repositories.

Thanks Jordi,
From your answer, I assume that I have a legacy endpoint that I have to remove:
 web.get('/api/schemas'          , handler.schemas)


Add ruler

There may be a protein-specific ruler and a ruler with gaps

First pass at this implemented


Rewrite pol-anon.deno test to rust

#rewrite_lit_test_every_day

What is the motivation for using impl Borrow<serde_json::Value> to pass JSON values to the framework? Is that trait even implemented for anything else than a serde_json::Value?

Also, perhaps we should use the opportunity to split the huge lit scripts into smaller test cases?


Fix #102

Refer to this link for build results (access rights to CI server needed):
http://guh.guru:8080/job/guh-webinterface-pull-request/66/


Just fastqc

Can fastp just do fastqc and not do filtering and trimming?

You can just don't specify the output files (-o/-O), then, you get the QC results, but no filtered data.

Nice! Good tip! Thanks very much!


Tucked logger configs into commands that need it in cli

This addresses #54
Description
Provide a brief description of the PR's purpose here.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] TODO 1

Questions

[ ] Question1

Status

[ ] Ready to go

There may be a standard way to run all the --help and bare subcommands to ensure help and usages appear as expected without exception via pytest. Need to check into this.