email is missing

I use email as USERNAME_FIELD in my custom User model, and I need email in my pipelines. But in my pipelines I get only this information
{      'username': u'DenisKotov',      'fullname': u'Denis Kotov',       'last_name': u'Kotov',       'email': '',       'first_name': u'Kotov' }
I have set SOCIAL_AUTH_FACEBOOK_SCOPE = ['email', ] in my settings
What am I doing wrong?

I was also getting this issue, but it seems to be working fine in the sample app.

I tested this moment in test project and also got this issue

I just tested it too, but it worked fine for me. Not sure then.

Haven't looked at the code yet, but there is possibility that facebook will not return email.
From https://developers.facebook.com/docs/facebook-login/permissions#reference-email:

Note, even if you request the email permission it is not guaranteed you will get an email address. For example, if someone signed up for Facebook with a phone number instead of an email address, the email field may be empty.

Hmm.. Maybe you are right, but I have been tested this with my own account. And I use email for login in Facebook.
Can you tell me, where and how I can see Facebook's answer? Or maybe Facebook has service for testing this?

Here how you can see the facebook answer.
First, set logging to log everything. To do it, add following logger to LOGGING['loggers'] in your settings.py:
'': {
    'handlers': ['console', ],
    'level': "DEBUG",
},

So total LOGGING can look like this:
LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'handlers': {
        'console': {
            'level': 'DEBUG',
            'class': 'logging.StreamHandler',
        },
    },
    'loggers': {
        '': {
            'handlers': ['console', ],
            'level': "DEBUG",
        },
        'rest_social_auth': {
            'handlers': ['console', ],
            'level': "DEBUG",
        },
    }
}

Then try to login via facebook. In console you should see the requests, that were made.
You need to find this request:
 "GET /v2.3/me?access_token=123abc... HTTP/1.1" 200 232

The just call it in browser and see the response from facebook:
https://graph.facebook.com/v2.3/me?access_token=123abc...

Also you can find access_token in admin (if you enable it).
Or from shell
user = YourUserModel.objects.get()  # apply corresponding filter here to get particular user
print(user.social_auth.filter(provider='facebook')[0].access_token)

The put this access_token in url
https://graph.facebook.com/v2.3/me?access_token=your_access_token

@deniskkotov , does it help?

yep, I solved this with adding 'email' into SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS['fields'] in django settings.
But I have new problem, how I can get some optional info? for example 'birthdate' or 'location'? should I get some permissions before getting oauth code?

As it turns out, in our way of authorisation (using JS client and REST api) we need to define scope at front-end side.
Looks like in our case the setting SOCIAL_AUTH_FACEBOOK_SCOPE doesn't make sense, since first request is made by front-end. I guess it must be mentioned in readme.
I've made an example in branch issue/24. The only difference is file home_session.html, where i defined scope at front-end level. I've added 'user_birthday' permission. Also, pay attention, that i set 'email' permission explicitly. As i understand, email permission is included in default 'public profile' of facebook, but maybe it is better to define it explicitly at your front-end side.
After i confirmed the log-in i could get birthday from facebook graph api.
But keep in mind, that 'user_birthday' permission is not included in normal facebook permission. Normal permissions are: public_profile, email and user_friends. More than that permissions requires facebook review. Details here.
Nevertheless, i tried to login with permission 'user_birthday' set at front-end side (look branch issue/24).
I just see the warning at login page:

But when i confirm, i can get birthday from graph api:

Full list of facebook permissions can be found here.

Had same problem - now at autumn 2017. Seems like at least v2.10 of FB graph endpoint /me (which is used by python-social-auth facebook backend to get user info) now explicitly require to set "fields" you want to get from user. And email is not sent, though you CAN get it.
https://stackoverflow.com/a/41715637
You just need to utilize this var (python social already CAN send additional params to /me request):
SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS = {'fields': 'email,public_profile'}
Here you can find all fields.

FWIW, I was trying to debug something similar and found that I was sending the scope parameter at the wrong time. It's also amusing that I took similar screenshots as @st4lk - https://github.com/jaredhanson/passport-facebook/issues/214#issuecomment-348659884


Add table of contents

Is there a way to generate a Table of Contents as well as a page header that is repeated on each page?

Neither of these features is currently supported.  The main README is fairy exhaustive.  If you don't see something there or demonstrated in the example project, odds are Caracal doesn't do it right now.
A TOC would obviously be a great feature.  This is, however, a non-trivial effort.  The project that necessitated Caracal did not require a TOC (it was really more of a report builder thing), so a TOC did not make it into the MVP.
A persistent header would likely be somewhat easier to implement.  I presume it would require some sort of document-level directive to accumulate the required content, coupled with a new renderer to construct a header.xml file.
As I hope is evident from the other issues on the project, I try to be responsive to all concerns (and will even tack on a new feature on request when doing so is super simple), but these two requests are a bit outside the scope of what I can manage personally right now.  If you'd like to fork the project and tackle either feature, that would be wonderful.  I'd be happy to answer any questions you have along the way.

Hi John,
Thanks for your response.  I kind of figured the TOC wasn’t supported yet and agree it is not a trivial thing to implement.
I may take a shot at the persistent header once I finish with some current work and time permitting.  I’ll followup with you if I get a chance to start looking into it.
Thanks again and great job on what you’ve implemented so far.
Keith

On Jan 8, 2016, at 2:38 PM, John Dugan<EMAIL_ADDRESS>wrote:
Neither of these features is currently supported. The main README is fairy exhaustive. If you don't see something there or demonstrated in the example project, odds are Caracal doesn't do it right now.
A TOC would obviously be a great feature. This is, however, a non-trivial effort. The project that necessitated Caracal did not require a TOC (it was really more of a report builder thing), so a TOC did not make it into the MVP.
A persistent header would likely be somewhat easier to implement. I presume it would require some sort of document-level directive to accumulate the required content, coupled with a new renderer to construct a header.xml file.
As I hope is evident from the other issues on the project, I try to be responsive to all concerns (and will even tack on a new feature on request when doing so is super simple), but these two requests are a bit outside the scope of what I can manage personally right now. If you'd like to fork the project and tackle either feature, that would be wonderful. I'd be happy to answer any questions you have along the way.
—
Reply to this email directly or view it on GitHub https://github.com/trade-informatics/caracal/issues/24#issuecomment-170102724.

Hi, I have a dirty/temporal solution for the missing TOC feature!  Here is what I did:

Create a new docx with only a TOC in the first page (obviously, it will be empty)
Import it into your generated doc using the iframe feature like this:
docx.iframe data: File.read('app/assets/docx_generation/index.docx')
Profit!

For better, the TOC in the generated document, will be updated!

@cfacello I have tried this solution and it creates the TOC but it doesn't auto update when I open the generated file, I had to right click on the TOC and press update fields. So is there some magic I should do so it can update automatically?

@ahmedelmahalawey interesting... Just to know, have you tried opening it with Microsoft Word or with Open Office editor?  I only tried in the second one and it worked.

Yeah I think this is the issue I have opened it with Microsoft Word and unfortunately I need it to be working with Microsoft Office. Thanks anyways

I know you didn't submit a PR here, but as a point of reference for anyone reading this far, all Caracal features MUST work in Word to be accepted.  It's always a pleasant bonus if the feature CAN work in OpenOffice, LibreOffice, etc., but because Word is a Microsoft format, that's the baseline.

I built this functionality in my fork, will be happy to build a PR to add this to core. Not sure it works as smoothly as should be, but I did my best. Please let me know how this should be called from templates, and what options should be provided if you're not satisfied with the way I implemented this.

If anyone is interested/still needs this, we have a fork that we're maintaining that has a working implementation of a table of contents:
https://github.com/the-curve-consulting/caracal
It also resolves the rubyzip issue and has a few other bits such as header/footer page numbers etc


🐛 BUG: WSL 2 - tcmalloc Error

Which Cloudflare product(s) does this pertain to?
Workers Runtime
What version(s) of the tool(s) are you using?
3.87.0 [Wrangler]
What version of Node are you using?
20.16.0
What operating system and version are you using?
WSL 2
PS > wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22631.4460
Describe the Bug
Observed behavior
On WSL 2, when running "npx wrangler@latest dev" for the "hello world" Python example, the error happens.
Expected behavior

Steps to reproduce
Please provide the following:
On WSL1:
git clone https://github.com/cloudflare/python-workers-examples
cd python-workers-examples/01-hello
npx wrangler@latest dev
Python info: Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
⛅ wrangler 3.87.0
▲ [WARNING] The entrypoint src/entry.py defines a Python worker, support for Python workers is currently experimental. Python workers with a requirements.txt file can only be run locally and cannot be deployed.
⎔ Starting local server...
✘ [ERROR] write EPIPE
If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
╭───────────────────────────────────────────────────────────✘ [ERROR] 2664 external/com_google_tcmalloc/tcmalloc/system-alloc.cc:771] MmapAligned() failed - unable to allocate with tag (hint=0xe10c0000000, size=1073741824, alignment=1073741824) - is something limiting address placement?
2664 external/com_google_tcmalloc/tcmalloc/arena.cc:52] CHECK in Alloc: FATAL ERROR: Out of memory
trying to allocate internal tcmalloc data (bytes=131072, object-size=640); is something preventing
mmap from succeeding (sandbox, VSS limitations)?
✘ [ERROR] 2666 external/com_google_tcmalloc/tcmalloc/system-alloc.cc:771] MmapAligned() failed - unable to allocate with tag (hint=0xf7280000000, size=1073741824, alignment=1073741824) - is something limiting address placement?
2666 external/com_google_tcmalloc/tcmalloc/arena.cc:52] CHECK in Alloc: FATAL ERROR: Out of memory
trying to allocate internal tcmalloc data (bytes=131072, object-size=640); is something preventing
mmap from succeeding (sandbox, VSS limitations)?

Seems like your WSL VM doesn't have enough memory.
Try to increase it's allocation please.

Hi Dan. I believe I should have enough memory allocated to WSL.
Running free in WSL VM
$ free -h --giga
total        used        free      shared  buff/cache   available
Mem:             32G         11G         21G         17M        223M         21G
Swap:            60G          0B         60G

Thanks @danlapid and team for the heads up and guidance.
System was on WSL1 and not WSL2. WSL1 is not supported.
upgraded with
PS > wsl --set-version Ubuntu-22.04 2
Kernel on WSL much show "<IP_ADDRESS>-microsoft-standard-WSL2" when WSL2 is being used
$ uname -a
Linux DESKTOP-45994 <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux


#161: Crash in RTCPeerConnection.close()

Fixes crash when calling close() twice

