Account being blocked when having multiple sessions

Hey @iSarabjitDhiman Im trying to scrape data, but every 11-12 requests to get_user_data() and get_user_id() the account gets blocked. I created 2 session ids based on the same account, with a max_requests of 9, and only limit my results to 20 of them, and yet it gets blocked, any recomendations? thanks!
insta = InstaGPy(
    use_mutiple_account=True,
    session_ids=session_ids_lst,
    max_requests=9)

Later on it gets only 20 results of followers info, but it gets blocked and the 11-12 request done to get all the user info such as email and phone number, dont understand why if followed your recomendation.

Hey @iSarabjitDhiman Im trying to scrape data, but every 11-12 requests to get_user_data() and get_user_id() the account gets blocked. I created 2 session ids based on the same account, with a max_requests of 9, and only limit my results to 20 of them, and yet it gets blocked, any recomendations? thanks!
insta = InstaGPy(
    use_mutiple_account=True,
    session_ids=session_ids_lst,
    max_requests=9)

Later on it gets only 20 results of followers info, but it gets blocked and the 11-12 request done to get all the user info such as email and phone number, dont understand why if followed your recomendation.

Yes, I understand what you mean. Even I myself face the same issue. I believe its instagram api limits.
Here is how I tackle this :

I use minimum 3 session Ids. If I use 2, I get blocked after 10-11 requests as you mentioned. You can use more than 3 for better results.
I shuffle the session after 7-11 requests. Set config.MAX_REQUESTS = 11 or 10 and config.MIN_REQUESTS = 7 or 6
You can also try adding some sleep time between each request.

I will update the code soon if I get to know the instagram rate limits.

@iSarabjitDhiman So if i want to inspect like 10k followers, 3 session ids is more than enough?

@iSarabjitDhiman So if i want to inspect like 10k followers, 3 session ids is more than enough?

Yes, should be enough. I usually get away with 3-4 sessions. I easily get around 25-40k followers with 3 sessions. Make sure to modify the code to add 2-4 seconds sleep time after each request.

@iSarabjitDhiman So if i want to inspect like 10k followers, 3 session ids is more than enough?

Yes, should be enough. I usually get away with 3-4 sessions. I easily get around 25-40k followers with 3 sessions. Make sure to modify the code to add 2-4 seconds sleep time after each request.

Should i modify your source code? or my code?

@iSarabjitDhiman So if i want to inspect like 10k followers, 3 session ids is more than enough?

Yes, should be enough. I usually get away with 3-4 sessions. I easily get around 25-40k followers with 3 sessions. Make sure to modify the code to add 2-4 seconds sleep time after each request.

Should i modify your source code? or my code?

The source code. I am planning to do it, but I am working on a project at the moment. I won't be able to do it until the next weekend.
Well you can also try without the sleep time, I remember there should be some sleep time in the shuffle_session function while using multiple sessions.
But if it still doesnt work for you. Add sleep time after each request.
To be honest, the code needs modification, I also forgot to include the cusor_endpoint on data return. If you can wait for like 4-5 days(or maybe less), thats great.

OK cool @iSarabjitDhiman I also will try changing user agents if possible, is there any specific norm to set user agents? in order to be more masked?

Well, you can try using mobile app user agents. You may also want to update the other headers as well. The more you do is less. Instagram is way too smart while detecting these robots.

ok @iSarabjitDhiman Just read the code, but dont know where to start modifying, will you provide an update soon?

ok @iSarabjitDhiman Just read the code, but dont know where to start modifying, will you provide an update soon?

Yes I will as soon as I finish working on my current project.

@iSarabjitDhiman ok, will be updated!

@iSarabjitDhiman Im solving the code and if I find the solution, will submit a pull request, the problem is that i keep getting an error called: requests.exceptions.TooManyRedirects: Exceeded 30 redirects. Do you have something I can use to solve the problem? as for my investigation, it has to be with the headers


OP-22198 : Fixed KubernetesCredentialsTest UTs

Summary :
Before this change : clouddriver-kubernetes 724/732 TC passed
After this change : clouddriver-kubernetes 733/733 TC passed
Testing : Compile successful, KubernetesCredentialsTest 14/14 UTs passed
Note : @nemesisOsorio need to confirm whether we need to keep this change or not.

Tagging @kirangodishala and @yugaa22 because they authored those changes
https://github.com/OpsMx/clouddriver-oes/commit/dac7ed0257072b4ca1706f584201fdc919858b40
If we are not sure why those changes were made, I prefer to keep OSS changes

Closing the PR as change is for some purpose & we are not reverting it.
cc : @kirangodishala


Upgrade google-cloud-bigtable 1.6.0 from 0.109.0: BulkMutationBatcher removed

