Seek to understand and resolve foundation bylaw differences

At the moment this is a work in progress.  As work progresses, updates will be posted here so people can follow its progress.
I'm starting by resolving formatting differences in the JS Foundation Bylaws and the Node.JS Foundation Bylaws.  HTML formatted diffs of the results will be posted, and summaries of those diffs will be provided.
Obligatory disclaimer: anything we produce will need to be vetted, and potentially completely rewritten, by lawyers.  That being said, a firm understanding of what does and does not belong in bylaws, and furthermore, a deep understanding of the two starting points will be invaluable in preventing much wasted effort and misunderstandings.
Examples of very early results (from the first ARTICLE):

The names of the foundations are different (duh!)
The principle offices are on different streets in San Francisco.
The section on Additional Offices are identically worded.
The section on Purpose should inform our discussion on Mission and Vision
The JS Foundation has sought and obtained an exception from Federal Taxes, the Node.JS foundation has not (yet?) done so.

Outside of Section 4 ("Purpose"), there is little in ARTICLE I that will likely concern us.  This will change as we get to later sections.  Board representation (as explored in, for example, https://github.com/nodejs/bootstrap/pull/6) has direct bylaws implications.

@rubys I was thinking that looking at the 2 existing set of bylaws and potentially building a draft with the 2 as a basis would make the feedback we need to provide on this front much more concrete.  Thanks for doing this and looking forward to the coverage for the rest of the articles.

@mhdawson I'm envisioning a three pass process.  First pass is "what are the salient differences"? Second pass is a global triage on the differences.  As I alluded to above, my sense is that we very much care what the PURPOSE of the new foundation is, but don't particularly care where the principle office is.  A third pass would be to create a draft document, likely with plenty of TBDs (things we need to work) and EDONTCAREs (things that can be left to others).  The third pass will go quickly if the issues are largely independent (as the PURPOSE and principle office are), and if there isn't much desire to use this as an opportunity to address issues unrelated to the merge.  The flip of this is also true: if the issues are thorny and interrelated, and/or if there is a desire to inject other requirements into the process, this can take longer.

Article III major differences:

minor differences only in section 1 (JS foundation mentions Workgroups, Node specifies electronic notices)
no differences in nomination and election procedures

Article IV major differences:

Node specifies that no Director can speak for the foundation without authorization.
Each foundation has different, and complex, rules for keeping the ratio between Gold and Platinum members in check
Additional (different, complex) rules for keeping the ratios in sync, including (for node.js) provisions for "in good standing".
"good standing" differences only for enlargement/reduction
nearly equivalent rules for resignation and removal
nearly equivalent rules for vacancies
Identical "place of meetings"
JS Foundation allows "regular" meetings to occur "without notice".  Node only provides for scheduled meetings.
Essentially identical "special meetings" provisions
Supermajority vote is required in the node foundation for changing IP rules
essentially equivalent "action by consent"
telephonic meetings is split out to a separate section in the JS Foundation
identical "inspection rights"
in fees and compensation, JS Foundation says no "reimbursements", and Node.js says no "compensation".

Article V major differences:

5.1 of the JSF is split into two sections in Node.js; key differences being that the Node.js foundation explicitly disallows committees from taking actions that require a board vote, and provides a means for Platinum members to object to the board placing a member on a committee.
Meetings of Committees of the Board are identical
Node.js clarifies that term of offices is established at the time of the Election as director.
Node.js mentions the TSC explicitly in the bylaws as a committee, and the JSF mentions a TAC.  Their roles are specified differently, most notably TAC has a role and is largely responsible for creating project and terminating projects.  JSF explicitly allows committees to have sub-committees, working groups, and special interest groups.

Article VI

The Node foundation has a Chairperson and a Vice chairperson, both of which are required to be a Platinum Director.  The JSF has a President and one or more Vice presidents each of which is required to be a Director.  The JSF has a rule that no two Officers may be employed by the same Company, unless there are fewer than four Directors at such time.
Vacancies is identical.
Election differs only in the naming of the chair/president roles, and that the JSF includes ED and Treasurer in the annual election.
Tenure is identical.
The role of Chairperson in the node foundation is identical to the role of the President in the JSF.
The role of the Vice Chair in the node foundation is identical to the role of the Vice Presidents in the JSF.
The role of the Secretary is identical
The role of the Assistant Secretaries is identical
The JSF defines a Treasurer role
Compensation differs.  In the Node foundation, no officer other than an ED can receive compensation; there is no such limit in the JSF.  In fact, the JSF goes further and says that being a Director doesn't preclude an individual from receiving a salary as an Officer.

Article VII

Where the JSF uses "address", the NF uses "physical, email or telecopy address or number"
Waver is identical

Article VIII

Only difference in this entire article is in section 8.4, in the JSF determination of indemnification to be made by either a majority vote of the Directors who were not involved OR by the members; in the NF it is only by the Directors.

Article IX

Only difference is a wording change in 9.5: "Delaware General Corporation Law" vs "General Corporation Law of Delaware".

Article X

Only difference is a capitalization change in 10.1: "...in which one or more of its directors or officers are Directors or Officers" (NF) vs all lower case (JSF).

Article XI

Section 11.1, JSF uses "Purposes" where the NF uses "Purpose".
Section 11.2 Chairperson is subject to standing limits by the board (NF), where this isn't stated for the President (JSF)

Article XII

Section 12.1, Fiscal year initially ended on December 31st (NF) and was not specified in JSF.
Section 12.4, Membership is capitalized in NF, it is not in the JSF version

Article XII

President vs Chairperson
any division vs division
Bylaws vs By-laws
Purposes vs Purpose
open source vs Open Source
"code base, specification or platform developed or adopted by an Project" (JSF) vs "Platform developed or adopted by the $FOUNDATION"

Article XIV

In addition to changing the bylaws by a supermajority vote of the board of directors, the JSF provides the ability for a change to be approved by 2/3 of the members, and further adds that members initiated changes happen at annual meetings, and in the case of Directors initiated changes it needs to be in the notice of the meeting

HTML Diff.  Note that I didn't work in all cases to produce a minimal diff; I often stopped working on an article or section when the differences were clear and moved on.

From today's meeting
Sections of bylaws that merit a lot of attention include:

composition of board
composition of committees
what it takes to amend bylaws
how decisions are made
different classes of members and who/how gets on the board

I'm going to remove this from the agenda for now, please lmk if it should be re-added


JAX 0.4.14 jaxlib cudnn error - non-docker installation

Hi,
I am currently installing the latest Alphafold (from main branch, so 2.3.2 plus new features, new openmm=7.7.0 , no openmm patch, python=3.10  etc..)  on a HPC cluster without Docker. I am confused about the jaxlib versions, as in the requirements. txt file it says jax=0.4.14 , but in the dockerfile it is still at 0.3.25.
CUDA=11.2.2  (or 11.8.0 or 11.1.0 , tried all of them)
If I generate a conda env with:
(from the docker file and requirements.txt)
channels:
  - pytorch
  - conda-forge
  - defaults
  - anaconda
  - bioconda
dependencies:
  - python==3.10
  - pip
  - openmm==7.7.0
  - cudnn  # Change version if not compatible with current system
  - cudatoolkit
  - pdbfixer
  - hmmer==3.4
  - hhsuite==3.3.0
  - kalign2==2.04
  - pip:
    - absl-py==1.0.0
    - biopython==1.79
    - chex==0.0.7
    - dm-haiku==0.0.10
    - immutabledict==2.0.0
    - ml-collections==0.1.0
    - numpy==1.24.3
    - scipy==1.11.1
    - tensorflow-cpu==2.13.0
    - jax==0.4.14
    - pandas==2.0.3
    - dm-tree==0.1.8

and then do
pip3 install --upgrade --no-cache-dir  jax==0.3.25  jaxlib==0.3.25+cuda11.cudnn805  -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
If I do :
python -c "import jax; print(f'Jax backend: {jax.default_backend()}') , I get Jax backend: gpu and if I check for jax.devices(), I get
jax.devices output [gpu(id=0)]
alphafold runs ( 5 min slower than the old version on the cluster for a 60AA protein), but I get the Warning during runtime:
Unable to initialize backend 'plugin': xla_extension has no attributes named get_plugin_device_client. Compile TensorFlow with //tensorflow/compiler/xla/python:enable_plugin_device set to true (defaults to false) to enable this.
As described in issue #88 , tensorflow is installed as tensorflow-cpu on purpose, if I understand correctly.
When I install the same with
 pip install --upgrade --no-cache-dir jax==0.4.14 jaxlib==0.4.14+cuda11.cudnn86 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
I dont get the Warning anymore, but alphafold fails after the "features" step during runtime with :
Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
Anyone any idea?

This is weird, I agree. Myself I'm running the Docker version. And the inference took way longer than usual since the gpu wasn't detected for some reason.
My CUDA version is 11.1.1 exactly like the Dockerfile.
Did you make any progress from your side ?

Hi, I did some more tests and played around with different versions of various packages and I actually got it running by using a more recent conda version - which is weird from my understanding. The central conda version on our system was pretty old ( 4.10.3) and I decided to go for a very recent conda version (24.X.X) and that fixed the problem.
So I still used the:
pip3 install --upgrade --no-cache-dir  jax==0.3.25  jaxlib==0.3.25+cuda11.cudnn805  -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
and the environment.yml file:
channels:
  - pytorch
  - conda-forge
  - defaults
  - anaconda
  - bioconda
dependencies:
  - python==3.10
  - pip
  - openmm==7.7.0
  - cudnn  # Change version if not compatible with current system
  - cudatoolkit
  - pdbfixer
  - hmmer==3.4
  - hhsuite==3.3.0
  - kalign2==2.04
  - pip:
    - absl-py==1.0.0
    - biopython==1.79
    - chex==0.0.7
    - dm-haiku==0.0.10
    - immutabledict==2.0.0
    - ml-collections==0.1.0
    - numpy==1.24.3
    - scipy==1.11.1
    - tensorflow-cpu==2.13.0
    - jax==0.4.14
    - pandas==2.0.3
    - dm-tree==0.1.8

I still get some warnings, and I want to try using the very latest jax/jaxlib (0.4.23 I think) , but have not done so far.
Do you get "GPU" when trying:
python -c "import jax; print(f'Jax backend: {jax.default_backend()}') , I get Jax backend: gpu and if I check for jax.devices(), I get
jax.devices output [gpu(id=0)]


Search input updated

Notes for Reviewers
This PR fixes ##7106

Added margin to search form
font of search input is matching with the page font
search value is visible
after search, input is populated with query string

the new search input looks like this

Signed commits

[x] Yes, I signed my commits.

@leecalcote @deepakdinesh1123 @ritiksaxena124 hey guys take a look at this.

🚀 Preview for commit a683cd702ccec1384da03294ed7b4cb3253bd478 at: https://63f89407ed9907064693a722--meshery-docs-preview.netlify.app

🚀 Preview for commit aa3ba6bc50ae1d2fc93711ab51b3dedcd176541c at: https://63fb43122f15a464ca376fda--meshery-docs-preview.netlify.app

Hey @GaganpreetKaurKalsi thank you for your help 😄.

🚀 Preview for commit 4e29295afba41d51d706bd44b602112ddcf47232 at: https://63fc817d0eebe50b4d792ca9--meshery-docs-preview.netlify.app

Hey @GaganpreetKaurKalsi I have committed your suggestions do i need to make some more changes ?

Looks good 👍 💯

Thank you 😄

Hey @leecalcote take a look at this.

🚀 Preview for commit 8d5cfb09f4ec0e3c3f4228df58fdc336a1e45618 at: https://63fd990c54c71553484a8305--meshery-docs-preview.netlify.app

@VIKAS0264  Let's discuss this on the Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)


Renamed Json method to AsJson (for fetching the raw json) [GH 313]

Fixes #313
Also added ToJsonArrayAsync & AsJson for IMartenQueryable (to support AsJson for all documents- without a Where)

Got it in w/ a rebase. Thanks @nieve!


Improve Stream Force Format feature's merge strategy

When calling OpenAI with streams, sometimes the chunk gets cut in half. We dont know why this is the case. So we added a flag to merge two split up chunks, but the algorithm is very stupid.
  if (
    proxyRequest.requestWrapper.heliconeHeaders.featureFlags.streamForceFormat
  ) {
    let buffer: any = null;
    const transformer = new TransformStream({
      transform(chunk, controller) {
        if (chunk.length < 50) {
          buffer = chunk;
        } else {
          if (buffer) {
            const mergedArray = new Uint8Array(buffer.length + chunk.length);
            mergedArray.set(buffer);
            mergedArray.set(chunk, buffer.length);
            controller.enqueue(mergedArray);
          } else {
            controller.enqueue(chunk);
          }
          buffer = null;
        }
      },
    });
    body = body?.pipeThrough(transformer) ?? null;
  }

You can see the TransformStream here. I think a better approach is to format the stream with a known regex and keep appending the chunks until the regex is matched and then send it back.

This should be fixed with the latest stream changes, where we dont pipe through any more :)