LGTM. Indentation looks a bit off.  Are you using tabs like @ibc likes?  Also, I'm sorry about that :-P

Indeed, there are wrong spaces in the PR :)

Would it be an idea to add an EditorConfig? So indentation is always correct?
Replaced now with 4 spaces.

@mark-veenstra please install  gulp 4.X in your system:
$ npm install -g gulpjs/gulp-cli#4.0

And the run gulp on the project root folder. You'll get an error due to the wrong usage of spaces instead of TAB for indentation.

[15:48:21] Using gulpfile ~/Documents/Projects/mva-cordova-plugin-iosrtc/cordova-plugin-iosrtc/gulpfile.js
[15:48:21] Starting 'default'...
[15:48:21] Starting 'lint'...
[15:48:23] Finished 'lint' after 1.21 s
[15:48:23] Starting 'browserify'...
[15:48:23] Finished 'browserify' after 231 ms
[15:48:23] Finished 'default' after 1.44 s

So it should be correct now...

So it should be correct now...

May be in your local copy, but here in the PR there are still spaces :)

Would it be an idea to add an EditorConfig? So indentation is always correct?

Definitely.

Dank je wel, Mark! Landed in ada8582 ✨
PS: I fixed up the tabs thing. If you are a vim user you can enter tab mode by doing set autoindent noexpandtab tabstop=4 shiftwidth=4


setSettings is never called on index creation

Hello,
Use case :
/**
 * Activity
 *
 * @ORM\Table()
 *
 * @Algolia\Index(
 *     attributesForFaceting = "locale"
 * )
 */
class Activity implements Translatable
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

 //Other things

    /**
     * @Algolia\Attribute
     * @Algolia\Id
     * Used locale to override Translation listener`s locale
     * this is not a mapped field of entity metadata, just a simple property
     */
    protected $locale;

//Getters & Setters
}

Expected : app/console algolia:reindex --unsafe MyBundle:Activity should trigger \AlgoliaSearch\Index::setSettings to persist Algolia\Index annotation
Current behavior : My entity is persisted but configuration mismatch. If I set a breakpoint on the setSettings, the function is never called. Is it normal ?
Regards,
Gaël

We will make sure this works as expected in V3. Flagging it.


/bin/bash: grabix: command not found

Hi there,
when running bcbio with the following yaml config file and ipython enabled: https://gist.github.com/leiendeckerlu/a646dae77e2f2cb397bb08654c7bc0a4
I get the following error:

IOError: Failed to check fastq file sizes with: cat <(grabix grab DNA_A01_1.fastq.gz<PHONE_NUMBER><PHONE_NUMBER>) | head -n 8000000 | bcbio/local/share/bcbio/galaxy/../anaconda/bin/seqtk sample -s42 - 5000 | awk '{if(NR%4==2) print length($1)}' | sort | uniq -c
2017-06-10 20:39:50.495 [IPEngineApp] WARNING | apply_request is deprecated in kernel_base, moving to ipyparallel.
/bin/bash: grabix: command not found

It seems like the $PATH variable is not set properly for grabix? Since the full path is used for seqtk (/bcbio/local/share/bcbio/galaxy/../anaconda/bin/seqtk)  but not for grabix?
Here's the bcbio-nextgen-debug.log: https://gist.github.com/leiendeckerlu/9c0091cad0e5511a669902e4f3a1585a
Thanks!

Sorry about the issue, you do need to edit your PATH so that all the tools installed by bcbio are available:
export PATH=/path_to_bcbio/bin:$PATH

http://bcbio-nextgen.readthedocs.io/en/latest/contents/installation.html#automated
We don't consistently use absolute paths (like with seqtk) so having all the tools correctly in the PATH will be needed for a lot of downstream steps as well. Hope this helps.

Yes, I do that, still it does not work, this is my script to submit the run to the cluster:

#!/usr/bin/env bash
-q public.q      # Select the queue
-l nodes=4,rpn=24
-pe smp 24        # Request an 8-way SMP server
-N CNVkit_lule     # Set the job name
-j y             # Join stderr and stdout
#$ -cwd             # Go to current working directory
export PATH=$PATH:/bcbio/local/bin
module load gridengine/2011.11
bcbio_nextgen.py /config/TumorNormal.yaml -t ipython -s sge -n 192 -r pename=smp  -q public.q

So this can't be the issue...

For us it looks like iPython doesn't distributes the PATH variable to the different nodes in the right way...

Sorry you still have issues with the PATH set. Is grabix present in /bcbio/local/bin? It should be symlinked into that directory (with other binaries) from the anaconda install directory, which appears to be  /bcbio/local/share/bcbio/anaconda/bin. Did everything finish cleanly with the tool installation, or any other potential issues that would present it from being present?
bcbio does instruct SGE to pass environmental variables through to the worker nodes, inheriting from the parent process, so they should get passed through. I'm confused why you don't see this behavior.
Also, this is not related to the problem but you want the bcbio to be first in your PATH when running, not last, so it will pick up bcbio installed tools instead of other potential system ones (so you'd have the right version of samtools and other binaries that might be present elsewhere).

Yes, it is present in /bcbio/local/bin and the symlink is also there. Using this particular grabix version from the command line also works.
It's a indeed a fresh installation, that installed without errors, since the same grabix error also occurred in the old one and we thought that a fresh installation might solve the issue.
So I'm unsure what's going on here...
Apart from that, thanks for the hint, I will set bcbio to be the first in my PATH.

Also, using other pipeline runs, that start with prealigned bam files and don't use bwa/grabix during their run, work without hassle. Suggesting that it might be indeed a bwa alignment/grabix specific issue.

Sorry again about the continued issues. I'm still not sure what is going wrong here, but pushed a fix that will explicitly set the PATH for this whole command to hopefully avoid the problem. If you update to the latest development (bcbio_nextgen.py upgrade -u development) and re-run, I hope it will get past this and run cleanly for you. If you still have problems downstream please let us know and we can investigate more.

I didn't try the development version yet (will do that soon), but I did some additional debugging: This issue only occurs if I use iPython to submit jobs. "Normal" job submissions (using only one node) work properly. Also, samtools seems to have the same problem as grabix:

[2017-06-11T17:07Z] compute-6-26: Unexpected error
Traceback (most recent call last):
File "/bcbio/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/ipythontasks.py", line 50, in _setup_logging
yield config
File "/bcbio/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/ipythontasks.py", line 205, in process_alignment
return ipython.zip_args(apply(sample.process_alignment, *args))
File "/bcbio/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/sample.py", line 135, in process_alignment
out_bam = cleanbam.fixrg(fastq1, data["rgnames"], dd.get_ref_file(data), data["dirs"], data)
File "/bcbio/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/cleanbam.py", line 28, in fixrg
"Create empty RG header: %s" % dd.get_sample_name(data))
File "/bcbio/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 22, in run
_do_run(cmd, checks, log_stdout, env=env)
File "/bcbio/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 102, in _do_run
raise subprocess.CalledProcessError(exitcode, error_msg)
CalledProcessError: Command 'set -o pipefail; samtools view -H /M_1/final/M_1N/M_1N-ready.bam | grep -v ^@RG > /clustertmp/$
/bin/bash: samtools: command not found
' returned non-zero exit status 1

We tried to solve this by setting in ipengine_config.py: (/log/ipython/ directory)
c.IPEngineApp.startup_script = u'/path/to/my/startup.py'
With startup.py being a python script that sets the $PATH variable:

import os
os.environ['PATH'] = '/bcbio/local/bin'

Is this the right place to add this modification or is there somewhere a master 'ipengine._config.py' file that I have to edit?

Thanks for following up. I'm not 100% sure about the IPython fix, but we do create a log/ipython every time so you'd have to manually apply this, so I don't think it's a great solution for you long term.
The issue I'd like to try to identify is why the cluster does not pass the local PATH on to the worker engines which should happen as part of the process for all schedulers. What scheduler are you using to run this?
Practically, I'd suggest starting with one of the bcbio_ipengine* files created during submission and manually edit it to just echo the $PATH. Then you could try submitting to your cluster and determine under what circumstances the PATH gets correctly translated and when it is lost. Perhaps there is a different option we need to set to maintain the parent PATH environment on your cluster? Thanks for the help debugging this.

Sorry for the delay in response, but we now came up with a solution for the missing pass-on of the $PATH variable. With this submission script to SGE/iPython:

#!/usr/bin/env bash
export PATH=/bcbio/local/bin:$PATH
module load gridengine/2011.11
bcbio_nextgen.py /clustertmp/CNVkit/config/TumorNormal.yaml -t ipython -s sge -n 192 -r pename=smp  -q public.q

It is necessary to create the following folder structure before submission of the script above via "qsub CNVkit.sh":
/CNVkit/work/log/ipython/startup/ and within the startup folder create the following file 01-loadEnv.py:

import os
os.environ['PATH'] = "/bcbio/local/bin:" + os.environ['PATH']

This file is then picked-up by iPython during the startup and the PATH is correctly set.
Maybe you can implement this? I think it is anyway now hassle since I can include the creation of this py file in my qsub script, but it would be more convenient.

Thanks for following up and all the additional details. I'd like to avoid IPython hacking as part of the bcbio run since this should be getting handled by the scheduler itself. Everything should be set on SGE to pass along environmental variables to the child processes so I'm still confused as to why it doesn't happen on your system. If you're able to do any debugging of the ipengine files as suggested in my last message that would be helpful for us to figure out how to resolve this more generally. Thanks again.

Thanks, we've fixed a bunch of these issues where we aren't looking up the executables, so this should be fixed now.


Feature request: ip2int and int2ip functions

Hi there!!!
Will be useful for me and some users these 2 functions as shown at http://www.codetoolset.com/convert/ip2int/index.html
I use a lot this functions to make tests to search IPs inside CIDR using REDIS and sorted sets
Thanks!

Change IP format is the operation you’re looking for. It works both directions.
https://gchq.github.io/CyberChef/#recipe=Change_IP_format('Dotted Decimal','Decimal')Change_IP_format('Decimal','Dotted Decimal')&input=MTkyLjE2OC4wLjE


vigenere hangs on input "==="

Describe the bug
when the input into Ciphey is all equals signs, viginere hangs according to the debug output.
the minimum number of equals signs to reproduce this is 3.
To Reproduce
ciphey -t "===" on branch "fixing base"

DW I fixed that
It now segfaults

@Cyclic3 fixed?

Should be, yeah


Improve game.

The game could be more interesting.

Maybe the game needs some kind of purpose or reward for playing.


