AzureStack: images aliases is not applicable for azurestack

Description
CLI has a set of aliases for the images referred from the following location
https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json
These aliases makes the assumption that these images are available in all the clouds and matches the
definition like below
"UbuntuLTS":{
"publisher":"Canonical",
"offer":"UbuntuServer",
"sku":"16.04-LTS",
"version":"latest"
}
In azure stack , the alias does not make much sense as the admin may not have uploaded the same image
in azure stack the Ubuntu server sku could be 14.04.3 instead of 16.04-LTS
luckily , the image parameter can be specified with the whole urn like below and this is what being used in azurestack
Canonical:UbuntuServer:14.04.3-LTS:1.0.0
All the public documentation is referring to the use of aliases and the aliases most likely wont work against azurestack unless the admin chooses to upload image matching the azure definitions

@yugangw-msft and@derekbekoe to discuss for upcoming sprint.

@derekbekoe @tjprescott
I suggest detect we are under stack, and update 2 trivial code lines

In the help for vm/vmss create, remove the alias
skip the alias check in the command validator

I am inclined to take the following approach for the use of image alias.

Keep the alias and the –image parameter as such for all the profiles
When the image parameter is specified for the vm create, Check explicitly with an api call whether the image exists in the current cloud
If the image does not exist, provide a proper message encouraging the use of image urn
like ‘The image urn Canonical:UbuntuServer:16.04-LTS:1.0.0 does not exist in the current cloud, please use the urn for the image parameter by executing  az vm image list and pick from the available images’
Right now we don’t check for the availability of the image beforehand and fire up the template deployment immediately and it takes minutes to return an error. I am ok to display the error message rather than complicating the solution and we can wait for customer feedback .


Post description -Text is less then 120 signs -> no View More link

The Picture Below displays a Post description text = 118, but view less,view more link

hello @sheeba1  the limit is set to 120 characters, not letters. The example you posted has 214 characters.

@sheeba1  is this still an issue in mobile? Can you show me an example if so. Thanks!

@BMariscal ,Sent in flowdock screen shots of Post behaviour(View more) on Desktop version . would like to get your feed back .Thanks!

@BMariscal Thank you for all clarifications regarding the requirements.
@BMariscal @doheekim93 Tested on desktop and mobile. 'View more' starts after 123 characters. Let me know if any change is needed.

@sheeba1 Hey Sheeba, could you remind me -- is this still an issue or can we close it? Thanks!

@doheekim93  , you may close this one. thx!

@sheeba1 Thanks Sheeba!


Convert Dib to Ipynb

Description
Dib isn’t as common of a notebook file type as ipynb. Converting to ipynb allows these notebooks to work with VS, VS Code, and everywhere else ipynb is supported.

The goal of this PR is to make all the Notebooks compatible with the VS Notebook Editor and the VS Code experience.
VS Notebook Editor: https://marketplace.visualstudio.com/items?itemName=MLNET.notebook
The DIB format isn't as commonly used as IPYNB - for example github has a feature for display ipynb files
https://github.com/zewditu/csharp-notebooks/blob/u/zewd/DipToIpynb/csharp-101/01-Hello World.ipynb
but doesn't have a feature for displaying dib
https://github.com/dotnet/csharp-notebooks/blob/main/csharp-101/01-Hello World.dib


Harsh shadows

I know this is an old post, but I experimented with making a custom home environment a year ago. I basically gave up as I had no real reason to do it other than for fun and I didn't see a way control the lighting or change the sky box.
You can see a video of the environment here. https://youtu.be/hixELELIOtk
Is it possible to disable the light or at least shadows? Does the geometry have to be watertight? You can see I find a gap in polygons and can clip through the walls. Still, it'd be cool if I could at least see the other half of the set. :)

Hi @dwburman
Can you provide the article/articles that you referenced for this?
Cheers,

@hferrone
It's been a long time since I first attempted this. I believe the starting point was here:
https://docs.microsoft.com/en-us/windows/mixed-reality/add-custom-home-environments?fbclid=IwAR1nh7WpImr1t3DwcX10dLY82sXWIzRS21DHxJjP6Ek0GLVZKQfog6DebfI
That article references this: https://www.khronos.org/blog/art-pipeline-for-gltf
Which I may have used to go through blender. I know I downloaded a trial of Substance Painter as well. I can't recall if I had success with that or not.
I used MS Paint 3D at some point in the process.
Sorry I don't have more details on the process. I am actually using this as the WMR home now. It's just annoying because when it is loading in, it looks good for a second or two and then the shadows kick in.


Fixed the s3api create-bucket command

aws s3api create-bucket --bucket $CODEPIPELINEBUCKET --create-bucket-configuration LocationConstraint=$AWS_DEFAULT_REGION
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for your contribution @kmhabib 👏👏👏


Determine to upgrade or use which analytics service

Since Vercel Analytics for https://pycon.id has reached its free limit due to a large number of visitors.
Next up, either we have to upgrade it. Or it can be replaced with either an analytics service like Google Analytics or Microsoft Clarity https://clarity.microsoft.com. However, there is a tradeoff between privacy and the simplicity of the data.
Alternatively, we can consider self-hosting an open-source solution like Plausible https://github.com/plausible/analytics or Umami https://github.com/umami-software/umami so it can be run forever.

Umami has Umami Cloud which doesn't require us to self-host the Umami Instance, and its pricing its pretty more advantageous for us compared to Vercel Analytics
Umami Cloud Free Tier has 10k monthly events
Vercel Analytics Free Tier has 2.5k monthly events
We could try analytics service that doesn't require us to host by ourself since both FE and BE team are pretty busy around this time.
Fanthom is pretty popular, but it has no free tier.
Plenty alternatives doesn't have any free tier too.

Umami Cloud looks nice then. Let's use it. But still keep both to see which one is the best.
cc @bandungpy/frontend


Refactor: cleanup_org_cache_dirs() to EncryptedFileProjectKeychain

Implementation Notes

