Implement toFloat

Following @mhagmajer's comment, a toFloat resource is needed, which converts the argument to float.
Hint for new contributors:
Check how toInt is implemented and write toFloat in a similar manner.
If you have any questions on how to start, please write a comment with a tag: @czerwinskilukasz1 or @mhagmajer, or join our Discord Community and let us know there. We will be very happy to help you start! :)
Cheers,
Łukasz (@czerwinskilukasz1)
AskQL Core Developer

@mhagmajer and @czerwinskilukasz1  Considering that the JS does not have an internal difference between integer and float since they both are Number this seems to be tricky, are you guys thinking about implementing wrappers for more explicitly handling the differences between the values considering casts?

Hi @engylemure , great question and sorry for taking a bit longer to reply, I was busy with solving tickets, haha :)
We are going to implement type checking (per https://github.com/xFAANG/askql/issues/45) and float and int are separate types.
We already have them listed in our grammar as well as other built-in types.
Does this answer your question?

Hi can I work on this feature?

Sure, go ahead @jamesd35 !

Hi, I have a question on the intended behavior for integers passed into ToFloat.
Based on the float definition it seems that any integers will not be validated
export const float = type<Type<number>, Type<number>>(number, {   name: 'float',   validate: (value): value is number => value % 1 !== 0, });
Currently if I pass in an integer, it returns it as an int
toFloat(4) int ask(call(get('toFloat'),4)) 4
Is this correct or should it return a float such as 4.0?

Good catch, jamesd35.  Since @mhagmajer wrote the types and validators, let's wait for his reply.

JavaScript wont differentiate between 4.0 and 4 because it treats it as the same data type. We do, however, with CLI written in JavaScript it's difficult to tell the difference

In that case, should the correct behavior to be to return the integer, but as a float type?

In that case, should the correct behavior be to return the integer, but as a float type?

@mhagmajer , would you have a while to reply?

Just wondering if anyone had a chance to look at my pull request?

@jamesd35 merged already :)


ui.home_tab_obscured was broken by the various settings/subscriptions refactoring

This is used in a bunch of places, and I think we need to audit each case to figure out the right path forward.  E.g. for hotkeys, we want to just replace it with checking if any of the new modals are open in some correct way.
I think as part of fixing this we should make a central library function that you can query to find out which of {home, settings, subscriptions, informational-overlays, etc.) is visible.
However, the subs.js call point might want to be deleted, since I think it has to do with the scrollout login that we've removed?
@brockwhittaker this is probably a project for you.

(This is a priority since it causes lots of weird side issues, like the "i" or "left arrow" hotkey firing unexpectedly)

A related bug caused by our not having a correct function for checking this stuff: a0aa2ca

Cool, I'll submit some PRs to fix this. Do you have more direct steps for accidentally triggering the wrong events?