SeaTunnel community meeting Topic collect

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
hailin0 invites you to a meeting on Tencent Meeting
Meeting Topic: SeaTunnel Community Meeting
Time: 2024/12/31 20:00-21:00 (GMT+08:00) China Standard Time - Beijing
Click the link to join the meeting or to add it to your meeting list:
https://meeting.tencent.com/dm/cQCCo7ssmcGo
#TencentMeeting: 373-7902-7471
Copy this invitation and open in Tencent Meeting app (V2.13 or later) to join the meeting
Everyone is very welcome to join:
If you have an issue, please submit it one day before the meeting, and provide a specific issue link and context.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

https://github.com/apache/seatunnel/pull/7132  this pr closed？can add a connector support
emqx source in iot scene


python3Packages.jax: 0.3.0 -> 0.3.1

Motivation for this change
Upgrades python3Packages.jax from 0.3.0 to 0.3.1
This PR was automatically generated by nixpkgs-upkeep.

CI workflow that created this PR.
Internal tag: ead62f9214a34be8f906a444179f7abe.

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
[x] 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
[x] Fits CONTRIBUTING.md.

elegy, treeo, and treex have been failing for a while now: https://github.com/samuela/nixpkgs-upkeep/actions/runs/1867118061
I'll go ahead and merge tomorrow unless anyone objects

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

4 packages failed to build:

python310Packages.treeo
python39Packages.elegy
python39Packages.treeo
python39Packages.treex

10 packages built:

python310Packages.chex
python310Packages.jax
python310Packages.jmp
python39Packages.chex
python39Packages.dm-haiku
python39Packages.flax
python39Packages.jax
python39Packages.jmp
python39Packages.objax
python39Packages.optax

Change looks good to me.
$ nix --experimental-features nix-command build --no-link --keep-going --option build-use-sandbox relaxed -f /home/alice/.cache/nixpkgs-review/pr-160808/build.nix
error: builder for '/nix/store/ykd2hzlfm52z39xfjls8yzgl32z311v9-python3.10-treeo-0.4.0.drv' failed with exit code 1;
       last 10 log lines:
       >   Stored in directory: /build/pip-ephem-wheel-cache-ik99h7bp/wheels/79/4b/9b/fc24941d75fdb959a71ee80195b2c89d6ae9389f9f0f80fb22
       > Successfully built treeo
       > Finished creating a wheel...
       > Finished executing pipBuildPhase
       > installing
       > Executing pipInstallPhase
       > /build/source/dist /build/source
       > Processing ./treeo-0.0.4-py3-none-any.whl
       > ERROR: Could not find a version that satisfies the requirement jax<0.3.0,>=0.2.18 (from treeo) (from versions: none)
       > ERROR: No matching distribution found for jax<0.3.0,>=0.2.18
       For full logs, run 'nix log /nix/store/ykd2hzlfm52z39xfjls8yzgl32z311v9-python3.10-treeo-0.4.0.drv'.
error: builder for '/nix/store/mamrlxvkjhls04cmyvk4rx4ciigana09-python3.9-treeo-0.4.0.drv' failed with exit code 1;
       last 10 log lines:
       > Successfully built treeo
       > Finished creating a wheel...
       > Finished executing pipBuildPhase
       > installing
       > Executing pipInstallPhase
       > /build/source/dist /build/source
       > Processing ./treeo-0.0.4-py3-none-any.whl
       > Requirement already satisfied: typing-extensions in /nix/store/5nfjpzqbp4ykc4mhp2lfdbvwkzjlw3k2-python3.9-typing-extensions-4.0.1/lib/python3.9/site-packages (from treeo==0.0.4) (4.0.1)
       > ERROR: Could not find a version that satisfies the requirement jax<0.3.0,>=0.2.18 (from treeo) (from versions: none)
       > ERROR: No matching distribution found for jax<0.3.0,>=0.2.18
       For full logs, run 'nix log /nix/store/mamrlxvkjhls04cmyvk4rx4ciigana09-python3.9-treeo-0.4.0.drv'.
error: 1 dependencies of derivation '/nix/store/3yvwymk6bvdmma04619d2vjm2hi34dki-python3.9-treex-0.6.9.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9nb4ppkck08h5am9lnc90j71vvcq6iad-python3.9-elegy-0.8.4.drv' failed to build
error: 4 dependencies of derivation '/nix/store/ynrd63bg6q50w8fi0hy75kf320hlqxgr-review-shell.drv' failed to build

From portion of output produced by nixpkgs-review, I can confirm breakage is not this PR.


Peer-to-peer review

Add a non-value to an attribute

The btn value does not correspond to the type attribute of the element.
                  <button type="button btn" class="menu-button">                           </button>

Thanks to all of you guys!!


revert use of File without defined()

File['/foo/Bar'] is basically always "true" whether the resource is
defined or not.
This pr fixes #107

i'm starting to think if we're making a new release of this module, we could also drop support for puppet 4… given the travis failures…

ping @derdanne


Completion window "Check now" button to scan skills on current char

Save current build code, cycle professions and record, load original code

Related https://github.com/HasKha/GWToolboxpp/issues/664


Use package index on docs site

Lets use our package index package instead of a nuget query so we can guide people to the newer libraries.
PTAL @CamSoper

@CamSoper I made the requested change. Is there anything else you'd like to see before accepting this PR?


flow-type: type-checking the return values of yielded effects

Correct me if I'm wrong, but as far as I understood the conversation in #358 there are two approaches to detect the correct return-type of the yield calls.
We could either limit ourselves to only one type with function * mySaga() : Generator<*, *, Y>, or add the type explicitly: const foo: Foo = yield select(getFoo). However, with both approaches we'll loose flow's type-inference power, making them rather useless.
Now, I thought about another approach: What I tried is to wrap the effects into generators themselves which are called via the yield* statement (which simply hand over control to another generator). Here's a simplified example:
// redux-saga/effect-generators.js

import * as Effects from './effects'

export function select * (fn, ...args) {
  return yield Effects.select(fn, ...args)
}

// flow-typed/redux-saga.xx.js

declare module 'redux-saga/effect-generators' {
  // Ensure Generator returns the same type as fn. No call parameters integration yet
  declare var select :  (<R, Fn: ((state: any) => R)>(fn: Fn) => Generator<*, R, *>)
  ...
}

// mySagaFile.js

import {select} from 'redux-saga/effect-generators'

function * MySaga () : Generator<*, *, *> {
   const user = yield* select(getUser)
}

So the only difference for the user would be to add a * to each yield statement, and to import the effect functions from a different location. I made some experiments and it seems very promising.
Of course, it's totally debatable if such an enhancement should be part of redux-saga itself. For me, a full grown flow support is quite important.
I'm looking forward to hear your opinions.

Well, as flow and TS typings are completely community driven in the project, I wouldnt like to include this as recommended way of doing things, as the sole purpose of this are the typings.
Unfortunately Im not a good flower so Im not capable of fully helping you here, but I hope the flow community will step up and give some insight on this in the comments.
From what I understand you try to leverage the type inference here, right? Is it possible to connect each effect's result to the yielded effect itself (which is just an object)? Could you give more examples? select seems like one of the easier ones.
Wondering if the support for this type of thing couldnt be added to the flow itself as generators are comming somewhat more mainstream.

Thanks for your reply. Yes, leveraging type inference by extracting the return type is my intention. I think this is what makes type systems so powerful in detecting the hidden bugs. I'll try to give more explanation, also to make some thoughts clear for myself.
And it would be really really great if ppl from the flow community could help here.
The problem with generator typing in general, is the fact that it is completely up to the application (here: redux-saga middleware) what data and type to pass back in iterator.next(...) calls.
Or in other words: the decision what type the LHS of a yield statement has, is determined by the caller of the generator, and not solely the RHS. Only the latter can be easily inferred by a type system.
So the only reasonable and safe return type here is any. Flow allows, however, to specify a global yield return type Y in Generator<*, *, Y>. No idea where this could be of any use...
I don't think it is possible to "connect" effect's objects to yield atm. One speculative way I could imagine would be to allow a RHS->LHS mapping dictionary in the place of Y. Or to give each effect a second annotation how it should behave when situated in a yield context. But my gut feeling is pessimistic that these are realistic approaches for flow.
Regarding your questions for other examples besides select. The pattern should stay the same for all kind of effects. All return types change from Object to Generator<*, R, *>. Maybe it could be generalized like this:
function * IOEffectGenerator(effect, ...args) {
  return yield effect(...args)
}

export select = IOEffectGenerator.bind(IOEffects.select)
export call = IOEffectGenerator.bind(IOEffects.call)

However, I'm no expert of the Saga-API, and don't know all possible contexts.

Sorry, didnt yet time to read thoroughly your response, but I've ended somehow in this thread and Im wondering if that helps you anyhow (it might not ofc).
Also this thread seems to be connected with your issue, but no responses there yet.

Thanks @Andarist for finding the two threads. Especially the second one deals with the same problem.
I created a gist containing implementations of the effects I need (call, fork, cps, cancelled, select). Works quite reliable for me. Hope this will be helpful for someone out there.
However, the takeeffect family still gives me a headache, and I would be glad to get some input from the community here. I thought about using "action prototypes" instead of "actiontype constants" as first paramter, but I'm not very convinced.

I wouldnt like to include some special constructs into the library just for sake's of typings. Is your issue still unresolved? Should I leave this issue opened? Please let me know.

I'm using the solution described above. It's not complete, but I'm happy for now.

Ok, going to close issue for now. If you have any further questions, please just ask :)


Fix refresh CodeMirror when tab becomes active.

Bootstrap 3 changed the event name for tabs.

Coverage remained the same at 98.9% when pulling db4a54a70d22701001fb3eb8c3cf0882ff980060 on schneikai:fix-tabbed-codemirror into 3a7619c6f06fef2801dae88d7d0234f35d7569dd on comfy:master.

Coverage remained the same at 98.9% when pulling db4a54a70d22701001fb3eb8c3cf0882ff980060 on schneikai:fix-tabbed-codemirror into 3a7619c6f06fef2801dae88d7d0234f35d7569dd on comfy:master.

Coverage remained the same at 98.9% when pulling db4a54a70d22701001fb3eb8c3cf0882ff980060 on schneikai:fix-tabbed-codemirror into 3a7619c6f06fef2801dae88d7d0234f35d7569dd on comfy:master.

Coverage remained the same at 98.9% when pulling db4a54a70d22701001fb3eb8c3cf0882ff980060 on schneikai:fix-tabbed-codemirror into 3a7619c6f06fef2801dae88d7d0234f35d7569dd on comfy:master.

Coverage remained the same at 98.9% when pulling db4a54a70d22701001fb3eb8c3cf0882ff980060 on schneikai:fix-tabbed-codemirror into 3a7619c6f06fef2801dae88d7d0234f35d7569dd on comfy:master.

