Allow extraction of portion of a source

i.e. You have a source parquet file with 100.million rows and you want to get 100K rows out of it into another sink (i.e. a Database) - (a file to use for integration test).

You could .take(100000)
Or .sample(0.1%)

.take is implemented.
.sample is a good idea
On 27 January 2016 at 10:55, Antonios Chalkiopoulos <
<EMAIL_ADDRESS>wrote:

i.e. You have a source parquet file with 100.million rows and you want to
get 100K rows out of it into another sink (i.e. a Database) - (a file to
use for integration test).

You could .take(100000)
Or .sample(0.1%)

—
Reply to this email directly or view it on GitHub
https://github.com/sksamuel/eel/issues/14.


[$250] Distance - Distance edit system message only appears after refreshing the page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.32-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4945031
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to staging.new.expensify.com
Go to workspace chat.
Submit a distance expense.
Go to transaction thread.
Click Distance.
Edit the distance and save it.

Expected Result:
Distance edit system message will appear after the new distance is saved.
Actual Result:
Distance edit system message does not appear after the new distance is saved. It only appears after refreshing the page.
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
https://github.com/user-attachments/assets/877c19ed-8042-4d86-bf73-c9592b0a28d4

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

Upwork Job URL: https://www.upwork.com/jobs/~021834276537749459128
Upwork Job ID:<PHONE_NUMBER>749459128
Last Price Increase: 2024-10-31

Issue OwnerCurrent Issue Owner: @ZhenjaHorbach

I got it issue, and I have faced this problem before while I developing notification app. I resolved with Socket.
Solution
Socket.IO

Socket.IO can be an excellent solution to handle real-time updates in this case.
Implementing Socket.IO would allow the frontend to receive an event immediately when the distance is edited and saved on the
backend, eliminating the need for a manual page refresh to show the updated system message.

Proposal
Please re-state the problem that we are trying to solve in this issue.
When the distance is changed in a distance based report the message that "distance was changed" is not shown in the chat.
What is the root cause of that problem?
The changes of a report are derived from the reportActions_ entry in Onyx which when the distance is change is not updated.
The screenshot below is the response of the BE when distance is changed, as you can see we do not have actions for the current report.

In contrast you can see below another screenshot when the category is updated on the same report on which case the message is shown:

In the screenshots you can also see how the Changed category messages are shown but not the distance ones.
When we reopen the report the Open Report API brings all the reportActions_ that include the ones indicating the distance update. Another screenshot of that below for illustration:

What changes do you think we should make in order to solve the problem?
I don't think we should change anything, this is a BE issue and should be solved there
What alternative solutions did you explore? (Optional)
We could fix this in the front end if that was necessary by calling the Open Report API again when the distance has changed. If that's a solution you would like to asses I can than update my proposal but I do not think that should be the way to go.

@ZhenjaHorbach
we don't need add new library, just add refresh function
and I hope discuss more detail.
this is my email<EMAIL_ADDRESS>this is my discord id: crazyolaf

@ZhenjaHorbach You are right, it does seem to be related to the Optimistic data too.
According to this PR https://github.com/Expensify/App/pull/47145 we cannot get the distance change information in the FE and because of that the optimistic data were disabled for the distance changes. It seems like that was the intended behavior for offline mode. If we want to change that we can use Turf.js to calculate the distance and have an offline message that might and probably will not reflect the same info as when the user goes online
We would need to disable this check in IOU#getUpdateMoneyRequestParams when the user is offline to build the optimistic data based on Turf.js distance calculations.
if (!hasPendingWaypoints && !(hasModifiedDistanceRate && TransactionUtils.isFetchingWaypointsFromServer(transaction)))

And then add another case to ReportUtils#getModifiedExpenseOriginalMessage  to build the message for the changes to the distance as if we would get them from the backend.
If we want to go with this approach we need to sync with the BE their logic on the distance and total value calculations.
And after that we still need from BE to actually return the MODIFIEDEXPENSE action as I mentioned in my proposal so that the user gets the "real" values from the BE.
If that's an approach you would consider I can update my proposal accordingly.

Is there a reward for the proposal on this case when the proposal finds the root cause of the issue but it needs a BE fix ?

Currently focusing on Travel and won't be able to get to this in a timely manner. Rerolling.

Currently focusing on Travel and won't be able to get to this in a timely manner. Rerolling.
🎀👀🎀 C+ reviewed

I am heading out on parental leave, assigning another BZ team member.
Next step: @Gonals is looking for an internal volunteer.

Still haven't been able to get to this (and no volunteers popped up). Hopefully next week

Getting to this!
Looking at the proposed solution, I don't think this is right. There might be some backend component we should improve, but if the message is not immediately showing correctly, that means we are not creating it optimistically in the frontend, and we should.
@ZhenjaHorbach, @klajdipaja

@Gonals what would the content of the optimistic data be ? Since we do not have access to mapbox in offline mode getting the distance and total price would be tricky. Are you suggesting having a different message in offline mode?
Or is my suggestion here https://github.com/Expensify/App/issues/49000#issuecomment-2358233968 a valid option?

Hmmm. What do you think, @dylanexpensify? I think we could have a simpler message for offline mode, without getting too much into calculating the distance/amount

Hmmm. What do you think, @dylanexpensify? I think we could have a simpler message for offline mode, without getting too much into calculating the distance/amount, but try to add the right optimistic message if the data is available
@Gonals completely agree!

Sorry, @ZhenjaHorbach thanks for the ping in Slack - for some reason the zap I have set up is not processing my pings here at all! Yes, I'm aways a fan of a simple approach.

Proposal https://github.com/Expensify/App/issues/49000#issuecomment-2348274972 updated to include the optimistic approach of the distance change.
@ZhenjaHorbach Regarding the update when the user is online, that is a BE issue as I previously described.
The BE should return the reportActions for the report on the update distance request which it is not doing at the moment.
I discovered another BE issue here: The report action returned by the BE with the OpenReport API after the change in the distance does not match the one that the FE sends in the Update Distance request. That makes it so that the optimistic message is still visible along the one from BE until the users logs out and the Onyx istorage s cleared.

Proposal #49000 (comment) updated to include the optimistic approach of the distance change.
@ZhenjaHorbach Regarding the update when the user is online, that is a BE issue as I previously described, in the FE it is already handled and there's nothing to do about it.
The BE should return the reportActions for the report on the update distance request which it is not doing at the moment. I discovered another BE issue here: The report action returned by the BE with the OpenReport API after the change in the distance does not match the one that the FE sends in the Update Distance request. That makes it so that the optimistic message is still visible along the one from BE until the users logs out and the Onyx istorage s cleared.

Hmmmm Yeah It looks like we can't do without updating the BE
@Gonals What do you think ?

That seems to be the case, yeah. It might take me a bit to get to developing this, though

Would we say this is on Hold pending backend, @Gonals?

Would we say this is on Hold pending backend, @Gonals?

Yep. I'm OOO for a bit over a week too, so feel free to reassign to a different engineer if we want this moving faster

Getting to this soon!

Still working on travel. Hopefully back to this soon

Same


ci-automation: Get two files to build vms instead of a whole directory

Getting the contents of the directory in the buildcache involves using rsync with some ssh invocation to log in as a bincache user. It's not a thing that will work locally unless the user gets ahold of the SSH key allowing the user to log in to buildcache as a bincache user.
Replace it by downloading two files that are actually needed for building vms: an image file and the version file. This just uses curl and is accessible for everyone.
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/1239/cldsv
Will backport it to other channels.

Thanks, seeing what was done this change here should also make sure that we don't copy too much anymore when rerunning the job.

If I understand what you wrote correctly, you mean skipping the download of flatcar_production_image.bin.bz2 if we already have it locally (or rather, if we have flatcar_production_image.bin, since we unpack the archive), right? Possibly we could do that, but please note that we always do rm -rf images-in before downloading things to this directory. I suppose we could skip the deletion of the directory, and instead download the DIGESTS file and check if the existing file matches the DIGESTS file, and if it does not, then redownload the whole file.

No, I meant that before your change, we would also download the OEM VM images, while not being needed, or?

No, I meant that before your change, we would also download the OEM VM images, while not being needed, or?

Oh, I get it now. Yeah, that would happen if you decided to regenerate the OEM VM images.

Cherry picked to 3493 3446 3374 3033.


DSpaceControlledVocabulary.isHierarchical() - Bugfixing behaviour of always returning true and return the value of the "storeHierarchy" field configured for the actual controlled vocabulary instead

References
Add references/links to any related issues or PRs. These may include:

Fixes #9606

Description
Bugfix for method "isHierarchical" of " org.dspace.content.authority.DSpaceControlledVocabulary.java". Fixes behaviour of always returning true and return instead the value of the "storeHierarchy" field configured for the actual controlled vocabulary.
Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
List of changes in this PR:
Changed one line of code, so the correct value is returned
Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies REST API endpoints, I've opened a separate REST Contract PR related to this change.
[x] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

Hi,
thanks for reaching out.
As noted in the issue ticket https://github.com/DSpace/DSpace/issues/9606#issuecomment-2152964865
this change looks unnecessary to me. Feel free to comment/reopen if you have additional information to be considered


Feature: job splash screen manager

Codecov Report

