frontend ui is not working as backend working

for in this case backend logs
==============
STEP 0
PLAN:
create a python calculator with ui
ACTION:
AgentThinkAction(thought="I need to start by creating a new python file for my calculator. I'll call it calculator.py.", action='think')
==============
STEP 1
PLAN:
create a python calculator with ui
ACTION:
AgentThinkAction(thought="I need to start by creating a new python file for my calculator. I'll call it calculator.py.", action='think')
==============
STEP 2
PLAN:
create a python calculator with ui
ACTION:
AgentThinkAction(thought="I need to start by creating a new python file for my calculator. I'll call it calculator.py. To do this, I can use the write action, set path to 'calculator.py', and set content to a shebang line and my initial code.", action='think')
==============
STEP 3
PLAN:
create a python calculator with ui
ACTION:
AgentThinkAction(thought="I need to start by creating a new python file for my calculator. I'll call it calculator.py. To do this, I can use the write action, set path to 'calculator.py', and set content to a shebang line and my initial code.", action='think')
==============
STEP 4
PLAN:
create a python calculator with ui
ACTION:
AgentThinkAction(thought='I have started by creating a new python file for my calculator named calculator.py. Now I need to write the basic structure of a command-line calculator in it.', action='think')
==============
STEP 5
PLAN:
create a python calculator with ui
ACTION:
AgentThinkAction(thought='Now that I have created the basic structure of the command-line calculator in calculator.py, I need to implement the functionality for the four basic arithmetic operations: addition, subtraction, multiplication, and division.', action='think')
==============
STEP 6
PLAN:
create a python calculator with ui
ACTION:
AgentThinkAction(thought="Now that I have created the basic structure of the command-line calculator in calculator.py, I need to implement the functionality for the four basic arithmetic operations: addition, subtraction, multiplication, and division. I will use an if-elif-else statement to check the user's input and perform the appropriate operation.", action='think')
in frontend is

here ui is just stop reacting with backend
use groq api
optional
for saving data use database . that can help to check previous data also save
OS  -- ubuntu
browser -- chrome

Thanks for the deatiled backend logs. Good catch , it is a hidden frontend bug!.
To be precise it happens here
if (
      currentQueueMarker !== null &&
      currentQueueMarker !== 0 &&
      currentTypingMessage !== newMessage
    ) {

From the looks of it the UI would stop priting when AI sends two consequtive same messages - if the ai output is the following array of texts [a , b , c , d , e , f , f , g ,h] - the ui will stop at f .
I wrote this 😂 fast to fix another bug. Will make use of your bug report to implement this better, thanks again.


Icon files downloaded as jpgs

Downloaded an icon from brandmaster, which should be an SVG, is pulled into MEDIA as a jpg and displays with a white background. Can be seen here:
https://equinor.sanity.studio/desk/topicContent;1b08e4d3-17a7-46d2-bba9-f16de70579d2

Probably connected to #740

Can confirm I am getting the same result with that "equinor-data" icon when I import it from Brandmaster.
Doesn't seem to be happening with every SVG icon that I try though - which indicates it might be a problem with that icon in particular.

@nicholas-haggerty I don't seem to have access to the media bank for icons and illustrations when accessing Brandmaster via https://communicationtoolbox.equinor.com - while I do have access via the plugin? Very strange.
Can you double check inside Brandmaster itself whether that particular icon is indeed an SVG? Because my suspicion is that there is an imposter among us... 🕵♀

Managed to find out how to access the icons and illustrations. I think the web plugin for this integration is a bit more intuitive for navigation really 😅
Turns out I was partially correct! It is indeed an SVG in Brandmaster, but there is something off with the file in Brandmaster; the order of the list with different versions for this file is not what was expected, so it was selecting a cached jpg version instead of the original or the "for equinor.com" version.
Have fixed it now to be more explicit and robust in which version it selects, should now ignore the different versions and always select the original regardless.

@nicholas-haggerty @meols you will unfortunately have to replace this image wherever it is used in Sanity and re-select it from Brandmaster. With the way Sanity handles assets we can't just replace the file in the media library to fix it, so it's a good thing this got noticed now and not weeks/months later.
Luckily you can see all the pages where an asset is used in the media plugin by opening the asset and clicking the "References" button

@SvSven Hey thanks for looking into this. Still seems to be a problem with that particular icon/file. I deleted it in media and re added to the teaser and it still cam as a jpg. I tried a few example and they come in as SVGs.

@SvSven  I think we can just assume its a rogue file. I will find the original and upload it. In terms of the card. The svg displays now and works with both the smaller and full display. I will close this and the related card.

That's strange, it worked for me locally. It might be that the changes I made did not get deployed to the studio yet, as we were having some issues with automatic deployment with regards to the satellite studios - I'll have a look into it


Coverage: download and resolve sourcemaps

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.9.0
Platform / OS version: win32
Node.js version: 8.11.1

What steps will reproduce the problem?
Building a simple TypeScript/React project with parcel-bundler creates index.html and index.1234.js that has a reference to index.1234.map sourcemap. The sourcemap even includes the original sources embedded, nice!
Opening DevTools you can see the sourcemaps loaded correctly, with all the original sources displayed, breakpoints working etc.
Exporting puppeteer coverage with page.coverage.startJSCoverage()/page.coverage.stopJSCoverage() only shows raw unprocessed coverage with sourcemaps ignored.
What is the expected result?
Sourcemaps resolved as normal by DevTools. The coverage coming out to include url and text for the original files, not raw sources. The ranges to relate to the corresponding resolved ranges in the original files.
What happens instead?
Sourcemaps show url and text of the processed bundled file, which was built from dozens of other files. Ranges are correct ranges in the raw file, of course.

V8 API changes.pdf

@cabugsa are you suggesting puppeteer to expose V8 APIs?

@mihailik sourcemaps are somewhat involved:

we need to properly download them on behalf of the website. Devtools uses a special hook for this that's not part of CDP. Chances are this can be emulated with fetch from-inside the page - but I don't remember why we didn't follow this route in devtools.
we'll need to bring in the sourcemap parsing code - which is involved and won't be used for majority of our clients.

I think it's better to ship this as a separate community-maintained package. If someone is willing to take a shot at this, I'd be happy to fix all the pptr-side show stoppers and re-frame this discussion into "what's missing for a pptr-sourcemap-coverage package?"

Great points @aslushnikov thanks!
Any work on DevTools roadmap/plans to promote sourcemap handling into CDP?
That would be even better route, rather than duplicate the effort (and nagging inconsistencies). I can see DevTools even have sourcemapped code coverage highlighting, shame to have to recreate that existing feature.

Any work on DevTools roadmap/plans to promote sourcemap handling into CDP?

There are no plans; we've been toying with sourcemaps on the Chromium side, but got more problems than benefits: it's much easier to load, parse and reuse sourcemaps on the front-end side than on the backend side.

OK, thanks totally understandable!
I've played with it a bit — looks almost doable, with an odd patch of
totally unsolvable riddle in the middle :-)
Will report back soon!
On Tue, 20 Nov 2018, 21:48 Andrey Lushnikov<EMAIL_ADDRESS>wrote:

Any work on DevTools roadmap/plans to promote sourcemap handling into CDP?
There are no plans; we've been toying with sourcemaps on the Chromium
side, but got more problems than benefits: it's much easier to load, parse
and reuse sourcemaps on the front-end side than on the backend side.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/puppeteer/issues/3570#issuecomment-440441155,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD2s7wV8UwTnyPRGIDlkmcZ6Tst-ak-5ks5uxHi0gaJpZM4YpY4H
.

On 20 Nov 2018 9:48 pm, "Andrey Lushnikov"<EMAIL_ADDRESS>wrote:
Any work on DevTools roadmap/plans to promote sourcemap handling into CDP?
There are no plans; we've been toying with sourcemaps on the Chromium side,
but got more problems than benefits: it's much easier to load, parse and
reuse sourcemaps on the front-end side than on the backend side.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/puppeteer/issues/3570#issuecomment-440441155,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD2s7wV8UwTnyPRGIDlkmcZ6Tst-ak-5ks5uxHi0gaJpZM4YpY4H
.

Closing this; feel free to reach back to us once there's something.

This shouldn't have been closed. This is a very needed feature.

Without this the coverage feature is not useful if you're using any kind of bundler like webpack (which most people do). I couldn't find any workaround for this

I fully agree that nowadays most of the apps are bundled with webpack, parcel, rollup or any other bundler and coverage without sourcemap support is not very useful.
Is this attempt to support this abandoned or there is still hope that it will be addressed soon?

@aslushnikov ^^

Bumping the thread

Is there any active development on this, maybe somewhere on the chrome/chromium project?


Pre-checking checkboxes

Pre-checking checkboxes (select all)
Is there any way to pre-check all checkboxes?

Hey @MUHAMMADSiyab . Yeah, just add vgtSelected property to your rows.
Check the following issue for reference:
https://github.com/xaksis/vue-good-table/issues/592
closing.

Hey @MUHAMMADSiyab . Yeah, just add vgtSelected property to your rows.
Check the following issue for reference:
https://github.com/xaksis/vue-good-table/issues/592
closing.

Second option is to call after data load function like this
preselectAll(){
var r = this.$refs['table'].filteredRows[0].children;
r.forEach(item=>{this.$set(item,'vgtSelected', true);},this);
},


gwyddion, ripser: fix derivation name

Motivation for this change
the version attribute was pulled from stdenv.lib and was wrong as a result. Furthermore, since stdenv.lib.version changes with each commit, this triggers a rebuild of these derivations on each commit (and always with nox-review).
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg  build gwyddion ripser

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: gwyddion, ripser
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-linux (full log)
Attempted: gwyddion, ripser
Partial log (click to expand)
building
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/8j5h7vrva63jzkv4v7j55fyp15izcvnz-ripser-1.0
shrinking /nix/store/8j5h7vrva63jzkv4v7j55fyp15izcvnz-ripser-1.0/bin/ripser
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8j5h7vrva63jzkv4v7j55fyp15izcvnz-ripser-1.0/bin
patching script interpreter paths in /nix/store/8j5h7vrva63jzkv4v7j55fyp15izcvnz-ripser-1.0
checking for references to /build in /nix/store/8j5h7vrva63jzkv4v7j55fyp15izcvnz-ripser-1.0...
error: build of '/nix/store/v33g415cxy0nz6z1na0348wlklj9nxag-gwyddion-2.48.drv' failed