Coverage remained the same at 98.9% when pulling db4a54a70d22701001fb3eb8c3cf0882ff980060 on schneikai:fix-tabbed-codemirror into 3a7619c6f06fef2801dae88d7d0234f35d7569dd on comfy:master.


Fix bugs related to edit appointment.

Fix bug highlighted in issue #173

Codecov Report

Merging #184 (10892c2) into master (4f2bcc6) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #184   +/-   ##
=========================================
  Coverage     72.72%   72.72%
  Complexity      722      722
=========================================
  Files           108      108
  Lines          2361     2361
  Branches        268      268
=========================================
  Hits           1717     1717
  Misses          575      575
  Partials         69       69

Impacted Files
Coverage Δ

...du/fast/logic/commands/EditAppointmentCommand.java
95.31% <100.00%> (ø)

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 4f2bcc6...10892c2. Read the comment docs.


in version 2.0.2+2 Error: 'hideCallkitIncoming' is already declared in this scope.

Xcode build done.                                           52.3s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): ../../.pub-cache/hosted/pub.dev/flutter_callkit_incoming-2.0.2+2/lib/flutter_callkit_incoming.dart:137:17: Error: 'hideCallkitIncoming' is already declared in this scope.
Error running application on iPhone

sorry, please update 2.0.3.


Really nice app guys, great to see how few commits I have made

Thanks thegsi!
Feel free to close this if you feel no further action is required :))


Improve nested fields path and type resolution

This commit improves the getAttributeFromPath function by introducing
a better field path and type resolution mechanism. Now, it considers
aadditional fallback naming conventions, particularly for cases
involving lists.
This is needed to generate type references for Distribution resource
in ACK CloudFront controller. More specifically, the CF API Schema for
the Distribution resource is naming the FunctionAssociations shape
FunctionAssociationsList.
Tested with cloudfront-controller using the following config:
resources:
  Distribution:
    fields:
      DistributionConfig.DefaultCacheBehavior.FunctionAssociations.Items.FunctionARN:
        references:
          resource: Function
          path: Status.ACKResourceMetadata.ARN

Signed-off-by: Amine Hilaly<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/retest


Improve folder_contents workflow state for images/files (show "inherited from parent" instead of just "no workflow state")

Is your feature request related to a problem? Please describe.
Editors are confused by the "no workflow set" message in the folder_contents view and don't know what to do with it.
Describe the solution you'd like
Ideally, we should show the actual de-factor workflow state which is inherited from the parent object:

This is a nice-to-have rather than a must-have feature.

@sneridagh @tiberiuichim opinions? thoughts?

@tisto maybe don't put anything there?

@tiberiuichim if we don't put anything there I'd guess the editor would still wonder what workflow status this object has.

We could easily infer parent's workflow, and use another visual indicator that it comes from parent (specially for the more menu), I guess. It would be more an aesthetic change than anything else.

Maybe we can start with a simple text implementation "Published (inherited by parent)" and then pass it to Albert for a more sophisticated solution.

@sneridagh @tisto @tiberiuichim The problem is more deep than that. "No workflow state" is also displayed for custom workflow steps due this hard-coded messages: https://github.com/plone/volto/blob/master/src/components/manage/Contents/ContentsItem.jsx#L29
IMHO we should always take the review_state title from backend

:disappointed:

This has an history behind, @albertcasado thought since long time ago that having both a "workflow action name" and a "workflow name" was confusing and wrong for a plain user. I agreed with him since day one. "Reject" and "Retract" are a good example. One never knows which is the destination state after that...
Since that "normalization" was never agreed on Plone itself, we decided to implemented it "hardcoded" in Volto. We could improve the current situation by making it configurable so "useSimpleWorkflowStates" settings config. I would also add a  fallback to the Plone ones in case those are not set.
What do you think?

@sneridagh Sounds good!

@sneridagh useSimpleWorkflowStates sounds like a good idea (and making this the default). I can still imagine use cases (or edge cases) where you might need to differentiate between workflow transition labels and states (because you have multiple different transitions to reach the same workflow state). Though, we should not over-complicate the Plone UI just because of some edge cases.


Update T-nodeX tag and add communication channels

@janewang I think you didn't address my comment :(

Oh I'm so sorry 😔


Bug: Excel export not available for admins

normal user

admin

Seems to be an issue with Safari.

be87e9057c22b252aaa4d879579d1685fce231ec


fix: fallback nuxt image

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Related: #8238

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Copilot Summary

🤖[deprecated] Generated by Copilot at 10d717e
Improved image loading and fallbacks in various components. Used ImageMedia component to handle different image sources and statuses in NeoAvatar and MediaItem. Added a default placeholder image for MediaItem.

🤖[deprecated] Generated by Copilot at 10d717e

No more blanks in the dark, we have placeholder
ImageMedia is our shield, it handles all the cases
We don't need TheImage, it was a weak illusion
We use NeoAvatar, it gives us more expression

thanks!
pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 5.11 USD/DOT ~ 3.914 $DOT
🧗 1xjvRADwdJcnmUCLWerEHR4iGCT5EBTm4D4fzLLg4LcAC9p
🔗 0xba6e4568bdbf1ccee9f8f12c76a92eac2cf48d97abea834d078bd52ca16fd681
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Set up the issue template

Looking at #187, it would be nice to have an issue template with a comment saying something like this:

if you are experiencing an issue running samples on Vulkan Portability (macOS/iOS/other), please consider filing them to  https://github.com/KhronosGroup/Vulkan-Portability instead, or the relevant VkPI implementation (MoltenVK or gfx-portability).

cc @marty-johnson59

OK, I added an issue template with your suggested text.  Check it out and LMK if this works.  Thanks,
Marty

Looks good, thank you!
We can make it better by turning MoltenVK and gfx-portability into links, like in my example.

Hmm, I tried adding a link with the documented syntax ([link] (URL)), but it doesn't seem to work when embedded in a comment.  LMK if you know how to do this (I'm new to working with mark-down..).  For now, the URLs are listed, but you have to cut/paste...


fix master CI

A few UI tests are failing, it would appear, due to some wording changes in the latest nightly. Investigating whether we actually have to make any changes to fix this

never mind, we seem to be good 👍🏻


Get Error: Resource not accessible by integration

I have configured workflow as below but I get this error from github action when running this job:
Run SamhammerAG/last-successful-build-action@v4
  with:
    branch: develop
    workflow: main
    token: ***
    verify: false
Error: Resource not accessible by integration

What does Error: Resource not accessible by integration mean? Does this plugin require any permissions?
jobs:
  last-success-commit:
    runs-on: ubuntu-latest
    steps:
      - uses: SamhammerAG/last-successful-build-action@v4
        id: last-successful-commit
        with:
          branch: 'develop'
          workflow: 'main'
          token: ${{ secrets.GITHUB_TOKEN }}

The token permission I have on the repo is:

@zhaoyi0113 The screenshot shows the permission configuration for the GITHUB_TOKEN (example ${{ github.token }} ). In your example you're using ${{ secrets.GITHUB_TOKEN }} which refers to a custom secret in your repository. Can you check the permissions given to the token contained in that secret ? (Instead you could also leave out the token parameter so the action will use the default value of ${{ github.token }}

It seems that this action requires permissions for actions: read, which does not seem be a default permission granted under Workflow permissions of "Read repository and package permissions" setting. This action works by setting the permissions on the job, for example
jobs:
  show-last-success:
    runs-on: [ ubuntu-latest ]
    permissions:
      actions: read
      contents: read
    steps:
      - uses: actions/checkout@v4
      - name: Find successful workflow by name
        uses: SamhammerAG/last-successful-build-action@v5
        with:
          branch: "main"
          workflow: "Some other deploy"
      - name: Show result
        run: |
          echo Last successful deploy SHA: ${{ github.sha }}

@gmitche1 You're right, i wasn't aware the "Read repository and package permissions" workflow permissions only included the content and packages scopes. I've updated the description to reflect that the read permission for the actions scope is necessary.


still maintained

any future for this app?

any future for this app?

I hope yes, it is really a very usefull app

I don't intend to abandon this app. I have a few ideas I want to explore (switching to Compose, for example). Nevertheless, I've been extremely busy, and that's why there hasn't been any updates.


Fixing SEO stuffs + add route to sitemap

Description

Fixed some SEO stuffs

Related Issue

Helps fixing : https://github.com/trypear/pear-landing-page/issues/77

Changes Made

Add /signup and /signin in sitemap
Fixing html tag for SEO optimization (Each page should only have one h1 tag that should be important text (so screenreader can easily identify important sentence ))
Remove yarn build from pre-commit script (its useless to run on every commit (takes lot of time))

Screenshots

no

Checklist

[x] I have tagged the issue in this PR.
[x] I have attached necessary screenshots.
[x] I have provided a short description of the PR.
[x] I ran yarn build and build is successful
[x] My code follows the style guidelines of this project.
[x] I have added necessary documentation (if applicable)

If other routes like reset-password , etc .. functionality done means i can add to sitemap

If other routes like /reset-password , etc .. functionality done means i can add to sitemap @Fryingpannn @ICEPrey

Yes those are done!


Issue 138 dns ip changes

lots of the same changes but overall superseded by https://github.com/openziti/desktop-edge-win/pull/169/files


Fastapi & Python 3.9

Hi!
Are there any discrepancies in the support for Python versions?

Interested in support v3.9
Do I understand correctly that the help text about Python versions is just incomplete?

Thankx

The Python 3.9 you see is from the CI i.e. it runs the test set against Python 3.9.
But FastAPI is not supporting 3.9 officially... So, maybe we should remove 3.9 from the CI? :thinking:
I don't see any issue on adding the 3.9 in the command as well...

FastAPI now supports Python 3.9. jfyk

@Kludex thank you very much for your answer ;)


Added explicit dependencies for Arch Linux

As I run bevy in a apx container, the default dependencies are bare minimum.. because of which I was able to find the explicit dependencies required for bevy. :+1: the same shall also be applicable for the other distributions but I will have to figure out explicit ones for them and might open a PR for them later.
Objective

Have explicit dependencies listed for a bare minimum system / container

Solution

Running bevy in a bare minimum apx / distrobox container.

Changelog

Added explicit dependency instructions for Arch Linux

Awesome, thanks :) Yeah, minimal containers are very useful for this.

I have a similar minimal Arch box lying around somewhere, will test this soon.

Will this dependency set work with wayland?

Will this dependency set work with wayland?

Yes they would ! Both godot and bevy use x11 however wayland makes use of xwayland. You will need the x dependencies regardless of you are using wayland or x11.