Merging #139 (6a8a86e) into main (7dc7b78) will decrease coverage by 9.62%.
The diff coverage is 47.98%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #139      +/-   ##
==========================================
- Coverage   64.47%   54.84%   -9.63%
==========================================
  Files          24       26       +2
  Lines         836     1083     +247
  Branches      155      213      +58
==========================================
+ Hits          539      594      +55
- Misses        241      425     +184
- Partials       56       64       +8

Impacted Files
Coverage Δ

qgis_deployment_toolbelt/jobs/job_splash_screen.py
25.00% <25.00%> (ø)

qgis_deployment_toolbelt/utils/win32utils.py
44.00% <50.00%> (-45.48%)
:arrow_down:

qgis_deployment_toolbelt/profiles/qdt_profile.py
79.00% <79.00%> (ø)

qgis_deployment_toolbelt/jobs/orchestrator.py
84.37% <100.00%> (+0.50%)
:arrow_up:

...loyment_toolbelt/jobs/job_environment_variables.py
41.17% <0.00%> (-37.26%)
:arrow_down:

qgis_deployment_toolbelt/profiles/shortcuts.py
45.25% <0.00%> (-23.36%)
:arrow_down:

qgis_deployment_toolbelt/constants.py
73.91% <0.00%> (-13.05%)
:arrow_down:


[Bug] Occasionally client sent blocks to server time out.

Code of Conduct

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

Search before asking

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

Describe the bug
tez writes data to the server (refer to mr's method), and occasionally sends data time out. (10min)

Affects Version(s)
master
Uniffle Server Log Output
No response
Uniffle Engine Log Output
No response
Uniffle Server Configurations
No response
Uniffle Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

The detailed stacktrace is missing, could you help attach more?
BTW, one possible problem is the server GC. But this should be confirmed by more info.

The detailed stacktrace is missing, could you help attach more?
BTW, one possible problem is the server GC. But this should be confirmed by more info.

Sorry, I was delayed by other things these days.
This problem seems to be the problem of shuffleId when the tez client is implemented. It has been modified here, and it will be observed for a few days.

You can  update to the latest uniffle version.
And is this problem show again ?


VS Code lags after running for ~30 minutes

VS Code Version: 1.53.2 x64
OS Version: Linux Mint (Cinnamon, 20.1)

Steps to Reproduce:

Launch VS Code. From my testing so far, it has happened to me on any kind of project. The last time it happened to me was in an expressjs project (using express and mongoose, only has 3-4 files and the node_modules folder)
Wait about 30 minutes, lag increases over time. For my case, it went from no typing delay and instant autocompletion to a lot of delay and 4-5 seconds for autocomplete.

Does this issue occur when all extensions are disabled?: Yes

some app process in your environment can affect vscode and chromium !
proof here.
https://github.com/microsoft/vscode/issues/113553
So look in your OS process and try kill some background process and restart vscode.
you can also try --disable-renderer-accessibility but this is not a solution !
i know one so far, never open the Microsoft virtual keyboard app in you window session.
Vscode will lags until your restart your pc or logout.

It might be Insomnia that is causing the lag, will see if I'm correct

Idk if Insomnia changes anything but closing Discord seems to have fixed it. Interestingly, Discord doesn't cause lag on Windows. Closing the issue as I found the problem.

look for disable overlay, discord have option for vscode.

The lag came back, this time the only thing open is Chrome

try --disable-renderer-accessibility
and check if the arg are apply by this command
wmic process where caption="code.exe" get commandline
i cant really help more, wait for a pro vscode :)

Gonna try that --disable-renderer-accessibility option

I get this warning:
Warning: 'disable-renderer-accessibility' is not in the list of known options, but still passed to Electron/Chromium.

It doesn't seem to change anything, the lag started after 2 minutes

I get this warning:
Warning: 'disable-renderer-accessibility' is not in the list of known options, but still passed to Electron/Chromium.

yes is a valide chromium arg and should work
https://peter.sh/experiments/chromium-command-line-switches/

Please follow these instructions to collect performance information. Test using VS Code insiders and share the output of code-insiders --status when the problem happens

Hey, sorry for the late response. Here's the output of the command:
(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
Version:          Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:44.518Z)
OS Version:       Linux x64 5.4.0-58-generic
CPUs:             AMD A8-7410 APU with AMD Radeon R5 Graphics (4 x 2195)
Memory (System):  5.64GB (2.28GB free)
Load (avg):       7, 3, 1
VM:               100%
Screen Reader:    no
Process Argv:     --no-sandbox --crash-reporter-id e363e6c7-2c12-4ddb-9d1d-5fc9016806c5
GPU Status:       2d_canvas:                  enabled
                  gpu_compositing:            enabled
                  multiple_raster_threads:    enabled_on
                  oop_rasterization:          disabled_off
                  opengl:                     enabled_on
                  protected_video_decode:     unavailable_off
                  rasterization:              disabled_software
                  skia_renderer:              enabled_on
                  video_decode:               disabled_software
                  vulkan:                     disabled_off
                  webgl:                      enabled
                  webgl2:                     enabled

CPU %	Mem MB	   PID	Process
    0	   133	  2323	code main
    0	    40	  2343	   zygote
    0	    92	  2379	     gpu-process
    0	    40	  2344	   zygote
    0	    58	  2382	   utility
    0	   237	  2392	   window (● console.log • Untitled-1 - Visual Studio Code)
    0	   133	  2437	     extensionHost
    0	   116	  2467	       electron_node tsserver.js
    0	   121	  2468	       electron_node tsserver.js
    0	    81	  2501	         electron_node typingsInstaller.js typesMap.js
    0	   116	  2418	   shared-process

Can you check if the problem persists when launching with code --disable-gpu

yes, it still seems to lag

I haven't changed anything or install/uninstall anything but just opening VS Code today the issue seems to have disappeared.


Add testing for OAuth page

Cool, looks good.

Ready for merge?

Coverage increased (+1.9%) to 58.959% when pulling db3004e71a6d505f829981e2737634e7a79bd4ca on testing/oauth into b3dd3ef51753bd8be233acca24ee447c8fb44545 on master.

Yes.

Thanks!


vueExtractPlugin can use a function