Success on aarch64-linux (full log)
Attempted: gwyddion, ripser
Partial log (click to expand)
shrinking /nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48/lib/libgwyprocess2.so.0.31.0
shrinking /nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48/lib/libgwyddion2.so.0.22.1
gzipping man pages under /nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48/share/man/
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48/lib  /nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48/libexec  /nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48/bin
patching script interpreter paths in /nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48
/nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48/libexec/gwyddion/plugins/process/yellow.sh: interpreter directive changed from "/bin/sh" to "/nix/store/6vqgi9d49smsbr2qxra52yhipg0yxf9f-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48...
/nix/store/sflix0lsw60dfgz8q9n2w9akj2bp7bfz-gwyddion-2.48
/nix/store/w0ywgidn17qhd1kc3x4z9fvl893kpfqm-ripser-1.0


categories page desktop version

Acceptance criteria
Desktop
new page to display all categories
this is where the user lands when they click "browse all categories" from articles dropdown
categories are listed alphabetically (it doesn't really matter if that is horizontally or vertically, given there are now 4 columns)
filter by keyword would narrow the list based on matched strings
I don't really care how this happens, I would imagine the words would all just stack up in the first column
Mobile
same categories page exists on mobile too, obviously
same functionality
the individual categories page doesn't have any sidebar or equivalent for mobile
Links
https://www.figma.com/file/qqfeYAh6Z7QdyJXsQjIUfh/Stampy?type=design&node-id=3054%3A9018&mode=dev&t=y9KwiAh0zgKQrTO8-1

@buddy-web3 QA https://www.figma.com/file/qqfeYAh6Z7QdyJXsQjIUfh/Stampy?type=design&node-id=3087%3A9177&mode=dev

update: PR pending

update: melissa accept PR

@buddy-web3 I'm still seeing 4 columns instead of 3. See the QA I linked last week: https://www.figma.com/file/qqfeYAh6Z7QdyJXsQjIUfh/Stampy?type=design&node-id=3087%3A9177&mode=dev

@melissasamworth PR: https://github.com/StampyAI/stampy-ui/pull/556


[HOLD for payment 2024-04-05] [$100] Remove the closeFullScreen() method from code since it is no longer used

The back button was removed from the modals and so now the closeFullScreen() method is no longer used in the code, but it was never removed. Let's remove it!

Old Issue Description
If you haven’t already, check out our [contributing guidelines](https://github.com/Expensify/ReactNativeChat/blob/main/contributingGuides/CONTRIBUTING.md) for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!
___
Version Number: v1.4.41-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal
Slack conversation:
Action Performed:
Precondition:

Workspace filter is set to "Expensify".

Open workspace switcher.
Select any workspace.
Click Profile settings.
Click back button on the top left.

Expected Result:
App closes profile settings and reopens the chat that shows up after switching workspace in Step 4.
Actual Result:
App reopens the chat that is opened in Step 2, which is before workspace filter is applied, while the workspace filter is still applied.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/32828cc3-8d1c-4347-a25d-f7b624a03ccc

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0124a682d645bc91de
Upwork Job ID:<PHONE_NUMBER>393643520
Last Price Increase: 2024-03-15

Issue OwnerCurrent Issue Owner: @adelekennedy

We think that this bug might be related #wave8-collect-admins
CC @zanyrenney

Let's fix the issue then instead of reverting

looking for proposals

Proposal
Please re-state the problem that we are trying to solve in this issue.
The current issue pertains to the functionality of the back button in profile settings, which erroneously navigates to the conversation before workspace switching.
What is the root cause of that problem?
Upon pressing the back button in profile settings, the closeFullScreen() function is triggered, utilizing StackActions.poptotop() to jump to the first screen in the stack. However, the desired behavior is to navigate only one step back.
/**
 * Close the full screen modal.
 */
function closeFullScreen() {
    const rootState = navigationRef.getRootState();
    navigationRef.dispatch({...StackActions.popToTop(), target: rootState.key});
}

What changes do you think we should make in order to solve the problem?
We can use StackAction.pop(1) instead of StackActions.poptotop()
/**
 * Close the full screen modal.
 */
function closeFullScreen() {
    const rootState = navigationRef.getRootState();
    navigationRef.dispatch({...StackActions.pop(1), target: rootState.key});
}

What alternative solutions did you explore? (Optional)
NA

Proposal
Please re-state the problem that we are trying to solve in this issue.
After navigation around various chats and workspaces and then the user brings up the Profile page, when user click the Left Chevron at the top left it does not go back to the last chat page viewed. The user expectation is it should go back to the chat page immediately before opening the Profile page.
What is the root cause of that problem?
The root cause of the problem is the wrong action is called when the Left Chevron is clicked. StackActions.popToTop() is the wrong action introduced in 404b0b6
What changes do you think we should make in order to solve the problem?
We should revert 404b0b6 to restore correct functionality of the Left Chevron.
404b0b6 was supposed to fix "Clicking back from the Account Settings back in top left corner takes noticeably longer to open the chats then other back buttons" but I have not been able to reproduce this slower performance on Web. We should fix this issue (#36509) now because it's broken functionality which is more important than performance. Separately, another issue should be opened to properly investigate and address the slower performance. It's possible this performance issue no longer exists.
What alternative solutions did you explore? (Optional)

on my plate

Proposal
Updated

I like @bi-kash's proposal https://github.com/Expensify/App/issues/36509#issuecomment-1959508184
🎀 👀 🎀

@tgolen I'm suggesting another C+ to review proposals here.

@barros001 the commit you're referring to in react navigation is 4 years old. I can't find it in main branch. Maybe they removed the delay?

OK, I read through most of this issue and I hope I caught everything. I understand the focus on pop and popToTop but I am concerned that it could have far-reaching effects across the app. Are we sure we want to affect the entire app?
If so, then I think this problem is not really related to the workspace selector only, and that's just one way the problem is manifesting. I agree with Rushat's plan to fix that.
If we don't want to affect the entire app, then @bi-kash's proposal is the correct one I think.

No worries, it's all good :)

@rushatgabhane How do you want to move forward on this one? Is the root problem happening elsewhere in the app and this should be a holistic solution for the entire app? OR does this problem only affect this single flow and a more simple fix is in order?

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests. (First week)

Issue is still reproducible in staging and production

Yeah sure! Let me deep dive what to do here

@tgolen I think we should measure the delay using StackActions.pop vs StackActions. popToTop.
If the delay is measureable and user can feel the lag, then we could go with @bi-kash's proposal because I can't find this issue happening anywhere else in the app.

If there are no posts, I'll find a way to measure the delay over the weekend.

Besides the delay issue there is also this issue https://github.com/Expensify/App/issues/36900

clearing the overdue here - @rushatgabhane were you able to measure the delay over the weekend?

I've added this to wave collect as I think it belongs there and under the Release 1 status

Hey, now that we've removed back button from the full screen modal, do we really need to fix this bug?
It can't be reproduced after click browser back. The function closeFullScreen where the root cause is isn't being used.

That's a good point. It's a shame that closeFullScreen has been abandoned. It should be cleaned up now. I'm going to reduce the bounty of this issue to $100 and change the scope to just be a simple cleanup.

@trjExpensify with the change above should this be under polish vs release 1?

Let's hire @barros001 because they were first to mention the root cause?
https://github.com/Expensify/App/issues/36509#issuecomment-1961909146
@tgolen 🎀👀🎀

yep, polish makes sense.

Not a bug. This is a cleanup issue

@adelekennedy could you please attach payment summary 🙇

Is payment due today or on the 5th? Happy to pay out today but want to check if the retitling automation is correct!

ah Upwork, always reliably unreliable

payment made!

$100 approved for @rushatgabhane


fix(header): convert env to lowercase for comparison

Fixed environment string comparison when upper case characters are used to define the environment property

Preview environments are getting posted here, as soon as they are ready!


CONCERN: How will Health Authority Picker scale when we have many of them?  DHM-S1-21

   [DHM-S1-21] When there are many Health Authorities, it is not clear what UX will be to allow me to choose the ones relevant to me.

o   Are they listed alphabetically?
o   How does the app work with a list that is too long to fit on the page?
o   Can I filter for Health Authorities that are local to my area etc.?
o   Can I search for a given Health Authority name?

This will eventually be a concern for future us, but I'm going to close the issue as it's more of a specification desire than a problem with the existing codebase. (Hopefully the V2 spec will answer some of your questions above....)  [Auto enroll in Heath Authority based upon location may also make much this a non-issue.]


DETA Grid Connect Fan Speed

"My DETA fan controllers are using device type fanlight and are working perfectly fine, can you confirm if this is still a valid issue?
There is also an update  #267  coming very soon that will disable any existing values to be resent to the device such as a fan that's switched ON to be told to turn ON again -_-
Originally posted by @ElphaX in https://github.com/iRayanKhan/homebridge-tuya/issues/118#issuecomment-826349046"

Just re-opening this issue as my DETA Grid Connect fan is still doing the same thing in the original issue I opened. What did you do to get yours working?

Can you post your datapoints schema as specified on the Tuya Dev Portal OR the device signature from the homebridge logs?

Additionally

You need to change the SimpleFanLightAccessory.js file brightness range to reflect 0-100 with a stepping size of 1 to make brightness work correctly.


setup.py doesn't specify the utils package

https://github.com/sensu-plugins/sensu-plugin-python/blob/master/setup.py#L8 doesn't list the utils subpackage, breaking importing SensuPlugin after pip install sensu-plugin:
$ python sensu.py
Traceback (most recent call last):
  File "sensu.py", line 2, in <module>
    from sensu_plugin import SensuPlugin
  File "/home/hukka/.pyenv/versions/browsertests/lib/python3.6/site-packages/sensu_plugin/__init__.py", line 7, in <module>
    from sensu_plugin.handler import SensuHandler
  File "/home/hukka/.pyenv/versions/browsertests/lib/python3.6/site-packages/sensu_plugin/handler.py", line 23, in <module>
    from sensu_plugin.utils import get_settings
ModuleNotFoundError: No module named 'sensu_plugin.utils'

$ ls /home/hukka/.pyenv/versions/browsertests/lib/python3.6/site-packages/sensu_plugin
check.py   exithook.py  __init__.py  plugin.py     __pycache__
compat.py  handler.py   metric.py    pushevent.py  test

Thanks for highlighting this issue and the other one that you submitted, I'll hopefully have time later today to get these sorted out.

That's 0.4.1 uploaded to PyPI, thanks again for reporting this :)


Async IF tx pool

Describe the feature
Issues arising form the fact that commits to the transactions pool are synchronous (https://github.com/paradigmxyz/reth/issues/6411, https://github.com/paradigmxyz/reth/issues/6289, ...), should eventually be obsolete by reworking the transactions pool interface to be asynchronous. The tx pool should run as a service listening for commands, and be spawned in its own thread.
Additional context
No response

Can I take this?

@Arindam2407 missed your question. don't think the design scape here is so open, and needs to be done by original authors @mattsse @Rjected before efforts are invested into implementation. feel free to suggest an outline of a design here in the thread and kick start the design process.


Add Gitstatus segment

This adds a segment for gitstatus. Fixes #1185 .
Caveat: This does not make use of the asynchronous mode that gitstatus provides. This will be added as soon as we have a proper basis for that (presumably with #1176 ).
// cc @romkatv

Looks great! Finally gitstatus will have tests :-D

Looks great! Finally gitstatus will have tests :-D

I don't want to disappoint you, I've mocked gitstatus away, so the tests run on travis.. ;)

I don't want to disappoint you, I've mocked gitstatus away, so the tests run on travis.. ;)

Oh, man! And just like, that my test coverage went back to zero.


Fixed merge error of XML documentation for Target Write-methods

This change is

Codecov Report

Merging #1992 into master will decrease coverage by -<1%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #1992    +/-   ##
=======================================
- Coverage      82%     82%   -<1%
=======================================
  Files         285     285
  Lines       19589   19589
  Branches     2290    2290
=======================================
- Hits        15983   15977     -6
- Misses       3040    3060    +20
+ Partials      566     552    -14

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 e4ddeef...3c7660a. Read the comment docs.

Thx!


Cannot find suitable offer when using mux strategy

*|1|INFO|0|21838|unknown|main|main|0|main.go:71|2017/08/25 15:32:56.90037006|Starting executor file server
*|1|INFO|0|21838|unknown|main|main|0|main.go:109|2017/08/25 15:32:56.902987575|Starting API server
*|1|INFO|0|21838|unknown|main|main|0|controller.go:92|2017/08/25 15:32:56.903100507|Starting leader election socket server
*|1|INFO|0|21838|unknown|main|main|0|ha.go:129|2017/08/25 15:32:56.907039465|We're leading.
*|1|INFO|0|21838|unknown|main|main|0|controller.go:107|2017/08/25 15:32:56.907486103|Restoring any persisted state from data store
*|1|INFO|0|21838|unknown|main|main|0|controller.go:115|2017/08/25 15:32:56.907934613|Starting periodic reconciler thread with a 15 minute interval
*|1|INFO|0|21838|unknown|main|main|0|subscribed.go:32|2017/08/25 15:32:56.916165579|Subscribed with an ID of 4ec39f47-8a70-45b4-b19c-09758c3ef483-0003
*|1|INFO|0|21838|unknown|main|main|0|subscribed.go:47|2017/08/25 15:32:56.921215729|Not reconciling: Task manager is empty
*|1|INFO|0|21838|unknown|main|main|0|offers.go:42|2017/08/25 15:32:56.921938862|No tasks to launch.
*|1|INFO|0|21838|unknown|main|main|0|scheduler.go:328|2017/08/25 15:32:56.926591504|Suppressing offers
*|1|INFO|0|21838|unknown|main|main|0|scheduler.go:151|2017/08/25 15:32:56.930859691|Declining 1 offers
^[*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:25.837888612|Cannot find a suitable offer for task afc74d87d4eb407d84d37ec4b0bdb7a0-6
*|1|INFO|0|21838|unknown|main|main|0|scheduler.go:179|2017/08/25 15:33:25.837968243|Reviving offers
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:25.838068692|Cannot find a suitable offer for task afc74d87d4eb407d84d37ec4b0bdb7a0-1
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:25.838242491|Cannot find a suitable offer for task afc74d87d4eb407d84d37ec4b0bdb7a0-2
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:25.838461263|Cannot find a suitable offer for task afc74d87d4eb407d84d37ec4b0bdb7a0-3
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:25.838731746|Cannot find a suitable offer for task afc74d87d4eb407d84d37ec4b0bdb7a0-4
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:25.838961395|Cannot find a suitable offer for task afc74d87d4eb407d84d37ec4b0bdb7a0-5
*|1|INFO|0|21838|unknown|main|main|0|scheduler.go:151|2017/08/25 15:33:25.841062531|Declining 1 offers
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:27.244324692|Cannot find a suitable offer for task 41f14cc7618a478eab098417efe684ad-5
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:27.244532004|Cannot find a suitable offer for task 6429f211590a48c6a20d06d5c3b3f770-3
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:27.24468417|Cannot find a suitable offer for task 188c9a322cbb4ee38df253f493d909ff-5
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:27.244877657|Cannot find a suitable offer for task 338f5b36b6e041cc93499db5d854dcff-1
*|1|ERROR|0|21838|unknown|main|main|0|offers.go:67|2017/08/25 15:33:27.245068944|Cannot find a suitable offer for task 338f5b36b6e041cc93499db5d854dcff-7
......................................

Can you copy-paste the JSON you used and some reproduction steps? Is this on a local development environment or in a larger environment, etc.

I did this locally. What I did was temporarily modify the loader:
@@ -35,8 +35,8 @@ class Application(object):
         filters = {}

         # Add filters only with a set % chance..
-        if random.uniform(0.0, 1.0) < self.filter_chance:
-            filters = self.__generate_filters()
+        #if random.uniform(0.0, 1.0) < self.filter_chance:
+        filters = self.__generate_filters()

         command = self.__generate_command()
         container = self.__generate_container()
@@ -78,7 +78,10 @@ class Application(object):
     """
     def __generate_filters(self):
         # TODO(tim): How to generate valid filters if we don't know what attributes are on the cluster?
-        return {"filters": []}
+        return {"filters": [{
+            "type": "STRATEGY",
+            "value": ["mux"]
+        }]}

     """
     Generate a command.

and then just ran ./main.py -e http://localhost:8080/v1/api/app -n 20 -r true

I just tried this again to make sure it's still a current bug and it does seem to be an issue. I found something new though: once a bunch of tasks are submitted and no offers are found for all of them, when you go to launch more new tasks the framework doesn't process them. It looks like after the first batch of tasks are submitted and leak due to the offers issue there is no suppression/revival so we get stuck in an in-between state here.

This seems to hang everything actually. Our signal handlers don't work and if you take down etcd while in this state the framework doesn't recognize that etcd has gone away (no retries are initiated).

The docs mention using "strategy": {"type": "unique"},           # Deployment strategy can be set to UNIQUE or MUX. for this but it looks like we don't do anything with that field. We still need filters for the strategy:
"filters": [{
  "type": "STRATEGY",
  "value": ["mux"]
}],

I'll open up another issue to track this.

I see why this wasn't working as intended. The new way to apply a strategy (as you mentioned https://github.com/verizonlabs/hydrogen/issues/46#issuecomment-340509358) has no logic for colocation so any strategy passed over ends up doing a unique deployment. Additionally, I didn't realize that the strategy can't/shouldn't be applied in the filters anymore. Looks like we have a bug in the logic that causes some of the issues described in this ticket. I'll fix that up.


Please remove unnecessary files

.pyc etc.
They are generated automatically during installation.
Thanks.

We remove all unnecessary files.
Thanks.

Still there. Please do not close a ticket unless resolved.
Thanks.

Ok,
What other files we should remove?
Thanks for your help.

We remove all unnecessary files.
.pyc, .sh and test folder
Thanks.


Specify name of the kind of ServiceBinding CRD

The name was implied from the rest of the text.  A normative text to
explictly specif the name of the kind given to the ServiceBinding CRD
would avoid any confusion.

I used the word "SHOULD" as per RFC-2119. I am fine with changing it to "MUST". Please suggest.


Read stream

Simply this, an image init option, implemented in AbstractDecoder, to read an image stream. I've implemented the same kind of tests set for other types of images

Thanks.


What version is pdf.js supported with Safari on iOS?

Attach (recommended) or Link to PDF file here:
I got an error when I'm trying to display pdf file on iPhone.
The error message was : The browser/environment lacks support for critical functionality used by Pdf.jf library (eg.. ReadableStream add/or Promise.allSettled); Please use and ES5-compatible build instead.
I have tried iOS 11 iOS11.2 iOS 12 and iOS 13. Test pdf file was display succeed on iOS 13 but other versions of iOS can not be displayed.
So. what is the ES5-compatible build and where can I get that build ?
thank!
Configuration:

Web browser and its version:Safari on iOS
Operating system and its version:iOS version 11   11.2 12
PDF.js version: 2.5.207
Is a browser extension: no

Steps to reproduce the problem:

open an url

What is the expected behavior? (add screenshot)
remind that the browser lacks native support.

What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Quoting from the WIKI, see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support:

From version 2.4.456 on we produce a non-translated/non-polyfilled build for modern browsers by default. However, we also provide the translated/polyfilled build for older browsers in a separate bundle (with the -es5-dist.zip suffix).

Hence see either https://mozilla.github.io/pdf.js/getting_started/#download, or the individual releases listed at https://github.com/mozilla/pdf.js/releases

Thanks a lot


function to update family_id in family_participant table

A draft for a simple function to update family ids for participants in the family_participant table. This relates to the issue described here, where there are two participants who are currently under the wrong family.

Codecov Report
Patch coverage: 35.00% and project coverage change: -0.10 :warning:

Comparison is base (9601e02) 66.04% compared to head (f828502) 65.94%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #483      +/-   ##
==========================================
- Coverage   66.04%   65.94%   -0.10%
==========================================
  Files          76       76
  Lines        6491     6511      +20
==========================================
+ Hits         4287     4294       +7
- Misses       2204     2217      +13

Impacted Files
Coverage Δ

db/python/tables/family_participant.py
75.00% <16.66%> (-6.49%)
:arrow_down:

db/python/layers/participant.py
63.45% <33.33%> (-0.54%)
:arrow_down:

api/routes/participant.py
35.48% <50.00%> (+1.36%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I've changed the family_participant table function to now delete based on a participant ID and family ID, so only one row will be deleted per execution.
I also added some functions in the ParticipantLayer which can call the delete and create row functions from the family_participant table class. Finally I dropped in some API endpoints to use these new functions.
To update a participant's family, the idea would be:

Get the participant_family row for that participant/family, save the fields like paternal_id, maternal_id, affected
Delete the participant from the family using the new function
Create a new row in participant_family with the correct family ID, populating the row with the fields saved in step 1.

Not exactly sure if this is the right approach, or if there should only be one endpoint (like "update participant family") which executes steps 1-3 above^.

Latest commits add a new endpoint to the participant API, update_participant_family, as well as some unit testing.
This function takes a participant ID, current participant family ID, and a new participant family ID.

Get the current participant/family data (paternal/maternal ID, sex, affected status)
Remove the participant from the current family - delete the row in family_participant
Add the participant to the new family - add row to family_participant with the data saved in step 1

Understand this will need a bumpversion commit too, I'll add that if this works.

@illusional changes implemented, I added the project access check for the family/participant IDs into the get_family_participant_data, add_participant_to_family, and remove_participant_from_family methods.
Is it redundant to do the check in the 3 helper methods when I could just do it once in the new update_participant_family method?


Substring function doesnt return the right number of characters

Describe the Bug with repro steps
When I use the substring function it is copying 1 character less than required.
EG I supply an input node then say start at index 0 with a length of 4.  Id expect to get the first 4 characters in the output
I only get the first 3 characters in the output
Screenshots or Videos
This is how the substring is configured:

This shows only 3 characters were copied

Version
v2.3.0
Additional context
No response

Ignore this, its not an issue.  The xslt function is a 1 based index not a zero based.  More info here
https://www.educba.com/xslt-substring/


marked-highlight interfering with custom TokenizerExtensions

Upgraded an older project to a newer version of marked and started receiving the following deprecation notice:
marked(): highlight and langPrefix parameters are deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-highlight.

However, upon upgrading and using marked-highlight, some of the other tokenizer extensions have stopped working, removing marked-highlight allows them to start working again.
import * as marked from 'marked';
import hljs from 'highlight.js';
import { markedHighlight } from "marked-highlight";

const emote: marked.TokenizerExtension & marked.RendererExtension = {
    name: 'discord-emote',
    level: 'inline',
    start: (src: string) => {
        console.log('Hit Emote Check', src);
        return src.match(/\<(a)?:(.*?):([0-9]{1,})>/)?.index;
    },
    tokenizer(src: string, tokens: any) {
        const rule = /^\<(a)?:(.*?):([0-9]{1,})>/;
        const match = rule.exec(src);

        if (match) return {
            type: 'discord-emote',
            raw: match[0],
            animated: !!match[1],
            emoteName: match[2],
            emoteId: match[3]
        };

        return;
    },
    renderer(token) {
        const animated = token['animated'] ? 'gif' : 'png';
        const name = token['emoteName'];
        const id = token['emoteId'];

        return `<img src="https://cdn.discordapp.com/emojis/${id}.${animated}" class="emote" alt="${name}" />`;
    },
    childTokens: ['animated', 'emoteName', 'emoteId']
};

marked.marked.use(
  { extensions: [ emote ] },
  markedHighlight({
      langPrefix: 'hljs language-',
      highlight(code, lang) {
          const language = hljs.getLanguage(lang) ? lang : 'plaintext';
          return hljs.highlight(code, { language }).value;
      }
  }),
);

const output = marked.parse('<:test:1234567>');

output in this example yields: <:test:1234567>
Removing markedHighlight(...) it yields:
<img src="https://cdn.discordapp.com/emojis/1234567.png" class="emote" alt="test">
Edit: Forgot to mention - using marked 9.1.2 and marked-highlight 2.0.6

It seems to work if you remove childTokens: ['animated', 'emoteName', 'emoteId']
childToken properties are supposed to be an array of tokens. Your extension set them as strings which throws an error when markedHighlight runs.

Thanks, that seems to have worked.


an error on "RTA with multiple signatures (two passes)”

when I test the script : "# resign-rta --ca-name ca2 --in rta --out rta" in “RTA with multiple signatures (two passes)”  ,  an error is reported:
#resign-rta --ca-name ca2 --in rta --out rta
write_file '/root/rta/RTAwithmultiplesignatures_twopass//root/rta/RTAwithmultiplesignatures_twopass/rta' - sysopen: No such file or directory at /usr/local/bin/resign-rta line 94.
this script directory is on /root/rta/RTAwithmultiplesignatures_twopass in Docker
thx

Thanks, this has been fixed.


feat(UniformEmbedding): generalize a lemma to UniformInducing

This way it applies to inducing quotient maps.

Skimming the diff, it's not immediately obvious which lemma you generalized. Please name it in the PR description!

@eric-wieser I've just reverted generalization of _root_.completeSpace_congr. I'll update PR description in a few minutes.

bors merge


Compatibility for better simulator reloads

See gameclosure/devkit#238

I don't understand the concept of namespaces.  Maybe it's the function calling convention: getNamespace('preserveCache') seems like it should return a namespace called preserveCache.
What's a namespace and how might it be used?


minikube ingress

I thought that contour was routing tcp:80 http requests according to our ingresses, but that doesn't appear to be the case.  The demo only works if the minikube's ingress addon is enabled.  Figure out what's going on here.
Additionally, Contour looks great, but it won't do SNI-based virtual hosting for arbitrary TCP ports.  Voyager does, and if we can use one thing (voyager) for everything then we should.

superseded by #238


Add OpenChange (MAPI) Backend

Thank you for adding a first version of SOGo to MIAB, this loooks really great. An thoughts about adding the OpenChange MAPI implementation/backend? This would provide native Outlook Exchange support.
https://sogo.nu/files/docs/SOGoNativeOutlookConfigurationGuide.html
-Norman

It seem's it dependent on LDAP?
I'd rather not implement OpenLDAP or the likes, to much headache :-)

I've done some more research on the subject, and without LDAP this is pretty much dead in the water.
I suggest you use this tool instead to get Calendar/Contact sync with Outlook.

Maybe... instead of plain OpenLDAP you can use instead FreeIPA.
There is indeed some job already explained by Digital Ocean users:
https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/sogo_simple_install.md

@JustDevZero We're using FreeIPA at the university where I study. IMHO it's an even bigger beast than plain LDAP, to much overhead and complexity for so small gain.
I'll reopen the issue, as I'm up for further discussion

As far as i read in the guide, it looks like it can work only with samba (which is indeed needed for the card/caldav storage), with a kind of builtin micro-ldap server.

For example, SOGo can very well use Samba 4’s built-in directory server to authenticate users. A SOGoUserSources entry to achieve ...

https://sogo.nu/files/docs/SOGoNativeOutlookConfigurationGuide.html
So, maybe we can use the builtin one instead of installing the whole LDAP+Samba+Sogo.

@JustDevZero While I have my doubts it will work as you say I'm really up for you/someone to prove me wrong (and submit a working PR which I will seriously consider)
I will however not try to implement this myself, as in my eyes this branch is "feature complete" for me and my purposes and my time is limited


Replace fake __g dict with real globals

This fixes #38, and also makes it possible to oneline a library that is imported elsewhere.

niiiiiiiice


Automated code review tools

Update language areas with tools to support the review process.

FxCop
StyleCop

and the like should be called out and specific instructions on how to enable and enforce them in a pipeline.

This was handled as part of the language specific guidance and the tools available for each of them.


Issue related to number of child count

I am trying to get total child count under the DataPanel grid and it always returns 1 even though count is more than 1. Also note that the Datagrid children have same identification properties.
Please find the attached file for Parent child relationship.
Here is my code.
.....................................................................................................................................................................
Approach1:
var datagrid = session.FindElementByAccessibilityId("dataPresenter");
var rowCount = datagrid.FindElementsByXPath("/").Count;
rowCount always returns 1.  I was expected 2.
Approach2:
var datagrid = session.FindElementByAccessibilityId("dataPresenter");
var rowCount = datagrid.FindElementsName("ChildName").Count;
Please note all children are having same identification properties.
rowCount always returns 1.  I was expected 2.
......................................................................................................................................................................

Try using the XPath "/*". I think the astericks is XPath notation for "everything".

Which version of win app driver are you using

@PandaMagnus Thanks for the update! I have already tried with "/*" with no luck.
@anunay1 I am using latest one.


fix(changelog): use generate-changelog

Replaces the homegrown script with the generate-changelog module.

LGTM :+1:

LGTM


BitMapFontProvider should compare codepoint length, not character length

Here, UTF-16 characters (characters that require more than a single char in a string) are supported by Minecraft but we are not supporting them there

Fixed in d17f78a0d98cbbc03a7cd42377fb5349bbee3764 (dev branch)

dev branch merged


Added responsiveness on smaller screens

I already Fix it and Your script has the same issue of identical id.


analyzer fuzz crash: old style function typed formal parameter with type args

This one is interesting because it is technically valid dart code!
class C {
  Function() f;
  C(this.f<T>());
}

This is technically a valid field initializer for f that constrains the type from Function() to Function<T>(). @leafpetersen if he cares to confirm/comment.
However this is the old way, and the new way works (class C { Function() f; C(Function<T> this.f); }). So this is an extremely edge case language feature.
_ElementMismatchException: Element mismatch in /test/lib/test.dart at dynamic Function(dynamic) fi
Caused by RangeError (index): Invalid value: Valid value range is empty: 0
#0      List.[] (dart:core-patch/array.dart:166:52)
#1      ElementWalker.getTypeParameter (package:analyzer/src/generated/declaration_resolver.dart:951:22)
#2      DeclarationResolver.visitTypeParameter (package:analyzer/src/generated/declaration_resolver.dart:462:37)
#3      TypeParameterImpl.accept (package:analyzer/src/dart/ast/ast.dart:10253:49)
#4      NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7670:20)
#5      TypeParameterListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10303:21)
#6      RecursiveAstVisitor.visitTypeParameterList (package:analyzer/dart/ast/visitor.dart:1296:10)
#7      TypeParameterListImpl.accept (package:analyzer/src/dart/ast/ast.dart:10299:49)

Fix for summary2.
https://dart-review.googlesource.com/c/sdk/+/114929


added execute and set_environmental_variables

Hi,
I have added functionality to execute commands and set environmental variables.
Regards,
Dilip Vamsi.

Hi @rags ,
The execute you have and mine are a bit different as I had to use my own custom check_call inspired from subprocess as the Keyboard Interrupt (ctrl-c) is not properly passed down in the existing python implementaion. This can also run multiple commands while properly checking the execution flow of each command.
Please go through them and I think that it would be better if they are present in here as it would be only one step to install and use them.
Regards,
Dilip Vamsi.

Hi Dilip,
I lost track of this. Can you please raise this request in pyntcontrib. I look at this as useful  common task and it really belong to the contrib project!

Hi @rags ,
I will do it once I'm free.
Regards,
Dilip Vamsi.


Use fixed version of nodeify

The 1.0.0 version has an ugly bug: https://github.com/then/nodeify/pull/2

Changed.

1.0.1 version has been released.

Thank you :octocat:


IGNITE-17355 CLI management of metrics

https://issues.apache.org/jira/browse/IGNITE-17355
This partially implements metric management - only for nodes pending discussion and decision about cluster-wide metric management.

LGTM


Add page title

Used the same text as in novaSettings.navigationItemTitle

Ooh, thanks a ton!

Thanks again, I released your PR-s in version 3.1.0. :) Good luck!


Practise page

Create practise page with type-of-practise choosing, rounds, points, ...
Design deppends on #28 and #29.
~* [ ] Web~

[ ] Mobile
[ ] BLoC

Open exercise, ask how many questions and what type, generate exercise, evaluate, show result and add points to profile.


Add some benchmarks comparing akka-kryo-serialization with other serialization approaches available on Akka

It would be nice to have some benchmarks demonstrating that akka-kryo-serialization is much faster than the standard serialization provided by Akka.

@luben @briantopping Hi guys! If your or other users of this library could contribute some benchmarks demonstrating the advantages of using it, it would be really nice of you!

yes, I will look how to add a config with Java serialization (which is the default for akka) in our performance tests)

PR: https://github.com/romix/akka-kryo-serialization/pull/72

@luben Thanks a lot!
Could we have a benchmark that starts a set of Akka actors locally and let's them communicate (e.g. 100000 messages or something like that)? The current perf test just measures the raw serialization/deserialization performance. But the question is if the speedup is as impressive when we use it in a real-world scenario where we also have other overheads due to networking, multi-threading, etc.

It will depend a lot on the type of messages exchanged and will vary with the workload I guess. Adapting one of the stress tests from the actor test suite should be possible with a little work. I have not looked in the details how to do it but purely local actors do not serialize the messages - we should use the multi-node testkit to spin multiple JVMs.

hm, we can force it to always serialize the messages

Yes, we could force to always serialize the messages, but I'm not sure if the result will be realistic enough. I'd really like to see something that would go through the OS networking stack, etc.
Basically, the aim is to show that the overall overhead of the serialization in the real-world scenarios is significant and our library is able to significantly reduce it (it may be both in terms of performance and/or amount of data transmitted).
The tests could try to exchange messages of different sizes and structure to show how the performance is changing depending on the size and structure of the message.
I agree that adapting the stress tests from the actor test suite could be a good idea and save a lot of work.

Do we still want to invest time in this?

Since performance really does matter this would be worth a bit of time. But I'm more thinking about performing a manual set of tests once or once per release...


PIP-218: Consumer batchReceive() single partition every receive

Motivation
Currently, client API does not use acknowledgeCumulative simple and easy to understand.
If the user uses the receive() interface to consume multi-partition topic, there are two ways to use acknowledgeCumulative correctly :

Cache the different topic name messageId locally.
        Map<String, MessageId> map = new HashMap<>();

        while (true) {
            for (int i = 0; i < 1000; i++) {
                Message<String> message = consumer.receive();
                map.put(message.getTopicName(), message.getMessageId());
            }
            map.forEach((k, v) -> consumer.acknowledgeCumulativeAsync(v));
            map.clear();
        }

It is complex and difficult for users to understand.

Every message invokes acknowledgeCumulative.
        while (true) {
            Message<String> message = consumer.receive();
            consumer.acknowledgeCumulativeAsync(message);
        }

Simple, but does not conform to the definition of 'acknowledgeCumulative', which is difficult for users to understand.

Similarly, using batchReceive() is the same as receive(). Therefore, we need to implement a simple and easy-to-understand usage way.
Goal
Because receive() cannot reflect the value of 'cumulative ack', so we mainly consider batchReceive(). We can make every batchReceive() receive the same topic messages.
	// consumer the multi-partition messages
        while (true) {
            Messages<String> messages = consumer.batchReceive();
            Message<String> finalMessage = null;
            for (Message<String> message : messages) {
                process(message);
                finalMessage = message;
            }
            if (finalMessage != null) {
                consumer.acknowledgeCumulativeAsync(finalMessage);
            }
        }

API Changes
Add configuration in BatchReceivePolicy.
    /**
     * whether receive the single topic message every time(default: false).
     */
    private final boolean receiveSingleTopicMessageEnabled;

Implementation
Change ConsumerBase batchReceive logical. If peek different topic message, return the batch result.
protected final void notifyPendingBatchReceivedCallBack(CompletableFuture<Messages<T>> batchReceiveFuture) {
    MessagesImpl<T> messages = getNewMessagesImpl();
    Message<T> msgPeeked = incomingMessages.peek();
    String topicName = null;
    while (msgPeeked != null && messages.canAdd(msgPeeked)) {
        // one batch receive request only can receive the same topic partition
        if (receiveSingleTopicMessageEnabled) {
            // get the first message's `topicName` to check if the following message peeked is the same topic message.
            if (messages.size() == 1) {
                topicName = messages.getMessageList().get(0).getTopicName();
            }
            // if the peeked message is not the same topic as the first message, return the batch result
            if (topicName != null && !topicName.equals(msgPeeked.getTopicName())) {
                break;
            }
        }
        Message<T> msg = incomingMessages.poll();
        if (msg != null) {
            messageProcessed(msg);
            Message<T> interceptMsg = beforeConsume(msg);
            messages.add(interceptMsg);
        }
        msgPeeked = incomingMessages.peek();
    }
    completePendingBatchReceive(batchReceiveFuture, messages);
}

Alternatives
Don't add any config, this will cause users to fall back to the old version of the client and cannot use this feature without awareness.
Anything else?
Follow-up Work
optimize performance
Mail discuss
https://lists.apache.org/thread/bd61h8vvnm9sf1n43wfh1t4vzsg26l2h
Are you willing to submit a PR?

[x] I'm willing to submit a PR!

Just one suggestion about the new option name
Maybe messagesFromMultiTopicsEnabled=true is more understandable.
And add a description of the behavior if the user disables it.
It looks like if messagesFromMultiTopicsEnabled=true. The max messages and max size will not be strictly followed.

Just one suggestion about the new option name
Maybe messagesFromMultiTopicsEnabled=true is more understandable. And add a description of the behavior if the user disables it. It looks like if messagesFromMultiTopicsEnabled=true. The max messages and max size will not be strictly followed.

make sense

Just one suggestion about the new option name
Maybe messagesFromMultiTopicsEnabled=true is more understandable. And add a description of the behavior if the user disables it. It looks like if messagesFromMultiTopicsEnabled=false. The max messages and max size will not be strictly followed.

make sense


Link to Days off doesn't work when using new Boards Hubs

When using the New Boards Hubs in Azure DevOps clicking the link Days off in the right column results in a HTTP-404.
I suspect the url of the Capacity-screen is changed with the introduction of the New Boards Hubs.

thanks for reporting


request instance ip from warmer service

refs https://github.com/travis-ci/reliability/issues/195

Tested with a requestbin, sample request body:
{"zone":"us-central1-a","image_name":"https://www.googleapis.com/compute/v1/projects/eco-emissary-99515/global/images/travis-ci-garnet-trusty-1503417006","machine_type":"https://www.googleapis.com/compute/v1/projects/travis-staging-1/zones/us-central1-a/machineTypes/n1-standard-1"}

HTTP client timeouts based on this blog post from cloudflare.

Still taking longer than I'd like, but the wall clock time is much improved!


Create Bubble_sort.c

Add the files under their respective folder.

Sir I have created it under folder c/c++

Sir I have created it under folder c/c++

Yeah, sorry about the confusion.

Thank You sir


use 512-bit math to handle overflow

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.333%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
115

Relevant Lines:
126

💛  - Coveralls

No unchanged relevant lines lost coverage.


Include cluster creation time in output of cluster list and cluster get

When listing clusters I find it's useful to have the creation time in order to differentiate between similar clusters (e.g. to shut down the older one), or to make it easier to spot clusters that have been unintentionally left running.
What do you think?

@emlyn Thanks for the contribution!


Added month dropdown plugin

Added a plugin that replaces the month name with a dropdown for a quick month selection. It plays nice with min and max date, localization and with different themes (shown below). This feature was requested in #985, #1582 and #1614.

@viorelsfetea I didn't think I would love this so much. This is far superior to the current version where you can't change months easily.
Let's integrate this into the source code. If you want to take it on, most of the code should simply be moved into the buildMonth() function. Otherwise just let me know and I will port it myself :)

@chmln I'm really glad you like it so much. I can port it, but I'll only have time next week

@viorelsfetea no worries, I will take care of it. thanks a lot for your work :+1:

@viorelsfetea While this is a great addition and will surely make changing months easier - I've found that a solution like Bootstrap-Datepicker's months and year selection provides a better user experience. I'm in the middle of moving from that to flatpickr and noticed this is one of the few things that isn't available or easily implementable with the existing hooks.

FWIW another viable alternative that allows you to implement quick month selection via a plugin is https://github.com/jcsmorais/shortcut-buttons-flatpickr, here's an example of how you can do it:

@takuy that sounds like a great idea for another plugin. It would be great if you'd like to take that on and we'll definitely help with that. Part of the code is already implemented in the monthSelect plugin so you can copy a lot of code from there

@takuy I actually disagree that the year picker provides a better UX, but as @viorelsfetea said you are always welcome to create your own plugin based on this one and distribute it through npm or any other channel :)

@chmln done, moved this to core

Great work as always @viorelsfetea :+1: :fire:


Pin back to<EMAIL_ADDRESS>

This is a rollback of https://github.com/knative/net-istio/pull/72  which may have caused new test flakes.

/assign @ZhiminXiang
this is to run overnight to confirm if serving dep was the source of test flakes.  I'm running out of ideas :D .

/lgtm


Tidy tokens module

Improve order of functions, some names, and document each.

Codecov Report

Merging #45 (47be3b7) into main (5016c2c) will decrease coverage by 0.15%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              main      #45      +/-   ##
===========================================
- Coverage   100.00%   99.84%   -0.16%
===========================================
  Files           20       20
  Lines          644      640       -4
  Branches       109      108       -1
===========================================
- Hits           644      639       -5
- Partials         0        1       +1

Impacted Files
Coverage Δ

src/django_upgrade/fixers/null_boolean_field.py
100.00% <ø> (ø)

src/django_upgrade/fixers/email_validator.py
100.00% <100.00%> (ø)

...jango_upgrade/fixers/empty_result_set_exception.py
92.30% <100.00%> (-7.70%)
:arrow_down:

src/django_upgrade/fixers/jsonfield.py
100.00% <100.00%> (ø)

...jango_upgrade/fixers/postgres_float_range_field.py
100.00% <100.00%> (ø)

src/django_upgrade/fixers/queryset_paginator.py
100.00% <100.00%> (ø)

src/django_upgrade/fixers/timezone_fixedoffset.py
100.00% <100.00%> (ø)

src/django_upgrade/fixers/utils_encoding.py
100.00% <100.00%> (ø)

src/django_upgrade/fixers/utils_http.py
100.00% <100.00%> (ø)

src/django_upgrade/fixers/utils_text.py
100.00% <100.00%> (ø)

... and 3 more

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 5016c2c...47be3b7. Read the comment docs.

@browniebroke any thoughts?

Thanks for having a read!


reformat-gherkin support

Issues

[X] I have checked existing issues and there are no existing ones with the same request.

Feature description
none-ls doesn't load the next formatter: https://github.com/ducminh-phan/reformat-gherkin

You can install the formatter using mason, filtering by "cucumber".
You can find .feature files to test the formatter here.

Help
Yes, but I don't know how to start. I would need guidance
Implementation help
No response

PR here: https://github.com/nvimtools/none-ls.nvim/pull/123

Merged in none-ls-extras: https://github.com/nvimtools/none-ls-extras.nvim/commit/336e84b9e43c0effb735b08798ffac382920053b

@mochaaP What we add to none-ls-extras is not gonna work correctly (see https://github.com/nvimtools/none-ls.nvim/issues/90)
For example in the next image, reformat-cucumber is not installed, but because it is present in sources = {}, it will be reported as available.

Causing an error when you try to format.

Apart from that, this formatter is not legacy, nor have any other alternative supported in none-ls. It should not be in extra.


feat: initial instance and collection(s) implementation

Description
Create an instance and optionally create collections based on inputs provided, TODO add documentation and outputs, setup testing, add other app config resources as needed.
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

When merging, use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
Merge by using "Squash and merge".

/run pipeline

/run pipeline

/run pipeline

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


chore: Migrate iOS example projects

Description
As discussed in https://github.com/FirebaseExtended/flutterfire/pull/4209#discussion_r529474776 - the iOS example projects needed to be migrated in order to compile again.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

Could you remove the change log and pubspec version bumps - these are automatically handled by our release tooling now. Thanks


Fixes header/footer layout and responsiveness and width of containing elements

Improves layout, text, styles for header elements 400-768px. Updates footer and header for 960px. Overrides dashboard layout with container-fluid. Makes drop down links white when screen is mobile.Overall better layout and responsiveness.


iiif: unskip and fix tests

changes introduced in https://github.com/inveniosoftware/invenio-rdm-records/pull/1271
exposed an issue with dumping @id key, therefore the tests had to be skipped until an underlying issue is found (https://github.com/inveniosoftware/invenio-rdm-records/pull/1271/commits/2a53743496dcb7fb34ad33608f024e9c53ec6356)

I've taken a look at this - the test are failing "correctly", ie the manifests are no longer validating after #1271 was merged.
The serializer no longer recieves a file list with the links object included - these links are required by the manifest serializer to generate the @id for both the canvases and the images.

Just bumping...  had a quick word with @slint. Manifest is not valid because here:
https://github.com/inveniosoftware/invenio-rdm-records/blob/ca1be162117eb112d3ff190ee3c5ab4b54ae7645/invenio_rdm_records/resources/serializers/iiif/schema.py#L119C22-L119C22
(and elsewhere) links is no longer availablew after #1271 was merged. I'm not sure if we should get them back (will this clog up the index) or generate them here in the serialzer?

from Lars:

default_preview in /files but no in record
entries list vs dict
entries differences: bucket, checksum, created, file_id, status, storage class, updated, version_id, ext, links

top level links in files vs not in record
total_bytes in record not in files
so the two serializations should definitely be harmonized.......
probably what's needed is to:
Fix the service schema serialization of RDMFileRecordServiceConfig, RDMMediaFileRecordServiceConfig, RDMFileDraftServiceConfig and RDMMediaFileDraftServiceConfig......e.g. I don't think bucket, file_id, etc should be available there....also you might run into issues that when file metadata comes from the index you dont' have all the info available
Then make the service serialization us the file services link injection templates somehow......


comment typo

Authorization spelled wrong

The change looks good, but this should target the master branch (if applicable), because this does not meet the bar for the 2.2 patch release.
Could you see if this applies to master, and if so, update the PR?

It does apply, but I am not sure how to rebase this in the github ui. I'll resubmit.


Does embedding as service support word embedding?

You mention about sentence embedding, so does embedding as service support word embedding?

Yes. There are distributed vector models like GLoVe and FastText. In addition to these you can take token level vectors from models like BERT by passing pooling=None in the encode method.

Ok, thanks so much!


fix NullReferenceException of DelayTimer after load from instance store

Fix NullReferenceException after load from InstanceStore
After load from instance store with an expired timer, the if condition timerData.ExpirationTime <= DateTime.UtcNow can be true.
This will leave timerData.DelayTimer uninitialized (null). TimerTable then tries to remove the timer in TimerTable.RemoveTimer resulting in a NullReferenceException here
https://github.com/UiPath/corewf/blob/66da71b919c6597cbcc61578d10ae97503476c5e/src/CoreWf/Statements/TimerTable.cs#L76
Note: In combination with LoadRunnableInstance().

@lbargaoanu i had another look into this. If you can give me some guidance i might be able to create the tests you suggested.
Currently there is no access to internals as far as i can see. I think i would need access to at least IPersistencePipelineModule to invoke the initialization. Or how do you go about these scenarios?

There are more than a few tests that use TestWorkflowRuntime, Persist and Resume. Try doing the same.

Yes but timers are different. The TryLoadRunnableWorkflowCommand isn't yet implemented in the FileInstanceStore either.
But I think I almost done it. Currently i get this error:
Unexpected step(s) found WorkflowInstanceTrace: Unloaded (actual 1/req 0/opt 0)

My test looks like this:

TestSequence seq = new TestSequence
            {
                Activities =
                {
                    new TestWriteLine("Before") {Message = "Before"},
                    new TestDelay()
                    {
                        Duration = TimeSpan.FromSeconds(1)
                    },
                    new TestWriteLine("After") {Message = "After"}
                }
            };

 using (TestWorkflowRuntime runtime =
                TestRuntime.CreateTestWorkflowRuntime(seq, null, jsonStore, PersistableIdleAction.Unload))
            {
                runtime.ExecuteWorkflow();

                runtime.WaitForUnloaded();

                Thread.Sleep(TimeSpan.FromSeconds(2));

                runtime.LoadRunnableWorkflow();

                runtime.ResumeWorkflow();

                runtime.WaitForCompletion();

            }

What do i need to do so that the expected trace contains an unloaded step?

No idea :) But the existing tests do work...

Who need I ask for advice then?

You just need to figure it out.

Aren’t you interested in a solution?
I could compile it for my use case and just move on you know, but that seems not in the sprit of Open source.
Your behavior seems almost a bit hostile. I just wanted to help.

There is nobody to help. If I start looking into this, it's easier to do it myself. But I'm not going to do that. So what would help is for you to understand how existing tests work and write one that applies to your case. I can see that you're looking for a shortcut, but there isn't any.


feat: opt in setup function as default plugin location instead of start (#131)

This make it so that if you use the method opt in the setup function all the packages will be installed by default in the opt directory, without specifying opt = true for all packages. Also if for whatever reason the user want some packages still in the start directory could pass opt=false and the package will be installed in the start directory.

I should have fix everything!


Prepare release for batch, reservations

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Create student/unitbv.txt

Add domain for students at Transilvania University of Brasov.

URL for the site: http://unitbv.ro/
URL that confirms the domain for the students : https://student.unitbv.ro/

@AlgiuA If the emails of students end with @student.unitbv.ro, correct file path will be lib/domains/ro/unitbv/student.txt. Please rename or comment saying that the domain is different.

@philipto I have changed the file path accordingly. Thank you for the correction!

@AlgiuA Pull request merged. Thank you!


Mobile View: Back button does not close the active text-base dialog

Describe the bug
Mobile View: Back button does not close the active text-base dialog, instead it navigates back.
Steps to reproduce

Go to main page and login - use the browser (Chrome or Brave) on your mobile phone
Edit an existing note
Click on the mobile's back button (intend to close the note, default behavior)
Memos navigates back to login page and keeps the note open, overlaying the login page

Expected behavior:
Close the note. Do not navigate.
The version of Memos you're using
latest

It is not possible to change the "back" effect of the browser.


core: simplify background IO API

removes unused "completed" IO callback handler
moves primary post-IO callback handlers from the queue definition to the actual IO objects.
allows IO object callbacks to be handled generically instead of based on the queue they were submitted from.

TODO:

[x] Benchmark extstore with/without this to ensure there's no major regression. (tests roughly similar, no huge measurable change while using heavy multigets)

Prerequisite for #969

Reviewed this again and I like it still. There were too many different flows for the IO subsystem, and one of them changes the thread ownership of some of the structure. That is no longer true so the whole thing is more straightforward.
It's still not an abstraction I'm happy with, as the mcp.internal code re-implements multiple IO object sub-types again, but maybe we'll get it next time :)
Stilll need to benchmark to check on no regression. For non heavily pipelined workloads there should be no difference.

benchmark's fine.


This fixes Saving file on Android  10 and 11

I made changes to the saveImage method in Edit-Image-Activity and also changed the language level to 1.8 and tested the
app on both android 10 and 11 emulators and a physical device.

Need to resolve the conflicts. Also, can you just explain why using the background handler to save the image?

ok and why use handler to save the image ?

Why to use Background Thread ?  Actually we are dealing with database using content resolver and also we are creating a file in the main thread. adding a bit more even android has AsyncQueryHandler to process content resolver queries in the background. creating a File and Querying database are blocking operations and more to say that  the code works perfectly if we don't use background thread .

Can you showcase any other osp example on share resources on this background thread which applies to your code changes ?

Well first thing I used Handler and you know that very well - that there are a lot of different ways to write code for background execution and the sample-app is I believe for demonstrating the library but however  Whether to use Background Thread or not For Content Resolver https://developer.android.com/guide/topics/providers/calendar-provider.html/#query Moreover applying strict mode to app would also reveal hotspots for possible I/O errors. https://developer.android.com/reference/android/os/StrictMode

Got it. It make sense now.
Can you please extract the content resovler logic into a seperate class and just expose subscribe,unsubscirbe and creareFile method which will be used in EditImageActivity.
Also need to resolve the conflicst as well.

@burhanrashid52 the conflicts are now  main problem - Resolve Conflicts button is disabled. and I will close the PR and Re-Open it if that helps


feat!: initial samples for library

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@c932c45). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   93.98%
=======================================
  Files           ?        5
  Lines           ?      831
  Branches        ?       38
=======================================
  Hits            ?      781
  Misses          ?       49
  Partials        ?        1

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 c932c45...063557c. Read the comment docs.


Add some way of displaying the current git commit

It would be handy to have, along with a version number, the current git commit that the project is using.
This can probably just be done with CMake to make things easier and not have to write some kind of platform abstract thing in C++

Probably just get the same output that git rev-parse --short HEAD uses


Freeze then trying edit expression.

Raddebugger freeze then I trying to edit expression while inspecting it as an array. In my particular case I'm trying to watch std::vector (MSVC) of structs.
Here is video:
https://github.com/user-attachments/assets/6e738c32-bda6-493e-8dc9-353c46fa3eab

Which version are you running?

Does this issue still happen if you pull from dev and build the debugger locally? I can't seem to reproduce it at the moment on the top of dev. If the issue still happens for you then the issue may be caused by your local configuration, and so if that's the case then I'll ask for the files in %appdata%/raddbg.

Can't reproduce it on dev branch also. Seems I need to switch to dev build since it more stable.

It is variable, we try to keep master more stable, but dev is where we actively work, so it is more volatile (we fix things there first, and we also break things there first). In any case, this will be in the next release. Please let me know if it happens again. Thanks!


[Android] Use only ASCII characters in XWalkActivity.java.

This fixes another regression introduced by 021bfe0 ("[Android] Provide
asynchronous interface for initializing the Crosswalk Library") that
caused all new canaries and betas to fail:
FAILED: cd ../../xwalk; javadoc -quiet -XDignore.symbol.file -d ../out/Release/xwalk_core_library_docs -classpath /home/builder/src/src/third_party/android_tools/sdk//platforms/android-22/android.jar ../xwalk/runtime/android/core/src/org/xwalk/core/JavascriptInterface.java ../xwalk/runtime/android/core/src/org/xwalk/core/XWalkActivity.java ../xwalk/runtime/android/core/src/org/xwalk/core/XWalkApplication.java ../xwalk/runtime/android/core/src/org/xwalk/core/XWalkInitializer.java ../out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkExtension.java ../out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkJavascriptResult.java ../out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkNavigationHistory.java ../out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkNavigationItem.java ../out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkPreferences.java ../out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkResourceClient.java ../out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkUIClient.java ../out/Release/gen/xwalk_core_reflection_layer/wrapper/org/xwalk/core/XWalkView.java
../xwalk/runtime/android/core/src/org/xwalk/core/XWalkActivity.java:35: error: unmappable character for encoding ASCII
 * XWalkActivity to obtain this capability. For those activities, it???s important
                                                                                ^
../xwalk/runtime/android/core/src/org/xwalk/core/XWalkActivity.java:35: error: unmappable character for encoding ASCII
 * XWalkActivity to obtain this capability. For those activities, it???s important
                                                                                ^
../xwalk/runtime/android/core/src/org/xwalk/core/XWalkActivity.java:35: error: unmappable character for encoding ASCII
 * XWalkActivity to obtain this capability. For those activities, it???s important
                                                                                ^
../xwalk/runtime/android/core/src/org/xwalk/core/XWalkActivity.java:40: error: unmappable character for encoding ASCII
 * activity is created. So the developer can???t use embedding API in onCreate()
                                            ^
../xwalk/runtime/android/core/src/org/xwalk/core/XWalkActivity.java:40: error: unmappable character for encoding ASCII
 * activity is created. So the developer can???t use embedding API in onCreate()
                                             ^
../xwalk/runtime/android/core/src/org/xwalk/core/XWalkActivity.java:40: error: unmappable character for encoding ASCII
 * activity is created. So the developer can???t use embedding API in onCreate()
                                              ^

@lincsoon @halton @darktears @kenchris

I'm still investigating why this caused only the release builders to fail, not the try/buildbots.

LGTM. Thanks for your fix. It's because I copied the text from Google Docs but not wrote by the code editor.


Fix pyroscope.write issues with pyroscope.receive_http

PR Description
The nodejs Pyroscope SDK sends profiles with a Connection: close header. This header was copied to the upstream request, causing connection churn towards Pyroscope, which can be quite bad on the CPU when using TLS. Do not copy the Connection header from the incoming request to fix this issue.
Additionally, pyroscope.write had a single http.Client used for forwarding data from pyroscope.receive_http, which may not work if multiple endpoints are configured with different options. To fix this, store a http.Client for each endpoint.
PR Checklist

[x] CHANGELOG.md updated
[ ] Documentation added
[ ] Tests updated
[ ] Config converters updated

Thanks for taking care of this! 👏
From HTTP/2 specification ([RFC 9113]:(https://datatracker.ietf.org/doc/html/rfc9113#name-headers))

HTTP/2 does not use the Connection header field (Section 7.6.1 of [HTTP]) to indicate connection-specific header fields; in this protocol, connection-specific metadata is conveyed by other means. An endpoint MUST NOT generate an HTTP/2 message containing connection-specific header fields. This includes the Connection header field and those listed as having connection-specific semantics in Section 7.6.1 of [HTTP] (that is, Proxy-Connection, Keep-Alive, Transfer-Encoding, and Upgrade).

👆 Could we also exclude the above mentioned hop-by-hop headers?

👆 Could we also exclude the above mentioned hop-by-hop headers?

Added a map to list all ignored headers.


fix: ensure default-params never null

Before this commit
If the defaultParams custom config for page designer was left empty, no images would render in the page designer.
After this commit
If the defaultParams are null they are set to an empty string, ensuring rendering doesn't break.

Current dependencies on/for this PR:

next

PR #310   (this PR)

This comment was auto-generated by Graphite.

Merging this to prevent conflicts with other work


install waymo-open-dataset ?

This packages is only for Linux system? I install it, but my computer always show "ERROR: Could not find a version that satisfies the requirement waymo-open-dataset (from versions: none)
ERROR: No matching distribution found for waymo-open-dataset" .  I download the packages to install , it's shown "ERROR: waymo_open_dataset_2_0_0-1.0.1-cp36-cp36m-manylinux2010_x86_64.whl is not a supported wheel on this platform" .  How do I solve it?

We only support linux.
For non-linux system, there are 2 solutions

Use docker https://github.com/waymo-research/waymo-open-dataset/tree/master/pip_pkg_scripts

Just copy the tf scripts from the tutorial to extract data.  The community contributed this. You may find it useful.  https://github.com/gdlg/simple-waymo-open-dataset-reader

After the error you are seeing, looks like you are not following the latest quick starts. check r1.2 branch or the master branch. Make sure you update your pip as well.

Thank you very much! it's very useful.


generate shim bindings into OUT_DIR

See: https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script

Current dependencies on/for this PR:

main

PR #2977   👈

This comment was auto-generated by Graphite.


Base development

This pull request includes:

A runnable version on the DiRA simulator
Documentation to build and run

OK


Windows File Import Directory Seperator Issue

Error while providing the filename for importing the file. I am using XAMPP and Laravel 4.2. Following is my code
public function excelupload(){  try {      $result = Excel::load("public\\upload\\text.xls",function($reader){ })->get();  } catch (Exception $e) {      echo "
".$e->getMessage();  }  }
and the error is
Could not open C:\xampp\htdocs\campusc/public\upload\text.xls for reading! File does not exist.
Error is in directory separator.

Does this work?
public function excelupload(){ try { $result = Excel::load("public/upload/text.xls",function($reader){ })->get(); } catch (Exception $e) { echo "
".$e->getMessage(); } }

Otherwise you might need to use
http://php.net/manual/en/function.realpath.php
If you wanted to do it the laravel way you could always use: public_path() . '/upload/text.xls'
I know that would work.

Indeed try to use realpath()

Hey @primeinc, It solved my problem. Thanks for answer.
Also @patrickbrouwers I tried your solution it also worked well thanks.


Running cargo test for Rustup requires a lot of space

Problem
Running cargo test requires at least 10GB of disk space. (Don't know how much exactly, as I ran out of space)
Steps

Run cargo test
Notice that the target dir is more than 10GB big.

Notes
$ git rev-parse HEAD
b9c6a69a2d605f26b64b4fadb9d074f29a16dba6

I think we're leaking test dirs.
ls target/tests
rustup05JLyA
...
rustup-custom5pRCJu
...
rustup-distif002T
...
rustup-emptyR6UrNb
...
rustup-home0fCojb
...

far in excess of our test parallelism.
$ du -lsh target
162G    target
$ du -sh target
29G     target

Yes, we leak dirs in target/tests but removing that is quite permissible between runs.  I think what we're leaking is the dist trees of the fake servers.
For reference though, my target dir is only 6G and my target/tests is only 48M, so something odd is happening for you two perhaps?

I can't speak to the space usage in ~/.cargo but target/ now maxes out around 3.75G which is hopefully good enough.

3.75GB is still a lot, but it is much better.

It's a lot, but not beyond the pale.  I'm going to close this now, since it's no longer > 100G :D


Fixing the non-travis build case

Strange, the Travis build passed, but didn't report back, oh well, @psbanka self-merging, I need this for the beaker-templates which are woefully out-of-date :frowning:

Coverage remained the same at 87.16% when pulling 79002755fdfe7b7fc5c817a2c9485f25630798c5 on job13er:fix-node-targets into bb7be2ce5fdc7623e4bfb312c002c59c7dc3411f on cyaninc:master.

:thumbsup:


fsi not found

hello,
i'm on ubuntu 18.10, fsharpi work in my terminal
but each time i want to run code in vscode, i get
Failed to spawn FSI, please ensure it's in PATH

Hello @xDelph , in your VSCode settings you can set the path to fsharpi using FSharp.fsiFilePath setting.

just find the way
and i have code runner that was also interferre with ionic that not help
thanks for helping anyway


[Bug Report] Visual Studio Code consuming a lot of RAM

Visual Studio Code Version: 1.43.0
Commit: 78a4c91400152c0f27ba4d363eb56d2835f9903a
Date: 2020-03-09T19:44:52.965Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 4.4.0-93-generic
Visual Studio Code Extensions: EditorConfig (v0.14.4) & LiveShare (v1.0.1742)

Steps to Reproduce:
In a thread on twitter, a Brazilian JavaScript Developer (https://twitter.com/fdaciuk/status/1239117094282833923), reported problems with his Visual Studio Code for consuming a lot of RAM.
I saw the thread and talked to him via DM on Twitter to understand his machine and what extensions he had on his machine.
The developer was browsing through some files and left Visual Studio Code open for a few hours. So, the developer realized that the memory was too high in his machine.
When he went to see which softwares was open he realized his Visual Studio Code was open. Upon closing, immediately released 4Gb of memory from his machine.

Does this issue occur when all extensions are disabled?: Yes/No -->> No

These instructions describe how to investigate performance information.
However if this only happens when extensions are enabled, then one of them is causing this

I today also got this problem.
There some setup on mac, should work to you too.

Run some mid-level Python project
Let it done analysis
Run file with 50+ LOC
Change font by CMD + (+/-)
Watch from monitor how RAM grows faster than speed of the light 😁

@Dalisoft Test with extensions disabled. If you still see the problem, open a separate issue

I have the same problem.
The RAM usage can climb to several gigabytes!
I have turned off all extensions, but after reload the RAM usage is still ~1.5GB and the CPU fan spins up and down all the time (even when I'm not doing anything), like it's doing some heavy lifting.
Simple scrolling in the vscode editor is laggy.
Ctrl-clicking on a function call or variable to get to its definition (in the same file) can take forever.
This is in a relatively large Angular/Node.js project, but it was not nearly this bad just a few days ago (I had no issue with scrolling, no issue with the cpu fan spinning up an down constantly, and (almost) no issue ctrl-clicking to get to definition in the same file).
So my guess is that it is something in the language service that is constantly running and scanning the entire codebase, and thus causing a worse and worse problem the larger the codebase becomes.
Could it be the semantic highlighting? (even though I've disabled it?)

@mjbvz I'll create a local VM with the same computer configuration and simulate in my local machine. And I sent an like for our internal DevOps about it.

Closing as not actionable without more info. Please follow up here if you have more info about the user's issue


Fixes #150 "AttributeError: 'module' object has no attribute 'serializers'"

rest_framework does not have serializers object so needs an explicit
import. Added the import into the >=3.0 code only so does not affect
older DRF versions if this is something new.

@mikebiglan thanks! I wonder if this would work as well.
from distutils.version import StrictVersion

import rest_framework
from django.forms import widgets
from rest_framework import serializers

if StrictVersion(rest_framework.VERSION) < StrictVersion('3.0.0'):
    class PasswordField(serializers.CharField):
        widget = widgets.PasswordInput
else:
    class Serializer(serializers.Serializer):
        @property
        def object(self):
            return self.validated_data

    class PasswordField(serializers.CharField):
        style = {
            'input_type': 'password'
        }

It's likely that would work fine and be cleaner. My only reason for putting the import mid-file like that was to prevent breaking compatibility with DRF versions older than 3.0.0. That said, it looks like the travis tests cover all the permutations of supported DRF versions, so if this is passing the tests, it would be much cleaner to move it up. I'll try that now and re-push!


Compactor Seems to copy files to AppData\Local\VirtualStore\ when compressing files on C drive.

Sorry if this is an inappropriate usage of Github, I normally only use this site as a user and I don't really use my account for much. This is my first time reporting an issue of any kind for anything on Github.
So it's pretty much as the title suggests. I noticed it after I did some digging in Appdata as I tried compressing a large game only to see I had lost 50gb of space. It really had me worried.
When compressing folders from OTHER drives, Compactor works normally and with CompactGUI, ALL my drives compress normally.
I can get into more specific details if need be, but I thought it might be worth including that my C drive is an SSD and my other 2 drives are HDDs.

VirtualStore is meant as a compatibility measure for legacy apps which write their configs/data to Program Files (and the global registry) instead of %USERDATA% while having tighter access controls to those folders for less privileged users - writes get redirected there and reads are served from there first to give such apps the impression of full read-write access.
This is likely an indication that you need to run Compactor with Administrator privileges (right click on the executable and there should be a Run as administrator option in the drop-down menu).  You'll want to delete the files in VirtualStore, though you may want to do so with care as it's possible some apps are using that folder to store their own data.
Looks like I can opt out of VirtualStore by embedding a manifest in the Compactor executable.  I ran into difficulties last time I played with manifests but I guess I need to give it another go because this behaviour is quite unwanted.

Thank you! Running as admin worked perfectly. Also, I made sure to double check the date modified/created and not just the names when I was deleted the copied files. Everything is fine now and I shall continue compressing!


Netflix DRM

Hi,
Using your config right now. I'm not able to get Netflix to work in Safari.
Do you know what problem could it be?
Regards,
ben

I'm sorry, I'm in China. I haven't visited the website, and I don't have an account number. I don't know the specific situation very well

Have you tried other browsers?


if i want to set price dynamicly?

Any methods to set different price easily according to what i calculate？

Sure, price is just an attribute in the data hash attached to a seat category. You don't have to use it at all, you can calculate the price on the fly based on your logic.


question on example 9

Hi
Your example 9 is very helpful to me.  However, there is small problem I can not solve. When I selected both 'Gpx Layer' and 'KML Layer' , the time slider player could only show either 'GPx Layer' time period or 'KML Layer' time period. I want slider player to show both time periods(from earliest time of both layer to latest time of both layer) or set start time and end time .  What should I do?
Thanks in advance.
Xavier

Hi @xhx509 (Xavier),
you can change this behaviour using updateTimeDimensionMode option when creating the TD.geoJson layer. Try with union as value, instead of extremes which is the default for geoJson.
But I think it could be useful to change these options, in order to be able to make the operations union, replace and intersect with time extremes.
I mean that, now, union, replace and intersect take all the values of available times (current available times and new available times to apply), and operate them to get the new list of available times. Meanwhile, for extremes, it takes only the min and max time from the new list of available times, and then, generates a new list of times using the period option. So, I can extend the options to be able to work with min and max values and period option, and operation with these min and max time extremes.

Hi @bielfrontera
I followed your information. Your explanation is very helpful to me.
Wonderful examples.
Thanks a lot.


Support For DB2

Hello Spring Native community!
I am inquiring about the compatibility of using DB2 and data jpa within a Spring Native project. I understand that it is currently not supported, but I was wondering if anyone else has taken a crack at it or if there are plans to support it in the future (such as in the repository referenced in this issue: #1482). I have tried working out some of the @NativeHints for it on a small POC project but with no luck. Thanks!

Spring Native is now superseded by Spring Boot 3 official native support, see the related reference documentation for more details.
As a consequence, I am closing this issue, and recommend trying your use case with latest Spring Boot 3 version. If you still experience the issue reported here, please open an issue directly on the GraalVM Reachability Repository project.
Thanks for your contribution on the experimental Spring Native project, we hope you will enjoy the official native support introduced by Spring Boot 3.