The cleanup_org_cache_dirs() utility method has been refactored to be a part of the keychain classes. Looking at the original arguments it took, this made sense as it needed a keychain and project_config to execute (both of which the keychain is/has). It also makes sense to keep a cleanup method related to orgs with the other org related methods in the keychain.
I ported over the existing tests (with some tweaks) and kept them as their own class inside encrypted_file_project_keychain.py.
I did not add any additional tests, as the problem this fixes (this method being invoked when an EnvironmentProjectKeychain is utilized is no longer a possibility.

I don't see any problems but this is a complex hierarchy which is hard to keep in my head (especially when considering Tubular, MetaDeploy and MetaCI), so I'm mostly relying on unit tests more than confidence that everything is correct in my head.


add solution for these problems in C++

Add solution for these problems and add their solution links under solution section in readme file
51 | Convert To Decimal 2
52 | Easy Fibonacci
53 | Three Numbers
56 | Replacement

i will solve this issue please assign me @Shubhamlmp

I have previously worked on this may you assign this task to me?

I have previously worked on this may you assign this task to me?

i will solve this issue please assign me @Shubhamlmp

Okay take fork of the repository and start working on this

i have completed the task

I have added and PR done @Shubhamlmp  please MR it

hey assign me this

I have added and PR done @Shubhamlmp please MR it

@Samarthasbhat add solution links in readme file and create a MR

Please assign it to me

Please assign it to me

@1Alisha this task is completed please look at anothes issues


Map click event

Hi there,
Is there away to listen to map click event (click anywhere on the map)?
When I click on a marker it opens the popup and I'm wondering if there's a way to click anywhere on the map to close such popup or do something else?
Thanks

each popup should have a x close button top right you can use to close the popup.

Yes the problem is when you click on many markers and the popups don't disappear automatically. I'm not sure if there's any option that I missed to dismiss these popups automatically.
If you can click on the map to close all of the popups that'd be great.

set Esc key to close all open popups in v2.5.2


SAM build doubles the size of package when having more than 1 function per directory/project for node.js builds

Issue description:
Given that:

template.yaml and package.json at the root directory of the node aplicaiton.
More than 1 lambda function declared at template.yaml.

Issue:
Altough sam build completes sucessfully, the second function has double the size of the first one.
This behaviors grows exponentially (third function will double the second and so on).
The problem here is that the folder of the second function contains .aws-sam of the first one
.aws-sam/build/FunctionOne
.aws-sam/build/FunctionTwo/
.aws-sam/build/FunctionTwo/.aws-sam/build/FunctionOne

Sample code can be found here https://github.com/lucasam/sambuildissue1
Reproducing the issue
git clone https://github.com/lucasam/sambuildissue1
cd sambuildissue1

Then build
lucasam$ sam build --debug
Using SAM Template at /Users/lucasam/Documents/src/sambuildissue1/.aws-sam/build/FunctionTwo/template.yaml
Telemetry endpoint configured to be https://aws-serverless-tools-telemetry.us-west-2.amazonaws.com/metrics
'build' command is called
No Parameters detected in the template
2 resources found in the template
Found Serverless function with name='FunctionOne' and CodeUri='.'
Found Serverless function with name='FunctionTwo' and CodeUri='.'
Building resource 'FunctionOne'
Loading workflow module 'aws_lambda_builders.workflows'
Registering workflow 'PythonPipBuilder' with capability 'Capability(language='python', dependency_manager='pip', application_framework=None)'
Registering workflow 'NodejsNpmBuilder' with capability 'Capability(language='nodejs', dependency_manager='npm', application_framework=None)'
Registering workflow 'RubyBundlerBuilder' with capability 'Capability(language='ruby', dependency_manager='bundler', application_framework=None)'
Registering workflow 'GoDepBuilder' with capability 'Capability(language='go', dependency_manager='dep', application_framework=None)'
Registering workflow 'GoModulesBuilder' with capability 'Capability(language='go', dependency_manager='modules', application_framework=None)'
Registering workflow 'JavaGradleWorkflow' with capability 'Capability(language='java', dependency_manager='gradle', application_framework=None)'
Registering workflow 'JavaMavenWorkflow' with capability 'Capability(language='java', dependency_manager='maven', application_framework=None)'
Registering workflow 'DotnetCliPackageBuilder' with capability 'Capability(language='dotnet', dependency_manager='cli-package', application_framework=None)'
Found workflow 'NodejsNpmBuilder' to support capabilities 'Capability(language='nodejs', dependency_manager='npm', application_framework=None)'
Running workflow 'NodejsNpmBuilder'
Running NodejsNpmBuilder:NpmPack
NODEJS packaging file:/Users/lucasam/Documents/src/sambuildissue1/.aws-sam/build/FunctionTwo to /var/folders/sj/60s2bzdn7c52vwbq64d8tr9d64r349/T/tmph7xegid2
executing NPM: ['npm', 'pack', '-q', 'file:/Users/lucasam/Documents/src/sambuildissue1/.aws-sam/build/FunctionTwo']
NODEJS packed to build-issue-0.0.1.tgz
NODEJS extracting to /var/folders/sj/60s2bzdn7c52vwbq64d8tr9d64r349/T/tmph7xegid2/unpacked
NodejsNpmBuilder:NpmPack succeeded
Running NodejsNpmBuilder:CopyNpmrc
NodejsNpmBuilder:CopyNpmrc succeeded
Running NodejsNpmBuilder:CopySource
NodejsNpmBuilder:CopySource succeeded
Running NodejsNpmBuilder:NpmInstall
NODEJS installing in: /Users/lucasam/Documents/src/sambuildissue1/.aws-sam/build/FunctionTwo/.aws-sam/build/FunctionOne
executing NPM: ['npm', 'install', '-q', '--no-audit', '--no-save', '--production']
NodejsNpmBuilder:NpmInstall succeeded
Running NodejsNpmBuilder:CleanUpNpmrc
NodejsNpmBuilder:CleanUpNpmrc succeeded
Building resource 'FunctionTwo'
Loading workflow module 'aws_lambda_builders.workflows'
Found workflow 'NodejsNpmBuilder' to support capabilities 'Capability(language='nodejs', dependency_manager='npm', application_framework=None)'
Running workflow 'NodejsNpmBuilder'
Running NodejsNpmBuilder:NpmPack
NODEJS packaging file:/Users/lucasam/Documents/src/sambuildissue1/.aws-sam/build/FunctionTwo to /var/folders/sj/60s2bzdn7c52vwbq64d8tr9d64r349/T/tmpzvnf85j5
executing NPM: ['npm', 'pack', '-q', 'file:/Users/lucasam/Documents/src/sambuildissue1/.aws-sam/build/FunctionTwo']
NODEJS packed to build-issue-0.0.1.tgz
NODEJS extracting to /var/folders/sj/60s2bzdn7c52vwbq64d8tr9d64r349/T/tmpzvnf85j5/unpacked
NodejsNpmBuilder:NpmPack succeeded
Running NodejsNpmBuilder:CopyNpmrc
NodejsNpmBuilder:CopyNpmrc succeeded
Running NodejsNpmBuilder:CopySource
NodejsNpmBuilder:CopySource succeeded
Running NodejsNpmBuilder:NpmInstall
NODEJS installing in: /Users/lucasam/Documents/src/sambuildissue1/.aws-sam/build/FunctionTwo/.aws-sam/build/FunctionTwo
executing NPM: ['npm', 'install', '-q', '--no-audit', '--no-save', '--production']
NodejsNpmBuilder:NpmInstall succeeded
Running NodejsNpmBuilder:CleanUpNpmrc
NodejsNpmBuilder:CleanUpNpmrc succeeded

Build Succeeded

Built Artifacts  : .aws-sam/build
Built Template   : .aws-sam/build/template.yaml

Commands you can use next
=========================
[*] Invoke Function: sam local invoke
[*] Package: sam package --s3-bucket <yourbucket>

Sending Telemetry: {'metrics': [{'commandRun': {'awsProfileProvided': False, 'debugFlagProvided': True, 'region': '', 'commandName': 'sam build', 'duration': 10815, 'exitReason': 'success', 'exitCode': 0, 'requestId': '794b5afe-5db2-4c2e-94f1-46c908e8a0ad', 'installationId': '893c5aa8-d107-4b3b-8f82-e7cb5c9ce2fe', 'sessionId': 'bb97b105-48f6-4dde-92ac-4b421ec6aca1', 'executionEnvironment': 'CLI', 'pyversion': '3.7.4', 'samcliVersion': '0.22.0'}}]}
HTTPSConnectionPool(host='aws-serverless-tools-telemetry.us-west-2.amazonaws.com', port=443): Read timed out. (read timeout=0.1)

When you inspect generated files the output of the first sam build is packaged at the second function
lucasam$ cd .aws-sam/build/

lucasam$ du -hs *
 43M    FunctionOne
 86M    FunctionTwo               // SAME CODEBASE, DOUBLE THE SIZE
4.0K    template.yaml

lucasam$ cd FunctionTwo/
lucasam$ ls -lia
total 16
34492672 drwxr-xr-x   7 lucasam  ANT\Domain Users  224 Oct 17 10:31 .
34489527 drwxr-xr-x   5 lucasam  ANT\Domain Users  160 Oct 17 10:31 ..
34492678 drwxr-xr-x   3 lucasam  ANT\Domain Users   96 Oct 17 10:31 .aws-sam     // THIS FOLDER SHOULD NOT BE HERE
34492675 drwxr-xr-x   4 lucasam  ANT\Domain Users  128 Oct 17 10:31 lib
34494271 drwxr-xr-x  17 lucasam  ANT\Domain Users  544 Oct 17 10:31 node_modules
34492674 -rw-r--r--   1 lucasam  ANT\Domain Users  291 Oct 26  1985 package.json
34492673 -rw-r--r--   1 lucasam  ANT\Domain Users  469 Oct 26  1985 template.yaml

Observe that:

FunctionTwo contains .aws-sam directory built during functionOne build.
The size of FunctionTwo package is the double of the first one.
Similiar behavior does not apply to java projects
If you move template.yaml to parent directory, the behavior changes to the proper one

Note: https://github.com/awslabs/aws-sam-cli/issues/1236 / https://github.com/awslabs/aws-sam-cli/pull/1180 might fix this issue.

@lucasam Thanks for the report. I don't think any of those issues are related here but seems exactly the same as https://github.com/awslabs/aws-lambda-builders/pull/130 but with a different workflow. The Node builder has the same Excludes that is mentioned in the PR I linked: https://github.com/awslabs/aws-lambda-builders/blob/develop/aws_lambda_builders/workflows/nodejs_npm/workflow.py#L24. I haven't tested it but this could be the cause.
There is another way to solve this as well. Part of the reason this is coming up is because your CodeUri is the cwd. This tells sam build that the cwd is all of your source code for each function (including template, tests, and anything else in your top directory). We view CodeUri as a place for all your functions code and file that need to run, you shouldn't need tests or the template in the zip on lambda. The reason .aws-sam is appearing in the second function is because it runs after the first one is built and therefore the .aws-sam directory exists. If instead you change the CodeUri to CodeUri: lib and then adjust your handler files. You can then run sam build -m package.json to build off the package.json file in the root of your project (cwd). We consider having CodeUri as cwd an anti pattern since it will include any and all files. Again I do think there is a bug here with the .aws-sam getting copied over but there is only so much generic excluding we can do here.

@lucasam Thank you for providing a full working example. I change that line I linked about to EXCLUDED_FILES = (".aws-sam", ".git") and installed the CLI and Lambda Builders locally. I do not see the issue anymore (see output below). I am going to work on the fix in Lambda Builders for this.
(aws-sam-cli) ➜  sambuildissue1 git:(master) samdev build
Building resource 'FunctionOne'
Running NodejsNpmBuilder:NpmPack
Running NodejsNpmBuilder:CopyNpmrc
Running NodejsNpmBuilder:CopySource
Running NodejsNpmBuilder:NpmInstall
Running NodejsNpmBuilder:CleanUpNpmrc
Building resource 'FunctionTwo'
Running NodejsNpmBuilder:NpmPack
Running NodejsNpmBuilder:CopyNpmrc
Running NodejsNpmBuilder:CopySource
Running NodejsNpmBuilder:NpmInstall
Running NodejsNpmBuilder:CleanUpNpmrc

Build Succeeded

Built Artifacts  : .aws-sam/build
Built Template   : .aws-sam/build/template.yaml

Commands you can use next
=========================
[*] Invoke Function: sam local invoke
[*] Package: sam package --s3-bucket <yourbucket>

(aws-sam-cli) ➜  sambuildissue1 git:(master) cd .aws-sam/build/
(aws-sam-cli) ➜  build git:(master) ls
FunctionOne   FunctionTwo   template.yaml
(aws-sam-cli) ➜  build git:(master) du -hs *
 43M	FunctionOne
 43M	FunctionTwo
4.0K	template.yaml
(aws-sam-cli) ➜  build git:(master) cd FunctionTwo/
(aws-sam-cli) ➜  FunctionTwo git:(master) ls -lia
total 32
3248501 drwxr-xr-x   7 <>  <> Users   224 Oct 18 09:45 .
3245547 drwxr-xr-x   5 <>  <> Users   160 Oct 18 09:45 ..
3248503 -rw-r--r--   1 <>  <> Users  6530 Oct 26  1985 README.md
3248505 drwxr-xr-x   4 <>  <> Users   128 Oct 18 09:45 lib
3248609 drwxr-xr-x  17 <>  <> Users   544 Oct 18 09:45 node_modules
3248504 -rw-r--r--   1 <>  <> Users   291 Oct 26  1985 package.json
3248502 -rw-r--r--   1 <>  <> Users   469 Oct 26  1985 template.yaml

A similar issue happens with Layers.
Please see reproduction of this issue here:
https://github.com/naphtul/samNodeLayer/tree/master/nodejs
Run sam build --debug (which runs successfully).
Then run sam package --debug --s3-bucket <BUCKET_NAME> --output-template-file packaged.yaml
This creates two output files: One is double the size of the other due to the .aws-sam folder.
My bigger issue is that I can't find a folder structure from an official template example of a NodeJS node_modules folder as a Layer, while the source code footprint remains small (i.e. without node_modules).

The fix was released in v0.8.0 of aws-lambda-builders and then released in [v0.44.0](https://github.com/awslabs/aws-sam-cli/releases/tag/v0.44.0 of SAM CLI.
Closing as this has been fixed.


OpenMP error when lib.dot is called from a thread spawned by lib.call_in_background on Cray compilers

I am running into some problems on a cluster where I am using Cray compilers (CCE 11.0.4 and LibSci <IP_ADDRESS>), see the following example:
from pyscf import lib
import numpy as np

n = 100
a = np.random.random((n, n))
b = np.random.random((n, n))
c = np.zeros((n, n))

def update_c_numpy():
    c[:] += np.dot(a, b)

def update_c_pyscf():
    c[:] += lib.dot(a, b)

for i in range(2):
    with lib.call_in_background(update_c_numpy, sync=False) as update_c:
        update_c()
    print("np.dot pass %d" % i, flush=True)

for i in range(2):
    with lib.call_in_background(update_c_pyscf, sync=False) as update_c:
        update_c()
    print("lib.dot pass %d" % i, flush=True)

This pattern is encountered in PySCF in a number of places, for example update_wVooV in cc.CCSD. This outputs:
np.dot pass 0
np.dot pass 1
lib.dot pass 0
CCE OpenMP fatal error: OpenMP parallel attempted from non-OpenMP thread

This suggests that the OpenMP parallel code in libnp_helper does not like to be called from a non-OpenMP thread, i.e. the one spawned by lib.call_in_background. Setting __config__.ASYNC_IO = False (and indeed __config__.cc_ccsd_CCSD_async_io = False) fixes this particular pattern, but there are other patterns which run into similar problems for example lib.map_with_prefetch. Should there be a global option for disabling any Python-side threading?

There are two possible ways. One is to explicitly disable the async feature by setting the module level parameter
import pyscf
pyscf.lib.misc.ASYNC_IO = False

This parameter was not placed at the beginning of that module https://github.com/pyscf/pyscf/blob/master/pyscf/lib/misc.py#L774
The other option is to use a global setting file
$ cat ~/.pyscf_conf.py
ASYNC_IO = False

Settings in this file will be read by the relevant modules when importing pyscf. More details can be found in the manual  https://pyscf.org/code-rule.html#global-configurations


Loading MultiFrame data

I try to Load MultiFrame data (001). I get these messages and then nothing happens.
Error in WriteXMLfromDICOM.get_scan_data: No DICOM files present in the selected folder
Error in function LoadDICOM.makeDICOM_XML_File: cannot unpack non-iterable NoneType object
Error in TreeView.makeDICOMStudiesTreeView at line 120: stat: path should be string, bytes, os.PathLike or integer, not NoneType

I'm going to close this and copy this information to #89 as this is a strategy topic in my perspective.
I'd like to chat with you about the risks in this Multiframe approach. What probably happened (it happened to me during development) is that the dcm4che command didn't create the single frame files and then it deleted the original multiframe file. The result is that you end up with an empty folder. I recommend that you keep a copy of the multiframe data and check every know and then if the files are there


Add UmbrellaToken

It's only the UmbrellaToken.sol

Wait for it, I need to change the contract's solidity version.


please explain settings.

In the doc you say just set Device ID, Host Name and Device Key from the IoT Suite into the UWP application.
But how do you do this? The app appears to use some kind of setting file but its not present in the project (as far as I can see). How do set these? I can find the Device ID in the device details on Azure but what do you use for Host Name and Device key?

never mind ...got it


Site icons are not https

I have added a site icon through the customizer and it's still http
Everything else is working fine as https but the site icons are http so I am getting mixed content warnings.

Hi,
Can you be more specific by what you mean when you mention "site icons"?
Thanks,
John

Absolutely - I'm referring to the site icon you can upload through the customizer. It's like a favicon but slightly different.
https://codex.wordpress.org/Creating_a_Favicon#WordPress_Version_4.3_or_later
I've been experimenting some more and I have a feeling the problem may only be in the WordPress admin and not on the frontend.

In 1.x of the plugin we had protocol rewrite which converted http:// and https:// to //.  3.x uses Automatic HTTPS Rewrites which works a little differently.   Instead of converting everything to // it only converts http:// links which we know can be loaded over https:// to https://.  This is also done at the network level now instead of the application (plugin) level.
Do you have Automatic HTTPS rewrites turned on?

well that explains why I couldn't find the code for this in the plugin :)
I've just checked and I do have automatic https rewrites switched on however - the plugin added a page rule that disables optimisation in the admin. Could this have anything to do with it?

For reference - the site is here: https://masterwp.co
You can see the issue by viewing the source on the homepage, and on the wp-admin login page. The homepage is correct - the wp-admin is loading http content.
I should note that I have successfully used cloudflare with https on other sites running on the same server so I am not sure why it's not working this time.

According to this "disable performance" doesn't disable automatic https rewrites.  I haven't tested though.
If you disable the page rule does it work?
You can also create a page rule for /wp-admin/* to enable automatic https rewrites.  Does that fix it?

Just tried disabling the rule and it doesn't make any difference. These are the rules I have enabled:
https://cloudup.com/chO4w9MhFOk

Alright let me investigate a little bit more and get back to you.

What if you modify the first page rule to also turn "Automatic HTTPS rewrites" on?

So a couple things:
Right now Automatic HTTPS rewrites is only rewriting assets from "known" (Sites included in the EFF's https everywhere rule set).  The ability to rewrite assets on Cloudflare sites is still being tested.
Given that it looks like WordPress is loading it over http regardless of whether the request is routed over Cloudflare or not.
Direct to origin:
`$ curl -kvs --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36" http://masterwp.co/ --resolve masterwp.co:80:<IP_ADDRESS> | egrep "link rel="icon"

Added masterwp.co:80:<IP_ADDRESS> to DNS cache
Hostname masterwp.co was found in DNS cache
Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to masterwp.co (<IP_ADDRESS>) port 80 (#0)

GET / HTTP/1.1
Host: masterwp.co
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Accept: /

< HTTP/1.1 200 OK
< Date: Fri, 14 Oct 2016 02:27:22 GMT
< Server: Apache
< Link: http://masterwp.co/wp-json/; rel="https://api.w.org/", http://wp.me/803jW; rel=shortlink
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=UTF-8
<
{ [3747 bytes data]

Curl_http_done: called premature == 0
Closing connection 0

`
Through Cloudflare:
`$ curl -kvs --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36" http://masterwp.co/ | egrep "link rel="icon"

Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to masterwp.co (<IP_ADDRESS>) port 80 (#0)

GET / HTTP/1.1
Host: masterwp.co
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Accept: /

< HTTP/1.1 200 OK
< Date: Thu, 13 Oct 2016 22:27:40 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: __cfduid=d4f86f4f47377fead5af6f92f38e2a7531476397660; expires=Fri, 13-Oct-17 22:27:40 GMT; path=/; domain=.masterwp.co; HttpOnly
< Link: http://masterwp.co/wp-json/; rel="https://api.w.org/", http://wp.me/803jW; rel=shortlink
< Server: cloudflare-nginx
< CF-RAY: 2f16385f53a8440e-SFO-DOG
<
{ [15934 bytes data]

Curl_http_done: called premature == 0

* Connection #0 to host masterwp.co left intact`

Ok - thanks for the explanation - I think I understand.
So could I suggest that in a future update you transform sites that are hosted on cloudflare and include support for https? Since you host them you know they are secure so it makes sense that they get changed as well.
Also - I've since realised that there are settings in WordPress itself (in Settings > General) where you set the WordPress Address and Site Urls. These were set to http://.
Perhaps you could add a check to the plugin and if they are set to http warns users that they are insecure and suggests they change them?

Yeah eventually it will rewrite sites that are on Cloudflare.  Luckily the transformation happens at the edge, not in the plugin, so when it is released you won't need to update in order to take advantage of it.
Thanks for telling me about the Settings > General fix.  We'll definitely add in functionality to future releases to detect/warn about this.
Thanks,
John


bearer token middleware

This adds initial server side support to authenticate requests by looking for valid bearer tokens in JWT format. This adds a single test that enables authentication & uses a test public/private key pair to verify. The JWT's are expected to have claims that include the issuer, audience, and Brim specific tenant and user id.
The auth related config is made available via environment variables, and I've used my 'fromenv' library to handle that configuration.

@nwt & I had a long discussion about using environment variables to configure parts of zqd, and came to the conclusion that it will be better to stick with cli flags whenever we can. (I had given him a heads up about using fromenv in here to see how it would work.) I'll update the PR to pass in auth configuration via cli flags.


Implement NodeGetVolumeStats

I need this to monitor filesystem usage of Linstor-backed PVs. While I could use other monitoring tools, it would be great to have it directly integrated into K8s.

Thanks, this got merged with 4ccc6e395 . I just added a bit of cleanup to the unconditional mkdir/rmdir mock code. Better be safe than sorry :)


Ruth ikegah/issue/#46

Description
I updated this file with the Project description and how to contribute and build the site.
This PR fixes #46
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@leecalcote I will fix this up in the other PR now! DCO check messing with me here lol


Document set_cookie(expires=)

In HTTP version 1.1, expires was deprecated and replaced with the easier-to-use max-age, but Internet Explorer (ie6, ie7, and ie8) does not support max-age.
So, either:

document that, or
calculate one value from other.

The practical advice right now to use both properties AFAIK.

calculate one value from other

How should it work?


Links along with text

Ability to add links in any text location (eg. job highlights, projects description, etc)
I tried adding using #link function but it didn't work.

Can you send an example snippet? For me, it seems to work with v1.0.1 by making sure the strings in the YAML file is properly enclosed in "" quotation marks and properly escaping the quotation marks in the link() function. This is because # starts a comment in YAML. For example:
# ...
projects:
  - name: "Job Tailor"
    # ...other fields here
    highlights:
      - "Developed an #link(\"https://openrouter.ai\")[AI-powered] résumé editor app to create tailored résumés from users' CVs based on specific job descriptions."
# ...

Thanks for clarifying. It works with the method you mentioned but only in highlights. However i'm trying to add link in the work/positions/position and it doesn't seem to be working. Example below
work:
  - organization: IIIT Hyderabad
    url: # https://www.iiit.ac.in/
    location: Hyderabad, India
    positions:
      - position: "Graduate Research Assistant - #link(\"https://faculty.iiit.ac.in/~pawan.kumar/myhomepage/\")[Prof. Pawan Kumar]"

Yeah... unfortunately the template currently only does text for the positions field:
https://github.com/jskherman/imprecv/blob/2fe6eb22298483ab5a7b986c78438086b9c50959/cv.typ#L142
Although it might be a quick fix to change it to accept content:
- #text(style: "italic")[#p.position] #h(1fr)
+ #text(style: "italic", eval(p.position, mode: "markup")) #h(1fr)


It does not work in FOSSBilling

is this just planned to work or it's just misleading?

Closing this, feel free to elaborate if I misunderstood you


Fix: Added Nikhil Butani

resolves #issueNumber
Checklist for profile addition

[ ] Name the PR fix: add <your-username>.
[ ] You've added file named your-username.json in the profiles directory.
[ ] You've linked the PR to the correct issue.

Other additions/changes

[ ] Changes made in this PR are mentioned below
[ ] Search previous suggestions before making a new one, as yours may be a duplicate.
[ ] I acknowledge that all my contributions will be made under the project's license.
[ ] I've read the contributing guidelines

This PR adds/fixes

Notes

Hey,
Thanks for the merge the PR.
Can you please add '*HacktoberFest-accepted' *Tag.
Actually I am checking in my HacktoberFest Profile so it's showing your not
participating.
Thanks,
Nikhil Butani
On Tue, Oct 25, 2022, 5:58 PM Pradumna Saraf @.***>
wrote:

@.**** approved this pull request.
Looks good to merge. Thank you for your contribution! 🎉
—
Reply to this email directly, view it on GitHub
https://github.com/EddieHubCommunity/awesome-github-profiles/pull/1509#pullrequestreview-1154715946,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIU7K7TECIWTLDIYBSBCVC3WE7HABANCNFSM6AAAAAARNIFKNY
.
You are receiving this because you authored the thread.Message ID:
<EddieHubCommunity/awesome-github-profiles/pull/1509/review/1154715946@
github.com>


Build fails for VS 2017 15.8

Just tried to build v1.11.1.
Basically, either _ENABLE_EXTENDED_ALIGNED_STORAGE or _DISABLE_EXTENDED_ALIGNED_STORAGE must (apparently) be defined.
See failing build here.
Error:
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\type_traits(1271): error C2338: You've instantiated std::aligned_storage<Len, Align> with an extended alignment (in other words, Align > alignof(max_align_t)). Before VS 2017 15.8, the member type would non-conformingly have an alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility (*only* for uses of aligned_storage with extended alignments). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, or (2) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conformant behavior. (compiling source file C:\Users\appveyor\.conan\data\aeron\1.11.1\helmesjo\stable\build\a7a6633935b73a476db9d5ac9aade5d58663ba47\source_subfolder\aeron-client\src\main\cpp\Aeron.cpp) [C:\Users\appveyor\.c

The link to the failing build is broken.

Fixed! @mjpt777

This looks like it is failing in normal memory ops. i.e. std::shared_ptr. As mentioned, CMake probably needs to specify to enable/disable. Odd. I would think this would be handled by the normal options... which leads me to think something has changed in the normal flags between 2015 and 2017...

@tmontgomery Added link to patch notes for VS regarding this change if it adds some value.


created PermissionsMigration

closes #23

@drewroberts it looks like this other pull request (https://github.com/tipoff/authorization/pull/31) overrode the changes that were implemented in this pull request.

I believe what we wanted was to have a BasePermissionsMigration that is extended in these other migrations. I'm going to have @devjk1 create a create_user_permissions migration as well.


Create who is listening Widget

Data Base
API
Storage (Picture)
Job Title Input
Email Input

This is covered in #138 and #139


Shrunken players facing wrong direction when climbing ladders

I've not encountered this in my testing
Is this from another players perspective?

not reproducable


Update Move-SPDeletedSite.md

Remove SharePoint 2010 applicability.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Move-SPDeletedSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


x87: modelling of reading the status word wrong/confusing

Subject: https://github.com/rfalke/decompiler-subjects/blob/master/from_holdec/i386_x87_fpu/ia32_elf/subject.exe
Output:
int32_t TOP(void) {
    // 0x804b710
    __asm_wait();
    int32_t v1; // 0x804b710
    return (uint32_t)v1 / 2048 % 8;
}

This method returns 3 bits from the status word. The status word (v1) is not initialized. And it is not 32bit but 16bit wide.
See also https://github.com/uxmal/reko/issues/973 for a sister issue.

Several problems here:

One of our analyses (probably param-return) changes void __asm_wait() to int __asm_wait() and stores the result to eax. We create a bunch of pseudo functions in binary to LLVM IR translation, but we do not tag them as special and work with them as with other functions. We should not do so. E.g. we should definitely not infer their types, because they already have correct types at creation.
We localize fpsw register (i.e. make a local variable from it) but do not propagate this info to user, than it looks like the local variable is uninitialized:

    int32_t v1; // 0x804b710
    return (uint32_t)v1 / 2048 % 8;

When in fact it is something like this:
    int32_t fpsw; // 0x804b710
    return fpsw / 2048 % 8;

IDA even uses the function argument, but I don't know if this is correct, I did not analyze it that deep. Maybe just using local fpsw is enough.

IMHO it should either be an incoming value (function parameter) or function call (like int32_t fpsw=__getStatusWord()) to make it clear what the control/data flow is.


Update hardcoded tor seeds

Fast fix for https://github.com/spectrecoin/spectre/issues/21 should probably run an HTTPS query
on https://chainz.cryptoid.info/xspec/#!network instead of hard-coding the Tor seeds.

Thanks for the pull request, I really appreciate contributions. Unfortunately, we won't be going down this route as it makes all of our wallet users trust chainz.cryptoid.info, a third party, to provide them with initial nodes.
This opens a vulnerability in that CryptoID themselves could attack the Spectre network, or someone who gains control of the CryptoID server could attack the Spectre network.
1.3.4 will be released shortly which will update the nodelist with a list of trusted nodes that we will monitor, and we'll make an effort to keep it up-to-date in future.

Sorry, I actually mis-read your comment to suggest that the HTTPS query was what you had implemented. The pull request is fine in principle but I will limit the nodelist to nodes that we will be monitoring regularly to make sure they don't go rogue / disappear.

Yeah https querying would make the cryptoid a single point of failure, not great. Good call on using some trusted, hand picked nodes instead


Image / Bitmap HeatMap / plt.imshow

This has been asked for in multiple occasions.

Any news on this? Also, a slider mechanism to be able to browse to different timepoints of a stack of images would be awesome!

@hadim Yes:

There is a Heatmap mark that takes a 2d array of values (height x width).
In pyplot: plt.heatmap
There is also an Image mark that can render images in most formats (png, jpg etc...).
In pyplot: plt.imshow

Both have their example notebooks in bqplot/examples/Marks/
On our roadmap: making imshow work with 2d arrays, or arrays of RGB values.
For the slider mechanism, you should be able to implement that pretty easily with an ipywidgets IntSlider, but feel free to ask if you run into specific problems.

Hi. I was just looking for this. Is showing 2D numpy array still not supported?

Hi. I was just looking for this. Is showing 2D numpy array still not supported?

I tried the HeatMap as suggested but there seems to be a 0.5 pixel offset in the display axes. See this example below. What do I need to do to make bqplot displays like plt.imshow? I copied the HeatMap code from an existing example in this repo.
Using bqplot
import numpy as np
import ipywidgets as ipyw

from bqplot import Figure, HeatMap, LinearScale, ColorScale, Axis, ColorAxis

arr = np.arange(100).reshape((10, 10))
x_sc, y_sc = LinearScale(), LinearScale()
x = np.arange(arr.shape[1])
y = np.arange(arr.shape[0])
col_sc = ColorScale(scheme='Greys')
aspect_ratio = arr.shape[1] / arr.shape[0]
img = HeatMap(x=x, y=y, color=arr, scales={'x': x_sc, 'y': y_sc, 'color': col_sc})
ax_x = Axis(scale=x_sc)
ax_y = Axis(scale=y_sc, orientation='vertical')
ax_c = ColorAxis(scale=col_sc, num_ticks=5)
fig = Figure(layout=ipyw.Layout(width='400px', height='400px'), padding_y=0)
fig.marks = (img, )
fig.axes = [ax_x, ax_y, ax_c]
fig.max_aspect_ratio = aspect_ratio
fig.min_aspect_ratio = aspect_ratio
fig  # This displays the HeatMap in notebook

Using matplotlib
import matplotlib.pyplot as plt
plt.imshow(arr, cmap='gray', origin='lower')

Hello. Any update on support for plt.imshow?


Create generic LLM client using LiteLLM

This PR creates a generic client for prompting LLMs. It passes the LLM instance into the Agent constructor, and the Agent can use it however it wants.
This makes it easier for the user to control exactly which foundation models are used.

@xingyaoww after a rough merge, this is ready for re-review 😅


Not able to set a url to a placeholder

Challenge Add Placeholder Text to a Text Field has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<input type="text">
<input type="text" placeholder="cat photo URL">

There are two text inputs at the end of your code, only one is needed. Remove <input type="text"> and you're good to go.

@nbatthula Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


RReadWriteLock is incompatible with reentry r&w op

While using RReadWriteLock, a bug (or not?) confuse me for a long time.
I described a wrong ops yesterday, and fix it now. Sorry about this.
There is a sure logic problem if ops like this:

write lock A (succeed)
read lock A (succeed)
read unlock A (succeed)
write unlock A (not hold by current thread!!!)

Assuming every unlock op is after a holding check.
So if there is no holding check and running in a concurrent environment, op4 may throw IllegalMonitorException.

Is it a bug, or it just shouldn't do and need to do in another way?

Thanks for report

@mrniko I described a wrong ops yesterday and fix it now. So SORRY about this, please read the issue again. Thanks!

Fixed


[SPARK-17360][PYSPARK] Support generator in createDataFrame

What changes were proposed in this pull request?
Avoid useless iteration within 'data' structure when creating a data frame from local data (so when createDataFrame uses _createFromLocal) and when 'data' is a Python generator (instead of a 'list' or a dataframe)

if schema is provided, only iterate once (in _createFromLocal). In this case we skip 1 struction iteration
if no schema is provided, we skip the useless 'map' with the 'identify' lambda function

There are still serialization to the JVM.
How was this patch tested?
Pyspark unit tests and standalone manual pyspark execution

Test build #64778 has started for PR 14918 at commit 59a6470.

Test build #64778 has finished for PR 14918 at commit 59a6470.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64778/
Test FAILed.

Test build #64782 has started for PR 14918 at commit 3353a46.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64782/
Test FAILed.

Test build #64939 has started for PR 14918 at commit e80170f.

Test build #64939 has finished for PR 14918 at commit e80170f.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64939/
Test FAILed.

Merged build finished. Test FAILed.

Test build #64946 has started for PR 14918 at commit 61cdabf.

Test build #64946 has finished for PR 14918 at commit 61cdabf.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64946/
Test FAILed.

Merged build finished. Test FAILed.

Test build #64947 has started for PR 14918 at commit 5ff0bf4.

Test build #64947 has finished for PR 14918 at commit 5ff0bf4.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64947/
Test FAILed.

Test build #64948 has started for PR 14918 at commit 3e7a003.

Test build #64948 has finished for PR 14918 at commit 3e7a003.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64948/
Test FAILed.

Merged build finished. Test FAILed.

Test build #64951 has started for PR 14918 at commit 6f28f75.

Test build #64951 has finished for PR 14918 at commit 6f28f75.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64951/
Test FAILed.

Test build #64985 has started for PR 14918 at commit 45eadb0.

Test build #64985 has finished for PR 14918 at commit 45eadb0.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64985/
Test FAILed.

Test build #64989 has started for PR 14918 at commit 0db5883.

Test build #64989 has finished for PR 14918 at commit 0db5883.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64989/
Test FAILed.

Test build #64994 has started for PR 14918 at commit 639d149.

Test build #64994 has finished for PR 14918 at commit 639d149.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64994/
Test FAILed.

Merged build finished. Test FAILed.

Test build #64995 has started for PR 14918 at commit fa4c66c.

Test build #64995 has finished for PR 14918 at commit fa4c66c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64995/
Test PASSed.

Merged build finished. Test PASSed.

at last, tests pass ! :)

So I'm not super sure I understand the point of the refactor - at some point we are forced to materialize the entire contents of the generator on the driver anyways to copy to the JVM since parallelize only has a special case for xrange not all generators. (Although I may be missing something here).

Indeed, i dont think it will be feasible to propagate the generator up to the jvm. It would be cool, because when we have the schema there is no need to iterate several time on the complete sequence. But, at least with this patch we can prevent one (no schema) or two (when schema is provided) useless iterations of the whole sequence using a generator + this optim, it is still a good thing (Python is no so good sadly). I can try to do some performance evaluation, not before next week.

Rebased

Test build #65761 has started for PR 14918 at commit 01a9580.

Test build #65761 has finished for PR 14918 at commit 01a9580.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65761/
Test PASSed.

For information, I continue to look at these kind of simple optimisations that does not cost too much. Python is a pretty slow language, very productive in term of code writing, but inefficient in term of execution. So if we can avoid looping once or twice in a list and replace lists by generator, I think that is very valuable for the Spark project

Test build #66042 has started for PR 14918 at commit 76ccc50.

Test build #66042 has finished for PR 14918 at commit 76ccc50.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66042/
Test PASSed.

I'm not sure about its value - since it only applies to equivalent of parallelize which by definition should be used on relatively small datasets.

Test build #66388 has started for PR 14918 at commit 8b85d63.

Test build #66388 has finished for PR 14918 at commit 8b85d63.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66388/
Test PASSed.

Do we have any usecases or benchmarks for cases where this would be helpful?

I do not agree with this change too by the same reason in https://github.com/apache/spark/pull/14918#issuecomment-250882422.

Ok, abandonning

Do we have any usecases or benchmarks for cases where this would be helpful?

Yes my huge use case which I am surprised a lot of people in industry don't have is massive data mining:

You have a lot of files on the internet (for instance text from a large collection of webpages)
You are able to write a python generator that goes through the files to find and ouput sentences containing the word "covfefe": I have seen a python generator go through 90G of such a real collection of 11000 files within minutes(they where downloaded)
You want to create a dataframe of all those sentences and the actual collection of those sentences ends up being less than 20Mb

You could create a Dataset from the generator. Now that I have written this it seems I can run flatmap on the file with the generator as the transformation.
But something like Dataframe.from_generator in spark would be nice.

You can already do all the thins above via other APIs like rdd.mapPartition.

thanks @HyukjinKwon ! will look into this.


Add RustPOSIX CI Action

Description
Mock up for a simple RustPOSIX only CI to run cargo test --lib on changes/PRs.
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Looks good to me!


Fix overlapping empty headers and allow for saving after detachment. Better notifying after expand/collapse for animations

Nice work!


Upgrade kustomize/api and kustomize/kyaml

Please upgrade kustomize/api and kustomize/kyaml to match kustomize v5.0.0 release
It has improved helm support:

support for four new Helm fields, by popular request: additionalValuesFiles, skipTests, apiVersions and skipTests

Thanks for merging!
Could you tag an rc or beta release for this?

Thanks!

Thanks for the quick reply @pst! I see you released a new version on Github, but it's still not available on Terraform's registry: https://registry.terraform.io/providers/kbst/kustomization/latest

I've seen some caching issues with their registry in the past. Is version 0.9.3 available on it in your region ? Then I'd just wait

I requested a resync, that usually fixes it. It's supposed to be updated automatically, but well. I can see v0.9.3, published a day ago now in the TF registry.

Worked! Thanks again


NextJs Usercentrics

Hello, i just want to ask, if works in NextJs applications?

Works like a charm, just set the time out for the load to be postponed

Works like a charm, just set the time out for the load to be postponed

Hi @zwaardje
Do you have by any chance a running example?

Thank you for the example. I will now close this issue as resolved. 👍


[add-resource] New Theme: Vela

I would like to add my new theme to the Grav Repository.
Here are the project details: https://github.com/danzinger/grav-theme-vela

Added to GPM.


Integrate EOEPCA with a Slurm instance

There is established experience with LOTUS of packaging applications as containers using Singularity (https://singularity-docs.readthedocs.io), a technology developed specifically for use with batch computing which is compatible with Docker.
Our plan:

[ ] Install Slurm in CaaS
[ ] Investigate how we could submit, queue, allocate, execute ADES jobs in CaaS

Specifically investigate:

[ ] How you might allocate resources to a job (e.g. n cores or memory)
[ ] How we might measure resource usage in terms of how that could feed back to monitoring usage and billing (potentially)

Update: 14/04/2023

Slurm has an API that can be used internally - but does exist

we could plug that in with a POST request
could integrate nicely with Singularity

Steps would be:

User request to run a process - through the ADES
ADES would generate a job-script
ADES would send job-script as POST request to Slurm API
Slurm will use the job-script to invoke a Singularity container based on the Dockerfile (pulled from EOEPCA registry)
ADES would monitor the job via Slurm API (probably)
Some kind of finalise/clean-up actions will happen (e.g. registering outputs)

We need to understand stage-in and stage-out processes - and where they are managed

ACTIONS:

[ ] Find out the full lifecycle of a job: e.g. waiting/monitoring/staging/finalising


legacy ftp site migration

When this is done, we need to make sure that this ticket is fixed:
https://helpdesk.ebi.ac.uk/Ticket/Display.html?id=182715
(V30 files are  have V 29 names)

Can you paste the text into this issue?  My EBI login doesn't work any more.

so basically the file names are
Schizosaccharomyces_pombe.ASM294v2.30.dna.genome.fa.gz
but when unzipped the file is called
Schizosaccharomyces_pombe.ASM294v2.29.dna.toplevel.fa

Daer vall,
I have difficulties finding the lastest version of the S. pombe genome
for .seq analyses.
I found on pombase the file
"Schizosaccharomyces_pombe.ASM294v2.30.dna.genome.fa.gz. I dowload
the file on my computer, unzipp it and discover inside a file named
"Schizosaccharomyces_pombe.ASM294v2.29.dna.toplevel.fa", and not a
file "ASM294v2.30.dna.genome.fa" as I would expect.
Could you please tell what is ASM294v2.29.dna.toplevel.fa, and, if it
is not the latest genome version of our favorite yeast, then where can
I find this piece of data.

so basically I want ebi to fix the files before we migrate...

The ftp issue above is resolved.

This ticket isn't very explicit.
We will need to write out various files
protein datasets
gff
etc...
I will make a list of the files we need to generate....

We   need to migrate the  archived files.

we can use this ticket for ftp data
https://github.com/pombase/website/issues/355


Add Scala Native build for circe

Similar to https://github.com/softwaremill/sttp/pull/1796, this adds scala native support for the circe submodule.
As is the case with jsoniter, there is no circe version that supports both scala native and 2.11, so this drops 2.11 support for the circe module.
Before submitting pull request:

[x] Check if the project compiles by running sbt compile
[x] Verify docs compilation by running sbt compileDocs
[x] Check if tests pass by running sbt test

All the ... should throw UnsupportedOperationException with reason fails and the scala native tests hangs :sweat_smile: , but they also fail locally for the v3 branch, so hoping it's just my setup

[x] Format code by running sbt scalafmt

Thanks!


Add a documentation sub domain to getsaleor.com

Hi,
I would think that adding a subdomain to getsaleor.com to accede the docs (docs.getsaleor.com) would really be handy instead of going to saleor.readthedocs.io (documentation about custom domains). Especially for people that don't know the RTD URL, that would try to append docs to the URL or want a quick access.

http://docs.getsaleor.com/ is now a thing 🎉


Migrated to null safety

Migrated the package to null safety by running the dart migrate tool. In addition to these changes, I removed some now-redundant nullability assertions.
All unit tests still pass (although I did have to add TestWidgetsFlutterBinding.ensureInitialized(); not sure what's going on there).

why it's failed ?

It was because the travis build environment was using flutter 1.22.6. I think it would have passed if the environment was upgraded.

Any plans to move it forward?


Improved Middlewares

Read this first #57
Middlewares are pretty important and we can have some good API for middlewares.  In this PR. We can have these.

after and before middlewares (may be we can rename it as hooks)
parameters for the middlewares (may be the next(), routeContext)
With the named params, we can implement the except and only functionality.

Cool! So what I'd like to to with middleware/ hooks is

Prefix routes with a language code. If there is one, read it, if there is none, set it. (Maybe also hook into the url generation stuff to prefix generated urls. But that's optional I think).
This requires some kind of "route rewrite". So /en/about would have to use the registered /about route.
Show loading pages. I like the idea of showing data as it arrives, but that's not ideal for every app. It's easy to implement a loading screen with Tracker.autorun and FlowRouter.subsReady, but it's bad having to manually code it for every route. A hook would be nicer!

In the next version of middlewares, I am trying to run all middlewares in the same eventloop. That means, you can't use next asynchronously and wait the router.
If you don't call next, we will do it after the middleware function.
This is an step to move all the into template layer or something else.
So, now biggest question will be how to deal with login checks and so on. I am planning implement a basic set of Blaze helpers and a set of Apis to do it in the template layer. It's won't be something in the router. It's a seperate package.

@zimt28 for your second point, I don't think router need to implement it.
It's something on the template layer. It can be added an a set of helpers or react mixins.
That's the way to go.

@arunoda Have you already began working on it? As always, I'm willing to help.

Sure. Thanks. Just brainstorming here. Didn't start. I'll make an open
document before starting the work.
On Tue, Apr 21, 2015 at 10:23 AM Delgermurun Purevkhuu <
<EMAIL_ADDRESS>wrote:

@arunoda https://github.com/arunoda Have you already began working on
it? As always, I'm willing to help.
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/flow-router/pull/59#issuecomment-94638668
.

Document is good idea.

Let's do it.
@arunoda Can you write document? Including API syntax etc...
If you permit, I would like to implement the proposal :).

Okay sure. I will do it in few hours :)
I rename middleware as triggers.
On 2015 මැයි 27, බදාදා at පෙ.ව. 8.57 Delgermurun Purevkhuu <
<EMAIL_ADDRESS>wrote:

Let's do it.
@arunoda https://github.com/arunoda Can you write document? Including
API syntax etc...
If you permit, I would like to implement the proposal :).
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/flow-router/pull/59#issuecomment-105743010
.

@arunoda Please rebase this branch as well.

yeeeey, today is a great day. with the before/after middleware, the router will be a complete replacement for IR.
@arunoda just a proposal, maybe we can stick with middleware name, in many frameworks it is named so. triggers are kind of db stuff ;)

I'm okay with any name.
With the new proposal we don't have callback called next or done in the
middleware.
They run before and after the router. But without waiting.
If we call it middlewares, people except it to be work like a middleware in
express/connect.
That's why I put this name.
On Wed, May 27, 2015 at 9:18 AM Vlad Shcherbin<EMAIL_ADDRESS>wrote:

yeeeey, today is a great day. with the before/after middleware, the router
will be a complete replacement for IR.
@arunoda https://github.com/arunoda just a proposal, maybe we can stick
with middleware name, in many frameworks it is named so. triggers are kind
of db stuff ;)
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/flow-router/pull/59#issuecomment-105745858
.

@arunoda sure, any name would be nice then. Can't wait to see the new api and usage examples.
Thank you, guys, for you work!

@delgermurun check the PR description. I updated how the API should looks like.
We might can improve the naming, just focus on the functionality for now.

@arunoda Thanks. I'll do prototype shortly.

Awesome.

Triggers are alive: https://github.com/meteorhacks/flow-router#triggers

I just updated and am trying to implement triggers.
You've mentioned removing the login validation logic out of the router...
Doesn't it make sense though to have that in there?
I loved how I could group routes, and apply some logic to check if a user was logged in, if so, they can access these routes... check if a user is an admin, they can see these routes.
If this moves into template logic, that means I need to repeat myself with each template... I guess I can wait to see how it plays out.
By the way, thanks for the great work on everything you've contributed!

Arunoda, I have middlewares like this
middlewares: [function (path, next) {
  next(!Groups.can('see_something') && '/home');
}]

What do I do now?

See: #153

is it possible to feed the 'name' of a route group into the 'except' array?


README Update [ci skip]

Vision, Language -> Beta
Logging, Datastore, Storage -> GA

Coverage remained the same at 80.955% when pulling f5d27ca107acb08a761a365dd4bf893ed132ddf4 on vam-google:master into 045b92354d2149d469e21c810e9014201acbdd6f on GoogleCloudPlatform:master.

Coverage remained the same at 80.955% when pulling f453cde2a13ff0fc44924369664a598290e5d75a on vam-google:master into 045b92354d2149d469e21c810e9014201acbdd6f on GoogleCloudPlatform:master.


ensure we have complete regex coverage

          wouldn't this change this to "at least 1 word character followed by 0 or 1 dash followed by at least 1 word character?)

Originally posted by @graciegoheen in https://github.com/dbt-labs/dbt-project-evaluator/pull/451#discussion_r1600588016

update the regex that allows for dash characters to ensure single character database/schema/identifier names are still valid


Added class and created CSS style width but nothing changes and won't let me fix issue

Challenge Size your Images has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

You code must be this

Wow quick response, I skipped ahead and saw my mistake.  Perhaps it is passed my bed time and I should retry with fresh eyes. Thank you!!!

On Feb 17, 2017, at 8:27 PM, Lucas Fonseca de Pontes<EMAIL_ADDRESS>wrote:
@nick-hegarty https://github.com/nick-hegarty you forgot add the class smaller-image to your img object.
You code must be this  https://camo.githubusercontent.com/7ee2d2be25452ded87fc3d5ea890ed3cf4b3e9f8/68747470733a2f2f6269742e6c792f6663632d72656c6178696e672d636174
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/freeCodeCamp/freeCodeCamp/issues/13412#issuecomment-280809657, or mute the thread https://github.com/notifications/unsubscribe-auth/AX3G5FuX5esi6fijnqWuF-2G3vXSy_X3ks5rdkjwgaJpZM4ME7Il.

@nick-hegarty By the way, issues are for reporting bugs not issues your having with your code. Make sure you ask for help first in one of the freeCodeCamp rooms such as the help room 😄

@nick-hegarty
Thanks for reporting this. But your code is incorrect.
GitHub Issues are for reporting bugs on the website only.
Please use the Help chat room for getting challenge related help.
Happy Coding.

@fonsecapontes
Please do not post your solution on here. You could help people at FreeCodeCamp Chat Room or Forum. GitHub Issues are for reporting bugs on the website only.
Happy Coding!

@texas2010 you are right, I'll help in chats


GlossaryStatus header change

Describe your changes:
Change Glossary Header Status since it conflicts with status header  which shows whether a row was success

I worked on ... because ...

Type of change:

[ ] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

closing this already merged in anothe import/export PR here


Removed a broken link

A broken link referred to CIFAR-10 learning rate decay which was a broken link. So, I removed the link and the references to the link.

Can one of the admins verify this patch?

https://www.tensorflow.org/versions/r0.7/tutorials/deep_cnn/index.html
the image is there -- don't rely on github's .md files to look perfect :(


is there any way to auto update the generated map when we do a changes to a prefabs inside room template folder ?

i hope there is some way

What changes do you have in mind?
If you change the inside of a room template, you can then run the generator with the same seed and it will generate the same map (the seed is printed in the console after a layout is generated and you can set it in the PayloadInitializer). However, this may not be possible if you change the outline of the room template or its door positions, because then the algorithm can work differently even with the same seed.

imean , i make room template as AB , then generate it in scene1 , then i generate another map on other scene ,,,,,,,,,,,
but when i what to change the room template as AZ ,,, ,, how to make it auto updated to AZ  in scene1 and other scene ,,,,,,,,,,,,, or the only way is i re generate in each scene ?

I'm afraid it's not possible to propagate such changes to already generated maps.

ah ok ,


GainSelection should be applied to R0 waveform, not R1

Right now the CameraCalibrator applies the GainSelector (in calibrated_dl0()) and it applies it to the R1 waveforms (which are in "rough photoelectrons" after the R1 calibration).   This means that the threshold is calibration dependent (e.g. it's something like 7.0 photoelectrons/ns for an LST).  In reality, this should be applied in the step from R0 → R1, where the threshold is in Digital Counts and thus the threshold for switching should be (2^12-1) = 4095 for a 12-bit ADC and assuming the front-end amplifiers are linear in the whole digitization range.
I suggest we either:

remove the gain selector from CameraCalibrator and move it to SimTelEventSource (not ideal, since then you'd have to configure it, but that is currently where the R1 calibration happens)
just change CameraCalibrator to apply it to the r0 waveform (but remember in the future, this would not be available for real data)

That way we don't have to "calibrate" the gain threshold for each camera each time the DC/PE or pedestals change.

This is for NectarCam, using 50 events from R0 waveforms.

This is for NectarCam, using 50 events from R1 waveforms.

Should the gain selection be applied after the mc pedestal subtraction (but before the mc.dc_to_pe is applied)?
https://github.com/cta-observatory/ctapipe/blob/5b81bb67358bed6bf406e9c0ed48721fd8cb3f00/ctapipe/io/simteleventsource.py#L282

Right now the CameraCalibrator applies the GainSelector (in calibrated_dl0()) and it applies it to the R1 waveforms (which are in "rough photoelectrons" after the R1 calibration). This means that the threshold is calibration dependent (e.g. it's something like 7.0 photoelectrons/ns for an LST). In reality, this should be applied in the step from R0 → R1, where the threshold is in Digital Counts and thus the threshold for switching should be (2^12-1) = 4095 for a 12-bit ADC and assuming the front-end amplifiers are linear in the whole digitization range.
I suggest we either:

remove the gain selector from CameraCalibrator and move it to SimTelEventSource (not ideal, since then you'd have to configure it, but that is currently where the R1 calibration happens)
just change CameraCalibrator to apply it to the r0 waveform (but remember in the future, this would not be available for real data)

That way we don't have to "calibrate" the gain threshold for each camera each time the DC/PE or pedestals change.

I did not realise this.
Thanks for the info.

This was discovered by using protopipe in the framework of the pipeline comparisons.
For this reason, as you can guess it is quite urgent for me to fix this in the development version and proceed.
I would like to propose a quick fix.
If I understand correctly from cta-observatory/cta-lstchain#197, there the problem can be solved using some artisanal code that they already had from before.
In the case of protopipe, I want to stick to ctapipe as much as possible, in order to minimize the subsequent code-migration efforts.
For me it doesn't seem a problem to stick to an MC-based analysis code for the moment (contrary to lstchain): I vote for the second choice suggested by Karl.
In this way, the only change to do in ctapipe would be the first line of _calibrate_dl0, which would become waveforms = event.r0.tel[telid].waveform.
The rest of this class method wouldn't change, because we want anyway to work with the R1 waveforms.
Of course, I can do this in protopipe already by hardcoding a child class of CameraCalibrator which overrides the class method, but as I said I would prefer to know that you agree on this solution also in ctapipe.
What do you say?

Oh nevermind, I didn't see the PR from Jason!

@HealthyPear Is this issue solved since #1167?

@HealthyPear Is this issue solved since #1167?

Since protopipe relies only on frozen releases of ctapipe, for the moment I hardcoded what I needed.
The changes you are referring to are currently hosted in the development (master) version of ctapipe, so I cannot use them now anyway.
What I did is the following,

[...]
from ctapipe.calib.camera.gainselection import GainSelector
[...]
class MyCameraCalibrator(CameraCalibrator):
    """Create a child class of CameraCalibrator."""

    def _calibrate_dl0(self, event, telid):
        """Override class method to perform gain selection at R0 instead of R1.

        Then select R1 waveforms using R0-selected gain channels.
        """
        waveforms_r0 = event.r0.tel[telid].waveform
        _, selected_gain_channel = self.gain_selector(waveforms_r0)

        waveforms_r1 = event.r1.tel[telid].waveform
        if self._check_r1_empty(waveforms_r1):
            return

        # Use R0-selected gain channels to select R1 waveforms
        _, n_pixels, _ = waveforms_r1.shape
        waveforms_gs = waveforms_r1[selected_gain_channel, np.arange(n_pixels)]
        if selected_gain_channel is not None:
            event.r1.tel[telid].selected_gain_channel = selected_gain_channel
        else:
            if event.r1.tel[telid].selected_gain_channel is None:
                raise ValueError(
                    "EventSource is loading pre-gainselected waveforms "
                    "without filling the selected_gain_channel container"
                )

        reduced_waveforms = self.data_volume_reducer(waveforms_gs)
        event.dl0.tel[telid].waveform = reduced_waveforms
[...]
        cfg = Config()
        cfg["ChargeExtractorFactory"]["window_width"] = 5
        cfg["ChargeExtractorFactory"]["window_shift"] = 2
        cfg["ThresholdGainSelector"]["threshold"] = 4000.0
        extractor = LocalPeakWindowSum(config=cfg)
        gain_selector = GainSelector.from_name("ThresholdGainSelector", config=cfg)

        self.calib = MyCameraCalibrator(
            config=cfg, gain_selector=gain_selector, image_extractor=extractor
        )
[...]

What you decided to do is anyway better for the future, so as for any new feature in ctapipe, I will simply import it and get rid of my hardcoded part.

fixed in #1167


Incorrect getEditsForFileRename with npm linked module

From https://github.com/Microsoft/vscode/issues/52022

TypeScript Version:  3.0.0-dev.20180616

Search Terms:
Code

git clone https://github.com/mjbvz/ts-update-paths-npm-link-bug
npm install
Open project in VS Code
Open file d.ts
Rename d.ts to a.ts

Expected behavior:
No edits returned from getEditsForFileRename
Actual behavior:
getEditsForFileRename changes the import for import { abc } from "sub"; to import { abc } from "./sub/src/types"
[Trace  - 2:34:49 PM] Response received: getEditsForFileRename (52). Request took 8 ms. Success: true
Result: [
    {
        "fileName": "/Users/matb/projects/san/a.js",
        "textChanges": [
            {
                "start": {
                    "line": 3,
                    "offset": 22
                },
                "end": {
                    "line": 3,
                    "offset": 25
                },
                "newText": "./sub/src/types"
            }
        ]
    }
]

Playground Link:
Related Issues:

This is a horrible bug

@tomergev Should be fixed in typescript@next.


Using this class with Bitcoin

Hi,
We can use it to connect to Bitcoin Network ?
If yes, how ?
Regards.

It should be compatible with all JSON-RPC 2.0 api.


Animations only pick the first clip

Issue description
The first ik clip is played only.
Steps to reproduce
Import fbx with 2 or more animations.
Minimal reproduction project (For SDK or engine issues)
No response
Using a released version?
https://github.com/V-Sekai/godot-ufbx/commit/b0ed6e769e173c2f37c85d660541cd4825407014
What OS? Any other relevant information? (godot-ufbx revision, Godot revision, System information)
Macos, Godot 4.2 master.

Fixed by https://github.com/V-Sekai/godot-ufbx/commit/0b14e4a5eb55333470b68475f479d4eb52bf923d.


sonic-ci-helper

Repository URL
https://github.com/SonicCloudOrg/sonic-ci-helper
New Repository Name
sonic-ci-helper-plugin
Description
This plugin help your CI/CD with Sonic Testing Platform.
GitHub users to have commit permission
@ZhouYixun
Jenkins project users to have release permission
zhouyixun
Issue tracker
GitHub issues

/hosting re-check

/hosting re-check

/hosting re-check

/hosting host

cc @Wadeck

cc @Wadeck

Thx!

Quick look at the code, we will need a more deeper audit.
Tracked internally as JENSEC-1848 where we will confirm the stuff and find others potentially.

/hosting host

Quick look at the code, we will need a more deeper audit. Tracked internally as JENSEC-1848 where we will confirm the stuff and find others potentially.

What should I do?

Wait till the security team do their audit

Wait till the security team do their audit

Ok，Thx

/hosting host

Hey @ZhouYixun ,
We were able to perform a deeper audit and here's some feedback for you:
Path traversal : User with job/Configure permission could access files and directories that are stored outside the WORKSPACE.

utils/HttpUtils.java#L70
utils/HttpUtils.java#L223
utils/HttpUtils.java#L250

Recommendation: Use hudson.FilePath instead of File. Refer to https://javadoc.jenkins.io/hudson/FilePath.html for details.
Please address our findings and ping us when you're done or if you have any questions.

@timja What should I do now?

Wait for the security team to check again

@ZhouYixun, the fix you provided is not effective.  You will need to explicitly check whether the provided path does not attempt to escape directory (i.e. does not contain ../../ )

@ZhouYixun，您提供的修复无效。您需要明确检查提供的路径是否不尝试转义目录（即不包含 ../../ ）

ok, I will fix it quickly

@ZhouYixun, the fix you provided is not effective. You will need to explicitly check whether the provided path does not attempt to escape directory (i.e. does not contain ../../ )

fixed, please check it again!

/hosting host

Thank you @ZhouYixun for you quick response,
The fix you provided is still not effective. The reason been that you are mixing FilePath and File usage.
I will recommend you to :

HttpUtils.java#L63 => Checking for ".." in paramBean.getScanDir() string

HttpUtils.java#L71 => Make sure path variable has job workspace as an ancestor

HttpUtils.java#L258-L260 use FilePath

HttpUtils.java#L71 use FilePath since the path variable content is from agent file which is not trusted by default.

Please let us know if you have any question.

@ValdesChe

HttpUtils.java#L63 => Checking for ".." in paramBean.getScanDir() string

i see FilePaht will check ".." and remove it

HttpUtils.java#L258-L260 use FilePath

this can fix

HttpUtils.java#L71
Here I need to upload a file, FilePath does not conform to the parameter type

@ValdesChe You can review again. Thx!

/hosting host

I don't think there is a related issue here, the path variable is obtained from FilePath.
Since I'm not sure about the user's final file size, I don't think it's a good idea to create a temporary file if the user's file is too large.
Is there something that might not be modified here because I found that the final FilePath also reads the file content the same way?

@ZhouYixun @yaming116 You will still have a problem with this fix due to HttpUtils.java#L71. Because if for some reason your path exists on controller, it will result in arbitrary file read from controller.
A simple solution will be :

read the file content using FilePath#readToString() for example,
create a temporary file on the controller File#createTempFile
read that file from the controller and use in the uploadAction function.

Here is a snippet of code to fix the issue : `
    final String fileContent = paramBean.getWorkspace().child(path).readToString();

    final File tempFile = File.createTempFile("uploadstep", "tmp");
    try (Writer w = new BufferedWriter(new FileWriter(tempFile))) {
        w.write(fileContent);
    }
    // upload temp file from controller here
    String url = uploadAction(build, tempFile, listener, paramBean);

`

I don't think there is a related issue here, the path variable is obtained from FilePath.
Since I'm not sure about the user's final file size, I don't think it's a good idea to create a temporary file if the user's file is too large.
Is there something that might not be modified here because I found that the final FilePath also reads the file content the same way?

I don't think there is a related issue here, the path variable is obtained from FilePath.

You obtain the path from the agent, but upload whatever file is at that location from the controller file system. If they're on different systems, this will generally fail anyway. Try your code with the agent or controller running inside a container, and the other outside, and see what happens.
Either you copy the file from the agent to the controller (as described in Valdes's suggestion), or you perform the upload from the agent directly, which involves defining your own https://javadoc.jenkins.io/jenkins/security/MasterToSlaveCallable.html / https://javadoc.jenkins.io/jenkins/MasterToSlaveFileCallable.html, which is more difficult (especially to troubleshoot when things go wrong).

@ValdesChe @daniel-beck  You can review again. Thx!

/hosting host

@ValdesChe All dependencies are completely open source, with one currently published in jitpack.io

/hosting host

@yaming116 @ZhouYixun  you forgot to add jipack.io in your POM repositories.
<repositories>
        .....
        <repository>
            <id>jitpack.io</id>
            <url>https://www.jitpack.io</url>
        </repository>
</repositories>

Please make the changes so we can move to the next step.
I have checked the fix with repository changes and it's effective.

@ValdesChe done

@yaming116 @ZhouYixun 您忘记在您的 POM 存储库中添加 jipack.io。
<repositories>
        .....
        <repository>
            <id>jitpack.io</id>
            <url>https://www.jitpack.io</url>
        </repository>
</repositories>

请进行更改，以便我们可以进行下一步。 我已经检查了存储库更改的修复，它是有效的。

we fixed , please check again! thx!

/hosting host

@ZhouYixun @yaming116 the fix looks good for me. The hosting process can be continued.

@ZhouYixun @yaming116 the fix looks good for me. The hosting process can be continued.

What should we do in next part?

What should we do in next part?

You have nothing to do. We will reach out to you very soon.

/hosting re-checl

/hosting re-check

Hi
It looks like you undid some fixes at some point, please fix the issues the bot is reporting

Hi
It looks like you undid some fixes at some point, please fix the issues the bot is reporting

ok,we will fix soon

/hosting re-check

/hosting host

@timja sorry, I forget jira password, what should I do?

@timja sorry, I forget jira password, what should I do?

https://accounts.jenkins.io/passwordReset


Refactor TextBuffer::GenHTML

Summary of the Pull Request
Modernizes style of code in TextBuffer::GenHTML and significantly simplifies structure of produced HTML. There is sill scope for improvement (customization in particular) but that's another story.

References

PR Checklist

[X] Closes #1846
[X] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[X] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Changed string to ostringstream for string building.
Changed 'sprintf_s` to c++ stream formatting.
Changed \r\n to
 in produced HTML.
Used already implemented function for UTF16->UTF8 conversion.
Now there is flat and minimalised list of s with fg and bg color.
Previous structure was.. weird. Each row was child span of previous row and there were empty spans with black color attributes in place of \r\n at end of the row. And all of this seemed unintended.
HTML text was unescaped, and it still is, becouse Word doesn't work with HTML entities, like <. But it seems to accept the invalid HTML with > from prompts. So if there is no text like <someTextThatNowBecomesATag>, it should work.

Problems/questions:

So what to do with HTML escaping?
Is try still needed?
Bg color past last character in row is incorrect (actually it looks correct most of time as it doesn't change. But run e.g. mc to see it). Neither I and the function's author seemed to know how to fix this, becouse they (me at least) don't quite feel like HTML.
The width of pasted text is infinite but it should be either terminal's size or copied text's size. And it again looks like HTML thing.
If selection doesn't start at first character, this fact is ignored (the text is pasted as if it was the first character). No good, right?

@DHowett-MSFT, is there anything else you want to see here? I think the CSS thing was resolved and this is otherwise good to merge.


mc command deprecation audit

Moving deprecated mc commands to a separate section is relatively recent, there are some additional ones that should also be there. For example, mc admin top.
Identify these earlier deprecated mc commands and relocate them to the Deprecated Commands section.

https://pypi.org/project/sphinx-reredirects/
goes into conf.py, but might be nice to yaml-ize and then convert to a dict

Findings:
These are in the list of deprecated commands, no separate page
Deprecated because renamed

mc admin policy set
mc admin policy set
mc admin policy unset
mc admin policy update
mc admin replicate diff
mc admin replicate edit
mc admin replicate remove

mc admin replicate update

replicate update --sync deprecated, use --mode

Streaming options for notify_nats configuration key deprecated, others ok

streaming
streaming_async
streaming_max_pub_acks_in_flight
streaming_cluster_id

mc admin heal deprecated options, others ok
But docs say we may still tell someone to use them?
Are there replacement commands?

--scan
--recursive, r
--dry-run
--force-start, f
--force-stop, s
--remove

Sticking this back in to-do for the moment. Partly complete, the long tail of tidying was always going to be a background task.


bugfix for iOS < 7.0 (boundingRectSize is not supported before iOS 7)

bugfix for iOS < 7.0 (boundingRectSize is not supported before iOS 7)

Thank you for the fix!

Thank you to accept the fix.
Can you make a new release (in this case should be 3.8.1) and update the .podspec also so I can update it with cocoa pods?

Il giorno 14 apr 2016, alle ore 21:32, Yannick Loriot<EMAIL_ADDRESS>ha scritto:
Merged #38 https://github.com/yannickl/YLProgressBar/pull/38.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/yannickl/YLProgressBar/pull/38#event-627885180

That's done! ;)


django debug toolbar for better profiling and debugging

django-debug-toolbar is a PYPI package that provides great UI for profiling and debugging.
It shows as a hovering green badge in development only.

(powerful sql profiling, I will use this to debug performance issues)

The toolbar is capable of many things:

You can drag it around
You can expand and collapse it
It shows varaibles in settings.py, shows context variables used in the rendering of each template
shows SQL qeuries and their time taken
shows logging messages
does profiling if you want
highly configurable through settings.py

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@35af68b). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #278   +/-   ##
=========================================
  Coverage          ?   83.57%
=========================================
  Files             ?       56
  Lines             ?     2100
  Branches          ?        0
=========================================
  Hits              ?     1755
  Misses            ?      345
  Partials          ?        0

Impacted Files
Coverage Δ

CreeDictionary/utils/profiling.py
100% <ø> (ø)

CreeDictionary/tests/utils_tests/test_profiling.py
100% <100%> (ø)

CreeDictionary/DatabaseManager/test_db_builder.py
23.17% <100%> (ø)

CreeDictionary/CreeDictionary/urls.py
100% <100%> (ø)

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 35af68b...13f341a. Read the comment docs.

Feel free to commit or ignore my documentation nitpicks.

I'm Chinese.


Python 3.11 support: Don't use asyncio.coroutine if it's not available

Python 3.11 drops the deprecated @asyncio.coroutine and
asyncio.iscoroutinefunction.
Using a wrapper with @asyncio.coroutine in __get__ wasn't
necessary (the future from asyncio.ensure_future is awaitable,
and the wrapper doesn't do anything asynchronous), so the
logic can be simplified to just call asyncio.ensure_future
(to schedule the task and store the result when it's
available).
Tests for @asyncio.coroutine are skipped on 3.11+.
An unnecessary call to asyncio.coroutine in tests is
removed: it's not necessary to call this for async def
functions.

I rebased this against 2.0.1 as https://github.com/pydanny/cached-property/pull/359 .


WavTap fix status

It was so nice and simple. =)

Works in Sierra.

Restart computer in recovery mode ⌘R

In Terminal type
csrutil disable

Restart computer

Run Installer


Add setLocalTime method

Adds the setLocalTime method to set the device's time to local time.
Known issue on verity sense and OH1 from the official sdk documentation: the change will only occur after restarting the device.

@serenity-innovation Are you planning to continue work on this?


Install netopeer2 error

Hi,
When trying to install netopeer2 with 'sudo make install' command on Ubuntu 18.04, there is an error shown as below:

Could you please help? Thanks.

Run # ldconfig.

Thanks!


Incompatible with Ghidra 10.1.3

Hi, thanks for the issue. Can you provide more information?
Does is also not work if you compile it from source or is just the released file not working?

Hi, sorry for the late response
I'm using the release file, not sure how to build from source
It wasn't a big deal, I just downgraded to 10.1.2 for what I had to use it for.
The specific error I ran into was attempted to install the extension in 10.1.3, Ghidra responded with the incompatibility message.

This is expected behaviour, as the releases are built for specific Ghidra versions and don't work on others. Hence the steps in the README to build from source.
I'll try to release updated versions, but I can't guarantee, because Ghidra releases new versions frequently.

@muffinjets To anyone that can't build it or to use the release with any version of Ghidra, open the 'extension' file and change the version to whatever you're running ex. '10.3.2'


v1.3.0

Status
READY/IN DEVELOPMENT/HOLD
Breaking Changes
YES | NO
Description

Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[x] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🧹 Code refactor
[x] ✅ Build configuration change
[x] 📝 Documentation
[ ] 🗑 Chore

#11


Build and push docker images on successful build

Context
This allows us to deploy using Docker instead of localgit.
Changes proposed in this pull request

Delete previous deploy section
Pull in the docker integration on Travis
On success on the master, staging, or prod branches, build a docker image (tagged with the branch name) and push it to our private container registry

Guidance to review
Review without whitespace changes.
I've tested this locally by running the commands manually, but the real test is when we merge this if it successfully gets picked up.
There's quite a lot of duplication of the batdevcontainerregistry name but I'm cool with it because I think we'll revisit this very soon™.

🤞

Very clean!


added image secrets for private repos

can be added under spec
image-pull-secrets:
- name: pull-secret-name
Great work on the operator. I like where it is headed stevesloka

I'm going to play around a bit with the pull secrets, but would you mind updating the docs with the username piece? I've got some work to document the whole TPR since there are more and more options coming to it.

README has been updated

Thanks so much for thePR @adamlphillips!!


Voting should return a client exception if the given post / comment is archived

As shown by reddit/reddit#1455 , reddit does not return any form of error, and even browser side it updates as if the vote has gone through. However in reality, the vote is rejected server side, and as such, it doesn't count. For the sake of minimizing the confusion done on reddit's end, it may be good to throw in a simple if self.archived: raise praw.errors.ClientException('stuff here'). I'd write up the PR but if I'm recalling correctly tests will still fail because betamax has updated; so I'm just leaving this here as a reminder.

I think throwing a client-side exception would be suitable for submissions/comments that we definitively know are already archived. However, such a change would be a breaking change, and would require a major version bump. This feature could be one of the first few things in the PRAW4 branch.

I'm going to close this issue as I don't want to increase PRAW's complexity for such a feature. Reddit's source should be updated to return an exception in such a case at which point PRAW should automatically raise an appropriate APIException.


Add test ids

What this PR does / why we need it:
Adds ids to tests so that they can be found.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/assign @vatsalparekh

/unassign @vatsalparekh

@ILpinto changes incorporated Please review again, thanks!

LGTM


F#589 allow duplicated joining fix

Description

Allow join with duplicated ID or email which pre-rejected information.
Related Issue :

#589
How Has This Been Tested?

Request new sign up to Metatron with new account
Reject sign up request with admin account
Re sign up with same id or email which were rejected before.

It have been changed 'User identifier' into whole pages.
en)
User name -> Full name
ID -> Username

ko)
사용자 이름 -> 이름
아이디 -> 사용자 이름
Additional Context

run build
deploy to 2


Error in Adobe Reader with some fonts

Some fonts seem to raise errors, when the PDF is opened in Adobe Acrobat Reader. Opening them in Firefox or Chrome works fine. In Edge, weird characters are displayed. See this example:
const pdf = new jsPDF('p', 'pt', [500, 500])

pdf.setFont("Courier", "normal")
pdf.text("Some text using different fonts", 20, 20)

pdf.setFont("Rounded Mplus 1c", "normal")
pdf.text("平仮名", 20, 50)

pdf.save("fonts.pdf")

I use this font file:
fonts.zip
I use the current master of jsPDF.
Out of curiosity: When I remove the %ºß¬à header line from the PDF, Adobe Reader can open the file but the text is still wrong. What does this line do? The respective commit only says "update jspdf".

The issue seems to be the spaces in the font family name: "Rounded Mplus 1c". In the respective resource dictionaries, these are not escaped:
<<
/Type /FontDescriptor
/FontName /Rounded Mplus 1c
/FontFile2 19 0 R
/FontBBox [-8 -280 995 855]
/Flags 32
/StemV 0
/ItalicAngle 0
/Ascent 855
/Descent -280
/CapHeight 855
>>

Yes you are right.

Should be fixed with #2332


Implement Dynamo-like replication scheme

you read it in school, now time to implement it: https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf

#19 implements disk persistence, and what replication scheme/algorithm to implement still requires research