Javascript Error

I am getting this javascript error whenever I run pygwalker over a dataframe on my local jupyter notebook.

Seeing similar issues, wrapping the attempt in a try/except yields a little more information:
Javascript error adding output!
SyntaxError: JSON.parse: bad control character in string literal at line 1 column 290 of the JSON data
See your browser Javascript console for more details.

Console output, in outputarea.js:744:
SyntaxError: JSON.parse: bad control character in string literal at line 1 column 290 of the JSON data
    <anonymous> main.min.js:1202
    append_javascript outputarea.js:772
    append_mime_type outputarea.js:710
    append_display_data outputarea.js:671
    append_output outputarea.js:345
    handle_output outputarea.js:256
    output codecell.js:399
    _handle_output_message kernel.js:1199
    i jQuery
    _handle_iopub_message kernel.js:1239
    _finish_ws_message kernel.js:1018
    _msg_queue kernel.js:1009

The data is being loaded into the data frame correctly. I have also tried to escape the original data file, but continue to get similar errors. Any ideas welcomed!

Seems similar to #17

It seems to have been fixed in #31 and pre-released in 0.1.4-alpha2.
Could you please have a try with pip install "pygwalker>=0.1.4-alpha2" and leave some feedback?
BTW: Welcome to join our discord   to keep track of the latest progress.

This resolved my problem. Thank you. I prefer slack, please if there is a slack channel then I will like to join.

Yes, here's our Slack Invitation

Working for me too, thank you!


How to bundle vendor scripts separately and require them as needed with Webpack?

Maybe this is not the right place to ask this, but I'm really in need of help here. I posted this question on stackoverflow yesterday, could you please have a look at it?
Thank you!

I don't consider myself webpack-expert. but I tried to do my best to  help you.

@bensampaio Did you figure this out?

@bebraw In the end I decided to keep doing it as before... I use webpack for my own scripts, and I merge all vendor scripts into one even if some of them are not used. I don't like it, but it works... I tried to create a loader to just grab all required vendor scripts and merge them in a file by keeping global variables, but it had some problems with the order files were being loaded and written. I ended up giving up because it was consuming too much time. If you want to have a look you can find it here: https://github.com/bensampaio/webpack-globals-loader.

In case you're interested in bundling automatically your scripts separately from vendors ones:
var webpack = require('webpack'),
    pkg     = require('./package.json'),  //loads npm config file
    html    = require('html-webpack-plugin');

module.exports = {
  context : __dirname + '/app',
  entry   : {
    app     : __dirname + '/app/index.js',
    vendor  : Object.keys(pkg.dependencies) //get npm vendors deps from config
  },
  output  : {
    path      : __dirname + '/dist',
    filename  : 'app.min-[hash:6].js'
  },
  plugins: [
    new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.min-[hash:6].js'),
    new html()
  ]
};

You can read more about this feature in official documentation.

put the vendor scripts into the other folder,not in the entry folders.just you just need use "require (XX)"in the entry file,and then you make it.


Best Output from Beam Search Decoder

In decode_and_evaluate function in utils/nmt_utils.py, in case of beam_width > 0, I see the nmt_outputs=nmt_outputs[0].  Link
Is nmt_outputs[0] contains the best translations or nmt_outputs[beam_width-1] ?
After training my models I see in general nmt_outputs[beam_width-1] contains better output that nmt_outputs[0].

I have the exact same question, have you figured it out yet?

@adakum @johnsonice
There is a bug fixes for beam search in tensorflow (https://github.com/tensorflow/tensorflow/commit/18f89c81d288f191abd56501ec6f86fe29265bdd), maybe you can try to see if the top beam gets better result?
You will need to install the latest tf-nightly.


print the parsed config on startup

The extra verbosity is worth it, I think, to be able
to verify that the program sees the config as expected.

9c281c4


add new browsrs, devices and tests

Fixes #189.

Pull Request Test Coverage Report for Build 1572

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 1564:
0.0%

Covered Lines:
819

Relevant Lines:
819

💛  - Coveralls


Support JDK 14

I upgraded the version of Gradle and others to enable to build this project using JDK 14.

Thanks!


crs .EQ. testing extra metadata etc.

crs equivalence now requiring same extra metadata
add_single_cell_grid now with uom arguments
multiprocessing recombination with time limits on wait

Codecov Report

Merging #538 (24d8f69) into master (a66f546) will decrease coverage by 0.06%.
The diff coverage is 28.20%.

@@            Coverage Diff             @@
##           master     #538      +/-   ##
==========================================
- Coverage   79.32%   79.26%   -0.07%
==========================================
  Files         176      176
  Lines       29263    29301      +38
==========================================
+ Hits        23214    23224      +10
- Misses       6049     6077      +28

Impacted Files
Coverage Δ

resqpy/multiprocessing/multiprocessing.py
21.91% <4.76%> (-5.86%)
:arrow_down:

resqpy/crs.py
85.91% <46.66%> (-2.14%)
:arrow_down:

resqpy/derived_model/_add_single_cell_grid.py
100.00% <100.00%> (ø)

resqpy/time_series/_functions.py
75.82% <100.00%> (+0.54%)
:arrow_up:

resqpy/model/_xml.py
91.13% <0.00%> (-0.28%)
:arrow_down:

resqpy/olio/vdb.py
55.58% <0.00%> (-0.15%)
:arrow_down:

resqpy/olio/wellspec_keywords.py
97.69% <0.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


[BUG] change to sort resets filter

Current Behavior
after filtering the list, when you then try to change the sorting, it resets to the full list.
Expected Behavior
sorting has no impact on whats displayed but only in what order

fixed by commit 0fc817c


feat/CIV-3775 removed access for admin and solicitor to create sdo event

JIRA link (if applicable)
CIV-3775
Change description
Permissions removed for solicitor and admin
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Requires (1) 3263 is merged so that the claims change to a state the judge can view them and (2) changing e2e so they are made after I2P (so they trigger that state change) and are done by judge profile


refactor: Add explicit exception for failures in documentPostCreateCallback

9913 - Update documentation for API around documentPostCreateCallback to make expectations around error scenario more clear
Adds an explicit Error type DocumentPostCreateError, which is thrown by RouterliciousDocumentServiceFactory.createContainer when the provided documentPostCreateCallback throws an error. Wraps the thrown error with a note about the failure, and notes consumer responsibilities in this failure case.
Also updates surrounding API documentation.

I left TODOs in a number of places where I wasn't clear on exactly how to document things, including function parameters in a couple of places. Any suggestions would be appreciated :)


Pops up a seperate window to open the activity bar.

An option that pops up a separate window to open the activity bar rather than it just popping up from the left or right.
It should look something like this.

I'm not sure what you mean... a whole window for the activity bar? Or are you suggesting something like VS where you can undock panels?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Add jest config

React folks often use Jest. I think it would be good to add it's config by default.
I get lots of errors like:
  3:1  'describe' is not defined.  no-undef
  4:3  'test' is not defined.      no-undef

I guess better defaults would be to allow them in test files

You can specify any amount of env flags with command line arguments or in your config file:
lynt --react --env jest

Doing the above would add support for both react as well as jest variables.
Or are you suggesting that --env jest is provided by default without the need for passing in a flag? I am kind of 50-50 on this. On one hand, it seems like Jest is really ramping up on popularity so this might be a good idea, but on the other it might be a bad idea to always treat describe, it, etc as valid global variables when one isn't using Jest.
There has also been some discussion from people who actually want to import these variables rather than having them be global: https://github.com/facebook/jest/issues/4473
Curious to hear your/others thoughts on this.

I guarantee that 90% of react devs are using Jest for testing. Also I think the discussion about these variables non-global in Jest in not relevant, as status quo for this moment is that they are global and Lynt is supposed to be "Zero configuration by default" :)

Also,  I tried node_modules/.bin/lynt test --react --env jest but it still shows "describe is not defined" etc.

Hmm, that's strange. I've been testing it out on a couple of my larger projects as well as a new project I just made with create-react-app, and there didn't seem to be those issues.
Example: https://github.com/saadq/issues/tree/master/lynt-jest
I just ran:
create-react-app lynt-jest

And once that was done, in the project I just ran:
npm install -D lynt

Which installed lynt version v0.5.5. I added a describe function call to the default Jest test.
Running lynt without --env jest would result in errors like you described, but they should go away when the env flag is passed:

Not that it should matter, but could you give a bit of info on whether you have lynt installed globally or as a local project devDependency? And if possible, would you be able to share some code (or even better, a minimal project) which has this issue?

Hmm suddenly it's working for me as well, I think it's because I've experimented with .lyntrc and made something like this and forgot about it:
{
  "env": {
    "jest": true
  }
}

It seems such .lyntrc is incorrect overrides CLI flag (usually CLI flags have priority over configuration).

(I used such configuration in my .eslintrc)