When I tried to upgrade google-cloud-java version to 0.119 (https://github.com/googleapis/java-bigtable-hbase/pull/2332), the compilation failed for BulkMutationGCJClient.java because google-cloud-bigtable 1.6.0 does not have com.google.cloud.bigtable.data.v2.models.BulkMutationBatcher any more.

Can somebody fix this?

@rahulKQL @kolea2 (got your name from https://github.com/googleapis/google-cloud-java/pull/6309)

Hey @suztomo, we are currently working on upgrading the bigtable dependency in a different branch: https://github.com/googleapis/java-bigtable-hbase/blob/bigtable-client-2.x/pom.xml#L62

Great. I see that google-cloud-bom:0.116.0-alpha https://search.maven.org/artifact/com.google.cloud/google-cloud-bom/0.116.0-alpha/pom has 1.5.0. Nice.
      <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>google-cloud-bigtable</artifactId>
        <version>1.5.0</version><!-- {x-version-update:google-cloud-bigtable:current} -->
      </dependency>

Looking forward to the release.

This should be fixed in 1.13.0, which updated javabigtable-client-core to depend on the latest version of java-bigtable

@igorbernstein2 @kolea2 Now Apache Beam uses bigtable-client-core 1.13.0. Thank you for the upgrade and release.
https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L458


ReflectionType::__toString() is deprecated

Running PHPUnit 6.5.14 in PHP 7.4, generate the following error when using createMock
Function ReflectionType::__toString() is deprecated

I wonder if this library could patch this issue.
PHPUnit issue https://github.com/sebastianbergmann/phpunit/issues/3728

For more context, here is the PR where I found the issue https://github.com/google/web-stories-wp/pull/8264
It seems to be an issue, with methods having return type hints + reflection.

@spacedmonkey This is not an issue which this library will or should fix, as it is an issue caused by a wrong test setup configuration.
The whole point of the polyfills is that you can use the modern, PHPUnit 9.x assertions and expectations (and fix the void issue), but can still run your tests on the most appropriate (and supported) PHPUnit version for the PHP version on which you are running the tests.
In short: you should not be running PHPUnit 6.x on PHP 7.4. You should be using PHPUnit 8.x or 9.x, which are both supported for PHP 7.4. You could even use PHPUnit 7.x, which will also fix this, even though not officially supported on PHP 7.4.

Source: https://phpunit.de/supported-versions.html
Looking at the repo you linked to, there are two things I can see:

You have a committed composer.lock file via which you are managing your dependencies, including your dev dependencies like PHPUnit.
You are running tests in the context of WordPress, which limits the test running to PHPUnit 5.x - 7.x.

To fix this with that context in mind:

Either "lock" PHPUnit at PHPUnit 7.x and downgrade the PHPUnit version in your CI script for the test run against PHP 7.0.
Or keep the lock at PHPUnit 6.x and upgrade the PHPUnit version in your CI script for any test runs on PHP >= 7.4.

To limit the update to just PHPUnit (and its dependencies), you can use a pattern like so (for the second option listed above):
composer require --dev phpunit/phpunit:"^7.5" --update-with-dependencies --ignore-platform-reqs

You're basically now trying to fit a square block into a round hole.

@spacedmonkey Just checking: did my answer clarify things enough for you ? Can this issue be closed ?

Closing for lack of reply.

We worked around this issues, but patching PHPUnit 6.x to run in PHP 7.4. It makes everything a lot simpler, as means we can run PHP 6.x everywhere and it just works.

I presume you mean PHPUnit 6.x ? PHP 6.x was never released.


Added my description and image to the cs24 site (Sanjana Shankar)

Added my personal description and image (Sanjana Shankar)


Fixes variable naming in FileSystemDock

In editor/filesystem_dock.{h,cpp}, the ScriptCreateDialog pointer variable's name doesn't match the convention used by nearby variables:
https://github.com/godotengine/godot/blob/d711c57d767734887fbf0955a7b9902c54498a0d/editor/filesystem_dock.h#L133-L144
_text is a postfix used by LineEdits, and a _dialog postfix denotes various dialogs here. The make_script_dialog_text variable on Line 143 breaks this rule.

Thanks!


Alt+Shift+3 behaves weirdly

Windows Terminal version (or Windows build number)
10.0.19041.985
Other Software
WSL 1 & 2
Steps to reproduce

Open WSL
Write "qwertyuiop" in the command line
Press ← 5 times.
Press Alt+Shift+3
Press q 10 times.

Expected Behavior
I expect the current input being commented when I press Alt+Shift+3
Actual Behavior
You will see something like this:

The 'q's overlap the prompt.

Please see this issue where I originally reported the bug: https://github.com/microsoft/WSL/issues/6989

10.0.19041.985

Okay, that's important to note. I'm not seeing this locally, but I'm on a much much newer build than that. I'm wondering if this is some VT sequence that bash is emitting that we've fixed since then. @j4james anything come to mind?
An easy way to test might be to install the Windows Terminal and try this again in that. The Terminal has an up-to-date version of the console shipped in it, that might be an easy sanity check.

@zadjii-msft https://github.com/microsoft/WSL/issues/6989#issuecomment-849962191

Alt+Shift+3 seems to insert a bell character instead. Apart from that in the windows terminal everything works as expected.
Running wsl.exe in cmd leads to the same symptoms (the 'q' overlaps the prompt again).
I had Ubuntu-20.04, so I installed Ubuntu. Same problem.
I started to suspect it is just the fault of the cmd, so I run cmd and tried the same without wsl, but this insert the '·' character.
I doubt this is related, but I am using the Spanish keyboard layout:

I don't think it's a VT sequence - it looks like it's got something to do with the UTF-8 parsing. What's happening is that bash is outputting the byte 0xA3 at the point the Alt+Shift+3 is typed. On the old version of conhost (build 18363 of Windows for me) that byte was simply dropped. On the current version of OpenConsole it is output as an error glyph.
And when you're inserting characters into the middle of a line in bash, it updates the display by backspacing over the characters that were previously output, and then writing out the new ones. In this case it ends up backspacing too far, because it was expecting the 0xA3 to have occupied one cell rather than being dropped.
Simple test case: printf "*\xA3*\n"
On the old version of conhost that outputs **. On the latest version you get *�* (or something of that sort).

@adriancuadrado @j4james are you still seeing this issue?
We just tested it and (in the great words of software development) "it works on my machine". Closing this for now, but if you're still experiencing it, let me know and I'll gladly reopen it. :)

@carlos-zamora It's still broken on my inbox conhost (now on version 10.0.19044.2006 of Windows), and still working in OpenConsole. So whatever the fix was, it clearly hasn't made it to my version of Windows 10. And I was under the impression you're only releasing conhost updates for Windows 11 now, so I suspect it may never be fixed.

My Windows 10 build version is 19043.2130 and I still have the same problem.

The thing that's most surprising to me is that I can't reproduce this on any of the following console versions:

Version
Does Alt+Shift+3 Work?

10.0.17134.1
✅

10.0.17763.1
✅

10.0.18362.1
✅

10.0.19041.1
✅

10.0.22000.1
✅

10.0.22621.1
✅

OpenConsole at v1.17.2982.0
✅

Are either of you using a non-US keyboard layout? I wonder if something is triggering "number pad event synthesis" and resulting in a numpad event like Alt + 1 2 3...

Are either of you using a non-US keyboard layout?

Yeah, sorry I should have mentioned that. I'm using a UK keyboard.
But note that that's only half the problem. Regardless of what keyboard you're using, I would expect that the printf "*\xA3*\n" test case I mentioned above to be generating 3 cells of output. That's correct in OpenConsole but not in my current inbox conhost.

@DHowett I am using the Spanish keyboard layout.

 It's been like two years now - is this still happening/?

If you're referring to the weird q overwriting thing, that's still reproducible for me on Windows 10 build 19045.4170, but I assumed the Windows 10 conhost wasn't being updated anymore, so that's to be expected. It works fine in the latest OpenConsole (and that's been the case for years). I assume the conhost on Window 11 would be fine as well.

Well, good enough for me. Sorry for losing this one!


LfMerge build produces container instead of .deb files

Closes #185.
The basic way this works is that the debian/rules file (a Makefile that has to have specifically-named targets for the Debian build process to process it) is converted to a shell script. It puts the compilation results into place in a tarball directory, which is then copied into a new Docker image.
Roadmap for this PR before I mark it ready for review:

[x] Test the built lfmerge container locally
[x] Edit GHA workflow to push the built container to Docker Hub

This change is

@longrunningprocess I had a conversation in the office with @rmunn about his PR and your review. Thank you for your feedback and giving this review a go. In the interest of Robin moving forward on this project (there are a number of PRs waiting on this one) I agreed he should go ahead and merge without waiting for you to wake up and approve the PR.

understood


fix: not call entity detection callback after non-terminal action

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support embed audios

Maybe use the obsidian embed style.
![[audio.mp3]]

Note about anki supported format
https://docs.ankiweb.net/media.html#supported-formats


i can't get the simple example to work

i keep getting this error
2020/09/07 04:45:04 [verbose] telebot: sent request
Method: getMe
Params: null
Response: {
"ok": false,
"error_code": 404,
"description": "Not Found"
}
2020/09/07 04:45:04 telegram: Not Found (404)
exit status 1
exited: exit status 1
i just copied an past the example code to test it first

Probably, your token is invalid

no is not i have verified iti


txn: check should_not_exist flag for Flush

What is changed and how it works?

Issue Number: ref #16291

What's Changed:
Check should_not_exist flag for Flush, even when the lock is written by current transaction itself.

This is for the case:
TiDB flush key K.
TiDB do membuffer.CheckMemExist(K) and gets ErrNotFound because the key is flushed to TiKV.
In vanilla TiDB it is able to know that the key has been written by membuffer.Get(K),
but for pipelined DML it is too expensive to do a membuffer.Get because it involves a RPC.

To compensate, in this case we let TiDB attach a PresumeNotExist flag to the mutation.
In the next Flush, the should_not_exist flag is attached,
and during the Flush we detect that the value is written before and return an AlreadyExist error.

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

/erge

/merge

/test


python311Packages.python-telegram-bot: 21.1 -> 21.1.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.python-telegram-bot is: Python library to interface with the Telegram Bot API
meta.homepage for python311Packages.python-telegram-bot is: https://python-telegram-bot.org
meta.changelog for python311Packages.python-telegram-bot is: https://github.com/python-telegram-bot/python-telegram-bot/blob/v21.1.1/CHANGES.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 21.1.1 with grep in /nix/store/l3jr70v1vizqz1c7n0w14y9xmk4xvffx-python3.11-python-telegram-bot-21.1.1
found 21.1.1 in filename of file in /nix/store/l3jr70v1vizqz1c7n0w14y9xmk4xvffx-python3.11-python-telegram-bot-21.1.1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

errbot
python311Packages.python-telegram-bot
python312Packages.python-telegram-bot

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l3jr70v1vizqz1c7n0w14y9xmk4xvffx-python3.11-python-telegram-bot-21.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.python-telegram-bot https://github.com/r-ryantm/nixpkgs/archive/51d2aba8e90fb141c0aeed9bdbfe8da9e72b6876.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/51d2aba8e90fb141c0aeed9bdbfe8da9e72b6876#python311Packages.python-telegram-bot

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l3jr70v1vizqz1c7n0w14y9xmk4xvffx-python3.11-python-telegram-bot-21.1.1
ls -la /nix/store/l3jr70v1vizqz1c7n0w14y9xmk4xvffx-python3.11-python-telegram-bot-21.1.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

6 packages built:

errbot
errbot.dist
python311Packages.python-telegram-bot
python311Packages.python-telegram-bot.dist
python312Packages.python-telegram-bot
python312Packages.python-telegram-bot.dist

Maintainer pings
cc @veprbl @pingiun for testing.

@ofborg eval

Result of nixpkgs-review pr 305604 run on aarch64-darwin 1

4 packages built:

python311Packages.python-telegram-bot
python311Packages.python-telegram-bot.dist
python312Packages.python-telegram-bot
python312Packages.python-telegram-bot.dist


Improve cross-platform compatibility in generated test script

This pull request contains some adjustments to the test/run script that is created when a new source-2-image project is bootstrapped using s2i create to make it work on both Linux and OSX. The nginx-centos7 example has been adjusted with the same changes. Additionally, it removes the "file://" uri which breaks the test as well.

thanks @joyrex2001
[merge]


Improvement of signup page

Is your feature request related to a problem? Please describe.
Sign up page is not looking attractive.
Describe the solution you'd like
I want to change background, add icons to input fields and add some other CSS features to make it attractive.
Additional context
I am SSOC'24 contributor.
Please assign me this issue.

@harinisayani okay go ahead css class should be hierarchical


Uncaught ReferenceError when running code cell

Attempting to run a cell of a Python 2.7 script results in the following error, the full stack trace of which is below. Running code in non-cell mode still works fine. I'm prompted to check for a package update, but I'm already running the latest version. I tried uninstalling and reinstalling hydrogen with the same result. Any suggestions?
Atom Version: 1.9.7
System: Mac OS X 10.10.5
Thrown From: hydrogen package, vundefined
Stack Trace
Uncaught ReferenceError: _ is not defined
At /Users/dnowacki/.atom/packages/hydrogen/lib/code-manager.coffee:160

ReferenceError: _ is not defined
    at CodeManager.module.exports.CodeManager.isComment (/Users/dnowacki/.atom/packages/hydrogen/lib/code-manager.coffee:160:16)
    at CodeManager.module.exports.CodeManager.getCurrentCell (/Users/dnowacki/.atom/packages/hydrogen/lib/code-manager.coffee:104:41)
    at Object.module.exports.Hydrogen.runCell (/Users/dnowacki/.atom/packages/hydrogen/lib/main.coffee:324:37)
    at atom-text-editor.subscriptions.add.atom.commands.add.hydrogen:run-cell (/Users/dnowacki/.atom/packages/hydrogen/lib/main.coffee:54:38)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -1:21.8.0 hydrogen:run-cell (atom-text-editor.editor)
  2x -1:09.3.0 hydrogen:run-and-move-down (atom-text-editor.editor.is-focused)
     -0:59.6.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -0:59.3.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:58.9.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
  3x -0:58.1.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:57.3.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -0:53.5.0 hydrogen:run-and-move-down (atom-text-editor.editor.is-focused)
     -0:45.1.0 core:move-down (atom-text-editor.editor.is-focused)
  2x -0:44.6.0 core:select-up (atom-text-editor.editor.is-focused)
     -0:43.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:40.8.0 hydrogen:run-and-move-down (atom-text-editor.editor.is-focused)
     -0:37.5.0 hydrogen:run-cell (atom-text-editor.editor.is-focused)
     -0:02.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:00.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.0 hydrogen:run-cell (atom-text-editor.editor)

Config
{
  "core": {}
}

Installed Packages
# User
Hydrogen, v0.12.1 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.51.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (active)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (active)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.0 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.0 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (active)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
find-and-replace, v0.198.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.64.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.0 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.46.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.98.0 (active)
timecop, v0.33.1 (active)
tree-view, v0.208.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.32.2 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.36.2 (active)
language-gfm, v0.86.0 (active)
language-git, v0.13.0 (active)
language-go, v0.42.0 (active)
language-html, v0.44.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.22.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.0 (active)
language-less, v0.29.3 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.0 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.68.5 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.52.0 (active)
language-shellscript, v0.22.3 (active)
language-source, v0.9.0 (active)
language-sql, v0.21.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.8 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Thanks for reporting. We just released v0.12.2 to fix this.

Now that's service! Thanks.


backgroundBlendMode: BlendMode.clear is rendered as black instead of transparent using AndroidSurfaceView

Steps to Reproduce

upgrade flutter version 3.3.1 from 2.x.x
in my code BlendMode.clear is black
but in version 2.x.x BlendMode.clear is transparent

Expected results:
transparent
Actual results:
black

Code sample
https://www.dartpad.dev/?id=e75b493dae1287757c5e1d77a0dc73f1
@override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      backgroundColor: Colors.orange,
      body: Stack(
        children: [
          Container(
            decoration: const BoxDecoration(
              color: Colors.red,
            ),
            width: 800,
            height: 600,
          ),
          Container(
            decoration: const BoxDecoration(
              color: Colors.blue,
            ),
            width: 400,
            height: 300,
          ),
          Container(
            decoration: const BoxDecoration(
              color: Colors.green,
              backgroundBlendMode: BlendMode.clear,
            ),
            width: 100,
            height: 100,
          ),
        ]
      ),
    );
  }