Custom attributes are empty

Custom attributes seem to be empty.

Same issue here !

There was a change with attribute types in Kanka it seems. I changed the code and it should also be at least somewhat more resilient to similar changes in the future.


Getting emotes

Hello! I want to get all emotes without buying each of them and heard that I need to find "I am a party pooper" and change false to true. When I do this I still have only 8 emotes. Can you please tell me what should I do?

That doesn't seem right. After you check that you only have 8 emotes, if you closed the game and checked your config, is the party pooper config still set to true? I personally haven't seen this not work for me.

Could you let me know if this is still an issue for you? I didn't make any specific fix for this since it seems like it should be working, but I just wanted to double check. Thanks!

I'm not sure where the winrar one came from, but you probably don't need to touch that. How do you install your mods?
And would you be able to give me a path to the TooManyEmotes config file, in relation to the BepInEx folder? I think it should be BepInEx/config/FlipMods-TooManyEmotes.cfg (or maybe it's just named TooManyEmotes.cfg)

I'm actually so stupid. I thought I need to change it in ConfigSettings.cs... Thank you so much! Now I have all emotes

Ahhh, that would do it, and no problem!


logo as only text

@tiborsimko , it does not look as nice... :(
Signed-off-by: Jose Benito Gonzalez Lopez<EMAIL_ADDRESS>

@jbenito3 See also #12 I had done earlier...

Closing as a duplicate of #12.


Bug with 'All Unread' smart feed and deleting a feed with unread items

I just downloaded 5.0b2 (2299).
I was going through the feeds and deleting a few that didn't interest me. I deleted the Seattle Xcoders feed but when I finished there were 25 unread items in 'All Unread'.. all from Seattle Xcoders that had been deleted.

Also still getting new items from NSCoder Seattle today..


Launcher Icon Missing

The launcher icon is missing:
http://afonsopacifer.github.io/img/launcher-icon-1x.png
Great project btw.

Apologies launcher icon is there, it is displayed on my android tablet, however is not on my android phone.


How use nvenc for writegear

How to setup ffmpeg arguments for writegear for using nvenc/vdpau
Question
How can I setup writegear to using vdpau or nvenc to create a mp4 file
Context
With vaapi backend it works fine but how can i use nvenc
return {
                "-vcodec": "h264_vaapi",
                "-vaapi_device": "/dev/dri/renderD128",
                "-vf": "format=nv12,hwupload",
                "-input_framerate": fps
            }

thanks

How to setup ffmpeg arguments for writegear for using nvenc/vdpau

@acschristoph Using NVENC encoder is way simple if you spend a little effort on FFmpeg docs:
# import required libraries
from vidgear.gears import CamGear
from vidgear.gears import WriteGear
import cv2

# Open live webcam video stream on first index(i.e. 0) device
stream = CamGear(source=0, logging=True).start()

# define required FFmpeg parameters for your writer
output_params = {
    "-vcodec": "h264_nvenc",
    "-b:v": "4M",
    "-maxrate:v": "5M",
    "-bufsize:v": "8M",
    "-profile:v": "main",
    "-level:v": "4.1",
    "-rc:v": "vbr_hq",
    "-rc-lookahead:v": 32,
    "-refs:v": 16,
    "-bf:v": 3,
    "-coder:v": "cabac",
    "-b_ref_mode:v": "middle",
    "-f": "mp4",
}

# Define writer with defined parameters and suitable output filename for e.g. `Output.mp4`
writer = WriteGear(output_filename="Output.mp4", **output_params)

# loop over
while True:

    # read frames from stream
    frame = stream.read()

    # check for frame if Nonetype
    if frame is None:
        break

    # {do something with the frame here}

    # write frame to writer
    writer.write(frame)

    # Show output window
    cv2.imshow("Output Frame", frame)

    # check for 'q' key if pressed
    key = cv2.waitKey(1) & 0xFF
    if key == ord("q"):
        break

# close output window
cv2.destroyAllWindows()

# safely close video stream
stream.stop()

# safely close writer
writer.close()

Also, next time please reach us through our Gitter Community channel for submitting any typos. More information can be found in Submission Contexts

@acschristoph  Also make sure you have a NVIDIA GPU to use a NVENC encoder.


Question

Hi! I use create the component via Java and I need to change the color of the arrows and the text appearance (app:snp_value_text_appearance)
How can I do that ?
Thanks!

Hello benoffi7,
you can change the color of the arrow by using a colored drawable with the xml-attribute app:snp_buttonIconLeft. An example is the arrow_up_bold_circle_outline.xml where you could change the android:fillColor to achieve that.
Changing the text-appearance is working the same way. You just need to pass a style which matches your requirements. E.g.
Insert a new style in styles.xml
<style name="CustomTextAppearance" parent="@android:style/TextAppearance">         <item name="android:textColor">#FF1234</item>         <item name="android:textSize">14dp</item>     </style>
And add it like:
app:snp_value_text_appearance="@style/CustomTextAppearance"
For changing only the text color you can use app:snp_value_text_color as well. Note that it overwrites the color defined in text-appearance.


League CSV as Reader/Writer

I've just found this library and quickly gone through it (and its issues). I see that there are a few related to the CSV Reader. Maybe implementing the League CSV package could help addressing a few.

There are some libraries which improves the CSV handling in PHP, but i think we didn't need a library here, because it makes for the enduser to use this library.
CSV is the most used format, it should be possible to use it, without install a second library.

Well, I am OK with that. However I will write it for proof of concept and compare the two. Will get back with the results.

@sagikazarmark Very interesting, would love to see the results!
I don't mind including another library if it turns out that is does CSV handling better than we do (and their way of doing so is compatible with our Writer structure).

@sagikazarmark Did you already have the chance to make the comparison?

Yeah, I did, I have some implementation in my extra repository. @Baachi mentioned he would like to do it.


[firebase_auth] GoogleSignIn.signIn() method crash on IOS

Hi,
I'm getting systematic crashes when calling the GoogleSignIn.signIn() method of the firebase_auth plugin (version: ^0.8.4+5) on IOS.
My code:
  Future<AuthResult> signInWithGoogle() async {
    try {
      final GoogleSignInAccount googleUser = await _googleSignIn.signIn();
      final GoogleSignInAuthentication googleAuth =
          await googleUser.authentication;
      final AuthCredential credential = GoogleAuthProvider.getCredential(
        accessToken: googleAuth.accessToken,
        idToken: googleAuth.idToken,
      );
      final FirebaseUser user =
          await _firebaseAuth.signInWithCredential(credential);
      return AuthResult(uuid: user.uid);
    } catch (error) {
      switch (error.code) {
        case "ERROR_NETWORK_REQUEST_FAILED":
          return AuthResult(error: "Network error, check your connection.");
        default:
          return AuthResult(error: error.message);
      }
    }
  }

and the resulting crash trace:
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010d2c71bb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x000000010c128735 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010d2c7015 +[NSException raise:format:] + 197
	3   Runner                              0x0000000105454163 -[GIDSignIn signInWithOptions:] + 242
	4   Runner                              0x0000000105450758 -[GIDSignIn signIn] + 64
	5   Runner                              0x000000010548b48e -[FLTGoogleSignInPlugin handleMethodCall:result:] + 2270
	6   Flutter                             0x00000001099957ba __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 115
	7   Flutter                             0x00000001099b24ac _ZNK5shel<…>

output of flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14 18A391, locale en-AU)
    • Flutter version 1.2.1 at /Users/theo/flutter
    • Framework revision 8661d8aecd (3 months ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/theo/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 32.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.33.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.26.1

[✓] Connected device (1 available)
    • iPhone XR • 0CC3FA03-8E0C-4ED8-8DE8-0070F46E4F0D • ios • iOS 12.1 (simulator)

• No issues found!

@theochampion is it the same while using current flutter stable and firebase_auth 0.14.0+5?

Hi @theochampion
for what I can see the issue is related to a FlutterFire plugin,
please open the issue in the dedicated github.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
thank you


feat: support glob pattern for disabled_filetypes

Specifying buffer types (to disable hardtime for) individually can be tedious, especially for buffers that share a common prefix like Neogit, so I've included a small glob-like support that allows users to specify Neogit* and it matches all Neogit buffers.

@heywhy Sorry I've been busy recently. I'll review this today asap!

@heywhy I just rewrote the matching logic and removed the redundant part. It should work same as before. If this looks good to you I'll merge it!

LGTM! I apologize for my cranky implementation, I have little to no knowledge of Lua. 😄

Great, thanks for your contribution :heart:


Image not loaded because of lazy loading

I maintain a rather large documentation with a lot of images and am using this great tool to provide a printable doc to users.
When a user reaches the /print_page/ route and the print action is launched before scrolling the page, the images aren't loaded due to the html property "lazy loading".
Is there a way to remove this useful property in order to be sure that every images will be included into the printable preview ?
There's an ongoing issue in the chromium repo related to my problem.
https://bugs.chromium.org/p/chromium/issues/detail?id=875403

Thanks for reporting this issue, I wasn't aware of this.
Just to understand, are you using this feature from mkdocs-material to enable lazy-loading of your images?
https://squidfunk.github.io/mkdocs-material/reference/images/?h=lazy+load#image-lazy-loading . If so, I might be able to inject some javascript to 'undo' it for the print page.
And a temporary workaround, would it be an option for you to:

generate the PDF automatically during build
And then add a PDF button or a separate page with the link to the built PDF

Yes indeed, I'm using the feature you referenced.
I'll probably try to implement the solution you suggested and add the PDF generation into my CI/CD pipeline.
Thanks for your feedback.

Good you have a workaround. I'll have a look at 'undo-ing' lazy loading for the print page for the next version of this plugin

@squidfunk I want to selectively (for a single page) turn off the lazy loading feature for images in mkdocs-material.
I haven't been able to manage (see my attempt in https://github.com/timvink/mkdocs-print-site-plugin/pull/63). Any pointers would be highly appreciated!

Images are not lazy-loaded by default. Authors must define explicitly which images should be lazy-loaded: https://squidfunk.github.io/mkdocs-material/reference/images/#image-lazy-loading

Authors must define explicitly which images should be lazy-loaded

True, but in this case I am combining all pages from mkdocs into a single page (for printing/exporting). So for the print page I want to disable the lazy loading capability.
I now understand mkdocs-material does not do anything extra with javascript. I think I'll go for a solution where I edit HTML directly from the plugin.
Thanks for the input!

If anyone encounters this issue, here's my workaround below.
generate-pdf.js
// Credits for script: https://github.com/majkinetor/mm-docs-template/blob/master/source/pdf/print.js
// Requires: npm i --save puppeteer

const puppeteer = require('puppeteer');
var args = process.argv.slice(2);
var file = args[0];
var url = `file://` + process.cwd() + file;
var pdfPathArg = args[1];
var pdfPath = process.cwd() + pdfPathArg;
var title = args[2];

console.log('Saving', url, 'to', pdfPath);

// date –  formatted print date
// title – document title
// url  – document location
// pageNumber – current page number
// totalPages – total pages in the document
headerHtml = `

    Documentation Jalia   /

`;

footerHtml = ` `;

console.log(' ## Launching headless browser');
(async () => {
  const browser = await puppeteer.launch({
    headless: true,
    executablePath: process.env.CHROME_BIN || null,
    args: ['--no-sandbox', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--shm-size=3gb'],
    ignoreHTTPSErrors: true,
  });
  console.log(' ## Open a new page');
  const page = await browser.newPage();
  console.log(' ## Go to the url : ', url);
  await page.goto(url);
  console.log(' ## Accept the cookies');
  // Click the cookie consent button
  await page.evaluate(_ => {
    function xcc_contains(selector, text) {
      var elements = document.querySelectorAll(selector);
      return Array.prototype.filter.call(elements, function (element) {
        return RegExp(text, "i").test(element.textContent.trim());
      });
    }
    var _xcc;
    _xcc = xcc_contains('button', 'Accepter');
    if (_xcc != null && _xcc.length != 0) { _xcc[0].click(); }
  });
  console.log(' ## Reload the page and wait for it to load');
  await page.goto(url, { waitUntil: 'networkidle2' });

  console.log(' ## Wait for images to load');
  await page.setViewport({
    width: 1200,
    height: 800
  });
  await autoScroll(page)

  console.log(' ## Render the page as PDF');
  await page.pdf({
    path: pdfPath, // path to save pdf file
    format: 'A4', // page format
    displayHeaderFooter: true, // display header and footer (in this example, required!)
    printBackground: true, // print background
    landscape: false, // use horizontal page layout
    headerTemplate: headerHtml, // indicate html template for header
    footerTemplate: footerHtml,
    scale: 1, //Scale amount must be between 0.1 and 2
    margin: { // increase margins (in this example, required!)
      top: 80,
      bottom: 80,
      left: 30,
      right: 30
    }
  });
  console.log(' ## Close the browser');
  await browser.close();
})();

async function autoScroll(page) {
  await page.evaluate(async () => {
    await new Promise((resolve, reject) => {
      var totalHeight = 0;
      var distance = 100;
      var timer = setInterval(() => {
        var scrollHeight = document.body.scrollHeight;
        window.scrollBy(0, distance);
        totalHeight += distance;

        if (totalHeight >= scrollHeight) {
          clearInterval(timer);
          resolve();
        }
      }, 100);
    });
  });
}

You can ignore the part where I handle the cookie consent screen which a feature from mkdocs-material-insiders.
I use this script in my package.json.
package.json
"scripts": {
    "pdf": "node generate-pdf.js /public/print_page/index.html /public/assets/document/documentation-jalia.pdf 'Documentation Jalia'",
  }

And I added these two steps in CI job.
ci.yml
      - name: Create document folder
        run: mkdir -p public/assets/document
      - name: Generate PDF 📄
        run: yarn pdf

I managed to fix this in print-site directly. In the end, it was a one-liner:
https://github.com/timvink/mkdocs-print-site-plugin/blob/13c0ced85b28a48fc4ad8363da296eb40e0c0f78/mkdocs_print_site_plugin/plugin.py#L314

Released in v2.2.4

Excellent, thank very much for this !


Use a circular buffer for breadcrumbs

This avoids accidentally quadratic behaviour for adding breadcrumbs. Ruby arrays aren't double ended queues.

Oh wait, I noticed that there is an accessor for a buffer, which pretty much means this is here to stay :(.

I may look into having accidental O(N^2) complexity only when buffer is ever accessed if that is an issue.

Not sure this is an issue at the default buffer size. Feel free to reopen with a benchmark to change my mind.


moment,fromNow returns "2 days ago" even though it's only been 36-48 hours

Why does it round up so much? It should be 2 days ago once it's been 48 hours since. I have it show relative and calendar time and it sometimes says "2 days ago yesterday at 1:00am" from certain times between 36-48 hours.

No, it's useful for a lot of use cases that it rounds; most people are only showing "2 days ago" by itself, where it makes a lot more sense than showing "a day ago" for 47 hours and 59 minutes.

Is there an option to disable the rounding? 2 days ago is not technically correct nor would most people consider 36 hours to be "2 days ago". If it is 8:01pm and the event was yesterday at 8am (which is a very common scenario) most people would definitely say it was a day ago. At least tighten up the rounding.

If you're willing to build the head of the develop branch, you can do this:
> var moment = require("./build/umd/moment")
> moment.relativeTimeRounding(Math.floor)
> moment().subtract(38, 'h').fromNow()
'a day ago'

I've noticed the same issue where I'm providing a date only eg "2016-08-01" and it's coming out as 2 days ago, I guess because it's interpreting my date as datetime. Could be useful if there was a date only option, such that 2016-08-1 would remain 1 day ago until 2016-08-03.


Add more parameters to DraftToMarkdownOptions.entityItems.open/close

Hello @Rosey,
Thanks for this nice module, I am currently enjoying adding it in our project and I am really happy about how we can handle things with it!
I will be happy to contribute to add more attributes to the open/close functions so that we can have the current block of the entity we are processing. The use case is quite simple (but useful):
In a text editor, I want to serialize things differently based on the block type.
If I take the well known Slack as example, when we are in a code block, we can mention someone, but the serialized data will be a simple text like @John Doe. On a quote block, the serialized data will be a more complex object, like [@John:123456789] for example.
If it makes sense, I will send a pull request adding block in the open/close as second argument to not break things, and will also update the DefinitelyTyped definitions.
What do you think about it?

Thanks! Just merged 🙂

(Released with 2.4.0)


Clojure Easy Form Buttons

I'm trying to create an easy form to run another cell in clojure and running into issues. I'm not sure if there is a different way to access easy forms or if this is actually a bug. Here's how to replicate the issue.
Place this into a cell, run it, and click the button.
(doto (com.twosigma.beakerx.easyform.EasyForm. "Test Form")
    (. addButton "Click Me!" "test"))

It throws this error in the terminal and the kernel dies.
Exception: org.zeromq.ZMQException thrown from the UncaughtExceptionHandler in thread "Thread-0"

This is actually a bug, thanks for the report!
We never got as far as making this stuff work in Clojure.
Should be able to fix soon.


Log all significant events in a standard format

When ERDDAP is running it doesn't appear to generate a logfile providing information about what operations it's doing and whether or not they're succeeding. I propose that it continuously generate logfiles that

Contain one line for each event, starting with the date and time
Are organized into log levels such as INFO, WARN, ERROR, DEBUG so that they can be configured at an appropriate level for the operational use case

This would enable integrating ERDDAP monitoring and metrics into off-the-shelf systems that perform log analysis, to facilitate real-time monitoring as well as other use cases such as debugging.

That's a good idea. It's a big job because there are lots of possible places to generate log messages. I may implement it in parallel with the current logging system because there are also advantages to an unstructured log (e.g., multiline messages).
If you have a suggested log format, please let me know.

I was discussing this with a sysadmin here who pointed me to RFC 5424 which is used for syslogs.
https://docs.ruckuswireless.com/fastiron/08.0.60/fastiron-08060-monitoringguide/GUID-88F338BA-B7BF-485C-B1DE-7418710452A6.html

Hello.  I'm the sysadmin who mentioned Syslog enhanced log format (RFC 5424).  Thinking about this more, I think that this is likely the job of something like Log4J or any other language-specific logging library.  Ideally the logging library would be implemented and configured to create logs in a structure that conforms to the Linux FHS and other norms.
For example, you might create a path at /var/log/erddap, and populate it with something like erddap-master.log in 5424 format, and place other logs alongside it that better handle multi-line (which I believe that syslog can sorta handle so I'd read up on the spec as well...), such as foo-multi.json.
The goal with the main log is to get things into an industry standard format that can be easily forwarded to anyone's log concentration, storage, and analysis system (eg: Splunk, Graylog, ElasticStack, DataDog).
Having things be written in a standard format will allow an on-host forwarder such as rsyslog or syslog-ng to scoop up the lines and ship them off to central log collectors.
That's my quick take at least, as an ops guy.


IOS 7  safari INVALID_STATE_ERROR: DOM Exception 11

we are getting an INVALID_STATE_ERROR: DOM Exception 11 error in Safari iOS 7.1.2
when calling API.stop()
The error is thrown at the line:
$scope.API.mediaElement[0].currentTime = 0;
I can reproduce on my phone and in the simulator on a Mac.
iOS 8.1.2 seems NOT to be affected.
Best regards
Staffan

I detected the same error in Firefox this weekend.
You can check it out in the RC available here: https://github.com/2fdevs/videogular/tree/v1.0.0-Betamax

My fault. I Can see that we tried to do the call without any media loaded.


Upgrade/800/enclosure group

Description
Updated Enclosure Group resource to support OneView API version 800
Check List

[x] New functionality includes testing.

[x] All tests pass. ($ ./build.sh).

[ ] New functionality has been documented in the README if applicable.

[x] New functionality has been thoroughly documented in the examples (please include helpful comments).

@AnushaY1916 , Worked on the comments, please have a look.


Upgrade to Python 3.6+

This issue tracks all roadblocks we need to overcome to make use of Python 3.6-exclusive features. There's not immediate need to upgrade right away, but it's useful to have an overview of what's left nonetheless.
Windows
✔ Windows users can just install Python 3.6.
TODO: Check that all binary dependencies have 3.6 wheels.
OSX
✔ Homebrew is already on Python 3.6.
Ubuntu

Ubuntu 16.04 LTS is still on 3.5.
Yakkety (16.10) and Zesty (17.04) do have Python 3.6 packages.
The next LTS release is scheduled for April 2018.

PyInstaller

Python 3.6 support is tracked in https://github.com/pyinstaller/pyinstaller/issues/2331.
It is already supported on the dev branch.

Just to get a complete picture, what are py36-exclusive feature we could benefit from?

I think the most useful one is syntax for variable annotations, which would be very nice for e.g. stateobject and generally type annotations in the codebase. Second, the formatted string literals are considerably nicer than "" % () or "".format(). So no immediate needs, but generally I think those things are useful.
Depending on what we do for the proxy core, we may also want async generators, although I really have not looked into this that much.

What I'm noticing just now: https://docs.python.org/3/whatsnew/3.6.html#pep-487-simpler-customization-of-class-creation might be a good fit for our addon system.

There are other benefits - our type checking system has a bunch of 3.5 exceptions that could go away. Less tangibly, I often see transient errors in CI tests for 3.5, where 3.6 works consistently.


[Investigation] Safari Video Play Incompatbility

Apparently, the video play feature is not compatible with Safari. This needs to be investigated and might result in Safari being unsupported.

I was able to pin-down this issue and apparently Safari is unable to play the video without explicitly knowing about the content type.


Added tests, and possible Mock refactor for discussion

It's not as clean as I'd like, but a starting point for refactoring the Mock setup for unit testing.
Also includes a test for the Version package to make sure we're keeping it consistent with the latest tagged release.

Converted most of Alerts to use the central mock, now the rest of the packages need to be converted.


Add sqlx support and test

This is an alternative approach to #7. It adds support for use in an sqlx AsRow derive, by implementing TryFrom<Vec<u8>> and TryFrom<Option<Vec<u8>>>.
One limitation of this approach is that for a nullable column, we can only return a FractionalIndex, not an Option<FractionalIndex>. I wish sqlx would implement something like #[sqlx(try_from_option = "Vec<u8>")] that would handle nullable columns by returning a None, but unfortunately this seems to be the best we can do.
This also improves the ergonomics of inserting a FractionalIndex, by implementing Deref.
This adds tests using sqlx and sqlite, which double as a demonstration of a usage example.

What is AsRow?

What is AsRow?

Sorry, I mean FromRow


ReferenceError: publicodes__WEBPACK_IMPORTED_MODULE_2__ is not defined

I saw you were taking over the @koale/useworker project and thanks for that. I, anyway, have a problem you said would be fixed with your version
Here is a page to reproduce this in a nextjs 13 environment (pages router)
import rules from '@betagouv/france-chaleur-urbaine-publicodes';
import Engine from 'publicodes';
import { useWorkerFunc } from 'use-react-workers';

const createEngine = () => {
  return new Engine(rules);
};

const SimulateurPage = () => {
  // const engine = useSimulatorEngine();
  const [sortWorker, { status }] = useWorkerFunc(createEngine);

  const runCreateEngine = async () => {
    const result = await sortWorker(); // non-blocking UI
    console.log(result);
  };

  return (
    <>
      <button type="button" onClick={runCreateEngine}>
        Run Sort
      </button>
      {status}
    </>
  );
};

export default SimulateurPage;

Thanks for your help

@martinratinaud Sorry about the slow response. I've been pretty busy with the real job. I'm sure you know how it goes.
I am unable to duplicate this behavior no matter how I approach it. Would you be able to provide a link to a reproducible instance? I tried getting it to fail in a sandbox and no luck.


Infinite recursion in Storybook rendering process coming from rewriteStylesheet() function

Description
There seems to be some infinite recursion for the rewriteStylesheet() function. The scenario where this occurs is described in detail here.
Context

https://github.com/percy/percy-storybook/discussions/703#discussioncomment-5092238
https://github.com/percy/percy-storybook/discussions/703

We were using a fork of this addon by mistake 😵💫 : @hover/storybook-addon-pseudo-states instead of storybook-addon-pseudo-states.
The official addon seems to work properly. In case the issue pops up again with this addon I will re-open this issue.
Sorry for the confusion.


#23292 Fix errors in log on some query

How to check:

Get this script

create table table_diff_1  (id bigint, uid uuid, name varchar);
create table table_diff_2  (id bigint, uid uuid, name varchar);

INSERT INTO table_diff_1 (id, uid, name)
SELECT num, uuid_in(overlay(overlay(md5(random()::text || ':' || clock_timestamp()::text) placing '4' from 13) placing to_hex(floor(random()*(11-8+1) + 8)::int)::text from 17)::cstring), 'load tests ' || num
FROM generate_series(1, 10000000) num;

INSERT INTO table2 (id, name)
SELECT uuid_in(overlay(overlay(md5(random()::text || ':' || clock_timestamp()::text) placing '4' from 13) placing to_hex(floor(random()*(11-8+1) + 8)::int)::text from 17)::cstring), 'load tests'
FROM generate_series(1, 10000000);

create table table_same_1 (id bigint, name varchar);
create table table_same_2 (id bigint, name varchar);

INSERT INTO table_same_1 (id, '')
SELECT uid
FROM generate_series(1, 1000000) uid;

Edit it in a different way
No errors should be in debug log

Verified


Add support for legacy mnemonics from the mobile app

Enough people are trying this. I believe the current apps check both formats. This should not be added the JS SDK but just added here.

https://github.com/hashgraph/hedera-wallet-ios/blob/master/HGCApp/Crypto/Mnemonic%26Seed/HGCSeed.m
That should include the translation between "entropy" (seed) and the word list (inlined for maximum fun.)


chrome extensions supported mobile browser support need eg:kiwi browser

I don't know how the action(settings screen) behaves on mobile, so I will check and if I can, I will try to support kiwi (probably some of the functions will still work as they are now). Thanks for the suggestion!

For the time being, I only implemented a redirect. be1a48e743c01b49af3312d5202db5653512fe63


fix: input request validation for namespace configs and others

Right now there isn't super robust input request validation occurring. The purpose of this issue is fix that. Every incoming request should be validated based on the request validation constraints for that API endpoint.

duplicate #18


some bytes often dropped with large-ish downloads

While working on the release script in uproxy-docker, I noticed some failures in the "large download" test. I thought 16MB would be a reasonably-sized file to try to download but it often fails. I've settled on 1MB but want to note this for future investigation.

Are these downloads from a local server?  Did the server transmit all the data, or was the connection terminated early?  It could be a lost-last-chunk (wrt close timing) issue.

It's from a local server -- the flood server in uproxy-docker.
I'm 99% sure the flood server is transmitting all the data because:

it's just ncat (few moving parts)
yesterday I spun up an nc download in a while loop and let it run for ~30 minutes...no short downloads

Probably the proxy is terminating the connection early. That would be a re-occurrence of this issue:
https://github.com/uProxy/uproxy/issues/1044

I just learned of https://crbug.com/521219, which could explain this bug exactly.  It appears that if Chromium gets a large number of messages on a datachannel, followed by a CLOSE for that channel, it may fire the close event on the channel before the message events for the queued inbound messages.

@bemasc, as you commented this morning we never actually close channels so this is probably an issue in our code.
I just re-ran the release.py script, making the current 1MB file into 16MB and here's the results (rows are getter, columns the giver):

*
chrome-stable
chrome-beta
chrome-canary
firefox-stable
firefox-beta
firefox-canary

chrome-stable
:x:
:x:
:x:
:white_check_mark:
:white_check_mark:
:x:

chrome-beta
:white_check_mark:
:white_check_mark:
:x:
:white_check_mark:
:white_check_mark:
:x:

chrome-canary
:white_check_mark:
:white_check_mark:
:x:
:x:
:x:
:x:

firefox-stable
:white_check_mark:
:x:
:white_check_mark:
:x:
:x:
:x:

firefox-beta
:white_check_mark:
:white_check_mark:
:x:
:white_check_mark:
:white_check_mark:
:x:

firefox-canary
:x:
:x:
:x:
:x:
:x:
:x:

No clear pattern which makes me further suspect an issue in our code.


certifi: 2015.11.20-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository certifi to 2015.11.20-0:

upstream repository: https://github.com/certifi/python-certifi.git
release repository: https://github.com/asmodehn/certifi-rosrelease.git
distro file: indigo/distribution.yaml
bloom version: 0.5.21
previous version for package: null

This looks good picking the same version as what's packaged instead of latest. Note that we generally don't want to turn into an entire linux distro repackaging everything, but with this as a way to backport while waiting for coverage upstream it seems reasonable.

Note: related PR for the rosdep entry: https://github.com/ros/rosdistro/pull/12369


What kinds of input files are supported as Inputs?

I'm trying to segment png files. I found out this does not work

That is correct as it stands. For now, you can use nibabel to save your pngs as nifti files.
Something like:
import numpy as np
import nibabel as nib
from scipy.ndimage import imread

x = imread('myfile.png')

# image with identity matrix as the affine
img = nib.Nifti1Image(x, np.eye(4))

nib.save(img, 'my_img.nii')

Thanks!


How to get jpeg image ?

when i save the image , i get png image , how to setting to get jpg image ?

You need to convert it to png I guess. You can use react-native-image-resizer to resize the image if you need to and save to JPEG.

Hello @MrZhang123 how were you saving the image ?


Add support for T-Few

T-Few is a PEFT method for few-shot learning that is currently the SOTA on many NLP benchmarks. It uses a nifty technique called (IA)^3 to update a small number of parameters during training and would be an impactful method to include IMO.
Although research code exists, it is tightly bound to the paper and doesn't run easily on hardware that isn't an 80GB A100. The peft library could help make this work more accessible to industry practitioners (where few-shot is actually valuable)
cc @craffel
Paper: https://arxiv.org/abs/2205.05638
GitHub: https://github.com/r-three/t-few

(IA)^3 is already in the backlog: https://github.com/huggingface/peft#backlog

IA^3 is already implemented here
https://github.com/adapter-hub/adapter-transformers
I will give it a try


Update node version, npm packages, webpack config

Codecov Report

Merging #457 (ec2a762) into develop (dc56789) will increase coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head ec2a762 differs from pull request most recent head 5f54d83. Consider uploading reports for the commit 5f54d83 to get more accurate results

@@           Coverage Diff            @@
##           develop     #457   +/-   ##
========================================
  Coverage    98.98%   98.98%
========================================
  Files          112      112
  Lines         5896     5897    +1
  Branches         6        8    +2
========================================
+ Hits          5836     5837    +1
  Misses          60       60


may you share link to data ?

great post as usual, thanks
may you share the link from where to download this data file webspam
and maybe kdd10 as well, please?

https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html#webspam
kdd10 is on the same page.


[HUDI-1072][WIP] Introduce REPLACE top level action

What is the purpose of the pull request
Add replace a top level action. Implement insert_overwrite operation on top of replace action
Brief change log

All post commit actions work on top of HoodieCommitMetadata. Create HoodieReplaceMetadata to be subclass of HoodieCommitMetadata
Add insertOverwrite as new operation on HoodieWriteClient. insertOverwrite uses REPLACE action to mark all existing file groups as 'invalid'
Change archival to delete replaced files before archiving REPLACE action metadata

There are two other things that needs to be addressed:

Everywhere, we try to invoke 'getCommitsTimeline'/'filterCommits', we need to review and make sure caller can handle replace actions. OR create new methods and refactor all invocations of getCommitsTimeline call new methods.
FileSystemView#getAllFileGroups (and other methods in view) by default excludes file groups that have been replaced. We have to make sure callers can handle file groups that existed before, but have been replaced. (Example: say, there is a CompactionPlan that includes file id f1. f1 is replaced at a later instant. If compaction is run after replace, it wont be able to find corresponding file group. We need to make sure compaction can make progress instead of throwing errors here.)

Verify this pull request
This change added tests. Verified basic actions using quick start and docker setup. Added tests for insertOverwrite and FileSystemView changes. Need to add additional tests for backward compatibility. Also need to change integration tests to include insertOverwrite operations. Created followup tickets here https://issues.apache.org/jira/browse/HUDI-868
This is an example .hoodie folder from quick start setup:
-rw-r--r--  1 satishkotha  wheel  1933 Aug 27 16:39<PHONE_NUMBER>3904.commit
-rw-r--r--  1 satishkotha  wheel     0 Aug 27 16:39<PHONE_NUMBER>3904.commit.requested
-rw-r--r--  1 satishkotha  wheel  1015 Aug 27 16:39<PHONE_NUMBER>3904.inflight
-rw-r--r--  1 satishkotha  wheel  2610 Aug 27 16:39<PHONE_NUMBER>3927.replace
-rw-r--r--  1 satishkotha  wheel  1024 Aug 27 16:39<PHONE_NUMBER>3927.replace.inflight
-rw-r--r--  1 satishkotha  wheel     0 Aug 27 16:39<PHONE_NUMBER>3927.replace.requested
drwxr-xr-x  2 satishkotha  wheel    64 Aug 27 16:39 archived
-rw-r--r--  1 satishkotha  wheel   235 Aug 27 16:39 hoodie.properties
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@vinothchandar @bvaradar FYI. There are few things that I'm not fully happy with. But would like to get initial feedback and get agreement on high level approach.

@satishkotha : How  is incremental Reading handled.Are we going to support it ? If not, Are you going to throw exceptions ?  As we are cleaning up replaced files during archiving only but perform normal cleanup during cleaner operations, there will be cases when file versions of new files getting cleaned up before the old file versions getting removed.

@bvaradar I addressed your comments.I also created followup items here https://issues.apache.org/jira/browse/HUDI-868 as you suggested.
Please take another look when possible.

You suggested to remove HoodieReplaceStat

I think the suggestion was to simplify HoodieReplaceMetadata such that it only contains the extra information about replaced file groups. and use the HoodieCommitMetadata and its HoodieWriteStat for tracking the new file groups written.
We could have HoodieReplaceStat to be part of the WriteStatus itself for tracking the additional information about replaced file groups?
On cleaning vs archival, it would be good if we can implement this in cleaning. But can that be a follow-on item? Practically speaking, typical deployments don't configure cleaning that low.

@vinothchandar As discussed, i added boolean in WriteStatus and removed HoodieReplaceStat. See this diff. I committed it as a separate git-sha because this still looks  somewhat awkward IMO. Please take a look and I can revert or reimplement in a different way
Also, created https://issues.apache.org/jira/browse/HUDI-1276 for cleaning replaced file during clean.
I also renamed 'replace' to 'replacecommit' everywhere as you suggested.
Please let me know if you have additional comments/suggestions

@satishkotha can you please resolve all the comments, that you have addressed already. That way we can track whats pending

@satishkotha : Please ping me in the PR  when you have updates and I can give incremental comments if needed.

@satishkotha : Please ping me in the PR when you have updates and I can give incremental comments if needed.

@bvaradar IncrementalTimeline resotre is the only big pending item. I'll get to it in later part of this week.

@satishkotha : when the conflicts are resolved and we can land this.


Add option to write splitting BAM indexes from MapReduce.

Coverage decreased (-0.2%) to 59.677% when pulling a2dda40204b7385cbbbd9f9e24643aa32f5a1f5e on tomwhite:write-splitting-bai-from-mr into e72dc394cf063b1bf5fe3f998db4e6a47f1186f1 on HadoopGenomics:master.

Superceded by #111.


Correct Prepare Wrapper version in dockerfile

Situation:
In the Dockerfile sechub-pds-solutions/prepare/docker/Prepare-Debian.dockerfile the version of the pds wrapper is given as 0.0.0. It should be 1.0.0
Solution:
Change the variable to 1.0.0

As discussed: The wrapper version should only be defined in one place: env
Will implement this.


iD taginfo file seems to be gone

See https://taginfo.openstreetmap.org/projects/id_editor
See for example https://taginfo.openstreetmap.org/tags/natural=tree#projects not listing iD anymore

#8175 moved it to the id-tagging-schema repository. taginfo/taginfo-projects#119 updates taginfo.

Also, openstreetmap/id-tagging-schema#238 updates the taginfo project’s name and description to reflect the repository split.

ok, then this can be closed I think


Error with Release 0.21.0

I compiled the code from source on Ubuntu 18.04. I checked that the serial number matches SKU1 and updated the firmware to F450_<IP_ADDRESS>_SKU1_SIGNED.bin.
I get the following error when I run ./rsid-cli /dev/ttyACM0 usb
[2021-06-29 16:03:15.769] [debug] [PacketSender] Received packet 'Y' after 167 millis
[2021-06-29 16:03:15.770] [error] [NonSecureSession] Failed to recv device start session response
[2021-06-29 16:03:15.772] [debug] [PacketSender] Sending packet 'q'
[2021-06-29 16:03:15.773] [debug] [PacketSender] Waiting packet..
[2021-06-29 16:03:15.791] [debug] [PacketSender] Received packet 'Y' after 17 millis
[2021-06-29 16:03:15.791] [error] [NonSecureSession] Invalid sequence number. Last: 0, Current: 0
[2021-06-29 16:03:15.791] [error] [FaceAuthenticatorImpl] Failed receiving fa packet (status 106)
Status: SerialSecurityError

benlev commented 4 hours ago:
Please try the following to see if it solves the issue:
sudo systemctl stop ModemManager

@jvettese
How do I ensure that I am not being linked to the wrong librsid.so? Where is the correct librsid.so and how did you link it to your LD_LIBRARY_PATH env variable?

export LD_LIBRARY_PATH={PATH TO RSID LIB DIR}
I have this set in my ~/.bashrc
You could also do sudo find / -name librsid.so to see where all librsid.so live

I tried both suggestions:

systemctl stop ModemManager

echo "export LD_LIBRARY_PATH=/home/luca/Projects/RealSenseID/build/lib/" >> ~/.bashrc
source .bashrc
No luck.

Try re-generating the solution using RSID_SECURE=1 and re-run the sample - does it solve the issue?

After compiling with RSID_SECURE=1 and running ./rsid-cli /dev/ttyACM0 usb, I get the following error:
./rsid-cli: symbol lookup error: /home/luca/Projects/RealSenseID-Secure/build/lib/librsid_secure_helper.so: undefined symbol: mbedtls_hmac_drbg_random
This seems worse since I don't even get the prompt.

I've also noticed something that seems odd. When I compile with cmake .., I see this at the end:
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/luca/Projects/RealSenseID-Secure/build
Is it normal that it says "not found" for two of the threads?

@luca18 , did you get it working?

you are using linux, so this is normal

-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found

It checks for the non-linux first and then finds it when it checks for the linux location.

do this to disable modem manager (as per @alexk1976's advice)  I've disabled modem manager for usb tethering reasons and I've never had an issue like you've experienced.

sudo systemctl stop ModemManager
sudo systemctl disable ModemManager

I've had a suspicion that you have more than one usb peripheral that uses a communication port and you might not be at /dev/ttyACM0
Confirm where it is connected by running
sudo dmesg | grep 'Intel F450' -A 5 | grep ttyACM

I've tried everything that was suggested and nothing seems to work.
I've also tried to run it on multiple ubuntu machines and a windows computer with no success whatsoever.
I thinking there might be a problem with the F450 camera that I have. It was working fine before the new firmware update.
Is it possible to do a factory reset on the camera or downgrade to the old firmware?

Please try latest 0.22.0 version with the new FW and see if it solves your problem.

I solved the issue by following the solution posted at #47.


add CI on Travis-CI

this code has no CI yet, start that.

I  would like to work on this.

Sure, feel free to make a pull request.
On Wed, Jan 12, 2022 at 12:26 PM Rishivant Singh @.***>
wrote:

I would like to work on this.
—
Reply to this email directly, view it on GitHub
https://github.com/villano-lab/k100Sim/issues/2#issuecomment-1011378977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQKXRCHHZIX4E6I2GVIKJ3UVXIWRANCNFSM5LVD4JEA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Jasper TTS volume

Is there any way to change the volume of jasper's voice? All the audio files I have are running at a reasonable volume, but the TTS engine is very quiet. How can I change this?

Which TTS Engine are you using ?
TTS engine like espeak provides option to increase amplitude (ex: -a 150).
else use alsamixer to increase amplitude of voice in general,
or use amixer command if you want to do it from cmd (ex: sudo amixer -c 0 set PCM 90%)

I am using festival. Where would I put the amplitude command?

Not all those TTS engine have amplitude option.
Use amixer command before running jasper.


add regression test for #10385/#10389

Bevy introduced unintentional breaking behaviour along with the v0.12.0 release regarding the App::set_runner API. See: #10385, #10389 for details. We weren't able to catch this before release because this API is only used internally in one or two places (the very places which motivated the break).
This commit adds a regression test to help guarantee some expected behaviour for custom runners, namely that app::update won't be called before the runner has a chance to initialise state.

@alexschrod since you're one of the known users of this API, could I ask for your review


Given dataset link is not working

The given dataset link is not working. Can you please update it.

I'm having the same problem.


stringIO broken causing library to break.

I installed the libary but when trying to run it, I receive an import error staying that it cannont import name "StringIO":
ImportError                               Traceback (most recent call last)
<ipython-input-18-8a03ebd3fd3d> in <module>
      2 import requests
      3 import pandas as pd
----> 4 from eod_historical_data import get_eod_data

~/.local/lib/python3.6/site-packages/eod_historical_data/__init__.py in <module>
----> 1 from .data import (get_api_key, get_eod_data, get_dividends,  # noqa
      2                    get_exchange_symbols, get_exchanges,  # noqa
      3                    get_currencies, get_indexes)  # noqa

~/.local/lib/python3.6/site-packages/eod_historical_data/data.py in <module>
      2 import requests
      3 import pandas as pd
----> 4 from pandas.compat import StringIO
      5 from ._utils import (_init_session, _format_date,
      6                      _sanitize_dates, _url, RemoteDataError)

ImportError: cannot import name 'StringIO'

I'm running Python 3.6.8.
I checked around and it seems that StringIO is either no longer supported or is not installed in the latest version of Pandas.
Any idea on a workaround?

Looks like it's a pandas bug:
"Work around is to roll back to prior version of Pandas 0.24.2
pip3 install --upgrade pandas==0.24.2"
https://stackoverflow.com/questions/34447448/stringio-and-pandas-read-csv

If you can live without Python 2.x and are now using Python 3.x you can simply change
from pandas.compat import StringIO

to
from io import StringIO

Anyway I will remove Python 2.7 compat in 2020
See https://www.python.org/dev/peps/pep-0373/

Excellent, thanks for the update. I'll amend the line in the code.  Thanks again.


feat: more layerswap query params

:tada: This PR is included in version 3.19.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Allow hovers to show at cursor's x position instead of the left of the target element

Current:

Desired:

Context: https://github.com/microsoft/vscode/issues/100741

I would also say it should be "pop" down, rather than up (unless there is no room) -- like normal tooltips. Although much less of an issue than the x position.

Related issue: If a hover is too wide for the tree, it seems to cause it to move down and ends up covering the row its for
Here the view is wide enough and its fine

But here its too narrow, and you can't see the item for which the hover is for

I would also say it should be "pop" down, rather than up (unless there is no room) -- like normal tooltips. Although much less of an issue than the x position.

It aligns with hovers in the editor now, I'd rather not make things inconsistent without a compelling reason.

But here its too narrow, and you can't see the item for which the hover is for

Looks like a bug, please create another issue

@alexr00 there's now an x?: number on the target for this, let me know if there are issues 🙂

Works nicely, thank you!


eCarePlanner v3.1.2 - all Medication names are showing as "( MedicationRequest )"

Active Medications in eCarePlanner v3.1.2 are all displaying as "( MedicationRequest )" which isn't correct or useful -

@swmuir what is that link?  if I click it I get this:

Same bug as #374

this is verified resolved in eCarePlanner 3.1.4.


ImportError: no module named 'future'

Hi There,
I am using portable thonny and I am receiving such error:

%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "", line 13, in
File "adafruit_hid/init.py", line 21, in
ImportError: no module named 'future'

How to install future on device?

it is a firmware version issue https://github.com/sbcshop/HackyPi-Software/issues/4#issuecomment-1576893530


Release v1.3.4

Release PR
v1.3.4 (2024-01-09)
Full Changelog
Changes since v1.3.3:

5442745 Wait for some time between creating the release PR and searching for it (#56)

Reverting this release using revert-github-release


refactor(inline): smarter inline conflict markers algorithm

Instead of 2 completely different implementations, just reuse the good old rej one.
However, now, after updating, search for .rej files and 3-way-merge those (and only those).
This will save a lot of loops, time, memory and disk I/O. Also it's shorter. Good!
Fixes https://github.com/copier-org/copier/issues/883.

Codecov Report

Merging #916 (db20d98) into master (4d77d1f) will decrease coverage by 0.29%.
The diff coverage is 100.00%.

:exclamation: Current head db20d98 differs from pull request most recent head 8df8851. Consider uploading reports for the commit 8df8851 to get more accurate results

@@            Coverage Diff             @@
##           master     #916      +/-   ##
==========================================
- Coverage   96.56%   96.26%   -0.30%
==========================================
  Files          41       41
  Lines        3054     3023      -31
==========================================
- Hits         2949     2910      -39
- Misses        105      113       +8

Flag
Coverage Δ

unittests
96.26% <100.00%> (-0.30%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

copier/cli.py
96.51% <ø> (ø)

tests/test_subdirectory.py
98.55% <ø> (-1.45%)
:arrow_down:

copier/main.py
94.41% <100.00%> (+0.06%)
:arrow_up:

tests/test_vcs.py
94.91% <0.00%> (-5.09%)
:arrow_down:

copier/tools.py
88.09% <0.00%> (-4.77%)
:arrow_down:

tests/conftest.py
90.90% <0.00%> (-4.55%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


v.6 breaking changes

[ ] Rename events:

START_BROWSER -> SESSION_START
STOP_BROWSER -> SESSION_END
Those events actually indicate when browser session starts and ends. There are lots of sessions during run

[ ] rootUrl –> baseUrl
[ ] ignoreElements method: ignore all matched elements by default without any helpers — https://github.com/gemini-testing/gemini/pull/692
[ ] run tests with command gemini instead of gemini test by default.

[ ] Get rid of deprecated skip and browsers API methods – here and here. Also remove any reference from documentation.


Need to run timing tests to find out what takes time for the start up

Maybe duplicate checking? (Is that needed with @RalfStrandell's new JSON?)

I've identified one issue already. There's an unneeded script in the html file, it can be removed.


Support of using names of network in LIG internalNetworkURis

Scenario/Intent
Support of using names of network in LIG internalNetworkURis
Environment Details

oneview Cookbook Version: current version
OneView Version: 4.10
chef-client Version: 14.8.12
platform: Ubuntu 18.4

Steps to Reproduce
When creating a LIG, a cookbook must support names for networks instead of Uris
Oneview-ansible SDK supports network names instead of URIs and renders cookbook much more portable

This SDK has limited support and will not be actively developed for the foreseeable future.


Live

Test PR

Docs Build status updates of commit c96992d:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[VSCode] Can not join or start a live share session, received fetch is not a function error

Describe what happened: Can not join or start a live share session
What was your system configuration?
Product and Version [VS/VSCode]: VSCode Version: 1.52.1
OS Version[macOS/Windows]: macOS Big Sur Version 11.1
Live Share Extension Version: v1.0.3484
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:
0. In VSCode

Click Live Share extensions
Click join a session
Click Continue as anonymous
It shows error  Joining collaboration session: fetch is not a function and nothing happened

Please attach logs to this issue:
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue
live_share.zip

This is happening to me as well

I am also experiencing this. Is this related to a recent update?
Starting collaboration session: fetch is not a function pops up when I try to login through Github on VS Code.

I have the same problem.


0.7.2 安装，解压后没有html

Search before asking

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

What happened
0.7.2解压后没有html文件，nginx前端root应该怎么部署？
What you expected to happen
希望提供最新版本的html目录
How to reproduce
下载后解压
Anything else
No response
Version
0.7.2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

从dlink-admin.jar解压获取 statics 目录，即为html目录


Maintenance/Update MOM6

This PR adjust CMakeLists.txt to be able to work with updates from MOM6 PR 1599
To do:

✅ @sanAkel: once pr1599 has been merged undraft this PR.
@GEOS-ESM/cmake-team (@mathomp4 and/or @tclune) review this PR. Thanks!

We know that this will not run the tests (automatically), @mathomp4 please help. Thanks!
cc: @GEOS-ESM/cmake-team

@mathomp4 Anyway these checks can pass? Or use your powers to merge it?

@mathomp4 Anyway these checks can pass? Or use your powers to merge it?

Oh. No. Probably not. The CI is looking for files it can never find. I can super power it in if you give me the green light.

Also: Should I sync up the MOM6 fork at the same time?

Also: Should I sync up the MOM6 fork at the same time?

@mathomp4 Please bring on your powers 😄 and also sync the fork! Thank you!

Merging with superpowers since CI can't work.

@sanAkel I've also synced up MOM6.

Awesome! Thank you!


add meow_hash to bench?

https://github.com/cmuratori/meow_hash
https://mollyrocket.com/meowhash

There is an meowhash crate but it seems half-baked (wasn't even able to build with it on Macbook ARM, so I doubt it will even be correct or perform as fast as the official C implementation).
So I guess a way to have gxhash bench next to meowhash would be to have gxhash integrated into SMHasher (which already includes meowhash) and see the benchmark results from this project instead.

The meowhash crate doesn't seem to be maintained; I have an unmerged PR to address some basic semver-incompatible compilation issues from over two years ago.


SNMP module not visible in Companion

Thank you for creating this module.
It doesn't seem to be visible in the modules list in Companion. I've checked the latest beta builds and searched for "SNMP", but can't find it.
Do I need to change a setting in Companion to be able to use this module?
Or is it still awaiting approval before being added to the main builds?

@estilles what is the status of this? should it be pulled into the beta builds?


Adding swiggy clone

Hey I made swiggy clone Project Which Is Very Good!
This Project is very Helpfull,
I Make This Project With the help of HTML & CSS,
The HTML & CSS Code are Available in very well mannered! & Easy to understand!

This branch is 1 commit ahead, 17 commits behind Rayman-Sodhi/Clone-IT: main.


If we upload same file more than one time, element rendered inside the parent Element i.e.  "cropper-container cropper-bg"

When we upload same file more than one time, "cropper-container cropper-bg" again rendered in the element. Please see the screenshot.
Problem: If we upload a picture and again we browse another photo and click choose, element rendered inside the parent Element.
Please let me know if you have any question.

You don't use the plugin correctly!
I guess you used some code like $('.container img').cropper(), you should transfer it to $('.container > img').cropper(). The > is very important!


⚠ Cioos Pacific CKAN Sitemap has degraded performance

In 2124b64, Cioos Pacific CKAN Sitemap (https://catalogue.cioospacific.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 7828 ms

Resolved: Cioos Pacific CKAN Sitemap performance has improved in ca5bd1c after 45 minutes.


Update web inventory at every tick

Short Description:
Now update again web inventory
Fixes/Resolves/Closes :

#4337

We'd better compare the MITM package with real app. To understand what do they including in the heartbeat.

Closed in favour of #4513


Display Sensory events differently in the graph representation

Hi
It would be nice if sensory events would be visible in the graph representation of a recipe. You could use bold characters for the event name (it would also work on the representation of a recipe execution).
David

This is a nice idea, thank you :)
We will try to get this into 1.4.0

I just committed  a change to allow this.
Example (paste in webgraphviz.com):
digraph {
	node [fontname = "ING Me", fontsize = 22, fontcolor = white]
	pad = 0.2
	interactionOneOriginalIngredient [shape = circle, color = "#FF6200", style = filled]
	interactionOneRenamed [shape = rect, margin = 0.5, color = "#525199", style = "rounded, filled", penwidth = 2]
	interactionOneRenamedSuccessful -> interactionOneOriginalIngredient
	initialIngredient -> interactionOneRenamed
	interactionOneRenamed -> interactionOneRenamedSuccessful
	interactionOneRenamedSuccessful [shape = diamond, margin = 0.3, style = "rounded, filled", color = "#767676"]
	initialIngredient [shape = circle, color = "#FF6200", style = filled]
	InitialEvent [shape = diamond, margin = 0.3, style = "rounded, filled", fillcolor = "#60A6DA", color = "#525199", penwidth = "12.0"]
	InitialEvent -> initialIngredient
}

Would this work, what would you like to see different?
We will also discuss with the team and together with your feedback can decide on a final look soon.

Looks fine, how about the following for the sensory event:
InitialEvent [shape = diamond, margin = 0.3, style = "rounded, filled", fillcolor = "#AAAAAA", fontcolor="#525199", color = "#525199", penwidth = "8.0"]
But what you propose is also good enough

closing this since it is fixed on master, will be released in 1.4.0


Solution for mixed content blocking policy on ios

On android there is this: https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/231
But on ios using ionic:// from a remote https loaded page to load active content such as a js file will result in mixed content blocked error.
Any solution for this?

Created a PR to the file plugin to access local files from remote https page
apache/cordova-plugin-file#296


I translated the engine for refinerycms 2.

I changed the engine for make it compatible with refinerycms 2. I didn't translate cucumber in rspec because my PC is too slow. Please, check my work. I tested  it but I'm not an expert.
Thank you.

Thanks but... did you check the rails-3-1 branch before you started?
https://github.com/resolve/refinerycms-inquiries/compare/master...rails-3-1

Arg... That's the same think in better... I spent time for it...
Next time I would look better. Thanks for all.


Use targetPackage when javaType contains no period characters

Using the maven plugin 0.3.6 I set targetPackage to com.foo and I declare in my json schema
        "myType":
        {
            "description": "My Type",
            "type": "object",
            "javaType": "MyType",
            "additionalProperties": false,
            "properties":
...

This generates a class called MyType that is in package com.foo (as I don't fully qualify the javaType).  Now I upgraded to 0.4.2, and the type is generated with no package, only the top level package in the schema file is generated in the targetPackage package.

Maybe it's better to have a contract: "if javaType starts with period then prepend it with targetPackage".
So:
"javaType": "MyType" → MyType.java
"javaType": ".MyType" → com.target.package.MyType.java
"javaType": ".some.sub.package.MyType" → com.target.package.some.sub.package.MyType.java

@alexei-osipov I like that suggestion :) It's quite powerful, although it does mean that people will likely have to use the docs to find this out (it's not obvious) and I wonder if it is ever useful to generate classes into the default (empty) package.
I like how a partial/sub-package can be specified like this too. Yeah, I like this suggestion.

Dear @joelittlejohn , may I know what's the progress for this issue? Any plan to change or create the sub-package? Many thanks!

I generally like the idea. However, I am generating classes for an official specification which contains JSON schema files and I do not want the change these. I suggest instead of using a period at start of a javaType to prepend the targetPackage, another configuration variable shalle be added such as useTargetPackageForUnqualifiedJavaTypes. If this is true, definitions with an unqualified javaType will be qualified with the configured targetPackage.

@arnehaber Do you mean that the schema files you are using already contain the jsonschema2pojo custom rule "javaType" but the value is an unqualified class name?

@joelittlejohn I am using the jsonschema2pojo-maven-plugin which contains a configuration parameter targetPackage (which has to be somehow also part of jsonschema2pojo). I used this parameter to store the resulting Pojos in a package, e.g., a.b.c.
I am processing json schema files, e.g., NotifyEventRequest.json, that contains and also references definitions such as EventDataType.
"EventDataType": {
      "javaType": "EventData",
      "type": "object",
...
}

The resulting Java types are:

a.b.c.NotifyEventRequest
EventData (in default package)
Since NotifyEventRequest references EventData, it cannot be compiled anymore.

My suggested configuration parameter useTargetPackageForUnqualifiedJavaTypes for the maven plugin  (and also jsonschema2pojo) shall produce the following classes, if activated:

a.b.c.NotifyEventRequest (no javaType used in schema)
a.b.c.EventData

Since javaType is used in the definition of EventDataType with the unqualified value EventData and useTargetPackageForUnqualifiedJavaTypes == true,  the Type EventData shall be generated in the configured targetPackage.

@arnehaber This seems strange to me. Why has someone used an unqualified value in javaType? Do they realise that this will cause generated classes to go into the default package? Done javaType is our own creation, it seems strange that someone has added this to the schema but used a value that is not useful.

@joelittlejohn perhaps the authors of the json files where used to an older version, where unqualified "javaType" values have been qualified by targetPackage anyway (see https://github.com/joelittlejohn/jsonschema2pojo/issues/195#issue-34361265). According to the author of this issue, at least maven plugin 0.3.6 seem to behave that way.


Release v1.1.12

Sort roles to display linked ones first
Refactor list ocm-role to use a map of linked role
Add quota service permissions to the installer policy
Set minimum retry delay for AWS API calls
Introducing HTPasswd IDP
Fix help for --compute-nodes
Add KMS permission to installer and more permissions for ocm role
added link to help menu
Permit overriding confirmation prompt for cluster upgrades
Fix bug - create ocm-role - prompt the role ARN
add more permissions to ocm admin role
Add support for 4.10 upgrade
fix throttle delay
fix cluster creation hanging with auto+watch flags
fix early exit in cluster creation(json+mode=auto)
sts: Automatically select default account roles
fix json output for cluster creation
Add max throttle delay to avoid exponential backoff
Get Cluster Name from Name Instead of DisplayName
update to ocm-sdk-go v0.1.258

/lgtm


Conversion of own dataset using Pretrained models

I tried conversion (lsc decoding) on own dataset (10 files) using pretrained models.
Results are something bla bla...bla..
I followed below steps

s3prl-vc-extract-upstream -successful
compute_staticts -skipped
normalize  -failed
vc_decode. (used raw feature's from step-1)
Please let me know some pointer to look at..

@unilight,
I was able to decode for my own dataset.
After successful execution of normalization step it worked flawless and got see conversion. Minor  change in the content of source audio is observed.
Thanks


Docs/Guide/Release for compaction

[x] Update docs & guide on compaction features.
[x] Update changelog.
[x] Release Stream.
[x] Release Operator.
[x] Release Chart.

Done


doc/_build/ does not need to be checked in

Readthedocs will generate the html files. So I think there is no need to check in the doc/_build/ folder

@weikang9009 So I should delete the /doc/_build folder? I thought that when I ran Readthedocs back in August it generated that whole directory automatically. I am not sure what I should change here.

Sorry for the confusion. If you run make html locally, the /doc/_build folder will be automatically generated. But we do not need to git add, commit, & push them to the github remote repo since Readthedocs will read the conf.py and rst files inside doc/ and generate files identical to files in /doc/_build. Therefore, pushing the /doc/_build folder to the github remote seems to be redundant (and adding too many extra files).

Ahhhh, ok! Thanks for the explanation! I’ll fix this before tomorrow.
On Oct 31, 2018, at 4:41 PM, Wei Kang <notifications<EMAIL_ADDRESS>wrote:
Sorry for the confusion. If you run make html locally, the /doc/_build folder will be automatically generated. But we do not need to git add, commit, & push them to the github remote repo since Readthedocshttps://urldefense.proofpoint.com/v2/url?u=https-3A__readthedocs.org_&d=DwMFaQ&c=HPMtquzZjKY31rtkyGRFnQ&r=w0GmL-bHxKk-5ozcPrmZJkeb7kpZt1KvTEs71QYt-xw&m=DR5V-DmivXACZzAmaCKNOjNleTa-z75Sd8DPRLBg08s&s=S3TIEKGymJstUH-jZrGfDQQGSYrx_AQdGkpW60ovbaE&e= will read the conf.py and rst files inside doc/ and generate files identical to files in /doc/_build. Therefore, pushing the /doc/_build folder to the github remote seems to be redundant (and adding too many extra files).
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pysal_spaghetti_issues_133-23issuecomment-2D434840345&d=DwMFaQ&c=HPMtquzZjKY31rtkyGRFnQ&r=w0GmL-bHxKk-5ozcPrmZJkeb7kpZt1KvTEs71QYt-xw&m=DR5V-DmivXACZzAmaCKNOjNleTa-z75Sd8DPRLBg08s&s=F_LsvjAkSPP8glLag8prH_YXUvyG-e6ye6Hp2fU2tfA&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIMU9-2DzQu4XlxjlRpbvvz2aJLlNAw8FBks5uqgsNgaJpZM4YErPj&d=DwMFaQ&c=HPMtquzZjKY31rtkyGRFnQ&r=w0GmL-bHxKk-5ozcPrmZJkeb7kpZt1KvTEs71QYt-xw&m=DR5V-DmivXACZzAmaCKNOjNleTa-z75Sd8DPRLBg08s&s=qayTXx-qcCj2X_sBoa57Penp7MhSaACSwy4FGDhlnmI&e=.

Resolved in #134


calculation with . does not works correctly

Microsoft PowerToys version
0.37.0
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
run powertoys Run and type =93.3+4.03
✔ Expected Behavior
the result should be 97.33
❌ Actual Behavior
the result is 97.6
Other Software
No response

@Aviortheking
What are your local and regional settings (especially: decimal seperator)?

it was , and after changing it to . and restarting powertoys it is now correct

Make sense. We respect your regional settings. 😉

I didn't even knew these settings existed xd


About the use of time.NewTicker()

What version of Go are you using (go version)?

$ go version
go version go1.11 windows/amd64

Does this issue reproduce with the latest release?
unknown
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Administrator\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\gopath
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADMINI~1\AppData\Local\Temp\go-build064470026=/tmp/go-build -gno-record-gcc-switches

What did you do?

package main

import (
	"fmt"
	"os"
	"time"
)

func main() {

	task_serverlistbackup, err := time.ParseDuration("1" + "m")
	if err != nil {
		fmt.Println(err.Error())
		os.Exit(0)
	}

	ticker := time.NewTicker(time.Minute * task_serverlistbackup)
	go func() {
		for _ = range ticker.C {
			fmt.Printf("ticked at %v", time.Now())
		}
	}()

	time.Sleep(time.Minute * 10)
}

What did you expect to see?
Output every minute.
What did you see instead?
The program did not report any errors.However, the program did not execute the result.
Why can I only use this?

time.NewTicker(time.Minute * 1)

I noticed that:

time.Minute== Duration == int64

func NewTicker(d Duration) *Ticker {
	if d <= 0 {
		panic(errors.New("non-positive interval for NewTicker"))
	}
	// Give the channel a 1-element time buffer.
	// If the client falls behind while reading, we drop ticks
	// on the floor until the client catches up.
	c := make(chan Time, 1)
	t := &Ticker{
		C: c,
		r: runtimeTimer{
			when:   when(d),
			period: int64(d),
			f:      sendTime,
			arg:    c,
		},
	}
	startTimer(&t.r)
	return t
}

time.Duration*time.Duration   is  wrong

Can you throw an exception?

task_serverlistbackup is already in minutes so time.Minute * task_serverlistbackup =<PHONE_NUMBER>0 *<PHONE_NUMBER>0  = 801362h40m26.63743488s.

task_serverlistbackup is already in minutes so time.Minute * task_serverlistbackup =<PHONE_NUMBER>0 *<PHONE_NUMBER>0 = 801362h40m26.63743488s.

time.Second * time.Duration(task_serverlistbackup)

Also feel free to check out https://github.com/charithe/durationcheck


Provide examples of valid names of all four metric types

Disclaimer: I'm a Prometheus noob, specifying a prometheus schema for a fairly complex system for the first time.
I have to say the entire Best Practices section is unexpected and fantastically useful - it's making it much easier for someone in my position to get off on the right foot.  In particular the "Metric and Label Naming" page is helpful; but would be even more so if there were a few complete examples of all four metric types.  I know naming is mostly arbitrary, but there are a few required elements (e.g. "bucket{..}" has to come last).  It would be great to spell those out explicitly, and show some complete results.
Overall, great work!
-J

@jhdedrick Is there a particular place in the documentation that you'd find this most useful?

That section is complete, the only convention you need to be aware of is _total on counters.

Brian: I've read the docs fairly thoroughly, and I'm familiar with all the metric types. My task is to specify a set of metrics to be implemented by someone else; they will follow whatever convention I define, so I want to name things in a clear, extensible way.
It seems from your comment that the bucket boundary is not part of the metric name, but rather a parameter to the library function that creates it.  It would be helpful to state that somewhere; it's not in the documentation, nor e.g. in the Python library (there's an example of creating a histogram, but no reference info on the available parameters/syntax - e.g. it doesn't tell you how to specify the buckets.)
Luc: I'm not sure of the best place.  It could go in the "instrumenting" section - a language-independent overview of the general signature of the metric creation functions, or in the best-practice/Metric and Label Naming section.

It seems from your comment that the bucket boundary is not part of the metric name, but rather a parameter to the library function that creates it.

It depends on what level you're talking about. To Prometheus it's a label. To the exposition format it's a label with a specific convention as part of a metric family. To a client library it's a parameter to a Histogram.

in the Python library (there's an example of creating a histogram, but no reference info on the available parameters/syntax - e.g. it doesn't tell you how to specify the buckets.)

https://github.com/prometheus/client_python#histogram

It could go in the "instrumenting" section - a language-independent overview of the general signature of the metric creation functions

I'm not clear what it is you're looking for. As far as I can see we already have all of this documented.

Perhaps you're right - this may be just the normal amount of groping around
for a person new to both this tool and the genre. I'd be fine with closing
this item.
On Tue, Jul 31, 2018 at 12:03 AM Brian Brazil<EMAIL_ADDRESS>wrote:

It seems from your comment that the bucket boundary is not part of the
metric name, but rather a parameter to the library function that creates it.
It depends on what level you're talking about. To Prometheus it's a label.
To the exposition format it's a label with a specific convention as part of
a metric family. To a client library it's a parameter to a Histogram.
in the Python library (there's an example of creating a histogram, but no
reference info on the available parameters/syntax - e.g. it doesn't tell
you how to specify the buckets.)
https://github.com/prometheus/client_python#histogram
It could go in the "instrumenting" section - a language-independent
overview of the general signature of the metric creation functions
I'm not clear what it is you're looking for. As far as I can see we
already have all of this documented.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/docs/issues/1132#issuecomment-409117336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARbMqI_8R9fN5mqSQ_FHddCgxrcoJBx9ks5uMAFCgaJpZM4Vm7ui
.


Don't throw exception when ad id is unavailable

Given the urgency of this PR I think that it is ok, but can you open an issue stating that we should change how we return an invalid AdvertisingInfo? Maybe return as a nullable 🤷

Agree. I'll do that later.


Android: Assert Location Issues

Android Xiaomi mi 10t pro
OS: Android 10
Wallet: 1332WCuHM6LCGimBsUyYBomihs1mNehYDjj2AB2RirQNnE3fRgH
Host reports intermittent crashing when clicking search for hotspots.
When it does work, the map is not clickable when re-asserting location and the button is greyed out.
When asserting a hotspot, the host couldn't click the map either, assuming the pin drop was all he could do and wrongly asserted it at his house.
The host also reports the app version of 3.0.2 but the price is not clickable.
He's attempting to join the beta to see if it makes a difference, I will follow up tomorrow with a video.

Followup:

host was using the cog to assert location on a new hotspot - would it be possible if they start the assert location of a hotspot via the cog on a hotspot that hasn't been added to the blockchain they are redirected to the onboarding process instead?

the button to "change location" after clicking assert location was greyed out. this to him (and me) applies the pin needs to be set first and the map is not clickable - suggestion: I've already clicked assert location, why show this page? the cost of the assert is shown after as well so this just seems like an extra button click. but if you decide to keep it, the issue most are facing is just the button being coloured wrong in grey instead of blue, clicking it works.


do not encode descriptions

encoding descriptions is unnecessary and can cause issues with validation:
'skills.controller.exceptions.SkillException: Custom validation failed: msg=[Validation failed], type=[subject], subjectId=[subject2Subject], name=[subject 2], description=[> (U) quote]'

PR: #1762

:+1:


FAQ - Platform - Merge of all Zanini's FAQ

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

@deepanshuHarness I have merged all the platform faqs into a single PR and also resolved the conflicts

@deepanshuHarness I think you didn't merge it. I didn't review if the build has passed, I'll check it later.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


OverflowException when trying to compress a big asset bundle file

Hi, there is a problem when im trying to compress big assetbundle file (1GB)
OverflowException
AssetsTools.NET.AssetBundleBlockAndDirInfo.Read (AssetsTools.NET.AssetsFileReader reader) (at <c3e815020f7c4b648ca19c7d2006c299>:0)
AssetsTools.NET.AssetBundleFile.UnpackInfoOnly () (at <c3e815020f7c4b648ca19c7d2006c299>:0)
AssetsTools.NET.AssetBundleFile.Read (AssetsTools.NET.AssetsFileReader reader) (at <c3e815020f7c4b648ca19c7d2006c299>:0)
AssetsTools.NET.Extra.BundleFileInstance..ctor (System.IO.Stream stream, System.String filePath, System.Boolean unpackIfPacked) (at <c3e815020f7c4b648ca19c7d2006c299>:0)
AssetsTools.NET.Extra.AssetsManager.LoadBundleFile (System.IO.Stream stream, System.String path, System.Boolean unpackIfPacked) (at <c3e815020f7c4b648ca19c7d2006c299>:0)
AssetsTools.NET.Extra.AssetsManager.LoadBundleFile (System.IO.FileStream stream, System.Boolean unpackIfPacked) (at <c3e815020f7c4b648ca19c7d2006c299>:0)
AssetsTools.NET.Extra.AssetsManager.LoadBundleFile (System.String path, System.Boolean unpackIfPacked) (at <c3e815020f7c4b648ca19c7d2006c299>:0)
VRCHotswap.CompressFile (System.String sourceFile, System.String destinationFile) (at Assets/VRC Hotswap/Editor/VRCHotswap.cs:413)
VRCHotswap.HS3 () (at Assets/VRC Hotswap/Editor/VRCHotswap.cs:404)
VRCHotswap+<>c.<HS2>b__24_0 (UnityEngine.AsyncOperation ao) (at Assets/VRC Hotswap/Editor/VRCHotswap.cs:281)
UnityEngine.AsyncOperation.InvokeCompletionEvent () (at <7d87237cea3743d093e22c5b98f74fba>:0)

As the exception suggests, the exception happens in the read code and not the write/compress code. This could be for a number of reasons:

The bundle is too big to fit in a memory stream (int max size limit). The exception you posted on the other repo seems to be this issue and is fixed by writing to disk instead of memory. The readme (for version 2 of AT) or the wiki (for version 3 of AT) has instructions for how to disable decompressing automatically and manually decompress to file.
The bundle is too new for the version of assets tools you are using. It seems this is AT3 but you may want to try the very latest to be sure.
The bundle is invalid. You can try throwing the bundle into a different tool like UABEA, AssetStudio, etc. to see if it even loads there.


cloudflared: 2023.2.2 -> 2023.3.0

Diff: https://github.com/cloudflare/cloudflared/compare/refs/tags/2023.2.2...2023.3.0
Changelog: https://github.com/cloudflare/cloudflared/releases/tag/2023.3.0
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

1 package built:

cloudflared


feature request custom Certification Authority

I tried to use the app but it fails to connect to my semaphore instance with the following error

I do use my own custom CA but it is imported in android.
Maybe there's a setting to allow all http connections to use the device's trust store?
Or allow providing a custom CA file to verify the cert ?
Or simply a checkbox to not verify the certificate?
I fear I'll be blocked at the next step too as I have semaphore behind a reverse proxy that enforces authentication with authelia and a cookie, would that be possible to support this too ?
App looks nice though in the screenshots 😉

I'm using caddy and it provides a way to get certificate signed with trust CA.
The best way to fix this is use certificate signed by a trust CA.
Nowadays, In nowadays, a lot of tools can make it in minutes, like acme.sh, etc.
And next version of this app will has option to set insecure-skip-tls-verify.