Ah, I see. I currently didn't have tests for both CLI and config files existing simultaneously, so I should definitely add that. I am currently overriding the CLI args with the config file, but I definitely agree it should be the other way around. Opened #44 for this problem.
I think the reason your issue was happening was that the env in a .lyntrc file should be an array of env strings (for example, ['jest', 'browser'] rather than a mapping of env string => boolean. I think I went this way rather than the .eslintrc config style because the programattic ESLint API requires env to be passed as an array of strings, and I just thought it was simpler overall.
Going to close this out as I think it is currently working, but automatically adding jest support on detection (like react/ts/flow) might be a good idea. For example, if the user has a jest.config.js file or  "jest" key in package.json or even if they just have jest installed as a dependency are some things I could look for.


MudTable cannot edit dictionaries

Bug type
Component
Component name
MudTable
What happened?
MudTable is unable to commit dictionary edits when a Dictionary<string, string> is set as Items.
Expected behavior
MudTable should be able to edit dictionary entries.
Reproduction link
https://try.mudblazor.com/snippet/wkwnYUlBKWoYdQjB
Reproduction steps

Click on table entry and edit
Commit edit by clicking commit button
Notice how the table entry reverts back to values before edit

Relevant log output
No response
Version (bug)
6.4.1
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Of course; dictionary is a collection of KeyValuePair and they're immutable. Not MB's fault; use a different collection

Closing, this is expected behavior as explained above.


fallback for load relation

We do this in tests:
{%- set model_relation = dbt.load_relation(model) %}

For Snowflake this is the difference:
ipdb> l_1_model
<SnowflakeRelation ELEMENTARY_TESTS.ms_test_2022.any_type_column_anomalies>
ipdb> l_1_model_relation
<SnowflakeRelation "ELEMENTARY_TESTS"."MS_TEST_2022"."ANY_TYPE_COLUMN_ANOMALIES">

And the load_relation seems to be unstable in Databricks.
https://elementary-community.slack.com/archives/C02CTC89LAX/p1686545197144299
ELE-1085

Why won't we drop this?
I think the value is limited because any query on the tested table would show an error message saying it doesn't exist.

@elongl
All the uses we do with model work. I tested.
I assume we had edge cases with quoting that failed so we used the load_relation, but failing to use load_raltion doesn't mean the tested table can't be accessed.
The user that reported saw this error Unable to find table HIVE_METASTORE.NZ_PROD__STAGE_30.GPEVENTS_30__DIM_ORDER_CREATED``, the table name here is from the relation that failed to load.


fix(ui): use onPointerEnter / leave to show tooltip even when button …

Fixes #9005
Note: I did not replace all instances of onMouseEnter, just the ones that can be disabled and have tooltip set.

Do pointer events trigger on a disabled button? I haven't tested this locally yet but I believe disabled html buttons are treated as non-interactive (unless Payloads implementation of button consciously differs).

Do pointer events trigger on a disabled button?

Yes, as opposed to onMouse* events - see #9005 for details.


How can I use the generated credentials file after the Actions workflows is finished?

TL;DR
Hello.
I'm able to login with the generated credentials file outside of the GitHub Actions workflows during the build.
gcloud auth login --cred-file=THE-COPYED-CREDENTIALS-JSON-FILE
But I cannot use this anymore after the workflows is finished even if I set longer access_token_lifetime.
"Can\'t issue ID_TOKEN for job in \'Completed\' state."
Is it possible to use the generated credentials regardless of the GitHub Actions workflows status?
Expected behavior
No response
Observed behavior
No response
Action YAML
- id: 'auth'
        name: 'Authenticate to Google Cloud'
        uses: 'google-github-actions/auth@v1'
        with:
          token_format: "access_token"
          create_credentials_file: true
          access_token_lifetime: '1800s'
          workload_identity_provider: "${{ secrets.GCPWorkloadIdentityProvider }}"
          service_account: "${{ secrets.GCPServiceAccount }}"
          id_token_audience: "${{ secrets.GCPAudience }}"

      - name: Save the credentials file for other system
        run: cp ${{ steps.auth.outputs.credentials_file_path }} /my/local/path/ # This will be used after the workflows finished!

Log output
ERROR: (gcloud.projects.list) There was a problem refreshing your current auth tokens: ('Unable to retrieve Identity Pool subject token', '{"$id":"1","innerException":null,"message":"Can\'t issue ID_TOKEN for job in \'Completed\' state.","typeName":"GitHub.Actions.Runtime.WebApi.CannotGenerateIdTokenException, GitHub.Actions.Runtime.WebApi, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","typeKey":"CannotGenerateIdTokenException","errorCode":0,"eventId":3000}')

Additional information
No response

Hi @retzero
Please provide your complete Github Actions YAML workflow. That error is coming from GitHub Actions, not gcloud or auth. Workload Identity relies on GitHub Actions minting a token. The token minter is returning an error saying the job is already finished (and therefore refusing to mint a token).

This is what I want to configure...

The token minter is returning an error saying the job is already finished (and therefore refusing to mint a token).

Yes. I also think if the GHA workflows finished the token cannot be used.
Isn't there any workaround or configurations to do this kind of job?

Yes, this is working as intended. The GitHub token is invalidated once the run finishes.


Change result status

For failing tests the result should be "ERROR", not "FAILURE".

Implemented in version 0.2.6.


Project Complete

Added the User model
index, edit, create controller actions for the User model
index, edit, create views created

Changes Required! ♻
Hi @s0kil and @e71az! You have done a great job following the project instructions as laid out in the Odin project. There are a few details I'd like you to attend to before moving forward. These are:

[x]  Your Getting Started instructions in the README.md file should include bundle install and rails db:migratecommands since your app can't work out of the box without the necessary gems installed and migrates run.
[x]  On creating a new user, I get this error: undefined local variable or methodnew_users_path' for #UsersController:0x000055d64dc61258 Did you mean? new_user_path ``. Please fix this.
[x]  [Optional] Create a partial for the user form and reuse it in the new and edit views. This helps in reducing repeated code in your application.
[x]  [Optional] Great job implementing error messages for the edit view. You could do the same for the new view. (screenshot from Odin)
[x]  [Optional] Validate the email using a regular expression. This is a good place to practice this kind of validation since it is the industry standard.
[x]  Remove the "console" command from the code as indicated in the comment in the code below.

Kindly make the necessary changes and submit another code review request.
Feel free to reach me on slack for any inquiries about this review. 😉
Treasure Kabareebe
GitHub | LinkedIn | Twitter

Thank you for your review @trekab, we applied all the changes that you requested.


Update docs referencing enki to use AuroraBoot

In the latest release we deprecated Enki, but we still make reference to it in the docs https://github.com/kairos-io/kairos-docs/blob/main/content/en/docs/Advanced/sys-extensions.md#building-system-extensions-from-a-docker-image-with-enki

Besides referencing enki commands, there are for sure references to plain osbuilder image tools scripts around. Worth checking basically all commands that are referencing either osbuilder, enki, or auroraboot


Ghost with contentful

Is there any customized version of Ghost app using using contentful-management.js APIs
Or do people use  https://github.com/sdepold/contentful-ghost-importer to copy data to contentful.

Hi @Ishandutta2007, if you have questions about Ghost or need help, please head on over to slack - https://ghost.org/slack/ - and post in the #help channel. There you can get help & support from the Ghost community, which we're not able to do here in the GitHub bug tracker.


Support org-mode syntax

I'd like to use my org-mode (org-roam) syntax into subconscious. This tracks that happening.

Just curious: does org-mode have a well-known mime?

text/org


Uploading in production not working

Describe the bug
When uploading a file in production the response says the file is uploaded but it can't be found in the bucket.
To Reproduce
Steps to reproduce the behavior:

Upload file
Get "file uploaded message"
Thumbnail does not work
Refresh
Thumbnail still does not work, file is not found in bucket at all

Expected behavior
That the file is correctly uploaded

Finally got it locally to, after some debugging it throws this error
error {
  code: 400,
  message: 'Cannot insert legacy ACL for an object when uniform bucket-level access is enabled. Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access',
  errors: [
    {
      message: 'Cannot insert legacy ACL for an object when uniform bucket-level access is enabled. Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access',
      domain: 'global',
      reason: 'invalid'
    }
  ]
}

Seems that streamFileUpload().catch(console.error) does not log it correctly, changing it to following does:
        await streamFileUpload().catch((err) => {
          console.error(err)
        });

My proposed solution:
        const streamFileUpload = () => new Promise((resolve, reject) => {
          file.stream.pipe(bucketFile.createWriteStream(fileAttributes))
            .on('error', (error) => {
              reject(error)
            })
            .on('finish', () => {
              // The file upload is complete
              console.log(`File successfully uploaded to ${file.url}`)

              resolve()
            })
        })

        await streamFileUpload()

This fixes 2 issues:

Errors not being logged to the console
Initial thumbnail not working, refresh required

+1 for this.
Stuck on Strapi v 2.3.6, and cannot update without breaking this plugin. Upload behaviour works as expected on 2.3.6 and is logged in the console, beyond this 2.3.7 and 2.3.8, the file logs an upload by Strapi, but not to Google.
File successfully uploaded to https://storage.googleapis.com/..... is missing in the logs and file is not uploaded.
No context was provided on the error.

@lcottingham maybe setting uniform: true will also fix the issue for you?

It did yes, but was frustrating to have no contextual errors in the logs to point me in the right direction. The error and solution are documented, but the error isn't logged currently (without your proposed solution). Anyway, thanks for helping resolve.


ConnectTimeoutError with "https://s3.private.eu-de.cloud-object-storage.appdomain.cloud/" on my local device

Hi! I am able to access my COS with this command in Watson Studio.
import ibm_boto3
from ibm_botocore.client import Config
[...]
auth_endpoint = 'https://iam.bluemix.net/oidc/token'
service_endpoint = "https://s3.private.eu-de.cloud-object-storage.appdomain.cloud"

cos = ibm_boto3.resource('s3',
                         ibm_api_key_id=api_key,
                         ibm_service_instance_id=service_instance_id,
                         ibm_auth_endpoint=auth_endpoint,
                         config=Config(signature_version='oauth'),
                         endpoint_url=service_endpoint)

However when I try to connect to it from my local device I get
ConnectTimeoutError: Connect timeout on endpoint URL: "https://s3.private.eu-de.cloud-object-storage.appdomain.cloud/"
Can you tell me why this happens (locally only)? What could I look into?

@tbrodbeck Thanks for your patience here - if you haven't figured it out, the reason you can't connect from your local machine is that the private endpoint is restricted to access from within the IBM Cloud.  So that value for service_endpoint will work from Watson Studio, or an application running in a container, VM, or other IBM Cloud computing resource.  Your sample above will work fine if you replace the service_endpoint value with "https://s3.eu-de.cloud-object-storage.appdomain.cloud".

Thank you so much!


Swiftify addToSuperview, add add(toStackview:)

Additions

Added method add(toStackview:) to bring parity to add(toSuperview:) for UIStackView arranged subviews

Updates

Deprecated addToSuperview in favor of the more Swifty add(toSuperview:) and to better align with other add methods now and in the future.

I like it! Fits in nicely with the Swift 3 API design guidelines 👍

👍


fix some new 2.8 directives

they were introduced after redis 2.8.0.
now works on Ubuntu 14.04 (redis 2.8.4)
ref: #239

Thanks much!


Bug: Show application metrics and README is not visible for Job & Cronjob and StatefulSets chart type.

📜 Description
In Base deployment template configuration of an application, we have an option for 'Show application metrics' and README. This option is not visible if chart type is selected Job and CronJob & StatefulSets without switching deployment template type from Basic to Advanced (YAML). But we can get this option if we change the chart to advanced initially.  However we get this option after saving it and coming back to deployment template configuration.
👟 Reproduction steps

Create a new application.
Configure Git Repository and Build Configuration.
While configuring Base Deployment Template, select chart type Job and CronJob or StatefulSets with changing from Basic to Advanced.
You'll not get the option for 'Show application Metrics' and README on deployment template page.
But we can get this option if we change the chart to advanced initially.

👍 Expected behavior
'Show application metrics' and README option should be there.
👎 Actual Behavior
'Show application metrics' and README option is not there.
☸ Kubernetes version
EKS 1.25
Cloud provider

EKS

🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#3940

now you can see application metrics option even in statefulset , job and cron job


Add a disclaimer to the www about curl | sh

Since there's going to be a blog post about rustup out soon, this is to get ahead of the complaining about curl | sh.
I intend to remove this from the website again after the discussion from the blog post dies down because it's a distraction from the actual installation instructions.

r? @alexcrichton


SPI Release Tweak (IDFGH-7584)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your contribution.

@cibomahto got a second to synopsize?

@meawoppl
Sorry, question from side viewer:
Could you descripe idea behind this patch?

@Maksons seconded. What's the goal here?

Possibly to reduce overhead by not calling xQueueSendFromISR and not yielding

Apologies, this is @cibomahto 's work, I was just trying to be helpful by making a PR of it. I think he will chime in shortly.

I think @negativekelvin is right.
This is a good one. Will test it later. Nice job, @cibomahto.

@ginkgm care to take a look?

This is a good one, I think we will accept this


Hosted service Observer3NOTVisible/FeatureServer does not have a service definition item

The hosted service "Observer3NOTVisible" item exists 2dce7b811680482690b082d259204dcb but does not have an associated service definition portal item. Without the service definition item the service won't be published during Ops Server publishing.
NOTE: Only hosted services published from ArcGIS Desktop or ArcGIS Pro, which upload a service definition item to portal, are supported by the ops server config publishing scripts.

@elinz I'll get this cleaned up when we get the ability to publish multipatch buildings to the NSEC Portal. This feature service works in conjunction with a UC presentation I created around the Scene Viewer and without the multipatch buildings the demo is essentially moot...so I'll be tabling this until that's resolved, at which point I'll knock this out.  In the meantime I'll unshare everything so at least others do not see it.

@elinz it doesn't appear I'm going to be able to get data permissions for the main focal point of this demonstration, hence I'm not going to clean this up and have simply deleted it.


Remove PIC32MZEF references from projects

Remove PIC32MZEF references from projects
Description

The Espressif and Marvell IDE projects contain references to the
PIC32MZEF platform. These are not required so they are being
removed.

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks

/bot run checks


Bumping to 0.7.0 for release

User awaiting fix to https://github.com/google/google-auth-library-java/issues/91.

Do you need me to merge / publish?


Allow hovering on rows

Allow hover state on rows..

Closing in favour of the new rowRenderer feature.


history of open source

Description 📜
History of  open-source (1980 & 1990’s)
Fixes #20

Type of change 📝

[X] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Open Source

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I'm a GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Hey, @aaryan078  closing this PR since #20 is already been assigned to a contributor, there are plenty of open issues that you ay start working on it, You can ask for an assignment in the issue thread first.
Thanks for the PR!


Update phpunit version

This is a duplicate of https://github.com/GoogleCloudPlatform/php-docs-samples/pull/1000


extension-specific setting for format on save

Feature Request for the new setting
 "editor.formatOnSave": true,
As user I want to use the new setting not only language-specific (#13547). I want also want to actively set in my workspace settings, which extension should format the content.
Example: I support 2 projects. In one project the required formatting is Javascript Standard format (chenxsan.vscode-standard-format). In my second project the format Javascript Semi Standard (homerjam.vscode-semistandard-format) is used.

dupe of #11609


DisconnectedEvent not fired on connection disruption

I'm new to Lettuce and using 4.3.1 to connect to my Redis Sentinel.
I'm subscribed to the EventBus, I see initial events for Sentinel connection, and then actual Redis instance connection. And I'm also able to see if the node goes offline and Sentinel offering a new node.
But my problem is I'm not receiving a DisconnectedEvent upon a network outage. DefaultTimeout in client and ConnectTimeout in SocketOptions are set very small values. When I try to use a sync command when there's no connectivity to Redis, it throws a timeout exception. But still I'm missing the DisconnectedEvent. (KeepAlive and AutoReconnect is set to true)
Any idea what's missing? Thanks in advance

I wasn't able to reproduce the issue. I connected to a Master/Slave setup and killed a node manually. With that test, I saw events emitted in the appropriate order:
ConnectedEvent [/<IP_ADDRESS>:50647 -> /<IP_ADDRESS>:6482]
ConnectionActivatedEvent [/<IP_ADDRESS>:50647 -> /<IP_ADDRESS>:6482]

… call SHUTDOWN on the server and then …
DisconnectedEvent [/<IP_ADDRESS>:50647 -> /<IP_ADDRESS>:6482]
ConnectionDeactivatedEvent [/<IP_ADDRESS>:50647 -> /<IP_ADDRESS>:6482]

Test code:
RedisClient redisClient = RedisClient.create();

redisClient.getResources().eventBus().get().doOnNext(System.out::println).subscribe();

StatefulRedisMasterSlaveConnection<String, String> connection = MasterSlave.connect(redisClient, new Utf8StringCodec(),
        RedisURI.create("redis-sentinel://<IP_ADDRESS>:26380/0#mymaster"));
connection.setReadFrom(ReadFrom.MASTER_PREFERRED);

System.out.println("Connected to Redis");
while (true) {
    System.in.read();
    connection.async().ping().whenComplete((s, throwable) -> {

        System.out.println(s);
    });
}

@mp911de Thanks for your time.
Yes, you are correct. I did the same with my remote sentinel setup and events were fired correctly.
But when I just disconnect my client from network (TCP close), I do not receive a DisconnectedEvent.
I can still issue sync commands but those will result in timeouts.

I will give it another round of testing. I read your test case as network partition. The TCP channel tries to send commands and runs into a TCP retransmission timeout because the remote side isn't reachable.

Closing this one as we cannot reproduce the issue.


Sorting Data

Hi!
Just a small question but I'm trying to figure out how to sort my data?
I tried using sort=publish_date:desc in axios but that doesn't work.
In PHP it works, this is my code
{{ collection:cases limit="15" sort="publish_date:desc" }}

{{ sub_title }}

{{ title }}

                            + view project

{{ /collection:cases }}

But in JS it doesn't work
axios.get('/!/Fetch/collection/cases?sort=publish_date:desc').then(
function(cases) {
    }
);

Do you guys know how to sort the data?
Thanks
Yawuar

Hi @yawuar, I'm afraid sorting isn't supported at this moment. I'm not sure where you got this syntax from ?sort=publish_date:desc, or perhaps it was just wishful thinking.
You'll have to do the sorting on the JS-side, here's a tweaked working example:
axios.get('/!/Fetch/collection/cases').then(resp => {
  const sortedData = resp.data.data.sort((a, b) => a.order > b.order)

  console.log(sortedData)
});

Tweak as needed using the sort docs:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort

Yeah it was wishful thinking :p
Thanks anyways!


Add retry and subtest parallelism capability

Hi @siller174
I initially thought of forking this but I thought it may benefits others, so I'm raising a PR for this one.
Basically, it's linked to https://github.com/ozontech/cute/issues/70
I added retry capability for tests and parallel capability for subtests to solve what I mentioned in the comments of the above issue 70.
Here is the PR:
https://github.com/ozontech/cute/pull/81
Open to comments and discussions of course, thanks for your time!

Hi @samybenatt . Thank you for your contribution.
I will take a look tomorrow.

release v0.1.22


Avatar needs accessible labelling

Avatar needs a name or another kind of accessible labelling, such as:
<Avatar name="Jane Doe" />

<Avatar aria-label="Jane Doe" />

<>
  <label id="label-id">Jane Doe</label>
  <Avatar aria-labelledby="label-id" />
</>

PR has been merged :)


feat: Enables audit device upon init

Description
Enables audit device upon initialisation of Vault
Adds unit tests.
Fixes tests.
Fixes tox issues.
Bumps lib patch to publish change from this merged pr.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] I have added tests that validate the behaviour of the software
[x] I validated that new and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Overall looks good, some minor comments are added.