I noticed this primarily by reading code; my plan for this would be to just read all the places that call this (there's only ~15).

@brockwhittaker this seems like something that could be done easily now using the new modals.js -- maybe we should just replace ui.home_tab_obscured with a new modals.any_modal_open()?


arkose token not provided

Hello
thanks for your code
I have this error in the logs
arkose token not provided
and the service returns
{
"error": "captcha required"
}
What can i do?

 File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 297, in __call__
    self.generate([prompt], stop=stop, callbacks=callbacks)
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 191, in generate
    raise e
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 185, in generate
    self._generate(prompts, stop=stop, run_manager=run_manager)
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/langchain/llms/base.py", line 438, in _generate
    else self._call(prompt, stop=stop)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gpt4_openai/__init__.py", line 35, in _call
    for data in self.chatbot.ask(prompt=prompt,
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 718, in ask
    yield from self.post_messages(
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 671, in post_messages
    yield from self.__send_request(
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 487, in __send_request
    data["arkose_token"] = get_arkose_token(
                           ^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/revChatGPT/V1.py", line 169, in get_arkose_token
    resp = requests.get(
           ^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connectionpool.py", line 790, in urlopen
    response = self._make_request(
               ^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connectionpool.py", line 536, in _make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connection.py", line 454, in getresponse
    httplib_response = super().getresponse()
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1374, in getresponse
    response.begin()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 318, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 279, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/socket.py", line 706, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1278, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1134, in read
    return self._sslobj.read(len, buffer)

Also getting a weird error message related to arkose

Track at https://github.com/acheong08/ChatGPT/issues/1431


RFC: De-Structure Dataset definitions

System logic around handling different formats of the same data are difficult to maintain when the different formats have very different technical details related to successfully processing them.
Example: A shapefile is a "hosted" type (%Dataset{%Technical{sourceType: "hosted"}}) but its corresponding GeoJson format (supported for automatic conversion by the Odo service) expects the sourceType to be "ingest" and various components of the system take different actions based on that value (or ignore the dataset entirely based on the value).
Dataset definitions should not prescribe specific technical substructures and should only define the basic business logic shared by all forms of that datasets' specific data. Technical structures for each of that data's various supported formats should be independently stored from the Dataset container structure and linked to the "owning" dataset via an identifier.
Example:
%Dataset{
  id: "123-456-7890",
  business: %Business{
    owner: "234-567-8901",
    cadence: "weekly",
    contact: "Bob",
    email<EMAIL_ADDRESS>    license: "FOSS",
    ...
  }
}
%Technical{
  id: "345-678-9012",
  dataset_id: "123-456-7890",          <====== Note the ID of the owning dataset
  sourceType: "ingest",
  sourceFormat: "application/json",
  url: "somewhere.com",
  ...
}
%Technical{
  id: "456-789-0123",
  dataset_id: "123-456-7890",          <====== Note the ID of the owning dataset
  sourceType: "ingest",
  sourceFormat: "text/csv",
  url: "s3://internal-bucket.smartcitiesdatabucket.com",
  ...
}

(Illustrative example only as conversion between json and csv is trivial for the system)

I like it.
I'd like andi to stitch together these multiple definitions in its view state. So when we hit /datasets on andi, you see all technical definitions for the dataset.
Also, we should think about PODMS and what effect this may have. I suspect it will actually make PODMS better, but we should think about that.


Fix for empty literal strings.

Maps can have literal strings that are empty, so matching for a
space after the colon is inappropriate.

Let's hold off on this one, there are issues with my sample data. I'll get a better fix soonish. (I hope)


Small patches to enable non-localhost controller development

This changeset adds two patches:

A small helper to select the flag arguments from the environment, if provided, with environment variables provided for several flags.
A handling of STORAGE_ADDR (see source) that if <IP_ADDRESS> is specified, looks up the hostname of the environment it's running in, and uses that unless HOSTNAME is supplied.

I was able to work successfully in my non-local env with these changes. I know they may not be suitable at first glance; but happy to change things if they are desired.

PTAL
On Mon, Jul 6, 2020 at 9:26 AM Stefan Prodan<EMAIL_ADDRESS>wrote:

@stefanprodan commented on this pull request.
In main.go
https://github.com/fluxcd/source-controller/pull/73#discussion_r450338757
:

@@ -57,6 +58,15 @@ func init() {
// +kubebuilder:scaffold:scheme
}

+func envOrDefault(envName, dflt string) string {
Can you please move this function at the end of the file
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fluxcd/source-controller/pull/73#pullrequestreview-443228283,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAET25B27TOBI5AYLCI2NTR2H3KTANCNFSM4OQ7BJMA
.


kubesphere/jenkins-ks:2.176.2 pull wrong

Failed to pull image "kubesphere/jenkins-ks:2.176.2": rpc error: code = Unknown desc = Error response from daemon: pull access denied for kubesphere/jenkins-ks, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Failed to pull image "kubesphere/jenkins-ks:2.176.2": rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/kubesphere/jenkins-ks/manifests/2.176.2: Get https://auth.docker.io/token?scope=repository%3Akubesphere%2Fjenkins-ks%3Apull&service=registry.docker.io: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

This image has not been released. If you want to try. Please take kubespheredev/ks-jenkins:2.176.2

This image has not been released. If you want to try. Please take kubespheredev/ks-jenkins:2.176.2

Thank you so much for your reply so soon，I installed it according to the official website 3.0 document，When will it be released

And my kubesphere/kubectl:v1.17.0 haven't found the corresponding version on dockerhub, haven't it been released yet？

This image has not been released. If you want to try. Please take kubespheredev/ks-jenkins:2.176.2

Thank you so much for your reply so soon，I installed it according to the official website 3.0 document，When will it be released

Would you please tell me the document link? I believe that might be a mistake.

And my kubesphere/kubectl:v1.17.0 haven't found the corresponding version on dockerhub, haven't it been released yet？

I'm not sure about this part. I see you already filed an issue on there.

And my kubesphere/kubectl:v1.17.0 haven't found the corresponding version on dockerhub, haven't it been released yet？

I'm not sure about this part. I see you already filed an issue on there.

yes,that's my issue yesterday,
this is the link:https://kubesphere.io/docs/installing-on-kubernetes/introduction/overview/
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.0.0/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.0.0/cluster-configuration.yaml

i set the devops:enabled:true

Thanks for telling me the document link. But I still feel confused about the image. I have no idea why you can get kubesphere/jenkins-ks:2.176.2.

Thanks for telling me the document link. But I still feel confused about the image. I have no idea why you can get kubesphere/jenkins-ks:2.176.2.

i dont know why i have this error,i can give u my kubesphere-installer.yaml , cluster-configuration.yaml and some image tonight when i back home,can u give me some suggestion,thanks a lot

Hopefully, we can find some clues from those config files.

Hopefully, we can find some clues from those config files.

thank u so much,and i'm a  beginner for study kubernetes,when i find kubesphere,i'm appreciate and pround for yours product,
I really hope it gets better and better

Hopefully, we can find some clues from those config files.

thank u so much,and i'm a beginner for study kubernetes,when i find kubesphere,i'm appreciate and pround for yours product,
I really hope it gets better and better

pic and yaml: https://github.com/a943915349/kubesphere

The problem might caused the config file kubesphere-installer.yaml.
Please see kubesphere-installer.yaml#L236
kubespheredev/xxx is not a released image.
If you want to install a released Kubesphere instead of trying some new features, please make sure to follow this document.
https://kubesphere.io/docs/installing-on-kubernetes/introduction/overview/. And don't replace any docker image path.
Of course, welcome to deep into Kuberesphere.
I guess we can close this issue. The document should be correct.

The problem might caused the config file kubesphere-installer.yaml.
Please see kubesphere-installer.yaml#L236
kubespheredev/xxx is not a released image.
If you want to install a released Kubesphere instead of trying some new features, please make sure to follow this document.
https://kubesphere.io/docs/installing-on-kubernetes/introduction/overview/. And don't replace any docker image path.
Of course, welcome to deep into Kuberesphere.
I guess we can close this issue. The document should be correct.

ok
thank u so much,i'll reset it


add save audio cloud function

Just add it to the package dependencies.
On Thu, Oct 3, 2019 at 16:53 Liu Yiling<EMAIL_ADDRESS>wrote:

@lyleaf commented on this pull request.
In functions/index.js
https://github.com/GoogleCloudPlatform/barnard-language-learning-app/pull/7#discussion_r331298467
:

@@ -4,6 +4,37 @@ const cors = require('cors')({origin: true});
const admin = require('firebase-admin');
admin.initializeApp();

+exports.saveAudioSuggestions = functions.https.onRequest(async (req, res) => {

const uuidv1 = require('uuid/v1');

You mean the require? I didn't want to interrupt other people deploying
cloud functions because of this package is missing, so I just put the
require inside. But I can put it outside of course.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/barnard-language-learning-app/pull/7?email_source=notifications&email_token=AACDZAEFOU4FRVGLCZH7ZTLQM2AY7A5CNFSM4I3OMT32YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCG3Q4HY#discussion_r331298467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACDZAAPHLYROEYQRRTHDCDQM2AY7ANCNFSM4I3OMT3Q
.


Fix various bugs with Minecraft - Fixes #1794

List any issues that this PR fixes: Fixes #1794
This pull request proposes the following changes:

Changes Conditional Layers to Solid Colo(u)r Layers with Override Logic
Change "Keys" to "Controls" for clarity
Add more conditional logic to hide special effect layers when player is not in game

Known issues/To do:

Fully tested and working.

The only issue I have with this is that it doesn't update existing profiles and only changes new installations. Is it possible to force a profile reset, like done for Rocket League's latest update?

I think in most cases using overrides is a good idea but honestly i like conditional layers because if a user doesn't know about overrides, it's impossible for them to know why a solid color layer isn't showing up. A conditional layer is easier to understand.
The rest of the changes make sense.


sdf-status Test Issue

This is a test issue to try out Fettle's GitHub Issues integration.
It is only a test.

This test issue has been resolved ✅
The status is now: Copacetic 🙂 💯

This test issue has been resolved ✅
The status is now: Copacetic 🙂 💯


Fix root path expansion in datasets.Kitti (#8163)

This closes #8163.

I have already signed the Contributor License Agreement. Do I need to close this pull request and reopen it?


Added tags, favorites and filters to articles listing endpoint

Filters don't have SQL implementation yet - it's in progress.

I've added SQL query for filtering.

I've created two issues:
https://github.com/softwaremill/realworld-tapir-zio/issues/6
https://github.com/softwaremill/realworld-tapir-zio/issues/5


Unishox for raspberry pi, linux or windows?

Is there an unishox version for desktop plataforms?

This repo is for desktop platforms.  Please see https://github.com/siara-cc/Unishox#compiling for Compiling this on any of the platforms you have mentioned above.
Also please see https://github.com/siara-cc/Unishox#projects-that-use-unishox for projects for other platforms.


npm install step fails with fatal: Fetched in submodule path 'content-modules/community', but it did not contain f16a58e11ca14982ce5c3cf375c2384422dfb3ac

What needs to be changed? I am following the local setup steps and getting an error running npm install:
$ nvm install
Found '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/.nvmrc' with version <lts/*>
v20.17.0 is already installed.
Now using node v20.17.0 (npm v10.8.2)

$ npm install
npm warn deprecated<EMAIL_ADDRESS>Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported

> prepare
> npm run seq -- get:submodule _prepare:docsy

> seq
> bash -c 'for cmd in "$@"; do npm run $cmd || exit 1; done' - get:submodule _prepare:docsy

> get:submodule
> npm run _get:${GET:-submodule}

> _get:submodule
> set -x && git submodule update --init ${DEPTH:- --depth 1}

+ git submodule update --init --depth 1
Submodule 'content-modules/community' (https://github.com/open-telemetry/community) registered for path 'content-modules/community'
Submodule 'content-modules/opamp-spec' (https://github.com/open-telemetry/opamp-spec) registered for path 'content-modules/opamp-spec'
Submodule 'content-modules/opentelemetry-go' (https://github.com/open-telemetry/opentelemetry-go) registered for path 'content-modules/opentelemetry-go'
Submodule 'content-modules/opentelemetry-java-examples' (https://github.com/open-telemetry/opentelemetry-java-examples.git) registered for path 'content-modules/opentelemetry-java-examples'
Submodule 'content-modules/opentelemetry-proto' (https://github.com/open-telemetry/opentelemetry-proto) registered for path 'content-modules/opentelemetry-proto'
Submodule 'content-modules/opentelemetry-specification' (https://github.com/open-telemetry/opentelemetry-specification.git) registered for path 'content-modules/opentelemetry-specification'
Submodule 'content-modules/semantic-conventions' (https://github.com/open-telemetry/semantic-conventions) registered for path 'content-modules/semantic-conventions'
Submodule 'themes/docsy' (https://github.com/google/docsy.git) registered for path 'themes/docsy'
Cloning into '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/content-modules/community'...
Cloning into '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/content-modules/opamp-spec'...
Cloning into '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/content-modules/opentelemetry-proto'...
Cloning into '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/content-modules/opentelemetry-java-examples'...
Cloning into '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/content-modules/semantic-conventions'...
Cloning into '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/themes/docsy'...
Cloning into '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/content-modules/opentelemetry-specification'...
Cloning into '/usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io/content-modules/opentelemetry-go'...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
fatal: transport 'file' not allowed
fatal: Fetched in submodule path 'content-modules/community', but it did not contain f16a58e11ca14982ce5c3cf375c2384422dfb3ac. Direct fetching of that commit failed.
npm error code 1
npm error path /usr/local/home/mikedame/go/src/github.com/open-telemetry/opentelemetry.io
npm error command failed
npm error command sh -c npm run seq -- get:submodule _prepare:docsy
npm error A complete log of this run can be found in: /usr/local/home/mikedame/.npm/_logs/2024-08-22T14_15_29_567Z-debug-0.log

As far as I can tell, I'm following all of the steps in the setup page. This is a fresh clone of the repo.
What is the name + path of the page that needs changed? https://opentelemetry.io/docs/contributing/development/#local-setup

Update: I fixed this by running git submodule update --init before npm install. Maybe that should be included in the docs steps? Not sure if it was just a me issue, maybe document it as a troubleshooting step at least. If not, please feel free to close this issue now.

Hi @damemi: I wasn't able to reproduce the problem, even from a clean install (and with DEPTH unset). Right, when you run that command, you're not bounding the submodule depth -- and I suspect that your original problem was because of the default DEPTH of 1.  I'll submit a PR to adjust the default value (to match what we use in the GitHub actions).


feat(file-uploader): make labelTitle, labelDescription slottable

<FileUploaderButton>
  Label title
  Label description
</FileUploaderButton>

Released in v0.79.0


Firefox not playing m3u8 file

I tried to m3u8 streaming and its working fine on chrome and safari but its not playing in  Mozilla , IE, Opera (MAC), Chrome(MAC) , Is there any way i can do this or it just don't supports.

@mwjigar I have a branch ready to support HLS in Chrome and FF using hls.js (#1776). Feel free to test it.

@mwjigar Check demo/mediaelement-hls.html; the player supports m3u8 files as well. Let us know if you have questions

@mwjigar Closing this issue since no answer has been posted in more than 2 weeks. If you'd like to reopen this, let us know. Thanks!


[Bug]: Crash server 1.12.2

Forge Version
<IP_ADDRESS>60
Galacticraft Version
Galacticraft-1.12.2-4.0.5
Log or Crash Report
crash-2023-04-23_09.15.39-server.txt
https://gist.github.com/gri3229/9bb6e88a46c23fd7434281bc8e2223f3
Reproduction steps

Installed Galacticraft-1.12.2-4.0.5 on the server
Judging by the crash report, the mod seems to be missing, but in fact it is
Crash/Bug
...

If the mod is in fact in the mods folder it should be loading, ensure you dont have any older versions of the mod in that folder as well. Closing this as i see nothing here that would point to an issue with the mod itself.


[ENH] Add more examples to pivot_longer

Add more examples to highlight flexible column selection in pivot_longer

🚀 Deployed on https://deploy-preview-1242--pyjanitor.netlify.app

@thatlittleboy pls lemme know if i broke anything with the new google style format :grin:

Merged! Thank you, @samukweku!


[20.03] palemoon: 28.10.0 -> 28.12.0

(cherry picked from commit a5ffb7cf8a0af97bd4302d1ab27fd8cf3a16f6f3)
Backport of #93407

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] 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
[ ] Fits CONTRIBUTING.md.

thx @OPNA2608 :sparkles:


fix(plugin-legacy): dynamic import browserslist-to-esbuild

Description
fix https://github.com/vitejs/vite/pull/15988#issuecomment-1959486907
browserslist-to-esbuild is ESM only, so we need to dynamically import it.
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

/ecosystem-ci run


go: 1.12.7 -> 1.12.9, 1.11.12 -> 1.11.13

Motivation for this change
Upstream update
Supersedes #66595
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] 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
cc @Mic92 @fmpwizard

@GrahamcOfBorg build go go_1_11

@GrahamcOfBorg build pet jx

@rvolosatovs mind splitting the commit into 2, one for go_1_11 and another one for go_1_12. I'll merge once it's done.
@Mic92 I intend to.merge this straight to master. Aside from building Go itself, the rest of the packages are not CPU heavy to compile. Sounds good to you?

@kalbasit do you plan on backporting 1.11.13 to 19.03 ? I know we are close to 19.09, but there are a couple of CVE's to patch.

@kalbasit done

@johanot yes I think we should do that. @rvolosatovs do you mind filing a PR against 19.03.

Will do!


fix: reconcile drift in adaptive schema files

I used a combination of md5sum and a diff tool to compare files across
the botbuilder-dotnet repository and this one. This reconciles any
differences.

Pull Request Test Coverage Report for Build 394408946

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 84.801%

Totals

Change from base Build 392069619:
0.08%

Covered Lines:
17351

Relevant Lines:
19536

💛  - Coveralls

@chrimc62 is there anything that might be problematic here? A once over would be much appreciated.


Error on project start

Environment
Knex version: 0.19.4
Database + version: Psql 11.4
OS: Windows 10
@lorefnon.
Bug

On npm start project should successfuly compile and started

E:\ntts\node_modules\knex\lib\client.js:258
return this.acquireRawConnection().then(async (connection) => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (E:\ntts\node_modules\knex\lib\knex.js:2:16)
[nodemon] app crashed - waiting for file changes before starting...

Error throws on Windows, the same project on Ububntu works fine.

Which Node version are you using? Sounds like it's older than Node 8, which is not supported.


Request to Bypass Silverbullet Built-in Login When Using External Authentication

Hi,
I have Traefik with Authelia in front of Silverbullet, and I would like to disable the built-in authentication in Silverbullet, leaving the authentication entirely in the hands of Authelia.
Here is my current configuration for Silverbullet:
services:
  silverbullet:
    image: zefhemel/silverbullet
    restart: unless-stopped
    env_file:
      - .env
    environment:
      - SB_USER=admin:admin
      - PUID=1000
      - GUID=1000
    volumes:
      - silverbullet-space:/space
    ports:
      - 4678:3000
    labels:
      traefik.enable: "true"
      traefik.docker.network: proxy

      traefik.http.routers.silverbullet.rule: Host(`${SILVERBULLET_DOMAIN}`)
      traefik.http.routers.silverbullet.entrypoints: websecure

      traefik.http.routers.silverbullet.tls: "true"
      traefik.http.routers.silverbullet.tls.certresolver: leresolver

      traefik.http.routers.silverbullet.service: silverbullet-svc
      traefik.http.services.silverbullet-svc.loadbalancer.server.port: "3000"

      traefik.http.routers.silverbullet.middlewares: authelia@docker
    networks:
      - proxy
    logging:
      driver: "local"

And here is the relevant part of my Authelia configuration:
    - domain: silverbullet.yourdomain.com
      resources:
        - '/.client/manifest.json$'
        - '/.client/[a-zA-Z0-9_-]+.png$'
        - '/service_worker.js$'
      policy: bypass

    - domain: silverbullet.yourdomain.com
      policy: one_factor
      subject:
        - group:users

Despite having Authelia set up as the authentication middleware in front of Silverbullet, I am still being prompted by Silverbullet's own login page after authenticating through Authelia.
Currently, the Silverbullet login is set to admin:admin, but I want to bypass this completely and let Authelia handle all authentication.
Is there a way to fully disable the built-in Silverbullet authentication or an alternative method to achieve this behavior?
Any help or guidance would be greatly appreciated.
Thank you

Sure. Just don't set the SB_USER variable 🤓

It did not work.
I'm still prompted for authentication, but now no login and password will work:
in the docker logs, I have:
silverbullet-1  | Error verifying JWT, redirecting to auth page The jwt's signature does not match the verification signature.
silverbullet-1  | Error verifying JWT, redirecting to auth page The jwt's signature does not match the verification signature.
silverbullet-1  | Authentication failed, redirecting to auth page.
silverbullet-1  | Unauthorized access, redirecting to auth page

Are you sure you properly restarted everything with the new config? The server should simply disable any authentication checks when SB_USER isn't set (or the --user flag).

Ok, I solved the issue with:
   environment:
      - SB_USER=

I think that even if the env var is not set, it still loads some defaults.
By setting it to nothing, the silverbullet authentication is skipped.

This is very odd though. Is docker not somehow inheriting this from your overall environment. You're not setting SB_USER somewhere else?

And you are right, it was set in the env file and I forgot about:
env_file:
      - .env

Thank you for the support!

Alright. Good!


fix codeforces contest name extraction

codeforces contest url is https://codeforces.com/contest/{contest_id},
so should skip the first segment of the paths

bors r+

bors r+


Add templateflow to DatasetLinks

References #3261.
Changes proposed in this pull request

Add the TemplateFlow base directory to the DatasetLinks.
Add the template used for normalization to the Sources for standard-space volumetric outputs.

The Sources from ds054 sub-100185_task-machinegame_run-01_space-MNI152NLin2009cAsym_res-2_desc-preproc_bold.json look good!
"Sources": [
    "bids:raw:sub-100185/func/sub-100185_task-machinegame_run-01_bold.nii.gz",
    "bids::sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt",
    "bids:anat:sub-100185/anat/sub-100185_from-T1w_to-MNI152NLin2009cAsym_mode-image_xfm.h5",
    "bids:templateflow:tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_T1w.nii.gz"
]

Let's point the templateflow dataset link at the GitHub repo. A local path is not ideal.
I don't know if it's possible to get a more permanent URL from templateflow itself, e.g., with a commit hash or similar. If it's not easy, let's just open an issue on tf. Might need to wait until versioning templates is sorted out.


remove beta warnings from policyfile commands

We can stay pre-1.0 while we finish completing the feature set, but things are solid enough we don't need to bang everyone over the head with warnings any more.

:100: :+1: :shipit:


Does it support RTC Data-Channel?

Does it support RTC Data-Channel or just Audio/Video?

This repo only suppurt RTC data channel, audio and video support is removed
to minimize the binary size.
On Wed, Mar 13, 2024 at 02:11 Kauê Rodrigues dos Santos <
@.***> wrote:

Does it support RTC Data-Channel or just Audio/Video?
—
Reply to this email directly, view it on GitHub
https://github.com/swarm-cloud/Apple-WebRTC/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXUQUFLEW4BODKI54GEGPLYX5AOFAVCNFSM6AAAAABESXYZAWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DEMZWHAZDANA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Basic UI

In this milestone I:

Created app.rb and main.rb files with their respective classes.
Added an interface class to the main.rb file.
Created a cases method to selected the users selection.
Created methods to:
List all books.
List all people.
Create a person (teacher or student, not a plain Person).
Create a book.
Create a rental.
List all rentals for a given person id.
Fixed and refactored the code to pass linters.

@jerryowusu Thank you for reviewing my project

@mwanawabangona Thank you for reviewing my project. Have a great weekend


Baroalarm v0.04

Use Prompt with dismiss and pause
Improve barometer value median calculation

A similar app would be nice for paragliding. Maybe you can tweak that to support this use case. Let me give some context. When doing paragliding you rely on hot wind to gain altitude. When you don't have references or known hot spots it's useful to have a device that vibrates or beeps (in bangle usecase should be vibrating), when you gain altitude, so you know you must stay in this location to go up. When the altitude is going down nothing beeps or vibrates.
This could be an idea for another app. but just wondering if you had this in mind to integrate it here :)

Looks good - you happy to merge?
The whole 7x getPressure thing might be better accomplished by just turning the barometer on, responding to the 'pressure' event and then turning it off when you're done though?

Thank you for your feedback. I will rework the barometer handling and some other things.


chore: transfer proxy admin for erc20 bridge

What ❔

Why ❔

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.

Added to https://github.com/matter-labs/era-contracts/pull/401 instad


Incorrect detection of boundaries for anonymous code block (Blank line is statement delimiter = Smart)

Description
This issue is quite similar to this: #34815 but for another statements from the code below.
Adding symbol ; at the end of the first query fixes the issue.
Please also check other kinds of statements.
select 1

do $$
begin
raise notice 'world';
end
$$;

DBeaver Version
Community Edition <IP_ADDRESS>407222322
Operating System
Windows 10
Database and driver
PostgreSQL 16
PostgreSQL JDBC Driver 42.7.2

Thank you for bug report.

We need to check it not only for PostgreSQL

Please also check another similar test case. The root cause may be the same.

copy-paste this code:

select * from pg_class

;

do $$
begin
    raise notice 'hello world';
end $$;

set caret within the first query
execute it with Ctrl + Enter

Expected: only select is executed (because the symbol ; is presented after the first statement)
Actual: both select and do-block are executed
https://github.com/user-attachments/assets/37c7299c-420d-41ff-ae60-3ab7b6846a30

Here is another case of the first issue.
Also notice that the word ANALYZE has wrong color and not bolded if there is no character ; between the statements.
https://github.com/user-attachments/assets/dce00a02-7ed5-4d05-a0a5-dd31d53fed0a


compatible for swift 2.0 and xcode 7

Sorry I didn't see the previous pull requests, this is irrelevant.


Render x-enumDescriptions in table

Description
This PR adds the ability to render x-enumDescription values alongside enum lists
Motivation and Context
I am working on a spec with ~100 uses of x-enumDescription, a feature of redocly. We have just migrated from redocly and would rather not require reformatting my spec to.
How Has This Been Tested?
See new entries to parameters and response body in the petstore yaml
Screenshots (if appropriate)
Response body

Parameter

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[ x ] I have updated the documentation accordingly.
[ x ] I have read the CONTRIBUTING document.
[ x ] I have added tests to cover my changes if appropriate.
[ x ] All new and existing tests passed.

Thanks for the PR @omonk - made me realize we should probably try to document the vendor extensions supported by the plugin.

Small request - can we rename "Enum" to "Enum Value" for clarity/consistency? Thanks!

Small request - can we rename "Enum" to "Enum Value" for clarity/consistency? Thanks!

Ah yes, resolved this now, thanks @sserrata

Many thanks @sserrata - what are you plans with the next release?

Many thanks @sserrata - what are you plans with the next release?

Hopefully by end of week. Reminder that canary releases are published with each merge to main.


Where is the innovation point

Thank you very much for your excellent article. I would like to ask about the modification and innovation of clip, specifically in which position in the code. As a beginner, I really hope to receive your help! Looking forward to your reply, thank you!

Hi @zbb1111,
Thank you for showing interest in MaPLe!
Regarding your query, please note that our MaPLe framework has been implemented in the following parts of the code:

MaPLe trainer: maple.py
Vision-Language deep prompting: clip/model.py

You can checkout these code files for the main implementation of MaPLe framework.
Let us know if there are any further questions.
Thank you and kind regards!

Hi @zbb1111,
I am closing the issue now.
Feel free to open it if there are still any issues.


[live tests] test-resources.* file location and test parenting should be more flexible

Currently the test-resources.json, test-resources-pre.ps1 and test-resources-post.ps1 files are mapped 1:1 with all tests located within a service directory, and must be located within sdk/<service>/test-resources.*. This 1:1 mapping makes it harder to split up resource generation on a more granular basis, such as when there are multiple services per sdk (as is the case with storage, e.g. blob, batch, datalake, etc.).
We should perhaps support something like parameterized test-resources file locations or some sort of directory walking (look for files in sdk/<service>/<sub-service>/* first. Basically a way to better map resource provisioning to tests per-sdk, when they all exist within one pipeline definition.

Supporting nested file paths - much like git and other common file patterns - would be pretty easy to support. Start deep and work up, just like .gitignore files.

Supporting nested file paths - much like git and other common file patterns - would be pretty easy to support. Start deep and work up, just like .gitignore files.

Another idea that was discussed was first deploy the general service template then, depending on its outputs, you could also go deeper. IMO, if there's no great reason to, not only would this take more time than a combined ARM template set, but would be more confusion for devs to use or probably us to support.

Another idea that was discussed was first deploy the general service template then, depending on its outputs, you could also go deeper. IMO, if there's no great reason to, not only would this take more time than a combined ARM template set, but would be more confusion for devs to use or probably us to support.

Related: https://github.com/Azure/azure-sdk-for-java/pull/18773

Related: https://github.com/Azure/azure-sdk-for-java/pull/18773

@heaths I like the nested path, working up model. ServiceDirectory can already contain multiple directories (e.g. identity/some-sub-service) based on my reading of the code, but adding logic to search up to the base URI segment of the value could eliminate the need for manually specifying the service directory across all repos where there may be nested templates or not.

@heaths I like the nested path, working up model. ServiceDirectory can already contain multiple directories (e.g. identity/some-sub-service) based on my reading of the code, but adding logic to search up to the base URI segment of the value could eliminate the need for manually specifying the service directory across all repos where there may be nested templates or not.

Yeah - the subdir resolution was intentional because, at one point in my design, the idea was to support sub-services (but not merging - which I like the idea of we're discussing here).

Yeah - the subdir resolution was intentional because, at one point in my design, the idea was to support sub-services (but not merging - which I like the idea of we're discussing here).


build: fix format string warnings

Related ChromiumOS commit that also fixed these errors:
https://chromium.googlesource.com/chromiumos/platform/update_engine/+/75039d7397f03dff77bdf4e26398049ff88edc4c
Differences from that commit:

off_t is signed, so don't cast to unsigned
size_t can use %zu, no casting required

LGTM


heavier_once_cell: add detached init support

Aiming for the design where heavier_once_cell::OnceCell is initialized by a future factory lead to awkwardness with how LayerInner::get_or_maybe_download looks right now with the loop. The loop helps with two situations:

an eviction has been scheduled but has not yet happened, and a read access should cancel the eviction
a previous LayerInner::get_or_maybe_download that canceled a pending eviction was canceled leaving the heavier_once_cell::OnceCell uninitialized but needing repair by the next LayerInner::get_or_maybe_download

By instead supporting detached initialization in heavier_once_cell::OnceCell via an OnceCell::get_or_detached_init, we can fix what the monolithic #7030 does:

spawned off download task initializes the heavier_once_cell::OnceCell regardless of the download starter being canceled
a canceled LayerInner::get_or_maybe_download no longer stops eviction but can win it if not canceled

Split off from #7030.
Cc: #5331

Will this eventually allow us to remove the permit argument from the closure signature that is required by get_or_init?

I will not be using that method in Layer once my refactorings are in, so might as well.


rename privateKey

1、rename privateKey -->wallet
2、change tx extra data regex in signer.js

Please either remove the change to package-lock.json or add the changes that match to package.json

I have remove changes to package-lock.json


Missing Deeplink.md Docs file

Report
Plugin Version
N/A
On what Platform are you having the issue?
N/A
What did you do?
Click on the link to learn about deep linking in this docs section (although all appear to be linking to the same broken file for those referring to deep linking)
What did you expect to happen?
Docs file to be opened
What happened instead?
Was directed to a 404 page (file doesn't exist in current master branch)
Please provide any other relevant information.

Thank you for reaching out. We will fix it


Fixing puntuactions

Fix Issue #28009
Context

Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle merge

Thanks for your contribution @Helfese !

The merge queue build has started. Click here to see all failures if any.


testpage-overlay Badge Number counts deleted resources

Currently the testpage-overlay badge number represents the number of resources including deleted ones. This is quite confusing for many users, as they are seeing e.g. 3 Patients in the overlay and then query the server and getting 0 results, as these 3 Patients are all deleted ones.
Would it make sense to change the overlays behaviour to only count available resources?

This probably merits a discussion.. The challenge with this is that adding a where clause on the count query would likely slow it down quite a bit on servers with a lot of data. Might make sense to make this a configurable thing, since including deletions in the counts is probably only even a problem on servers with smaller amounts of data


Karma 2 no longer correctly reports the original error stack when using source maps

Expected behavior
When reporting an error and source maps are available the error stack should point to the original source line and column. The mocha-reporter shows this by using a format like in the following example:
(webpack:///test/unittest/frontend/ods/convert--test.js:43:9 <- temp/karma_unittests/convert--test.js:712:10)
at Context.<anonymous> (webpack:///test/unittest/frontend/ods/convert--test.js:43:9 <- temp/karma_unittests/convert--test.js:712:10)

Actual behavior
Up to Karma 1.7 this worked as expected but starting with Karma 2.0 the commit made a change in the definition of URL_REGEXP that causes the reporter to no longer recognize the lines in the error stack.
In the file lib/reporter.js when building URL_REGEXP the urlRoot + '\\/?' is now added before the (base/|absolute) and because urlRoot is always automatically post fixed with / the resulting regular expression now expects the url always to start with /base causing the matching to fail and to no longer correctly report the original file, line and column of the error stack.
at Context.<anonymous> (base/temp/karma_unittests/convert--test.js?6c85b6986d1a9cc153d2877ce8637a38a6b666ad:712:10)

Environment Details

Karma version (output of karma --version): 2.0.0
Relevant part of your karma.config.js file

// Karma configuration

module.exports = function(config) {
  config.set({
    // base path that will be used to resolve all patterns (eg. files, exclude)
    basePath: '',

	// frameworks to use
    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
    frameworks: ['mocha', 'chai'],

    // list of files / patterns to load in the browser
    files: [
      'dist/**/*.js'
    ],

    // list of files to exclude
    exclude: [
    ],

    // preprocess matching files before serving them to the browser
    // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
    preprocessors: {
		'dist/**/*.js': ['sourcemap']
    },

    // test results reporter to use
    // possible values: 'dots', 'progress'
    // available reporters: https://npmjs.org/browse/keyword/karma-reporter
    reporters: ['mocha'],

    // reporter options
    mochaReporter: {
      showDiff: true
  	},

    // web server port
    port: 9876,

    // enable / disable colors in the output (reporters and logs)
    colors: true,

    // level of logging
    // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
    logLevel: config.LOG_DEBUG,

    // enable / disable watching file and executing tests whenever any file changes
    autoWatch: false,

    // start these browsers
    // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
    browsers: ['Chrome'/*, 'Firefox', 'IE'*/],

    // Continuous Integration mode
    // if true, Karma captures browsers, runs the tests and exits
    singleRun: true,

    // Concurrency level
    // how many browser should be started simultaneous
    concurrency: 1,

	client: {
		// Capture all console output and pipe it to the terminal.
		captureConsole: true,
		mocha: {
			timeout: 60000
		}
	},

  });
}

Steps to reproduce the behavior

Build a mocha unit test with a failing test and bundle it using webpack
Run the unit test using karma
Compare the results of the error stack between Karma 1.7 and 2.0

I'm having exactly the same problem after upgrading to karma 2.0 and #2931 fixed the problem for me. What prevents it to be merged?

I confirm this issue. Here I prepared minimal reproduction. To reproduce:
npm install
npm run test

then
npm install<EMAIL_ADDRESS>npm run test

Confirmed that reverting to<EMAIL_ADDRESS>works on my project and that<EMAIL_ADDRESS>is the issue


Replace pkcs12 with software.sslmate.com/src/go-pkcs12

Got this error when generating a QR code:
"x/crypto/pkcs12: unknown digest algorithm 2.16.8<IP_ADDRESS>.4.2.1"
The https://pkg.go.dev/golang.org/x/crypto/pkcs12 documentation says:
"This package is frozen. If it's missing functionality you need, consider an alternative like software.sslmate.com/src/go-pkcs12."

LGTM thanks for your contribution @cegebe !


macOS: FIAT Currency scrollbar does not work

On macOS (at least), the scroll bar at the bottom that you use to select a primary currency does not work with the scroll wheel. Clicking on it causes the entire menubar app to drag, and the only way I was able to browse through them all was to use the arrow keys.

Related #10


Nucleus Crashes on 4-player launch of Borderlands 2 using SSE

When enabling SSE for Borderlands 2 by editing the .js file for the game, and using a custom SSE .ini file, a 4-player launch will cause Nucleus Co-Op to crash and prompt a debugging.

An Update: Issue above also applies to 2 and 3 player launches

Having the same problem. Happens with just one player launches too.


scaffolder url integration ignores the specified branch

Scaffolder ignores the non-default branch specified in the URL
Expected Behavior

url integration should get the URL ref's branch, not the default.
Current Behavior

the default branch is cloned
Possible Solution

Make this call to git clone include the parsedGitLocation.ref:
https://github.com/backstage/backstage/blob/57460cda021bddaf04e7c3351c3881a3f24859b0/plugins/scaffolder-backend/src/scaffolder/stages/prepare/github.ts#L68-L71
Workaround: make sure the URL ref is to the default branch.
Steps to Reproduce

create a (private) repo in github that has more than one branch.
make sure the non-default branch lacks the directory referenced in the templater url.
specify a url in that repo that references the non-default branch.
select create a component in the UI
Step 1: prepare the skeleton will succeed.
cd into the cloned tmp directory and do a git branch and see that the default branch is the only one present.
Step 2: fails with ENOENT when attempting to write to cookiecutter.json because the directory is not in the cloned repo.

Context

I was testing writing my own templater in a non-default branch of my repo.
Your Environment

NodeJS Version (v12): v12.20.0
@backstage/plugin-scaffolder-backend: "^0.4.1"

OK so I think we have to pass in the ref to the clone command. Sounds like a sensible solution.
Do you want to have a stab at contributing this fix @n2ygk?

OK so I think we have to pass in the ref to the clone command. Sounds like a sensible solution.
Do you want to have a stab at contributing this fix @n2ygk?

@benjdlambert I've started working on this and will submit a draft PR shortly. I'm "underskilled" in typescript/javascript so bear with me ;-)

@benjdlambert I've started working on this and will submit a draft PR shortly. I'm "underskilled" in typescript/javascript so bear with me ;-)

@n2ygk perfect! No probs at all! Love the contributions!

@n2ygk perfect! No probs at all! Love the contributions!


[WIP] Dependency: brisk-reconciler->1b8f321

This upgrades Revery to use the latest brisk-reconciler, which changes (streamlines) the API a bit:

A separate React.element call is no longer needed thanks to @jchavarri 's work - going through and updating these!
Components now return a tuple of (hooks, <JSX />)  thanks to @wokalski 's work

TODO:

Rename slots -> hooks
Remove additional make

Setting state seems to be broken after converting (for the Examples build - both the ScrollView and Clickable are broken, because it seems the ref we're trying to store here:
    let (clickableRef, setClickableRefOption, slots) =
      React.Hooks.state(None, slots);

Isn't being persisted. I see that we are setting it, and that we're getting marked as stale, but when we go to render again, we still have None. Need to dive in a bit more and see if I can get more a minimal repro.

@bryphe I’m on it

@bryphe I updated tests to test setState (it appears we only used reducers in the tests.) It should work now!

Awesome, thank you @wokalski - much appreciated!

Closing in lieu of #331

FYI @wokalski - tested with #331 and everything is working! Thank you! 🎉


Replace vuepress with vitepress

As JavaScript framework churn continues, and as a result of the highly divisive Vue 3 release, I suggest dropping VuePress in favor of VitePress. FYI

However, maintaining two SSGs in parallel isn't sustainable, so the Vue team has decided to focus on VitePress as the main recommended SSG in the long run.

I see the minimum as creating a starter and possibly a guide.

Possibly. I'm familiar with vue3, but I'm new to both vitepress and decapcms. So I've a lot of learning curve. I was trying to set up an instance using a starter so that I could learn...and found the gap.
So I can help, and will be trying to get one instance going anyway, but I'd appreciate help on it.


cmd/go: ld: building for macOS, but linking in object file built for iOS

Go 1.19.4
When building our application, a few of us occasionally get the error:
/Users/bradfitz/.cache/tailscale-go/pkg/tool/darwin_arm64/link: running gcc failed: exit status 1
ld: building for macOS, but linking in object file built for iOS, file '/var/folders/0f/7sz95dc94nj46b6yz8p_fqd40000gn/T/go-link-3835913802/000004.o' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And the only way to recover is to do a go clean -cache and build again.
We haven't figured out more than that, yet. And we don't have an on-demand repro.
Just filing this now in case anybody has any ideas.
Like, maybe piece of the environment is missing from the cache signature? Maybe an empty file is being created that's being interpreted as iOS instead of macOS?
But that error message is not a Go thing at all. I see tons of Google results for other languages. But maybe cmd/go can detect whatever broken state its input is in and ignore that input file and rebuild it instead? Totally guessing.
/cc @ianlancetaylor who likes linkers :)

Ran into this on Friday after upgrading from 1.19.1 to 1.19.4.

It sounds like once this problem occurs, it is repeatable.  If so, then when it happens again, run with -ldflags=-tmpdir=/my/private/tmpdir and take a look at the failing file.

Hello guys, I'm having a similar issue while trying to build my binary into Xcode 15, comparing output from otool -lv  between an old binary and a new one using either go 1.20/21/22 I notice a big difference : I' ve tried cleaning cache, compiling my go library using legacy clang and nothing seems to work... I hope anyone can support , I'm attaching the output comparison here.

Looks like the macOS platform is getting in even when I compile for iOS....
My make as follows:
ios-arm64:
CGO_ENABLED=1
GOOS=ios
GOARCH=arm64
SDK=iphoneos
SDK_PATH=xcrun --sdk iphoneos --show-sdk-path
CARCH="arm64"
CC=$(PWD)/clangwrap.sh
CGO_CFLAGS="-fembed-bitcode"
go build -v -buildmode=c-archive -ldflags="-s -w" -gcflags=all="-l -B" -tags ios -o $(IOS_OUT)/btfs.a .

@simbadMarino could you show exactly what commands you run, including the otool command. What objects are you inspecting in otool? They are probably C objects, not Go objects. Could you try passing the -x flag to go build and paste the output? That would include the commands the C objects are compiled.

Sure, thanks for the help!! and quick response :)
I'm attaching the output with -x flag.
outputCompileBTFS.zip
I'm inspecting the binary .an objects (c-archives) . The command I'm using to inspect them is: otool -lv btfs.a | grep -A5 LC_BUILD

What is the content of your clangwrap.sh?
# runtime/cgo
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)

In your output I see C compilation failures above, which looks like the C toolchain seg faulted, which seems like a bug in the C toolchain.

My clangwrap:
#!/bin/sh
This uses the latest available iOS SDK, which is recommended.
To select a specific SDK, run 'xcodebuild -showsdks'
to see the available SDKs and replace iphoneos with one of them.
if [ "$GOARCH" == "arm64" ]; then
SDK=iphoneos
PLATFORM=ios
CLANGARCH="arm64"
else
SDK=iphonesimulator
PLATFORM=ios-simulator
CLANGARCH="x86_64"
fi
SDK_PATH=xcrun --sdk $SDK --show-sdk-path
export IPHONEOS_DEPLOYMENT_TARGET=5.1
cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
CLANG=xcrun --sdk $SDK --find clang
exec "$CLANG" -arch $CLANGARCH -isysroot "$SDK_PATH" -m${PLATFORM}-version-min=12.0 "$@"
Adding the file again as plain text
outputbuild_btfs.txt
I haven't noticed any segmentation faults before without adding the -x flag!   :/

I noticed that by removing the CGO_CFLAGS="-fembed-bitcode" \ line in the make file I get rid of the segmentation faults, but still get the linking errors while building in Xcode :/.
Good news is that after trying the  verbose option for CGO as you suggested Im getting the following:

Linking error is pointing to a specific library(go-libutp), I'll dig into it and report how it goes :) Thanks again for all the support @cherrymui !

Okay, https://github.com/anacrolix/go-libutp has C++ files, which may be compiled targeting macOS instead of iOS. Try setting the CXX environment variable to a C++ compiler targeting iOS. You may need a clang++ wrapper script similar to clangwrap.

You were right! by adding the CXX flag pointing to clang fixed my issue!, additional to this starting from go 1.20 if you are linking a c-archive binary with net dependency you need to add CGO_LDFLAGS=-lresolv \ flag for CGO as per release notes:

I case someone else need this below you can see how I ended up configuring my make and Xcode :
make:
ios-arm64:
	CGO_ENABLED=1 \
	GOOS=ios \
	GOARCH=arm64 \
	CC=$(PWD)/clangwrap.sh \
	CXX=$(PWD)/clangwrap.sh \
	CGO_CFLAGS="-fembed-bitcode" \
	CGO_LDFLAGS=-lresolv \
	go build -v -buildmode=c-archive -ldflags="-s -w" -gcflags=all="-l -B" -tags ios -o $(IOS_OUT)/btfs.a .

Xcode Build settings (add -lresolv flag under Other linker flags):

Thanks a lot for the support @cherrymui ! , without your advice I would be still clueless 👍


Note For when implementing planet proto's OOP lesson

When the planeproto command is ran during the lesson it offers
 » To execute your program in a test environment, run: planetproto run program.js

This does not seem to work in c9 and possibly in general.
Instruction should be worded in such a way as to either (a) avoid mentioning run and stress verify or (b) to directly instruct campers that run does not work as intended

Closing as stale, please reopen if this is still an issue


BCRHP Complete form for S3 Storage

Form is here:
https://apps.nrs.gov.bc.ca/int/jira/servicedesk/customer/portal/1/create/701
Look for Object storage on this page for references:
https://apps.nrs.gov.bc.ca/int/confluence/display/OPTIMIZE/Overview%3A+Optimization+Products+and+Services

S3 Storage needs to get up and running. Discuss with (new?) PM next steps to do this @KatieMcEvoy

@KatieMcEvoy - did you get anywhere with this?

@bferguso not so far. I asked Baldeep to look into some things because TACS can't request it.


Create Metric for Audio Similarity / Reconstruction

Cross-correlation (1D and 2D):
https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.correlate.html
https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.correlate2d.html
I think we're supposed to take the midpoint of the returned matrix?
Also, I'm not sure what the range of values here is.

Cross-correlation (1D and 2D):

Using the 2D variant is unnecessary (the 1D version generalizes well)

I think we're supposed to take the midpoint of the returned matrix?

This seems to be correct. Ensure that the midpoint is taken across every dimension.
For even-sized dimensions, I use the mean of the values at the center-most indices.

Also, I'm not sure what the range of values here is.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6147431/#sec001title provides a simple formula for Normalized Cross-Covariance, which lies in [0, 1]


No Bridges found

Version
Node: 12.0.0
Nuxt: 1.0.0
Hey guys, I was going to start the nuxt-hue as it is mentioned in document by following command   :
~/.yarn/bin/nuxt-hue setup

But I faced with this error:
✖ Discovering Bridges...
  → No Bridges Found
  Pairing...
  Saving Bridge...

 ERROR  No Bridges Found, try again:           nuxt-hue 10:06:54

  $ nuxt-hue connect

Also I tried the connect command, but same error faced. as I understand, there is a code that is trying to connect to a URL with this pattern :
get api(): string {
    return `http://${this.ip}/api`;
  }

I am not sure is it the problem or no.
Any idea?

Hey @nimahkh thanks for opening an issue!
Just to be sure: do you have Philips Hue with a bridge running on your wifi? Basically the setup/connect commands try to have a handshake with it.

Closing the issue for now, feel free to reopen if you want to continue the troubleshooting process 👌


Add to f-droid - Feature

I understand it is on izzyondroid store. Can this app be added to the f-droid store?

I'm onto it. I have to collect a few more new features, then I'll make a new release, and then I'll request the addition to the full fdroid repo

+1 for adding to f-droid. It's essential for reproducibility and trust. Can you link here the merge request, whenever that is done?


SQL Server Agent doesn't display in manage tab

Issue Type: Bug
Installed SQL Server Agent, loaded the Manage tab for my server, and there is no SQL Agent section available. Tried uninstalling and reinstalling, no dice. Only "home" and "databases" sections remain available.

Two errors from dev console:
[0105/104910.419:ERROR:registration_protocol_win.cc(103)] CreateFile: The system cannot find the file specified. (0x2)
console.ts:137 [Extension Host] (node:7736) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Azure Data Studio version: azuredatastudio 1.25.1 (e7eacc32c0d20bd4da843320c3bfac231b308c98, 2020-12-11T01:59:24.271Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz (8 x 3000)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.78GB (7.58GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.2

agent
Mic
0.48.0

dacpac
Mic
1.6.0

import
Mic
1.1.0

powershell
ms-
2020.4.0

profiler
Mic
0.11.0

query-history
Mic
0.1.0

schema-compare
Mic
1.8.0

sql-assessment
Mic
0.5.0

sql-database-projects
Mic
0.5.1

vscodeintellicode
Vis
1.2.1

@raeokay Thanks for opening the issue. Can you confirm whether you have "Preview Features" as enabled in the User Settings? If not, then you'll have to enable them to see SQL Agent.

@raeokay Thanks for opening the issue. Can you confirm whether you have "Preview Features" as enabled in the User Settings? If not, then you'll have to enable them to see SQL Agent.

Ah, you got me. Forgot to enable that in a fresh install.
Thank you!

Ah, you got me. Forgot to enable that in a fresh install.
Thank you!


Is it possible to provide generator plugin support for maven users

As the title, when I use it with maven project, editing the configuration file always gives me a headache

I don't personally use maven for almost anything so I don't see myself making one, but I'm open to a PR.
The "config" file was never intended to be edited by hand, I'd suggest adding your dependencies in code instead with DependencyManager#addDependency (usage) either by hard coding your dependencies or writing some sort of parser for a more human friendly format


Naming conventions

Hi all, I have two naming suggestions.

I would rename "lineages" to "trajectories" everywhere - we don't really estimate lineages, but abstracted cell trajectories
I would rename "absorption probabilities" as "fate probabilities" everywhere - since we want users to directly interact with estimators in version 2, I feel like the old term is too technical, and some users might not find what they are looking for (which will most likely be fate probabilities).

What do both of you think? @michalk8 @WeilerP

I agree with the 2., 1. I'd keep for now (need to think about it more).


Moped doesn't start

Mopidy doesn't work while other clients are working fine. This is screenshot where it hangs:

This is log with -vvv flag: http://pastebin.com/yudhY1bE
This is short log:
2015-01-01 12:08:26,649 INFO [7368:MainThread] mopidy.utils.process: Got SIGTERM signal
2015-01-01 12:08:26,652 INFO [7368:MainThread] mopidy.commands: Interrupted. Exiting...
2015-01-01 12:08:26,655 INFO [7368:MainThread] mopidy.commands: Stopping Mopidy frontends
2015-01-01 12:08:26,746 INFO [7368:MainThread] mopidy.commands: Stopping Mopidy core
2015-01-01 12:08:26,762 INFO [7368:MainThread] mopidy.commands: Stopping Mopidy backends
2015-01-01 12:08:26,802 INFO [7368:PodcastBackend-9] mopidy_podcast.backend: Stopping Mopidy-Podcast directories
2015-01-01 12:08:26,839 INFO [7368:SpotifyThread] mopidy_spotify.session_manager: Disconnected from Spotify
2015-01-01 12:08:26,882 INFO [7368:MainThread] mopidy.commands: Stopping Mopidy audio
2015-01-01 12:08:26,898 INFO [7368:MainThread] mopidy.commands: Stopping Mopidy mixer
2015-01-01 12:08:29,230 INFO [7445:MainThread] mopidy.__main__: Starting Mopidy 0.19.5
2015-01-01 12:08:30,255 INFO [7445:MainThread] mopidy.config: Loading config from: builtin defaults, /usr/share/mopidy/conf.d, /etc/mopidy/mopidy.conf, command line options
2015-01-01 12:08:30,530 INFO [7445:MainThread] mopidy.__main__: Enabled extensions: mopify, spotify, mpd, http, stream, spotify_tunigo, youtube, podcast-itunes, simple-webclient, softwaremixer, moped, musicbox_webclient, websettings, podcast, local, api_explorer
2015-01-01 12:08:30,531 INFO [7445:MainThread] mopidy.__main__: Disabled extensions: none
2015-01-01 12:08:31,568 INFO [7445:MainThread] mopidy.commands: Starting Mopidy mixer: SoftwareMixer
2015-01-01 12:08:31,572 INFO [7445:MainThread] mopidy.softwaremixer.mixer: Mixing using GStreamer software mixing
2015-01-01 12:08:31,583 INFO [7445:MainThread] mopidy.commands: Mixer volume set to 30
2015-01-01 12:08:31,586 INFO [7445:MainThread] mopidy.commands: Starting Mopidy audio
2015-01-01 12:08:31,597 INFO [7445:MainThread] mopidy.commands: Starting Mopidy backends: SpotifyTunigoBackend, SpotifyBackend, PodcastBackend, YoutubeBackend, LocalBackend, StreamBackend
2015-01-01 12:08:31,665 INFO [7445:SpotifyBackend-5] mopidy_spotify.backend: Mopidy uses SPOTIFY(R) CORE
2015-01-01 12:08:31,706 INFO [7445:Audio-2] mopidy.audio.actor: Audio output set to "autoaudiosink"
2015-01-01 12:08:31,754 INFO [7445:MainThread] mopidy_podcast.backend: Starting Mopidy-Podcast directories: iTunesDirectory, FeedsDirectory
2015-01-01 12:08:31,792 INFO [7445:MainThread] mopidy_podcast.backend: Refreshing Mopidy-Podcast directories
2015-01-01 12:08:32,052 INFO [7445:MainThread] mopidy.local.playlists: Loaded 0 local playlists from /var/lib/mopidy/playlists
2015-01-01 12:08:32,055 INFO [7445:MainThread] mopidy.local.json: No local library metadata cache found at /var/lib/mopidy/local/library.json.gz. Please run `mopidy local scan` to index your local music library. If you do not have a local music collection, you can disable the local backend to hide this message.
2015-01-01 12:08:32,080 INFO [7445:MainThread] mopidy.local.library: Loaded 0 local tracks using json
2015-01-01 12:08:32,087 INFO [7445:PodcastDirectoryActor-6] requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): itunes.apple.com
2015-01-01 12:08:32,231 INFO [7445:MainThread] mopidy.commands: Starting Mopidy core
2015-01-01 12:08:32,614 INFO [7445:MainThread] mopidy.commands: Starting Mopidy frontends: HttpFrontend, MpdFrontend
2015-01-01 12:08:32,658 INFO [7445:MainThread] mopidy.mpd.actor: MPD server running at [::ffff:<IP_ADDRESS>]:6600
2015-01-01 12:08:32,662 INFO [7445:HttpFrontend-15] mopidy.http.actor: HTTP server running at [::]:6680
2015-01-01 12:08:33,147 INFO [7445:SpotifyThread] mopidy_spotify.session_manager: Connected to Spotify
2015-01-01 12:08:33,540 INFO [7445:HttpServer] root: 304 GET /moped/ (<IP_ADDRESS>) 211.62ms
2015-01-01 12:08:33,673 INFO [7445:HttpServer] root: 304 GET /moped/assets/moped-0.4.2.js (<IP_ADDRESS>) 15.84ms
2015-01-01 12:08:33,691 INFO [7445:HttpServer] root: 304 GET /moped/assets/css/moped-0.4.2.css (<IP_ADDRESS>) 5.15ms
2015-01-01 12:08:33,762 INFO [7445:HttpServer] root: 304 GET /moped/assets/images/settings-icon.png (<IP_ADDRESS>) 5.11ms
2015-01-01 12:08:33,816 INFO [7445:HttpServer] root: 304 GET /moped/assets/images/ajax-loader.gif (<IP_ADDRESS>) 5.64ms
2015-01-01 12:08:45,356 INFO [7445:SpotifyThread] mopidy_spotify.session_manager: Loaded 13 Spotify playlists

Could you check the browser console log for errors?

On chrome I have one error:
Error: Failed to construct 'WebSocket': The URL 'undefined' is invalid.
    at Error (native)
    at c.connect (http://simonpi.local:6680/moped/assets/moped-0.4.2.js:9:20759)
    at new c (http://simonpi.local:6680/moped/assets/moped-0.4.2.js:9:18901)
    at Object.start (http://simonpi.local:6680/moped/assets/moped-0.4.2.js:18:2379)
    at new <anonymous> (http://simonpi.local:6680/moped/assets/moped-0.4.2.js:17:19794)
    at d (http://simonpi.local:6680/moped/assets/moped-0.4.2.js:13:4137)
    at Object.e [as instantiate] (http://simonpi.local:6680/moped/assets/moped-0.4.2.js:13:4250)
    at http://simonpi.local:6680/moped/assets/moped-0.4.2.js:13:21322
    at http://simonpi.local:6680/moped/assets/moped-0.4.2.js:13:13852
    at f (http://simonpi.local:6680/moped/assets/moped-0.4.2.js:12:20548)

After I found that on other browsers it is working fine, I just deleted cookies and after that it works :+1:


Add support for sorting products by update date

I want to merge this change because...
fixes #220
Screenshots

Pull Request Checklist

[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[ ] Changes are mentioned in the changelog.

@mateuszkula What is status of this PR? Could you please update checklist?

In case of no more comments it can be merged I guess


Reference to 'mobile_devices.ini' missing

The API docs mention being able to set devices (
https://github.com/WPO-Foundation/webpagetest-docs/blob/6f52bea7fe2f192bf02b5a4078e511224e65abc8/src/api/reference.md?plain=1#L242) in 'mobile_devices.ini', but we need a link to that file or more information on how to set mobile devices via the API.

I found the file at https://github.com/WPO-Foundation/webpagetest/blob/master/www/settings/mobile_devices.ini.
I'll link it in the docs.


have a way to find App props when using react-server-webpack-plugin

It was difficult to find what Props the default App would have and we should also find a way to throw some kind of error if the App type have mismatch type (ie. have any mandatory prop)
Current type:
export interface AppProps {
server?: boolean;
locale?: string;
location?: string;
}

Instead of providing an interface for this we should work to prevent having to pass in props and let apps just use the hooks from @shopify/network to get what they need.


Update app-service-mobile-android-how-to-use-client-library.md

loginAsync() method should be login() for Android, this could be a copy-and-paste error from .NET client

@RickSaling Hi Rick. Please review the proposed changes. Thanks.


Ensure that TargetHeight is not zero

In case of small value of ratio, the TargetHeight may become zero and cause problem while instantiating BufferedImage.

Thank you for the pull request!


Getting No module named 'Zipline' after installing with conda

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
Python 3.4 with pycharm

Operating System: Win 10
Python Version: Python 3.4
Python Bitness: 64 bit
How did you install Zipline: Conda
Python packages: $ pip freeze or $ conda list

Could not extract name and version from: 'blaze              0.9.1'
Could not extract name and version from: 'bokeh              0.11.1'
Could not extract name and version from: 'boto               2.39.0'
Could not extract name and version from: 'Bottleneck         1.0.0'
Could not extract name and version from: 'bs4                0.0.1'
Could not extract name and version from: 'cffi               1.5.2'
Could not extract name and version from: 'chest              0.2.3'
Could not extract name and version from: 'cloudpickle        0.1.1'
Could not extract name and version from: 'clyent             1.2.1'
Could not extract name and version from: 'colorama           0.3.7'
Could not extract name and version from: 'comtypes           1.1.2'
Could not extract name and version from: 'conda              4.0.5'
Could not extract name and version from: 'conda-build        1.20.0'
Could not extract name and version from: 'conda-env          2.4.5'
Could not extract name and version from: 'conda-manager      0.3.1'
Could not extract name and version from: 'configobj          5.0.6'
Could not extract name and version from: 'cryptography       1.3'
Could not extract name and version from: 'cycler             0.10.0'
Could not extract name and version from: 'Cython             0.23.4'
Could not extract name and version from: 'cytoolz            0.7.5'
Could not extract name and version from: 'dask               0.8.1'
Could not extract name and version from: 'datashape          0.5.1'
Could not extract name and version from: 'decorator          4.0.9'
Could not extract name and version from: 'dill               0.2.4'
Could not extract name and version from: 'docutils           0.12'
Could not extract name and version from: 'dynd               c328ab7'
Could not extract name and version from: 'et-xmlfile         1.0.1'
Could not extract name and version from: 'fastcache          1.0.2'
Could not extract name and version from: 'fix-yahoo-finance  0.0.21'
Could not extract name and version from: 'Flask              0.10.1'
Could not extract name and version from: 'Flask-Cors         2.1.2'
Could not extract name and version from: 'future             0.16.0'
Could not extract name and version from: 'gevent             1.1.0'
Could not extract name and version from: 'gitdb2             2.0.3'
Could not extract name and version from: 'GitPython          2.1.9'
Could not extract name and version from: 'greenlet           0.4.9'
Could not extract name and version from: 'h5py               2.5.0'
Could not extract name and version from: 'HeapDict           1.0.0'
Could not extract name and version from: 'html5lib           1.0.1'
Could not extract name and version from: 'idna               2.0'
Could not extract name and version from: 'inflection         0.3.1'
Could not extract name and version from: 'ipykernel          4.3.1'
Could not extract name and version from: 'ipython            4.1.2'
Could not extract name and version from: 'ipython-genutils   0.1.0'
Could not extract name and version from: 'ipywidgets         4.1.1'
Could not extract name and version from: 'itsdangerous       0.24'
Could not extract name and version from: 'jdcal              1.2'
Could not extract name and version from: 'jedi               0.9.0'
Could not extract name and version from: 'Jinja2             2.8'
Could not extract name and version from: 'jsonschema         2.4.0'
Could not extract name and version from: 'jupyter            1.0.0'
Could not extract name and version from: 'jupyter-client     4.2.2'
Could not extract name and version from: 'jupyter-console    4.1.1'
Could not extract name and version from: 'jupyter-core       4.1.0'
Could not extract name and version from: 'llvmlite           0.9.0'
Could not extract name and version from: 'locket             0.2.0'
Could not extract name and version from: 'lxml               3.6.0'
Could not extract name and version from: 'macholib           1.8'
Could not extract name and version from: 'MarkupSafe         0.23'
Could not extract name and version from: 'matplotlib         1.5.1'
Could not extract name and version from: 'menuinst           1.3.2'
Could not extract name and version from: 'mistune            0.7.2'
Could not extract name and version from: 'more-itertools     2.2'
Could not extract name and version from: 'mpmath             0.19'
Could not extract name and version from: 'multipledispatch   0.4.8'
Could not extract name and version from: 'multitasking       0.0.7'
Could not extract name and version from: 'nbconvert          4.1.0'
Could not extract name and version from: 'nbformat           4.0.1'
Could not extract name and version from: 'ndg-httpsclient    0.4.2'
Could not extract name and version from: 'networkx           1.11'
Could not extract name and version from: 'nltk               3.2'
Could not extract name and version from: 'nose               1.3.7'
Could not extract name and version from: 'notebook           4.1.0'
Could not extract name and version from: 'numba              0.24.0'
Could not extract name and version from: 'numexpr            2.5'
Could not extract name and version from: 'numpy              1.10.4'
Could not extract name and version from: 'odo                0.4.2'
Could not extract name and version from: 'openpyxl           2.3.2'
Could not extract name and version from: 'pandas             0.22.0'
Could not extract name and version from: 'pandas-datareader  0.6.0'
Could not extract name and version from: 'partd              0.3.2'
Could not extract name and version from: 'path.py            0.0.0'
Could not extract name and version from: 'patsy              0.4.0'
Could not extract name and version from: 'pefile             2017.9.3'
Could not extract name and version from: 'pep8               1.7.0'
Could not extract name and version from: 'pickleshare        0.5'
Could not extract name and version from: 'Pillow             3.1.1'
Could not extract name and version from: 'pip                18.1'
Could not extract name and version from: 'playsound          1.2.2'
Could not extract name and version from: 'ply                3.8'
Could not extract name and version from: 'psutil             4.1.0'
Could not extract name and version from: 'py                 1.4.31'
Could not extract name and version from: 'pyasn1             0.1.9'
Could not extract name and version from: 'pycosat            0.6.1'
Could not extract name and version from: 'pycparser          2.14'
Could not extract name and version from: 'pycrypto           2.6.1'
Could not extract name and version from: 'pyflakes           1.1.0'
Could not extract name and version from: 'Pygments           2.1.1'
Could not extract name and version from: 'PyInstaller        3.3'
Could not extract name and version from: 'pyOpenSSL          0.15.1'
Could not extract name and version from: 'pyparsing          2.0.3'
Could not extract name and version from: 'pyreadline         2.1'
Could not extract name and version from: 'pytest             2.8.5'
Could not extract name and version from: 'python-dateutil    2.5.1'
Could not extract name and version from: 'pytz               2016.2'
Could not extract name and version from: 'pywin32            220'
Could not extract name and version from: 'PyYAML             3.11'
Could not extract name and version from: 'pyzmq              15.2.0'
Could not extract name and version from: 'QtAwesome          0.3.2'
Could not extract name and version from: 'qtconsole          4.2.0'
Could not extract name and version from: 'QtPy               1.0'
Could not extract name and version from: 'Quandl             3.0.1'
Could not extract name and version from: 'requests           2.9.1'
Could not extract name and version from: 'requests-file      1.4'
Could not extract name and version from: 'requests-ftp       0.3.1'
Could not extract name and version from: 'rope-py3k          0.9.4.post1'
Could not extract name and version from: 'scikit-image       0.12.3'
Could not extract name and version from: 'scikit-learn       0.17.1'
Could not extract name and version from: 'scipy              0.17.0'
Could not extract name and version from: 'setuptools         20.3'
Could not extract name and version from: 'simplegeneric      0.8.1'
Could not extract name and version from: 'singledispatch     <IP_ADDRESS>'
Could not extract name and version from: 'six                1.10.0'
Could not extract name and version from: 'smmap2             2.0.3'
Could not extract name and version from: 'snowballstemmer    1.2.1'
Could not extract name and version from: 'sockjs-tornado     1.0.1'
Could not extract name and version from: 'Sphinx             1.3.1'
Could not extract name and version from: 'sphinx-rtd-theme   0.1.9'
Could not extract name and version from: 'spyder             2.3.8'
Could not extract name and version from: 'SQLAlchemy         1.0.12'
Could not extract name and version from: 'statsmodels        0.6.1'
Could not extract name and version from: 'sympy              1.0'
Could not extract name and version from: 'tables             3.2.2'
Could not extract name and version from: 'toolz              0.7.4'
Could not extract name and version from: 'tornado            4.3'
Could not extract name and version from: 'traitlets          4.2.1'
Could not extract name and version from: 'unicodecsv         0.14.1'
Could not extract name and version from: 'webencodings       0.5.1'
Could not extract name and version from: 'Werkzeug           0.11.4'
Could not extract name and version from: 'wheel              0.29.0'
Could not extract name and version from: 'wrapt              1.10.11'
Could not extract name and version from: 'xlrd               0.9.4'
Could not extract name and version from: 'XlsxWriter         0.8.4'
Could not extract name and version from: 'xlwings            0.7.0'
Could not extract name and version from: 'xlwt               1.0.0'
alabaster                 0.7.7                    py35_0
anaconda                  4.0.0               np110py35_0
anaconda-client           1.4.0                    py35_0
anaconda-navigator        1.1.0                    py35_0
argcomplete               1.0.0                    py35_1
astropy                   1.1.2               np110py35_0
babel                     2.2.0                    py35_0
beautifulsoup4            4.4.1                    py35_0
bitarray                  0.8.1                    py35_1
blaze                     0.9.1                    py35_0
bokeh                     0.11.1                   py35_0
boto                      2.39.0                   py35_0
bottleneck                1.0.0               np110py35_0
bzip2                     1.0.6                    vc14_2  [vc14]
cffi                      1.5.2                    py35_0
chest                     0.2.3                    py35_0
cloudpickle               0.1.1                    py35_0
clyent                    1.2.1                    py35_0
colorama                  0.3.7                    py35_0
comtypes                  1.1.2                    py35_0
conda                     4.0.5                    py35_0
conda-build               1.20.0                   py35_0
conda-env                 2.4.5                    py35_0
conda-manager             0.3.1                    py35_0
configobj                 5.0.6                    py35_0
console_shortcut          0.1.1                    py35_1
cryptography              1.3                      py35_0
curl                      7.45.0                   vc14_1  [vc14]
cycler                    0.10.0                   py35_0
cython                    0.23.4                   py35_0
cytoolz                   0.7.5                    py35_0
dask                      0.8.1                    py35_0
datashape                 0.5.1                    py35_0
decorator                 4.0.9                    py35_0
dill                      0.2.4                    py35_0
docutils                  0.12                     py35_1
dynd-python               0.7.2                    py35_0
et_xmlfile                1.0.1                    py35_0
fastcache                 1.0.2                    py35_0
flask                     0.10.1                   py35_1
flask-cors                2.1.2                    py35_0
freetype                  2.5.5                    vc14_0  [vc14]
gevent                    1.1.0                    py35_0
greenlet                  0.4.9                    py35_0
h5py                      2.5.0               np110py35_4
hdf5                      <IP_ADDRESS>                 vc14_4  [vc14]
heapdict                  1.0.0                    py35_0
idna                      2.0                      py35_0
ipykernel                 4.3.1                    py35_0
ipython                   4.1.2                    py35_1
ipython_genutils          0.1.0                    py35_0
ipywidgets                4.1.1                    py35_0
itsdangerous              0.24                     py35_0
jdcal                     1.2                      py35_0
jedi                      0.9.0                    py35_0
jinja2                    2.8                      py35_0
jpeg                      8d                       vc14_0  [vc14]
jsonschema                2.4.0                    py35_0
jupyter                   1.0.0                    py35_2
jupyter_client            4.2.2                    py35_0
jupyter_console           4.1.1                    py35_0
jupyter_core              4.1.0                    py35_0
libdynd                   0.7.2                         0
libpng                    1.6.17                   vc14_1  [vc14]
libsodium                 1.0.3                         0
libtiff                   4.0.6                    vc14_1  [vc14]
llvmlite                  0.9.0                    py35_0
locket                    0.2.0                    py35_0
lxml                      3.6.0                    py35_0
markupsafe                0.23                     py35_1
matplotlib                1.5.1               np110py35_0
menuinst                  1.3.2                    py35_0
mistune                   0.7.2                    py35_0
mkl                       11.3.1                        0
mkl-service               1.1.2                    py35_0
mpmath                    0.19                     py35_0
multipledispatch          0.4.8                    py35_0
nbconvert                 4.1.0                    py35_0
nbformat                  4.0.1                    py35_0
networkx                  1.11                     py35_0
nltk                      3.2                      py35_0
nose                      1.3.7                    py35_0
notebook                  4.1.0                    py35_2
numba                     0.24.0              np110py35_0
numexpr                   2.5                 np110py35_0
numpy                     1.10.4                   py35_0
odo                       0.4.2                    py35_0
openpyxl                  2.3.2                    py35_0
openssl                   1.0.2g                   vc14_0  [vc14]
pandas                    0.18.0              np110py35_0
partd                     0.3.2                    py35_1
path.py                   8.1.2                    py35_1
patsy                     0.4.0               np110py35_0
pep8                      1.7.0                    py35_0
pickleshare               0.5                      py35_0
pillow                    3.1.1                    py35_0
pip                       8.1.1                    py35_1
ply                       3.8                      py35_0
psutil                    4.1.0                    py35_0
py                        1.4.31                   py35_0
pyasn1                    0.1.9                    py35_0
pycosat                   0.6.1                    py35_0
pycparser                 2.14                     py35_0
pycrypto                  2.6.1                    py35_3
pyflakes                  1.1.0                    py35_0
pygments                  2.1.1                    py35_0
pyopenssl                 0.15.1                   py35_2
pyparsing                 2.0.3                    py35_0
pyqt                      4.11.4                   py35_5
pyreadline                2.1                      py35_0
pytables                  3.2.2               np110py35_2
pytest                    2.8.5                    py35_0
python                    3.5.1                         4
python-dateutil           2.5.1                    py35_0
pytz                      2016.2                   py35_0
pywin32                   220                      py35_1
pyyaml                    3.11                     py35_3
pyzmq                     15.2.0                   py35_0
qt                        4.8.7                    vc14_7  [vc14]
qtawesome                 0.3.2                    py35_0
qtconsole                 4.2.0                    py35_1
qtpy                      1.0                      py35_0
requests                  2.9.1                    py35_0
rope                      0.9.4                    py35_1
scikit-image              0.12.3              np110py35_0
scikit-learn              0.17.1              np110py35_0
scipy                     0.17.0              np110py35_0
setuptools                20.3                     py35_0
simplegeneric             0.8.1                    py35_0
singledispatch            <IP_ADDRESS>                  py35_0
sip                       4.16.9                   py35_2
six                       1.10.0                   py35_0
snowballstemmer           1.2.1                    py35_0
sockjs-tornado            1.0.1                    py35_0
sphinx                    1.3.5                    py35_0
sphinx_rtd_theme          0.1.9                    py35_0
spyder                    2.3.8                    py35_1
sqlalchemy                1.0.12                   py35_0
statsmodels               0.6.1               np110py35_0
sympy                     1.0                      py35_0
tk                        8.5.18                   vc14_0  [vc14]
toolz                     0.7.4                    py35_0
tornado                   4.3                      py35_0
traitlets                 4.2.1                    py35_0
unicodecsv                0.14.1                   py35_0
vs2015_runtime            14.00.23026.0                 0
werkzeug                  0.11.4                   py35_0
wheel                     0.29.0                   py35_0
xlrd                      0.9.4                    py35_0
xlsxwriter                0.8.4                    py35_0
xlwings                   0.7.0                    py35_0
xlwt                      1.0.0                    py35_0
zlib                      1.2.8                    vc14_2  [vc14]

Now that you know a little about me, let me tell you about the issue I am
having:
I have tried for a couple of hours to install zipline, but with no luck.
Description of Issue

What did you expect to happen?
Expected pip not to work but conda to work.

What happened instead?
I can see zipline is installed, but keep getting the error.

Here is how you can reproduce this issue on your machine:
Reproduction Steps
I ended up installing zipline from these instructions:
conda create -n env_full anaconda python=3.4
conda activate env_full
conda install -c Quantopian zipline
What steps have you taken to resolve this already?
My best guess for now is that when I try to import zipline into my python file in pycharm, pycharm (or python in general) is looking for the module in the wrong place.
The module is installed in the separate "env_full" to not conflict with previous modules - at least as far as I have understood.
...
Anything else?
Hope to get some help here - installing zipline har already taken a few hour more than I had expected :)
...
Sincerely,
Hollow Heights

I have the same issue with Jupyter notebook. The solution is to connect Kernel to your notebook.
Check this out
https://medium.com/@ace139/enable-multiple-kernels-in-jupyter-notebooks-6098c738fe72

Update:
It seems maybe it is a general problem with Pycharm. I just downloaded Backtrader (another python backtesting framework). When I try to import backtrader I get the exact same error message - so it seems likely that the error lies with Pycharms handling of these modules. I have previously installed a lot of modules and this problem is new.

Do you connect Kernel to env_zipline when you are using Jupyter notebook? Backtrader does not require it's own unique environment, but Zipline does.


Fix plot function

Codecov Report

Merging #155 into master will decrease coverage by 0.02%.
The diff coverage is 18.18%.

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
- Coverage   38.12%   38.10%   -0.03%
==========================================
  Files          85       85
  Lines        9949     9950       +1
  Branches     2080     2079       -1
==========================================
- Hits         3793     3791       -2
- Misses       5960     5961       +1
- Partials      196      198       +2

Impacted Files
Coverage Δ

neural_sp/bin/plot_utils.py
0.00% <0.00%> (ø)

neural_sp/models/seq2seq/decoders/decoder_base.py
33.64% <0.00%> (-0.65%)
:arrow_down:

neural_sp/models/seq2seq/decoders/transformer.py
63.39% <0.00%> (+0.64%)
:arrow_up:

neural_sp/models/seq2seq/encoders/encoder_base.py
43.54% <0.00%> (-1.46%)
:arrow_down:

neural_sp/models/torch_utils.py
77.77% <50.00%> (-6.84%)
:arrow_down:

Continue to review full report at Codecov.

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