Logs

@lidaweicn
Thanks for the report. I do see same behavior on latest stable and master version of framework as you reported.
Although, can you provide the exact 2.x.x version on which you see the expected behavior ?
I tried on 2.10.0 but I still see same behavior. I am trying to see if this is a regression.

Sme problem here.

@MaxmaxB
Can you provide the flutter version on which you see transparent ?
I verified on 2.10.0 and 2.8.0, but there I see it as black.

@lidaweicn Thanks for the report. I do see same behavior on latest stable and master version of framework as you reported. Although, can you provide the exact 2.x.x version on which you see the expected behavior ? I tried on 2.10.0 but I still see same behavior. I am trying to see if this is a regression.

Sorry! It was my mistake. I think it is other issues.
Maybe AndroidViewSurface.
flutter 3.3.3 remove params clipBehavior.

My test code
dart:

import 'dart:io';

import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:permission_handler/permission_handler.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final MethodChannel _channel = const MethodChannel("hybrid-view-scanner-channel");

  @override
  void initState() {
    super.initState();

    Permission.camera.request().isGranted.then((granted) {
      if (kDebugMode) {
        print(granted);
      }
    });

  }

  @override
  void dispose() {
    _channel.setMethodCallHandler(null);
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Stack(
      alignment: Alignment.center,
      children: [
        Scanner(),
        Container(
          width: 300,
          height: 400,
          decoration: const BoxDecoration(
            color: Color(0x66FFFFFF),
          ),
        ),
        Container(
          width: 200,
          height: 200,
          decoration: const BoxDecoration(
            color: Color(0x66FFFFFF),
            backgroundBlendMode: BlendMode.clear,
          ),
        ),
      ],
    );
  }
}

class Scanner extends StatelessWidget {
  final String viewType = "hybrid-view-scanner";
  final Map<String, dynamic> creationParams = <String, dynamic>{};

  Scanner({Key? key}) : super(key: key);

  @override
  Widget build(final BuildContext context) {
    if (Platform.isIOS) {
      return UiKitView(
        viewType: viewType,
        layoutDirection: TextDirection.ltr,
        creationParams: creationParams,
        creationParamsCodec: const StandardMessageCodec(),
      );
    } else if (Platform.isAndroid) {
      return PlatformViewLink(
        viewType: viewType,
        surfaceFactory: (final BuildContext context,
                        final PlatformViewController controller) {
          return AndroidViewSurface(
            controller: controller as AndroidViewController,
            gestureRecognizers: const <Factory<OneSequenceGestureRecognizer>>{},
            hitTestBehavior: PlatformViewHitTestBehavior.opaque,
          );
        },
        onCreatePlatformView: (final PlatformViewCreationParams params) {
          return PlatformViewsService.initSurfaceAndroidView(
            id: params.id,
            viewType: viewType,
            layoutDirection: TextDirection.ltr,
            creationParams: creationParams,
            creationParamsCodec: const StandardMessageCodec(),
          )
            ..addOnPlatformViewCreatedListener(params.onPlatformViewCreated)
            ..create();
        },
      );
    }
    throw("Unimplemented platform ${Platform.operatingSystem}");
  }
}

android:
MainActivity.kt
package com.example.test_app

import com.example.scanner.NativeViewFactory
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine

class MainActivity: FlutterActivity() {
  override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
    super.configureFlutterEngine(flutterEngine)
    flutterEngine.platformViewsController.registry.registerViewFactory(
      "hybrid-view-scanner",
      NativeViewFactory(
        this,
        flutterEngine.dartExecutor.binaryMessenger,
        "hybrid-view-scanner-channel",
      ),
    )
  }
}

NativeViewFactory.kt
package com.example.scanner

import android.content.Context
import android.app.Activity
import android.view.View
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory

internal class NativeViewFactory(
  val activity : Activity, val messenger : BinaryMessenger, val channelName : String
) : PlatformViewFactory(StandardMessageCodec.INSTANCE) {
  override fun create(context: Context, id: Int, args: Any?): PlatformView {
    return NativeView(activity, messenger, channelName)
  }
}

NativeView.kt
package com.example.scanner

import android.app.Activity
import android.content.Context
import android.graphics.Color
import android.util.Log
import android.view.View
import android.widget.TextView
import com.google.zxing.ResultPoint
import com.journeyapps.barcodescanner.BarcodeCallback
import com.journeyapps.barcodescanner.BarcodeResult
import com.journeyapps.barcodescanner.BarcodeView
import io.flutter.embedding.engine.plugins.activity.ActivityAware
import io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.platform.PlatformView

internal class NativeView(
  val activity: Activity,
  val messenger : BinaryMessenger,
  val channelName : String
) : PlatformView {
  val barcodeView: BarcodeView
  val channel: MethodChannel

  override fun getView(): View {
    return barcodeView
  }

  override fun dispose() {
    barcodeView.pause()
    channel.invokeMethod("onDisposed", null)
  }

  init {
    channel = MethodChannel(messenger, channelName)
    barcodeView = BarcodeView(activity)
    barcodeView.decodeContinuous(
      object : BarcodeCallback {
        override fun barcodeResult(result: BarcodeResult) {
          channel.invokeMethod(
            "onRecognizeQR",
            listOf(result.text,
                   result.getResult().getBarcodeFormat().toString()),
          )
        }
        override fun possibleResultPoints(resultPoints: List<ResultPoint>) {}
      }
    )
    barcodeView.resume()
  }
}

Test results:
flutter 3.3.3

flutter 2.10.5

Thanks for the update.
Can you try with AndroidView instead of AndroidSurfaceView and see if you still get same behavior ?
https://api.flutter.dev/flutter/widgets/AndroidView-class.html

Thanks for the update. Can you try with AndroidView instead of AndroidSurfaceView and see if you still get same behavior ? https://api.flutter.dev/flutter/widgets/AndroidView-class.html

@darshankawar
AndroidView is still black and is also black with flutter 2.10.5

This problem still not fixed yet. Flutter 3.7.9.

Note that this problem also appears on iOS platforms.

I also encountered the same problem in flutter 3.13.6

I also encountered the same problem in flutter 3.13.6

I solved it
Please refer to this link：https://stackoverflow.com/a/67337378/16572860

Same problem. v3.24.1

still an issue. 3.24.3


Handle overlapping text in order book

We currently get over lapping text in the order book when its set to a high level of precision. We should add some css to handle overflow with an ellipsis
Seen on: https://stagnet1.console.vega.xyz/markets/18d2ff3b7aa9ac6403804487015a2cc8eefdb91a367ca8213e7ae81836576f45

Tasks

[ ] Truncate text with an ellipsis
[ ] Ensure resizing the order book can show the full value

white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
direction: rtl;
text-align: right;


Update AMD and NVIDIA RNN benchmarks to use *RNNForwardInference instead of *RNNForwardTraining

As discussed in #114 , the standalone AMD and NVIDIA inference passes for the RNN benchmark use *RNNForwardTraining, which is only required when training is also going to be run.  This change modifies the AMD and NVIDIA RNN benchmarks to use *RNNForwardInference instead, which the cuDNN and MIOpen documentation indicate is the appropriate/sufficient call to use for inference-only passes.
I tested this locally, and they pass.  They also usually see small improvements (5% or less for the ones I spot checked) by avoiding storing the intermediate data required for training.
For the AMD code, I needed to include rocBLAS in the Makefile path to get it to compile gemm when I was re-making everything.  I suspect this is only required if rocBLAS is installed in a non-standard location (i.e., other than /opt/rocm), but I don't have the ability to test this so I included it as a separate commit in case others come across this problem.  I can break this out into a separate pull request if people prefer that.

@sharannarang, @newshaa: I'm not able to add reviewers, just checking what the best next step is?


[AutoComplete] Proxy focus/blur calls to refs.searchTextField

Allows focusing/blurring auto-complete text input, nice for e.g. search
toggles.