Fix ip bug

^

current test url: wss://tiffany-dee-influences-re.trycloudflare.com
will leave it on for the rest of today


Content from Podcast Provider Megaphone.fm does not load fully.

It seems Megaphone.fm  inserts dynamic ads into the stream.  When loading streams into WaveSurfer only the ad loads  BUT  looking at network traffic you can see the entire audio file is downloaded.
Wavesurfer.js version(s):  Latest from https://unpkg.com/wavesurfer.js
Browser and operating system version(s):  Mac, PC  Chrome, Explorer, Safari, etc,
Code needed to reproduce the issue:
<!DOCTYPE html>

	<button id='wfplay'>Play</button>

	<audio controls preload>
		<source src="https://traffic.megaphone.fm/HSW2183165052.mp3" type="audio/mp3" preload></source>
	</audio>

Use behaviour needed to reproduce the issue:
Notice that Wavesurfer downloads the entire MP3 which is 40 minutes long, about 45 MB.  BUT it only loads the first 15 or 30 seconds into the player.

@rick-rheo this looks like an issue with a file, not sure what to do about it in wavesurfer.js.. what do you suggest?

Other players load and play this file just fine. Many/most streams from megaphone.fm have this issue with Wavesurfer.  Its probably their fault but other players get around it.  I don't know how Wavesurfer works internally so I have no suggestions other to figure out why  it isn't loading the entire file even though it downloads it.

