[Suggestion] Create new logo image in SVG

I'm suggesting to create a new logo for the extension in SVG or convert the existing one to SVG.
Thoughts?

I agree with you.

I don't know if svg is supported as extension for the logo. I'm in mobile now and can't look for this at the moment.
Regarding the icon, make your proposal and we'll see. :wink:

It's supported. I tested it.

I already have a design idea for the new logo. I'll present it when it's ready.

Here are some ideas I have for a new logo.
Concept 1

Concept 2

Concept 3

Concept 4

Concept 5

Notes: 1 and 5 are not SVG friendly as they create a big file. If chosen they can only be used in PNG.

I like the former.

For me the first one is the one I like most!

I like it too (no wonder it's #1). The only problem is that the SVG version is a 13MB file. Maybe I make an exception for this one and embed the background as an image to make the file size smaller.

I don't think it's an issue here the use of PNG. The icon is only used in the store as far as I know.

You are right and the size has to be maximum 128x128. The idea of changing the logo was to use an SVG one.

An 140KB SVG version

@JimiC,  I think the link doesn't work.

Intentionally. Waiting for the CDN to update to the correct one. Once it's done I'll update the link.

There you go.

I was just testing the new icon when I've noticed how it looks into the extensions sidebar. As you can see it looses all definition. I think we cannot do much about this :(

If you don't like it, revert it.

The thing is I like it. But I don't like the way it looks when in reduced mode. Let's give it a try.

It's because the background is PNG and as know, those doesn't scale well.


[Bug]: TypeError thrown by SQLConnector child class generated by cookie cutter

Singer SDK Version
0.10.0
Python Version
3.8
Bug scope
Taps (catalog, state, stream maps, etc.)
Operating System
macOS
Description
Working on tap-snowflake I have run into an issue whereby the default to_jsonschema_type static method on the generated SnowflakeConnector class, which simply calls super().to_jsonschema_type(...) raises a TypeError on super(). Removing the method on the child resolves the issue, however the child method is only safe to remove if no custom mappings are required.
Taking a look online, I found this SO answer that seems to match this case.
Code
Traceback (most recent call last):
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/bin/tap-snowflake", line 8, in <module>
    sys.exit(TapSnowflake.cli())
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 489, in cli
    tap = cls(  # type: ignore  # Ignore 'type not callable'
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 540, in __init__
    super().__init__(
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 95, in __init__
    self.mapper.register_raw_streams_from_catalog(self.catalog)
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 157, in catalog
    self._catalog = self.input_catalog or self._singer_catalog
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 249, in _singer_catalog
    for stream in self.streams.values()
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 120, in streams
    for stream in self.load_streams():
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 281, in load_streams
    for stream in self.discover_streams():
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 576, in discover_streams
    for catalog_entry in self.catalog_dict["streams"]:
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 564, in catalog_dict
    result["streams"].extend(connector.discover_catalog_entries())
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/streams/sql.py", line 438, in discover_catalog_entries
    catalog_entry = self.discover_catalog_entry(
  File "/Users/kp/Projects/singer/tap-snowflake/.meltano/extractors/tap-snowflake/venv/lib/python3.8/site-packages/singer_sdk/streams/sql.py", line 379, in discover_catalog_entry
    jsonschema_type: dict = self.to_jsonschema_type(
  File "/Users/kp/Projects/singer/tap-snowflake/tap_snowflake/client.py", line 39, in to_jsonschema_type
    return super().to_jsonschema_type(sql_type)
TypeError: super(type, obj): obj must be an instance or subtype of type

I don't know if this is proper python way of dealing with the issue but I have been changing the call to return SQLConnector.to_jsonschema_type(sql_type) and it seem to work well.

Thanks @BuzzCutNorman that is super helpful! Given that the method is static, I don't see why using the plain class directly, in stead of via the super() factory, would be in any way improper. If @edgarrmondragon or anyone else from @meltano/engineering concur I will raise a PR to change these references in the cookiecutters 🙂

@kgpayne yeah, calling the static on the class itself sounds good. Go for it 😄

Sweet glad to hear that is a possible solution.  Following the links in the stackoverflow issue given earlier I was trying the __init__ solution mentioned in this blog post Another super() wrinkle – raising TypeError and was not able to quickly find a combination that resolved the issue like it did for the author.

@kgpayne yeah, calling the static on the class itself sounds good. Go for it 😄

👍


Failed to load list of diff files

Clicked init
Added one file to .gitignore
Clicked on 'Show History' icon.
Fatal error popped up.

Brackets 1.2.0-15697 (mac), Git 2.2.1 & Brackets-Git 0.14.19
Failed to load list of diff files
Error: fatal: ambiguous argument '978f3f22e1d74d244123cd739c8e977c8eb6c454^..978f3f22e1d74d244123cd739c8e977c8eb6c454': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

call: git diff --no-ext-diff --name-only 978f3f22e1d74d244123cd739c8e977c8eb6c454^..978f3f22e1d74d244123cd739c8e977c8eb6c454
Error: fatal: ambiguous argument '978f3f22e1d74d244123cd739c8e977c8eb6c454^..978f3f22e1d74d244123cd739c8e977c8eb6c454': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
    at Object.exports.toError (file:///Users/jmp/Library/Application%20Support/Brackets/extensions/user/zaggino.brackets-git/src/ErrorHandler.js:162:19)
    at NodeConnection.<anonymous> (file:///Users/jmp/Library/Application%20Support/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:176:44)
    at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:26911)
    at Object.k.fireWith (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:27724)
    at NodeConnection._receive (/utils/NodeConnection.js:492:34)

Sorry. Made a mistake above. The fatal error did not pop up when I clicked the 'Show History' icon. It pops up if I click on the actual 'Initial commit' line in the window.

That's an extension bug, from and to can't be the same, will look into fixing it for next version. Once you do more commits, it should be ok.

Sorry, that's my fault caused by https://github.com/zaggino/brackets-git/pull/975/files.
@zaggino From and to aren't the same -- from is commit^ (notice the ^) and to is commit.  Thanks for the quick reply.
Jim

Marcel Gerber<EMAIL_ADDRESS>April 6, 2015 at 1:55 PM
Sorry, that's my fault caused by
https://github.com/zaggino/brackets-git/pull/975/files.
@zaggino https://github.com/zaggino From and to aren't the same --
from is |commit^| (notice the |^|) and to is |commit|. It's just that,
as |commit| is the first commit in the repo/branch, there's no such
thing as |commit^|
—
Reply to this email directly or view it on GitHub
https://github.com/zaggino/brackets-git/issues/987#issuecomment-90175192.

Makes perfect sense. Thanks Martin.
Jim

Martin Zagora<EMAIL_ADDRESS>April 6, 2015 at 8:52 AM
That's an extension bug, |from| and |to| can't be the same, will look
into fixing it for next version. Once you do more commits, it should
be ok.
—
Reply to this email directly or view it on GitHub
https://github.com/zaggino/brackets-git/issues/987#issuecomment-90051070.

@zaggino I can't say for sure as I've only done little testing, but git diff-tree -p -m hash seems to be the right thing to do then.

Thanks @MarcelGerber , I'll look into this

Fixed in version 0.14.21, not able to update extension registry right now, but available through https://github.com/zaggino/brackets-npm-registry

@zaggino Your fix is definitely not the correct one -- that's what I got for Brackets' initial commit (adobe/brackets@637d7f):

Also, you should handle git difftool the same way you do with git diff

Strange, it worked for one of my repos that tested it with. Will look into it again and make sure I test it on Brackets repo.

Fixed in #989


error appears after update in production

It's been resolved by restart.. but might need to have better error messages..


Reset Stepzilla in React in modal

I have implemented StepZIlla in React, and in a modal component. Everything works well except for the fact that the StepZilla wizard doesn't begin from Step 0 after I open the modal, proceed a few steps further, close and reopen the modal. Yes, the "startAtStep={0}" is present in the configuration. Any guidance would be appreciated. I need the modal to open up StepZilla at Step 0 always .

You could have it use the jumpToStep() utility before the modal is displayed to have it start at 0 again.

closing for inactivity


doTransition does not allow updating fields

The Jira REST API allows you to update fields as part of a transition (see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post).
But the "doTransition" method does not expose this.
For most cases this is not a problem, you can just edit the issue.
But my Jira instance is configured so that the "Resolution" field is not modifiable when editing the issue, and it must be set as part of the transition to "Resolved" or "Closed" (it is mandatory in the UI screen for the transition, with a default value preselected).
So if I use "doTransition" to transition to "Resolved" or "Closed", the resolution will always be set to its default value "Fixed", and I cannot modify it anymore.
Calling the REST API directly with the following body allows me to set the resolution as part of the transition:
{
  "transition": {
   "id": "491"
  },
  "fields": {
    "resolution": {
        "name": "Won't Fix"
      }
  }
}

Thanks again for your issue and pull request, I added a generic type for the fields attribute and you can now perform, for example, the resolution update while doing a transition using the following code:
IssueTransition<Fields> closeTransition = IssueTransition.fromId("1234");
closeTransition.getFields().setResolution(Resolution.fromName("Won't Fix"));
client.getIssueApi().doTransition(issueId, closeTransition).join();

In case you have specific custom fields to also edit, it can be done as the example below:
CompanyFields fields = new CompanyFields();
fields.setResolution(Resolution.fromName("Won't Fix"));
fields.setYourCustomField("Your Custom Value");

IssueTransition<CompanyFields> closeTransition = new IssueTransition<>();
closeTransition.setTransition(Transition.fromId("1234"));
closeTransition.setFields(fields);

client.getIssueApi().doTransition(issueId, closeTransition).get();

The package is released in Maven Central but it will take some hours to be fully synchronized and usable.

Thanks for the quick reaction and release ! It works well for me.
Good point on the generic type for fields. I'm using this feature for some of our custom fields, but I didn't need to set those fields for a transition, so I hadn't thought about it for my PR.


Binning bug

When we bin the data there appears to be a fitting issue. This needs to be explored thoroughly!

Ok it was just because I wasnt passing the argument to the new fit_calc` function!


GetAssetDetails - Unexpected character encountered while parsing value

Describe the bug
When trying to retrieve details by some coin like wbtc then get the error.
To Reproduce
var client = new CoinGeckoRestClient();
var response = await client.Api.GetAssetDetailsAsync("wbtc");

Expected behavior
no errors
Debug logging
Deserialize JsonReaderException: Unexpected character encountered while parsing value: {. Path 'market_data.total_value_locked', line 1, position 26513., Path: market_data.total_value_locked, LineNumber: 1, LinePosition: 26513

wbtc doesn't seem to be a valid value for that call, which is also what the error result is when I try it. Could you double check that?

the same for matic-network
Deserialize JsonReaderException: Unexpected character encountered while parsing value: {. Path 'market_data.total_value_locked', line 1, position 32663., Path: market_data.total_value_locked, LineNumber: 1, LinePosition: 32663

there is a lot of examples

I've fixed this in the latest version


Vimeo audio is playing but video is not playing sometimes. I am using the vimeoPlayer360 prefab.

Describe the issue
Steps to reproduce the problem
Unity version
Operating system

Hi @vinodhb13, thanks for reporting. Under what circumstances does this problem happen? Would be great if you could share info like Unity version, Operating system and how to reproduce the issue

Closing. Feel free to reopen if you can provide more information


Less packages

See comments after https://github.com/getumbrel/umbrel-os/pull/113#issuecomment-690375773

This saves about 5 minutes of build time.

Build type
Size

Latest Umbrel OS release
928 MB

Latest Umbrel OS master (without python2):
921 MB

After this PR
877 MB

Beautiful, thanks @AaronDewes!


Add ReactPy

Project Information

Project Name: ReactPy
Project URL: https://github.com/reactive-python/reactpy
Description: It's React, but in Python.

Fix #213
Criteria
Please answer the following questions about the project you are submitting. This will help us evaluate if the project should be included in the Awesome Django list.

Is the project new?

[ ] Yes
[x] No

How long has the project been maintained?

3.5 years

How many releases has it had if it's a library or package?

ReactPy = 93 releases.
ReactPy-Django = 24 releases.

Are you the author or are you submitting the project on behalf of a company?

[x] I am the author
[ ] I am submitting on behalf of a company
[ ] Other (please specify)

What makes it awesome?

This is a Python port of ReactJS. We tried to keep the syntax as similar to ReactJS as possible, while still being written in pure Python. All ReactJS design patterns, such as hooks, are replicated identically to their ReactJS counterparts.
Additional Information
ReactPy is a library for building user interfaces in Python without Javascript. ReactPy interfaces are made from components that look and behave similar to those found in ReactJS.
ReactPy allows you to detach from the traditional MVC architecture that Django forces upon you. This ultimately helps keep things maintainable as a project grows in size.
Additionally, ReactPy uses Django Channels for serving renders to gain significantly higher rendering performance than what Django Core can handle.
ReactPy Django exists as a separate package to provide Django compatibility as well as unique integrations with Django features.

ReactPy Core Docs: https://reactpy.dev/
ReactPy Django Docs: https://reactive-python.github.io/reactpy-django/get-started/
Discord channel: https://discord.gg/uNb5P4hA9X
GitHub Discussions: https://github.com/reactive-python/reactpy/discussions

Thank you for your contribution! I think adding them both (like you did) works.


Option for not transforming error responses

I realise I'm too late on this one, and just discovering request-promise now, but this (#86) seems like a really weird change. I'm using transform to extract part of the body of a successful API query. I can't really imagine ever wanting to apply the same function to both successful and unsuccessful queries.
Before:
        transform: function(body) {
            return body.files[Object.keys(body.files)[0]].content; // find the contents of the first file in the gist
        }

After:
        transform: function(body, response) {
            if (!(/^2/.test('' + response.statusCode))) {
                return response
            }
            return body.files[Object.keys(body.files)[0]].content; // find the contents of the first file in the gist
        }

Seems like a lot of ugly boilerplate for nothing.
Perhaps an option, transformErrors: false, to restore the previous behaviour.

Well, I have to admit that I am not aware of many different use cases for the transform option. In your case I can fully understand that this change is weird to you. Sorry.
Anyway, the change at least decoupled the implementation of the function passed to transform from the value used for the simple option. Before v3 you had to implement the transform function the same way as your "After" example if you used simple = false.
Considering the gained decoupling – which we should keep – I take your suggestion of the transformError and adapt it a little bit:

I'd call the new option transform2xxOnly with default false => Keeps v3's current behaviour
Using transform2xxOnly = true and simple = true fixes your use case – you can go back to "Before"
Using transform2xxOnly = true and simple = false, transformWithFullResponse = true would also only transform 2xx responses – the gained decoupling is preserved
Using transform2xxOnly = true and simple = false, transformWithFullResponse = false would throw an error when invoking the request because .then(function (body) { /* likely no way to know if transform happened or not */ })

What do you think?

Yeah, that looks good. I'm using simple = true.

Hi @stevage , I just released<EMAIL_ADDRESS>which implements the transform2xxOnly option. Thanks for bringing this up!

Oh, nice one :)


nix-top: init 0.3.0

I find this package useful and will make an attempt to maintain it. Fortunately someone had forked the repo before it was deleted.
This reverts commit 329081dc4b72a2b177e034b67fd14484eddf150c.
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

All feedback except the bit about installPhase has been addressed.  (I didn't know there was a formatting RFC, thanks for the heads-up.)

Commit message should follow usual conventions when adding a new package.

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

1 package built:

nix-top

commit message amended to follow conventions for a new package.


Adding Bulgarian language

Hello,
I don't have solid experience translating from English to Bulgarian. I believe it is the same for @rstankov. We however do a lot of blogging and speaking on React related topics and will love to contribute here.
@rstankov http://rstankov.com/
@krasimir http://krasimirtsonev.com/

You got it!

Thanks @tesseralis!


Update password.md

:bulb: Issue Reference
Issue:  #49
:computer: What does this address?
Doc changes to accompany #55
:pager: Implementation Details
N/A
:clipboard: Is there a test case?
N/A

Misclicked while trying to reset the branch this PR was opened against to address a git diff issue which resulted in the PR being permanently closed. PR #64 has been opened to merge these documentation updates to gh-pages-dev


Create taxonomies (#30) and initial categories

Adding global and Samoa specific taxonomies to seed file (#30)
Adding initial categories for global taxonomies
Add attribute 'tags_users' to taxonomy table

@barancw can you have a look at this please?
Also I was wondering if FactoryGirl will set the missing attributes from here?
https://github.com/dumparkltd/hr-nmrf-server/blob/seed-taxonomies-%2330/spec/factories/categories.rb#L5
If yes, we should remove description and url for categories (as I have set up most categories)


Web support + non-jit lua support + configurable keys

I went over most of the details in the discord already. Despite the name of the branch and some things I said previously, this works both locally and on HTML5. In fact if the tastool detects that it's not being run on web it will disable some compatibility patches in favor of speed (e.g. 8f05f292a16487ea4ecf901a5483ad1305cd9a34).
Although the fork isn't well tested there aren't any bugs I know about.
Bit could use a better XOR implementation, but the original one didn't work on web.
Default web keybindings could be better, but I don't want to force my (vi)ews on everyone by straying from the original control scheme too far.
My keybindings lib could be faster. I don't have evidence of any major slowdown though so I didn't optimize prematurely. The lib could also handle key combinations that are a subset of another combination in a better way, but that's a bit complicated, so right now it's handled by a hack from tastool's side (3ced5dae6369667a21754c110848428a831525fe).

One more thing that could be better is documentation. The web celia page doesn't really explain what it is or what it's for.
Also I accidentally included a github workflow action in this pr. It's completely untested and hasn't been run even once so feel free to revert 57fc23c9307fa1ad84c7702135c18c4333918595.

There are little things that've been forgotten:

in tas:advance_keystates(), the old pico8.keymap is used
in some (rare) places love.keyboard.isDown() is used

Also visual selection is broken:

the checks for ke.prev_frame and ke.next_frame in tas:selection_keypressed() are inverted
you can't toggle the button in all frame selected: either the first one if alt isn't pressed or all except the first if alt is pressed

The checks to toggle controllers buttons are also a bit weird:
it might make more sense to put "left", "right" in pico8.keymap, and then check for ke["k_"...pico8.keymap[0][i]], allowing to come back to the old way of handling controller buttons (and also fixing issues like the visual selection more easily.

Yeah this sounds like a good idea. I just wasn't sure if changing pico8.keymap would break anything, so I didn't touch it.
No you can change pico8.keymap as will, it's only purpose is precisely to define which keys act as the controller buttons.
Honestly I left that one on purpose because I'm not entirely sure what it does.
advance_keystate is called on a keystate to modify it according to the current input of the user, i.e. if you hold left and press L then the next frame will have a left input.

The visual selection is working when you press alt+button, but the loop still isn't there when you press only the button. (In master there's only one loop but each iteration checks for both alt and non-alt.

Apparently the workflow action does work with no necessary edits.


Document peg$ variables and methods within a generated parser

As mentioned by @felix9 in #526, variables (as well as methods) that are prefixed with peg$ in the generated parser are not exactly well known, with developers only discovering them when they either:

dig through the generated parser
look through the source for PEG.js
find out from another PEG.js developer (the most common case I guess)

Let's fix this with more documentation (the joy 😑), as well as document reserved identifiers within the peg$ namespace (e.g. peg$c is used by actions, tokens, etc) so that developers know what not to overwrite, and hackers know exactly what to overwrite 🤣

[ ] Usable variables
[ ] Usable methods (internal helpers)
[ ] Reserved identifiers not recommended for overwriting
[ ] Examples of what could be accomplished using these

The peg$ variables and functions were meant as internal. They are tied to the specifics of the PEG.js implementation and the idea was that they can change any time between versions (and they did so in the past). They are definitely not an API!
It may make sense to document the peg$ variables and functions as part of documenting PEG.js internals, but I’d strongly advise against the idea of making them officially available for parser authors and/or plugin writers. It would limit the development of PEG.js in the future. Better to build the API on top of them.

So maybe there should be explicit documentation that "peg$" identifiers are not guaranteed to be stable across releases, and should not be relied upon.


CI: add python 3.7 testing

This is failing only on 3.5 so merging as it brings in support for 3.7


Support upper case letters in route definition

Background
Motivation
The CF-Acceptance-Tests (CATS) are creating apps, containing capital letters e.g. CATS-2-APP-eae0787d0d5dd6ba. For compatibility reasons we should support it even if the spec states otherwise.
Goals
Allow apps with routes with capital letters to be pushed successfully without modifying the manifest.
Action to take
No response
Impact
Improve CF compatibility.
Dev Notes
No response

solved in: https://github.com/cloudfoundry/korifi/pull/3211


unexpected keyword argument 'ssl_context'

Before creating an issue, first upgrade cfscrape with pip install -U cfscrape and see if you're still experiencing the problem.
Version number
Run pip show cfscrape and paste the output below:
Metadata-Version: 2.1
Name: cfscrape
Version: 2.0.7
Summary: A simple Python module to bypass Cloudflare's anti-bot page. See https://github.com/Anorov/cloudflare-scrape for more information.
Home-page: https://github.com/Anorov/cloudflare-scrape
Author: Anorov
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /Users/admin/workspace/crawler-reloaded/env/lib/python2.7/site-packages
Requires: requests

Code snippet experiencing the issue
from cfscrape import get_tokens
from cfscrape import get_tokens

        cloudflare_tokens, __ = get_tokens(
            request.url,
            user_agent=spider.settings.get('USER_AGENT')
        )

Complete exception and traceback
(If the problem doesn't involve an exception being raised, leave this blank)
  File "/Users/admin/workspace/xxx/vy_crawlers/middlewares/cloudflare_middleware.py", line 38, in process_response
    user_agent=spider.settings.get('USER_AGENT')
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/cfscrape/__init__.py", line 337, in get_tokens
    resp = scraper.get(url, **kwargs)
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/cfscrape/__init__.py", line 121, in request
    resp = super(CloudflareScraper, self).request(method, url, *args, **kwargs)
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/adapters.py", line 370, in send
    timeout=timeout
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 548, in urlopen
    conn = self._get_conn(timeout=pool_timeout)
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 250, in _get_conn
    return conn or self._new_conn()
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 770, in _new_conn
    strict=self.strict, **self.conn_kw)
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/packages/urllib3/connection.py", line 171, in __init__
    timeout=timeout, **kw)
  File "/Users/admin/workspace/xxx/env/lib/python2.7/site-packages/requests/packages/urllib3/connection.py", line 119, in __init__
    _HTTPConnection.__init__(self, *args, **kw)
TypeError: __init__() got an unexpected keyword argument 'ssl_context'

URL of the Cloudflare-protected page
Any page
URL of Pastebin/Gist with HTML source of protected page
Any page
I tried updating PyOpenSSL and openssl on my system
pyOpenSSL==19.0.0

 openssl version -a
LibreSSL 2.6.4
built on: date not available
platform: information not available
options:  bn(64,64) rc4(ptr,int) des(idx,cisc,16,int) blowfish(idx)
compiler: information not available
OPENSSLDIR: "/private/etc/ssl"

Removing the following lines makes the  code run
        if conn.conn_kw.get("ssl_context"):
            conn.conn_kw["ssl_context"].set_ciphers(DEFAULT_CIPHERS)
        else:
            context = create_urllib3_context(ciphers=DEFAULT_CIPHERS)
            conn.conn_kw["ssl_context"] = context

Hi @eternalfool,
Thanks for opening this issue. I'm guessing that the problem is your system's LibreSSL of which this project has not been tested against. We should add support for it and would gladly accept a PR.
Cheers

@eternalfool
A few questions:

Can you please add the output of python --version
Can you please add the output of pip show urllib3 requests
Could you try using the latest version of Python, version 3.7.4, and see if you're still encountering this problem?

Oops...
On second thought, this doesn't likely have anything to do with LibreSSL for a number of reasons. It has been tested against LibreSSL but just not by me, until now. :smile:
Without pyopenssl, cryptography, etc. being installed:
Python 2 - Interactive Session
Python 2.7.16 (413a49145e:413a49145e, Aug 12 2019, 16:20:55)
[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.OPENSSL_VERSION
'LibreSSL 3.0.0'
>>> import cfscrape
>>> scraper = cfscrape.create_scraper()
>>> scraper.get('https://osbot.org')
<Response [200]>

Python 3 - Interactive Session
Python 3.9.0a0 (heads/master:f9590ed, Aug 12 2019, 15:37:21)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.OPENSSL_VERSION
'LibreSSL 3.0.0'
>>> import cfscrape
>>> scraper = cfscrape.create_scraper()
>>> scraper.get('https://osbot.org')
<Response [200]>

Same results with pyopenssl, cryptography, etc. installed and imported prior to importing cfscrape:
>>> import OpenSSL, sys
>>> OpenSSL.__title__ == 'pyOpenSSL'
True
>>> [s for s in sys.modules if 'cryptography' in s]
['cryptography.__about__', 'cryptography', 'cryptography.x509.certificate_transparency', 'cryptography.utils', 'cryptography.hazmat', 'cryptography.hazmat.primitives', 'cryptography.hazmat.primitives.asymmetric', 'cryptography.hazmat.primitives.asymmetric.dsa', 'cryptography.hazmat._oid', 'cryptography.hazmat.primitives.asymmetric.ec', 'cryptography.exceptions', 'cryptography.hazmat.backends', 'cryptography.hazmat.backends.interfaces', 'cryptography.hazmat.primitives.asymmetric.rsa', 'cryptography.hazmat.bindings', 'cryptography.hazmat.bindings._constant_time', 'cryptography.hazmat.primitives.constant_time', 'cryptography.hazmat.primitives.serialization.base', 'cryptography.hazmat.primitives.asymmetric.ed25519', 'cryptography.hazmat.primitives.serialization.ssh', 'cryptography.hazmat.primitives.serialization', 'cryptography.hazmat.primitives.hashes', 'cryptography.x509.oid', 'cryptography.x509.name', 'cryptography.x509.general_name', 'cryptography.x509.extensions', 'cryptography.x509.base', 'cryptography.x509', 'cryptography.hazmat.bindings.openssl', 'cryptography.hazmat.bindings._openssl', 'cryptography.hazmat.bindings.openssl._conditional', 'cryptography.hazmat.bindings.openssl.binding']

No problems here!

Closing this for now.


Flip plugin undefined

Steps to Reproduce
Nuxt: 2.15.7
nuxt-gsap-module: 1.7.3
gsap: 3.11.4
Node: 16.13.0
In my nuxt project, I have 'nuxt-gsap-module' installed, and configured in the nuxt.config.js file like so:
  buildModules: [
    'nuxt-gsap-module'
  ],

  gsap: {
    extraPlugins: {
      draggable: true,
      scrollTo: true,
    },
    clubPlugins: {
      inertia: true,
      splitText: true,
      flip: true,
    }
  },

  build: {
    transpile: ['gsap']
  }

I also have gsap installed using the gsap-bonus.tgz file so that I can use the extra plugins.
Current Behavior
With this setup, I keep getting the following error in regards to the 'Flip' plugin:
Uncaught TypeError: Cannot read properties of undefined (reading 'fit')

When I console log `this.$Flip', I get undefined. This was working for me a few weeks ago, not sure why it wont work now.
Expected Behavior
The Flip plugin should not be undefined.
Additional Details
No response
Version
1.7.3

Hi, Flip should be enabled within extraPlugins object (not clubPlugins):
// nuxt.config.js

export default {
  gsap: {
    extraPlugins: {
      flip: true
    }
  }
}

Try again and let me know if it works as expected.

Ahhhhh of course! That worked perfectly!
Thanks for the quick response!

No problem 👍 I'm closing this as resolved.


Jwhonce wip/cluster

Still testing changes to verify, but I suspect the issue was that openshift_master_ips and openshift_master_public_ips were not set for the play (they were only set as a fact on localhost).
Since we don't use those variables outside of the configure play, I just moved the definitions to the vars section of the play. Otherwise, you would have to set openshift_master_ips = hostvars['localhost']['openshift_master_ips'] and openshift_master_public_ips = hostvars['localhost']['openshift_master_public_ips'] either in the vars section of the play or as a parameter to openshift_node.
My main goal with moving both of the variable definitions to the vars section instead of using the role parameters is that openshift_sdn_node also uses openshift_master_ips, and I figured that setting it in vars was preferable to duplicating it in both of the role definitions as parameters.

@jwhonce I can verify that these changes prevent the undefined error for openshift_master_public_ips, still waiting on run to finish up to verify the configs show the proper values.

@jwhonce just finished running, everything looks good with these changes.


Update period.go

Hi @srinivengala, thanks for the PR, and my apologies for the delayed response.
The idea of being able to specify a reporting date is a good one, but I'm not sure about the implementation. If this is going to be provided then it should be across all periods (day, week, month, year). This would require a much more robust solution, which I feel would entail a complete rewrite of the parse function.
It has been something I've thought about previously but never tackled. I'll have a think about it, and perhaps over the summer I'll experiment with some different approaches.
As I'd rather not add this just on days (it's also lacking tests), I'm going to close the PR.
Thanks again,
Michael


Implement global realm and support realms for built-in objects

This patch only focuses on general infrastructure and built-in objects, so not usable too much. Still it is big enough for a first step.

Depends on #4352

Benchmark
Heap (bytes)
Stack (bytes)
Perf (sec)

3d-cube.js
10680 -> 11200 : -4.869%
13672 -> 14056 : -2.809%
1.145 -> 1.149 : -0.307%

3d-morph.js
289008 -> 289224 : -0.075%
1712 -> 1704 : +0.467%
1.194 -> 1.187 : +0.572%

3d-raytrace.js
119384 -> 117648 : +1.454%
2548 -> 2596 : -1.884%
1.329 -> 1.359 : -2.298%

access-binary-trees.js
27120 -> 28656 : -5.664%
3376 -> 3448 : -2.133%
0.769 -> 0.774 : -0.661%

access-fannkuch.js
1584 -> 1784 : -12.626%
1784 -> 1776 : +0.448%
2.559 -> 2.552 : +0.273%

access-nbody.js
4088 -> 4600 : -12.524%
1872 -> 1864 : +0.427%
1.577 -> 1.570 : +0.483%

bitops-3bit-bits-in-byte.js
808 -> 1016 : -25.743%
1728 -> 1720 : +0.463%
0.696 -> 0.698 : -0.371%

bitops-bits-in-byte.js
768 -> 976 : -27.083%
1728 -> 1720 : +0.463%
1.019 -> 1.015 : +0.398%

bitops-bitwise-and.js
544 -> 744 : -36.765%
1480 -> 1472 : +0.541%
1.227 -> 1.214 : +1.041%

bitops-nsieve-bits.js
60952 -> 61176 : -0.368%
1728 -> 1720 : +0.463%
1.475 -> 1.481 : -0.387%

controlflow-recursive.js
1048 -> 1280 : -22.137%
61592 -> 63624 : -3.299%
0.517 -> 0.517 : +0.067%

crypto-aes.js
27904 -> 27888 : +0.057%
2288 -> 2312 : -1.049%
0.880 -> 0.882 : -0.169%

crypto-md5.js
70640 -> 70960 : -0.453%
1796 -> 1788 : +0.445%
0.733 -> 0.735 : -0.335%

crypto-sha1.js
45984 -> 46320 : -0.731%
1856 -> 1848 : +0.431%
0.756 -> 0.754 : +0.241%

crypto.js
50664 -> 51696 : -2.037%
3164 -> 3228 : -2.023%
8.676 -> 8.654 : +0.250%

date-format-tofte.js
8688 -> 9168 : -5.525%
2128 -> 2120 : +0.376%
1.008 -> 1.008 : +0.028%

date-format-xparb.js
14912 -> 15256 : -2.307%
2688 -> 2704 : -0.595%
0.819 -> 0.818 : +0.175%

deltablue.js
453256 -> 456496 : -0.715%
3540 -> 3636 : -2.712%
5.446 -> 5.475 : -0.527%

math-cordic.js
1824 -> 2040 : -11.842%
1728 -> 1720 : +0.463%
1.706 -> 1.698 : +0.442%

math-partial-sums.js
1280 -> 1504 : -17.500%
1704 -> 1696 : +0.469%
1.042 -> 1.045 : -0.294%

math-spectral-norm.js
2992 -> 3256 : -8.824%
1728 -> 1720 : +0.463%
0.744 -> 0.743 : +0.113%

raytrace.js
21840 -> 22472 : -2.894%
4952 -> 4844 : +2.181%
2.775 -> 2.835 : -2.130%

richards.js
8216 -> 8560 : -4.187%
2148 -> 2244 : -4.469%
0.309 -> 0.308 : +0.250%

string-base64.js
89856 -> 90096 : -0.267%
1776 -> 1768 : +0.450%
1.413 -> 1.399 : +0.932%

string-fasta.js
4056 -> 4392 : -8.284%
1712 -> 1704 : +0.467%
3.386 -> 3.377 : +0.267%

Geometric mean:
-8.051%
-0.466%
-0.075%

Binary (bytes)
master(de37e1e049)
patch(faa948f7f9)
Diff

size
239156
239156
0 bytes

.rodata
20695
20695
0 bytes

.dynstr
285
285
0 bytes

.rel.plt
240
240
0 bytes

.interp
25
25
0 bytes

.dynsym
576
576
0 bytes

.gnu.hash
252
252
0 bytes

.text
211152
211072
-80 bytes

.comment
85
85
0 bytes

.shstrtab
226
226
0 bytes

.data
8
8
0 bytes

.ARM.exidx
8
8
0 bytes

.rel.dyn
16
16
0 bytes

.init
12
12
0 bytes

.got
136
136
0 bytes

.plt
384
384
0 bytes

.note.ABI-tag
32
32
0 bytes

.gnu.version_r
32
32
0 bytes

.bss
1575248
1575064
-184 bytes

.fini
8
8
0 bytes

.hash
220
220
0 bytes

.gnu.version
72
72
0 bytes

.fini_array
4
4
0 bytes

.init_array
4
4
0 bytes

.dynamic
240
240
0 bytes

.eh_frame
4
4
0 bytes

.ARM.attributes
53
53
0 bytes

There is a 184 byte bss decrease and a 200 byte heap memory increase because the global object is stored on the heap now. Furthermore byte codes needs an extra 4 byte for realms.

There was an 1.5K increase on access-binary-trees.js, so I run this test with --mem-stress-test option. The change was from 27056 to 27344, so the reason of increase is the delayed gc runs. The usual 200 byte increase is also visible.

Could you please add $test262.createRealm support after #4329?

Of course. Next patch will also do several things.


📚 Documentation: Provide an update on appwrite-lite status

💭 Description
The standard version of appwrite uses a lot of containers which some users don't even need, are there any plans to continue futher development of appwrite-lite ?

What are the current road blocks?
What can the community do to help make appwrite-lite happen?
What happened to the last docker-image for appwrite-line ?

👀 Have you spent some time to check if this issue has been raised before?

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

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Any news on this ?

Hey, Appwrite lite was originally designed for us to be able to have an Appwrite version that works on Heroku. Some of the limitations we had is that Heroku free tier supported only a few containers (3 iirc) while Appwrite is using a lot more. Another major limitation we faced in Heroku was that we couldn't get access to the Docker socket which made Functions useless.
What we tried to do is to drastically reduce the number of containers required for Appwrite. We removed InfluxDB and StatsDB and completely disabled stats from the setup.  We also introduced a flag to disable Functions. To reduce the number of Appwrite containers, we used supervisord and run all the crucial Appwrite processes under a single Appwrite container.
This direction still seems valid, but we never had enough time capacity in the core team to try and complete the work. We're very happy to accept support, give our advice, and help with ongoing maintenance to any community driven initiative on this project.


[General] Semantic release, contributing guide, templates

As part of #21 cleanup, adding:

Semantic release (releases from master)
Contribution guide
Github templates

Thanks, @matt-oakes !

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Clarify simple nginx example doc.

Fixes #8694

@rjnagal Updated.

looks great. Thanks @jeffmendoza
LGTM

test failure is from v1beta1 cleanup. This is doc-only change - merging.


Added "OpenLineDiagnostic"

this command can be bound to a key now, so that the diagnostic popup may be opened on keypress when you're on the same line.
nnoremap <silent> gh    <cmd>OpenLineDiagnostic<CR>

closes #14

This might be obviated by https://github.com/haorenW1025/diagnostic-nvim/issues/14#issuecomment-622617988 - if so, feel free to close :) Thanks.

As mentioned in the issue, I'll close this for now and fix the not working issue for vim.lsp.util.show_line_diagnostics() since using the default one should be better.


[BUG]

Version
LiteDB 5.0.8, Windows, .NET Framework 4.7.2
Describe the bug
Aggregate functions ignore pragma UTC_DATE
Code to Reproduce
I have a class with a DateTime property and have set UTC_DATE for the database file. When retrieving the entire record, the timestamp is in UTC, but when I want to get only the maximum timestamp using GetCollection<Entry>().Max(e => e.Timestamp) the resulting DateTime object is of DateTimeKind.Local.
Expected behavior
The database should always respect said pragma independent even when the dealing with DateTime properties in query expressions. Currently, I work around this by calling DateTime.ToUniversalTime on the result. However, this is error-prone and seemingling redundant.

@pcjmuenster I could not reproduce the issue. I tried both v5.0.8 and v5.0.9 running on .NET Core and .NET Framework.


Launch stats after successful demux for each project on the run

WGS stats launch to DRAGEN and other stats are launched with the .bash scripts


Catalog contains components for which there are no modules

Relates to #1941 Swarm fractions for other components not generated
We currently maintain a manual blacklist for such cases. If it is correct to have the catalog entry, we would need to generate blacklist items automatically

Closing as Swarm support was removed some time ago.


why ?  /* For now only support 8-byte gtpu header. TBD */   _vec_len (ff->rewrite) = len - 4;

i can't understand it.

i think i see

i think i see


clearpass: also clear views without depth (2d)

Objective

after #3209, 2d examples background were not cleared

Solution

Change the query to also work when there isn't a ViewDepthTexture

bors r+


[Feature Request] Option to use markNeedsBuild instead of setState

Use case

As I've been developing with Flutter, I've always felt that the setState workflow was rather unintuitive. You pass a function who's entire purpose is just to change state that you could have changed before calling setState. Looking at the source code, all setState does is call the function that you gave, then call markNeedsBuild. There is no asynchronous behavior, nor does your function get put on some sort of queue to be called at a specific time. There are some asserts that make sure a rebuild is not happening at the wrong point in time, but these checks could just as well occur in a markNeedsBuild method.
So, then, what is the point of having to nest a function within setState when all it does is call your function, then call markNeedsBuild? This nesting just seems to create cluttered code.
Proposal

The state class should provide a markNeedsBuild method that we can call when we find it appropriate to do so. For example, after changing a widget's state. Plus, this better mimics how RenderBoxes call markNeedsPaint or markNeedsLayout when something changes.
For the sake of backwards compatibility, the behavior of setState method does not need to be changed in any way. This would just be an additional method of State that does practically the same thing as setState without asking for a function to call.
While this behavior could be mimicked by calling setState with an empty function, that would look confusing to someone reading the widget's code. Having a standalone method that is appropriately named would make much more sense.

Proposal
The state class should provide a markNeedsBuild method that we can call when we find it appropriate to do so. For example, after changing a widget's state.

AFAIK setState essentially does call markNeedsBuild after some checking
@protected
void setState(VoidCallback fn) {
  /// `doing stuff`
  _element.markNeedsBuild();
}

how calling directly markNeedsBuild would make it async friendly?

Proposal
The state class should provide a markNeedsBuild method that we can call when we find it appropriate to do so. For example, after changing a widget's state.

AFAIK setState essentially does call markNeedsBuild after some checking
@protected
void setState(VoidCallback fn) {
  /// `doing stuff`
  _element.markNeedsBuild();
}

how calling directly markNeedsBuild would make it async friendly?

@NWalker1208

Proposal
The state class should provide a markNeedsBuild method that we can call when we find it appropriate to do so. For example, after changing a widget's state.
[...]

AFAIK setState essentially does call markNeedsBuild after some checking
@protected
void setState(VoidCallback fn) {
  /// `doing stuff`
  _element.markNeedsBuild();
}

how calling directly markNeedsBuild would make it async friendly?
you would circumvent the assertion, but changing the widget state while building won't end well

That's true, however, I don't think this would be any different from how async friendly setState is right now. You can just as well call setState from an async function, and doing so doesn't seem that uncommon (i.e. setting state after loading a file). SetState has no way of telling if it's been called from an async function, it only checks if the function it was given to set the state returns a future. Using an async function to change state and call markNeedsBuild would do exactly the same thing as calling setState from an async function.

@NWalker1208

Proposal
The state class should provide a markNeedsBuild method that we can call when we find it appropriate to do so. For example, after changing a widget's state.
[...]

AFAIK setState essentially does call markNeedsBuild after some checking
@protected
void setState(VoidCallback fn) {
  /// `doing stuff`
  _element.markNeedsBuild();
}

how calling directly markNeedsBuild would make it async friendly?
you would circumvent the assertion, but changing the widget state while building won't end well

That's true, however, I don't think this would be any different from how async friendly setState is right now. You can just as well call setState from an async function, and doing so doesn't seem that uncommon (i.e. setting state after loading a file). SetState has no way of telling if it's been called from an async function, it only checks if the function it was given to set the state returns a future. Using an async function to change state and call markNeedsBuild would do exactly the same thing as calling setState from an async function.

Hi, I just wanted to say that setState is not useless nor pointless as it has at least three roles.
The first one is to guide, or maybe "trick" the user into believing that any assignments that will eventually change the state should be passed into that function. This way he will not call markNeedsBuild everywhere, for no real reason.
The second is that React Native (and perhaps other frameworks) uses the exact same concept, and I guess Flutter is trying to supply similar syntax in order to be easier to understand for RN devs.
The third may be that markNeedsBuild is exposed to the end user through setState so that if at some time they decide to rename it to, say, rebuild, then the end user would not be affected by this. Otherwise, everyone would have to rename all occurences of markNeedsBuild with rebuild everywhere, in every class.
So, if you really wanna use it like this (note that I didn't see anyone using it this way in production code), you can define your own extension method and/or a mixin to achieve this:
extension MarkNeedsBuildExtension<T extends StatefulWidget> on State<T> {
  void markNeedsBuild() {
    (context as Element).markNeedsBuild();
  }
}

or
mixin MarkNeedsBuildMixin<T extends StatefulWidget> on State<T> {
  void markNeedsBuild() {
    (context as Element).markNeedsBuild();
  }
}

Hi, I just wanted to say that setState is not useless nor pointless as it has at least three roles.
The first one is to guide, or maybe "trick" the user into believing that any assignments that will eventually change the state should be passed into that function. This way he will not call markNeedsBuild everywhere, for no real reason.
The second is that React Native (and perhaps other frameworks) uses the exact same concept, and I guess Flutter is trying to supply similar syntax in order to be easier to understand for RN devs.
The third may be that markNeedsBuild is exposed to the end user through setState so that if at some time they decide to rename it to, say, rebuild, then the end user would not be affected by this. Otherwise, everyone would have to rename all occurences of markNeedsBuild with rebuild everywhere, in every class.
So, if you really wanna use it like this (note that I didn't see anyone using it this way in production code), you can define your own extension method and/or a mixin to achieve this:
extension MarkNeedsBuildExtension<T extends StatefulWidget> on State<T> {
  void markNeedsBuild() {
    (context as Element).markNeedsBuild();
  }
}

or
mixin MarkNeedsBuildMixin<T extends StatefulWidget> on State<T> {
  void markNeedsBuild() {
    (context as Element).markNeedsBuild();
  }
}

Hi @NWalker1208
I don't think this is a valid proposal for Flutter at least because there is no benefits and valid reasons to make this change in the framework. See https://github.com/flutter/flutter/pull/54009#pullrequestreview-389345587 as I think it somehow answer this proposal.
And as suggested above, you can make use of Dart's extension methods to easily achieve this feature.

Hi @NWalker1208
I don't think this is a valid proposal for Flutter at least because there is no benefits and valid reasons to make this change in the framework. See https://github.com/flutter/flutter/pull/54009#pullrequestreview-389345587 as I think it somehow answer this proposal.
And as suggested above, you can make use of Dart's extension methods to easily achieve this feature.


fix(MToon): Upgrade MToon v1.8.3 -> v1.8.4

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Microsoft Edge 20 detected as Chrome 42

I ran a test using Edge on Win10 (newly installed, no tweaks to UA-string, document/browser modes etc.), and it detected the browser as Chrome 48:
.

This is a known issue in platform.js.


git history and commits

What is the status of the fork? The old git commit history should be preserved and the new commits should have a meaningful name. In main should only have meaningful, ready and working commits. If you need help I can help you with pleasure!

Hi @jumoog.
I'm wrapping up paid projects and plan to begin work rewriting and fully testing a new version of Chadburn.
I agree with the naming. I'm not exactly the best at naming commits but I'm always open to ideas and learning how other people do it.
I don't have an exact timeframe to begin work, but I would like to try and get it started before the end of April 2022. I am still quite new to Go, the language used in Chadburn but from what I understand it's a type-safe language so that's a benefit for a noob like me.
 I think I have that figured out actually, but I did discover that the library that was used is possibly on it's last legs so there's a good chance that needs to be addressed. I guess Docker changed a lot since Ofelia was written but the library is still being somewhat maintained.
I like to remove as many library dependencies as possible in my projects unless they are very well maintained.
I would love all the help I can get. I guess you're in Germany, so our timezones are really different. (I'm in California, USA). I'm more than happy to work around your schedule on anything that may be come collaborative.
What skills can you bring that you think could help this project? Good at Go? Docker API? Testing? Github Actions for automated builds?
Let me know how you would like to help and I will try and accommodate accordingly. Thanks!


Set default selection on xsel/xclip to clipboard

That way you can just ctrl+v the resulting imgur url. Seems more natural.

For you, perhaps. I find the X selection more natural to use.
Perhaps consider aliasing imgur to imgur; xsel | xsel -b?

Also no need for the added -i arguments in your patch.

On my box xsel/xclip didn't copy to my primary clipboard though.
Middle click just shows me things I explicitly copy with ctrl+c. Maybe it's some weird arch linux specific config somewhere(?).
I've modified it locally so if you don't want it, do close the pull request. 👍

Does the alias I suggested do what you are looking for?

imgur; xsel -o | xsel -b and imgur; xclip -o | xclip -selection clipboard do the trick. Thanks, it might be useful to document this in the readme. 👍

Thanks for confirming. I'll leave it as-is for now. If others want the same feature they may find this thread or may request it, and I'll consider adding an option if it's popular or even switching the default if I'm significantly in the minority.
Thanks!

As of 4a4dcc1 you can set environment variables to give options to the clipboard programs, so there wouldn't be a need for a wrapper script in this case any more.


Refine the Memory Reserve Handling in the Allocator (Optimized Inlining)

(Optimized version of https://github.com/dfinity/motoko/pull/4587, fourth attempt...)
Refining the allocator’s memory reserve for better maintainability.
The current allocator is based on the assumption that the memory reserve is at least of a WASM page size (64 KB) to guard against overflows of the shadow call stack (used in Rust and in the compiler backend).
This assumption is always met, i.e. the RTS is already safe:

In the incremental GC: The memory reserve is at least 256 MB. When the GC is inactive, the reserve is increased by additional 640 MB.
In the classical GCs: The reserve is constantly 256 MB.

This change relaxes this assumption and directly guards the last page in the allocator, independent of the GC’s memory reserve. This is only to increase robustness for future changes, where different memory reserves may be configured, potentially even below a page size.

Comparing from 0d36eff to 78106d7: In terms of gas, 1 tests regressed and the mean change is +5.8%. In terms of size, no changes are observed in 5 tests.

Strange, when measuring locally, it even improved performance compared to master...

Not improving CI performance... closing


Add middleware plugins from fl4re/sinopia

This is basically PR fl4re/sinopia#18 by @fredr
While waiting for a new plugin system (#169), we need to allow middleware plugins.
Some sinopia plugins needs this, as mentioned in #353

@Meeeeow @ayusharma would be great if your provide here approval. This PR deserves a common approval eye 👍  Thanks @HCanber awesome.

ping @HCanber


Suggestion: rs-convert.cpp should be a console function instead of a CMD function

Required Info

Camera Model
D400

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Kernel Version (Linux Only)

Platform
PC

SDK Version
2.16.1

Language
C++

Segment
others

Suggestion
Hello! I am trying to streamline the process of getting (x, y, z) data stored in a .CSV file. Part of it involves converting the .bag into a .csv file using rs-convert.cpp.

I think this is a hassle to use the CMD everytime just to convert, and should instead be built into console for example (see below).
Example
Specify the location of .bag file      : C:\Users\admin\Documents\a.bag
Specify the location to store .csv file: C:\Users\admin\Documents\datafiles

Implementation
I do not think this particular suggestion/change should be complicated, as the actual conversion process code is:
auto pipe = make_shared<rs2::pipeline>();
rs2::config cfg;
cfg.enable_device_from_file(inputFilename.getValue());
pipe->start(cfg);

auto device = pipe->get_active_profile().get_device();
rs2::playback playback = device.as<rs2::playback>();
playback.set_real_time(false);

auto duration = playback.get_duration();
int progress = 0;
auto frameNumber = 0ULL;

while (true) {
    auto frameset = pipe->wait_for_frames();

    int posP = static_cast<int>(playback.get_position() * 100. / duration.count());

    if (posP > progress) {
        progress = posP;
        cout << posP << "%" << "\r" << flush;
    }

    if (frameset[0].get_frame_number() < frameNumber) {
        break;
    }

    frameNumber = frameset[0].get_frame_number();

    for_each(converters.begin(), converters.end(),
        [&frameset] (shared_ptr<rs2::tools::converter::converter_base>& converter) {
            converter->convert(frameset);
        });

    for_each(converters.begin(), converters.end(),
        [] (shared_ptr<rs2::tools::converter::converter_base>& converter) {
            converter->wait();
        });
}

cout << endl;

for_each(converters.begin(), converters.end(),
    [] (shared_ptr<rs2::tools::converter::converter_base>& converter) {
        cout << converter->get_statistics() << endl;
    });

return EXIT_SUCCESS;

I think both use cases are valid, since parameter passing allows simpler batching.
But when you run rs-convert without arguments, it can prompt for user input.
This can be a great opportunity to give contributing a try ;)

You're right. I first gotta figure out Cmake and Git better before I can attempt. Good for my learning too, I'll give it a shot. Thank you :)


Convert jsconfig.paths to webpack.alias

This is a proposal, and some people may like it.
It may still be imperfect.
If there are omissions or mistakes, thank you for your guidance.

repeat


Add Windows support to GCC package in ConanCenter

Can find the make conanfile.py file here: https://github.com/conan-io/conan-center-index/blob/master/recipes/gcc/all/conanfile.py.

We moved to LLVM anyway.


Create a Slider on Home page which will slide events !!

Issue Type:
[  ] Bug Report
[x]  Feature Request
[  ] Documentaion

@himanshu007-creator  WIll be working on this !! LGTM by today itself !!

@himanshu007-creator  Sorry Little delay in PR will give it till afternoon some check are remaining !! Sorry


Limitations

It says:
The below Microsoft services are required to be on a virtual network
Azure App Service
Azure Functions
Can App service with vNet integration access the service bus with service endpoint?
Or this means only App Service Environment can access the service bus with service endpoint?

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

ID: e147f10f-d686-829a-bc46-62de76b7ca01
Version Independent ID: 7a0ad19d-d13e-4ee3-68fa-79a899ba0705
Content: Virtual Network service endpoints and rules for Azure Service Bus
Content Source: articles/service-bus-messaging/service-bus-service-endpoints.md
Service: service-bus
GitHub Login: @axisc
Microsoft Alias: aschhab

@JozoSlejko I have assigned this to content author to review and provide an update as appropriate.

I found my answer in this article https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet
App Service v1 integration does not support it, v2 integration does.

@JozoSlejko Great to hear that you've located an answer and are now unblocked! We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Solver - add a wrapper for scipy L-BFGS solver

This adds a BFGS to the solvers' toolbox of skglm.
It proceeds as follows:

[x] add wrapper around scipy.optimize.minimize(method="L-BFGS-B")
[x] unitest against scikit-learn L2-Logistic regression

Can you run it quickly on moderate size datasets in https://github.com/benchopt/benchmark_logreg_l2 ?

Can you run it quickly on moderate size datasets in https://github.com/benchopt/benchmark_logreg_l2 ?

Here are the benchmark figures of skglm lbfgs vs. scikit-learn lbfgs

Can you run it quickly on moderate size datasets in https://github.com/benchopt/benchmark_logreg_l2 ?

Here are the benchmark figures of skglm lbfgs vs. scikit-learn lbfgs

I can't see the iterations on it, how many iterations does it take to converge?
On some datasets there seem to be a very small difference in final objective value (1e-6), it's not blocking but do you know the cause?


Bump gcloud and App Engine SDK versions

For #3

Thanks for putting this together! I'd just been thinking about bumping this up today.
Would you mind also updating the versions in the README.md, please?

Sure thing, done!

:1st_place_medal:


Fix missing GDScriptParser reference on completion context

Fixes #96239
Adds missing reference of GDScriptParser to the CompletionContext created at GDScriptParser::override_completion_context

Thanks!


Add option to pass expanded output to rustc

This would make it easier to debug compilation errors inside the expanded code, since such errors highlight the code in the use of the macro instead of the expanded code.

The expansion process is not designed to necessarily create compilable source code, so I would prefer not to add this. It's only a debugging aid for human inspection.

Thanks for the answer. The reason I asked is that the expanded code can be large, and figuring out where a typing error in the expanded code is pointing to can be helpful.


How to expand the max token length during inference?

When I used InternVL2.5 for video inference in 64 sampling frames, I met:
Token indices sequence length is longer than the specified maximum sequence length for this model (17003 > 16384). Running this sequence through the model will result in indexing errors

How to expand this?

Hello, this is a warning and can be ignored.

Oh, thanks for the reply! Is it all right when the input token length reaches about 65536 when inference?


Improve local PoW on desktop app by including an openCL work server

The speed of local PoW can be heavily improved by primarily using a dedicated work server with openCL instead of javascript. Especially now with 8x threshold and with latest speed improvements seen here: https://github.com/nanocurrency/nano-work-server/pull/18
It would be easy to implement in Nault to just call PoW from a local server. The difficulty is how to implement it in some kind of user-friendly installer. It needs to detect and set up the correct GPU or fallback to CPU, or let the user select it.
The desktop app is normally using server PoW so I'm not sure if the difficulty with this solution is worth it?
Hopefully, someday someone can also improve the current webGL library used for web PoW.

well whether GPU is worth it no idea but javascript sounds kinda inefficient

So custom work server is allowed now. Not sure if it's worth the effort to implementing openCL in the electron app. If it's even possible. I'll leave the issue open


Draft a new spec for duniverse

This is a WIP. I'm opening the PR so we can discuss those the spec!
cc @samoht @avsm
Not much as happened since it was posted on slack but I'll keep you updated whenever I make significant changes.

I like the user stories, and would appreciate some more: i.e. is the use-case that someone intends to break the API of whatever library and uses duniverse (+opam) to locally clone all (most?some?) reverse dependencies in order to fix all of them supported? I happen to run into this every now and then.

@hannesm yes that's indeed one of the things we want to solve with duniverse and I'd like to detail how in the "Mirage" user stories but we're still figuring it out atm.
I'll get back to that part of the spec soon but I need to move forward on the vendoring story first.

@NathanReb i was as well curious what it means to have a non-opam dependency... and why/how this is supported

Hmm yeah this wasn't very clear indeed. What I meant here by a "non-opam dependency" is a source repository that build with dune, isn't necessarily packaged to oapm and that you wish to vendor.
This would be supported through a duniverse install command or by editing the duniverse.sxp file by hand. This needs to be further explained and specified here.
As to the why, I'd say to include a custom fork of an existing package for instance. One that you do not necessarily wish to publish to opam separately but want to reuse accross different projects.

Merging this; will refine @hannesm comments about user stories in next iteration


Use the new REST API in order to download images from Jackrabbit

Use the new REST API in order to download images from Jackrabbit

For more info check https://github.com/CloudOpting/cloudopting-manager/issues/214


WIP revive generational GC for MPT

For comparison with #2137 , #2095 , see also #1506 .

Benchmark results:
# no GC, master
435M    chains/testnet
________________________________________________________
Executed in   78,12 secs    fish           external
   usr time  162,86 secs    0,00 millis  162,86 secs
   sys time   13,84 secs    2,09 millis   13,84 secs

# GC, master
119M    chains/testnet
________________________________________________________
Executed in   87,24 secs    fish           external
   usr time  178,69 secs    0,00 millis  178,69 secs
   sys time   15,61 secs    1,44 millis   15,61 secs

#  no GC, PR
435M    chains/testnet
________________________________________________________
Executed in   78,60 secs    fish           external
   usr time  166,70 secs  817,00 micros  166,69 secs
   sys time   14,92 secs  159,00 micros   14,92 secs

# GC, PR
238M    chains/testnet
________________________________________________________
Executed in   93,19 secs    fish           external
   usr time  243,42 secs  760,00 micros  243,42 secs
   sys time   22,52 secs  259,00 micros   22,52 secs

This PR gives a lot of 2021-09-08T17:34:26.726+0300    ERROR   error during MPT GC     {"error": "GC is already running"} for me.

@roman-khimov Thats due-to possibly low GenerationSpan. 100k could be better but I should test it on a longer dump.

Old and slow.


Can no longer highstate without using the /tmp override

When I run salt 'servo-master1' state.highstate test=True, I now get:
servo-master1:
----------
          ID: states
    Function: no.None
      Result: False
     Comment: No Top file or external nodes data matches found.
     Started:
    Duration:
     Changes:

Summary for servo-master1
------------
Succeeded: 0
Failed:    1
------------
Total states run:     1
Total run time:   0.000 ms

If I set up the override in /tmp/salt-testing-root, I can highstate fine. As soon as I clean up the override, I cannot. @aneeshusa I'm not sure what could have caused this; https://github.com/servo/saltfs/pull/786 is the only PR that looks remotely related, but I don't see a smoking gun yet.

I checked via salt 'servo-master1' state.show_top to confirm no states listed. My first guess for the cause was a stale Salt fileserver cache, so per our docs, I ran salt-run fileserver.update on servo-master1, which spit out:
root@servo-master1:~# salt-run fileserver.update
[WARNING ] /usr/lib/python2.7/dist-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.

Exception occurred in runner fileserver.update: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/client/mixins.py", line 356, in low
    data[return] = self.functions[fun](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/runners/fileserver.py", line 258, in update
    fileserver.update(back=backend)
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 457, in update
    self.servers[fstr]()
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/gitfs.py", line 124, in update
    gitfs.update()
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2225, in update
    self.find_file
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 244, in reap_fileserver_cache_dir
    ret = find_func(filename, saltenv=saltenv)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2584, in find_file
    blob, blob_hexsha = repo.find_file(repo_path, tgt_env)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 851, in find_file
    tree = self.get_tree(tgt_env)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 899, in get_tree
    return ref.commit.tree
  File "/usr/lib/python2.7/dist-packages/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/usr/lib/python2.7/dist-packages/git/objects/commit.py", line 132, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/usr/lib/python2.7/dist-packages/git/objects/commit.py", line 443, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----

So it looks like the error is related to Salt (or rather git-python) not being able to parse GPG signed git commits. Looking at recent commits, it seems 1f62195f3f4c8008d595dc09b462fd92fe9a2a21 is the first time we see a signed merge commit. This was not triggered by previous signed commits, because those would be commits on a branch, and not merge commits created by Homu, so they would never be at the tip of master, and thus never parsed by git-python.
Looking at the git-python issue tracker for gpg related issues (as well as the git-python source as of 0.3.2-RC1, the version closest to the 0.3.2-RC3 reported by dpkg -l python-git on servo-master), my current belief is that our current git-python is too old and we will need a newer git-python with support for parsing GPG signed commits.
We could install via pip globally for a short term fix, but a long term fix is probably to update to xenial (#462), which has version 1.0.1 - not the newest but new enough for the GPG support, seemingly added in 0.3.
Side question: How is Homu making merge commits that are signed with your key @jdm? I don't know how it would do that without access to your private GPG key.

Fascinating; the web UI for editing files on github signs the resulting commits apparently. It's still not clear how that propagates to homu's merge; maybe it's related to the fact that I recently logged into the bors-servo account.

I tried running pip install python-git on servo-master1 and it did not make a difference. Perhaps I'm misunderstanding how the short term fix is expected to apply.

Salt no longer complains about the fileserver update:
root@servo-master1:~# salt-run fileserver.update
[WARNING ] /usr/lib/python2.7/dist-packages/salt/utils/gitfs.py:400: DeprecationWarning: The gitfs_env_whitelist config option (and env_whitelist per-remote config option) have been renamed to gitfs_saltenv_whitelist (and saltenv_whitelist). Please update your configuration.

True

Maybe this just works now!
root@servo-master1:~# salt 'servo-master1' state.show_top
servo-master1:
    ----------
    base:
        - admin
        - common
        - python
        - salt.common
        - ubuntu
        - git
        - buildbot.master
        - homu
        - intermittent-tracker
        - intermittent-failure-tracker
        - upstream-wpt-webhook
        - nginx
        - salt.master

Nevermind, when I remove the tmp clone it's back to being empty.

Still seeing lots of entries like this in the salt logs:
2019-04-09 12:14:34,275 [salt.master      :1783][ERROR   ][29328] Error in function _file_list:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/master.py", line 1776, in run_func
    ret = getattr(self, func)(load)
  File "/usr/lib/python2.7/dist-packages/salt/utils/decorators/__init__.py", line 594, in wrapped
    **salt.utils.data.decode_dict(kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 752, in file_list
    ret.update(self.servers[fstr](load))
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/gitfs.py", line 185, in file_list
    return _gitfs().file_list(load)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2929, in file_list
    return self._file_lists(load, 'files')
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2906, in _file_lists
    repo_files, repo_symlinks = repo.file_list(load['saltenv'])
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1271, in file_list
    tree = self.get_tree(tgt_env)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1012, in get_tree
    candidate = func(tgt_ref)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1350, in get_tree_from_branch
    'refs/remotes/origin/{0}'.format(ref)).commit.tree
  File "/usr/lib/python2.7/dist-packages/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/usr/lib/python2.7/dist-packages/git/objects/commit.py", line 132, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/usr/lib/python2.7/dist-packages/git/objects/commit.py", line 443, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----


[Feature Request] table component need a prev in Table Solt

Existing Component
Yes
Component Name
table
Description
table component need a prev in Table Solt to create my own scrollbar , my  scrollbar likes el-scrollbar  component  in element-ui.

We have no plan to add this.


Slow rendering on linux

Using time find /usr benchmark:
My current terminal, Terminology: find /usr  0.41s user 0.90s system 63% cpu 2.081 total
Alacritty: find /usr  0.58s user 0.89s system 5% cpu 28.101 total
I'm using the same font, arch linux using the AMD open source drivers with a radeon HD7850 GPU. I observe Terminology using 100% cpu and Alacritty using about 7%. Neither program seems to bottleneck any part of the GPU when observed with radeontop. This should be a release build (cargo build --release).
$ find /usr | wc -c
30957177

I get these numbers for gnome-terminal:
real	0m3.306s user	0m0.720s sys	0m1.040s
And these for alacritty:
real    0m32.088s user    0m0.772s sys     0m1.116s
This is with an i7-4510U and the integrated GPU. If I understand correctly though, gnome-terminal "cheats" a bit by simply capping the frame rate and throwing away the intermediate output.
Does Terminology do something similar? Does alacritty? Should it?

I'm also having similar results where alacritty is significantly slower than gnome-terminal on an Intel HD 530, for example
time find /usr

# gnome-terminal
real	0m1.492s
user	0m0.183s
sys	0m0.469s

# alacritty
real    0m24.272s
user    0m0.774s
sys     0m1.525s

This is even after I've run the command twice. This issue and #110 might be related. As an aside, I do not have this issue on a desktop with a GTX 970 and Nvidia proprietary drivers 375.26

Mesa appears to be the common factor here. I'm running Arch Linux, Mesa 13.0.3 on Intel HD Graphics 4400 (Haswell iGPU).
Stats from time find /usr in fish shell:
terminator: 0.69 user 1.26 system 0:04.48 elapsed 43% CPU
alacritty: 1.09 user 1.71 system 0:49.33 elapsed 5% CPU

I'll just chime in mine (both for the second run):
time find /usr

# urxvt
real	0m2.235s
user	0m0.737s
sys	0m1.463s

# alacritty
real    1m0.506s
user    0m1.053s
sys     0m1.910s

This is on a Core i5-4278U (with built-in graphics and the open source driver), Mesa 13.0.3.

time -p find /usr

st
real 2.56
user 0.90
sys 2.06
alacritty
real 89.50
user 5.46
sys 6.61
That's more than a factor of 30 slower. What a piece of tra-
primusrun alacritty (using nvidia's opengl implementation explicitly with my dedicated card, rather than the integrated intel one, which uses mesa's)
real 2.77
user 0.87
sys 2.20
Intel HD 530 / GTX 950M (glxinfo)
Linux 4.9.0
(just adding my findings here)

Looks pretty clear to me that mesa is the culprit here.

Not sure whether it's relevant, but here is the (part of) output of
LD_DEBUG=libs ./target/debug/alacritty 2>&1 | rg error

315:     28965: /usr/lib/libEGL.so.1: error: symbol lookup error: undefined symbol: eglCreatePlatformPixmapSurfaceEXT (fatal)
316:     28965: /usr/lib/libEGL.so.1: error: symbol lookup error: undefined symbol: eglCreatePlatformWindowSurfaceEXT (fatal)
317:     28965: /usr/lib/libEGL.so.1: error: symbol lookup error: undefined symbol: eglGetPlatformDisplayEXT (fatal)

system info at #235

time seq -f 'blah blah %g' 100000

Mesa 13.0.3 - Intel HD 4400
Alacritty
real   0m3,314s
user   0m0,153s
sys    0m0,200s

URxvt
real   0m0,334s
user   0m0,117s
sys    0m0,220s

Same command as @kilbith, Intel HD 5500, same Mesa version.
URxvt: 19ms (97% CPU)
Alacritty: 321ms (6% CPU)
URxvt + tmux: 209ms (10% CPU)
Alacritty + tmux: 207ms (10% CPU)

I've pushed a patch that addresses the biggest cause of slowness on Mesa. If anyone is feeling adventurous, I would appreciate some feedback on perf in #410.

Going to close this since feedback in #410 is very positive.


RangeError: Maximum call stack size exceeded

I'm seeing an error extracting a large zip file with gulp-unzip.  First I get rather a lot of these:
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.

And then finally this:
RangeError: Maximum call stack size exceeded

My code is very simple:
gulp.src(config.cef_archive_path)
    .pipe(unzip())
    .pipe(gulp.dest(config.vendor_path))

Is this gulp-unzip or node-unzip?
Thanks.

Has this now been resolved?  If not please share an updated link to a failing zip

It's very old issue.
I close it ( and reopen if same issue reported)


PolyUtil.encode is not a function at client.direction error

Hi,
I am not able to get this module to work with NodeJS deployed to Firebase cloud as a cloud function. I keep getting the TypeError message "PolyUntil is not a function at client.directions". I get this error even when I try to execute the examples you provided.
Is this module supported with server-side NodeJS hosted on Firebase as a cloud function?

Hi,
I am not able to get this module to work with NodeJS deployed to Firebase cloud as a cloud function. I keep getting the TypeError message "PolyUntil is not a function at client.directions". I get this error even when I try to execute the examples you provided.
Is this module supported with server-side NodeJS hosted on Firebase as a cloud function?

I'm not sure for your errors. But I'm sure it working fine with NodeJs.
Can you give me more detail about your code snippet? That would be easy for me to check it.

**The original error message was resolved when I carried out the below steps but now, I get a new error message. Let me outline all the steps I have carried out below.
Initially when I tried to import the module, I get the "could not find a declaration file for module" error message.

To resolve this issue, I created an index.d.ts with a "declare module 'node-geometry-library'" statement

and added the typeRoots to the tsconfig.json file

After doing these steps, the error disappeared and I am able to compile the code.
To do a test, I copied the PolyUtil.encode examples in the usage page and I exported this to firebase cloud

Now, I get another error message when the function is executed from the firebase cloud.
this is the error message from the firebase console output

@oidele thanks you for your screenshot. I'll update package to support typescript soon and example with node js soon.

@oidele  I have updated my package to support typescript.
For your issue is related with your code. Please check using here Usage
Base on your screenshot please change as below:
import PolyUtil from "node-geometry-library"
TO
import {PolyUtil} from "node-geometry-library"

Thanks @BunHouth... I will update my code and check

Hi @BunHouth, thanks for your help so far.  I tried executing my code but I got the below error msg

I think this is because NodeJS uses the CommonJS Module syntax (module.exports) and not the ES6 Module syntax.

@oidele  for using es6 with node js, you need to use babel.
please check link below https://qiita.com/suketa/items/91f6ed4a4ea972e004f1

@oidele  thanks for your feedback. I have publish new version for support CommonJS module export.

Awesome...thanks so much @BunHouth. It worked. Cheers


Failed with Local Auth version 0.5.2+4

Hi,
I'm trying to build Flutter with Local Auth version 0.5.2+4 but some errors is occurred.
Could you please help me check it?
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s
Finished with error: Gradle task assembleDebug failed with exit code 1

@khanhnt748
I hope you've solved the issue and are not experiencing this with newer plugin versions
Related question https://stackoverflow.com/questions/54784436/execution-failed-for-task-apptransformclasseswithmultidexlistfordebug-in-fl
Closing, if you disagree please write in the comments and I will reopen it
thank you


Connect 3.x version?

Is there a reason why connect 2.x is being used and not connect 3.x? Is it a compatility issue with livereload?

Version 2.3.0 released: https://github.com/AveVlad/gulp-connect/releases/tag/2.3.0


Repair must return Merkle branches for each non-nil leaf on error

Ref https://github.com/lazyledger/rsmt2d/pull/44#discussion_r613714417

Transcluding my comment from Discord:

@liamsi so while looking into https://github.com/lazyledger/rsmt2d/issues/53, I realized different Merkle trees have different prove function signatures:

Regular Merkle tree returns a bunch of stuff: https://github.com/lazyledger/merkletree/blob/6901c4c3c75f7ab8a0f11707cb0eb4e477f9074f/tree.go
NMT returns a proof struct: https://github.com/lazyledger/nmt/blob/ddcc72040149c115f83b2199eafabf3127ae12ac/nmt.go

You accurately pointed out in a TODO that the Prove method would need some looking into https://github.com/lazyledger/rsmt2d/blob/5a692bff96defabeaf8c928510c1894255e97761/tree.go#L22-L23. I see two alternatives:

Make all trees conform to the same Prove method. This might be not possible since they fundamentally return different stuff.
Defer constructing proofs to the caller, which should know exactly which tree is used and can handle the specific return values. Note that as-is, there is sufficient data for the caller to construct Merkle proofs (all repaired shares are returned). Also note that within the repair function there may not be enough data for all Merkle proofs to be constructed; some proofs must come from when a share is downloaded. As such, the caller will need to handle attaching the appropriate proofs regardless. I prefer this approach.


precompute POS data for Python

as a side effect, POS are now Tuples instead of Lists

When considering shared instances it's not performance, but correctness issues.
Because lists are mutable, it is possible to add and remove elements from them.
It's better to be on the safe side here.


CORS not set on 429 rate limit responses.

I'm unable to handle a rate limit response in the browser without CORS, as the browser omits it.
I also cannot use no-cors, as these requests require non-simple headers (specifically projectId).
How to recreate:

Send many requests (more than 10 per second) in the frontend, via JS, attempt to catch rate limiting errors

Expected behaviour:

Get back a message with a status of 429, handle it normally

Actual behaviour:

CORS error in console quoting the 429 return code, uncatchable by browser design.

Suggested fix:

Add access-control-allow-origin: * to 429 errors

Closing as this issue is not related to blockfrost-backend-ryo but rather to the hosted blockfrost.io.
We are going to add CORS headers to 429 shorty on hosted.


Tracking WebView is broken in iOS 17.4.x

I am using Capacitor View Controller to display WebView within Floating Panel.
let capVc = CAPBridgeViewControllerForBottomSheet()

let fpc = FloatingPanelController()
fpc.set(contentViewController: capVc)
fpc.track(scrollView: capVc!.webView!.scrollView)

It all works fine, however, with the recent release of iOS 17.4.x the last line stopped working. It looks like WebView.scrollView behavior changed and FloatingPanelController can not properly track it anymore.
Did anyone face a similar problem or have a possible solution?

Thank you for your report. I've confirmed this problem is occurring in sample app of the library. And then I found the gestures of the WKWebView has changed a bit. I'm trying to fix this problem now.

I fixed this issue #630 and merged it to master branch. I will release it in v2.8.3 soon. Thanks.

Thanks @scenee for your great project.

@scenee Do you have an idea when the update will come out? Otherwise, is there a way to install it from master?

I'm sorry for the delay, but I've released v2.8.3 now. Thank you for your help.

Thank you!


[WIP] Add graceful upgrade process

Based on #718 introduced by rsmitty.
Includes all roles and all options to support deployment of
new hosts in case they were added to inventory.
Main difference here is that master role is evaluated first
so that master components get upgraded first.
Fixes #694

ci check this


[Redesign] Updated Forgot Password Pages' Column Layouts

This moves them to a 4-column layout with centered text to be consistent with #4252

@microsoftsam

🔔


Added support for HTTP basic authorization

Basic authorization (base64 encoded) can be passed as optional parameter during creation

Thanks for the PR! I commented on this feature here: https://github.com/goto-bus-stop/dart-event-source/issues/10#issuecomment-493195872
I'm a bit hesitant to add a feature like this because it will introduce incompatibility with browsers. If you have a strong use case for it we could consider it though.

The endpoints that I have to work with require authentication.
I do understand your concerns though, so I'll probably try your advice from #10 for now. Thank you.


feature request: hit detection

Something that I use from time to time in the github actions cache is the ability to tell when a hit has occurred.
For instance, a cache keyed by a ${architecture}-Cargo.lock containing a built binary executable. Then when the dependencies are updated, the binary is rebuilt, but we don't call into cargo at all when they aren't. A separate cache is used to cache the contents of the dependencies, and so on to make builds faster if they are required.

We had a similar discussion (see #14) and I believe something like this could be valuable.
According to the documentation (https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#output-parameters-for-the-cache-action), the cache step provides an output property (cache-hit) which then can be used by other steps.
I guess we can provide something similar as well but I'm not sure how this should looks like.
One option could be a return value (true = hit, false = miss) but then the inner-step execution makes no sense anymore.
def hit = cache("key": "abc", ...)

if (hit) {
  // do something
}

Another idea would be an optional id property. When it is present, then an environment variable could be provided by the context (e.g. cache-hit-$id). The value is true (hit) if the key exactly matches an existing cache, otherwise it is false (miss).
cache("key": "abc", "id": "123", ...) {
  if (cache-hit-123) {
    // do something
  }
}

There was also the idea of having a property (e.g. onMiss). When the value is true and key exactly matches an existing cache, then the inner-step execution is skipped.
cache("key": "abc", "onMiss": true) {
    // do something
}

Possibly
cache2(path, key) {   cacheStatus ->
   ... do something
   }

?


Updated the reducer

When the drawer opens / close, the result of AppNavigator.router.getStateForAction(action, state); is null. So the nav state in the store is null which causes errors. This solves that.
Please provide enough information so that others can review your pull request:

Shouldn't we change the reducers to return the default state instead of hacking the docs?

@nihgwu we should, but I thought this is a quick fix and might help people.


Middlewares are blocking each other

Either i am missing something here or any middleware in express is blocking the middleware that follows.
Example:
var express = require('express');
var app = express.createServer();
var util = require('util');

app.use(
    function (req, res, next) {
       util.log('--- custom middleware ---');
       next();
       return;
    },
    express.logger()
);

app.get('/', function(req, res){
    res.send('Hello World');
});

console.log('Port: 3000');
app.listen(3000);

Execute that script, open up http://localhost:3000 with your browser and you will see in your console an new line containing something like:
<date> - --- custom middleware ---

But there is no line generated by the logger() middleware of express. When you turn them around (first logger(), then the custom middleware) then you will see in your console an apache access.log style entry but no "custom middleware" after that.
I discovered the same behaviour with the combination of logger() and bodyParser().
var express = require('express');
var app = express.createServer();
var util = require('util');

app.use(
    express.bodyParser(),
    express.logger()
);

app.post('/', function(req, res){
    res.end('viewing user ' + req.body.user.name);
});

console.log('Port: 3000');
app.listen(3000);

Do i have to call them differently?
Node version: 0.6.1
Express version: 2.5.0 (latest NPM)

I just saw that only Express 3 is supporting Node 0.6.*
Just to check i installed node v0.4.12 and tried it again ..still same behaviour

Great ..it actually was a layer 8 problem :)
Thanks for pointing it out! Somehow i thought it works the same way as createServer()

it used to, you may have seen it floating around in a tutorial or something. In 2.x createServer() doesn't accept any at all, it's not as flexible as .use() so IMO there's no point to have it


chore: Update NR versions in Docker containers (3.1.15 & 4.0.6)

Description

Bump to 3.1.15 and 4.0.6
Related Issue(s)

Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Includes a DB migration? -> add the area:migration label

re-run tests when containers available


Updates setup dependencies and iotrace cli syntax

Hello @mariuszbarczak! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tests/functional/test_trace_io_events.py:

Line 32:17: E128 continuation line under-indented for visual indent
Line 33:17: E128 continuation line under-indented for visual indent
Line 45:80: E501 line too long (81 > 79 characters)
Line 46:36: E128 continuation line under-indented for visual indent
Line 46:80: E501 line too long (83 > 79 characters)
Line 59:80: E501 line too long (82 > 79 characters)
Line 60:80: E501 line too long (94 > 79 characters)
Line 70:80: E501 line too long (81 > 79 characters)
Line 71:80: E501 line too long (93 > 79 characters)
Line 81:80: E501 line too long (84 > 79 characters)
Line 82:80: E501 line too long (84 > 79 characters)
Line 108:25: E128 continuation line under-indented for visual indent
Line 108:80: E501 line too long (86 > 79 characters)
Line 110:25: E128 continuation line under-indented for visual indent
Line 118:25: E128 continuation line under-indented for visual indent
Line 118:80: E501 line too long (86 > 79 characters)
Line 123:29: E131 continuation line unaligned for hanging indent
Line 128:78: E211 whitespace before '('
Line 130:80: E501 line too long (90 > 79 characters)
Line 131:56: E211 whitespace before '('
Line 133:36: E127 continuation line over-indented for visual indent
Line 133:80: E501 line too long (91 > 79 characters)
Line 138:80: E501 line too long (94 > 79 characters)
Line 141:32: E211 whitespace before '('
Line 146:80: E501 line too long (83 > 79 characters)
Line 148:80: E501 line too long (80 > 79 characters)
Line 150:80: E501 line too long (94 > 79 characters)
Line 151:80: E501 line too long (88 > 79 characters)
Line 153:80: E501 line too long (90 > 79 characters)
Line 156:80: E501 line too long (88 > 79 characters)
Line 158:80: E501 line too long (81 > 79 characters)
Line 160:80: E501 line too long (96 > 79 characters)
Line 161:80: E501 line too long (89 > 79 characters)
Line 163:80: E501 line too long (92 > 79 characters)
Line 166:80: E501 line too long (90 > 79 characters)
Line 168:80: E501 line too long (83 > 79 characters)
Line 170:80: E501 line too long (100 > 79 characters)
Line 171:80: E501 line too long (91 > 79 characters)
Line 173:80: E501 line too long (96 > 79 characters)
Line 176:80: E501 line too long (94 > 79 characters)
Line 178:80: E501 line too long (81 > 79 characters)
Line 180:80: E501 line too long (96 > 79 characters)
Line 181:80: E501 line too long (89 > 79 characters)
Line 183:80: E501 line too long (92 > 79 characters)
Line 186:80: E501 line too long (90 > 79 characters)

In the file tests/utils/iotrace.py:

Line 125:80: E501 line too long (105 > 79 characters)
Line 136:80: E501 line too long (140 > 79 characters)