Beyv can use wayland instead of x11

I'd prefer this either add the Wayland deps in a comment (like the NixOS example) or a note saying it won't work for builds with the Wayland feature.
Otherwise LGTM.

Bevy can use wayland instead of x11

https://bevy-cheatbook.github.io/platforms/linux.html#x11-and-wayland
It uses xwayland by default when running under wayland, which will require the same dependencies, however I can test adding the wayland features and specify those deps as well. @NthTensor @mockersf


Handle REM before content starts

Right now I think these must be grafted onto the previous heading, which is strictly what the markup suggests but not very useful in practice. This is probably something to fix at the tidy stage.

Wrote a test which showed that things are working as they should.


Structural error at components.securitySchemes

Using https://editor.swagger.io/ to check the generated json presents these problems.
securityScheme("BasicAuth") {                 type = AuthType.HTTP                 scheme = AuthScheme.BASIC }
Structural error at components.securitySchemes.BasicAuth
should NOT have additional
additionalProperty: name

securityScheme(JWT_AUTH) {                 type = AuthType.HTTP                 scheme = AuthScheme.BEARER }
Structural error at components.securitySchemes.JwtAuth
should NOT have additional properties
additionalProperty: name

Thank you!  The bug has been fixed with version 2.7.2


Routes don't load in production

FlowRouter doesn't work when deploying with either mup or mupx. None of the routes are appearing/loading on the app. The app works perfectly well in development.
Running Meteor 1.2.1 on Ubuntu 14.04, Digital Ocean.
This is the message I get:
There is no route for the path: /
mupx logs -f gives me:
[xxx.xxx.xxx.164] npm WARN deprecated This version of npm lacks support for important features,
npm WARN deprecated such as scoped packages, offered by the primary npm
npm WARN deprecated registry. Consider upgrading to at least npm@2, if not the
npm WARN deprecated latest stable version. To upgrade to npm@2, run:
npm WARN deprecated
npm WARN deprecated   npm -g install npm@latest-2
[xxx.xxx.xxx.164] npm WARN deprecated
npm WARN deprecated To upgrade to the latest stable version, run:
npm WARN deprecated
[xxx.xxx.xxx.164] npm WARN deprecated   npm -g install npm@latest
npm WARN deprecated
[xxx.xxx.xxx.164] npm WARN deprecated (Depending on how Node.js was installed on your system, you
npm WARN deprecated may need to prefix the preceding commands with sudo, or if
[xxx.xxx.xxx.164] npm WARN deprecated on Windows, run them from an Administrator prompt.)
npm WARN deprecated
[xxx.xxx.xxx.164] npm WARN deprecated If you're running the version of npm bundled with
npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS
[xxx.xxx.xxx.164] npm WARN deprecated will be bundled with a version of npm@2, which has some small
npm WARN deprecated backwards-incompatible changes made to npm run-script and
npm WARN deprecated semver behavior.
[xxx.xxx.xxx.164] npm WARN package.json<EMAIL_ADDRESS>No description
[xxx.xxx.xxx.164] npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
[xxx.xxx.xxx.164]

<EMAIL_ADDRESS>install /bundle/bundle/programs/server/node_modules/fibers
[xxx.xxx.xxx.164] > node ./build.js

[xxx.xxx.xxx.164] linux-x64-v8-3.14 exists; testing
Binary is fine; exiting
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/ansi-regex
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/ansi-styles
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/escape-string-regexp
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/chalk
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/has-ansi
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/supports-color
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/strip-ansi
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/eachline
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/type-of
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/amdefine
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/asap
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/underscore
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/meteor-promise
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/promise
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/source-map-support
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/semver
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/source-map
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164]<EMAIL_ADDRESS>node_modules/fibers
[xxx.xxx.xxx.164] => Starting meteor app on port:80
[xxx.xxx.xxx.164] WARNING:
[xxx.xxx.xxx.164] cfs:graphicsmagick could not find "graphicsMagic" or "imageMagic" on the
[xxx.xxx.xxx.164] system.
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164] I just checked PATH to see if I could find the GraphicsMagick or ImageMagic
[xxx.xxx.xxx.164] unix/mac os/windows binaries on your system, I failed.
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164] Why:
[xxx.xxx.xxx.164] 1. I may be blind or naive, help making me smarter
[xxx.xxx.xxx.164] 2. You havent added the path to the binaries
[xxx.xxx.xxx.164] 3. You havent actually installed GraphicsMagick or ImageMagick
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164] *** Make sure "$PATH" environment is configured "PATH:/path/to/binaries" ***
[xxx.xxx.xxx.164]
[xxx.xxx.xxx.164] Installation hints:
[xxx.xxx.xxx.164] * Mac OS X "brew install graphicsmagick" or "brew install imagemagick"
[xxx.xxx.xxx.164] * Linux download rpm or use packagemanager
[xxx.xxx.xxx.164] * Centos "yum install GraphicsMagick"* Windows download the installer and run
Any suggestions for this problem?

Did you find a solution?

having the same issue.. any solution yet?

Can you post your solution pls?


Installation instructions outside of docker ?

Is your feature request related to a problem? Please describe.
I would like to install this on AppEngine Standard but I'm not too familiar with python
Describe the solution you'd like
I think this should be possible. I've already pre-built the Vue static files so I won't need to run node in AppEngine
cd src/dispatch/static/dispatch
npx vue-cli-service build

I'm pretty sure connecting to CloudSQL is like this:
$ tee .env
DATABASE_CREDENTIALS=CLOUD_SQL_USERNAME:CLOUD_SQL_PASSWORD
DATABASE_HOSTNAME=localhost
DATABASE_NAME=CLOUD_SQL_DATABASE_NAME?unix_socket=/cloudsql/CLOUD_SQL_CONNECTION_NAME
DATABASE_PORT=5432

I'm using this entrypoint:
entrypoint: python setup.py bdist_wheel && dispatch server start dispatch.main:app

but I get the error:
invalid command 'bdist_wheel'

Is there anything else that I need to be aware of ?
thanks

Perhaps you need the wheel package?
See: https://stackoverflow.com/questions/34819221/why-is-python-setup-py-saying-invalid-command-bdist-wheel-on-travis-ci

Do you think it is possible to run this without sudo being a requirement? It looks like system-level packages are not supported on AppEngine either. Maybe I will need to modify setup.py to make it more stateless...
if you were setting this up outside of docker what would the steps be ?
pipenv install -r requirements.txt
...?

On a macro level it's just a python app, so any tutorials on installing python apps would be relevant, I haven't deployed to app engine before so I'm not sure if its particular quirks. I think you're on the right path, for example to run on my local Linux machine the steps are basically:
git clone git@github.com:Netflix/dispatch.git
cd dispatch
pip install -e .
and then to run the server:
dispatch server start
You don't need to create venv for the project, but it is recommended for python projects to avoid conflicting dependencies.

git clone git@github.com:Netflix/dispatch.git
cd dispatch
python setup.py build

If I use this as my entrypoint python setup.py install && dispatch server start on AppEngine then I get
[Errno 30] Read-only file system: '/env/lib/python3.7/site-packages/test-easy-install-12.write-test'"

It looks like AppEngine will only support installing via requirements.txt so I added ./ to requirements.txt (copied from requirements-base.txt:
I get this error message:
Step #1 - "builder": Successfully built SQLAlchemy-Searchable alembic pypd python-multipart sentry-asgi SQLAlchemy-Utils validators wasabi
Step #1 - "builder": Failed to build dispatch
Step #1 - "builder":
Step #1 - "builder": INFO     `pip_download_wheels` had stderr output:
Step #1 - "builder":   ERROR: Command errored out with exit status 1:
Step #1 - "builder":    command: /env/bin/python3.7 /env/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpbpqt0rw9
Step #1 - "builder":        cwd: /tmp/pip-req-build-w_ph5i_1
Step #1 - "builder":   Complete output (5 lines):
Step #1 - "builder":   running bdist_wheel
Step #1 - "builder":   running build
Step #1 - "builder":   running build_assets
Step #1 - "builder":   command failed [node --version] via [/tmp/pip-req-build-w_ph5i_1/src/dispatch/static/dispatch]
Step #1 - "builder":   Cannot find node executable. Please install node and try again.
Step #1 - "builder":   ----------------------------------------
Step #1 - "builder":   ERROR: Failed building wheel for dispatch
Step #1 - "builder": ERROR: Failed to build one or more wheels
Step #1 - "builder":
Step #1 - "builder": ERROR    error: `pip_download_wheels` returned code: 1
Step #1 - "builder": INFO     pip_download_wheels took 24 seconds
Step #1 - "builder": INFO     build process for FTL image took 28 seconds
Step #1 - "builder": INFO     full build took 28 seconds
Step #1 - "builder": ERROR    `pip_download_wheels` had stderr output:
Step #1 - "builder":   ERROR: Command errored out with exit status 1:
Step #1 - "builder":    command: /env/bin/python3.7 /env/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpbpqt0rw9
Step #1 - "builder":        cwd: /tmp/pip-req-build-w_ph5i_1
Step #1 - "builder":   Complete output (5 lines):
Step #1 - "builder":   running bdist_wheel
Step #1 - "builder":   running build
Step #1 - "builder":   running build_assets
Step #1 - "builder":   command failed [node --version] via [/tmp/pip-req-build-w_ph5i_1/src/dispatch/static/dispatch]
Step #1 - "builder":   Cannot find node executable. Please install node and try again.
Step #1 - "builder":   ----------------------------------------
Step #1 - "builder":   ERROR: Failed building wheel for dispatch
Step #1 - "builder": ERROR: Failed to build one or more wheels
Step #1 - "builder":
Step #1 - "builder": error: `pip_download_wheels` returned code: 1
Step #1 - "builder": Traceback (most recent call last):
Step #1 - "builder":   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
Step #1 - "builder":     "__main__", fname, loader, pkg_name)
Step #1 - "builder":   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
Step #1 - "builder":     exec code in run_globals
Step #1 - "builder":   File "/usr/local/bin/ftl.par/__main__.py", line 65, in <module>
Step #1 - "builder":   File "/usr/local/bin/ftl.par/__main__.py", line 57, in main
Step #1 - "builder":   File "/usr/local/bin/ftl.par/__main__/ftl/common/ftl_error.py", line 58, in UserErrorHandler
Step #1 - "builder": IOError: [Errno 2] No such file or directory: '""/output'

I think I'm pretty close to getting it working. I removed self._setup_js_deps() from setup.py
Step #1 - "builder":   ERROR: Command errored out with exit status 1:
Step #1 - "builder":    command: /env/bin/python3.7 /env/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmprpebccgv
Step #1 - "builder":        cwd: /tmp/pip-req-build-9gz5ohr4
Step #1 - "builder":   Complete output (6 lines):
Step #1 - "builder":   running bdist_wheel
Step #1 - "builder":   running build
Step #1 - "builder":   running build_assets
Step #1 - "builder":   pulled version information from 'dispatch' module. /tmp/pip-req-build-9gz5ohr4/src/dispatch/__init__.py
Step #1 - "builder":   building assets for dispatch v0.1.0.dev0 (build UNKNOWN)
Step #1 - "builder":   Could not determine dispatch version or build

so I removed self._setup_git() and changed _get_package_version() build variable to a constant string
okay now it seems to be working :)


