Edit long meta descriptions

Edit long meta description for better SEO.

@DaniHalfin - PR is ready for final review. This is related to the SEO project.
Thank you.
cc: @kenwith

@DaniHalfin


Unhandled Exception: PlatformException(error, Failed to find provider com.google.android.gms.phenotype for user 0; expected to find a valid ContentProvider for this authority, null)

I/ViewRootImpl(17493): jank_removeInvalidNode all the node in jank list is out of time
E/flutter (17493): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, Failed to find provider com.google.android.gms.phenotype for user 0; expected to find a valid ContentProvider for this authority, null)
E/flutter (17493): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter (17493): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:321:33)
E/flutter (17493):
E/flutter (17493): #2      MethodChannel.invokeListMethod (package:flutter/src/services/platform_channel.dart:335:40)
E/flutter (17493): #3      BarcodeDetector.detectInImage (package:firebase_ml_vision/src/barcode_detector.dart:200:38)

Running the demo,Scan qr code of album, a small number of phones will work, most phones will report this error (firebase_ML_vision /example)

Hi @EvnLi
Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
Thank you


realsense2_camera: 3.2.2-2 in 'galactic/distribution.yaml' [bloom]

Increasing version of package(s) in repository realsense2_camera to 3.2.2-2:

upstream repository: https://github.com/IntelRealSense/realsense-ros.git
release repository: https://github.com/IntelRealSense/realsense-ros-release.git
distro file: galactic/distribution.yaml
bloom version: 0.10.7
previous version for package: 3.2.2-1

realsense2_camera
* Support Galactic and Rolling
* Fix reading yaml config file
* No tf broadcaster object if publish_tf is set to false
* Add udev-rules installation to debian
* update ros2 launch examples (demo_t265_launch.py, rs_t265_launch.py, demo_pointcloud_launch.py)
* fix rs_multi_camera_launch.py to include default separate node names.
* Add support for L535
* QoS parameters to be applied for all publishers
* Imu_default QoS changed to hid_default
* Pointcloud_default and info_default QoS changed to qos_default
* Contributors: Guillaume Doisy, TSC21, anaelle, doronhi

realsense2_camera_msgs

No changes

realsense2_description
* Added imu frames to _l515.urdf.xacro
* Add conditional param use_mesh
* Add demo_pointcloud_launch.py
* Contributors: Simon Honigmann, doronhi

#30093 was merged but built wrongly. Build fails: https://build.ros2.org/job/Gsrc_uF__realsense2_camera__ubuntu_focal__source/28/
This PR is built after ros-galactic-librealsense2 is available meant to replace it.


creating catmux sessions breaks with version 0.3.4?

the command catmux_create_session example_session.yaml throws the error
no server running on /tmp/tmux-1000/catmux
Using tmux config file: /home/myuser/.local/lib/python3.8/site-packages/catmux/resources/tmux_default.conf
Traceback (most recent call last):
  File "/home/myuser/.local/bin/catmux_create_session", line 142, in <module>
    main()
  File "/home/myuser/.local/bin/catmux_create_session", line 130, in main
    print(" ".join(command))
TypeError: sequence item 4: expected str instance, PosixPath found

This happens only with the latest version (0.3.4)
I used a docker container with Ubuntu 20.04.

Thank you for the report, I'll have to investigate this.

Confirmed locally.


New member notification

Next steps are:

include new user name in notification
(potentially) exclude new user from new user notification
test


added largest_fizzbuzz.py

Largest Fizzbuzz
This pull request adds a new file called largest_fizzbuzz.py
This program takes in an input of a number, and returns the highest number that is a fizzbuzz that is still equal to or below the max limit. If there is no number that is a fizzbuzz, it returns -1.
examples:
largest(1000) -> 990
largest(15) -> 15
largest(3) -> -1 #since no number was found, it returned -1

neat, thanks :)


Fix newRegistration type for pins endpoint

I'm using the Go SDK, and whenever I tried to get the token, I was getting the following error: Error: error unmarshalling json response body: json: cannot unmarshal bool into Go value of type string. I downloaded the SDK code and changed the NewRegistration type to bool, and it works now. I assume it's the place where the type should be changed.

Great catch!
My current tooling sets nullable items to strings by default, but I should update that functionality.
This is a great PR, I'm going to make a small change later and merge this in. Thank you!

Hi @LukeHagar! I checked plexgo v0.10.0 and it looks like this change isn't reflected there (as well as #31). Is it intentional, or did I forget to make some other changes that are required?

Could be a CI/Automation issue, I'll take a look.

The current type is definitely generated correctly
https://github.com/LukeHagar/plexgo/blob/main/models/operations/getpin.go#L179
Can you validate it updated successfully?

Hmm, it looks like I experienced some kind of a caching issue with Github. Before I posted here, go get seemingly fetched v0.9.0 while showing that it fetched v0.10.0, and Github showed old code when I was choosing either main branch or v0.10.0 tag. I see the new code now here on Github, and re-running go get fetched the correct version with the changes included. Thank you for checking and sorry for bothering!

Maybe that was simpler than the cashing issue as I found another newRegistration field that still wasn't bool, so maybe I saw the code for this endpoint when I first experienced problems. (I checked for #31 as well, but might have wrongly understood that as well.) #32 fixes it.

Hi @LukeHagar! Sorry for bothering you again. I updated plexgo to v0.10.1, and found a strange thing: NewRegistration is still a string in GetTokenResponseBody. But NewRegistration is a boolean in plex-api-spec. How does it work? Should I fix something else in this repo?


"self.log_level" required to be string instead of int, while optimum convert it into int in function init

System Info
optimum and transformers are all installed from source code.

Who can help?
No response
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
the shell command to reproduce:
python -m torch.distributed.launch --nproc_per_node=1 /optimum/examples/onnxruntime/training/text-classification/run_glue.py --model_name_or_path distilbert-base-uncased --task_name mnli --max_seq_length 128 --learning_rate 3e-6 --do_train --output_dir /dev/shm --overwrite_output_dir --max_steps 200 --logging_steps 20 --per_device_train_batch_size 1300 --fp16 --optim adamw_ort_fused
the error log is

the root cause is the transformer PR https://github.com/huggingface/transformers/pull/19239
Expected behavior
the command should be runnable with default args.

Hi @zhijxu-MS, thanks for reporting!
I linked a PR that will fix the bug, and I added a test for DDP to track the breaking changes led by the updates in transformers.


Updated dependencies, fixed warnings

DO NOT MERGE YET!

Bumped to 0.5.0

I think we should fix the "*" dependencies in the png library.

Should wait for https://github.com/PistonDevelopers/image-png/issues/7#issuecomment-155510812.

@nwin r+?


📣   maintainer update  📣

I'm starting a full time position next week, and am focusing on some other projects* as well. As such, while I intend to see v4 through to a stable release, I won't be spending nearly as much time as a proactive maintainer, and will be in the discord less often.
This means that development will likely slow dramatically. If we have someone else step up as core maintainer I'll close this, which hopefully #762 may help with.
Anyhow, I think with v4, graphql / graphql_flutter have much more stable foundations in their utilization of libraries from gql dart. I'm mostly creating/pinning this for the sake of transparency of the project's status.

* my twitter & youtube for anyone interested

I would very much like to help with maintaining this, however I am not very familiar with the internals of GraphQL. Are there any resources available to get me up to speed? Thank you for this great library btw!

@MrCreeper1008 right now other than the readmes, api docs, and code, there isn't much. #762 should help, so subscribe to that for updates

a video walkthrough would be very helpful!

I would GitHub Sponsor it if there's that option?

I would GitHub Sponsor it if there's that option?

@joekendal I do have a github sponsors, but now that I have a full time job it probably makes more sense to donate to the open collective

@joekendal I do have a github sponsors, but now that I have a full time job it probably makes more sense to donate to the open collective

closing in favor of #894


[doc] Fix daily script