How about using https://github.com/alitaheri/react-warpgate for this? I'm going to make a demo, might not be a bad idea to use this component for that. Lets hold this PR for a day or two

This can be merged for now. I mean even if we do use wargpgate, the API won't change. so this won't be breaking. it's good to have it for now :+1:
@callemall/material-ui Feel free to merge if it's good :+1:
Thanks a lot @pdf

Cheers :sunglasses:


Add tests for multi-node control-plane cluster

Assignee is Mishavint

Created by bissquit at 2023-04-26T12:11:32Z


Add container to schema class

Hello,
Firsts of all, thx for the bundle.
I would like to use the container in order to call some of my services to build the schema class.
I have a service who create on the fly the crud fields for all my entity in AppBundle\Entity.
I would like to call it this way:
<?php

namespace AppBundle\GraphQL;

use AppBundle\GraphQL\Mutation\LoginField;
use AppBundle\GraphQL\Query\ViewerField;
use Youshido\GraphQL\Config\Schema\SchemaConfig;
use Youshido\GraphQL\Schema\AbstractSchema;

class Schema extends AbstractSchema
{
    public function build(SchemaConfig $config)
    {
        $readQueries = $this->container->get('AppBundle\Service\ApiQueryFactory')->getReadQueries();
        $queries = array_merge($readQueries, [
            new ViewerField()
        ]);

        $crudMutations = $this->container->get('AppBundle\Service\ApiMutationFactory')->getCrudMutations();
        $mutations = array_merge($crudMutations, [
            new LoginField()
        ]);

        $config->getQuery()->addFields($queries);
        $config->getMutation()->addFields($mutations);
    }
}

Is someone got any idea ? I just wanna be able to use the container in the Schema class :)
Thx again for the bundle :)

My bad, i just need to create the Schema class as a service :)
I close this ;)


Replacing CapnP with gRPC for http package

CapnP package is deprecated and should be removed. We need to replace CapnP with gRPC in http package:
https://github.com/pactus-project/pactus/blob/58c9045d1b0bc195ab91fc96e5aeb5fa9bb84e6e/www/http/server.go#L24

Is help still wanted for this?

@braewoods Yes, Please.We have also Bounty for this issue. Check here


Debugger does not display variables after step over remote call

Debugger does not display variables after step over remote call.
The issue can occur with step into as well, but I get it more consistently with step over.

Vscode 1.92.2 over ssh to RHEL server
OpenEdge ABL v1.9.23 (pre-release)

screenshot before step over

screenshot after step over
**Note that the line in the call stack is no longer selected. **
After manually selecting the line the variables are shown.

I did a quick test, and didn't run into any issue. It will be easier to investigate with traces. Can you enable "Debug Adapter Debug" and "Debug Adapter Trace" in the extension settings ?

Then execute the debugger session, and send me the files generated by the Debug Adapter.

@gquerret I had to terminate some java processes holding my debug port and restarted the language server.
Now I cannot reproduce this anymore.
I'll close the issue and re-open if I can provide more details

I have a problem with a for each within a for each:
Values of fields of the table of the first for each are showing, but values of the fields of the second table are not showing.
See the attach

ed file

@M0rr155 Please open a new issue, that issue was closed and is on a different topic.
Do you see the values in the buffer list (in the variables view, just about the watch view) ?

vscode-debug-adapter.txt
vscode-debug-adapter-trace.txt


Countdown Component

Hello,
I was testing countdown component and i found out that some values are printing wrong.
Example:
Date is 9/19/2020 6:57pm right now.
My code is:

Output is:

It should be
60 Days
05 Hours
01 Mins
06 Secs
If i change my code to:

Output is:

and this is correct.
I want to learn if i do anything wrong in my code but i don't think so. Is that a bug? I am looking forward for your answer.
Thanks.
Regards.

use date format mm/dd/yyyy

use date format mm/dd/yyyy

I am already using it like that or did i get you wrong? @olton
data-date="11/20/2020"
isn't it mm/dd/yyyy?

one more example
This is correct:

This is wrong:

it should be 10 hours. but 0 and 1 changes places.

Thank you. It's strange. This bug appears for any month on the 19th :0

Thank you. It's strange. This bug appears for any month on the 19th :0

not 19th of the month actually.
Something strange is happening when 0 comes near any number. whether it is days, hours, minutes or seconds.
10
20
30
40
50
...

These are appears as:
01
02
03
04
05
...

and so on

Thanks, bug confirmed in a draw function.

Fixed in 4.4.0, Please check it...

Done! Thanks @olton


the program just freezes and the only thing i can do is drag it around

Describe the bug
the program just freezes and the only thing I can do is drag it around
To Reproduce
Steps to reproduce the behavior:

view some folders
click on properties
exit properties
window stuck

Expected behavior
to work normal I think
Screenshots
it's just stuck like normal but not working so there is no what to screenshot
Desktop (please complete the following information):

OS Version: Windows 10 2004]
App version: v0.14

Additional context
restarted the program now it's working again normal
Log file
debug_fulltrust.txt

@TomerGamerTV Does this occur when closing the Properties window in a particular way? Like by the close button, or the X caption button only?

@TomerGamerTV Does this occur when closing the Properties window in a particular way? Like by the close button, or the X caption button only?

The x button I think oh and plus I found some other real crashes
The program crashing then I'm trying to move big files or view them

@TomerGamerTV The issue you mentioned with moving large files might have been fixed with the reliability improvements we're making to storage item operations including paste. I would suggest reproducing the issue in the latest preview, and if you encounter a crash, open a new issue with the debug log attached. Also please follow #632 for updates on that one.

This issue should be resolved with #2045.


I downloaded SEED dataset but in that dataset there is no file titled as "DE_data_all_corrected.mat"

Let me know how to get DE_data_all_corrected.mat

Hey, have you run the matlab script present in the repo on the downloaded dataset?


Add Text concatenation via + operator

Text("This text is ") + Text("concatenated").bold()

results in:

This text is concatenated

(Text("This text is ") + Text("concatenated").bold())
  .italic()

results in:

This text is concatenated

@MaxDesistov do you know why the operator is not included with the typealias? I don’t understand why that would be...

IDK, maybe because it's defined in an extension? Although I thought all public members of extensions get exported through typealiases. Maybe I'm missing something, need to have a closer look to say for sure.


pypy compatibility

(uncertain if this is even possible)
It would be nice if this could be made compatible with pypy - which does not support getrefcount.
I'm trying to use gitpython/gitdb with pyp.
Thanks
Mark

Thanks for the information.
As getrefcount() caused and is causing a lot of troubles, as it appears to be somewhat unpredictable, I will have to remove it and implement an own refcounting mechanism. The maintenance is already scheduled, and should (ideally) happen within this month.
Cheers,
Sebastian

Thanks - I'll keep my eyes open..


Session Cookie Interference

session_start();
$_SESSION['foo'] = 'bar';
header('Set-Cookie: foo=bar');
Results in the session cookie not being sent back to the browser.

second header parameter must be set to false


MSC Volume label

How to set a volume label for the msc example so that it appears on the host PC as a labeled volume?

To be honest i didnt think about it.
You can format volume under OS and set label name, it will be displayed since then.


this isnt an issue but a question

why do you keep undoing the minecraft changes if it compiles????
i dont get it

also you broke truncating the message
i have a fix ready

Dude idk why it breaks, it just does, I try to fix it and it makes more problems so I have to revert stuff again and again, I don't want to revert stuff, but I have to do it for it to work. Its literally like a landmine, one error sets a change reaction, so I just have to revert it to fix.

Dude idk why it breaks, it just does, I try to fix it and it makes more problems so I have to revert stuff again and again, I don't want to revert stuff, but I have to do it for it to work. Its literally like a landmine, one error sets a change reaction, so I just have to revert it to fix. It compiles but then it crashes, so I'm trying not to make it do that yet it does.

doesnt happen to me???
like i dont know how to reproduce this
what does the crash say?