Add tm/util subpackage

The cli diagnostic and system commands available to tmsh like:

unix-mv
unix-rm
ping
traceroute
dig

and others are missing. The unix-rm especially is necessary for cleaning up files uploaded while importing iFiles/External Data-Groups via iControl REST.

@jasonrahm any idea if any work has gone into this?

In my quest to learn git and clean up some mistakes, I blew away some work I had stashed. But I was planning on doing some work with this one after I land the datagroup tests.
Jason
From: Tim Rupp<EMAIL_ADDRESS>Reply-To: F5Networks/f5-common-python<EMAIL_ADDRESS>Date: Wednesday, August 24, 2016 at 3:22 PM
To: F5Networks/f5-common-python<EMAIL_ADDRESS>Cc: Jason Rahm<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [F5Networks/f5-common-python] Add tm/util subpackage (#538)
@jasonrahmhttps://github.com/jasonrahm any idea if any work has gone into this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/F5Networks/f5-common-python/issues/538#issuecomment-242195551, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA0SSziD3G7TSFIi-SLHN2hBJf2BEMEoks5qjKgIgaJpZM4JGil0.

k

Looks like @jgruber's #455 PR has some of the code I was working on for this issue as well. It is tagged help wanted, so I'll pull his PR to my local box and start working on this issue later today.

For discussion...please see https://github.com/F5Networks/f5-common-python/pull/671/ for details. Basically, these commands all return 200 whether successful to end-user intent or not. The commandResult field needs to be evaluated for success/failure. Is that something we should take on or leave to the end-user to solve? Note that the data in commandResult is just raw text. Thoughts appreciated.

speaking of conventions @zancas, looking for direction on this front. Some of this conversation is in in general between @caphrim007 and me. Just not sure how I should handle providing errors to the users of the sdk since none of these commands return anything but a 200 response. The error information if present is in the commandResult field. Thanks for any advice, haven't found any similar issues pecking through the current state of the sdk.

merged so closing


Docstring needn't say "tree sequence must have marked recombination nodes"

The from_ts docstring says "tree sequence must have marked recombination nodes", but I think that's only true for the line="orthodox" plot.
https://github.com/kitchensjn/tskit_arg_visualizer/blob/e764605ec057a4e3a6eef4f42807ada6b056d19e/tskit_arg_visualizer/__init__.py#L160
Perhaps it should say:
ts : tskit.TreeSequence
    If the tree sequencs has marked recombination nodes, such as using
    msprime.sim_ancestry(...,record_full_arg=True), this can be used to
    plot in "ortho" style.

Thanks for catching that! I agree that the current wording isn't correct, but it may need an extra layer. If flag 131072 isn't ever used in the ARG, everything works as expected for edge_type="line". But the docstring should be more explicit regarding 1-RE versus 2-RE formats as that flag is used to merge recombination nodes. Additionally, there isn't a check to make sure the merging recombination nodes are actually properly paired; it just makes a list of recombination nodes and blindly groups pairs of nodes together. This works for 2-RE format, but in the instance you provide an ARG in 1-RE format with marked recombination nodes (flag 131072, if that ever happens), it will incorrectly try to merge unrelated recombination nodes.


tooniversal: Add version 1.1.0

Wget is failing since its version flag does not have a comma. it is not this package.

Mind reviewing this PR?

By the way, what's the difference between tooniversal, corporateclash and toontownrewritten? Which one of them is the most popular?


HTTPCORE-613_2: Now allowing 0 for validaterAfterInactivity

Previously only positive values were used for checking the validity of a potentially stale connection, now 0 is allowed

@pfrank13 Do you intend to re-spin the PR or shall I close it?

Sorry, must have missed your message, I'm using compare to now.

@pfrank13 I am not seeing any new changes.

@pfrank13 Please update the PR.

Updated, see if that works for you guys.

@pfrank13 Looks good now, but I just realized there is a better option still.
I have have overlooked the TimeValue#isNonNegative that we have in 5.0. It would make things a bit more readable than TimeValue#compareTo. Please excuse my oversight.
Connection management code in HttpClient 5.0 needs to be changed as well as a separate PR.


Android: More dark theme improvements.

With !important stripped these changes make the HTML based newsletters look reasonable.

Are we ready for wide release?

By the way, do you see any width issues? Many newsletters are 600px.

Are we ready for wide release?

I would suggest we hold off. I just last night found a fairly frustrating behaviour while reading on the subway. With very unlucky timing, an unintended blocking of the UI loop can occur if a network call goes crazy latent.  Stories in the UI will freeze and the effect persists until timeout.
I know the exact reason, just need to get in front of a real keyboard to fix when I arrive home tonight.

After adding the min-width override I've not seen any issues with
newsletters I read.
On Tue, 15 Mar 2016 23:50 Daniel<EMAIL_ADDRESS>wrote:

Are we ready for wide release?
I would suggest we hold off. I just last night found a fairly frustrating
behaviour while reading on the subway. With very unlucky timing, an
unintended blocking of the UI loop can occur if a network call goes crazy
latent. Stories in the UI will freeze and the effect persists until
timeout.
I know the exact reason, just need to get in front of a real keyboard to
fix when I arrive home tonight.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/samuelclay/NewsBlur/pull/894#issuecomment-197071415


whitelist issues

Running the connector on Ubuntu 16.04 server
Generated json config file with the utility
Only configuring for local printing, no cloud
1 shared printer configured, 2 not shared printers configured in CUPS
Add shared printer to whitelist presumably to prevent discovery of the other 2
All 3 printers are discovered by chromebooks, android phones, etc. on the subnet
Any changes to the whitelist or blacklist don't seem to have any effect

My goal is to have just the shared printer to be discoverable on the subnet.  What approach gets me there?  I'm attaching some of my configuration files.  Is this the right approach?
issue.zip

My apologies.  Ubuntu 16.04 installs an older version of the connector using apt-install.  Updated to the latest version and whitelist functions as expected.


Dependence on predictable environment variable

Description
I wanted to understand why Mythril flags the following codes with a Dependence on predictable environment variable. I couldn't really spot what the dependency was. Can you please help.
Source codes -
[1]
Code: https://etherscan.io/address/0x1DABd43E0F8a684a02712bcD767056E25026061c#code
Contract name|Function name detected by Myth: GIFT_1_ETH | PassHasBeenSet
[2]
Code: https://etherscan.io/address/0x7f37472ee88062acc82f14ccfe6e7bf5f469dd05#code
Contract name|Function name detected by Myth: E4Token | setOpGas
Trying to pin down false-positives which Mythril flags.
How to Reproduce
myth -xo json filename

Dependence on predictable environment variable means dependence on timestamp, blockhash etc for sending ether>0.
in this case the modifier uses now right? that's what gives out the timestamp of block.
timestamp can be manipulated by miner to some extent by a few seconds,


Pretty print types improvements

Addition for PR Pretty print types in Default theme
I found that in some cases (for example, in rendering union of types) depth counter used to work incorrect.
This PR closes this issue.

The depth counter worked incorrectly because it wasn't always incremented and decremented in pairs - I found and fixed this before releasing TypeDoc with your original PR. The Math.max method hides the issue rather than fully fixing it, you shouldn't see this problem if you update your TypeDoc (fork?)


Université Polytechnique des Hauts de France

Université Polytechnique des Hauts de France (uphf) is already registered but with etu.uphf.fr subdomain only (used for studiants). uphf.fr is for teachers.

@gdrouet Pull request merged. Thank you!


Is there a way to return monthname when you use group_by_month?

I am using:
PurchaseHistory.group_by_month(:purchase_date,"sum","quantity*price")
It returns the following output:
"2015-08-01 00:00:00 UTC"=>40.0
Is there a way to get monthname instead of the whole timestamp?

Haven't tried dateslices yet, but in Groupdate it could be done with 'format' like that:
.group_by_month(:purchase_date,"sum","quantity*price", format: '%b')


onboarding first name

the first letter of the  first name is automatically capitalized

is this something we don't want? I don't think so


The doc build fails

Hi, I was really excited about this clean wrapping of PokeAPI. Sadly your docs don't build.
Running cargo doc on my machine yielded a recursion overflow in the type checker.
Increasing the recursion limit fixed the problem for me.
Do you mind adding #![recursion_limit = "256"] to the crate?

Hi! Thanks for reaching out!
Indeed the docs don't seem to build. I missed it, nice catch !
Do you want to fix it and submit a PR or you prefer me to do it?
Feel free to contribute if you like.
Please let me know so I can do the fix if needed.
Have a good day!

Thanks for the quick response.
I'd prefer you to do it.
I don't think a PR is required for single line.

Well, there is no PR that is required for any project. It's just an opportunity to contribute.
But I understand, I'll fix it today and release a new version asap


@swc/core installing two distributions

Describe the bug
When installing @swc/core it seems to install two distributions: @swc/core-linux-x64-musl and @swc/core-linux-x64-gnu, inflating the install size to 100MB+:
https://pkg-size.dev/@swc%2Fcore
I'm wondering if this is a limitation in the environment WebContainers mock, or in swc's postinstall script.
Link to the blitz that caused the error
https://pkg-size.dev/@swc%2Fcore
Sorry, I don't have a Stackblitz reproduction since I wasn't sure how to quickly measure the node_modules size but pkg-size.dev does a plain and simple npm install on WebContainers.
Steps to reproduce
See link
Expected behavior
Locally, when I install @swc/core, it's about 35MB.
Ideally it just installs one distribution.
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
No response
Additional context
https://github.com/privatenumber/pkg-size.dev/issues/21
~As a side, wondering how esbuild's postinstall is executed in WebContainers. It felt like there was some custom logic overwriting it to force install the WASM distribution but I wasn't sure.~ Seems two distributions are installed too: wasm & linux-x64
Is there something swc could do in their postinstall script to play nicely with WebContainers?

Did some research. There's actually no bug here.
npm installs optionalDependencies based on this criteria. However, npm v9.4.2 (used by WebContainers) doesn't support looking at the libc property. Which led to installing distributions that match up until the libc property:

<EMAIL_ADDRESS>https://unpkg.com/<EMAIL_ADDRESS>
Currently, all package managers support libc:

yarn added support in 2022 Jan: https://github.com/yarnpkg/berry/pull/3981
pnpm added support in 2022 Mar: https://github.com/pnpm/pnpm/issues/4454
npm added support 2023 July: https://github.com/npm/rfcs/issues/438

However, WebContainers does not have npm v.9.6.5 yet. Is there a ballpark timeline for when I can expect npm to be upgraded?
As a potential solution on my end, I could either swap npm to use pnpm/yarn. Or perform a post-installation step to remove any packages with libc !== 'gnu'.

Hey @privatenumber! Thanks a lot for investigating this. 😃 (Love the links in particular, super useful 🙏)
I can't give you a precise timeline yet but we will definitely upgrade npm to the latest version in the next couple of months or so. It might be coming sooner but we're focusing first on other things such as upgrading to node 18.

Good to know! I'll implement something on my end then. Thanks!


Auto seeding video duration to database without manual intervention

PR Fixes:

1 If video duration is empty, and anyone clicks on that video, It adds video duration to the database
2 Video thumbnail will have proper duration

Resolves #485
Old PR #486 #558 : Closed because of many merge conflict other problems
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

1> Need to seed every-time when uploading a video
2> Week-9 is seeded but Week-10 is not seeded

Approach
Screencast.webm

@mvp5464 , the video duration should be added actually from the backend while posting the video... this seems little forced idk how to explain it

@mvp5464 , the video duration should be added actually from the backend while posting the video... this seems little forced idk how to explain it

Yes @siinghd sir, so should I create pr to add the duration when the video is uploaded (as suggested in comment in this #558  pr)


skywalking: skip gRPC cluster validation by default

Signed-off-by: Rei Shimizu<EMAIL_ADDRESS>
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message: Skip gRPC cluster validation by default on SkyWalking tracer. This validation feature will block istio/pilot to configure gRPC reporter client because SkyWalking cluster info should be delivered via CDS.
Additional Description:
Risk Level: Low
Testing: N/A
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@lizan PTAL


Dataset is corrupted

The merged_enterprise_attck_v1.json file is invalid json because of some NaN values in one object. This causes automated tests to fail.

See also https://github.com/swimlane/pyattck/issues/151
This is still broken after 6 months. Is Swimlane planning to fix this?


Docs | Feedback changes

:tada: This PR is included in version 1.0.0-v1-release.15 :tada:
The release is available on:

npm package (@v1-release dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


VS Code not finding function definition the first time but it finds the definition after (py)

VS Code Version: 1.54
OS Version: 10.0.19042.0

Steps to Reproduce:

Open any python file with function defined inside it
Launch/reference at least two times this function in your code
Right click on the reference, and open definition
A "pop-up" will say there are no definitions for "XXXXXX"
Try another time and now it should work

I don't know if this comes from an extension since open definition is only available when some extensions are enabled
Note : same issue for "Show References"

/extPython


"Disable 3D" description change

Maybe it would be nice to get a hint that you still need the 3D component for some 2D games.
Or list all nodes that rely on the 3D component? Like the Enviroment Node for example or the MeshInstance2D Node.

Feel free to open a pull request for this :slightly_smiling_face:

Sorry, where do you find those? I'm making a tool to automatize the process but if some 2D needs 3D then I guess I'll have to tweak some things.


complex object types which are both output and input

currently I have this in my app:
@ObjectType()
export class OrganisationFeatures extends ConstructorAssigner {
  @Field() campaigns: boolean
  @Field() custom_email_sender_address: boolean
  @Field() OKTA_SAML: boolean
  @Field() search_analytics: boolean
  @Field() SCORM: boolean
  @Field() custom_font: boolean
}

@InputObjectType()
export class OrganisationFeaturesInput extends ConstructorAssigner {
  @InputField() campaigns: boolean
  @InputField() custom_email_sender_address: boolean
  @InputField() OKTA_SAML: boolean
  @InputField() search_analytics: boolean
  @InputField() SCORM: boolean
  @InputField() custom_font: boolean
}

I'd love to be able to define both at once doing:
@DuplexObjectType()  // using a special type I can register both at once
export class OrganisationFeatures extends ConstructorAssigner {
  @Field() campaigns: boolean
  @Field() custom_email_sender_address: boolean
  @Field() OKTA_SAML: boolean
  @Field() search_analytics: boolean
  @Field() SCORM: boolean
  @Field() custom_font: boolean
}

I was really willing to implement it from start of this project, but spec of graphql says:
http://facebook.github.io/graphql/October2016/#sec-Input-Objects
The Object type defined above is inappropriate for re‐use here, because Objects can contain fields that express circular references or references to interfaces and unions, neither of which is appropriate for use as an input argument. For this reason, input objects have a separate type in the system.
That was ther reason they're separated.
You can try tools like graphql-compose eg:
import { TypeComposer } from 'graphql-compose';

const yourConvertedInputType = TypeComposer.create(YourOutputType).getInputType();

@pie6k that's doable, but I'd have to compile my class into a GQL schema. Which is another extra line :confused:

Thanks for your PR.
I think that maybe another type may not be even needed. What about auto-converting it when @ObjectType is used as input type on the fly?
So we could do
@ObjectType()
export class FooType {
  @Field() bar: string;
}

and ten simply use it as argument type
@SchemaRoot()
export class FooType {
  @Mutation foo(input: FooType) bar: string;
}

That would feel more intuitive than having another type.
It would be good to check if given ObjectType is inputable eg. it does not have any recurrsive fields etc.
I'll think about it as I don't want to make typegql 'frameworkish`.

@pie6k thanks! Your solution sounds much better than having an extra type.
By recursive fields you mean what exactly? Even if Footype has a complex type in a field, it all works fine as far as I've tried it.

Recursive field = User has Dog > Dog has owner User > owner User has Dog > Dog has owner user etc... Recursive = Circular and it's not possible to reflect it in input field.


Add test to for memcached instance

This change adds a simple test to ensure a memcached instance is created and has the correct labels.

/lgtm nice work !


Support simple exponential fog

This is what the Shader Generator does for exponential fog:
result.rgb = lerp(attr_fogcolor.rgb, result.rgb, saturate(exp2(attr_fog.x * l_hpos.z * -1.442695f)))

I think this would be a useful addition, since fog is quite commonly used to hide draw distances.
In Panda3D, these attributes are provided through the p3d_Fog structure.

I chose to use the exponential fog equation outlined in the OpenGL spec for glFog, which has some differences to the Shader Generator code:

It uses a natural exponent instead of a base-2 exponent
It does not use this -1.442695 value, I am not sure what that is for
I chose (what I think is) the fog coordinate over using the fragment depth

Also, it appears that p3d_Fog.density does not default to 0, so by default there is a heavy fog unless the user sets up fog. For this reason, I have put the fog behind an explicit enable.

I think Cg had no natural exponent, and therefore needed the extra constant multiplication, but I could be wrong.
Come to think of it, given that this is PBR, we should probably investigate which fog method is the most physically accurate, and implement that here (and in Panda, if it isn't already).
p3d_Fog.density not defaulting to 0 is going on my post-PyWeek bug list, thanks for pointing that out.


Can't post stories (since you can't rotate screen)

Title is self-explanatory - clicking on the New Story icon tells you to rotate your screen, but there's no way of doing this yet in Ramme.

I am having this issue too. I'm not seeing much activity in this project, so don't get your hopes up for a fix anytime soon :-/

Same here

so there is nobody to fix this?
im still learning javascript can't do it myself yet
is actually usefull to manage my clients ig

SDFSDF i think i found a hotfix to this issue!
since the program uses chromium to work if you just press ALT you can switch to dev mode then you can click on the device button.
this should work
love


Exceptions in adding async tasks inside async def main

Investigative information
I need to add async task inside the function code. I need to add a new event loop or add my tasks to current event loop. However, I got exception while adding new async tasks. The error msg I got is
This event loop is already running or  Cannot run the event loop while another loop is running
Repro steps
async def main(req:func.EventHubEvent):
        args=[1,2,3,4,5,6]
        try:
            logging.info("---Add async tasks---")
            loop = asyncio.new_event_loop()
            asyncio.set_event_loop(loop)
            loop.run_until_complete(
                a_sync_function(args))
            loop.close()
       except Exception as e:
         print("Exceptions in async tasks: {}".format(str(e)))

I tried asyncio.new_event_loop() and asyncio.get_event_loop(). Both of them threw exceptions.
It works if I use def main() instead of async def main()
Anyone has idea for how to get the exception passed?
Cloud anyone give example of how to add async tasks under async def main()?

In async mode you already have an event loop running, asyncio.get_event_loop().create_task(coro) should work.

Thanks @elprans It works with using create_task().
async def main(req:func.EventHubEvent):
        args=[1,2,3,4,5,6]
        try:
            logging.info("---Add async tasks---")
            loop = asyncio.get_event_loop()
            task = loop.creat_task(coro)
            await task
       except Exception as e:
         print("Exceptions in async tasks: {}".format(str(e)))


unknown error: DevToolsActivePort file doesn't exist

With .env:
URL=https://login.live.com/login.srf?{QUERY}
HEADLESS=True
MULTITHREADING=True
AUTO_REDEEM=False
TZ=America/Los_Angeles
TIMER=False
BROWSER=chrome

Running the Docker image nelsondane/bing-rewards (Digest: ec38f40ef64d661bfc5d85cc88799928404acc94821512c4e22ebe07a0931ecb) with:
docker run -it --rm --env-file ./.env --name bing-rewards nelsondane/bing-rewards

Outputs:
rm: cannot remove '/tmp/.X99-lock': No such file or directory
Starting X virtual framebuffer (Xvfb) in background...
BROWSER: chrome
HANDLE_DRIVER: False
Starting Bing Rewards Bot...
Multithreading is enabled in .env.
This will allow you to run multiple accounts at once, but it may also increase the chance of being banned and leads to more CPU usage.
Use at your own risk.
Current IPv4 Address: X.X.X.X
Unable to get IPv6 address

Starting Bing Rewards Automation:	2022-12-20 22:35:09.563978-08:00

Exception in thread Thread-1 (run_rewards):
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/app/main.py", line 1182, in run_rewards
    driver = get_driver()
  File "/app/main.py", line 260, in get_driver
    driver = webdriver.Chrome(options=options)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__
    super().__init__(
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chromium/webdriver.py", line 106, in __init__
    super().__init__(
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 288, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 381, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 444, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 249, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x00400066a2a3 <unknown>
#1 0x004000428f77 <unknown>
#2 0x0040004515f7 <unknown>
#3 0x00400044d7d0 <unknown>
#4 0x00400048e0b7 <unknown>
#5 0x00400048da5f <unknown>
#6 0x004000485903 <unknown>
#7 0x004000458ece <unknown>
#8 0x004000459fde <unknown>
#9 0x0040006ba63e <unknown>
#10 0x0040006bdb79 <unknown>
#11 0x0040006a089e <unknown>
#12 0x0040006bea83 <unknown>
#13 0x004000693505 <unknown>
#14 0x0040006dfca8 <unknown>
#15 0x0040006dfe36 <unknown>
#16 0x0040006fb333 <unknown>
#17 0x004002ad6b43 <unknown>

Bing Rewards Automation Complete!
2022-12-20 22:35:15.401242-08:00
Sleeping for 5 hours before rechecking...

Found this SO issue, but I see that the arg is used, so I'm unsure how to fix.

Some things to try:

Set the HANDLE_DRIVER variable to True
Remove or set the 'HEADLESS' variable to False.

For some reason HANDLE_DRIVER isn't being set to True by default, it is running a method reliant on a driver being present in the directory.

Unfortunately it has the same error with both changes.

Looks like it may be due to the machine architecture. On an AMD64 machine it is working, but on ARM64 it hits the above error.
Could the publisher for the docker image be updated to use buildx and create ARM64 images?

Hello @Juice805 , thanks for your interest in the bot! We've done some testing with buildx and the bot on ARM64 but haven't been able to get anything to work. Furthermore, neither @Prem-ium or I have a ARM64 device to test the bot with, and so at this time ARM64 isn't supported. Unfortunately just adding the ARM64 tag with buildx didn't solve any problems.

This isn't fixed, but looks like it may be a bug in ChromeDriver:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=2473


Plugin clears config.env.name

Here is example: https://github.com/StefanTegeltija/cypress-split-env-config-issue

Ok, I got this.
When you use cypress-io/github-action (or my reusable workflows) it forms the npx cypress run ... command itself, passing all arguments (in reality it calls require('cypress').run({ ... }). Thus it has no idea that you want to call your custom npm script. If you want to call run:dev, then do
- name: Run split Cypress tests 🧪
  # https://github.com/cypress-io/github-action
  uses: cypress-io/github-action@v5
  with:
     command: npm run run:dev
  env:
    SPLIT: ${{ strategy.job-total }}
    SPLIT_INDEX: ${{ strategy.job-index }}

See https://github.com/cypress-io/github-action#custom-test-command

Tip: you can also pass Cypres env values using its github action, see https://github.com/cypress-io/github-action#env


Broken vagrantfile

Looks like the last few commits and push broke the vagrant file.
tyler$ vagrant up
/Users/tyler/vagrant/ceph2/Vagrantfile:255:in block in <top (required)>': undefined method -' for nil:NilClass (NoMethodError)
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/config/v2/loader.rb:37:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/config/v2/loader.rb:37:in load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/config/loader.rb:113:in block (2 levels) in load' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/config/loader.rb:107:in each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/config/loader.rb:107:in block in load' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/config/loader.rb:104:in each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/config/loader.rb:104:in load' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/vagrantfile.rb:28:in initialize'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/environment.rb:740:in new' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/environment.rb:740:in vagrantfile'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/environment.rb:486:in host' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/environment.rb:208:in block in action_runner'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:33:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:33:in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/environment.rb:473:in hook' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/environment.rb:722:in unload'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/bin/vagrant:177:in ensure in <main>' 	from /opt/vagrant/embedded/gems/gems/vagrant-1.8.5/bin/vagrant:177:in '

Did you catch up with the recent changes in vagrant_variables.yml.sample?
Everything works fine for me on: Vagrant 1.8.1

Yeah i tried the latest sample with the openstack provider.
The openstack provider needs to support specifying the network in the variable config.  If you have more than 1 network it must be specified.

I don't use the openstack provider, can you point me to the root cause of the error?

Closing this, feel free to re-open if the issue is not solved.

bash init.sh


tmux yank not working on WSL2

I followed this guide to setup tmux-yank on my WSL2. I also added necessary
export DISPLAY="$(/sbin/ip route | awk '/default/ { print $3 }'):0"
in my .bashrc file but yanking from within tmux panes still does not work.
Yanking from within my nvim setup works fine.

Can you use xclip/xsel to copy?

Can you use xclip/xsel to copy?

@anakimluke Yes I can


It seems file name must valid?

Hi, I use your browser_image_compression to compress Uint8List, but failed. Before image compression, I need to crop the image, therefore I have no file name for BrowserImageCompression.compressImage(), I just write 'a.jpg' as file name while the Uint8List is correct Uint8List. And the result is failed with errors:
TypeError: dart.global.imageCompression is not a function
packages/browser_image_compression/browser_image_compression.dart 121:35  compressImage
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54        runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5        _async
packages/browser_image_compression/browser_image_compression.dart 110:41  compressImage
So, the file name must valid? How can I compress a Uint8List after crop, without file name?

I think the way you did should work as well, the error seems that you're missing to add the javascript library in the header of the index.html (see readme.md) or for some other reason js.dart is not being able to bridge the gap between dart and JS. Were you able to compress an image without cropping?

hi, @rsegecin, surely I had the code in index.html (). And I tried to compress an image without cropping as you said, the result is the same. Here is my code:
image_crop_compress_upload.dart:
`class ImageCropCompressUpload extends StatefulWidget {
final String title;
final List pickedFiles;
const ImageCropCompressUpload({
Key? key,
required this.title,
required this.pickedFiles,
}) : super(key: key);
Future _cropImage() async {
String msg = '';
try {
int fileLength = await widget.pickedFiles[0].length();
debugPrint('select image file: ${widget.pickedFiles[0].name}, length: $fileLength');
fileData = await widget.pickedFiles[0].readAsBytes();
if (context.mounted) {
await AppUtil.compressJpgWeb(context, widget.pickedFiles[0].name,
fileData!, _mimeType, 3.0, _finalWidth, _finalHeight)
.then((value) { // <- image_crop_compress_upload.dart 262
if (value != null) {
_uploadImage(value);
}
});
}
} catch (e, stack) {
msg = 'failed: $e\n $stack';
debugPrint(msg);
setState(() {
_cropping = false;
});
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
backgroundColor: Colors.redAccent,
content: Text('error. $msg'),
),
);
}
debugPrint(msg);
}
And, my app_util.dart:class AppUtil {
import 'package:image/image.dart' as img;
import 'package:browser_image_compression/browser_image_compression.dart';
static Future<Uint8List?> compressJpgWeb( // <- app_util.dart 1133
BuildContext context, String fileName, Uint8List list, String mimeType, double maxSizeMB, double maxWidth, double maxHeight,
{bool keepRatio = false}) async {
final _imageNotifier = ValueNotifier<Uint8List?>(null);
final _progressIndicatorNotifier = ValueNotifier<double?>(null);
Uint8List? afterCompress;

img.Image imageAfterCrop = img.decodeImage(list)!;
debugPrint(
    'current width: ${imageAfterCrop.width}, height: ${imageAfterCrop.height}');

Size targetSize = AppUtil.getCompressionSize(
    imageAfterCrop.width.toDouble(),
    imageAfterCrop.height.toDouble(),
    maxWidth,
    maxHeight,
    keepRatio: keepRatio);
int minWidth = targetSize.width.floor();
int minHeight = targetSize.height.floor();
debugPrint('target width: $minWidth, height: $minHeight');
double maxWidthOrHeight = math.min(minWidth, minHeight).toDouble();
  debugPrint('is list null? ${list == null}');
  _imageNotifier.value = await BrowserImageCompression.compressImage(
    fileName,
    list,
    mimeType,
    Options(
      maxSizeMB: maxSizeMB,
      maxWidthOrHeight: maxWidthOrHeight,
      useWebWorker: true,
      onProgress: (progress) {
        _progressIndicatorNotifier.value = progress;  // <- app_util.dart 1171
        debugPrint("progress: $progress");
      },
    ),
  );

  _progressIndicatorNotifier.value = null;

  if (_imageNotifier.value != null) {
    final finalSize = (_imageNotifier.value!).length;
    afterCompress = _imageNotifier.value;
  }
return afterCompress;

}
}`
And the output messages:
select image file: 02-singapore.jpg, length: 474253
current width: 1200, height: 1197
target width: 200, height: 200
is list null? false
failed: NoSuchMethodError: tried to call a non-function, such as null: 'dart.global.imageCompression'
packages/browser_image_compression/browser_image_compression.dart 121:35          compressImage
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5                _async
packages/browser_image_compression/browser_image_compression.dart 110:41          compressImage
packages/admin/utils/app_util.dart 1171:56                                        compressJpgWeb
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5                _async
packages/admin/utils/app_util.dart 1133:43                                        compressJpgWeb
packages/admin/views/image_crop_compress_upload.dart 262:35                       _cropImage
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50
dart-sdk/lib/async/zone.dart 1661:54                                              runUnary
dart-sdk/lib/async/future_impl.dart 147:18                                        handleValue
dart-sdk/lib/async/future_impl.dart 784:44                                        handleValueCallback
dart-sdk/lib/async/future_impl.dart 813:13                                        _propagateToListeners
dart-sdk/lib/async/future_impl.dart 575:7                                         [_complete]
dart-sdk/lib/async/stream_pipe.dart 61:11                                         _cancelAndValue
dart-sdk/lib/async/stream.dart 1581:7
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 367:37  _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 372:39  dcall
dart-sdk/lib/html/dart2js/html_dart2js.dart 37263:58

does the example from this lib works in your machine? what does console output from your browser prints out?

does the example from this lib works in your machine? what does console output from your browser prints out? have you added the browser image compressor javascript CDN before or after <script src="flutter.js" defer></script>? try adding it before if not.

Yes, finally I success by edit the index.html. I copy all codes including  from the example to my index.html, then tried times (It seems Hot Reload is not works, maybe need Hot Restart or Rebuild), the compression is working in my project now, either without crop or after crop (I provide a fake fileName as '1.jpg' while Uint8List and mimeType is real and correct).
Thank you, @rsegecin , you noticed me that index.html have other codes need to add, which ReadMe.md hasn't mention. Maybe newbies like me don't know. I closed this issue and wish other newbies who meet alike problem will notice how to solve it by follow rsgecin said above.

<script src="flutter.js" defer></script> supposedly should already be there, take a look here to learn about flutter's index.html.
As this problem is not correlated with the package it self I'm closing this issue.