Their FAQ doesn't describe their audio file format, only thing I found is this: http://support.megaphone.fm/en/articles/1561152-soundcloud-and-megaphone
I would not rely on 'pure' megaphone audio files and would convert them serverside instead.

I'm not sure what you mean by "convert them serverside instead" .      The support article you linked is referring to podcast catalog meta information, not the audio file.  The audio format is standard mp3.

well if it's standard MP3, why does it give problems then? with serverside converting I mean: download the audio file and convert it using ffmpeg (on a server for example) to ensure there is no weird tags/whatever in the file and it can be properly loaded by wavesurfer.js. Not sure what else to suggest. You could contact megaphone and ask for more details about their files.

This is something going on in Wavesurfer.  Their files are MP3.  Every player other than WaveSurfer plays them.  I don't know how you load the audio into the player.  I assumed you knew the code and could determine why only the first 15 or 30 seconds load.  Are there some weird tags/whatever that can be accommodated by wavesurfer?  For me the server IS megaphone.  There is no other server.

I assumed you knew the code and could determine why only the first 15 or 30 seconds load.

I'm not a magician. And I don't care about megaphone. I have no idea what's going on here.

Not asking for magic.  I guess I was wrong that the author would be concerned that a major podcast CDN is serving content that can't be loaded into their library and that same author would know their code well enough to debug what's going wrong fairly easily.   But clearly you don't care.
I'll just figure it out myself on my own branch.  Thanks for being so helpful.

But clearly you don't care.

 I am doing all of this in my free time, there is no need to talk to me like this.

The more I read your response, the more it pisses me off. I've never had to deal with such douchebags on github.

  "I don't care about megafone" etc.  You could have spent 10 minutes looking to see why the audio doesn't load or you could have pointed me to the right place to look myself. Instead you threw up excuses and blame.   There's a problem in your code. This is not just related to megafone, and I'm sure its something they are doing that does not break the MP3 spec that you are not handing.  That's something I would think an author would be concerned about.

Hey great response!

We will keep improving wavesurfer without your bitching. GFY!


Compile error when npm installing srs