Log output of the diff command was redirected to the stderr if the output type is not table (See: #1534).
In this case the No results line was not in the output so we though that we found some bugs.
Redirecting the stderr to stdout will solve this problem.

Please update the daily script to use the json ouptut of the diff instead of the text output so it will be more stable in the future.


Tag release v0.0.2

@dotsbb Can you tag https://github.com/piwik/piwik-sdk-android/commit/9237099a7df67d50e78e4f3956428443274858a6 on as v0.0.2 and publish it as release under https://github.com/piwik/piwik-sdk-android/releases ?

Actually,  https://github.com/piwik/piwik-sdk-android/commit/a2c8ee1e519684b10d03256ec5aa77aaa8052dac
I'll submit a PR

Nevermind, you can submit tags via PR :astonished: , you'll have to do that.

Done :+1:


Help with SSLError: [Errno 185090050]

Need help resolving error below.  My key and cx work in another Goole sample at the very bottom, but not with google-api-python-client.
Thanks in advance.
Python 2.7.6 Mac OSX 10.10.2
Enabled Content API for Shopping.
Source:
#!/usr/bin/env python
-- coding: utf-8 --

Copyright 2014 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""Simple command-line example for Custom Search.
Command-line application that does a search.
"""
author =<EMAIL_ADDRESS>(Joe Gregorio)'
import pprint
from discovery import build
def main():
# Build a service object for interacting with the API. Visit
# the Google APIs Console http://code.google.com/apis/console
# to get an API key for your own application.
service = build("customsearch", "v1",
developerKey="")
res = service.cse().list(
q='lectures',
cx='',
).execute()
pprint.pprint(res)

if name == 'main':
main()
========== Last 2 lines of Traceback ==========================
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 141, in init
ciphers)
ssl.SSLError: [Errno 185090050] _ssl.c:343: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
================== Another demo program that does work =====================
import urllib2
import simplejson
url = ('https://ajax.googleapis.com/ajax/services/search/images?' +
'v=1.0&q="ANd9GcThbeJBfVq0WNfRTiPCO4fbjFDvlatP9aMA7r6NzGMTXIv0qMCA8z8i-8yZ"&exactTerms="plus"&fileType="image"&relatedSite="amazon.com"&&userip=')
request = urllib2.Request(url, None, {'Referer': "https://www.google.com/cse/publicurl?cx="})
response = urllib2.urlopen(request)
Process the JSON string.
results = simplejson.load(response)
print results

Please use

```python
fenced code block
```

to put code in github issue.

@methane - Yup, that makes it look nice!
So I found that if I run python as admin (sudo python), the problem goes away.
Any ideas what permissions might be wrong?  I have repaired permissions.
Thanks


Typhoeus has a return code of OK when successful

Whenever Typhoeus successfully completes a request, the return code is :ok. This pull request adds this return code to the adapter.

Typhoeus sets return_code: :ok for HTTP statuses other than 200-299
e.g.
irb(main):001> require 'typhoeus'
=> true
irb(main):002> response = Typhoeus.get("http://localhost:5005/500")
=>
#<Typhoeus::Response:0x00007f862c8e7b78
...
irb(main):003> response.return_code
=> :ok
irb(main):004> response.code
=> 500
irb(main):005>

@nrw505 thank you for reporting. Do you know what are the other return_code's and for what status codes should these be returned?


How to rescue YT::Errors

I'm getting an error, how do I rescue the error or at least access the exact error message. I am having issues uploading thumbnails and I can't narrow down why it's not working.
Thanks

Hello @zerogee00 – to rescue Yt::Error simply… rescue Yt::Error. For instance:
def your_method_to_upload_thumbnails
  account = Yt::Account.new access_token: 'ya29.1.ABCDEFGHIJ'
  video = Yt::Video.new id: 'MESycYJytkU', auth: account
  video.upload_thumbnail 'http://example.com/remote.png'
rescue Yt::Error => e
  # here you have access to the exception in the variable `e`.
  # You can use `puts u` or a debugger like `pry` to check what's going on
end

Also, remember that if you set the log_level to devel you will be able to see all the HTTP requests made by Yt, so you can see which request actually failed. To do so, simply add this to your code (anywhere; recommended: in an initializer)
Yt.configure do |config|
  config.log_level = 'devel'
end

Thanks!  The error rescuing is working well, but the thumbnails still won't upload.
{"error"=>{"errors"=>[{"domain"=>"youtube.thumbnail", "reason"=>"forbidden",     "message"=>"Forbidden", "locationType"=>"header", "location"=>"Authorization"}], "code"=>403,     "message"=>"Forbidden"}}

A request to YouTube API was considered forbidden by the server

But the same account auth was just used in the script to upload a video without error.
Do I need to refresh the token before attempting to upload the thumbnail?

No, you don't. But you should do this: go to https://www.youtube.com/features and check that you have the following permission.

(Maybe I should add that to the guides)

Thank you! That was the problem.
Is there any way the gem can return that as the error?
'You do not have permission to upload thumbnails"
Adding that to the guides would be very helpful too.
Thanks again.


Create a lightweight maven profile with respect to the external media libraries

Try to create another maven build profile in order to build and package an artifact from which excluded all the external media libraries not needed like OpenIMAJ etc.
Update: This issue created back in 2015-12-28 those imported in github manually.

Closing issue #7 working on 1ea518d, adding optional tag for each third party library regarding heavy transitive dependencies.


EAGLE-114: Enable RAT check and fix missing license headers

Enable rat check in pom
Added missing headers in java sources, shell scripts, config and doc files. Some of the test files and json files are excluded since these formats don't support comments.
The files under webapp in eagle-webservice module are deferred in this patch. Those will tracked in a separate patch.
Compilation, rat check (via maven verify) and unit tests pass with the patch.

Everything seems good except the license header for markdown files.

The pull request looks good for me. Only problem is that the apache-rat plugin hands forever when I run mvn apache-rat:check. Could you please help investigate and fix it?

@haoch I alway used mvn verify which invokes the rat check

@haoch It works in my setup. Takes a little time at the beginning thought. Please note that the check goal will run with default configuration and will not apply the explicit excludes listed in the pom. You'll need to run the specific execution id, eg mvn apache-rat:check@header-check
The verify (or install etc) goals run with the specified execution id.

@pmujumdar LGTM, will merge, thanks for your contribution.


Wrong default value

datum =
    Enc.object
        [ ("bar", Enc.int 4)
        ]

sub =
    D.succeed identity
        |> D.required "bar" [] (D.intOr 3)

decoder =
    D.succeed identity
        |> D.required "foo" [] sub

result =
    D.decode decoder datum

-- produces

{ errors = [Failure "Expecting an OBJECT with a field named `foo`" <internals>]
, value = 4 -- not 3 as expected
}

https://ellie-app.com/rqsFjhY6WpQa1
This is caused by the implementation of field:
    decoder
        |> Decode.andThen
            (\dec ->
                Decode.field name decoder
                    |> withDefault (Validated [] dec.value)
                    |> flatten
                    |> toDecoder
            )
        |> D

where the decoder is run without Decode.field in the wrong context order to get the default value. However if the decoder succeeds in that context, than an incorrect value is produced there.
I'd imagine this failure mode would be quite common when decoding tree data-structures.

Brought the example into the test suite, and got it passing with the updates we discussed on slack. v3 has the fix now. Thanks for catching this!


If you can't see a question used in an exam, you shouldn't be able to see an exam

You can be granted access to an exam, but you might not also have access to all of its questions. In this case, a "forbidden" page should be shown explaining that the exam contains questions you haven't been given permission to see.

Can I work on this issue?

Hi @MaanasArora, thanks for offering to help. No need to ask permission - if you send a pull request, I'll have a look at it.
Make sure you have a look at our page on contributing to Numbas first.

Hey, this issue still open? Can I work on it?

@Bhavya-Ahir yes, it's still open. I'd be glad to receive a pull request fixing it.

Hello,
I get this error when I tried installing all the requirements, I can't find a solution
Please help!
ERROR: Command errored out with exit status 1:
 command: 'c:\users\bhavya\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\bhavya\\AppData\\Local\\Temp\\pip-install-017mxa_u\\borgbackup\\setup.py'"'"'; __file__='"'"'C:\\Users\\bhavya\\AppData\\Local\\Temp\\pip-install-017mxa_u\\borgbackup\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\bhavya\AppData\Local\Temp\pip-install-017mxa_u\borgbackup\pip-egg-info'
     cwd: C:\Users\bhavya\AppData\Local\Temp\pip-install-017mxa_u\borgbackup\
Complete output (5 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\bhavya\AppData\Local\Temp\pip-install-017mxa_u\borgbackup\setup.py", line 188, in <module>
    raise Exception('Unable to find OpenSSL >= 1.0 headers. (Looked here: {})'.format(', '.join(possible_openssl_prefixes)))
Exception: Unable to find OpenSSL >= 1.0 headers. (Looked here: /usr, /usr/local, /usr/local/opt/openssl, /usr/local/ssl, /usr/local/openssl, /usr/local/borg, /opt/local, /opt/pkg)
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
`

@Bhavya-Ahir it looks like you don't have the OpenSSL development libraries installed. I don't use anaconda so I don't know what you need to do to get it installed, but hopefully that's a pointer in the right direction.

The "page not found" or "access forbidden" message needs to say why you can't see the exam.

... and that's already in! Whoops


Submit additional Form Data for each upload fails on final upload

Expectation:
After pressing "start upload", $_POST for each uploaded image should contain the text entered in the title[] field.
Issue:
The $_POST for the last image uploaded did not contain any title[] data.
Setup:
Deployed demo on php server, added code suggested on wiki under "How to submit additional Form Data", section: "Setting formData on upload start for each individual file upload".
Specifically, I added the following line to the appropriate place in the template-upload script within index.html:
Title: <input name="title[]" required>
I also added the following callback to jquery.fileupload.js
submit: function (e, data) {
	$('#fileupload').bind('fileuploadsubmit', function (e, data) {
		var inputs = data.context.find(':input');
		if (inputs.filter('[required][value=""]').first().focus().length) {
			return false;
		}
		data.formData = inputs.serializeArray();
	});
}, // .bind('fileuploadsubmit', func);

Test:
I loaded index.html, selected multiple images, then pressed "Start Upload".  I examined the results by adding the following to the top of index.php
ob_start();
var_dump($_REQUEST, $_POST, $_FILES);
$result = ob_get_clean();
// write $result to file

Note:
If I add some other input field to the to the form in index.html, for instance:
<input type="hidden" name="example1" value="test">
the last $_POST (for the last image uploaded) will contain the data from that field.  It makes me think that on the submit for the last image, the title[] data added by fileuploadsubmit gets overwritten by the static data in the form.

I can get a hold of the last of the title[] data by modifying the bind list accordingly:
   $('#fileupload').bind('submit fileuploadsubmit', function (e, data) {
But it only works if there is no other input fields in the form.  In the case that there are other input fields, the last file submission's $_POST data will still be missing the title[] data, and instead have the form's static input data.

I added a breakpoint to the end of _initXHRData.  On the first pass, there's no formData field in options.  On subsequent passes, there is a formData field in options, and it contains the name/value of my added field (title[]).


Added whitespace to formatted codeblock, fixes markdown header links …

…for content blocks below the fix

fixes #10

Thanks Ryan. Good catch and cheers for fixing.


Enhancement: Add Step Functions to support resourcegroupstagging

Per the AWS docs Step Function support the Resource Groups Tagging API.
It looks like there is a custom implementation for tags for step functions. @bblommers is there a special case with Step Functions or is this a simple use-case to add this support?

Hi @zkarpinski, that should be relatively straightforward.
The Resource Groups Tagging implementation in Moto simply checks the backend for each service, and uses the tags already stored there. So it would be a matter if adding an additional logic-block for SFN here:
https://github.com/getmoto/moto/blob/c6aea5223488141e64d5ee9efa7d5c9200084e54/moto/resourcegroupstaggingapi/models.py#L205

@bblommers Easy enough thank you for the guidance. Submitted a pr!


⚠ Bofrost.nl has degraded performance

In b6c1fc9, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1000 ms

Resolved: Bofrost.nl performance has improved in 7633906.


Improve CLI usage documentation on windows

On windows using Command Prompt or Powershell, when we need to use the intermediate -- to pass through arguments, the -- needs to be enclosed in quotations
For example:
cordova build android --release "--" --packageType=apk

All of our examples show MacOS / Linux usage. This is something I personally help people resolve in discussions/slack, but can also be a source of bug reports.
Below is a list of links that I found that uses pass through CLI args, but this list may not be exhaustive.
https://cordova.apache.org/docs/en/12.x/reference/cordova-cli/index.html
https://cordova.apache.org/docs/en/12.x/guide/platforms/android/index.html

Alternatively instead of having a "windows" and "unix/bash" version of the command line,  cordova build android --release "--" --packageType=apk does appear to work in bash environments as well. So avoid creating too much verbosity we could just show all CLI examples to use the "--" separator, with the quotations.


Added support for Generic Methods (used by .NET)

I did not modify the tools to support generic methods. The visitors should add the following case:
[&](GenericMethodIndex var) { }

The MethodDef class now has a new method called GenericParam.

This change is causing any code in the tree that visits a TypeSig to break. Example: https://github.com/Microsoft/xlang/blob/master/src/tool/idl/main.cpp#L213.
I'm interested in what @kennykerr and @Scottj1s think about this. On the one hand, making meta_reader more broadly usable seems like a good thing. On the other, any WinRT TypeSig parsing code will need to add a handler for GenericMethodIndex even though WinRT projections will never encounter generic methods.
Personally, I come down on the side of "make meta_reader more broadly usable", but that means this PR will need to fixup any existing TypeSig visitor to add a GenericMethodIndex visit branch - even if that branch simply will throw_invalid since generic methods are not valid in WinRT.

I don't mind the extra flexibility but yes, please confirm that you haven't broken anything. In particular, build and run src\tool\cppwinrt to make sure it continues to work (since it's the most exhaustive user of the metadata reader). You can also add a generic catch-all visit handler that does nothing if needed. Naturally we need a clean build before we can merge.

good catch @devhawk.  I agree with you.  let's make the metadata library broadly usable and add the new visit case where needed to fix up existing parsers.

Since MVars are not valid WinRT constructs, I think we should throw in the GenericMethodIndex visit method.

This change is causing any code in the tree that visits a TypeSig to break. Example: https://github.com/Microsoft/xlang/blob/master/src/tool/idl/main.cpp#L213.

Did you already see it is breaking the tools?
I did a quick test before leaving (I am on a plane for SEA right now) and it didn't break reading the standard generic types.
Which winmd is better for testing on your experience?

You can see the broken PR build here: https://dev.azure.com/msft-xlang/70756bba-8415-4c27-8916-4cdb4503623d/_build/results?buildId=930
Typically, we recommend using the contract metadata files, the ones that live under 'C:\Program Files (x86)\Windows Kits\10\References'

If it's just quick smoke test you can also use the metadata here: C:\Windows\System32\WinMetadata
For the cppwinrt you can use "-in local" argument to use WinMetadata.

We had a face to face conversation with @kennykerr about this PR two weeks ago.
Please let me know if I can still do something to make this PR be approved.

Sorry for the delay. I'll take a look at this soon. Just been a really busy few weeks. It was great to see you at the MVP summit!

No worries @kennykerr, take your time!
It was a great pleasure to meet you and your team. Thank you again!

I've got the build breaks fixed now. All that remains is to agree on the name. I've seen GenericMethodTypeIndex proposed. Do we have consensus?

Sounds good, thanks Ryan!


Update versions, etc. in build docs

Minor doc updates per comment https://github.com/bigdatagenomics/adam/issues/1432#issuecomment-285584362

Coverage decreased (-0.2%) to 76.205% when pulling ec8d44c1aa40d7394370ea0199413134507dd02c on heuermh:readme-build-fixes into 07c1982fb6fafb959b96d4c3cb83fa7edbe25721 on bigdatagenomics:master.

Coverage remained the same at 76.399% when pulling ec8d44c1aa40d7394370ea0199413134507dd02c on heuermh:readme-build-fixes into 07c1982fb6fafb959b96d4c3cb83fa7edbe25721 on bigdatagenomics:master.

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

Merged! Thanks @heuermh!


⚠ Carbubu has degraded performance

In 7777012, Carbubu (https://carbubu.fr) experienced degraded performance:

HTTP code: 200
Response time: 3192 ms

Resolved: Carbubu performance has improved in 65c0911 after 10 minutes.


i try run this project,but its not work

my node version is 18.0.0
my npm version is 8.6.0

A common resolution for this issue is to run: npm cache clear --force
https://stackoverflow.com/questions/69567381/getting-cannot-read-property-pickalgorithm-of-null-error-in-react-native


Enhancement: Use hxCodec instead for compatibility on desktop

Please check for duplicates or similar issues before creating this issue.
What is your suggestion, and why should it be implemented?
There is a library called hxCodec which supports both web and desktop targets.
We should probably switch to this instead of using the current video code.

This is a port project to replicate FNF v0.2.8 as close as possible. I'm not aware of this being anywhere in the Newgrounds exclusive version. If you can find any evidence of this being in v0.2.8, please show me and I'll happily implement this. Otherwise, this will not be implemented.

This is a port project to replicate FNF v0.2.8 as close as possible. I'm not aware of this being anywhere in the Newgrounds exclusive version. If you can find any evidence of this being in v0.2.8, please show me and I'll happily implement this. Otherwise, this will not be implemented.

The official Newgrounds version uses some custom code to play videos. But it is only designed to run on the HTML5 target if I remember. So, for make videos running on other targets, this may be a great idea to use a library.
Take for example FlxAnimate: you used this library instead of reverse-enginnering the custom code of the official web version of the game.

The official Newgrounds version uses some custom code to play videos. But it is only designed to run on the HTML5 target if I remember. So, for make videos running on other targets, this may be a great idea to use a library.

Ninjamuffin made videos work via the OpenFL Video class (which, as you mentioned, only works on HTML targets), as can be seen here.

Take for example FlxAnimate: you used this library instead of reverse-enginnering the custom code of the official web version of the game.

I reverse-engineered FlxAnimate first, then copied some code over from the library just to make the code neater, not to update it. If you compare the code for FlxSymbol from this repository to the FlxAnim from the library's repository (it was renamed from FlxSymbol to FlxAnim), you'll see it's not exact, as v0.2.8 uses outdated code.

Ninjamuffin made videos work via the OpenFL Video class (which, as you mentioned, only works on HTML targets), as can be seen here.

Actually, hxCodec supports both HTML5 and desktop (not Mac, but we are waiting for the needed files). So, even if it is not part of the original FNF Newgrounds version, it would be just better to switch to the library.

Thank you for your interest. This would be better suited for a fork of this project, as this is supposed to be as close to a 1:1 copy to the source content, therefore additional libraries will not be added into this project. I have had thoughts of making a v0.2.8+ version for general improvements and patches. If I ever get the inspiration to do it, I may include hxCodec and/or a newer version of the FlxAnimate library to fix the cutscenes.


Module setup out of date

Should update module definition using more recent go mod init's go.mod/go.sum instead of Gopkg.lock/Gopkg.toml.

Putting together a PR to fix this

So what changes should i make to my Dockerfile?
could not find project Gopkg.toml, use dep init to initiate a manifest


[rke2] unable to create an rke2 cluster with more than 1 node

Rancher Server Setup

Rancher version: v2.6-head (b44d54a)
Installation option (Docker install/Helm Chart): docker

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): n/a

Proxy/Cert Details: n/a

Information about the Cluster

Kubernetes version: 1.22.7, 1.21.11 rke2
Cluster Type (Local/Downstream): downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): aws

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): admin

Describe the bug
user is unable to provision a downstream cluster with multiple nodes, specifically dedicated nodes per role.
To Reproduce

deploy an rke2 cluster with 1 node per role (tested with k8s 1.22, 1.21)

Result
etcd node is stuck in waiting for plan to be applied, cluster never gets to an active state
Expected Result
cluster should register all nodes and get to an active state
Screenshots

Closing this issue as a duplicate of 36939


Barcode render not correctly.

Hello Guys, please help me.
^XA
^LH10,10
^LRY
^FO0105,155^GB690,20,53^FS
^FO0150,155^BY3^BCN,53,N,N^FDABCDEF123456789^FS
^XZ
That ZPL command above render OK with Labelary.

But with BinaryKits.Zpl.Viewer (ver 1.2.0) not correct.

Barcodes do not support reverse print. However, you can achieve the desired result by reverse printing the graphics box over the barcode:
^XA
^LH10,10
^LRY
^FO0150,155^BY3^BCN,53,N,N^FDABCDEF123456789^FS
^FO0105,155^GB690,20,53^FS
^XZ


MCR snowball

Solution:
Remove zip after OSF upload.

Add rm -rf /tmp/qMRLab/* to Compile/compile.sh.

9c0fd323c6803016b241f16d668d6a721dd6256b


Update Typescript definitions to support custom properties and to make 'key' property optional

<Transition native
    from={{ opacity: 0}}
    enter={{ opacity: 1}}
    leave={{ opacity: 0}}
    routeDetails={this.state.routeDetails}
    onInfoTableClose={this.onInfoTableClose}>
        {routeDetails && this.renderPropertyTable}
</Transition>

Typescript error:
Type '{ children: ({ onInfoTableClose, routeDetails, ...styles }: { [x: string]: any; onInfoTableClose:...' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Transition<{}, { opacity: number; }>> & Readonly<{...'.\n  Type '{ children: ({ onInfoTableClose, routeDetails, ...styles }: { [x: string]: any; onInfoTableClose:...' is not assignable to type 'Readonly<TransitionProps<{}, { opacity: number; }>>'.\n    Types of property 'children' are incompatible.\n      Type '({ onInfoTableClose, routeDetails, ...styles }: { [x: string]: any; onInfoTableClose: any; routeD...' is not assignable to type '(params: { opacity: number; }) => string | number | boolean | {} | ReactElement | ReactNodeA...'.\n        Types of parameters '__0' and 'params' are incompatible.\n          Type '{ opacity: number; }' is not assignable to type '{ [x: string]: any; onInfoTableClose: any; routeDetails: any; }'.\n            Property 'onInfoTableClose' is missing in type '{ opacity: number; }'."

What is the purpose for adding routeDetails and onInfoTableClose to Transition when the component make no use of that?
key property is considered important when rendering a list of components, what is the reason to make it optional? (See this article)

<Transition
    native
    from={{ opacity: 0}}
    enter={{ opacity: 1}}
    leave={{ opacity: 0}}
>
    {this.state.routeDetails && this.renderPropertyTable}
    // put this.onInfoTableClose inside this rendering func
</Transition>

i'll close for now, types should be better now, merged a couple of prs. @nelsliu9121 is right btw, routeDetails onInfoTable and so on have no effect. You'd have to use render={...} instead of children, then it would forward. Otherwise you have access to scope anyway.


[FEATURE] standardize temporal queries

https://www.sqlshack.com/temporal-tables-in-sql-server/

The FOR SYSTEM_TIME clause has many variations and options. It is further classified into four temporal sub-clauses. This provides a way to query the data across current and history tables.
AS OF
FROM  TO
BETWEEN  AND
CONTAINED IN ( , )
ALL
The AS OF clause is used when there is a need to rebuild the original state of the data and need to know the state it was at any specific time in the past. This is possible by specifying the date time as its input.

IN statements added - leaving there for beta release


[Question] AnythingLLM Local Docker installation guide

On https://github.com/Mintplex-Labs/anything-llm/blob/master/docker/HOW_TO_USE_DOCKER.md for Windows install guide 3rd line has  -ItemType File

But on https://docs.useanything.com/getting-started/installation/self-hosted/local-docker for Windows install guide 3rd line don't have  -ItemType File

Which one is correct? the code on Github repo or Docs?
Note: I noticed our docs is missing docker pull mintplexlabs/anythingllm command and some more info so I can fix all of these on my next PR

The one in the github repo is more correct


Build list cards look weird on smaller displays

Crew Chief is ok because it splits the 2 words, but Sociopath splits the 'h' onto a new line.

Closing this as part of another issue. See #63


RKT Pods for Kubelet + Wormhole Client

Stick the kubelet and wormhole into the same rkt pod.

Sadly the information for coreos pods is scarce but I managed to find some and try it out.
It seems that what we want to achieve (tying kubelet and wormhole together) is not easily achieved.
According to the architecture docs.
A normal pod is without supervision meaning if one container dies the other one is happily running and continues to do so. Unless there is some way of supervision no one takes care about the state of the apps deployed.
Using systemd / nspawn supervision inside the pod is artificial as it could also be done with systemd outside the pod as well.
While I like the idea of using a json to define the pod, volumes and ports in a kubernetes style way I think currently it makes no sense in this case.


Passing data to React from Electron's open-url & open-file

I'm trying to pass data from an Electron event handler for opening a file or URL (https://github.com/electron/electron/blob/master/docs/api/app.md#event-open-file-macos) into the React project. I'm handling the event in main.development.js, and need it to trigger a new view in React. Is there an accepted best practice for doing this?

Try this

Send data from main.js to renderer (your React App) using IPC. ipcMain
ipcRenderer will receive this data.
The ipcRenderer can then dispatch a redux action that updates the redux store.
The update in redux store is then passed down as a props new value.
On recieving the props, your React component can display a new view

Awesome, thanks. Didn't know about the IPCs.

hi @talha131 , would you please provide me with a link or small example of how can I update redux store with the data got from ipcmain of mani.js? I mean, I send data to react component but I can not handle how and where to dispatch a redux action to update the redux store.

@dovinmu  Were you able to get the message from ipcMain in your react? Here is what I am stuck with. From ipcMain I am propagating an event...and in the react I would like to get that event and display a component depending on the event that came from ipcMain. Any idea? I understand @talha131 's pseudo code, but I could not write react/electron code for that.


Add support for Media API

@mheap Any idea on when v4 of the Media API will be available?

Still pending at the moment. There's no rush for media API support at all

This situation hasn't changed. The Media API is still listed as beta.


[es] Localization scalability.md

Describe your changes
Localization of scalability.md
Related issue number or link (ex: resolves #issue-number)
resolves https://github.com/cncf/glossary/issues/1402
Checklist before opening this PR (put x in the checkboxes)

[X] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[X] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

@krol3 @92nqb could you review this PR, please? Thanks :)


Play video on two screens

I'm pretty sure this is not possible, but I'm gonna ask anyway.
Could Plex MPV Shim be configured to play the video fullscreen on two different displays?
I have a setup with 3 displays:
1- Running Plex Web UI casting to Plex MPV Shim
2- Main projection display
3- Another projection display

It probably would be very complicated for me to implement unless there is something in MPV I don't know about. You can run two copies though.

It probably would be very complicated for me to implement unless there is something in MPV I don't know about. You can run two copies though.

That’s what I suspected.  If there was a quick and easy setting to send the video to two screens, great.  If not, you don’t need to bother.
Running two instances might be problematic due to syncing, especially audio.
You can close this issue if you wish.  I highly doubt anything will ever come of it.
Thanks!

That’s what I suspected.  If there was a quick and easy setting to send the video to two screens, great.  If not, you don’t need to bother.
Running two instances might be problematic due to syncing, especially audio.
You can close this issue if you wish.  I highly doubt anything will ever come of it.
Thanks!


chore(controller): update paramiko to 1.15.2

Many months of changes, see https://github.com/paramiko/paramiko/compare/v1.14.1...v1.15.2

Code LGTM. Looks like some good stuff in there.

deis run still works with this update. LGTM!


pull request for e2e test at 02/06/2017 14:56:08

:white_check_mark: Validation status: passed
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.


Should throw if falsey key value exists

In your example, if foo.d is already set to say 5, it throws. I would expect that. However, if it is 0 (or anything falsey), it paves over the falsey value.
{a: 1, b: 2, d: 0}
//=> { a:1, b:2, d:{ e:{ f:'hello' } } };

A possible fix is:
x = o[keys[i]] === undefined ? {} : o[keys[i]];

Ah, right, good catch~! I'll fix this, but we should also be paving on null value too.
Slightly unrelated, but thoughts about not throwing if a value exists? Instead, would silently break & exit.

I wouldn't pave over a null as it is an actual value.
I'm a big fan of throwing when there is an exception. Hiding/masking the problem will make it harder to track down the root cause.
Actually, you might want to use this instead:
x = keys[i] in o ? o[keys[i]] : {};

That'd throw immediately for anything that isn't already an object, including undefineds 😆 That's probably what you want, except for the latter.


Return syndication URL in Location header

When Bridgy Publish creates a POSSE copy on Twitter, Facebook, etc, it currently returns the Tweet/Facebook URL of the post in a JSON body. In addition, it should return a Location header with that URL, and the HTTP 201 Created response code. More info: http://indiewebcamp.com/syndication-brainstorming

:+1:

deployed!


Stats  page: "Donation Sites by State" is actually "Donation Cities by State"

Problem:

Stats page: https://findthemasks.com/stats.html
Added the per State breakdown numbers (GSheets) and the total matches the total number of cities (NOT the number of sites)

Fix required:

Change "Donation Sites by State" to "Donation Cities by State"
Specifically:  "ftm-administrative-region-donation-sites": "Donation Sites by $1:"

Relevant code at:
https://github.com/findthemasks/findthemasks/blob/master/public/i18n/en.json
https://github.com/findthemasks/findthemasks/blob/master/public/stats.js
@raindrift  @saikatbhadra

If we all agree that the simplest fix is to change the display text (not any other code), I can make a change to this text field ("ftm-administrative-region-donation-sites": "Donation Sites by $1:")
@graemer

Ah nice catch. Can you create a new string in en.json for this? I think that one might be used elsewhere. e.g. "ftm-stats-donation-cities-by-region": "Donation Cities by $1"

Will do. thnx for the feedback @nburt

git commit en.json
[master 8be6cc4] issue #623: Added new text string.
1 file changed, 1 insertion(+)
git commit stats.js
[master 2d6d523] issue #623: Used the appropriate text string for "Donation cities by State" field on the stats.html page.
1 file changed, 1 insertion(+), 1 deletion(-)

@nburt
Works in my Dev env, see snip below.
[snip]
Stats
Total Donation Sites: 3897
Total Cities with Donation Sites: 1887
Donation Cities by State:
AK: 2
AL: 20
AR: 15
.
.
.
[snip]


help request: How do you specify order of clusterfilter

Describe the issue
In my understanding, the clusterfilters will be merged into one fluent bit configuration files. so how do you make sure the order of that merge, e.g. when you need to have a clusterfilter become the last filter in fluentbit config
How did you install fluent operator?
with YAML applied by argocd & kustomize
Additional context

Yes, the resources are ordered in a lexicographical order of the resource metadata.name currently.

it should be documented if this is not a bug. it might be very common requirement for rewrite-tag part.


jekyll-webmention_io

Project description

[S]uite of tools for managing webmentions in Jekyll, using the the webmention.io service.

Metadata

homepage
source
license: MIT
platforms: Any

Done in  #198602.


disable c++ library build on docs.rs

Disabling the library build with cfg(not(doc)) seems to not be enough, disable it based on the DOCS_RS env var.

Also enable feature-flag-aware documentation


[Feature Request] Provide Windows ARM64 version

I recently switched to a new laptop with Snapdragon X Elite and would like to install and run Xpipe native ARM64 on my laptop.

Does the x86_64 version run on your system via the compatibility layer?

I tried with portable version xpipe-11.3. The application launches and i can tick to accept terms and conditions. My observations:

When the wizard to scan local connections, an error is raised:

Afterwards, powershell and git connections are found and can be launched, cmd shows error. When I try to run the cmd-connection anyway, the prompt shows: "'wmic' is not recognized as an internal or external command, operable program or batch file."

I tried adding en external connection, 'Simple SSH connection', when I try to browse to the file location of my private ssh-key, another error is raised:

After closing the error, I was able to type the path to the file which was accepted. The scanning of connections on the remote site worked well, connections for bash and podman were identified and added in the location-connections.
Terminal connection open properly, remote file browsing works properly.
Here is the process view on my laptop:

Cheers, Igor

The application behavior of xpipe in translation-layer works reasonably well, still snappy. These are initial impressions, I will keep this in use in next days and report findings if any..
Cheers, Igor

That issue is actually unrelated to ARM, it's just that the wmic tool it has been removed from windows in the latest versions.
https://github.com/xpipe-io/xpipe-ptb/releases/tag/12.0-1 has been transitioned away from wmic

Also a native ARM build is probably not going to happen for at least half a year due to upstream dependencies being slow to add support for that.

The wmic issues are now fixed in xpipe 12.
About the ARM build, that will be available when the dependencies allow it. I will close this issue, because I don't have any control over it. But you will get an ARM version when it's possible.


Animations do not work in Safari

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior
Animations such as the modal fade should work in Safari.
Actual behavior
The modal displays without any animation.
Reproduction of behavior
https://plnkr.co/edit/uNwwZe?p=preview
Environment details

Angular version: 4.0.X

Clarity version: 0.9.0

OS and version: macOS 10.12

Browser: [Safari 10.1 ]

I think you might just be missing the polyfill. I recommend looking at the Animations docs for Angular, they have a note at the very top explaining that you need the web-animations polyfill for them to work on all browsers.

Yes, that was the issue!


adding sequoia microservice post

for what should this article be found?
i would put the title something like: "Crate - the database for microservices"
to me it is a good idea to also have some short blog posts, but i'd still keep the default structure.
what is the problem? -> why do people need microservices? why can't they go with a single node database?
what is the solution? -> why is crate the right database for microservices?

you're absolutely right :) will do, but needs more time... right now i wanted sth. to point to for the featured tweet (meanwhile linking to it directly)

I guess this has outlived its purpose...


Could not install WWDR certificate

New Issue Checklist

[X] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
I'm attempting to resolve some issues with our build box. Everything was working fine and dandy up until we updated to Sierra and Xcode 8. Initially, I was having issues with Fastlane picking the correct Provisioning Profile, creating or pulling the correct signing certificate, but using the wrong certificate during the gym command. (We are using cert and sigh; I haven't tried match)
Anyways, today I was going to resume work on the issue, but I'm getting a completely different error now.  "Could not install WWDR certificate", but I've downloaded the latest from Apple. I can also verify that it is in the keychain (specifically the login.keychain-db keychain). This was not an issue on Friday at 4 pm, but it was a problem from the moment I got in today. I don't know what could have changed.
So, kinda two issues: code signing issues and WWDR cert issues. WWDR is the point of this post, but if anybody happens to have any suggestions for my Fastfile while your looking at it, that would also be appreciated. (I have read the code signing documentation for fastlane)
I apologize for all the redactions :)
Specific output:
+---------------+--------------------------------------------------+
|                      Summary for cert 1.4.4                      |
+---------------+--------------------------------------------------+
| development   | false                                            |
| force         | false                                            |
| username      | REDACTED                   |
| team_id       | REDACTED                                       |
| keychain_path | /Users/build/Library/Keychains/login.keychain-db |
+---------------+--------------------------------------------------+

[14:19:38]: Starting login with user 'REDACTED'
[14:19:39]: Successfully logged in
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1062  100  1062    0     0   2526      0 --:--:-- --:--:-- --:--:--  2528
security: SecKeychainItemImport: The specified keychain could not be found.
[14:19:40]: Variable Dump:
[14:19:40]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios external_testflight", :BUILD_NUMBER=>"There does not seem to be a CURRENT_PROJECT_VERSION key set for this project.  Add this key to your target's expert build settings.", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"1.1", :PRODUCE_APPLE_ID=>"1145044176"}
[14:19:40]: Could not install WWDR certificate

Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Captured Output
Command Used: external_testflight
Output/Log
[13:15:11]: ------------------------------
[13:15:11]: --- Step: default_platform ---
[13:15:11]: ------------------------------
[13:15:11]: Driving the lane 'ios external_testflight' 🚀
[13:15:11]: ---------------------------
[13:15:11]: --- Step: setup_jenkins ---
[13:15:11]: ---------------------------

+-----------------------------+-----------------+
|       Summary for Setup Jenkins Action        |
+-----------------------------+-----------------+
| force                       | false           |
| unlock_keychain             | true            |
| add_keychain_to_search_list | replace         |
| set_default_keychain        | true            |
| set_code_signing_identity   | true            |
| output_directory            | ./output        |
| derived_data_path           | ./derivedData   |
| result_bundle               | true            |
+-----------------------------+-----------------+

[13:15:11]: Set output directory path to: "/Users/build/Jenkins/workspace/REDACTED/output".
[13:15:11]: Set derived data path to: "/Users/build/Jenkins/workspace/REDACTED/derivedData".
[13:15:11]: Set result bundle.
[13:15:11]: ------------------------------------
[13:15:11]: --- Step: increment_build_number ---
[13:15:11]: ------------------------------------
[13:15:11]: $ cd /Users/build/Jenkins/workspace/REDACTED && agvtool new-version -all 81 && cd -
[13:15:12]: ▸ Setting version of project REDACTED to:
[13:15:12]: ▸ 81.
[13:15:12]: ▸ Also setting CFBundleVersion key (assuming it exists)
[13:15:12]: ▸ Updating CFBundleVersion in Info.plist(s)...
[13:15:12]: ▸ Updated CFBundleVersion in "REDACTED.xcodeproj/../AppTests/Info.plist" to 81
[13:15:12]: ▸ Updated CFBundleVersion in "REDACTED.xcodeproj/../REDACTED/Info.plist" to 81
[13:15:12]: ▸ /Users/build/Jenkins/workspace/REDACTED
[13:15:12]: -----------------------------------------------------------
[13:15:12]: --- Step: Switch to ios initial_setup_for_external lane ---
[13:15:12]: -----------------------------------------------------------
[13:15:12]: Cruising over to lane 'ios initial_setup_for_external' 🚖
[13:15:12]: -----------------------------------
[13:15:12]: --- Step: update_app_identifier ---
[13:15:12]: -----------------------------------
[13:15:12]: Updated REDACTED.xcodeproj 💾.
[13:15:12]: ---------------------------------
[13:15:12]: --- Step: update_project_team ---
[13:15:12]: ---------------------------------
[13:15:12]: Updating development team (REDACTED) for the given project 'REDACTED.xcodeproj/project.pbxproj'
[13:15:12]: Successfully updated project settings to use Developer Team ID 'REDACTED'
[13:15:12]: Cruising back to lane 'ios external_testflight' 🚘
[13:15:12]: ---------------------------------------------------------------
[13:15:12]: --- Step: Switch to ios build_and_upload_to_testflight lane ---
[13:15:12]: ---------------------------------------------------------------
[13:15:12]: Cruising over to lane 'ios build_and_upload_to_testflight' 🚖
[13:15:12]: ----------------------------------
[13:15:12]: --- Step: get_info_plist_value ---
[13:15:12]: ----------------------------------
[13:15:12]: ---------------------
[13:15:12]: --- Step: produce ---
[13:15:12]: ---------------------

+----------------+--------------------------------+
|            Summary for produce 1.3.0            |
+----------------+--------------------------------+
| app_version    | 1.1                            |
| app_name       | REDACTED                       |
| language       | English                        |
| username       | REDACTED                       |
| app_identifier | REDACTED                       |
| sku            | REDACTED                       |
| company_name   | REDACTED                       |
| skip_itc       | false                          |
| skip_devcenter | false                          |
| team_id        | REDACTED                       |
| itc_team_name  | REDACTED                       |
+----------------+--------------------------------+

[13:15:14]: [DevCenter] App 'REDACTED' already exists, nothing to do on the Dev Center
[13:15:16]: [iTC] App 'REDACTED' already exists (REDACTED), nothing to do on iTunes Connect
[13:15:17]: ------------------
[13:15:17]: --- Step: cert ---
[13:15:17]: ------------------

+---------------+--------------------------------------------------+
|                      Summary for cert 1.4.4                      |
+---------------+--------------------------------------------------+
| development   | false                                            |
| force         | false                                            |
| username      | REDACTED                                         |
| team_id       | REDACTED                                         |
| keychain_path | /Users/build/Library/Keychains/login.keychain-db |
+---------------+--------------------------------------------------+

[13:15:17]: Starting login with user 'REDACTED'
[13:15:18]: Successfully logged in
[13:15:19]: Variable Dump:
[13:15:19]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios external_testflight", :BUILD_NUMBER=>"There does not seem to be a CURRENT_PROJECT_VERSION key set for this project.  Add this key to your target's expert build settings.", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"1.1", :PRODUCE_APPLE_ID=>"REDACTED"}
[13:15:19]: Could not install WWDR certificate

+------+---------------------------------------------------+-------------+
|                            fastlane summary                            |
+------+---------------------------------------------------+-------------+
| Step | Action                                            | Time (in s) |
+------+---------------------------------------------------+-------------+
| 1    | default_platform                                  | 0           |
| 2    | setup_jenkins                                     | 0           |
| 3    | increment_build_number                            | 1           |
| 4    | Switch to ios initial_setup_for_external lane     | 0           |
| 5    | update_app_identifier                             | 0           |
| 6    | update_project_team                               | 0           |
| 7    | Switch to ios build_and_upload_to_testflight lane | 0           |
| 8    | get_info_plist_value                              | 0           |
| 9    | produce                                           | 4           |
| 💥    | cert                                              | 2           |
+------+---------------------------------------------------+-------------+

[13:15:19]: fastlane finished with errors

[!] Could not install WWDR certificate

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.1

Ruby
2.3.1

Bundler?
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.1

Git
git version 2.10.2

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.1 (16B2555)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.3.1_2/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# PRECONDITIONS
schemeName = ENV["SCHEME"]
hasCocoaPods = ENV["HAS_COCOAPODS"]
runTests = ENV["RUN_TESTS"]
canDoSnapshot = "false" # TODO: Add support for this later
skipChangeProjectId = ENV["SKIP_CHANGE_PROJECT_FILE_BUNDLE_ID"]

default_platform :ios

platform :ios do

  before_all do

    setup_jenkins

    increment_build_number(build_number:ENV["BUILD_NUMBER"], xcodeproj:ENV["XCODEPROJ_PATH"])

    if (hasCocoaPods == "true")
      cocoapods(repo_update:false)
    end

    ENV["SCAN_WORKSPACE"] = ENV["GYM_WORKSPACE"];
    ENV["SCAN_PROJECT"] = ENV["GYM_PROJECT"];
  end

  ########################### INITIAL SETUP LANES ################################
  private_lane :initial_setup_for_internal do
    ENV["APP_NAME"] = ENV["APP_NAME"] + " Internal";
    ENV["FASTLANE_USER"]=ENV["INTERNAL_USER"];
    ENV["FASTLANE_PASSWORD"]=ENV["INTERNAL_PASSWORD"];
    ENV["CERT_TEAM_ID"]=ENV["INTERNAL_TEAM_ID"];
    ENV["PRODUCE_TEAM_ID"] = ENV["CERT_TEAM_ID"];
    ENV["PILOT_TEAM_NAME"]=ENV["INTERNAL_TEAM_NAME"];
    ENV["PRODUCE_ITC_TEAM_NAME"]=ENV["INTERNAL_TEAM_NAME"];

    # Change the app identifier so that the application is unique on our internal account
    ENV["SIGH_APP_IDENTIFIER"] = ENV["SIGH_APP_IDENTIFIER"] + ".internal";
    ENV["PRODUCE_APP_IDENTIFIER"] = ENV["SIGH_APP_IDENTIFIER"];
    ENV["APP_IDENTIFIER"] = ENV["SIGH_APP_IDENTIFIER"];

    # Update the .plist with the new identifier
    update_app_identifier(xcodeproj:ENV["XCODEPROJ_PATH"], app_identifier:ENV["SIGH_APP_IDENTIFIER"])

    update_project_team(path:ENV["XCODEPROJ_PATH"], teamid: ENV["CERT_TEAM_ID"])
  end

  private_lane :initial_setup_for_external do
    ENV["PRODUCE_TEAM_ID"] = ENV["CERT_TEAM_ID"];
    ENV["PRODUCE_APP_IDENTIFIER"] = ENV["SIGH_APP_IDENTIFIER"];
    ENV["PRODUCE_COMPANY_NAME"] = ENV["PRODUCE_ITC_TEAM_NAME"];
    ENV["PILOT_TEAM_NAME"] = ENV["PRODUCE_ITC_TEAM_NAME"];
    ENV["APP_IDENTIFIER"] = ENV["SIGH_APP_IDENTIFIER"];

    # Update the .plist with the new identifier
    update_app_identifier(xcodeproj:ENV["XCODEPROJ_PATH"], app_identifier:ENV["SIGH_APP_IDENTIFIER"])

    update_project_team(path:ENV["XCODEPROJ_PATH"], teamid: ENV["CERT_TEAM_ID"])
  end

  ########################### EXTERNAL ACCOUNT LANES ################################

  desc "Runs all the tests"
  lane :external_test do
    initial_setup_for_external

    # Create the application on Apple Developer portal if you haven't already
    produce(skip_itc:true, app_name:ENV["APP_NAME"], language:"English")

    # Download/Create Development certificate
    cert(development:true)

    # Download/Create the provisioning profile
    sigh(development:true)

    # Use the UDID of the newly created provisioning profile
    # Note: You must set up the project.pbxproj to include this: PROVISIONING_PROFILE = "$(PROFILE_UDID)";
    #   See the Architecture App's project.pbxproj file for reference
    ENV["PROFILE_UDID"] = lane_context[SharedValues::SIGH_UDID];

    # Build the application
    gym(scheme: schemeName, configuration:"Debug", clean:true, use_legacy_build_api:true)

    if (runTests == "true")
      # Run the Tests
      scan(scheme: schemeName)
    end

  end

  desc "Submit a new Beta Build to external Apple TestFlight account"
  lane :external_testflight do
    initial_setup_for_external
    build_and_upload_to_testflight
  end

  ########################### TESTFLIGHT LANE ################################
  desc "Upload a new Beta Build to TestFlight"
  private_lane :build_and_upload_to_testflight do
    # Get the version number from the .plist
    version_number = get_info_plist_value(key:"CFBundleShortVersionString")

    # Create the application on Apple Developer portal and iTunes Connect if you haven't already
    produce(app_version:version_number, app_name:ENV["APP_NAME"], language:"English")

    # Download/Create Distribution certificate
    cert

    # Download/Create the provisioning profile
    sigh(force:true)

    # Use the UDID of the newly created provisioning profile
    # Note: You must set up the project.pbxproj to include this: PROVISIONING_PROFILE = "$(PROFILE_UDID)";
    #   See the Architecture App's project.pbxproj file for reference
    ENV["PROFILE_UDID"] = lane_context[SharedValues::SIGH_UDID];

    # Build the application
    gym(scheme: schemeName, configuration:"Release", clean:true, use_legacy_build_api:true)

    if (runTests == "true")
      # Run the Unit Tests
      scan(scheme: schemeName)
    end

    # Take the snapshots (if available)
    #if (canDoSnapshot == "true")
      #snapshot
    #end

    # Upload to TestFlight
    pilot(skip_submission:true, changelog:ENV["TESTFLIGHT_CHANGELOG"], skip_waiting_for_build_processing:true)
  end

end```

**No Appfile found**

### fastlane gems

| Gem                 | Version | Update-Status |
| ------------------- | ------- | ------------- |
| credentials_manager | 0.16.2  | ✅ Up-To-Date  |
| spaceship           | 0.37.0  | ✅ Up-To-Date  |
| fastlane_core       | 0.55.0  | ✅ Up-To-Date  |
| deliver             | 1.15.0  | ✅ Up-To-Date  |
| snapshot            | 1.16.3  | ✅ Up-To-Date  |
| frameit             | 3.0.0   | ✅ Up-To-Date  |
| pem                 | 1.4.0   | ✅ Up-To-Date  |
| cert                | 1.4.4   | ✅ Up-To-Date  |
| sigh                | 1.11.2  | ✅ Up-To-Date  |
| produce             | 1.3.0   | ✅ Up-To-Date  |
| gym                 | 1.12.0  | ✅ Up-To-Date  |
| pilot               | 1.12.0  | ✅ Up-To-Date  |
| scan                | 0.14.1  | ✅ Up-To-Date  |
| supply              | 0.7.1   | ✅ Up-To-Date  |
| match               | 0.11.0  | ✅ Up-To-Date  |
| screengrab          | 0.5.5   | ✅ Up-To-Date  |
| fastlane            | 1.108.0 | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.0.0        |
| highline                  | 1.7.8        |
| commander                 | 4.4.0        |
| terminal-table            | 1.4.5        |
| json                      | 1.8.3        |
| multipart-post            | 2.0.0        |
| faraday                   | 0.9.2        |
| faraday_middleware        | 0.10.0       |
| dotenv                    | 2.1.1        |
| net-ssh                   | 3.2.0        |
| net-sftp                  | 2.1.2        |
| plist                     | 3.1.0        |
| rubyzip                   | 1.1.7        |
| security                  | 0.1.3        |
| krausefx-shenzhen         | 0.14.11      |
| slack-notifier            | 1.5.1        |
| i18n                      | 0.7.0        |
| thread_safe               | 0.3.5        |
| tzinfo                    | 1.2.2        |
| minitest                  | 5.8.3        |
| activesupport             | <IP_ADDRESS>      |
| CFPropertyList            | 2.3.3        |
| claide                    | 1.0.1        |
| colored                   | 1.2          |
| nanaimo                   | 0.2.2        |
| xcodeproj                 | 1.4.1        |
| rouge                     | 1.11.1       |
| xcpretty                  | 0.2.4        |
| terminal-notifier         | 1.7.1        |
| addressable               | 2.3.8        |
| credentials_manager       | 0.16.2       |
| multi_xml                 | 0.5.5        |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20161021 |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| fastimage                 | 1.6.8        |
| xcode-install             | 2.0.8        |
| word_wrap                 | 1.0.0        |
| multi_json                | 1.12.1       |
| babosa                    | 1.0.2        |
| excon                     | 0.54.0       |
| gh_inspector              | 1.0.2        |
| fastlane_core             | 0.55.0       |
| bundler                   | 1.13.6       |
| mini_magick               | 4.5.1        |
| xcpretty-travis-formatter | 0.0.4        |
| uber                      | 0.0.15       |
| representable             | 2.3.0        |
| retriable                 | 2.1.0        |
| mime-types-data           | 3.2016.0521  |
| mime-types                | 3.1          |
| hurley                    | 0.2          |
| little-plugger            | 1.1.4        |
| logging                   | 2.1.0        |
| jwt                       | 1.5.6        |
| memoist                   | 0.15.0       |
| os                        | 0.9.6        |
| signet                    | 0.7.3        |
| googleauth                | 0.5.1        |
| httpclient                | <IP_ADDRESS>      |
| google-api-client         | 0.9.20       |
| io-console                | 0.4.5        |
| bigdecimal                | 1.2.8        |
| psych                     | 2.0.17       |

*generated on:* **2016-11-14**

Hey, thanks for taking the time to file this issue. Have you see the existing questions around this topic? https://github.com/fastlane/fastlane/issues?utf8=✓&q="Could not install WWDR certificate"

Thank you for your prompt reply.
I did check out the other issues, but only a couple of them contained the line:
"SecKeychainItemImport: The specified keychain could not be found."
(I updated the post - I didn't realize that this detailed info was left out.)
In those threads I, there were users that had suggestions such as "Make sure the WWDR cert is in both the login and System keychain" and whatnot. I can confirm that it is in the keychain and that there are no outdated versions of the certificate. If I run the command:
security find-certificate -c 'Apple Worldwide Developer Relations Certificate Authority'
I can see that it does exist and is on the keychain "/Users/build/Library/Keychains/login.keychain-db".
I am also using manual signing in Xcode 8. Cert and Sigh are the methods I'm currently using (albeit, unsuccessfully). I have thought about trying Match, but I want to resolve this issue first.
I also tried reverting back to the original fastfile (which doesn't work with Xcode 8, but at least it never produced this WWDR error) and the WWDR error occurs using that as well.
So - I'm up to date, I can see the certificate on both my Login and System keychain (via Keychain Access), I can see that it is able to be found on login.keychain-db by running find-certificate, and I've used an old version of our fastfile that has never produced the WWDR error in the past.

@Alarson93 Have you searched on Google for the instructions for removing and reinstalling this certificate? Also can you set a CURRENT_PROJECT_VERSION key for this project

****I have looked up instructions and I have followed them.
To put it simply - I search for the WWDR certs on the machine and removed all instances. I confirmed this by running:
security find-certificate -c 'Apple Worldwide Developer Relations Certificate Authority'
No certs found. Next, I dragged the cert into both the login and system keychains.
I set the CURRENT_PROJECT_VERSION and tried building again. I got the exact same SecKeychain error. The only noticeable difference is I don't get the message about needing to set the current project version key.

I am encountered with the problem too. In my case, WWDR is already installed in login and system sections. While fastlane thinks it not installed and try to install again.
I delve into cert_checker.rb and find the install checking code of WWDR
    def self.wwdr_certificate_installed?
      certificate_name = "Apple Worldwide Developer Relations Certification Authority"
      keychain = wwdr_keychain
      UI.message("arg: #{keychain.shellescape}")
      response = Helper.backticks("security find-certificate -c '#{certificate_name}' #{keychain.shellescape}", print: $verbose)
      return response.include?("attributes:")
    end
    ...
    def self.wwdr_keychain
      priority = [
        "security list-keychains -d user",
        "security default-keychain -d user"
      ]
      priority.each do |command|
        keychains = Helper.backticks(command, print: $verbose).split("\n")
        unless keychains.empty?
          # Select first keychain name from returned keychains list
          return keychains[0].strip.tr('"', '')
        end
      end
      return ""
    end

I runs security list-keychains -d user, output is:
    "/Users/apple/Library/Keychains"
    "/Users/apple/Library/Keychains/login.keychain"

In wwdr_keychain function, the first line /Users/apple/Library/Keychains is picked and appended to the next command.
Then run security find-certificate -c 'Apple Worldwide Developer Relations Certification Authority' /Users/apple/Library/Keychains like the wwdr_certificate_installed function did.
Then I get
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.

As basically a game programmer, I know little about ruby & OSx security utilities. I don't know how to make security list-key-chains -d user puts /Users/apple/Library/Keychains/login.keychain in first place. So I just change the index as a walk-around.

@Henry-T I've found a directory under ~/Library/Keychains that was named something like F8CBEB13-7C23-550F-8181-XXXXXXXXX. After making a backup of it and deleting it, the command security list-keychains -d user successfuly returned the login.keychain-db keychain first.
That way you don't have to patch the code.

A previous commenter tipped me off that the order that the command security list-keychains is important. It seems that the login keychain needs to be first. What worked for me was deleting the WWDR certificate from the login keychain, opening Keychain.app, and dragging the login keychain to the top of the list in the left pane. Double check by running security list-keychains to verify that the login keychain is now at the top of the list.
This workaround works for me, but really this is a pretty annoying bug that should be fixed in the code. The code which parses the keychain list and chooses the keychain should be more robust and always select the correct keychain.

Bingo!
Login.keychain-db needs to be first.
eliasbagley's solution (re-ordering the keychains in the Keychain app) worked!
Thank you very much :)

Glad you found a resolution @Alarson93 👍


Add s3 protection as available feature

Add s3 protection as available feature.
what

End users of module will now be able to enable S3 Protection in GuardDuty via a variable.
Defaults to false so it will not be turned on by default.
AWS Provider update > = 3

why

So end users can enable s3 protection in GuardDuty.

references

aws_guardduty_detector docs

/test all


Update Jupyter to new notebook preload message api

For #5753

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #5775 (dff3b08) into main (03597f5) will increase coverage by 6%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            main   #5775     +/-   ##
=======================================
+ Coverage     65%     72%     +6%
=======================================
  Files        352     403     +51
  Lines      24148   26916   +2768
  Branches    3637    3926    +289
=======================================
+ Hits       15818   19454   +3636
+ Misses      6939    5820   -1119
- Partials    1391    1642    +251

Impacted Files
Coverage Δ

...t/datascience/notebook/vscodeNotebookController.ts
77% <ø> (ø)

...rc/client/datascience/telemetry/serviceRegistry.ts
100% <0%> (ø)

src/client/datascience/openNotebookBanner.ts
80% <0%> (ø)

src/client/api/serviceRegistry.ts
100% <0%> (ø)

src/client/logging/serviceRegistry.ts
100% <0%> (ø)

...client/datascience/editor-integration/decorator.ts
79% <0%> (ø)

src/client/datascience/multiplexingDebugService.ts
36% <0%> (ø)

src/client/common/platform/serviceRegistry.ts
100% <0%> (ø)

...ient/datascience/jupyter/kernels/kernelProvider.ts
96% <0%> (ø)

src/client/common/application/activeResource.ts
81% <0%> (ø)

... and 163 more

Apologies if you already did this, but I believe you may need to update to npm7 to generate a v2 package-lock if you haven't already done so.

Thanks, updated to latest 7 version and regenerated.


Kubernetes 1.23 updates

Updates dependencies and KinD images
for Kubernetes 1.23.
Signed-off-by: Steve Kriss<EMAIL_ADDRESS>

@skriss looks like the tests failed.

Tests fixed by now blocked by #476 😬


Handshake failed : invalid status code

Hi,
I'm trying to use the library to create a client remote for Movian.
Movian exposes a WS server but I cannot connect to it with WebSocket.Portable when I was able to with WebSocket4Net and Simple Websocket Client Chrome extension
It's kind of easy to test, if you're under MacOs (or ubuntu) by (downloading Movian)[https://movian.tv/downloads/movian/master] and then hitting the WS endpoint : ws://localhost:42000/showtime/stpp
Let me know if I can provide more informations.
(btw, there is a miss-type in the exception : "invalid status sode")

I've found the problem : I was not connection to the correct endpoint.
Like here : http://stackoverflow.com/questions/30523478/connecting-to-websocket-using-c-sharp-i-can-connect-using-javascript-but-c-sha/30618088#30618088


Fixed DebSection

Setting the DebSection msbuild variable now properly sets the Section field of the .deb file.  Fixes #170

Thanks!


x/build/cmd/tip: installs x/website/cmd/golangorg from internet instead of the cloned commit

The golangorgBuilder.Init method of cmd/tip dutifully clones the provided to it revision of the website repository to disk... and then proceeds to completely ignore that revision and just installs the latest version from the internet instead.
That is quite silly; it shouldn't do that.
(It's not very harmful because the intention of golangorgBuilder.Init is to fetch and use the lastest HEAD of go and website repositories, but in addition to doing same work twice, it also means there's a small chance the x/website revision reported by the /_tipstatus endpoint would be slightly off.)

I spotted this problem after debugging issue #34526 and then seeing the following in cmd/tip production logs:
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:14 installing golangorg ...
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:14 go: finding golang.org/x/website latest
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:17 go: downloading golang.org/x/website v0.0.0-20190923174145-a9a9c92a2c93
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:17 go: extracting golang.org/x/website v0.0.0-20190923174145-a9a9c92a2c93
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:18 go: downloading golang.org/x/tools v0.0.0-20190516015132-d1a3278ee749
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:18 go: downloading golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:18 go: extracting golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:18 go: extracting golang.org/x/tools v0.0.0-20190516015132-d1a3278ee749
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:18 go: finding golang.org/x/tools v0.0.0-20190516015132-d1a3278ee749
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:18 go: finding golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c
go=225f484c/website=a9a9c92a: 2019/09/26 01:45:25 starting golangorg ...

This is deployed and I can confirm the fix worked.

go=cf032380/website=a9a9c92a: 2019/09/26 15:05:11 installing golangorg ...
go=cf032380/website=a9a9c92a: 2019/09/26 15:05:12 go: downloading golang.org/x/tools v0.0.0-20190516015132-d1a3278ee749
go=cf032380/website=a9a9c92a: 2019/09/26 15:05:12 go: downloading golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c
go=cf032380/website=a9a9c92a: 2019/09/26 15:05:12 go: extracting golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c
go=cf032380/website=a9a9c92a: 2019/09/26 15:05:12 go: extracting golang.org/x/tools v0.0.0-20190516015132-d1a3278ee749
go=cf032380/website=a9a9c92a: 2019/09/26 15:05:12 go: finding golang.org/x/tools v0.0.0-20190516015132-d1a3278ee749
go=cf032380/website=a9a9c92a: 2019/09/26 15:05:12 go: finding golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c
go=cf032380/website=a9a9c92a: 2019/09/26 15:05:19 starting golangorg ...

Note these lines are no longer there:
go: finding golang.org/x/website latest
go: downloading golang.org/x/website v0.0.0-20190923174145-a9a9c92a2c93
go: extracting golang.org/x/website v0.0.0-20190923174145-a9a9c92a2c93

It's only downloading dependencies now, which is the intended behavior.


Unfork repo

When doing a homebrew formula to auto-install oqsprovider in OSX, the following audit message came up making it impossible to submit the install formula as a PR for wider distribution:
> brew audit --new-formula  oqsprovider
oqsprovider
  * GitHub fork (not canonical repository)
Error: 1 problem in 1 formula detected.

So I'd think the time has come to detach ("unfork") the project from the initial setup by @levitte.
At the time, forking seemed reasonable, a) to recognize the work extracting our code from oqs-openssl and b) because it wasn't entirely clear we'd carry on the project separately from ´oqs-openssl´.
This changed by now: a) We'll document code (and work) heritage by updates to the README (as part of #195) and b) definitely carry this work forward independently of oqs-openssl (actually end support for that project in favour of oqsprovider).
Is this OK, particularly for you, @levitte? Any objections, @dstebila @bhess ?

I'm perfectly ok with that.  Ping me when done, and I'll remove my repo (which was meant to be exactly what it became, a kick-starter)...

Ping me when done

Ping: https://support.github.com/ticket/personal/0/2225768
And Thanks again for the kick (-starter :-)

Cool.  levitte/tmp-oqsprov is now gone.


invalid : signature validation failed" on create asset

Javascript SDK v2, create an asset example, followed exactly along with the docs, using sdk version "algosdk": "^1.8.1",
I get a invalid : signature validation failed" bad request. Everything works up until it signs the transction.

Should be working now. Let me know if it still doesn't work. Will close for now


Great job

Thanks, well done:)

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

ID: a825f031-250e-034d-e552-4b0d976d88b1
Version Independent ID: 626d7451-0b8e-051e-e512-0bf90be319a0
Content: Create a static HTML web app in Azure
Content Source: articles/app-service/app-service-web-get-started-html.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

@SurushCyrus Thank you for the positive feedback. We appreciate it!


Tradeshow Events - Two Columns on Desktop

The cards should be two columns instead of one column on desktop view on the tradeshow events page: https://main--mammotome--hlxsites.hlx.page/us/en/healthcare-professionals/tradeshow-events
One column is ideal for tablet and mobile views.

Looks great! Thanks!


HTML Preview: use custom CSS for scrollbars

The markdown preview uses its own CSS for styling scrollbars so that they look similar to the scrollbars in VS Code and not like the ugly native ones. The CSS is defined for every theme we have starting here: https://github.com/Microsoft/vscode/blob/master/src/vs/languages/markdown/common/markdownWorker.ts#L38
There is also some CSS defined in https://github.com/Microsoft/vscode/blob/master/src/vs/languages/markdown/common/markdown.css that we maybe should take into the HTML preview:

size images to a maximum of 100% so that they do not cause horizontal scrolling
styling for anchors
styling for focused elements (when you tab around)

The rest of the rules are just for making markdown look better and probably does not apply for the raw HTML preview.
@jrieken fyi

agreed

Nice


mbedtls_x509_crl_parse_der() error

Hello,
I'm using mbedTLS as part of open62541 project (on debian buster). When using .der certificate as a revocation list, mbedtls_x509_crl_parse_der  returns code -9058, i.e. (after calling mbedtls_strerror function) "X509 - The algorithm tag or value is invalid : ASN1 - ASN1 tag was of an unexpected value".
I have also reproduced the issue with Microsoft Visual Studio 2017 on Windows 10 (I used mbedTLS.sln solution, crl_app project) with current development code (commit ee7e85f5b94a49cbe7a1977e4ac089e4c9013aa8).
DER certificate files I used were obtained with Unified Automation UA Base Library using OpenSSL. I also used the DER certificate file of UaExpert - same error happens on both of them.
Parsing of these certificate files works when passed as "trusted".
certificates.zip

Hi @robertns ,
Could you clarify what you're passing to mbedtls_x509_crl_parse_der exactly? It expects a certificate revocation list, not a certificate. How are you building the CRL? The error that you're getting is consistent with a bug in the code that generates the CRL. Can you please share some code to reproduce the problem?

Hello @gilles-peskine-arm ,
I'm passing the DER certificate file (I provided some examples in the zip file). As I mentioned, I used crl_app project from the mbetTLS.sln.
I detected this error when I put the certificate in crl folder which I used for reloading certificates in open62541 SDK. It is reloadCertificates function in ua_pki_mbedtls.c.
In this snippet I used folder with certificates which are revoked and should be rejected:
/* Load the revocationlists */
    if(ci->revocationListFolder.length > 0) {
        UA_LOG_INFO(UA_Log_Stdout, UA_LOGCATEGORY_SERVER, "Reloading the revocation-list");
        size_t pathsSize = 0;
        UA_String *paths = NULL;
        retval = fileNamesFromFolder(&ci->revocationListFolder, &pathsSize, &paths);
        if(retval != UA_STATUSCODE_GOOD)
            return retval;
        mbedtls_x509_crl_free(&ci->certificateRevocationList);
        mbedtls_x509_crl_init(&ci->certificateRevocationList);
        for(size_t i = 0; i < pathsSize; i++) {
            char f[PATH_MAX];
            memcpy(f, paths[i].data, paths[i].length);
            f[paths[i].length] = 0;
            err = mbedtls_x509_crl_parse_file(&ci->certificateRevocationList, f);
            if(err == 0) {
                UA_LOG_INFO(UA_Log_Stdout, UA_LOGCATEGORY_SERVER,
                            "Loaded certificate from %.*s",
                            (int)paths[i].length, paths[i].data);
            } else {
                char errBuff[300];
                mbedtls_strerror(err, errBuff, 300);
                UA_LOG_INFO(UA_Log_Stdout, UA_LOGCATEGORY_SERVER,
                            "Failed to load certificate from %.*s, mbedTLS error: %s (error code: %d)",
                            (int)paths[i].length, paths[i].data, errBuff, err);
                internalErrorFlag = 1;
            }
        }
        UA_Array_delete(paths, pathsSize, &UA_TYPES[UA_TYPES_STRING]);
        paths = NULL;
        pathsSize = 0;
    }

If I'm not using CRL correctly, can you please point me to the correct usage, i.e. how should I generate the CRL?

Are you passing certificate files to mbedtls_x509_crl_parse_file? That can't work. mbedtls_x509_crl_parse_file and any other CRL parsing function expects a certificate revocation list, not a certificate. The format of a CRL is not a list of certificates. It's a list of certificate serial numbers, surrounded by some metadata. The list has to be signed by the certificate authority that generated the certificate.
If you're running your own CA, you can find howtos for generating CRL with OpenSSL on the web. If not, you need to obtain the CRL from the CA.

@gilles-peskine-arm  Thank you for clarification.

Hi @robertns, you might also find the X.509 example applications useful in this context.


Enhance: dashboard UI change

Fixes Issue: #136

Hi @punyakrit ,  I have checked the build out. Can you check in your local env and review changes and merge or if any other suggestions mention here I'll add those on top of this PR too.

@punyakrit  Can you review and merge this PR ?

this is a big pr will take time for me to review will do on weekend as I have job to do as well

No problem take your time. Thanks for the update.

Ui is bugged needs to be fixed

Ui is bugged needs to be fixed

working on it


Use database abstraction/ORM layer to support multiple SQL-based database

Current MPS database backend is hardcoded to PostgreSQL. As deployments environment varies, connecting to different database means intrusive code editing. In order to ease the adjustment to various deployment condition, database middleware such as knex, sequelize, bookshelf etc  should be looked at to provide flexibility.

Documentation will be provided and updated here:  https://github.com/open-amt-cloud-toolkit/docs/pull/64

The linked PR won't solve this, but puts us in the right direction


Question: Are they any Middleware like express with a next() callback ?

I have used express for a long time and one important thing in express for me are middleware.
Middleware are easy to use and just required a callback that will call the next middleware (util it reach the router).
I try to understand how plugin and onRequest hook works but I didn't manage how I can recreate that behavior.
Is it possible to create middleware with a "next()" callback or if that is not possible. How can I create a middleware that call a promise ?

There's no next() in Elysia, we rely on async-await.
Besides onRequest, you can just use async-await to handle promises.

Well...
Actually, to explain my problem, I'm trying to find a simple way for me to create a sort of global store that allows me to store the context of a route. This way, later in my presentation code, I can bypass the need to pass variables like which route my API was hit on. (This is totally inspire from Laravel Auth::user())
So, NodeJS (and therefore Bun) has the AsyncLocalStorage from node:async_hooks.
The problem with this solution is that I need to do this to contextualize the execution thread with a dedicated store.
asyncLocalStorage.run(new Map(), () => {
    next();
});

So the issue here is that with a promise, I can at best return a value in onRequest.
So I'm afraid that for this, I will have to create some kind of wrapper on each of my routes to inject the context.
If by chance you have a more elegant solution than wrapping all the "get"
I'm all opens ^^.

How about derive

So the idea is there except that the problem is that here we only touch the context of the Elysia query and not physically launch, as explained here, an "independent storage context" which persists the same context for any following asynchronous calls.
https://nodejs.org/api/async_context.html
So obviously afterwards I could pass the context object to each function up to my presentation layer but the basic idea was to avoid mixing the profession with this kind of thing
If you are curious what a minimal implementation with Elysia, here my demo ^^
import { Elysia, t } from "elysia";

import { AsyncLocalStorage } from "node:async_hooks";

export const asyncLocalStorage = new AsyncLocalStorage<Map<string, any>>();

const app = new Elysia()
  .get(
    "/",
    async ({ query }) => {
      console.log(query.name);

      return asyncLocalStorage.run(new Map(), async () => {
        const store = asyncLocalStorage.getStore();

        if (!store) {
          return "error";
        }

        store.set("name", query.name);

        return await test();
      });
    },
    {
      query: t.Object({
        name: t.String(),
      }),
    },
  )
  .listen(3008);

async function test() {
  await new Promise((f) => setTimeout(f, 1000));

  const store = asyncLocalStorage.getStore();

  if (!store) {
    return "error";
  }

  const name = store.get("name");

  return name;
}

console.log(
  `🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`,
);

You can try to send curl 'http://localhost:3008/?name=A' and  curl 'http://localhost:3008/?name=B' with some delay between and see the response is not mix

Hi, this is my solution:
app.get('/me', this.me.bind(this), {       beforeHandle: async ({ jwt, set, request }) => {         const token = request.headers.get('authorization')?.split(' ')[1]         const user = token ? await jwt.verify(token) : null         if (!user) {           set.status = 401           return 'Unauthorized'         }         request.user = user       },     })

Hi, this is my solution:
app.get('/me', this.me.bind(this), {
      beforeHandle: async ({ jwt, set, request }) => {
        const token = request.headers.get('authorization')?.split(' ')[1]
        const user = token ? await jwt.verify(token) : null
        if (!user) {
          set.status = 401
          return 'Unauthorized'
        }
        request.user = user
      },
    })

I don't think that solves my bottom problem to create an AsyncLocalStorage, however I'm curious to know what this.me.bind(this) is in your code.

Well...
Actually, to explain my problem, I'm trying to find a simple way for me to create a sort of global store that allows me to store the context of a route. This way, later in my presentation code, I can bypass the need to pass variables like which route my API was hit on. (This is totally inspire from Laravel Auth::user())
So, NodeJS (and therefore Bun) has the AsyncLocalStorage from node:async_hooks. The problem with this solution is that I need to do this to contextualize the execution thread with a dedicated store.
asyncLocalStorage.run(new Map(), () => {
    next();
});

So the issue here is that with a promise, I can at best return a value in onRequest. So I'm afraid that for this, I will have to create some kind of wrapper on each of my routes to inject the context.
If by chance you have a more elegant solution than wrapping all the "get" I'm all opens ^^.

Well I re read the Node documentation about AsyncLocalStorage and I miss I can create an AsyncLocalStorage with asyncLocalStorage.enterWith(store)
https://nodejs.org/api/async_context.html#asynclocalstorageenterwithstore
It's technically experimental and do some strange behavior compare to normal asyncLocalStorage.run but I tested and with onRequest I can create my  context and share everywhere after.
So my strange technical need have been solve.

like this https://github.com/elysiajs/elysia/issues/315 , create a small pr for override fetch


float precision check in rational quadratic spline discriminant

Hello, and thanks again for the terrific package
The present pull request address an issue me and my group have been facing a lot when using model.sample().
When inverting a rational quadratic spline one must calculate the value $\sqrt{b^{2} - 4ac}$ where a, b, c are defined as in eq 6 and onward in the original paper (Neural Spline Flows).
The rational quadratic splines code has a check to ensure that this discriminant satisfies $b^2 -4ac >= 0$:
        discriminant = b.pow(2) - 4 * a * c
        assert (discriminant >= 0).all()

However, if the two components are equal up to the float precision, $b^2 = 4ac$, instead of their difference being 0 as expected, it is sometimes set to an arbitrary bit value with arbitrary sign (e.g. -3.0518e-5), which can proc the AssertionError and cause a crash.
To avoid this unwanted behaviour we implemented a simple check on the relative magnitude of the discriminant, which seems to be solving the issue effectively in our use case:
        discriminant = b.pow(2) - 4 * a * c

        float_precision_mask = (torch.abs(discriminant)/(b.pow(2) + 1e-8)) < 1e-6
        discriminant[float_precision_mask] = 0

        assert (discriminant >= 0).all()

Please let me know if you need anything else on my part,
Best regards,
Francesco

PLEASE NOTE: on my fork this commit causes two tests to crash with the following errors:
FAILED tests/transforms/autoregressive_test.py::MaskedPiecewiseQuadraticAutoregressiveTranformTest::test_forward_inverse_are_consistent - AssertionError: The tensors are different!
FAILED tests/transforms/splines/cubic_test.py::CubicSplineTest::test_forward_inverse_are_consistent - AssertionError: The tensors are different!
However this errors seems to be related to two transforms left untouched by my pull request, so I am not sure if they are actually related to my modification. Do you have any idea as to why they may be crashing?

P.S. Re. failing tests: unfortunately, the test can be flaky in this package due to numerical instability. Re-running usually helps.

Thanks for reviewing! I have incorporated the required changes, let me know if I can do anything else before we can proceed with a merge!
Best,
Francesco

From a quick look, I have picky comments, suggesting that a deeper dive might be useful, but not answers:
The 1e-6 is a few times single floating point eps and makes sense given how the discriminant is then used. The 1e-8 seems like a hack: there doesn't seem to be an obvious absolute scale that determines what makes b "small" here?
If b is zero then this operation could introduce a new divide by zero that wasn't there before. If both b and the discriminant is zero, the correct root is usually 0 not NaN. The other solution to the quadratic would pick that up. I wonder if there is a reason that the paper assumed the solution form in the code (eq 29, for 4ac small) was the correct one, whereas apparently you're hitting cases where 4ac is as large as it can be?
I'm not seeing the need to modify small discriminants. It seems safer to only modify negative ones? Perhaps (without having worked out the details) it would be better to first assert that none of them are "too" negative, and then zero out the negative ones.

Hello and thank you for taking the time to review the pull request and for your insightful comments!

On Magic Constants:
I understand the concern regarding the arbitrary choice of the constants (1e-6 and 1e-8). These were selected primarily based on empirical observations to ensure numerical stability in our specific use-cases. I'm open to exploring a more principled approach. Would you recommend any alternatives?

Division by Zero:
Your point about introducing a potential division by zero is valid. My intention was not to override the cases where both b and the discriminant are zero, as the correct root in such a scenario should indeed be zero, not NaN.

Modifying Small Discriminants:
The primary reason for modifying small discriminants was to mitigate the effects of floating-point arithmetic errors that can sometimes cause the discriminant to be a tiny negative number, even when b**2 and 4*a*c are theoretically identical. I opted to alter small discriminants to prevent these tiny errors from propagating further into calculations.
However, I do agree that a more conservative approach of only modifying the negative ones could be more appropriate. Just to understand, would something like this be preferrable?:
 discriminant = torch.where(discriminant<0,
                             torch.zeros_like(discriminant), discriminant)

Would love to hear your thoughts on these points. Once again, thank you for your time and expertise.
Best regards,
Francesco


consensus: iota_consensus_cw_rating_calculate infinite loop

It's actually not looping, just to slow because of lack of #1062