Its more of a freeze than a crash, it just stays stuck on the Mojang logo and never leaves it, so either its taking a really long time to load, (I waited 1 hour last time, and didn't load to the skin select) or its the code that broke it.

And again it gave me another error in the terminal

Its more of a freeze than a crash, it just stays stuck on the Mojang logo and never leaves it, so either its taking a really long time to load, (I waited 1 hour last time, and didn't load to the skin select) or its the code that broke it.

hmmm
doesnt occur for me
can you re-upload the un-working mc.java so i can test it thru the github.io?

because it WANTS doPrints

And again it gave me another error in the terminal

Its more of a freeze than a crash, it just stays stuck on the Mojang logo and never leaves it, so either its taking a really long time to load, (I waited 1 hour last time, and didn't load to the skin select) or its the code that broke it.

hmmm doesnt occur for me can you re-upload the un-working mc.java so i can test it thru the github.io?

@SaiyanGonzalez01

hmmm
doesnt occur for me
can you re-upload the un-working mc.java so i can test it thru the github.io?

I don't think I have it, I reverted it remember? Maybe in the files history

hmmm
doesnt occur for me
can you re-upload the un-working mc.java so i can test it thru the github.io?

I don't think I have it, I reverted it remember? Maybe in the files history

yeah just go thru the commit history
on github to find it

Other than that I remember that many errors for other files that had to do with the printing thing you added

Other than that I remember that many errors for other files that had to do with the printing thing you added

was it because you deleted doPrints

maybe, what files did you edit that added the prints so I can add it back, oh and commit 486e2c9 is with the Minecraft.java change

maybe, what files did you edit that added the prints so I can add it back, oh and commit 486e2c9 is with the Minecraft.java change

uh i know i did minecraft.java
ingamemenu.java
i think maybe the title screen
the gamesettings.java
uh i forgo

oh, well my project might be cooked 💀

oh, well my project might be cooked 💀

nah bro
hold on ill tell ya

Minecraft.java
GuiIngame.java
GameSettings.java
@SaiyanGonzalez01

Well I do have the download of the whole project in the zip before the errors, so I could just upload the files from that if this is just cooked

Minecraft.java
GuiIngame.java
GameSettings.java
@SaiyanGonzalez01

Alright so I just download and upload correct?

Well I do have the download of the whole project in the zip before the errors, so I could just upload the files from that if this is just cooked

it really isnt cooked
i hope.
uh
i think i can fix it?
re-upload the mc from this commit please (so i can see this for myself)
ea515d1

Well I do have the download of the whole project in the zip before the errors, so I could just upload the files from that if this is just cooked

it really isnt cooked i hope. uh i think i can fix it? re-upload the mc from this commit please (so i can see this for myself)
ea515d1

you can revert after i test

I pray to the git gods it isn't fried 🙏

Well I do have the download of the whole project in the zip before the errors, so I could just upload the files from that if this is just cooked
it really isnt cooked i hope. uh i think i can fix it? re-upload the mc from this commit please (so i can see this for myself)
ea515d1
you can revert after i test

So I just try to compile right?

Well I do have the download of the whole project in the zip before the errors, so I could just upload the files from that if this is just cooked
it really isnt cooked i hope. uh i think i can fix it? re-upload the mc from this commit please (so i can see this for myself)
ea515d1
you can revert after i test

So I just try to compile right?

yeh

Alright

Hold on you said re-upload the mc.java before I compile?

Hold on you said re-upload the mc.java before I compile?

yeah from the commit i sent

alright done with the re-upload (just copied and pasted it)

alright done with the re-upload (just copied and pasted it)

k tell me when you compile so i can test

It compiled! I'll add the app.js and app.js.map, then test the link on the readme.md when the thing fully updates

It compiled! I'll add the app.js and app.js.map, then test the link on the readme.md when the thing fully updates

so far so good

lets not jinx it

ok the little icon for the update is still orange

ok the little icon for the update is still orange

hm odd

alright its fully updated you can test now

shoot on my end its still frozen

alright its fully updated you can test now

for me it goes to a completely black screen
hold on i cant open inspect element
lemme try my main coding PC

alright its fully updated you can test now

for me it goes to a completely black screen hold on i cant open inspect element lemme try my main coding PC

yeah its just going to a black screen
even on my main coding PC
im not seeing any errors in the log

i have an idea but you may not like it

oh no

oh no

im uploading the minecraft.java i have been using on my netlify app
(minecrafty.netlify.app)
this is my only solution as it works for me

uh what's wrong with that?

I could do that probably

uh what's wrong with that?

i have fog code (aka a keybind)
random stuff
unrelated stuff

#12

woops forgot to remove a ref

Jesus we are 40+ comments in and we are probably making more problems then solutions, but hopefully the pull request fixes it

i hope
as it works for me
always has
i dont know what is happening anyway

so are you compiling or

yea I'm compiling

yea I'm compiling

k
im optimizing my core.glsl rn by making it do... less?
idk
more math = bad apparently
even tho it clearly did less lag

ok question @SaiyanGonzalez01 when did the issue start

I've been trying to fix it for a while so I forgot

I've been trying to fix it for a while so I forgot

breh
that would be rlly helpful to know

but finally... inner-peace

You did it! Thank you so much actually I was about to lose my mind over this

but finally... inner-peace

You did it! Thank you so much actually I was about to lose my mind over this

dang i did it
i dont even know how i did it

lmao

welp
guess i can close this
will re-open if i got any "questions"


Significantly lower framerate during recording

My ARKit app using SceneKit runs at 60 fps, however, when I start recording it drops significantly, to around 20fps. The recorded video is smooth and seems to retain the higher fps, though.
I'm using an iPhone X with iOS 11.4 beta.

I have the same problem


useLexicalComposerContext: cannot find a LexicalComposerContext when building custom Lexical editor features

Link to reproduction
No response
Describe the Bug
Hi,
When attempting to develop a custom feature for the Lexical RTE, I am seeing the following error in the Payload admin UI where the rich text field should be:
LexicalComposerContext.useLexicalComposerContext: cannot find a LexicalComposerContext
This is after copying the full RelationshipFeature  code verbatim from https://github.com/payloadcms/payload/blob/main/packages/richtext-lexical/src/field/features/Relationship to try this out. The code uses useLexicalComposerContext in the RelationshipDrawer component and the RelationshipPlugin component, which is where the error is originating from.
FWIW, the real RelationshipFeature  exported by @payloadcms/richtext-lexical works fine in my rich text field (added in FeatureProvider config)

To Reproduce

Set up a rich text field with lexicalEditor.
Clone the contents of https://github.com/payloadcms/payload/blob/main/packages/richtext-lexical/src/field/features/Relationship to a new folder in your repo.
You'll also need the populate functions from https://github.com/payloadcms/payload/tree/main/packages/richtext-lexical/src/populate (not exported by @payloadcms/richtext-lexical).
Update some type imports from local paths to @payloadcms/richtext-lexical.
Add your cloned RelationshipFeature to features in the rich text field config.
Try to use the rich text field in the Payload admin.

Payload Version
2.0.15
Adapters and Plugins
<EMAIL_ADDRESS>

Closing this, as this is likely an issue with your project set-up and there is no reproduction. I have created a project for you where this is working: https://github.com/AlessioGr/relationshipnodeinownproject
Especially check out the payload.config.ts. In there, I have aliased the react and lexical dependencies. This makes sure that your project does not use a different lexical or react version than @payloadcms/richtext-lexical. 90% of times, that is the reason why such an issue with hooks / contexts occurs.
I did, however, find another issue while testing it out, which I fixed in 2c8d34d2aadf2fcaf0655c0abef233f341d9945f. So, make sure you copy the new version of the Relationship Feature into your project!


Use correct deallocator

Codecov Report

Merging #138 into master will increase coverage by 0.25%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #138      +/-   ##
==========================================
+ Coverage   87.59%   87.84%   +0.25%
==========================================
  Files          39       39
  Lines        3522     3522
  Branches      277      277
==========================================
+ Hits         3085     3094       +9
+ Misses        176      167       -9
  Partials      261      261

Impacted Files
Coverage Δ

src/config.c
65.97% <100%> (ø)
:arrow_up:

tests/test_client_list.c
91.42% <0%> (+6.42%)
:arrow_up:

Continue to review full report at Codecov.

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


Various bug fixes in spec 2.0.0 format

Fixes #104, #105 and #106

Coverage decreased (-0.06%) to 87.814% when pulling 38c60a198536a6b32fe6dc7a347c04dea087307d on bug-spec-200 into af3eb482d47db3a026ea07c5b360b2df4a5a6fce on master.


Portrait vs landscape modes when using android camera2

I'd like for the streamed video to be portrait when I hold the phone in portrait mode, and landscape when I hold the phone in landscape mode. I don't need this behaviour to be dynamic - i.e. it's only the orientation when the user presses the "go live" button that counts.
I'm using android's camera2 and a surface exported from a VideoEncoder to live-stream. I notice that the Texture/Surface mode RTMP examples are doing the same thing.
The phone's orientation (rotation) is passed to VideoEncoder.prepareVideoEncoder, and the dimensions given to srsFlvMuxer.setVideoResolution are swapped according to the state of ratation, but this doesn't seem to have any effect: the streamed video is always in landscape mode. This is true of the Texture/Surface mode RTMP examples as well.
BTW, I'm setting hardwareRotation = false - I'm not sure what that does (or whether it's available across android devices).
How do I rotate the streamed video to match how the user is holding the phone?
Many thanks,
Tim

Hello,
If you are using camera2 and TextureView or SurfaceView you have a problem because you need rotate image before render your surface.
You have multiples ways to do it:

Rotate with encoder. You can set rotation to encoder but not all encoder support it (most don't have it):
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/video/VideoEncoder.java#L119
Rotate with camera. I don't know how to implement it with camera2 but with camera1 you can select orientation used to render a surface like this:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/input/video/Camera1ApiManager.java#L181
Rotate with opengl. This is maybe the best way and I use it with OpenglView the idea is rotate image obtained from camera before render your surface (in this case videoEncoder surface) and you can modify it as you want on fly.

In my case, hardwareRotation in videoEncoder indicate that you will rotate with encoder or not.
If you select true, the videoEncoder rotate surface and image for you. For example, if you select 1280x720 and you set rotation true of 90º you have a surface of 720x1280 and original image rotated 90º.
If you select false I'm doing a resolution swap if you set 90º or 270º and image rotation is done by opengl:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/video/VideoEncoder.java#L104

Yes, if you rotate with my first suggestion this will affect to all surfaces set to your camera implementation.
About OpenGlView. This is really difficult to explain because opengl is difficult to understand. Maybe the best idea is use LightOpenGlView because it is only a render without filters so it is more simple.
You need study this classes:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/rtplibrary/src/main/java/com/pedro/rtplibrary/view/LightOpenGlView.java
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/input/gl/render/SimpleCameraRender.java
Basically surface created in SimpleCameraRender should be used to render with your camera implenentation (this will draw in your view) and you should set your VideoEncoder surface to LightOpenGlView after init it:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/rtplibrary/src/main/java/com/pedro/rtplibrary/view/OpenGlViewBase.java#L109
Matrix in SimpleCameraRender is used for rotation and fragment.glsl if you want modify image (filters, etc)

Thanks Pedro,
I've tried a simple Experiment without rotation but I get an exception. Apparently I'm not initialising something correctly but I've tried to follow what you do in your own code. The exception is:

java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface
    at android.opengl.EGL14._eglCreateWindowSurface(Native Method)
    at android.opengl.EGL14.eglCreateWindowSurface(EGL14.java:265)
    at com.pedro.encoder.input.gl.SurfaceManager.eglSetup(SurfaceManager.java:129)
    at com.pedro.encoder.input.gl.SurfaceManager.<init>(SurfaceManager.java:46)
    at com.pedro.rtplibrary.view.LightOpenGlView.run(LightOpenGlView.java:78)
    at java.lang.Thread.run(Thread.java:919)

My code is:
// I use the Activity as Context
mLightOpenGlView = new LightOpenGlView( mActivity );
mLightOpenGlView.init();
// Take no account of rotation for now
mLightOpenGlView.setEncoderSize( mVideoEncoder.getWidth(), mVideoEncoder.getHeight() );
// No rotation for now
mLightOpenGlView.setRotation( 0 );
mLightOpenGlView.start();
mLightOpenGlView.addMediaCodecSurface( mVideoEncoder.getInputSurface() );

It seems to be failing in start() - before I've added the VideoEncoder's Surface, but that is the correct place to call addMediaCodecSurface() according to your code.
Which "SurfaceView or associated SurfaceHolder" is it referring to?

Maybe LightOpenGlView surface is not created yet. Try add this callback to know when you can call start method:
mLightOpenGlView.getHolder().addCallback(new SurfaceHolder.Callback() {
      @Override
      public void surfaceCreated(SurfaceHolder surfaceHolder) {

      }

      @Override
      public void surfaceChanged(SurfaceHolder surfaceHolder, int i, int i1, int i2) {
        //surface is ready you can use start method
      }

      @Override
      public void surfaceDestroyed(SurfaceHolder surfaceHolder) {
        //surface released. Stop method is called automatically
      }
    });

Thanks Pedro. I added that callback immediately after creation of the LightOpenGlView - which happens some time before mLightOpenGlView.init() even though I showed them together in the code snippet above. But none of the surfaceCreated() etc. methods is ever called - after init, setEncoderSize, setRotation.
I frankly don't understand what the SurfaceHolder returned by getHolder() is. I Notice that in OpenGlRtmpActivity you have:
openGlView = findViewById(R.id.surfaceView);
In other words you seem to be constructing it from a resource, not from scratch, as I have.
I think I must be missing something altogether in my initialisation.

Basically I added that to my layout.xml (this view is drawn in my screen).
If your methods isn't called is because you are not drawing it and you need do it.
Other way could be use OffScreenGlThread class instead of LightOpenGlView if you don't want a view.

Thanks again for all your help, Pedro. That worked (sort of). In portrait mode, I now see the image in Facebook Live the right way up. However, it is not complete and letterboxed, as I was expecting: it's on the left hand side, cropped  somewhat vertically, and possibly a little stretched horizontally. Is that perhaps something to do with my setup? The image is 480x720.
I was expecting to have to set the rotation on the OffScreenGlThread to 90/270 but the image came the right way up with that set to zero.

Maybe you need modify matrix and viewport to adapt image:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/utils/gl/SizeCalculator.java
Your viewport should be always this line (this should be encoderSize if you use OffScreenGlThread):
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/utils/gl/SizeCalculator.java#L36
And mode is always 0 so this should be the only line executed if you don't set flip:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/utils/gl/SizeCalculator.java#L55

Thanks but the only use I see of SizeCalculator is in a couple of classes, e.g. the drawFrame method of SimpleCameraRender - which I'm not using since I'm using OffScreenGlThread. In SimpleCameraRender it's used in a sequence of OpenGl and matrix operations. It's not at all clear to me how I would apply SizeCalculator in OffScreenGlThread, where there are no matrix operations at all. What am I missing?

That class is used in all opengl classes (OpenGlView, LightOpenGlView and OffScreenGlThread). This is the route to SizeCalculator with OffScreenGlThread:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/rtplibrary/src/main/java/com/pedro/rtplibrary/view/OffScreenGlThread.java#L219
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/input/gl/render/ManagerRender.java#L66
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/input/gl/render/ScreenRender.java#L84
viewport is pixel range where you start draw and you stop draw.
For example, I have a surface of 100x100 to draw if you want draw all surface you should start at pixel 0x0 and finish in pixel 100x100 (glViewport(0, 0, previewWidth, previewHeight)).
About matrix you can control scale (scale range is 0 to 1 where 1 is full viewport size) and rotation of the image.

Hi Pedro, yes I saw that SizeCalculator is eventually called in my case. I feel like I must be missing something completely from what you are suggesting, since I still have no idea what I would be able to change from a software engineering point of view:

All the parameters to SizeCalculator are completely determined, ultimately, by the parameters I provide to OffScreenGlThread - I could only change the OffScreenGlThread parameters, in particular from the desired 480x720 to something artificially modified to get the right result - which would be what?
I can't (also) meaningfully call SizeCalculator outside the existing flow of logic inside your classes. I'd have to modify (in this case) ScreenRender.draw() if SizeCalculator was to be called differently.
I'm not setting flip, and I'm providing the desired (correct) width and height. So from your comments above I don't know what I'd do differently when calling SizeCalculator in ScreenRender.draw() anyway.

I don't think you're suggesting (1). Are you suggesting (2)? Probably not. What else is there?!

Basically you need modify the class (SizeCalculator) to work as you want. For example, you only want draw half surface modify this line:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/utils/gl/SizeCalculator.java#L36
To:
GLES20.glViewport(0, 0, previewWidth / 2, previewHeight / 2);

Similar if you want rotate or move image to avoid crops. Maybe I'm doing a confuse explain for it.
Can you share me an image with your problem and other image with the result expected?

Hi Pedro,
Screenshot of app on phone showing camera preview (480x720 letterboxed):

Screenshot of Facebook Live preview on laptop:

It seems obvious, now that I'm using the newspaper image, that it's a 480x480 square crop that's being rendered - and it doesn't seem like it's being stretched in either direction. I want to see the whole 480x720 image in the centre of the Facebook Live frame - which is what I get when I use your app.
So I want to draw more of the image (all of it), and move it to a central position.
Thanks.

This seems that your camera resolution and video resolution is different. At least in images aspect ratio is different. Maybe Your prepareVideo in VideoEncoder is the problem.
Also We can check that full image is send by camera doing a scale of image to avoid crops. MOdify this line:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/utils/gl/SizeCalculator.java#L60
To:
Matrix.scaleM(MVPMatrix, 0, scale.x * 0.5f, scale.y * 0.5f, 1f);

Hi Pedro,
Thanks. I solved my problem with a hack to SizeCalculator.calculateViewPort - as you were suggesting.  You have a similar calculation to mine but in the branch:
if( keepAspectRatio) {
But keepAspectRatio is false. Also, my previewWidth and previewHeight are constants determined by the Camera2 setup, and always previewWidth > previewHeight even if the user holds the phone in portrait mode.

In my case keepAspectRatio is only for preview and with a parameter of view enabled but OffScreenGlThread is background (no preview in this case) for that reason always is false.
I glad that all is working now :D


GAM 6.30 Upgrade Reauthentication Error

I have upgraded to the latest GAM release from https://github.com/GAM-team/GAM/releases and I still have this issue. CONFIRMED
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki CONFIRMED

Full steps to reproduce the issue:

Upgraded to GAM 6.30 from 6.25 on a Windows 10 system
At command line I ran "gam.exe info domain"
Received error message below

Expected outcome (what are you trying to do?):
Test that the GAM 6.30 upgrade worked by retrieving domain information
Actual outcome (what errors or bad behavior do you see instead?):
C:\GAM> .\gam.exe info domain
Traceback (most recent call last):
File "gam_main_.py", line 49, in
File "gam_main_.py", line 44, in main
File "gam_init_.py", line 11624, in ProcessGAMCommand
File "gam\gapi\directory\domains.py", line 25, in info
File "gam\gapi\directory\customer.py", line 18, in doGetCustomerInfo
File "gam\gapi\directory_init_.py", line 5, in build
File "gam_init_.py", line 1078, in buildGAPIObject
File "gam_init_.py", line 1006, in getValidOauth2TxtCredentials
File "gam\auth\oauth.py", line 477, in refresh
File "gam\auth\oauth.py", line 485, in _locked_refresh
File "google\oauth2\credentials.py", line 302, in refresh
File "google\oauth2\reauth.py", line 334, in refresh_grant
google.auth.exceptions.RefreshError: Reauthentication is needed. Please run gcloud auth login --update-adc to reauthenticate.
[8652] Failed to execute script 'main' due to unhandled exception!
Had GAM 6.25 installed on a separate Windows Server 2016 system and now it too is giving me the same error message. I also don't understand how to run the "gcloud" command? Thanks!

Mark,
Try:
gam oauth delete
gam oauth create
Ross
Ross Scroggs
@.***

On Nov 11, 2022, at 4:00 AM, Mark Lotspaih @.***> wrote:
I have upgraded to the latest GAM release from https://github.com/GAM-team/GAM/releases https://github.com/GAM-team/GAM/releases and I still have this issue. CONFIRMED
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki https://github.com/jay0lee/gam/wiki CONFIRMED
Full steps to reproduce the issue:
Upgraded to GAM 6.30 from 6.25 on a Windows 10 system
At command line I ran "gam.exe info domain"
Received error message below
Expected outcome (what are you trying to do?):
Test that the GAM 6.30 upgrade worked by retrieving domain information
Actual outcome (what errors or bad behavior do you see instead?):
C:\GAM> .\gam.exe info domain
Traceback (most recent call last):
File "gam_main_.py", line 49, in
File "gam_main_.py", line 44, in main
File "gam_init_.py", line 11624, in ProcessGAMCommand
File "gam\gapi\directory\domains.py", line 25, in info
File "gam\gapi\directory\customer.py", line 18, in doGetCustomerInfo
File "gam\gapi\directory_init_.py", line 5, in build
File "gam_init_.py", line 1078, in buildGAPIObject
File "gam_init_.py", line 1006, in getValidOauth2TxtCredentials
File "gam\auth\oauth.py", line 477, in refresh
File "gam\auth\oauth.py", line 485, in _locked_refresh
File "google\oauth2\credentials.py", line 302, in refresh
File "google\oauth2\reauth.py", line 334, in refresh_grant
google.auth.exceptions.RefreshError: Reauthentication is needed. Please run gcloud auth login --update-adc to reauthenticate.
[8652] Failed to execute script 'main' due to unhandled exception!
Had GAM 6.25 installed on a separate Windows Server 2016 system and now it too is giving me the same error message. I also don't understand how to run the "gcloud" command? Thanks!
—
Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1574, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLYQZUS3M6445WK23DTWHYYN5ANCNFSM6AAAAAAR5RCCTU.
You are receiving this because you are subscribed to this thread.

Thank you, Ross! That resolved my authentication issue.


using auth token from different url than authentication

I'm using the GData API, and it expects me to authenticate at http://accounts.google.com and then use the token at the appropriate API URL, which is totally different. In my case, that's http://google.com/calendar. I'm not sure how to do that, though, since everything gets appended to the site URI.
get '/login' do
  redirect client.auth_code.authorize_url(
    :redirect_uri => CALLBACK_URL,
    :scope => 'https://www.google.com/calendar/feeds')
end

get '/callback' do
  token = client.auth_code.get_token(params[:code], :redirect_uri => CALLBACK_URL)
  #HOW DO I MAKE THIS RELATIVE TO http://google.com ?
  puts token.get('/calendar/feeds/default/owncalendars/full');
end

def client
  OAuth2::Client.new(
                     CLIENT_ID, CLIENT_SECRET,
                     :site => 'https://accounts.google.com',
                     :token_url => '/o/oauth2/token',
                     :authorize_url => '/o/oauth2/auth')
end

if I do this:
def client
  OAuth2::Client.new(
                     CLIENT_ID, CLIENT_SECRET,
                     :site => 'https://google.com',
                     :token_url => 'http://accounts.google.com/o/oauth2/token',
                     :authorize_url => 'http://accounts.google.com/o/oauth2/auth')
end

I end up with
OpenSSL::SSL::SSLError at /callback
hostname was not match with the server certificate

Makes sense - I guess accounts.google.com and google.com use different certificates -  but I'm not sure what to do about it.

I guess it does take an absolute URL, but the problem is that somewhere there's some confusion about about certificate to use:
get '/callback' do
  token = client.auth_code.get_token(params[:code], :redirect_uri => CALLBACK_URL)
  puts token.get('https://google.com/calendar/feeds/default/owncalendars/full');
end

def client
  OAuth2::Client.new(
                     CLIENT_ID, CLIENT_SECRET,
                     :site => 'https://accounts.google.com',
                     :token_url => '/o/oauth2/token',
                     :authorize_url => '/o/oauth2/auth')
end

Goes to the right URL, but I get:

OpenSSL::SSL::SSLError - hostname was not match with the server certificate:
 /home/isaac/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/openssl/ssl-internal.rb:121:in `post_connection_check'

Some I'm not quite sure how to proceed.

And off course, it just turns out that i'm an idiot: it has to be www.google.com/stuff, not google.com/stuff. I finally just turned off cert verification and found that I was loading the google.com page. #facepalm


[cluster] Add TestUnknownCommand command to test cluster

Problem

We need a suitable case for test device behavior of unsupported command on a supported cluster.

Change overview

Add TestUnknownCommand, this command should not be added / implemented by server.

Testing

Tested locally with chip-device-ctrl with all-cluster-apps
zcl TestCluster TestUnknownCommand 1 1 0
Verify device controller output and server output.

Server prints CHIP:ZCL: Unknown command 3 for cluster 50f
Controller prints

CHIP:DMG:               CommandDataElement =
CHIP:DMG:               {
CHIP:DMG:                       CommandPath =
CHIP:DMG:                       {
CHIP:DMG:                               EndpointId = 0x1,
CHIP:DMG:                               ClusterId = 0x50f,
CHIP:DMG:                               CommandId = 0x3,
CHIP:DMG:                       },
CHIP:DMG:
CHIP:DMG:                       StatusElement =
CHIP:DMG:                       {
CHIP:DMG:                               GeneralCode = 0xd,
CHIP:DMG:                               ProtocolId = 0x0,
CHIP:DMG:                               protocolCode = 0xffff,
CHIP:DMG:                       },
CHIP:DMG:
CHIP:DMG:               },

/rebase

Is there CI exercising this? If not, can we add some, so we don't have to do manual testing?

Create this https://github.com/project-chip/connectedhomeip/issues/7293 for tracking

@andy31415 @Damian-Nordic @LuDuda ?


Set MSRV to 1.53

Otherwise, it breaks like so: https://github.com/rust-lang/rfcs/pull/2818#issuecomment-873815977

Thanks for creating this issue! Totally forgot to do it.
Note that if you need this crate to work with the rustc 1.52 or older, it's possible to use v0.2 (which also has the macro for getting function name, but is not bound on the recent compiler).


README says eval sourcemap is not supported. Is it still true?

Is it true for only eval sourcemap or all eval-based sourcemaps like cheap-module-eval-source-map?

Hello @mohsinulhaq, to be honest, I don't know. Can you try and tell me? If you found something, feel free to submit a PR to adapt the readme.

Confirmed it doesn't work with any of the eval based sourcemaps.
Tried with:
- eval
- eval-source-map
- cheap-eval-source-map
- cheap-module-eval-source-map

Closing this issue.


Feature request: Customize file name

Currently, it is not possible to override the file name
Can the moduleName  function used here be from a context instead?

Hi @tatemz
What input would be relevant for you to compute a custom file name?

closing this for now

Hey so I came back to this and my team and I ended up doing exactly what you suggested by extending the renderer. We actually made two versions, one generated the TS, and another generated runtypes (link) configuration to ensure runtime validity for some of our models.
Thanks for a great tool!

@tatemz This seems to be a pretty cool use case 😍
Would you be interested to open a PR and add it to the project?

@tatemz added a simple type-guard generator: https://github.com/contentful-userland/cf-content-types-generator/pull/226


EventProcessor is getting slow on big traffic

It was working perfectly in dot net core 2.1. Recently i updated my app to dot net 2.2, so every environment start to show memory consumption 99%.
I am keeping all code in using block, like getting service from dependency injection and calling and consuming DB, etc. I am also calling context.CheckpointAsync(); at ten end of ProcessEventsAsync method. Please help to solve this performance issue owing to which lag is coming. I add a code below which is doing problem

  public async Task ProcessEventsAsync(PartitionContext context, IEnumerable<EventData> messages)
    {
        using (var serviceScope = Program.ServiceProvider.GetRequiredService<IServiceScope>().CreateScope())
        using (var IMessagingService = serviceScope.ServiceProvider.GetService<IMessagingService>())
        {
            var sw = Stopwatch.StartNew();
            //// create service references.
            logger = serviceScope.ServiceProvider.GetService<ILogger<EventProcessor>>();
            var memorycache = serviceScope.ServiceProvider.GetService<IMemoryCache>();
            memorycache.Set<string>(CacheKeyConstants.CustomerEnvironment, Program.CustomerEnvironment);
            var service = serviceScope.ServiceProvider.GetService<IOutPutService>();
            var consumptionService = serviceScope.ServiceProvider.GetService<IMCService>();
            var tempService = serviceScope.ServiceProvider.GetService<ITempService>();
            var popupService = serviceScope.ServiceProvider.GetService<IPopUpService>();
            EquipmentMessageModel equipmentMessage;
            string messageData = string.Empty;

            foreach (var message in messages)
            {
                sw.Start();
                messageData = Encoding.UTF8.GetString(message.Body.Array);
                equipmentMessage = JsonConvert.DeserializeObject<EquipmentMessageModel>(messageData);
                if (equipmentMessage.Kind == MessageTypes.1 || equipmentMessage.Kind == MessageTypes.2)
                {
                    sw.Stop();
                    sw.Reset();
                    messageData = string.Empty;
                    equipmentMessage = null;
                    return;
                }

                logger.LogInformation("Message web job started.");

                await IMessagingService.SaveMessageToDb(messageData, equipmentMessage);
                await this.ProcessMessageData(sw, messageData, service, consumptionService, tempService, popupService);
                messageData = string.Empty;
                equipmentMessage = null;
                sw.Stop();
                sw.Reset();
                logger = null;
            }

            consumptionService = null;
            auxiliaryService = null;
            service = null;
            equipmentAlertService = null;
            memorycache = null;
            sw = null;
        }
        await context.CheckpointAsync();
    }

Versions

OS platform and version: Microsoft azure app service
.NET Version: 2.2 core
NuGet package version :4.1.0

I think you should identify what is really causing high memory consumption with 2.2. Please take a process dump and check the heap.

No comm for a while. Please reactivate the issue if needed.

my apologies for not commenting regarding issue status. Actually the issue was in something else not in   EventProcessor. :)

Glad to hear issue is solved.


Django version is broken

The test project currently does not work under Django 4. Yet requirements.txt produces a venv that won't work because it installs Django 4. We must explicitly select 3.2 until the test project is updated to Django 4 compatibility.

Tests now pass on Python 3.10 and Django 4 #1307, please reopen otherwise


[VictoryAxis] Passing plain View/Text component to tickLabelComponent produces a warning

I don't want to display the tickLabel, so I tried to pass a plain View or Text component to the tickLabelComponent property of the VictoryAxis component. It works, no labels are rendered/visible, but it produces a warning.
The line
<VictoryAxis tickLabelComponent={<View />} />
or
<VictoryAxis tickLabelComponent={<Text />} />
produces the warning

.
I'm not sure if this is the correct way to remove the labels, so if not, I would appreciate the correct one.
These are the installed versions:
<EMAIL_ADDRESS><EMAIL_ADDRESS>

@papsti7 this is an expected error, as those labels will render within an <Svg>, so non-svg elements are non allowed. To render no labels it is better to do something like tickFormat={() => null}.


Automatically discover Marty(s) when connecting over USB

Changes
Instead of my_marty = Marty("usb", "COM42"), one can now also simply use my_marty = Marty("usb"). MartyPy will automatically check the connected USB serial devices and try to find a Marty and connect to it.
If no Martys are found (either because none are connected or because there is a driver issue or something), an error is raised saying so.
If there are multiple Martys connected, a warning is raised instead since the choice of which Marty is connected to is OS-dependent and somewhat arbitrary.
TODO

[x] Update changelog
[x] Clean up imports in RICCommsSerial.py
[ ] Update docs on userguides.robotical.io

Looks good Brano, tested in both Linux and Windows with no robots, one robot and two robots
Only very minor comment is that the warning message about multiple Martys only seems to be triggered once, where it might be good to have it every time. Having said that, usually users will be connecting in a script rather than in the python shell, so it's likely that it'll only ever really be needed once. If it's not an easy tweak then good to merge as is

Good spot. Looks like it will only show the warning again if the message is different (different port names, different number or order of Martys, or different Marty connected to). This might actually be a good thing - if it worked the first time and nothing has changed, you probably don't need to be warned again. But if something has changed, you will know.
In any case, the warnings system in Python seems to be designed more so that a user of a library controls what warnings they see and how. It would probably be too finnicky to change that on our end.


Update the version

Hi Galri,
Thank you for share your project to us. I use your project as a part of my project. But it is already out of date. And I have updated some places which are copied from the sample of CEFSharp example project.
If you want to update, I could pull the changes to you.
Many thanks,
Maxim

Please do! I will update the nuget package when i have the time 🙇


Modify CI

prefer to follow the same patter like https://github.com/harvester/harvester/blob/master/package/Dockerfile.webhook

prefer to follow the same patter like https://github.com/harvester/harvester/blob/master/package/Dockerfile.webhook

Updated


[upgrade] Don't crash on non-installed ports

Fixes https://github.com/microsoft/vcpkg/issues/21117
output before:
error: The following packages are not installed:
  azure-storage-cpp:x64-windows
internal error: D:\a\_work\1\s\src\vcpkg\commands.upgrade.cpp(183): vcpkg has crashed; no additional details are available.
Please open an issue at https://github.com/microsoft/vcpkg/issues/new?template=other-type-of-bug-report.md&labels=category:vcpkg-bug with detailed steps to reproduce the problem.

output after:
error: The following packages are not installed:
  azure-storage-cpp:x64-windows

Not sure, just wondering: Would it be useful to issue a warning, then install?
(the goal would be a command that ensures you have the most current version, no matter if an old is installed or not)

@GitMensch I believe install --recurse has the behavior you want?

Ah, nope :/

Ouch it's even more broken

Ouch it's even more broken

I think that's a different issue.

I'm not sure I like this resolution because it's undoing what appears to be a very explicit attempt to emit all possible errors rather than stopping at the first error.

I restored emitting all errors.

Thanks!


feat: Rewrite SOCKS5

With the rewrite, we can now send the method and connect requests in one write, removing a round trip.
Furthermore, it will enable us to add initial user data in the future, like we do with Shadowsocks, to prevent packet size fingerprinting.
The rewrite no longer depends on the x/net/proxy implementation.

Replaced with https://github.com/Jigsaw-Code/outline-sdk/pull/53. The squash and merge broke my client.


introduce OWNERS

to allow smoother collaboration, introducing an OWNERS file so we can:

have a slack usergroup based on this file
have @openshift-ci-robot serve this repo

slack usergroup: https://gitlab.cee.redhat.com/service/app-interface/-/merge_requests/46933


Drift on rep price oracle if not calculated frequently enough

https://github.com/AugurProject/augur/blob/8640bc720b02d9b616a6d52a9f468fc7f4e8c6fe/packages/augur-core/source/contracts/reporting/RepPriceOracle.sol#L91
If getWeight ends up capping values > 1e18 to = 1e18, the price will drift and never recover (since all price modifications apply deltas to existing price).
Need to make sure calculateNewExchangeData is called more often than tau blocks
    uint256 public tau = 1 days / 15; // The time period (in blocks) of the twa, assuming a block is mined every 15 seconds. TODO: Review this value

There will also always be price drift between genesisInitialRepPriceinAttoCash and actual initial liquidity?
What if first liquidity provider sets the initial liquidity point like this:
REP: 1e18
ETH: 1e9
Or what about the other way?
REP: 1e9
ETH: 1e18

I'm not sure it could be described as never recovering exactly as much as resetting the baseline for the average. It doesn't really apply a delta to the existing price (this is probably a misunderstanding because of my horrible variable names). Assuming the cap were reached it would simply only consider the timeline of reserves going back tau blocks in calculating the average.
There will be price drift between the genesis initial value for sure. Though for it to impact it greatly the initial price would need to be far off reality or the Uniswap oracle would need to be manipulated for a sufficient period of time as is always the case.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-31-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4997

Questions ?
Please refer to the Backport tool documentation


Nick: Watch<PHONE_NUMBER>

Nick requests the watch of the watch_number<PHONE_NUMBER>. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Rejected by tripleee in Charcoal HQ. Reason: 'by author's request; will be superseded by an NA version'


adam-submit transform fails with Exception in thread "main" java.lang.IncompatibleClassChangeError: Implementing class

The adam-submit command fails with the following exception
Exception in thread "main" java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
This was tested in macOS sierra machine with java 1.8.0_111 with spark 2.0.
The github instruction was followed and made clean package with the same machine. It fails at this step
adam-submit transform $ADAM_HOME/adam-core/src/test/resources/small.sam /tmp/small.adam

Hello @PrakashShanmugam!
To confirm, the steps you took were something like
$ git clone https://github.com/bigdatagenomics/adam.git
$ cd adam
$ mvn clean package
$ export $ADAM_HOME=`pwd`
$ export $PATH=$ADAM_HOME/bin:$PATH
$ adam-submit transform $ADAM_HOME/adam-core/src/test/resources/small.sam /tmp/small.adam

And then when you run adam-submit with Spark 2.0 installed you get the error above.
I believe this is because building from source builds against Spark 1.6.3 by default, and those artifacts won't work when run with Spark 2.0.x.
If you run the script to reconfigure the build against Spark 2.0.x and then clean package
$ ./scripts/move_to_spark_2.sh
$ mvn clean package

you should be able to run with Spark 2.0.x.  We should update the README to mention this.

Hi,
Yes. Now, it works fine.
Thank you very much.
Regards,
Prakash Shanmugam.

On 09-Dec-2016, at 6:58 PM, Michael L Heuer<EMAIL_ADDRESS>wrote:
Hello @PrakashShanmugam https://github.com/PrakashShanmugam!
To confirm, the steps you took were something like
$ git clone https://github.com/bigdatagenomics/adam.git
$ cd adam
$ mvn clean package
$ export $ADAM_HOME=pwd
$ export $PATH=$ADAM_HOME/bin:$PATH
$ adam-submit transform $ADAM_HOME/adam-core/src/test/resources/small.sam /tmp/small.adam
And then when you run adam-submit with Spark 2.0 installed you get the error above.
I believe this is because building from source builds against Spark 1.6.3 by default, and those artifacts won't work when run with Spark 2.0.x.
If you run the script to reconfigure the build against Spark 2.0.x and then clean package
$ ./scripts/move_to_spark_2.sh
$ mvn clean package
you should be able to run with Spark 2.0.x. We should update the README to mention this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/bigdatagenomics/adam/issues/1306#issuecomment-266013700, or mute the thread https://github.com/notifications/unsubscribe-auth/ANqbbHCbv1hq7tNy8OOYN4fwgcovZ8KSks5rGVeHgaJpZM4LI1Nk.

Great, thank you!  We'll get the README fixes in for #1307 soon.


can not payout

1.the pool shows that the blocks has not been confirmed,but the true is those blocks have matured for a long time.
2.in the admin panel->monitoring,the conjob blockupdate got a ERROR Exit Code,and the meaasge is "Cron disbaled due to errors "
3.when i cd the file conjobs and run "./run-crons.sh -f",the return message like this:
PHP Fatal error:  Uncaught exception 'Exception' with message 'RPC call did not return 200: HTTP error: 500 - JSON Response: [-5] Invalid or non-wallet transaction id' in /home/wwwroot/mc/include/lib/jsonRPCClient.php:117
so ,what is the matter with my pool,How can I solve this problem?

UPDATE blocks SET confirmations=120

Thank you, dobbscoin. I recently faced the same problem and this comment helped me to solve it.


Update Thread.php

Sorry for the mistake. It should use the $thread->creator()->id to return the owner id. There's no need to modify the code.


fix: add script to patch React experimental

Description
Closes #512
This adds a dirty patch with the changes in https://github.com/facebook/react/pull/23171
@jplhomer Do you think we should include this? Or just release with the bug until React team merges the PR?
It runs whenever Vite runs, which I think is safer than postinstall.

Before submitting the PR, please make sure you do the following:

[ ] Add your change under the Unreleased heading in the package's CHANGELOG.md
[ ] Read the Contributing Guidelines
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[ ] Update docs in this repository for your change, if needed

Closing in favor of https://github.com/Shopify/hydrogen/pull/521 🎉


Add reference count tracking for shared memory regions

Closing this PR as it is no longer needed in the new approach.