From dependency of npm install millstone:
CXX(target) Release/obj.target/osr/deps/osr/src/ogr_srs_validate.o
CXX(target) Release/obj.target/osr/deps/osr/src/ogr_srs_xml.o
CXX(target) Release/obj.target/osr/deps/osr/src/ogr_srsnode.o
../deps/osr/src/ogr_srsnode.cpp:159:9: warning: 'this' pointer cannot be null in
well-defined C++ code; comparison may be assumed to always evaluate to
false [-Wtautological-undefined-compare]
if( this == NULL )
^~~~    ~~~~
1 warning generated.
CXX(target) Release/obj.target/osr/deps/osr/src/ogrct.o
../deps/osr/src/ogrct.cpp:772:9: warning: using integer absolute value function
'abs' when argument is of floating point type [-Wabsolute-value]
abs(dfSourceToRadians * dfTargetFromRadians - 1.0) < 1e-10 )
^
../deps/osr/src/ogrct.cpp:772:9: note: use function 'std::abs' instead
abs(dfSourceToRadians * dfTargetFromRadians - 1.0) < 1e-10 )
^~~
std::abs
../deps/osr/src/ogrct.cpp:772:9: note: include the header  or explicitly
provide a declaration for 'std::abs'
1 warning generated.
CXX(target) Release/obj.target/osr/deps/osr/src/ogrspatialreference.o
LIBTOOL-STATIC Release/osr.a
CXX(target) Release/obj.target/srs/src/srs.o
In file included from ../src/srs.cc:6:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace
'node'
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~
/var/root/.node-gyp/4.2.6/include/node/node_buffer.h:31:40: note: candidate
function not viable: no known conversion from 'uint32_t'
(aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/var/root/.node-gyp/4.2.6/include/node/node_buffer.h:43:40: note: candidate
function not viable: 2nd argument ('const char ') would lose const
qualifier
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate isolate,
^
/var/root/.node-gyp/4.2.6/include/node/node_buffer.h:28:40: note: candidate
function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/var/root/.node-gyp/4.2.6/include/node/node_buffer.h:36:40: note: candidate
function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
In file included from ../src/srs.cc:6:
../node_modules/nan/nan.h:676:12: error: no viable conversion from
'v8::MaybeLocalv8::Object' to 'v8::Localv8::Object'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/root/.node-gyp/4.2.6/include/node/v8.h:210:7: note: candidate constructor
(the implicit copy constructor) not viable: no known conversion from
'v8::MaybeLocalv8::Object' to 'const v8::Localv8::Object &' for 1st
argument
class Local {
^
/var/root/.node-gyp/4.2.6/include/node/v8.h:210:7: note: candidate constructor
(the implicit move constructor) not viable: no known conversion from
'v8::MaybeLocalv8::Object' to 'v8::Localv8::Object &&' for 1st
argument
class Local {
^
/var/root/.node-gyp/4.2.6/include/node/v8.h:214:13: note: candidate template
ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local that)
^
/var/root/.node-gyp/4.2.6/include/node/v8.h:326:13: note: candidate template
ignored: could not match 'S ' against 'v8::MaybeLocalv8::Object'
V8_INLINE Local(S that)
^
In file included from ../src/srs.cc:6:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace
'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../src/srs.cc:2:
/var/root/.node-gyp/4.2.6/include/node/v8.h:221:5: error: assigning to
'v8::Primitive *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~
/var/root/.node-gyp/4.2.6/include/node/v8.h:180:37: note: expanded from macro
'TYPE_CHECK'
(static_cast<T volatile*>(0)) = static_cast<S*>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template
specialization 'v8::Localv8::Primitive::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                         ^

In file included from ../src/srs.cc:2:
/var/root/.node-gyp/4.2.6/include/node/v8.h:221:5: error: assigning to
'v8::Boolean volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/var/root/.node-gyp/4.2.6/include/node/v8.h:180:37: note: expanded from macro
'TYPE_CHECK'
(static_cast<T volatile>(0)) = static_cast<S>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template
specialization 'v8::Localv8::Boolean::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                         ^

In file included from ../src/srs.cc:2:
/var/root/.node-gyp/4.2.6/include/node/v8.h:221:5: error: assigning to
'v8::Function volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/var/root/.node-gyp/4.2.6/include/node/v8.h:180:37: note: expanded from macro
'TYPE_CHECK'
(static_cast<T volatile>(0)) = static_cast<S>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template
specialization 'v8::Localv8::Function::Localv8::Value' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                         ^

In file included from ../src/srs.cc:2:
/var/root/.node-gyp/4.2.6/include/node/v8.h:221:5: error: assigning to
'v8::Object volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/var/root/.node-gyp/4.2.6/include/node/v8.h:180:37: note: expanded from macro
'TYPE_CHECK'
(static_cast<T volatile>(0)) = static_cast<S>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template
specialization 'v8::Localv8::Object::Localv8::Value' requested here
return NanEscapeScope(handle->Get(NanNew(key)).Asv8::Object());
^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                         ^

9 errors generated.
make: *** [Release/obj.target/srs/src/srs.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/opt/local/bin/node" "/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs/lib/binding/node-v46-darwin-x64/srs.node" "--module_name=srs" "--module_path=/Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs/lib/binding/node-v46-darwin-x64"
gyp ERR! cwd /Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs
gyp ERR! node -v v4.2.6
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/opt/local/bin/node /opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs/lib/binding/node-v46-darwin-x64/srs.node --module_name=srs --module_path=/Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs/lib/binding/node-v46-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess. (/Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:821:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Darwin 14.5.0
node-pre-gyp ERR! command "/opt/local/bin/node" "/Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs
node-pre-gyp ERR! node -v v4.2.6
node-pre-gyp ERR! node-pre-gyp -v v0.6.9
node-pre-gyp ERR! not ok
Failed to execute '/opt/local/bin/node /opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs/lib/binding/node-v46-darwin-x64/srs.node --module_name=srs --module_path=/Users/jerome/Documents/MapBox/project/TopoAuvergne/node_modules/millstone/node_modules/srs/lib/binding/node-v46-darwin-x64' (1)
npm ERR! Darwin 14.5.0
npm ERR! argv "/opt/local/bin/node" "/opt/local/bin/npm" "install" "millstone"
npm ERR! node v4.2.6
npm ERR! npm  v2.14.17
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the srs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs srs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls srs
npm ERR! There is likely additional logging output above.
My clang:
clang --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
Any help would be appreciated :-)

You are using an old node-srs release. Upgrade to v1.1.0 and that then uses https://github.com/naturalatlas/node-gdal and you won't hit this problem anymore.

Thanks for your quick help! Indeed, version 1.1.0 installs like a charm... except than when I try to install again millstone... it still requires an outdated version of srs :-(
Sorry for the stupid question (I am very new to node), but how to change this?

@jecor done in https://github.com/mapbox/millstone/commit/4c3a679641bec2494eec84616f56b63c13ff069e. So you can install millstone from master branch (not sure when I'll have time for a release). Does that work?

nevermind, just published<EMAIL_ADDRESS>

Thanks a lot! millstone now installing like a charm as well.


Update zio-test, zio-test-sbt to 1.0.14

Updates

dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.4-2 to 1.0.14.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: test-library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #240.


feature(react): show ecosystem wallet branding regardless of modal size

#3577  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gregfromstl and the rest of your teammates on  Graphite


Is this repo still used?

I see the implementation has not been updated for a while now. Is it stable?

Yes, this should be a complete implementation of the current spec
(Feel free to report any inconsistencies with the spec)

Thanks tarruda!
I used nanopb and there we just use the encode, decode API, why we don't have the same APIs?

The goal of this library is to give more control to the user. A simple encode/decode would probably need to allocate memory for the user, which is not ideal when you want to expose to another language that handles its own allocation.
See the rationale for more info.


Alpha of Principle BSDF is ignored

Describe the bug
When trying to export an object with transparency I noticed that only the alpha value from the base color is taken into account.
The separate alpha value further down the shader is ignored during export.
To Reproduce
Steps to reproduce the behavior:

Add a Principle BSDF shader to a object
Change the alpha value in the bottom of the Principle BSDF to a value around 0.1
Change the Blend Mode of the material to "Alpha Blend"
The transparency should be visible in EEVEE viewport
Now export the geometry with default settings of the glTF 2.0 exporter
Open glTF inside of a viewer and the transparency should not be visible

Expected behavior
I wouldn't expect it to matter where I set the alpha value. The alpha value in the lower part of the shader (input[18]) should also be exportable
Screenshots

.blend file/ .gltf
Alpha-Export-Bug.zip
Version

OS: Windows 10
Blender Version 2.83 LTS

Dupe of #784. The fix should be in the 2.90 alpha.

I wouldn't expect it to matter where I set the alpha value. The alpha value in the lower part of the shader (input[18]) should also be exportable

Actually the alpha from the Base Color socket is now ignored, since it doesn't do anything in Blender.

IWith the latest exporter everything works now. Thanks!


Feedback and Reporting

Design a simple feedback form for users to report any misinformation, bugs, or issues with the website.
Implement a reporting system for any inappropriate content or behavior in the forum section.
All the feedback or report should redirect to -<EMAIL_ADDRESS>

Please assigned me this issue

Assigned!

Hi @arncv , I would like to work on this issue

@HarikaB11 Assigned!


🧪 Mad Science Project Idea: Tokenized GitHub Repositories

What is an Mad Science Project Idea?
A Mad Science Project Idea is an idea for a project within the Optimism ecosystem that may not have clear value but is generally cool as heck. Mad Science Project Ideas make great hackathon projects and tend to be a great way to explore Optimism, OP Mainnet, and the OP Stack.

Summary
High level objective: Influence developers to reflect their work in tokens so we can fund them with RetroPGF. Rough idea: Make it easy to tokenize a GH repo. The owner can choose an initial allocation, automatic rewards for merged PRs, etc. They are then responsible for distributing the tokens to contributors, etc.
Possible Features

Allow the repository owner to "tokenize" a repository by adding a GitHub app.
Allow the owner to modify the mechanism to distribute tokens.

Did some explorations in this a while back in two repos:
https://github.com/carlbarrdahl/git-dao
https://github.com/carlbarrdahl/gitwork
Gitwork allows you to add bounties to GitHub issues. It works by finding the person who made the commit in a PR that closed the issue and generating a signature for them to send to the smart contract. Here are the relevant pieces of code:

https://github.com/carlbarrdahl/gitwork/blob/master/apps/web/pages/[owner]/[repo]/[issue_number]/claim.tsx#L115-L149

https://github.com/carlbarrdahl/gitwork/blob/master/hardhat/contracts/BountryRegistryV1.sol#L90-L106


Setting Default Quality

I'd like to tweak the default quality down a bit to save bandwidth / load time.
I'd like to do this globally in the setting file? (I tried editing the processing.config to add a settings/setting within the quality plugin element but that didn't work)
Is it possible to set the default quality?
It's not a big deal if not, I can encapsulate calls to the querystring generation to include it on the querystring.

Nah not through the config I'm afraid but you could do it via the ImageProcessingModule.OnProcessQuerystringevent.
http://imageprocessor.org/imageprocessor-web/imageprocessingmodule/#events


problem opening the .py file

When I try to execute the .py file, it simply opens up for about half a second then closes. I think it has something to do with the "py -3 -m pip install discord_webhook" cmd, because I'm not sure where to execute it. If you could tell me where to put that cmd, it would be great.

You need it in in a terminal you can just search for cmd in the search area on windows

You need it in in a terminal you can just search for cmd in the search area on windows

You could just pack it up in to an exe, it would be easier to use for people who don't know much about computers.

I might do that later thanks for your suggestion

Ill make one

Alright this issue seems to be solved, I'll close the issue now


Fix Windows 2016 build.

Found during setting up github action.  There's still an external test SparsePage, PushCSCAfterTranspose  failing on latest Ubuntu and Windows.  I can't fix it right now with the complexity of external memory.  So I just port a small fix here.

Codecov Report

Merging #5902 into master will decrease coverage by 1.39%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5902      +/-   ##
==========================================
- Coverage   79.51%   78.11%   -1.40%
==========================================
  Files          12       12
  Lines        2909     2979      +70
==========================================
+ Hits         2313     2327      +14
- Misses        596      652      +56

Impacted Files
Coverage Δ

python-package/xgboost/dask.py
73.73% <0.00%> (-9.83%)
:arrow_down:

Continue to review full report at Codecov.

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

@trivialfis Can you run the exhaustive JSON test with this new code?

@hcho3 I did.

Let me try running it on Windows later tonight.

Note to myself: Clean python build dir after retrying vs version.

@hcho3 Ran the test on Windows.


9.03

How can I dump my 9.03 kernel to get offsets? I understand this isn’t easy but any help is appreciated

See #15


Synology  Exits with "unable to detect hairpin mode (is the docker daemon running?)"

I encountered same problem in #67 and #28 .
I found  difference in synology system.

the reason of  [unable to detect hairpin mode (is the docker daemon running?)] in synology is the lack of ip6table_nat.ko and the other ip6* module?

Hi, I would advise to switch to Docker's built-in IPv6 NAT, which seems to work great. Please see #65.
Otherwise, #67 contains some workarounds, like downgrading the iptables package.

I would advise to switch to Docker's built-in IPv6 NAT, which seems to work great

no,it will be a disaster.because docker in synology add "ip6tables": true will crash.

@wangliangliang2 were you able to resolve this on synology?

Adding
  "ipv6": true,
  "fixed-cidr-v6": "fd00:dead:beef::/48",
  "ip6tables": true,
  "experimental": true

to /var/packages/Docker/etc/dockerd.json makes it not start.
I get

Nov 25 04:51:41 cubic dockerd[31673]: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: ip6tables --wait -t nat -N DOCKER: ip6tabl
es v1.8.3 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Nov 25 04:51:41 cubic dockerd[31673]: Perhaps ip6tables or your kernel needs to be upgraded.

Am I doomed?

Got same question in my Diskstation, I'm confused

@wangliangliang2 were you able to resolve this on synology?

yep, please see in https://github.com/wangliangliang2/fix_synology_docker_ipv6

Adding
  "ipv6": true,
  "fixed-cidr-v6": "fd00:dead:beef::/48",
  "ip6tables": true,
  "experimental": true

to /var/packages/Docker/etc/dockerd.json makes it not start. I get

Nov 25 04:51:41 cubic dockerd[31673]: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: ip6tables --wait -t nat -N DOCKER: ip6tabl
es v1.8.3 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Nov 25 04:51:41 cubic dockerd[31673]: Perhaps ip6tables or your kernel needs to be upgraded.

 That doesn't sound remotely robust/safe.

Where did you get them? Did you build them yourself? If so, what is the source code/makefile? I'd much rather build them myself, perhaps on the synology itself.
In iptables_modules_list, what are the changes? Perhaps it should be a patch or a sed command rather than just replacing the file blindly?

This was also my concerns, also what would I need on synology 7?
Or is the problem gone with 7?

adding/replacing a bunch of kernel modules with unknown binaries

you can rebuild it for yourself from https://github.com/SynoCommunity/spksrc

This was also my concerns, also what would I need on synology 7?
Or is the problem gone with 7?
maybe you can read this and rebuild  iptables and ipv6 module for yourself
https://github.com/SynoCommunity/spksrc/issues/4713#issuecomment-1000017943


pkg/shelf: Implement Cookie() utilities

This issue was originally filed by<EMAIL_ADDRESS>
It would be really useful to have utilities for managing cookies (parsing cookies, setting cookies)

This issue has been moved to dart-lang/shelf#29.


chore: bdd-nh-1587055514 to 0.0.1

chore: Promote bdd-nh-1587055514 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


PYTHONPATH gets overwritten when running tests

    Hello, I am facing the same issue. On one computer it works, on another it doesn't. Both run VS Code insiders, updated daily. Both have exact same .vscode/settings.json.

one loads the .env variables correctly in integrated python (python test runnter), the other doesn't.
Any hints for debugging this?
EDIT: also installing python-dotenv does not alleviate this. I can confirm that python-dotenv works (when running pytest from commandline), but when I run the tests using the sidebar, it seems like VS Code is overwriting all env variables with some internal state, hence also resetting PYTHONPATH to "."
Originally posted by @niderhoff in https://github.com/microsoft/vscode-python/issues/6891#issuecomment-1271377925

@niderhoff Created this new issue to track the problem.

Hi, thanks for doing that. As mentioned in the initial comment, I have both systems ready (one where it is working, one where it is not) so let me know which commands I can run to extract some information from both System in order to debug the issue.

Can you provide contents of .env file in your workspace? Try debugging a Python file which prints out PYTHONPATH variable on both systems.
We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority. Thanks for understanding and the patience!

@karthiknadig This doesn't seem to be related to environments but testing itself, so re-assigning.

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.


Emulator - switching between chat tabs is really slow

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
nightly 4.1.45039 (but was also slow in previous versions)
Describe the bug
Give a clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Open a bot.
Open a chat with an endpoint.
Open another chat with endpoint.
Click on the Welcome tab.
Click back on the endpoint tab.
It can take more than 1 second for Emulator to react.

Expected behavior
The tab should load more quickly. If it is a loading problem, there should be some feedback to the user that tab is refreshing so they don't keep clicking on the tab.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I was using the Basic bot template which starts with an adaptive card.
[bug]

We know that this is related to the number of Webchat (livechat / transcript) tabs open. We have a hunch that it is due to excessive re-rendering of the Webchat component.

Another note, this seems to be exacerbated when Adaptive Cards are being rendered in WebChat.


Unit test update

List of changes:

Enums which were in NzFile are now part of core/Enums.hpp.

Suppression of NzFormat, unused file.

Rewriting of NzByteArray, now works with std::vector internally.

Unit tests with Catch 1.2.1:

Algorithm: Bug fix with unsigned.
BoundingVolume: Bug fix operator== with infinite bounding volumes.
EulerAngles: Simplification of conversion to quaternion.
Frustum: Add sign '-' for the fourth component of plane (see plane).
Matrix4: Add of coefficient 2 in perspective matrix (see plane).
Plane:

Planes are now ax+by+cz=d. Because (0, 1, 0) at distance 1 is the plane Y = 1.
Add operator == and !=.
As the matrix was changed with coefficient 2 in w component, the SkyboxBackground'shader has to be changed to force the depth to be 1.

Quaternion: Bug fix: missing 'x'.
Ray:

Add operator == and !=.
Correction for intersection Ray-OBB.

Vector2: Add Unit() vector.

Debug axes.

Indentation.

Minor changes.

Thanks a lot, I will merge this into master and merge master into NDK.

I didn't know how to create a file to make compile the tests, could you do it ?

I will check that, I'm resolving the conflicts atm.


Upgrading ballerina to v8.0

Purpose
Upgrading ballerina to v8.0

Codecov Report
Patch coverage has no change and project coverage change: -3.48% :warning:

Comparison is base (039a382) 25.56% compared to head (45e280e) 22.08%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1767      +/-   ##
==========================================
- Coverage   25.56%   22.08%   -3.48%
==========================================
  Files         131       55      -76
  Lines       15163    10089    -5074
  Branches     2561        0    -2561
==========================================
- Hits         3876     2228    -1648
+ Misses      11156     7730    -3426
  Partials      131      131

Flag
Coverage Δ

adapter
25.54% <ø> (ø)

common-controller
1.11% <ø> (ø)

config-deployer-service
?

idp-domain-service
?

router
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 76 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update the status of the module in NPM

I think we should delete these two :

@rebaiahmed/tunpopulation
tunpopulation

Because the name is wrong and we actually have the same module, but with different names and this is not good in user side.
@Rebaiahmed  !!


cannot get data when using some features implemented in iotdb session

I have implemented that change default DB of edgeX project as IoTDB working on docker,
but there are some issues when use GET method when I call it on edgeX.
IoTDB session is connected successfully with DB client of the project.
Description
I'm following printDataSet0() and insertRecord() implemented in session_example.go.
Although Session.InsertRecord() works successfully that returns no error and I can check input data in IoTDB (referenced here for testing it work as typing SQL in IoTDB), cannot retrieve the data in edgeX when use Session.ExecuteQueryStatement(sql) perfectly. More details, ExecuteQueryStatement() returns SessionDataSet without error but when use SessionDataSet.GetText(), it returns "" always but not input data saved in IoTDB.
Use InsertRecord() in AddEvent(): code here
and GetText() in ChangeTypeToEvent(): code here
execute SQL in IoTDB:

empty string returned from IoTDB in edgeX API response:
(deviceId: root.sg27, measurement: deviceName, value: root)

While I use getText(), make isNull() in the function not working because returns false:
// client/rpcdataset.go
func (s *IoTDBRpcDataSet) getText(columnName string) string {
	if s.closed {
		return ""
	}
	if columnName == TimestampColumnName {
		return time.Unix(0, bytesToInt64(s.time)*1000000).Format(time.RFC3339)
	}

	columnIndex := s.getColumnIndex(columnName)
	if columnIndex < 0 || int(columnIndex) >= len(s.values) || { //s.isNull(int(columnIndex), s.rowsIndex-1) {
		s.lastReadWasNull = true
		return ""
	}
	s.lastReadWasNull = false
	return s.getString(int(columnIndex), s.columnTypeDeduplicatedList[columnIndex])
}

len(s.values) is updated (equal with expected value) but it has no value
SessionDataSet.GetColumnCount() is updated too and equals with expected value
But if isNull() is activated, then error occured: runtime error: negative shift amount

When the error is ocurred, isNull()'s parameters columnIndex=0, rowsIndex=0
So in isNull(), parameter rowsIndex has -1 which makes the error because shift operation must be used with non-negative value

Question

(edited) I think columnIndex and rowsIndex must be updated whenever POST event occurs. But rowsIndex is not.
Is there any reason why not update it?
In IoTDB, whenever get data from database if encounters SQL query, it calls ExecuteQueryStatement()?
(or ExecuteStatement() or ExecuteRawDataQuery() whatever)

If you think reason is different, please share.
Environment

IoTDB: 1.0.0-standalone (on docker)
OS: Ubuntu 22.04.1 LTS

I omitted some codes that must be called SessionDataSet.Next() before calling SessionDataSet.GetText() (or SessionDataSet.GetValue(), ...).
After adding some codes in session_example.go, GetText() and GetValue() return expected value.


Identity survey should start with Do You Currently Use

All due respect, but I'm not sure who Microsoft and/or .NET Foundation are trying to fool with this one. The survey literally ends with Do you currently use ASP.NET Core Identity. The survey should begin with that. All the rest of that leading up to that is a marketing attempt at phishing for proprietary information.
At any rate, on with the substantive feedback. Chiefly, a couple of critical, I would argue academic, decisions are baked in to the "default" offering:

First, that I know of, the default Id is assumed to be Int32, I think. What happens when you want to key on something more robust, like a Uuid or Guid? Mainly this one is very academic, IMO. It's fine for the academic demo or illustrative exercise, but Int32 is impractical in most vertical, real-world applications.

Second, assumes a strong dependency on Entity Framework is assumed out of the box with the "front-facing" packages. If I wanted to defer to another service, repository, database, etc... ? Speaking as an entrepreneur and architect, I do not want to be roped into this strong of a dependency at this level; I want to leave that point of decision open to as late in the stage as can possibly be managed, and then I want the choice which market offering to run with, which may change depending on the service requirements that I have to meet.

I've broached this topic on several occasions during ASP.NET stand up and received anywhere from peripheral acknowledgement, to downright denial, if dismissal, from the Microsoft and/or .NET Foundation folks. To be fair, the stand up is neither the time nor the place to go into that much depth on the subject, but I am left with the impression the business models are in tension, at best, when there is no substantive feedback at all following up.
It is possible to re-work those elements with some effort, but it is not trivial. Trust me, I've done it before, even extending through my Claims API. But it's no joke ripping those dependencies out of, say, a default MVC application with "login support", for instance.
I am posting here for starters after being forwarded from the "announcements" forum. If there's an Identity repository, I'll be glad to post there instead.

If you'd gone through the survey you'd see this is the first page. The initial questions are standard across all of our devdiv customer surveys to give us comparison points. Choosing Yes for the Do You Currently Use ASP.NET Identity then leads to further questions where you can express concerns such as those above. As for followup on standups, as we don't take any follow up methods in standup (GDPR would make a meal of you giving out email addresses in stand up chat), the survey is your best chance to make your voice heard.

Do you have a set of those questions and their form of response so that I can evaluate whether it is worthwhile spending the calories there? Thanks!


Admin's Settings page not working

When I try to access the /settings page, I get a recursion error, with the first user (with admin rights). I tried it in master, devel, v0.13.0rc and v.0.12.0 and the same error happened in all of them. Can't get through this only with the basic installation proccess. Any idea?
Nothing show up in the server log.
Live test:
http://trindade.meteor.com
user/pass: alan/12345678

Are you using Firefox? This is probably this error: https://github.com/aldeed/meteor-autoform/issues/333
(btw, try to avoid pasting super-long blocks of texts, if you need to you can link to a gist instead :)

Exactly this. Long discussion but it seems that the fix is coming up. Thanks Sacha! Great work with telescope!


[Snyk] Upgrade @types/node from 18.16.19 to 18.17.12

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @types/node from 18.16.19 to 18.17.12.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 14 versions ahead of your current version.
The recommended version was released 23 days ago, on 2023-08-28.

Release notes

Package name: @types/node

18.17.12 - 2023-08-28

18.17.11 - 2023-08-24

18.17.10 - 2023-08-24

18.17.9 - 2023-08-23

18.17.8 - 2023-08-22

18.17.7 - 2023-08-22

18.17.6 - 2023-08-18

18.17.5 - 2023-08-11

18.17.4 - 2023-08-08

18.17.3 - 2023-08-05

18.17.2 - 2023-08-04

18.17.1 - 2023-07-25

18.17.0 - 2023-07-22

18.16.20 - 2023-07-21

18.16.19 - 2023-06-30

    from @types/node GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

fixed the package-lock.json issue for Safair browser


feat: Add an API to get env values for superusers

This PR adds the following API:
/api/v1/admin/env — Responds with the names and values of all environment variables currently configured, that are allowed for configuration from the UI. Some variables will be missing from this, ones that are not allowed to be edited from the configuration UI.
Doesn't take any query params. Only usable by the superuser.
Also added a isSuperUser boolean field to the response of api/v1/users/me, that will indicate whether the current user is a superuser or not.

Hey @mohanarpit, if the rest looks okay, can you please approve? Thanks!


Crash with 2 different versions of sharp running on Alpine Linux inside home-assistant inside a proxmox VM

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
<EMAIL_ADDRESS>/config/node-red
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
Seems that I do not (latest is 0.27.2) and I in fact have two sharp versions.
What are the steps to reproduce?
Just loading a image from any of my security cameras triggers a core dump
In my case all I have to do is to load the attached image and try any operation on it: draw on it, resize or save to a different location. Everything triggers a crash + memory dump
What is the expected behaviour?
To not crash and perform the operations on the image
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
I'll try to do it later today
Are you able to provide a sample image that helps explain the problem?
Yes, find it attached

What is the output of running npx envinfo --binaries --system?
npx: installed 1 in 4.142s
System:
OS: Linux 5.4 Alpine Linux
CPU: (2) x64 Common KVM processor
Memory: 105.91 MB / 3.74 GB
Container: Yes
Shell: 1.32.1 - /bin/ash
Binaries:
Node: 14.15.5 - /usr/bin/node
npm: 6.14.11 - /usr/bin/npm
But I can provide details about the environment. The code runs inside a docker container that runs inside home-assistant that runs inside a proxmox VM.

What is the output of running npx envinfo --binaries --system?

I'll try to do add it later (don't have access RN to the device)
The code runs inside a docker container that runs inside home-assistant that runs inside a proxmox VM.

The output of this command run inside the container will help.
Please ensure installation was for the relevant platform - see https://sharp.pixelplumbing.com/install#common-problems

@danielo515 Were you able to make any progress with this?

@danielo515 Were you able to make any progress with this?

Sorry I forgot about this (I have been away from my homelab for a while anyway). I just updated the issue with the NPX env info

Thanks for the update, I spotted you posted at https://github.com/iceglow/node-red-contrib-deepstack/issues/3 too.
Prebuilt binaries are provided for musl-based Linux on x64, but it's possible two different versions of these are causing a conflict. Please can you upgrade/downgrade the versions of sharp so they match.
The next release of sharp, v0.28.0, will provide statically-linked binaries that should remove almost all possibility of this class of problem from occurring. Please subscribe to https://github.com/lovell/sharp/issues/2604 for updates.

I am not sure that the conflicting version is library's fault. I installed it manually to test the problem with my own code but on the same environment. Do you think that removing it will fix the problem? I will try and comment again.

I just uninstalled the version I installed, tried the same example and the same occurs:

The code of the outline function is here:
https://github.com/iceglow/node-red-contrib-deepstack/blob/7ac06c33bb726727323fbd1a8957aa6651e39551/image-manipulation.js
const outline = function(buffer, outlines, outlineColor) {
        return sharp(buffer).metadata().then(meta => {
            let svgOverlay = '';

            outlines.forEach(o => {
                svgOverlay += '<rect x="' + o.x + '" y="' + o.y + '" width="' + o.width + '" height="' + o.height + '" ' +
                    'style="fill:none;stroke:' + outlineColor + ';stroke-width:3;" />';
            });
            return '<svg width="' + meta.width + '" height="' + meta.height + '">' + svgOverlay + '</svg>';
        }).then(overlay => {
            return sharp(buffer).composite([{
                input: Buffer.from(overlay),
                blend: 'over'
            }]).toBuffer();
        });
    }

I can confirm that upgrading sharp to the latest version (0.28) inside the library this problem dissapears, so now it is the task of the extension to update to latest sharp.
Thank you very much for your help on this.


Abstract text needs to start on same page as title

The page numbering for the abstract and when the abstract actually starts is off.

Ah, the issue was that I used \include{} to import my abstract text instead of \input{}. Closing.


Reading from Stream

I'm not sure if this is the right place to report the issue. I am using this library using the C extension with PHP. Using the library without the PHP extension allows me to read the database from a stream (i use google cloud storage for dynamic files). When i use the C extension, i am no longer able to read the file from a stream. Is this a known issue?

This issue should be moved to the MaxMind DB Reader PHP repo. The fact that non-files work with the pure PHP version is accidental. If we were to implement such functionality in the C extension, it would be done in the C extension rather than libmaxminddb.


Align/Update all the component naming in Figma New/Next/Light/Dark

Update names of components in Figma Component library

Mocca Goal: complete components by EOS and start "batched" review

Red Eye Goal: by EOS both sprints will have aligned naming conventions.
Aligned Component structure for migration plan


CLOUDSTACK-8979: add virtio support for CentOS/RHEL 7 on KVM

@borisroman @NuxRo could you test it?

(1) make the change on mysql
(2) create a template (CentOS 7) if you do not have one.
(3) create an instance with the CentOS 7 template on KVM.
(4) check the dumpxml of instance, to see if it uses virtio on disk/network

@ustcweizhou I confirmed it working. Could you please force push your last commit so Jenkins will run again?

Ping @remibergsma @wilderrodrigues @karuturi @bhaisaab

@remibergsma All green now! LGTM :+1:


[feature] Add "Git: Open Repository on the Broswer" command.

Feature Request
After users push the local repo to its remote one, they might want to check its outcome. Therefore, it would be better to provide a command that can "open the remote repository on the browser from VSCode directly".
BTW, after we initialize the local repo, commit the changes, and then publish the default branch to the remote one, I noticed that there will be a pop-up message on the bottom-right corner. We can then use the provided botton "Open on GitHub" to open the remote one. Can VSCode provide this button all the time? Or provide a command to do so?
Version and Platform

VS Code Version: 1.73.1
OS Version: Windows 11

Screenshots

Recently, I found that this feature is already implemented by the following VSCode plugin:

Open in GitHub, Bitbucket, Gitlab, VisualStudio.com !

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


SqlServerMaxDop / DynamicAlloc  MaxDop setting guidelines updated

Hello,
The guidelines regarding to the maxdop setting has been updated for SQL Server 2016 and over
The calculation when using DynamicAlloc should be reviewed.
Regards.
Configure the max degree of parallelism Server Configuration Option
Starting with SQL Server 2016 (13.x), use the following guidelines when you configure the max_ degree of parallelism server configuration value:

Server with single NUMA node | Less than or equal to 8 logical processors | Keep MAXDOP at or below # of logical processors

Server with single NUMA node | Greater than 8 logical processors | Keep MAXDOP at 8

Server with multiple NUMA nodes | Less than or equal to 16 logical processors per NUMA node | Keep MAXDOP at or below # of logical processors per NUMA node

Server with multiple NUMA nodes | Greater than 16 logical processors per NUMA node | Keep MAXDOP at half the number of logical processors per NUMA node with a MAX value of 16_

Thanks for that. Looks like we need to support different schemes depending of SQL version. Love to review a PR for this change.


Pull loot under a certain value

For example, I have the roll table only pull loot valued at 50gp and under.  This keeps my level 1s from getting uber loot.

I think this can be achieved by having different tables based on group level, would be too specific for an implementation that is generic enough.
In the example treasure loot tables by CR included with the module I use a master table where the "roll formula" is the CR level, used as an index to roll on the appropriate table by cr rating


Translate file "redirects.md"

Notes for contributors, the file can be translated by being aware of and understanding the file you are translating, you must have an understanding of the techniques and the explanation provided by the documentation file, and it must be in Standard Arabic, and the technical terms should be translated as follows:
For example, المتحكمات with the term next to it in English (Controllers)
For example, التهجير and next to it the term in English (Migrations)
And so on
Thank you for your contribution

I'll take this one

Ok, thanks for your contribution


Realtime - how long is a visitor considered "current"?

Hi! Awesome stuff with the new release. Love it.  I am confused by the visitors counter. For example now on a low traffic site I see from the realtime logs that the last two visits were at 10:18 and 10:19. It's 10:35 now and the visitors count still says 2.
How long is a user considered "Current"?
Thanks for the awesome project!

I forgot to mention that the current visitors counter on the normal dashboard gives a different number than that on the realtime view, and seems more realistic/accurate.

I think I found it - REALTIME_RANGE seems to be set to 30 minutes. Isn't it a bit long? Would it be possible to reduce it and have the client send a ping request every minute or so to signal that the client is still active? I wish I could help but I am not too familiar with JS and the framework in use :(
Thanks!

Current visitor count is visitors in the last 5 minutes. In the realtime dashboard, it's visitors in the selected time range, which now is 30 minutes. Next update you will be able to change the time range for realtime.

Awesome, thanks!


Hello, can you confirm that the torchvision version is indeed 0.9.2?

Hello, can you confirm that the torchvision version is indeed 0.9.2?

Sorry for the very late reply. Yes, I used Torchvision 0.9.2.

    Thanks so much

<EMAIL_ADDRESS>

---- Replied Message ----

     From

        Yongshuo<EMAIL_ADDRESS>

     Date

    2/16/2024 14:21

     To

<EMAIL_ADDRESS>

     Cc

<EMAIL_ADDRESS>        ,

<EMAIL_ADDRESS>

     Subject

          Re: [ys-zong/conST] Hello, can you confirm that the torchvision version is indeed 0.9.2? (Issue #6)

Sorry for the very late reply. Yes, I used Torchvision 0.9.2.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Zcash is not supported yet

Adding this so it can be tracked...
In order to support the Zcash blockchain we need to generate a founder's reward transaction in discovered blocks.

These are the relevant checks from the Zcash codebase.
/src/chainparams.cpp
// Block height must be >0 and <=last founders reward block height
// Index variable i ranges from 0 - (vFoundersRewardAddress.size()-1)
std::string CChainParams::GetFoundersRewardAddressAtHeight(int nHeight) const {
    int maxHeight = consensus.GetLastFoundersRewardBlockHeight();
    assert(nHeight > 0 && nHeight <= maxHeight);

    size_t addressChangeInterval = (maxHeight + vFoundersRewardAddress.size()) / vFoundersRewardAddress.size();
    size_t i = nHeight / addressChangeInterval;
    return vFoundersRewardAddress[i];
}

// Block height must be >0 and <=last founders reward block height
// The founders reward address is expected to be a multisig (P2SH) address
CScript CChainParams::GetFoundersRewardScriptAtHeight(int nHeight) const {
    assert(nHeight > 0 && nHeight <= consensus.GetLastFoundersRewardBlockHeight());

    CBitcoinAddress address(GetFoundersRewardAddressAtHeight(nHeight).c_str());
    assert(address.IsValid());
    assert(address.IsScript());
    CScriptID scriptID = get<CScriptID>(address.Get()); // Get() returns a boost variant
    CScript script = CScript() << OP_HASH160 << ToByteVector(scriptID) << OP_EQUAL;
    return script;
}

/src/main.cpp
// Coinbase transaction must include an output sending 20% of
    // the block reward to a founders reward script, until the last founders
    // reward block is reached, with exception of the genesis block.
    // The last founders reward block is defined as the block just before the
    // first subsidy halving block, which occurs at halving_interval + slow_start_shift
    if ((nHeight > 0) && (nHeight <= consensusParams.GetLastFoundersRewardBlockHeight())) {
        bool found = false;

        BOOST_FOREACH(const CTxOut& output, block.vtx[0].vout) {
            if (output.scriptPubKey == Params().GetFoundersRewardScriptAtHeight(nHeight)) {
                if (output.nValue == (GetBlockSubsidy(nHeight, consensusParams) / 5)) {
                    found = true;
                    break;
                }
            }
        }

        if (!found) {
            return state.DoS(100, error("%s: founders reward missing", __func__), REJECT_INVALID, "cb-no-founders-reward");
        }
    }

The solution is ready for testing:
https://github.com/joshuayabut/z-nomp/commit/ce38771fedefecb5152d8aa84590b9e54633c43f
https://github.com/joshuayabut/node-stratum-pool/commit/1e83fc5ef4e3c9dbae6f4f460500a3e133a01d4f

i was about to re-install z-nomp and i'm targeting zcash ... so to test i just follow the normal steps? or should do something for the above 2 mentioned files? (apologies for the noob question ... fairly new to using git updates / merges / and all of it)

Hello, I've just merged it into master so you'll just need to run:
git pull
npm update
npm install

then you can run Z-NOMP as normal with npm start.

are inserted
2016-12-21 11:54:51 [Pool]      [zcash] (Thread 1) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:52 [Pool]      [zcash] (Thread 5) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:52 [Pool]      [zcash] (Thread 4) Share accepted at diff 5/5.67942917 by coolsd.1 [::ffff:<IP_ADDRESS>]
2016-12-21 11:54:52 [MySQL]     [zcash] Share inserted
2016-12-21 11:54:52 [Pool]      [zcash] (Thread 5) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:53 [Pool]      [zcash] (Thread 4) Share accepted at diff 5/6.73969007 by coolsd.1 [::ffff:<IP_ADDRESS>]
2016-12-21 11:54:53 [MySQL]     [zcash] Share inserted
2016-12-21 11:54:53 [Pool]      [zcash] (Thread 1) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:53 [Pool]      [zcash] (Thread 2) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:53 [Pool]      [zcash] (Thread 7) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:53 [Pool]      [zcash] (Thread 8) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:53 [Pool]      [zcash] (Thread 7) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:53 [Pool]      [zcash] (Thread 5) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}

2016-12-21 11:55:16 [Master]    [PoolSpawner] Fork 6 died, spawning replacement worker...
/root/nomp4/node_modules/stratum-pool/lib/pool.js:577
result.response.miner = subsidy.miner;
^
TypeError: Cannot read property 'miner' of undefined
at /root/nomp4/node_modules/stratum-pool/lib/pool.js:577:56
at itemFinished (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/nomp4/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

zcash.json
{
"enabled": true,
"coin": "zcash.json",
"address": "t1NB1GVXeHVHZzKgCx6oDhFBLPi6X4KWAxE",
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.",

"zAddress": "zcZGfifF1j7ankQVJh6z3oNEgdZBZuembTbE3t6N1PZzed9yL1tt2q49hx5FX6c5NRBbvKYagkb3kCvAkUgvGapMBG9XLYn",
"_comment_zAddress": "a private address used to send coins to tAddress.",

"tAddress": "t1WmGj3XCJPoiqgaFPQyB6dMejMJYHtpoz5",
"_comment_tAddress": "transparent address used to send payments",

"walletInterval": 10,

"rewardRecipients": {
},

"paymentProcessing": {
    "enabled": false,
    "paymentInterval": 20,
    "minimumPayment": 70,
    "daemon": {
        "host": "<IP_ADDRESS>",
        "port": 8234,
        "user": "usr",
        "password": "xxxxxxxxxxxxxxx"
    }
},

"ports": {
    "13034": {
        "diff": 0.5,
        "varDiff": {
            "minDiff": 0.5,
            "maxDiff": 16,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
        }
    },
    "13035": {
        "diff": 5,
        "varDiff": {
            "minDiff": 5,
            "maxDiff": 16,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
        }
    }
},

"daemons": [
    {
        "host": "<IP_ADDRESS>",
        "port": 8234,
        "user": "usr",
        "password": "xxxxxxxxxxxxxxxxxxx"
    }
],

"p2p": {
    "enabled": false,
    "host": "<IP_ADDRESS>",
    "port": 19333,
    "disableTransactions": true
},

"mposMode": {
    "enabled": true,
    "host": "<IP_ADDRESS>",
    "port": 3306,
    "user": "root",
    "password": "xxxxx",
    "database": "zec",
    "checkPassword": false,
    "autoCreateWorker": true
}

}

What this is saying is that it can't read the getblocktemplate and getblocksubsidy result from the zcash daemon. Are you sure the password is correct and you have the right permissions?
2016-12-21 11:54:51 [Pool] [zcash] (Thread 1) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:52 [Pool] [zcash] (Thread 5) getblocktemplate call failed for daemon instance 0 with error {"type":"request error","message":"read ECONNRESET"}
2016-12-21 11:54:52 [Pool] [zcash] (Thread 4) Share accepted at diff 5/5.67942917 by coolsd.1 [::ffff:<IP_ADDRESS>]

2016-12-21 11:55:16 [Master] [PoolSpawner] Fork 6 died, spawning replacement worker...
/root/nomp4/node_modules/stratum-pool/lib/pool.js:577
result.response.miner = subsidy.miner;

[

](url)

root@ubuntu:~/nomp4# npm start

<EMAIL_ADDRESS>start /root/nomp4
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js

^C
root@ubuntu:~/nomp4# 2016-12-21 17:04:16 [POSIX]        [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
2016-12-21 17:04:16 [Master]    [CLI] CLI listening on port 17118
^C
root@ubuntu:~/nomp4# npm start

<EMAIL_ADDRESS>start /root/nomp4
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js

2016-12-21 17:04:21 [POSIX]     [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
2016-12-21 17:04:21 [Master]    [CLI] CLI listening on port 17118
2016-12-21 17:04:22 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
/root/nomp4/node_modules/bs58check/index.js:46
if (!payload) throw new Error('Invalid checksum')
^
Error: Invalid checksum
at Object.decode (/root/nomp4/node_modules/bs58check/index.js:46:23)
at Object.fromBase58Check (/root/nomp4/node_modules/bitcoinjs-lib-zcash/src/address.js:8:27)
at Object.exports.createGeneration (/root/nomp4/node_modules/stratum-pool/lib/transactions.js:83:46)
at new BlockTemplate (/root/nomp4/node_modules/stratum-pool/lib/blockTemplate.js:35:35)
at JobManager.processTemplate (/root/nomp4/node_modules/stratum-pool/lib/jobManager.js:123:32)
at /root/nomp4/node_modules/stratum-pool/lib/pool.js:579:66
at itemFinished (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/nomp4/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:95:17)
2016-12-21 17:04:22 [Master]    [PoolSpawner] Fork 0 died, spawning replacement worker...
2016-12-21 17:04:22 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
/root/nomp4/node_modules/bs58check/index.js:46
if (!payload) throw new Error('Invalid checksum')
^
Error: Invalid checksum
at Object.decode (/root/nomp4/node_modules/bs58check/index.js:46:23)
at Object.fromBase58Check (/root/nomp4/node_modules/bitcoinjs-lib-zcash/src/address.js:8:27)
at Object.exports.createGeneration (/root/nomp4/node_modules/stratum-pool/lib/transactions.js:83:46)
at new BlockTemplate (/root/nomp4/node_modules/stratum-pool/lib/blockTemplate.js:35:35)
at JobManager.processTemplate (/root/nomp4/node_modules/stratum-pool/lib/jobManager.js:123:32)
at /root/nomp4/node_modules/stratum-pool/lib/pool.js:579:66
at itemFinished (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:155:36)
at /root/nomp4/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/root/nomp4/node_modules/stratum-pool/lib/daemon.js:95:17)
2016-12-21 17:04:22 [Master]    [PoolSpawner] Fork 1 died, spawning replacement worker...


Trigger CI release process for new mist(-ui)-react versions

We want the CI to build a new release draft whenever a new mist(-ui)-react version is released to:
https://github.com/ethereum/mist-ui-react/releases
After the build is tested and changed from draft to release this should NOT trigger electron-builder's auto-updater because electron-app-updater will take care of updating installed versions.

1st try: using Create Release webhook pointing to the circleCI new build URL form mist-shell
❌ It failed due to the default POST parameters Github sends (and it's not configurable).
2nd try: create a CircleCI job that will only run when a tag is created, and calls mist-shell CircleCI endpoint to trigger a build from master branch.

PR available here: https://github.com/ethereum/mist-ui-react/pull/3