i think that vueExtractPlugin can use a function.
sometime,i have multiple entry js, i want export multiple css file, like this:
mix.options({
    extractVueStyles: '[name].css'

mix
.js('resources/assests/a/index.js', 'public/js/a.js')
.js('resources/assests/b/index.js', 'public/js/b.js');

This can generate two css files(a.css、b.css) in public/js/ directory,but I want these two files are in another directory, like public/css/.
If i can use the function parameter,i can do that.
mix.options({
    extractVueStyles: function (getPath {
        return getPath('[name].css').replace('/js', '/css');
    }
}

mix
.js('resources/assests/a/index.js', 'public/js/a.js')
.js('resources/assests/b/index.js', 'public/js/b.js');

and extract-text-webpack-plugin can use function parameter
new ExtractTextPlugin(options: filename | object);
filename: {String\\|Function}

so, i pull request to solve this problem.

Thanks so much for the PR. For now, I'd prefer to keep it simpler, since yours is the first request we've ever received for this. I'll keep in mind though. Thanks!


Fix tmate session fetching

Issue
Humacs is now is the USER (lowercase) namespace, called USER-humacs-0

Fixed in 8502c49


MS SQL Server profiling - performance concerns

Describe the bug
When profiling MS SQL Server the queries generated are inefficient and cause a lot of IO, especially on larger tables.
To Reproduce
Run SQL profiling against a SQL Server database.
Capturing the queries that run you can see for each column to generate the min, max, avg and stdev a cte is used for each which causes a table scan.

Here is the query plan - this only shows a small section of it as there are many columns, and 4 scans per column.

Expected behavior
If we could rewrite the query to just access the table once and aggregate the data - for example, to get the 4 stats for 2 columns would look like this:

This changes the plan to this:

If we compare the IO for running the two queries for this same table we can see the duration is reduced from 37 seconds to 15 and the IO on the table is massively reduced, 4348 scans --> 146 scans.

just to add - above performance issue is using version v0.10.1

Hi @hsheth2,
I wondered if you could help me with some guidance on this issue.
We noticed some performance concerns with how the data profiling happens for SQL Server databases and wondered whether some optimisations could be added for this DBMS. We have had a poke around in the code to try and help with a PR but we are struggling to figure out what actually generates the query in the issue above.
We have found the following code within the ge_data_profiler.py file that seems to loop through columns and measures to profile the data - for example, to get the min values of the column we found this:
https://github.com/datahub-project/datahub/blob/94e7e51175660afbfb7b5cf198a3263f30d56f62/metadata-ingestion/src/datahub/ingestion/source/ge_data_profiler.py#L364-L369
We then found references to great expectations and sqlalchemy, but are unsure what the fix might be, or where exactly it falls in this architecture.
We found a couple of old PRs that you worked on this profiling and so wondered if you could help shed some light.

https://github.com/datahub-project/datahub/pull/3572
https://github.com/datahub-project/datahub/pull/3730

We have the expertise on how to more efficiently get this data from SQL Server, however we are lacking the python and project knowledge to be useful - we could also set up a call if it would be easier for us to explain.
Thanks!

@sachinwadhwa - could you confirm if we have upgraded since and which version we are now on?
I can confirm we are still seeing these queries running on the SQL side.
@hsheth2 - any ideas who could help us with this?

@jpomfret this is a fairly deep problem - I'm not sure we have any easy mechanism for converting these from multiple subqueries into a single one. We've generally seen that most SQL warehouses are able to optimize these queries, so it's interesting that MSSQL cannot.
For context, those are generated by our dynamic query combiner code: https://github.com/datahub-project/datahub/blob/ceaeb42a2b8abaecb49e575d076e8c94c587b472/metadata-ingestion/src/datahub/utilities/sqlalchemy_query_combiner.py#L136.
My eventual goal is that we switch our profiling code to a newer interface that Great Expectations provides (batch v3), which should give us a bit more control over this stuff. However, I don't have a concrete timeline for that.


USE_LARGE_PAGES not working on Java 17

Describe the problem
The USE_LARGE_PAGES environment option is not working when using the 1.18.1 version of PaperMC.
It looks like UseLargePagesInMetaspace is past deprecation on Java 17
Container definition
version: '3.9'
services:
  minecraft:
      image: itzg/minecraft-server
      ports:
        - 9000:25565/tcp
      environment:
        - TYPE=PAPER
        - VERSION=1.18.1
        - EULA=TRUE
        - MEMORY=16G
        - USE_AIKAR_FLAGS=true
        - USE_LARGE_PAGES=true
        - ENABLE_RCON=true
        - RCON_PASSWORD=VerySecurePassword
      volumes:
        - mc-data:/data
        - mc-logs:/data/logs
      tty: true
      stdin_open: true
      restart: unless-stopped
volumes:
  mc-data: {}
  mc-logs: {}

Container logs
minecraft-minecraft-1  | [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 6 1000 1000 4096 Jan  1 18:15 /data'
minecraft-minecraft-1  | [init] Resolved version given 1.18.1 into 1.18.1
minecraft-minecraft-1  | [init] Resolving type given PAPER
minecraft-minecraft-1  | [init] Removing old PaperMC versions ...
minecraft-minecraft-1  | [init] Downloading PaperMC 1.18.1 (build 121) ...
minecraft-minecraft-1  | [init] server.properties already created, skipping
minecraft-minecraft-1  | [init] Checking for JSON files.
minecraft-minecraft-1  | [init] Using Aikar's >12GB flags
minecraft-minecraft-1  | [init] Setting initial memory to 16G and max to 16G
minecraft-minecraft-1  | [init] Starting the Minecraft server...
minecraft-minecraft-1  | Unrecognized VM option 'UseLargePagesInMetaspace'
minecraft-minecraft-1  | Error: Could not create the Java Virtual Machine.
minecraft-minecraft-1  | Error: A fatal exception has occurred. Program will exit.
minecraft-minecraft-1  | 2022-01-01T18:30:30.286Z       WARN    mc-server-runner        sub-process failed      {"exitCode": 1}
minecraft-minecraft-1  | 2022-01-01T18:30:30.286Z       INFO    mc-server-runner        Done
minecraft-minecraft-1 exited with code 1

Thanks for reporting this. I have removed processing of that variable since it sounds like the benefits were minimal anyway.

Thanks for reporting this. I have removed processing of that variable since it sounds like the benefits were minimal anyway.


Permission denied rsync error

TASK [download : download_file | Copy file from cache to nodes, if it is available] ***
fatal: [k8s-master]: FAILED! => {"attempts": 4, "changed": false, "cmd": "sshpass -d3 /usr/bin/rsync --delay-updates -F --compress --archive --rsh=/usr/bin/ssh -S none -o Port=22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --out-format=<>%i %n%L /data/resource/spray-v2.18.0a-2_k8s-v1.23.3_v1.6-amd64/content/kubespray_cache/kubeadm-v1.23.3-amd64 ********@<IP_ADDRESS>:/tmp/releases/kubeadm-v1.23.3-amd64", "msg": "Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.\r\nrsync: mkstemp "/tmp/releases/.kubeadm-v1.23.3-amd64.zcRU4K" failed: Permission denied (13)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]\n", "rc": 23}

Does the problem resolve?
I got the same problem.

Does the problem resolve? I got the same problem.

No, I've given up on the project.

I got the same problem too

I got the same problem too

I've given up this project. Try to follow k8s official docs

Does the problem resolve? I got the same problem.

After I switched to root, I solved the problem

请使用 root 用户


Is there any method for apply filter on bitmap show user hint  ?

Hello
I have requested to display list of filter on video thumb.
So is there any method for apply filter on bitmap?
Please Help me.
Thenks,

no support on this library


Add check for Wiremod Keyboard hook

Fixes the chatbox being able to open while typing on a Wiremod Keyboard. wire_keyboard_blockinput

Nice, thanks


New Order not working right and statable

http://awesomescreenshot.com/0ff48eh3ea
I'v just intalled boxbilling, tried to add new product and place an order. Got success just for first time and then always get errors that could not create order. Debug give very little info.

Did you get any error message? Could you also try if test product is configured properly?


Updated the metadata as per instructions.

:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/add-holographic-remoting.md
:warning:Warning
View
Details

mixed-reality-docs/add-holographic-remoting.md

[Warning] Author<EMAIL_ADDRESS>cannot be recognized in GitHub.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/add-holographic-remoting.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix database versioning bug

Sorry.
Close because it was not contain unnecessary commit.
I again mage it.


Reference template parsing order is non-deterministic

Reference template parsing order is non-deterministic, causing tpl function to render the wrong value in certain situations.
Output of helm version:
version.BuildInfo{Version:"v3.1.1", GitCommit:"afe70585407b420d0097d07b21c47dc511525ac8", GitTreeState:"clean", GoVersion:"go1.13.8"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea", GitTreeState:"clean", BuildDate:"2019-10-15T19:16:51Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.2+k3s1", GitCommit:"cdab19b09a84389ffbf57bebd33871c60b1d6b28", GitTreeState:"clean", BuildDate:"2020-01-27T18:09:26Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
k3s

Minimal code to reproduce the issue:
chart.zip
$ unzip chart.zip
$ for i in $(seq 0 99); do helm template test01 parent >> results.txt; done
$ grep 'childName: test01-child' results.txt | wc -l
$ grep 'childName: test01-parent' results.txt | wc -l

I am seeing an average split of 80/20% between the values.
PR to come.

Fixed by PR #7702


Facebook app rather than Safari

Is it possible to open Facebook app rather than Safari when logging in?

The library uses the Linking API to launch the Facebook OAuth dialog and since the url has the https scheme it will open the default browser on your OS.
https://www.facebook.com/v2.8/dialog/oauth?
  client_id={app-id}
  &redirect_uri={redirect-uri}

You might be better off with the official React Native Facebook SDK to do that https://github.com/facebook/react-native-fbsdk

I see. But how about this one?

No idea, happy to accept a PR if you figure it out


Gzip compression level 0

Currently, the compression level for Gzip is clamped between 1 (fast) and 9 (best). However, level 0 is supported by the flate2 crate and Python's gzip module. While changing the level range could be a breaking change, are there any alternative approaches to address this issue? For example, introducing a none level might be a viable solution?

I think that you can useLevel::Precise(0)?
The problem though is that we clamp it based on min/max supported by flate2
https://docs.rs/async-compression/latest/src/async_compression/lib.rs.html#216
And flate2 fastest uses compression level 1
https://docs.rs/flate2/latest/src/flate2/lib.rs.html#218-220

Yes and that is because flate2::Compression::fast() uses level 1.
I believe it's better to update flate2 to use level 0?

Yeah, it would be great the Precise part could be changed to something similar to:
            Self::Precise(quality) => flate2::Compression::new(
                quality
                    .try_into()
                    .unwrap_or(0)
                    .clamp(flate2::Compression::none(), best.level()),
            ),

Hmmm I think this makes sense to make.
I would accept a PR for this.


chore: fix ESM support

Context
Hope to officially close #66 without workarounds. To be clear, I do not want to merge these changes just yet, but I want to get at least the conversation going, and a PR started so that we can implement @ecyrbe 's suggestions or our own fix.
Background
On my NextJS webpack build, and several others, we observe the following error:
Server Error
Error: No QueryClient set, use QueryClientProvider to set one

This error happened while generating the page. Any console logs will be displayed in the terminal window.

Implementing this workaround no longer works for me (for some reason):
    if (options.isServer) {
      config.externals = ["@tanstack/react-query", ...config.externals];
    }
    const reactQuery = path.resolve(require.resolve("@tanstack/react-query"));
    console.log(reactQuery, 'converted ts-rest imports for react-query')
    config.resolve.alias["@tanstack/react-query"] = reactQuery;
    return config;
  },

According to #66  and @ecyrbe, the likely culprit is that exports are not being correctly interpreted by webpack. See: https://github.com/ecyrbe/zodios/issues/191#issuecomment-1288101919.
I released a temporary test version of @ts-rest/react-query here: https://www.npmjs.com/package/michaelangrivera-ts-rest-react-query, and I still see the same issue while implementing that suggestion.
Interestingly, though, the following works:
`const client = require('michaelangrivera-ts-rest-react-query')`

I guess this is to be expected, though, since ESM is failing and not common modules.
This is what the build looks like after nx build for that library:
{
  "name": "michaelangrivera-ts-rest-react-query",
  "version": "3.6.6",
  "description": "react-query client integration for @ts-rest",
  "license": "MIT",
  "main": "./index.cjs",
  "module": "./index.js",
  "typings": "index.d.ts",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./index.js",
      "require": "./index.cjs"
    },
    "./package.json": "./package.json"
  },
....
  "peerDependencies": {
    "react": "16.x.x || 17.x.x || 18.x.x",
    "zod": "3.x.x",
    "@tanstack/react-query": "4.x.x",
    "@ts-rest/core": "3.6.0"
  },
  "type": "module",
  "types": "./index.d.ts",
  "dependencies": {}
}

I tried the following changes (I published them, re-installed, and cleared .next cache):

"generateExportsField": true, no luck
only using esm under the format configuration, no luck

I'm wondering if changing type: to module in package.json would work any magic.
Let me know if you have any suggestions, and I can implement, test them, and then update this PR @oliverbutler @ecyrbe.
I could also be totally off, and this is actual a client instance issue with React Query and the way it's be initialized.
This whole effort may be futile as Next is moving away from webpack, but nonetheless, it may still be good to support webpack for legacy apps and people using webpack without Next.

I've got a lot more time to build ts-rest these days, I'll look over this! I attempted the fix the other day, need to try replicate it.
Quick note, make sure you use pnpm!

Hello,
Once thing to diagnose the issue for sure on your side is using webpack bundle analyzer:
 const withBundleAnalyzer = require("@next/bundle-analyzer")({
   enabled: process.env.ANALYZE === "true",
 });

 /** @type {import('next').NextConfig} */
 const nextConfig = {
   reactStrictMode: true,
   swcMinify: true,
 };

 module.exports = withBundleAnalyzer(nextConfig);

Check carrefully if  @tansctack/react-query is bundled twice (if you see both .mjs and js files)
I know you may already checked this, but just in case :

check also if your lock file contains two different versions of @tanstack/query
check that you have react-query provider setup in your react tree (usually you put it on _app )

One thing that might help is provide a reproductible setup

Shall we spin up a Next.js app in the repo (not NX? or maybe both?) which can import the built @ts-rest/react-query package so we can try replicate locally to help fix this ASAP?
Happy to help out.

Hey @michaelangrivera, I believe Next is working perfectly currently...? https://next-example.ts-rest.com
Source code is in the ts-rest team repo called next-example (using @ts-rest 3.10.2)

Closing right now, let's loop back around to this is anyone experiences the issue and can replicate it! 🙏

Hi! @oliverbutler I believe it was a user error 😓 My apologies.
I upgraded to Next 13 and did a little refactoring in my app, and I noticed I had the query client within the _app root component like so:
function app({}) {
  const queryClient = new QueryClient()

  return ( <QueryClientProvider client={queryClient}>)
}

I'm thinking this might've caused some weird behavior?
Either way, it's working now!
@oliverbutler Want to talk to you about some features I'd like to work on if I can. Can I hit you up on twitter?

Ah! Possibly either that or because @Gabrola and I made some improvements on the package.json! regardless, not my area of expertise so I'm super happy it seems to be resolved 🤞
Twitter, or a Github discussion, or a Discord channel (I'm tempted to make one for @ts-rest not 100% sure yet)
Would love to help out, there's a bunch of next steps I'd love to take with the lib

@oliverbutler Sweet! I'll hyu. Discord channel or slack would be awesome.

@michaelangrivera https://discord.com/invite/2Megk85k5a, guess we'll see how this goes. Bit easier for back forth DMs.

@oliverbutler hell yeah, I'll join right now!


schema not respected when reading multiple xml files

I'm attempting to read in a large number of individual xml files into a spark dataframe. In order to do this using spark-xml I have defined a custom schema. when asking to read the batch in (using wildcard in the folder), spark raises an error that there are duplicates of a certain column. From manually checking the files I know this to not be the case.
through experimentation I have been able to identify an odd occurance, namely:

in a list of N files, i get the above error of duplicate columns
I am able to read the first M files in to a dataframe using my schema fin the options
weirdly I am also able to read the remaining N-M files into another dataframe, also using my schema in the options
when producing these two dataframes, their df.schema objects do not match to either each other or to the schema I initially specified

any ideas whats going wrong here? I was under the impression that by providing a schema in the read options, I would be enforcing the schema for the whole table but this is clearly not the case. It also seems odd to me that both halves of the file list can separately be read in using that schema but not together. is this an issue where the schema i have defined is just not being used somehow?
It may be worth noting here that every column in the xmls has a minoccurances of 0 i.e. may or may not exist in any given file, so the schema i am applying to the data on read in uses the nullable=True variable to represent this.
cheers :)

Please post more details. What is your schema, what does it infer differently, etc. I imagine your files do not quite have the same schema and the schema you supply isn't superset of them either. This would be consistent: some files infer one schema, others infer another, and they don't both match what you think

I'll need to seek permission to share the schema.
whilst its not impossible the files do not share entirely the same schema, this doesn't quite line up with the issue in my mind, namely that i have provided both batches with an explicit schema to be read in with and both have successfully read in under those rules, but both cannot be read in together, and that calls to df.schema on resulting dataframes do not match.
to be clear I am not using schema inference in this operation, but instead explicitly defining it.

Can you create a reproducer that narrows it down?
Are you saying that you specify schema X and it correctly reads subsets A and B, but not A+B? Above I thought you were saying X fails with A+B, but the inferred schemas for A and B work, but aren't the same.
Can you share the error? duplicate col could mean: your schema itself has a duplicate, or perhaps, a col is expected once but occurs several times.

I'll look to create a minimal reproduction :)
in the meantime, yeah sorry my explanation wasnt clear - I do indeed mean that I specify schema X and it correctly reads subsets A and B, but not A+B.
for the resultant dataframes, df.schema does not yield X in either case.
the error itself looks like:
files = 'file/path/*.xml'
read_options = {'rowTag': 'TAG', 'multiline': 'true', 'schema': custom_schema}
df = spark.read.format('xml').options(**read_options).load(files)

>>> AnalysisException: Found duplicate column(s) in the data schema: 'COLNAME'

whilst it would seem like there was some issue with duplicate columns it doesnt appear thats the case from the source data at all, and surely if there was such an issue, the files would never work rather than being able to be read in as two separate chunks?

You're sure custom_schema doesn't have a duplicate?
And out of curiosity, what happens if you set "inferSchema" to False? shouldn't matter but just grasping for ideas

I think this was me being very dumb actually sorry,
the .options method ignores 'schema' as an argument, hence the resultant tables not matching.
when calling schema=custom_schema inside the .load() method it works as intended.
could be nice for options to more explicitly error rather than silently not doing things when you give it fake commands but otherwise yeah this one was on me!
cheers again,
John

Oh I see, right it needs to be .schema(). I think that part might be handled by Spark rather than this library.


Maybe fixing figure label bug

ref: https://github.com/openjournals/joss-reviews/issues/4992

Looks 👍


[$250] Android/iOS- Highlighted search result go to search page rather that the highlighted detail page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.69-4
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Navigate to https://staging.new.expensify.com/

Go to search router

Write anything eg. "admin" and clear the search again ( to get the highlight on the first result)

Click search icon on keyboard (enter)

Expected Result:
The highlighted item should open the detail page when clicking enter (Mweb behavior)
Actual Result:
The highlighted search result go to search page rather that the highlighted detail page
Workaround:
Unknown
Platforms:

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

Screenshots/Videos
https://github.com/user-attachments/assets/29478d14-d77b-4c4a-9829-98b9fb474c3b

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

Upwork Job URL: https://www.upwork.com/jobs/~021866990715543185912
Upwork Job ID:<PHONE_NUMBER>543185912
Last Price Increase: 2024-12-18

Issue OwnerCurrent Issue Owner: @ikevin127

Demoting to NAB since it's just highlighting the wrong item. This is likely the offending PR @nyomanjyotisa @Pujan92

@luacmartins This doesn't seem to be from https://github.com/Expensify/App/pull/52298, as we have specific logic on search input submit. I think for smaller screens the first item should not be highlighted in the selection list when the sections data are altered to avoid this issue.

The expected behavior here is to open the "Admin" room or whatever search row is highlighted, not return to search right? Its not super clear in the OP so wanted to double check what we're aiming for here @luacmartins

I think the behavior should be consistent on all platforms, so we should highlight the first item again once the search is altered

@luacmartins Could you please confirm the nexts steps here ?

Is this issue considered a regression from #52298 ?
Should the issue be addressed by author / reviewer as a follow-up or we're open for proposals ?

Reminder on this @luacmartins

As pointed out here, I don't think this issue is a regression, so we're open to proposals

Still looking for proposals

Still looking for proposals

Proposal
Please re-state the problem that we are trying to solve in this issue.
Highlighted search result go to search page rather that the highlighted detail page
What is the root cause of that problem?
First, I will explain why the highlighted item on the mobile web can open the detail page when pressing Enter.
We use useKeyboardShortcut to listen for the Enter key press. When Enter is pressed, it executes the selectFocusedOption function to select the highlighted row in the list. and this useKeyboardShortcut only works on the mobile web (mWeb).
https://github.com/Expensify/App/blob/4cd759c6a12f37a7fe818537204f1e39ed882647/src/components/SelectionList/BaseSelectionList.tsx#L746-L752
https://github.com/Expensify/App/blob/4cd759c6a12f37a7fe818537204f1e39ed882647/src/components/SelectionList/BaseSelectionList.tsx#L399-L407
And the selected item, when Enter is pressed, will be handled for search or navigation.
https://github.com/Expensify/App/blob/eb896c68d2d36fccb0fb7a5ecef5360f62bd000b/src/components/Search/SearchRouter/SearchRouter.tsx#L301
https://github.com/Expensify/App/blob/eb896c68d2d36fccb0fb7a5ecef5360f62bd000b/src/components/Search/SearchRouter/SearchRouter.tsx#L239-L243
In this case, we encountered an issue (mweb) where, if no item in the list is highlighted, pressing Enter does not trigger any action.
https://github.com/user-attachments/assets/b74831e8-b08d-4fc8-8324-83d26cc3b447
For native apps (Android/iOS), we detect the Enter key press using onSubmitEditing.
https://github.com/Expensify/App/blob/9675b9cb27b8fd4170a6461adbcf62c9afdb5844/src/components/Search/SearchRouter/SearchRouterInput.tsx#L109
https://github.com/Expensify/App/blob/eb896c68d2d36fccb0fb7a5ecef5360f62bd000b/src/components/Search/SearchRouter/SearchRouter.tsx#L285-L287
When we press Enter, it calls submitSearch without handling the case for navigation to the highlighted item
https://github.com/Expensify/App/blob/eb896c68d2d36fccb0fb7a5ecef5360f62bd000b/src/components/Search/SearchRouter/SearchRouter.tsx#L188-L203
What changes do you think we should make in order to solve the problem?

To resolve this issue in this ticket, on the native app, when Enter is pressed, if the text input value is empty, we need to check if a row is highlighted and then navigate to it.

We need to get the focused item in the selection list.

Create getFocusedItem function
https://github.com/Expensify/App/blob/4cd759c6a12f37a7fe818537204f1e39ed882647/src/components/SelectionList/BaseSelectionList.tsx#L398
  const getFocusedItem = useCallback(() => {
      const focusedOption = focusedIndex !== -1 ? flattenedSections.allOptions.at(focusedIndex) : undefined;

      if (!focusedOption || (focusedOption.isDisabled && !focusedOption.isSelected)) {
          return;
      }

      return focusedOption;
  }, [focusedIndex, flattenedSections.allOptions]);

https://github.com/Expensify/App/blob/4cd759c6a12f37a7fe818537204f1e39ed882647/src/components/SelectionList/BaseSelectionList.tsx#L737-L743
Update to
    useImperativeHandle(ref, () => ({scrollAndHighlightItem, clearInputAfterSelect, updateAndScrollToFocusedIndex, updateExternalTextInputFocus, scrollToIndex, getFocusedItem}), [
        scrollAndHighlightItem,
        clearInputAfterSelect,
        updateAndScrollToFocusedIndex,
        updateExternalTextInputFocus,
        scrollToIndex,
        getFocusedItem,
    ]);

We will update onSubmit

https://github.com/Expensify/App/blob/eb896c68d2d36fccb0fb7a5ecef5360f62bd000b/src/components/Search/SearchRouter/SearchRouter.tsx#L285-L287
  onSubmit={() => {
      const item = listRef.current?.getFocusedItem();
      if (!item) {
          submitSearch(textInputValue);
          return;
      }
      onListItemPress(item);
  }}

or
  onSubmit={() => {
      const item = listRef.current?.getFocusedItem();

      if (!textInputValue && !isSearchQueryItem(item)) {
      // or if (!textInputValue && item && !isSearchQueryItem(item)) {
          onRouterClose();

          if (item?.reportID) {
              Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(item?.reportID));
          } else if ('login' in item) {
              ReportUserActions.navigateToAndOpenReport(item.login ? [item.login] : [], false);
          }
          return;
      }
      submitSearch(textInputValue);
  }}

Regarding the mWeb issue, if we want to fix it in this ticket, we will update it as follows:
https://github.com/Expensify/App/blob/9675b9cb27b8fd4170a6461adbcf62c9afdb5844/src/components/Search/SearchRouter/SearchRouterInput.tsx#L93
    <TextInput
        ...
        onKeyPress={(event) => {
          const isWeb = getPlatform() === CONST.PLATFORM.WEB;
          if (!isWeb) {
              return;
          }
          if (event.nativeEvent.key !== 'Enter') {
              return;
          }
          onSubmit();
        }}
    />

POC
https://github.com/user-attachments/assets/53c1d61a-9f88-4f63-9cb6-2a81d60941ee

Test branch
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

@ikevin127 Proposals are ready for your review

Will review today.

Both proposals are suggesting similar solutions when it comes to our main issue with slightly different implementations, both  are fixing the issue, but the second proposal is considering another case that is related / in scope. Before I make a decision I want to check with @Expensify/design and / or @luacmartins on whether we should address the related case here.
The issue is that, on mWeb, if no item is selected and input is empty and we press Enter aka software keyboard search button, nothing happens. Compared to Native where the search input page is dismissed (w/ no specific search query):

iOS: Native
iOS: mWeb Safari

IMO pressing Enter aka software keyboard search button should do something like it happens on Native, should dismiss the search input page with no specific search query, as to me it feels like something's broken on mWeb when it doesn't do anything.
I think we should fix the mWeb case such that we would have the same behaviour on both mWeb and Native.
Please let me know what do you think!

Interesting, I think I tend to agree with you. Basically hitting enter on a blank Search query essentially is like resetting the search query back to nothing, aka searching for nothing which would just bring you back to the default home state of Search.

We're still awaiting some more input on https://github.com/Expensify/App/issues/53401#issuecomment-2560208680 regarding final decision.

Basically hitting enter on a blank Search query essentially is like resetting the search query back to nothing, aka searching for nothing which would just bring you back to the default home state of Search.

I agree with this as well. That feels more right to me than doing nothing at all.

Issue not reproducible during KI retests. (First week)

I think this fits into #expense because search navigation is a core flow for everyone

Checking if issue is still reproducible before asking for proposals to be updated to latest requirements.


Template values

Tested both the vanilla case and an mcg with values-hub tweaked to use both sharedValueFiles and extraValueFiles


[11.x] Add job processing time to JobAttempted event

The current Laravel framework does not provide a straightforward method to log the execution time of jobs. To address this, I have modified the JobAttempted event to include a time attribute that records the job's execution duration. This enhancement allows applications to listen for the JobAttempted event and directly access the time attribute for logging purposes.
The specific changes made in the commit are as follows:

Updated JobAttempted Event: Added a time attribute to the JobAttempted event class to store the execution time of the job.
Modified Worker Class: Adjusted the Worker class to dispatch the JobAttempted event with the newly added time attribute, capturing the duration of the job's execution.

These modifications enable developers to monitor and log job execution times more effectively, facilitating better performance analysis and debugging.

I'm going to let @jessarcher or @timacdonald take a look at this to make sure it fits what we need on Nightwatch.


Gp3 throughput and IOPS support

Adding support for both iops and throughput values of GP3 disks.

Added tests that test iops and throughput in the same fashion as io1s iops are tested
Works on root, ephemeral and persistent disks.
Note: values below the base of 3000 iops and 125mbps that are specified will be bumped by amazon to the baseline.
Test suite for block_device_manager are green. Due to me not having a playground AWS account I have not ran the full suite (as I did not touch most of the CPI)
Manual integration test on AWS done.

Can you squash commit down @schmidtsv ?

Can you squash commit down @schmidtsv ?

I squashed it down

Thanks! @schmidtsv


option not in drop down

Obsidian version: 0.15.9
Just installed the plugin, enabled, added PAT and it does not show up in the command drop down.

Can you try turning the plugin on and off again, and restart Obsidian? I've not heard of this issue before, so just want to cover the obvious bases.

 Thank you.


SNMP v2c to v3 conversion

Hi there,
I have an SNMP Manager that supports only v2c, and now I have to manage multiple devices that only support v3.  Would it be possible for you to post an example configuration showing how to do this using SNMP Forwarder?

I can do that of course. Meanwhile, if you take the reverse example comfiguration and flip SNMP config between client and server files, that should suffice.
This part goes from client to server:
  snmp-community-name: public
  snmp-security-name: public
  snmp-security-model: 2
  snmp-security-level: 1

This part goes from server to client:

  snmp-security-model: 3
  snmp-security-level: 3

  snmp-security-name: test-user
  snmp-usm-user: test-user
  snmp-usm-auth-protocol: md5
  snmp-usm-auth-key: authkey1
  snmp-usm-priv-protocol: des
  snmp-usm-priv-key: privkey1

I may overlook some details, but may be not. ;-)

Wow!  Now that is what I call a quick response.
Many thanks, I will give it a try.
Regards
Jamie Lewis
Senior Software Developer
ROHDE & SCHWARZ UK Ltd. Ancells Business Park, Fleet, Hampshire. GU51 2UZ
Tel: +44 (0) 1252 818 855, Fax: +44 (0) 1252 811 447, Mob: +44 (0) 7770 620 209
Sales and Service Tel: +44 (0) 1252 818 888, Email<EMAIL_ADDRESS>Customer Support Tel: +44 (0) 1252 818 900, Email<EMAIL_ADDRESS>Website: https://www.rohde-schwarz.com/uk
Twitter: https://twitter.com/rohde_schwarzUK
The contents of this email and any attachments are sent for the attention of the addressee(s) only and may contain confidential and/or privileged material.
If you have received this email in error, please notify the sender immediately and delete it from your system.
If you are not the addressee, any review, re-transmission, disclosure, copying or other use of this email and any attachments is prohibited.
Statements and opinions expressed in this email may not represent those of the company and any representations or commitments in this email are subject to contract.
From: Ilya Etingof<EMAIL_ADDRESS>Sent: Tuesday, September 18, 2018 7:57 PM
To: etingof/snmpfwd<EMAIL_ADDRESS>Cc: Lewis Jamie 5UKPS2<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: EXT [Newsletter] Re: [etingof/snmpfwd] SNMP v2c to v3 conversion (#25)
I can do that of course. Meanwhile, if you take the reverse example comfigurationhttp://snmplabs.com/snmpfwd/configuration/examples/command-forwarding-snmpv3-to-snmpv1.html and flip SNMP config between client and server files, that should suffice.
This part goes from client to server:
snmp-community-name: public
snmp-security-name: public
snmp-security-model: 2
snmp-security-level: 1
This part goes from server to client:
snmp-security-model: 3
snmp-security-level: 3
snmp-security-name: test-user
snmp-usm-user: test-user
snmp-usm-auth-protocol: md5
snmp-usm-auth-key: authkey1
snmp-usm-priv-protocol: des
snmp-usm-priv-key: privkey1
I may overlook some details, but may be not. ;-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/etingof/snmpfwd/issues/25#issuecomment-422507939, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAyFedJhcht6t3Ss2V_MNquxs21r3BBCks5ucUHggaJpZM4WugTM.
Content provided within this e-mail including any attachments, is for the use of the intended recipients and may contain Rohde & Schwarz company restricted information. Any unauthorized use, disclosure, or distribution of this communication in whole or in part is strictly prohibited. If you are not the intended recipient, please notify the sender by reply email or by telephone and delete the communication in its entirety.

Here is SNMPv2c -> SNMPv3 proxy example configuration.
Hope this helps.

Hi Ilya,
Thank you very much for this.
I shall study this example and try it out.
Regards
Jamie Lewis
Senior Software Developer
ROHDE & SCHWARZ UK Ltd. Ancells Business Park, Fleet, Hampshire. GU51 2UZ
Tel: +44 (0) 1252 818 855, Fax: +44 (0) 1252 811 447, Mob: +44 (0) 7770 620 209
Sales and Service Tel: +44 (0) 1252 818 888, Email<EMAIL_ADDRESS>Customer Support Tel: +44 (0) 1252 818 900, Email<EMAIL_ADDRESS>Website: https://www.rohde-schwarz.com/uk
Twitter: https://twitter.com/rohde_schwarzUK
The contents of this email and any attachments are sent for the attention of the addressee(s) only and may contain confidential and/or privileged material.
If you have received this email in error, please notify the sender immediately and delete it from your system.
If you are not the addressee, any review, re-transmission, disclosure, copying or other use of this email and any attachments is prohibited.
Statements and opinions expressed in this email may not represent those of the company and any representations or commitments in this email are subject to contract.
From: Ilya Etingof<EMAIL_ADDRESS>Sent: Tuesday, September 18, 2018 10:05 PM
To: etingof/snmpfwd<EMAIL_ADDRESS>Cc: Lewis Jamie 5UKPS2<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: EXT [Newsletter] Re: [etingof/snmpfwd] SNMP v2c to v3 conversion (#25)
Here is SNMPv2c -> SNMPv3 proxy example configurationhttp://snmplabs.com/snmpfwd/configuration/examples/command-forwarding-snmpv2c-to-snmpv3.html.
Hope this helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/etingof/snmpfwd/issues/25#issuecomment-422554430, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAyFefNht9NHcCugvRe1v476SXiXJXNwks5ucV_7gaJpZM4WugTM.
Content provided within this e-mail including any attachments, is for the use of the intended recipients and may contain Rohde & Schwarz company restricted information. Any unauthorized use, disclosure, or distribution of this communication in whole or in part is strictly prohibited. If you are not the intended recipient, please notify the sender by reply email or by telephone and delete the communication in its entirety.

Hi Ilya,
One more question: if I need to perform this conversion for 1 v2c manager interfacing to multiple v3 Agents, how do I achieve this?
This is what I think I need to do:
Server configuration
Add an snmp-credentials-group { } for each v3 Agent
Client configuration
Add an peers-group { } for each v3 Agent
snmp-engine-id
For each v3Agent, the associated snmp-credentials-group { } and peers-group { } must share a unique snmp-engine-id
Does this sound correct or are there other changes required?
Regards
Jamie Lewis
Senior Software Developer
ROHDE & SCHWARZ UK Ltd. Ancells Business Park, Fleet, Hampshire. GU51 2UZ
Tel: +44 (0) 1252 818 855, Fax: +44 (0) 1252 811 447, Mob: +44 (0) 7770 620 209
Sales and Service Tel: +44 (0) 1252 818 888, Email: contact.uk<EMAIL_ADDRESS>Customer Support Tel: +44 (0) 1252 818 900, Email: customersupport<EMAIL_ADDRESS>Website: http://www.rohde-schwarz.co.ukhttp://www.rohde-schwarz.co.uk/
Twitter: http://twitter.com/rohde_schwarzUK
The contents of this email and any attachments are sent for the attention of the addressee(s) only and may contain confidential and/or privileged material.
If you have received this email in error, please notify the sender immediately and delete it from your system.
If you are not the addressee, any review, re-transmission, disclosure, copying or other use of this email and any attachments is prohibited.
Statements and opinions expressed in this email may not represent those of the company and any representations or commitments in this email are subject to contract.
From: Ilya Etingof<EMAIL_ADDRESS>Sent: Tuesday, September 18, 2018 10:05 PM
To: etingof/snmpfwd<EMAIL_ADDRESS>Cc: Lewis Jamie 5UKPS2<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: EXT [Newsletter] Re: [etingof/snmpfwd] SNMP v2c to v3 conversion (#25)
Here is SNMPv2c -> SNMPv3 proxy example configurationhttp://snmplabs.com/snmpfwd/configuration/examples/command-forwarding-snmpv2c-to-snmpv3.html.
Hope this helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/etingof/snmpfwd/issues/25#issuecomment-422554430, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAyFefNht9NHcCugvRe1v476SXiXJXNwks5ucV_7gaJpZM4WugTM.
Content provided within this e-mail including any attachments, is for the use of the intended recipients and may contain Rohde & Schwarz company restricted information. Any unauthorized use, disclosure, or distribution of this communication in whole or in part is strictly prohibited. If you are not the intended recipient, please notify the sender by reply email or by telephone and delete the communication in its entirety.

There are multiple ways to do that mostly depending on how do you want to represent each of the v3 agents at the snmpfwd server side. Choices include:

Based on server transport endpoint (dedicated address/port at v2c agent per v3 agent)
Based on distinct SNMPv2c community names
Based on v2c client source transport endpoint
Based on something matching in the request var-binds

For the first two approaches you would need (as you say) distinct transport or community settings bound to snmp-credentials-id:  key e.g.
snmp-credentials-group {
  snmp-engine-id: 0x0102030405070809

  snmp-transport-domain: <IP_ADDRESS>.<IP_ADDRESS>
  snmp-bind-address: <IP_ADDRESS>:1161

  snmp-security-model: 2
  snmp-security-level: 1

  # block names never matter, what matters is the scoping and the IDs
  agent-1 {
    snmp-community-name: public
    snmp-security-name: public

    snmp-credentials-id: snmp-credentials-1
  }

  agent-2 {
    snmp-community-name: cilbup
    snmp-security-name: cilbup

    snmp-credentials-id: snmp-credentials-2
  }
}

Similarly for snmp-bind-address.
Then you need to route those distinct snmp-credentials-id to your client(s) similarly to how it's done for a single entry.
On the client side you need to define blocks for each of your v3 agents with distinct snmp-peer-id IDs.
You could use a single snmp-engine-id or many of them - this should not matter unless your v3 agents care about that (what's unlikely).
The crucial part at the client side is to route the queries coming from server to client towards proper v3 agent. You can do that by either:

Matching v1 manager parameters as seen by the server (see orig-snmp-peer-id key)
Matching configuration IDs chosen by the server when serving the v1 manager (see server-classification-id key)

Here is the example configuration I am referring to here.
There is also some documentation on these settings.
Does it make sense?
If your v3 agents sit on different/distant networks, the other option could be that you have one snmpfwd-client peering with many snmpfwd-servers over TCP/IP links what should work a bit more reliably perhaps.  With that layout you would probably have to route v2c messages at the snmpfwd-server side over trunks based on similar conditions.

Many thanks.  I will check this out.
Regards
Jamie Lewis
Senior Software Developer
ROHDE & SCHWARZ UK Ltd. Ancells Business Park, Fleet, Hampshire. GU51 2UZ
Tel: +44 (0) 1252 818 855, Fax: +44 (0) 1252 811 447, Mob: +44 (0) 7770 620 209
Sales and Service Tel: +44 (0) 1252 818 888, Email: contact.uk<EMAIL_ADDRESS>Customer Support Tel: +44 (0) 1252 818 900, Email: customersupport<EMAIL_ADDRESS>Website: http://www.rohde-schwarz.co.ukhttp://www.rohde-schwarz.co.uk/
Twitter: http://twitter.com/rohde_schwarzUK
The contents of this email and any attachments are sent for the attention of the addressee(s) only and may contain confidential and/or privileged material.
If you have received this email in error, please notify the sender immediately and delete it from your system.
If you are not the addressee, any review, re-transmission, disclosure, copying or other use of this email and any attachments is prohibited.
Statements and opinions expressed in this email may not represent those of the company and any representations or commitments in this email are subject to contract.
From: Ilya Etingof<EMAIL_ADDRESS>Sent: Thursday, September 20, 2018 2:53 PM
To: etingof/snmpfwd<EMAIL_ADDRESS>Cc: Lewis Jamie 5UKPS2<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: EXT [Newsletter] Re: [etingof/snmpfwd] SNMP v2c to v3 conversion (#25)
There are multiple ways to do that mostly depending on how do you want to represent each of the v3 agents at the snmpfwd server side. Choices include:

Based on server transport endpoint (dedicated address/port at v2c agent per v3 agent)
Based on distinct SNMPv2c community names
Based on v2c client source transport endpoint
Based on something matching in the request var-binds

For the first two approaches you would need (as you say) distinct transport or community settings bound to snmp-credentials-id: key e.g.
snmp-credentials-group {
snmp-engine-id: 0x0102030405070809
snmp-transport-domain: <IP_ADDRESS>.<IP_ADDRESS>
snmp-bind-address: <IP_ADDRESS>:1161
snmp-security-model: 2
snmp-security-level: 1
block names never matter, what matters is the scoping and the IDs
agent-1 {
snmp-community-name: public

snmp-security-name: public

snmp-credentials-id: snmp-credentials-1

}
agent-2 {
snmp-community-name: cilbup

snmp-security-name: cilbup

snmp-credentials-id: snmp-credentials-2

}
}
Similarly for snmp-bind-address.
Then you need to route those distinct snmp-credentials-id to your client(s) similarly to how it's done for a single entry.
On the client side you need to define blocks for each of your v3 agents with distinct snmp-peer-id IDs.
You could use a single snmp-engine-id or many of them - this should not matter unless your v3 agents care about that (what's unlikely).
The crucial part at the client side is to route the queries coming from server to client towards proper v3 agent. You can do that by either:

Matching v1 manager parameters as seen by the server (see orig-snmp-peer-id key)
Matching configuration IDs chosen by the server when serving the v1 manager (see server-classification-id key)

Here is the example configurationhttp://snmplabs.com/snmpfwd/configuration/examples/command-forwarding-snmpv2c-to-snmpv3.html#server-configuration I am referring to here.
There is also some documentationhttp://snmplabs.com/snmpfwd/configuration/index.html#configuration-files on these settings.
Does it make sense?
If your v3 agents sit on different/distant networks, the other option could be that you have one snmpfwd-client peering with many snmpfwd-servers over TCP/IP links what should work a bit more reliably perhaps. With that layout you would probably have to route v2c messages at the snmpfwd-server side over trunks based on similar conditions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/etingof/snmpfwd/issues/25#issuecomment-423191435, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAyFeW7-GaQ50YY_8OVKE2A_9PKFhaooks5uc52tgaJpZM4WugTM.
Content provided within this e-mail including any attachments, is for the use of the intended recipients and may contain Rohde & Schwarz company restricted information. Any unauthorized use, disclosure, or distribution of this communication in whole or in part is strictly prohibited. If you are not the intended recipient, please notify the sender by reply email or by telephone and delete the communication in its entirety.


update group page and add joining note

This updates the group page slightly to provide a subheader,
and tweaks the layout to allow for the adding of the note that
states you have to ask a sponsor to join a group.
Resolves: #50
Resolves: #20
Signed-off-by: Ryan Lerch<EMAIL_ADDRESS>

(also, unrelated but the footer seems a bit big, maybe it should be h5 instead of h4?)


[Question] How to change image gravity?

Markwon version: 4.6.2

Both the title and description image are not aligned the same way emojis are, with gravity center_vectical.

Is it possible to make them aligned the same way the tittle picture is in this picture?

Please specify expected/actual behavior
Markdown images have gravity set to center_vertical, and would look like emojis in picture above (not the same in size, just alignment), or like in the second picture.

Please specify conditions/steps to reproduce (layout, code, markdown used, etc.)
To create the 2nd picture I just hardcoded an image and set the gravity to center_vertical. I tried setting the gravity in the TextView to center_vertical but the way the image was aligned didn't change.

  <LinearLayout
        android:layout_width="match_parent"
        android:orientation="horizontal"
        android:layout_height="wrap_content">
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:src="@drawable/pic_buff1"/>
        <com.habitrpg.android.habitica.ui.views.EllipsisTextView
            android:id="@+id/checkedTextView"
            style="@style/Subheader3"
            android:textColor="?attr/textColorPrimary"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:lineSpacingExtra="2sp"
            android:layout_gravity="center_vertical"
            android:textSize="15sp"
            android:letterSpacing="0.025"
            tools:text="Habit Title" />
    </LinearLayout>

Hello @DorianK29 ,
unfortunately it is not possible to specify gravity for individual images via markdown


WIP - DON't MERGE: Removing dcos-metrics from windows build.

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (required)

DCOS-ID JIRA title / short description.

Related tickets (optional)

DCOS-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

will be removed by introducing windows build of telegraf. so closing this now.


Sync google docs

I use syncrclone to sync a large collection of local files on a linux system and Google Drive. Your software is a lifesaver. The files and folders can be changed, renamed, and moved both locally and on Google Drive. Everything works well until there are Google Drive documents involved. If I rename a folder that also has Google Docs, the old folder remains on the drive with the Google Docs. I understand why this is happening, but hat is the best way to handle this? If I understand correctly, converting the file locally to ODS and then back to Google Sheets can cause data loss and might not convert all formulas properly. Is there a way to handle this?
Would using --drive-export-formats desktop be an option? How would the google import be handled from these links?

 I wrote it before rclone's bisync existed but given how mature that has become, I am not sure syncrclone still has a need. I like the algorithm more but both do work. Anyway...

I understand why this is happening, but hat is the best way to handle this?

I don't necessarily understand though. Can you explain your thoughts? I don't use Google Docs but I do know that I get some annoying behavior with OneDrive and their native files.
My guess is that there is an inconsistency between the Google server version and what rclone sees on the local machine. Even if you don't convert it, it is possible that it's not consistent. This would be a bug in either Google and/or rclone (likely the former because rclone can only give you what it's told but there could be something in the API).
Can you please share the log? Both the regular and the --debug? Please review them first to make sure they are devoid of sensitive information and note clearly what has been redacted.
Even better if you can make a small test case.

Oh, I missed a few things.

If I understand correctly, converting the file locally to ODS and then back to Google Sheets can cause data loss and might not convert all formulas properly. Is there a way to handle this?

and

--drive-export-formats desktop

Both of these could be set in the config for rclone_flags (tip: Remember flags must be a list. So it would be ['--drive-export-formats','desktop'].
But I am not it'll fix the problem. You want the local file to have the same size and ModTime (or hash but I'll assume you aren't using that) so that it doesn't get confused.

In general, one design tenet of syncrclone is to simultaneously be non-interactive and also extra safe. Not only are backups the default, but it is very easy to make conflicts keep both. File moves are very conservative and only happen if there is a unique match.

Hey, thanks for getting back to me. I realize this is entirely an rclone issue. By default, rclone ignores Google Docs. My local filesystem does not have a reference to the Google Docs. When I delete or rename the local folder, syncing does not move the Google Docs, so the folders for them remain in place. I guess these spreadsheets that I have in the drive I sync are basic, so converting them to XLSX could work. I will experiment with a mirrored drive and local filesystem.
I never caught that rclone introduced bysync. Your solution has been working so well for so long.


correct flow types

The function should have optional arguments, but not nullable types.

By analyzing the blame information on this pull request, we identified @davidaurelio to be a potential reviewer.

yup, thanks!

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


fix resetting of multiple animtrees on single state_machine

Tentative fix to #57223.
I couldn't produce complex animation trees to make sure that behaviour remains the same, so I'd like to ask some help in determining whether this fix maintains old behaviour.

@TokageItLab Can you review?

Honestly, I feel that the purpose of #57223 is to implement a hacky way of synchronizing animation resources by abusing the fact that they are string name references. A reference to an animation resource should be unique.
What is the use case of #57223? Isn't AnimationPlaybackTrack enough for that?

I'll admit it's hacky, and I wasn't aware that one animation player could call another without relying on method tracks. That could be used to implement what I wanted, thank you very much! Not sure if this fix is of much use as I couldn't find anybody else trying to use animation trees this way. PR can be closed if you agree.
My intention was to have different animation players play "component"-like animations, which could be used together with scene inheritance. It's was supposed to be way of implementing something similar to godot-proposals/issues/3858 without actually changing the animation code, other than this "bug". However, I think the animtree -> specific_animplayer -> base_anim_player method will work nicely and this is no longer needed(for me at least).
Thanks again for the idea!

Indeed, NodeTimeScale does not affect some Nodes. And that can be a problem. We can creating a new issue about it, after, we can sending a PR for improvement and I think it' the right way to go.


sd_setImage(with: StorageReference, placeholder: UIImage) not working

Step 1: Are you in the right place?
Yes
Step 2: Describe your environment

Objective C or Swift: Swift
iOS version: 11.4
Firebase SDK version: 5.3.0
FirebaseUI version: 5.0.1
CocoaPods Version: 1.5.2

Step 3: Describe the problem:
Steps to reproduce:
I used the example from this page: https://github.com/firebase/FirebaseUI-iOS/tree/master/FirebaseStorageUI
Observed Results:

What happened?  This could be a description, log output, etc.
The UIImage is empty and I got this as error from the callback:
Optional(Error Domain=FIRStorageErrorDomain Code=-13040 "User cancelled the upload/download." UserInfo={NSLocalizedDescription=User cancelled the upload/download.})

Expected Results:

What did you expect to happen?
The image from firebase storage should be displayed in UIImage

Relevant Code:
itemImage.sd_setImage(with: StorageReference().child(item.imageUrl), placeholderImage: #imageLiteral(resourceName: "image")) { (image, error, cacheType, storageReference) in
     print(storageReference) // gs://my-warranty-155ff.appspot.com/itemsImages/2263.0-1907.0-1530054884661.jpg
     print(error) // Optional(Error Domain=FIRStorageErrorDomain Code=-13040 "User cancelled the upload/download." UserInfo={NSLocalizedDescription=User cancelled the upload/download.})
}

@Idomo I'm unable to reproduce this issue.

Anything new about this issue? as I'm having the same


Add await-nullifier functionality to the view service

@hdevalence proposes:
rpc NullifierStatus(NullifierStatusRequest) returns (NullifierStatusResponse);

message NullifierStatusRequest {
  crypto.FullViewingKeyHash fvk_hash = 1;
  crypto.Nullifier nullifier =2;
  bool keep_alive = 3;
}

message NullifierStatusResponse {
  bool spent = 1;
}

idea being that if keep_alive is present, the connection stays open until it becomes spent

With quarantining implemented, we may also want to add an option to watch for a nullifier being rolled back, or to watch for it only once it is finally confirmed, rather than provisionally added to the quarantined nullifier set.

Once this API exists, we should change pcli's submit_transaction to wait for confirmation of spends.  This is better than waiting for confirmation of outputs, because:

The reason to wait for confirmation at all is to prevent accidental double-spends;
All transactions worth confirming have spends, but not all of them have self-addressed outputs.


Is there a way to subscribe to IObservable services and get notification

Hi @jayeshnair125,
Script code can implement a managed interface with a bit of help from the host.
Consider this simple service that publishes a random number every second for 10 seconds:
public sealed class RandomNumberService : IObservable<double> {
    public IDisposable Subscribe(IObserver<double> observer) {
        return PublishAsync(observer);
    }
    private static async Task PublishAsync(IObserver<double> observer) {
        var random = new Random();
        for (var i = 0; i < 10; ++i) {
            await Task.Delay(1000).ConfigureAwait(false);
            observer.OnNext(random.NextDouble());
        }
        observer.OnCompleted();
    }
}

Here's a class that provides a script-friendly version of IObservable<T>.Subscribe:
public static class ObservableExtensions {
    public static IDisposable subscribe<T>(this IObservable<T> source, dynamic observer) {
        return source.Subscribe(new Observer<T>(observer));
    }
    private sealed class Observer<T> : IObserver<T> {
        private readonly dynamic observer;
        public Observer(dynamic observer) { this.observer = observer; }
        public void OnNext(T value) { observer.onNext(value); }
        public void OnError(Exception error) { observer.onError(error); }
        public void OnCompleted() { observer.onCompleted(); }
    }
}

And this is how script code might consume the service:
using (var engine = new V8ScriptEngine()) {

    engine.Script.service = new RandomNumberService();
    engine.AddHostType(typeof(ObservableExtensions));

    var doneEvent = new AutoResetEvent(false);
    engine.Script.doneEvent = doneEvent;

    engine.AddHostType(typeof(Console));
    engine.Execute(@"
        service.subscribe({
            onNext: value => Console.WriteLine(value),
            onError: error => Console.WriteLine('Error: {0}', error),
            onCompleted: () => doneEvent.Set()
        });
    ");

    doneEvent.WaitOne();
}

This is just a simple example, but hopefully it gives you an idea of how the host and script engine can work together.
Good luck!


non-responsive, see preparing and downloading bars but no result

using no-install, stuck on this screen.
`
C:\Users\Chill\Downloads\style2paints_noinstall>cd server
C:\Users\Chill\Downloads\style2paints_noinstall\server>..\python\python.exe server.py
Using TensorFlow backend.
2019-05-19 04:58:06.807393: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
C:\Users\Chill\Downloads\style2paints_noinstall\python\lib\site-packages\keras\engine\saving.py:270: UserWarning: No training configuration found in save file: the model was not compiled. Compile it manually.
warnings.warn('No training configuration found in save file: '
Bottle v0.12.13 server starting up (using PasteServer())...

I think without GPU you need to wait.

i have a gtx 1060 6gb and am on cuda
On Sun, May 19, 2019 at 5:30 AM viet1pro<EMAIL_ADDRESS>wrote:

What is your pc information.
I think without GPU you need to wait.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lllyasviel/style2paints/issues/114?email_source=notifications&email_token=AG6RNDEG7PJBRORXCCKI2P3PWEMZTA5CNFSM4HN4AHO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVW6JEQ#issuecomment-493741202,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG6RNDFTL536I7MSR5JT7NLPWEMZTANCNFSM4HN4AHOQ
.

No-install just apply for cpu, you should install by yourself

If you have any problem, ask me because i have many problem when i install too XD

@viet1pro how can i make sure it is running on gpu? i tried install by myself and now it is stuck on preparing, with no command prompt feedback

@carroz If you see this line
Found device 0 with properties:   name: your gpu name
after this line:
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
that is it running on your GPU

<-- bows & tips hat in your general direction TyTy


Changing to AdaptiveAvgPool2d on VGG

The update allows VGG to process images larger than prescribed imagenet size using adaptive average pooling. Will be useful while finetuning or testing on different resolution images. Similar to https://github.com/pytorch/vision/pull/643 and https://github.com/pytorch/vision/pull/672. I did not include adaptive avg pool in features or classifier block so that these predefined blocks can be used as it is.

@fmassa @ekagra-ranjan  This modification doesn't make sense at all! The VGG implementation here is meant for ImageNet, and the dense layer of the pre-trained model has parameters of the dimension of 51277xnum_classes. With AvgPool, the dense layer would be 512*num_classes. When user use this by revoking torchvision.models.vgg, they'll have problem loading the pre-trained models.
It is definitely a good point to let the code fits any input size, but users can always modify this themselves, so please keep the implementation exactly the same as the original VGG.


Add section on safety checks

https://github.com/project-serum/anchor/pull/1452

I have a feeling this would better be added to the Types section in the accounts struct chapter.
Types are discussed there so it seems logical a section that talks about how to use two specific types would go there


Migrate Vendor EFT bank information

This change enhances the GP cloud migration to include migrating Vendor EFT Bank information from GP to BC.

Added SY06000 (Address EFT Master) and MC40200 (Currency Setup) staging tables.
If a Vendor EFT Bank account is marked as Inactive, it will not be migrated.
New SWIFT Codes will be created in BC if they don't already exist.
New Currencies will be created in BC if they don't already exist.
The Vendor's Preferred Bank Account Code will be assigned with the following logic:

It is populated with the EFT Bank Account assigned to the Vendor's Remit To address in GP.
If there is no active Remit To address, then it will assign it to the Vendor's Primary address.
If there is no active Primary address, then leave the Preferred Bank Account Code empty.

Resubmitting pull request without conflicts


Improve the UI of Dashboard page

Description:
This PR improves the overall user experience by styling and subtle animations to the Dashboard Section. The changes aim to create a modern and dynamic interface, aligning with Web3 design aesthetics.
Key Changes:

Added futuristic gradients, neon glows, and glassmorphism effects to the template cards.
Implemented smooth animations for hover and card interactions, improving the look and feel.
Updated layout responsiveness across different screen sizes (mobile, tablet, desktop).
Ensured performance optimization while incorporating animations to avoid lags.

These enhancements elevate the visual appeal of the platform, providing a cutting-edge experience for users browsing through templates.

Merged @vidhvath28

There are some issues with your pr kindly check for those, try deploying it by yourself and send a new PR

Ya sure, I am really sorry for those issues.

Kindly solve those issues @vidhvath28


Should conversions to BFLOAT16 signal Underflow?

The instructions that convert to BFLOAT16 (FCVT.BF16.S, vfncvtbf16.f.f.w) do not say that Underflow can be signalled. Is this correct?
In IEEE-754, Underflow should be signalled if, for the result of a floating point operation:

The result is smaller than the smallest normal value representable in the type; and:
The operation results in a loss of precision.

Should conversion of a subnormal FP32 argument which rounds fraction bits and produces a subnormal or zero result therefore signal Underflow?

Good question, but if it is signaled it should be with tininess detected after rounding as in the standard floating-point extensions.

Good question, but if it is signaled it should be with tininess detected after rounding as in the standard floating-point extensions.

Agreed - I've assumed this by requiring a subnormal or zero result (so a result that rounds up to the minimum normal value does not signal underflow)

The specification has been updated to include underflow for conversion to BF16.
Also, it is important to keep in mind that the check-for-tininess rounding is performed "as though the exponent range were unbounded", this is different from the rounding to produce the result. Basically, when checking for tininess all intermediate results are normalized before rounding. Thus, results that round up to the minimum normal normal value can still signal underflow.