sap.m.StepInput issue on displaying oData messages as valueState using bound value

Expected Behavior
Returning errors from an oData model targeted to UI5 StepInput should be shown on StepInput
Current Behavior
Only static valueState is shown. The message model errors are currently not shown on step input.
Since we will use StepInput on our E-Commerce suite, using it as incrementor for quantity, this is an elementary bug not beeing possible to return server errors like MinQuantity, MaxQuantity, etc.
Steps to reproduce the issue
Use a oData model that return errors (body/head) with target to bound StepInput value.
This is working for input, but not for StepInput.
I think the delegation for bound value errors inside this composite control is not forwarded correctly (usually former issues with composite controls and binding).
Easiest way to reproduce would be placing a StepInput into the BasicODataMessage sample, maybe instead zip code and see, that bound oData messages will not be shown on control.
https://openui5nightly.hana.ondemand.com/1.65.4/#/entity/sap.ui.core.message.MessageManager/sample/sap.ui.core.sample.MessageManager.BasicODataMessages
Context

UI5 Module Version: 1.65.4 (but i think also not supported in current version)

Please also let me know, if this fix will be downported to 1.65.x (current SAP Fiori FES 6.0 version) or maybe a next upcomming long time maintenance version.
If this will not be fixed for whatever reason, please also let me know. Then we will fallback to a custom composite xml control.
Regards
Holger

Hey @hschaefer123,
Are you sure this is a UI5 Builder issue? Or rather an OpenUI5 issue?
In case of the latter there's no need to re-create the issue in the OpenUI5 repository. Just let us know and we transfer it over there.

Sorry!
used my link and thought i am on OpenUI5!
Was also confused, why the issue template looks different.
Created it in openui5 repo and closed ticket.
Regards Holger


@allowed decorator for param should confirm default value after any expression is evaluated

Bicep version
Bicep CLI version 0.10.61 (8f44805506)
Describe the bug
Assuming a bicep template is deployed into a ResourceGroup located in eastus, the following code snippet should set the default value of locationName to 'eastus', but allow override to the allowed set of alternate regions.
@description('Location Name')
@allowed([
  'eastus'
  'eastus2'
  'westus'
  'westus2'
  'centralus'
])
param locationName string = resourceGroup().location

Instead, we get this error, indicating the value is likely checked against the list of allowed values before it is evaluated to 'eastus', which is one of the allowed values and should be valid.
Error BCP027: The parameter expects a default value of type "'centralus' | 'eastus' | 'eastus2' | 'westus' | 'westus2'" but provided value is of type "string".

I think it's reasonable to want to both use as a default the Resource Group location, and then limit what alternatives can be chosen. Meaning, this code should work. I think any other variants of expressions allowed in a default value should also be evaluated to the final string result before the comparison with the @allowed list is performed.
To Reproduce
Steps to reproduce described above - this is simple to reproduce.
Additional context
N/A

You can work around this using the any() function like this:
@description('Location Name')
@allowed([
  'eastus'
  'eastus2'
  'westus'
  'westus2'
  'centralus'
])
param locationName string = any(resourceGroup().location)

@majastrz You agree that's a bit of a hack, though, right?
I also think that it should be possible to indicate the @allowed set is matched in a case-insensitive way, as in many cases, Microsoft has names which show up capitalized or uncapitalized in different contexts.
Case in point this very example - these location names often appear as 'EastUS' in one setting or in documentation, but 'eastus' in others, as in what's returned from the resourceGroup().location function.


 I really don't want to maintain the list of the fuzzing tests.

The last commit is adding simple go test -fuzz. While these tests are used by CI Fuzz, I'd like to make sure simple go test -fuzz is working as well.


field.expressions not evaluated on model changes when using zoneless angular 18 production builds

Description
There was a fix for this problem https://github.com/ngx-formly/ngx-formly/issues/3921 in 6.3.2, but it doesn't work in production builds because of minification.
Your Environment

Angular version: 18.0.0
Formly version: 6.3.2

Additional context
Pretty sure this can be fixed by changing
export function isNoopNgZone(ngZone: NgZone) {
  return ngZone.constructor.name === 'NoopNgZone';
}

to
export function isNoopNgZone(ngZone: NgZone) {
  return zone instanceof ɵNoopNgZone;
}

could you please send a PR?

submitted a PR... build and test works


Avoid split on undefined

Some reports don't include a stack trace or details on the failure.
This can happen, for example, for junit reports that are used with non Java tests or when subtests are used. See https://github.com/dorny/test-reporter/issues/256 https://github.com/dorny/test-reporter/issues/241 or https://github.com/dorny/test-reporter/issues/239 (there may be others)
Just ignore the stacktrace if it is not defined.

Will this PR be merged any time soon?

@acpbm From what I see, @dorny hasn't been maintaining this since November 2022. So not sure about the status

@cazou I tried out your solution (which was very reasonable) but I'm still getting the "Cannot read property 'split' of undefined" error message.
The parser the test reporter is using is java-junit (as you already mentioned), and it appears the error happens as soon as the TestReporter object calls the "this.createReport()" on line 295 on index.js file. When I use the github action in my workflow, it prints "Creating test report .." and then immediately errors out (even after avoiding split on undefined at the locations you fixed).
Any idea of any other location it may be calling split on undefined?

@cazou I was finally able to get it to work.
Here is what I changed:
https://github.com/dorny/test-reporter/blob/daece3018b33d4c6311cfde77ced40c4c42effa6/dist/index.js#L1063C49-L1063C49
changed to this () based on your example:
 const lines = stackTrace === null || stackTrace === void 0? void 0 : stackTrace.split(/\r?\n/);

Added this before the for loop found here:
https://github.com/dorny/test-reporter/blob/daece3018b33d4c6311cfde77ced40c4c42effa6/dist/index.js#L1064
if (!lines) return void 0;

This worked for me but it would be nice to have the logic reviewed by a typescript/js developer.


Fix sonarr manual import method

Description
According to Sonarr's docs (https://sonarr.tv/docs/api/#/ManualImport/post_api_v3_manualimport), this is supposed to be a POST method.
This method currently fails with 405 Method Not Allowed
Related issues
fixes #165
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Technically this is a breaking change, but as the method currently does not work, it will not break a current working impementation.
How has this been tested

[x] I have run nox -s tests locally and passed

Thanks for this PR but the tests havent been updated to reflect the changes to the _POST method


Feature Request : Show when insulin is going to expire from IOB.

Do you mean like in Loop home View?

Hi JonI am not sure what that looks like as I haven’t used loop in several several years. On Aug 28, 2024, at 5:49 AM, Jon B Mårtensson @.***> wrote:
Do you mean like in Loop home View?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


reconstruction from natural images

Hello,
Thank you for making your code available for public use. I tried your pretrained combined model with some online images from the car and chair categories (I picked these categories since they were  included in the demo categories).  Each image has a single object and white background as mentioned in the github site. I have attached some of the test images and corresponding reconstructed 3d output.  Is there any other image preprocessing that can be done to improve the visual quality and level of detail of the output or is this the expected output of the pretrained model?
test.zip
thank you

Hi @athena913 ,
thanks a lot for your message and interest in the project! I agree that testing on real data is very interesting, but in this project we have not tested our model on "out-of-distribution data" (like in your scenario). In general, making the input images as similar as the training data should improve the results: Hence, for example the cars are not centered in your images, so adding appropriate padding to center the object could help. However, a drastic improvement on this kind of data can only be achieved by re-training the model with different images and/or applying data augmentation to the input images to make the model more robust to new data.
Good luck with your research!
Best,
Michael

Thanks @m-niemeyer for the explaination, in this case you trained the model without 3d supervision, so the training data are only images, and 2.5D images, correct?! So basically we should retrain the model with only these data and it can only work with the same images. Could you recommend a project that does a perfect job in 3d reconstruction with data only "in-of-distribution" data?!
For example for Occupancy Network, can we optimize the model to perfectly fit the 3d models used during training. So when we provide different pictures of the same model they will perfectly recognize the model used during training?! Is it possible?

Mh, I am not entirely sure if I understand your question correctly.
If you have multiple images of the same object, then you also train a single model on these images. Then you will get a reconstruction of this object only. What you now looked at are models which are trained on a large data set of cars, chairs, etc., and then you provide new images at test time and the model can predict 3D geometry. To get a good prediction, your test images should be as similar as possible to the training images.
What could further improve results is to train category-specific. You can train one model on a large dataset of chairs, and then at test time you provide images of chairs to this model. Then, you have a stronger bias to get a chair-like 3D geometry.
Good luck!


running make to build podman doesn't work

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug

Description

Steps to reproduce the issue:
$ make
Describe the results you received:
[vagrant@localhost libpod]$ make
go build -i -ldflags '-X main.gitCommit="94301bab8f82b6bb7c70d9dde8b85ccd0ce3a0b1" -X main.buildInfo=1522700640' -tags "seccomp btrfs_noversion  exclude_graphdriver_btrfs containers_image_ostree_stub selinux" -o bin/podman github.com/projectatomic/libpod/cmd/podman
go build github.com/projectatomic/libpod/cmd/podman: /usr/lib/golang/pkg/tool/linux_amd64/link: signal: killed
make: *** [Makefile:88: podman] Error 1
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
running on Fedora release 27 (Twenty Seven) in a vagrant box
Output of podman version:
(paste your output here)

Output of podman info:
(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):

This looks like it could be an out-of-memory issue. Are you using the provided Vagrantfile?

Oh no, didn't noticed the Vagrantfile, but with the provided Vagrantfile I was getting:
The box you attempted to add doesn't match the provider you specified. Provider expected: virtualbox Provider of box: libvirt
Since I'm on mac and don't have a libvirt provider for vagrant on mac, had to change the Vagrantfile as follow:
Vagrant.configure(2) do |config|
    config.vm.provider "virtualbox" do |virtualbox, override|
        virtualbox.memory = 3096
        virtualbox.cpus = 3
    end
    config.vm.synced_folder ".", "/home/vagrant/sync", disabled: true
    config.vm.synced_folder ".", "/home/vagrant/libpod", type: "rsync", rsync__exclude: ["_output"]
    config.vm.define "fedora_cloud" do |fedora_cloud|
        fedora_cloud.vm.box =  "fedora/26-cloud-base"
    end
end

And the build went through:
[vagrant@localhost ~]$ podman version
Version:       0.4.1-dev
Go Version:    go1.8.7
Git Commit:    "f41dc0b2580ae83129264edbe45b92231bd119a2"
Built:         Mon Apr  2 21:07:53 2018
OS/Arch:       linux/amd64`

And can't wait to try podman now :-)
thanks so much!

The issue can be closed.


⚠ Samsung has degraded performance

In 9289564, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2290 ms

Resolved: Samsung performance has improved in a4a6a27.


Documentation about Persistence

Many other frameworks use HDFS for data persistence, this framework doesn't have any mentions of HDFS, so I was curious how the persistence works? Is it currently deployed using a shared SAN?
The docs in README.md mention that the framework will attempt to restart the broker on the same node if it fails. Is this framework using the persistent reservation features in Mesos 0.23?

@SEJeff take a look at how to change the location of the data stored in Kafka https://github.com/mesos/kafka#changing-the-location-of-data-stored you can use local storage so the data sits outside the sandbox on local disk. The scheduler has stickiness https://github.com/mesos/kafka#broker-placement-stickiness feature to keep it going back to where the data is unless surpassing acceptable failure.
We have plans to include support for new 0.23 features, yes. Including dynamic reservations https://github.com/mesos/kafka/issues/102 and also support persistent storage https://github.com/mesos/kafka/issues/104

Right, this is more for documentation on it :)
Speaking of, will you be at MesosCon? I'm leaving tonight and would love to pick your brains over :beers: on it.


Upgrade to thanos 0.32.1

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
TODO:  Replace releaese-2.9 branch with contents o this branch
Changes:

Update OWNERS file
Add back COMPONENT_NAME and COMPONENT_VERSION files
Add Makefile.prow, Dockerfile.prow, .prom.prow.yaml  to build ubi8 based upstream images and for supporting FIPS compliant (dynamically linked) thanos binary.
Add back test-kind-prow.sh to support kind testing of the upstream image in prow builds

Verification

/retest

/lgtm


Improve Contributing

Also, in the CONTRIBUTING, maybe you should start by publishing to NPM and then to firebase. If there is any failure in the CI, it will prevent you pushing a wrong to firebase

bors merge

Also, by curiosity, why did you remove the commit par from the script?

@curquiza
Sorry I totally forgot to answer this. I remove it because when the script commits you can not see the modification of the files there are already committed. I find it not intuitive at all because you don't know what has changed and what are committed. So it's cool but too unclear finally.

By doing git status you will see the committed files, and also you can check the diff of the current committed changes by doing git diff --staged, but you're right, it's a less known command 😉

You will only see the file added with git status and not the ones that have been committed same for the git diff --staged


Create a simple and achievable PR template

AC1:
The template can reside in the doc folder of the project root directory. This makes it visible to all.
Help on how to create a PR template
AC2:
Please have the rules which can be reasonably achieved by a developer.
The following(at least) should be the part of the template.
PR Branch
**_#ADD LINK TO THE PR BRANCH_**

Unit tests added?: (Y/N)

Integration tests added?: (Y/N)

Test names are meaningful?: (Y/N)

Feature manually tested?: (Y/N)

Branch build passed?: (Y/N)

No 'package.*' in the imports? (Y/N)

Relevant Wiki page updated with clear instruction for the end user? (Y/N)

Http test added to `http-testing` module(if applicable) ?: (Y/N)

Kafka test added to `kafka-testing` module(if applicable) ?: (Y/N)

Related article in Medium on PR Template

@authorjapps : Here I've added PR template, please provide your feedback for the same.
https://github.com/authorjapps/zerocode/pull/338

Available in version 1.3.17


Feature Proposal: Support for Displaying Dates in DD/MM/YYYY Format

I'm reaching out to suggest a feature enhancement for LubeLogger that would offer users the flexibility to view dates in the DD/MM/YYYY format, aligning with the preferences of many users in regions where this format is commonly used.
This proposal entails integrating functionality into LubeLogger to enable users to select the DD/MM/YYYY date format as an alternative to the default format. By accommodating diverse date format preferences, LubeLogger can enhance user satisfaction and usability.
Date Format Selection: Implement a setting within the app where users can choose their preferred date format, including the option for DD/MM/YYYY.
Thank you for considering this proposal.
Regards

I partially agree with you, as indeed in some places it is the case, but the display format is M/D/YYYY (not DD/MM/YYYY) but here I am nitpicking.
I am in France, and here is a list of areas where the display is in the M/D/YYYY format:

Add New Service Record (after selecting a past or future date, or even the current date, the display switches to MM/DD/YYYY)
Add New Repair Record (after selecting a past or future date, or even the current date, the display switches to MM/DD/YYYY)
Add New Upgrade Record (after selecting a past or future date, or even the current date, the display switches to MM/DD/YYYY)
etc... in fact, all menus allowing data entry are affected.

That doesn't make sense, you most likely have a configuration issue.
here I used en_DE(German) locale:

date is displayed in dd/MM/yyyy
Even after saving, it is still displayed as dd/MM/yyyy

Great job! I've just checked my container's environment variables and realized I had been using the en_EN.UTF-8 locale setting. After making the necessary adjustments, everything is functioning properly again. I apologize for any inconvenience caused by raising an issue for such a minor problem. Thank you for your understanding.


Add Spotify as an image provider

Use spotify instead of Deezer as the artist image provider. Deezer can be used as fallback or something else.

Too soon! Might implement in future


Deployment to Azure AppServices with Production Environment makes all js files to fail

When I deploy this or even locally changed the ASPNETCORE_ENVIRONMENT Variable to something other than Development, I start getting 404 errors for all my js files:
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/2 GET https://localhost:49206/_content/SimplCommerce.Module.Vendors/admin/vendors/vendor-form.js?v=1.0
dbug: Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware[2]
      The host 'localhost' is excluded. Skipping HSTS header.
dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[5]
      The request path /_content/SimplCommerce.Module.Vendors/admin/vendors/vendor-form.js does not match an existing file
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
      1 candidate(s) found for the request path '/_content/SimplCommerce.Module.Vendors/admin/vendors/vendor-form.js'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
      Endpoint '/{**slug}' with route pattern '/{**slug}' is valid for the request path '/_content/SimplCommerce.Module.Vendors/admin/vendors/vendor-form.js'

All files are now located directly under the wwwroot folder.
Any help on this?
Luis

Late reply, but if anyone else faces the same issue, add builder.WebHost.UseStaticWebAssets(); on Program.cs file.


KAFKA-17396: Fix releasing session on final epoch

The topic partitions were not being released as the final epoch removes the share session for the client at the start.
The PR streamlines the release process by invoking an explicit releaseSession API which removes the session and releases acquired records. Also newContext and acknowledgeSession method previously used to evict the share session but streamlined methods to just do the needful without altering the share session eviction.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Can get to the log successfuly:
[2024-08-23 12:43:34,670] INFO [KafkaApi-1] Releasing share session close {LTFNPyDsQJyR__OmMWEW3A:tp1-0=PartitionData(partitionIndex=0, errorCode=0, errorMessage=null, currentLeader=LeaderIdAndEpoch(leaderId=0, leaderEpoch=0))} succeeded (kafka.server.KafkaApis)

@omkreddy @mumrah Build passed with unrelated tests failure, can we please merge the PR?


Convert PublishersTable to use divs and not tables

the publishers list is currently implemented as table.
The data and UI might not fully fit in a table and for flexibility we might want to move it over to use <div>.

@ShawkiS, @dylancom suggested this. what do you think? can you take a look?


MIT? pfft! boring.

this is a joke, please don't hurt me

I'm sticking to MIT for now; my project, my choice of license.


Hls m3u8

Hello, thank you very much for this wonderful downloader !
I have request please : many and many streams are in HLS m3u8 format, it will be great if MediaDowloader support these CLI software to donwload from even more web sites, thank you so much !
m3u8 : Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions :
https://github.com/globocom/m3u8
[.NET] m3u8 downloader Open source command line m3u8/HLS/dash downloader, supports common AES-128-CBC decryption, multi-threading, custom request headers, etc. Supports Simplified Chinese, Traditional Chinese and English. English Supported.
https://github.com/nilaoda/N_m3u8DL-CLI
C program to download VoD HLS (.m3u8) files
https://github.com/selsta/hlsdl
[.NET7] Cross-Platform stream downloader for DASH/HLS.
https://github.com/nilaoda/N_m3u8DL-RE
and
https://github.com/HeiSir2014/M3U8-Downloader
https://github.com/Spark-NF/hls-downloader

I will look into these, do not expect them to be added but I appreciate the ideas. :)


chore: bdd-gh-1586523692 to 0.0.1

chore: Promote bdd-gh-1586523692 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


Use Grayscale Images Instead of RGB

Priya,
Excellent work.
How could I feed grayscale images instead of using RGB? My cameras do not produce RBG images, so I shall not train with RGB images. I thought maybe you have a tip on how to change the neural network to use one channel images instead.

You can use concatenation function to convert your one channel images to 3 channel.
For example, if IG is your gray-scale image.
In Matlab, you can do I=cat(3,IG,IG,IG).


Adjust workflow permissions for signing and publishing

Description of the PR
I may have been overly-permissive in id-token grants, but it's an improvement and I wanted to minimize the risk of breaking things.
Fixes #2315
PR Checklist

[x] All commits have a Developer Certificate of Origin (DCO) -- they are generated using -s flag to git commit.
[ ] All new changes are covered by tests
[ ] If GraphQL schema is changed, make generate has been run
[ ] If GraphQL schema is changed, GraphQL client updates/additions have been made
[ ] If OpenAPI spec is changed, make generate has been run
[ ] If ent schema is changed, make generate has been run
[ ] If collectsub protobuf has been changed, make proto has been run
[ ] All CI checks are passing (tests and formatting)
[ ] All dependent PRs have already been merged

Looks like the failed tests are unrelated to this change.


No release delete json files

What is this and why are we doing it?
Delete the JSON files for data runs because they contained slack webhooks (sensitive info).
No Tickets

Link to the Jira ticket for this change: https://jiraent.cms.gov/browse/DBDAART-####

Briefly describe any new measures and modifications to existing measures.
Provide the URLs to Notebooks that were used in development testing.
What are the security implications from this change?
What version of Thresholds does this apply?
List (if any) base table view definitions that were modified:
List (if any) medata .pkl files that were modified:
How did I test this?
Should there be new or updated documentation for this change? (Be specific.)
PR Checklist

[ ] The JIRA ticket number and a short description is in the subject line
[ ] My code follows any applicable style guides
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

@V2I8Mathematica Commits confirmed

No release. Delete All JSON files.


CLI command to provision a MariaDB Database

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Tracked issue in https://msazure.visualstudio.com/Unified Platform KPIs/_workitems/edit/3624302
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@selvasingh Can you provide more information for your feature request?

We are still discussing the requirement for an "az mariadb db up" command given the usage of what we've seen for the existing "az mysql up" and "az postgres up" commands.

Closing for long-term planning.

Closing for long-term planning.


Adding schema link headers to serialized manifests

Description of the new feature/enhancement
The bot should add the JSON schema to the header for generated files.
Proposed technical implementation details (optional)
https://github.com/microsoft/winget-create/pull/63#issuecomment-860771281

@denelon - I believe it adds the schema header when it updates files?


Polymer README.md Step 7 documentation is pointing to the angular demo...

The README.md file at: https://github.com/google/lovefield/tree/master/demos/olympia_db/polymer needs to be corrected
from:
Step 7: Navigate to http://localhost:8000/demo-angular.html, and start making queries.
to:
Step 7: Navigate to http://localhost:8000/demo_polymer.html, and start making queries.

Fixed at https://github.com/google/lovefield/commit/ab5945abd6b252a3db591c6858d5cbf76d2cf986.


Remove use_2to3=False; it is the default

Slightly simplifies setup.py.

Thanks for cleaning up the old stuff I don't even see any more! :)


Stop container name collisions for the checkpoint container

If the dockerBuildCrac task fails when generating a checkpoint, the checkpoint container remains in docker
This results in manual cleanup being required before a re-run can be performed
To fix this, this PR does not give the container a name (so it gets allocated a random one by docker)
This PR also names the image based on the project root name and path, which will prevent images potentially overwriting each other if two tasks are run at the same time on two separate projects

All green (after a restart of the hanging java 17 action)


No Implementation of redirect() for Response

Hey There! :wave:
Was just exploring the use of worker-rs where i eventually figured out that there is no redirect() method implementation for the Response struct, which means that i cannot redirect to a URL (302,308,etc) for an response recieved. It also becomes inconsistent with the documentation found at https://developers.cloudflare.com/workers/runtime-apis/response#instance-methods where it specifies an instance method for redirect().
Proposal:
Implement a function in the Impl of Response struct with the apt headers, and struct fields which becomes available for the user to use
Would be happy to raise a PR for the same :smiley:

Definitely agree that redirect support be there.
Do you want to take lead on this? If so, the binding definition should live in the worker-sys crate and then a convenience method on Response in the worker crate.
Feel free to open a draft PR or link me to a branch on your fork and I can give feedback if you'd like.

Hey @nilslice ,
I found a "hacky" implementation for this, instead of writing the binding on worker-sys, a simple function in the Impl of the Response struct does the job, I wrote this with inspiration from express and how it handles redirects.
Would like your feedback on the same!
My Fork: https://github.com/DarthBenro008/workers-rs/commit/d64782cfba9acda8e8db8dd0055d107b82ddc143

Nice! I will take a look and get back to you on this thread. Thank you for sharing.

@DarthBenro008 I wouldn't call this "hacky" - this is good! You're basically doing everything that needs to be done. I suppose the reason to delegate to the Workers runtime via FFI for the redirect is to just stay consistent with the platform in case of minor variance over time.
My thoughts are that we should still add a binding and a wrapper method to call this "done", but I'm currently on vacation and have not looked at what the FFI for redirect would be.
Are you interested in making a PR for the FFI binding in worker-sys + wrapper method on Response in the worker crate? If not, I can get something in at some point next week most likely. Thanks!

@nilslice, I would be interested in working on the FFI binding, creating the wrapper method and raising the PR for the same!
I'm fairly new to Rust (been loving the language so far) and wasm hence I would have to figure some things out which might take some minor delay. Is there any developer documentation I can follow along to understand things better wrt this project? (Eg: what exactly worker-sys does and how FFI binding is being used).
Thanks for taking time out of your vacation for quick responses 😃, have a great one 🌴 !

Hey @nilslice,  quick update, I actually found the FFI binding and realized it was already implemented, so i had to write only the convenience method, I have tested the code and raised an PR for the same :smiley:


Differentiate between contract setup and rollover when monitoring transactions

Fix https://github.com/itchysats/itchysats/issues/1248.
Anyone using the monitor::Actor now has a bit more flexibility in defining what transactions they want to monitor. This means that we can distinguish between contract setup and rollover completions.
These changes lead to the actor no longer monitoring certain transactions unnecessarily, such as the lock transaction after a
successful rollover.

bors r+

Oops, I didn't mean to bors r+ this. I thought it was a Dependabot PR 🤦

Please review and I'll address the comments in a follow-up PR.


Generate docs on a thread

The main generation could not be moved to a thread, unfortunately, as it instantiates classes to get default values, interacts with ProjectSettings, etc.
Only uncompressing documentation and merging it is threaded.
Seems to improve editor load times by 0.5 seconds.

I backported this PR to 3.x and interestingly, it's slightly slower with the newer version:
❯ hyperfine -iw1 "bin/godot.x11.tools.64.llvm ~/Documents/Godot/escape-space/project.godot --quit" "bin/godot.x11.tools.64.llvm.vanilla ~/Documents/Godot/escape-space/project.godot --quit"
Benchmark #1: bin/godot.x11.tools.64.llvm ~/Documents/Godot/escape-space/project.godot --quit
  Time (mean ± σ):      6.990 s ±  0.330 s    [User: 4.041 s, System: 0.200 s]
  Range (min … max):    6.302 s …  7.232 s    10 runs

  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.

Benchmark #2: bin/godot.x11.tools.64.llvm.vanilla ~/Documents/Godot/escape-space/project.godot --quit
  Time (mean ± σ):      6.419 s ±  0.302 s    [User: 4.047 s, System: 0.194 s]
  Range (min … max):    5.832 s …  6.597 s    10 runs

I'll benchmark the master PR soon.

Commits should be squashed.

Tested after rebase against the current master branch, also seems to save 1.0s for me on a debug build:
$ hyperfine -iw1 "bin/godot.linuxbsd.tools.64.vanilla ~/tmp/godot/projects/FreeFall/project.godot --quit" "bin/godot.linuxbsd.tools.64.docthread ~/tmp/godot/projects/FreeFall/project.godot --quit"
Benchmark #1: bin/godot.linuxbsd.tools.64.vanilla ~/tmp/godot/projects/FreeFall/project.godot --quit
  Time (mean ± σ):      9.148 s ±  0.334 s    [User: 7.238 s, System: 0.327 s]
  Range (min … max):    8.545 s …  9.398 s    10 runs

  Warning: Ignoring non-zero exit code.
  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.

Benchmark #2: bin/godot.linuxbsd.tools.64.docthread ~/tmp/godot/projects/FreeFall/project.godot --quit
  Time (mean ± σ):      8.362 s ±  0.402 s    [User: 7.261 s, System: 0.341 s]
  Range (min … max):    7.845 s …  8.917 s    10 runs

  Warning: Ignoring non-zero exit code.

Summary
  'bin/godot.linuxbsd.tools.64.docthread ~/tmp/godot/projects/FreeFall/project.godot --quit' ran
    1.09 ± 0.07 times faster than 'bin/godot.linuxbsd.tools.64.vanilla ~/tmp/godot/projects/FreeFall/project.godot --quit'

Thanks!


Get scivision to work with python >=3.10

I noticed when adding a test for load_pretrained_model in scivision/io/reader.py that the test was failing on GH actions because we had it set up to use 3.X which was using 3.10 and model loading doesn't seem to work for that version. Have now changed GH actions to 3.9, but we may want scivision to work with 3.10.
test_load_pretrained_model tries to install the test model: https://github.com/quantumjot/scivision-test-plugin which results in the following error when in python 3.10:
ERROR: Could not find a version that satisfies the requirement tensorflow (from scivision-test-plugin) (from versions: none)
so may need to investigate whatever the issue with tensorflow is.
Possible extra TODO:

[ ] Make GH actions create the conda env specified in environment.yml and use that

right now setup.py implies that it will work with all versions >= 3.7

this might not be super important as it only applies when loading a model that uses tensorflow

this might not be super important as it only applies when loading a model that uses tensorflow

I agree - the official Docker images of TF are up to 3.8 now!

Closing as on closer inspection this is not a scivision issue, but a problem concerning clashing Python and Tensorflow versions


Syncing latest changes from devel for ceph-csi

PR containing the latest commits from devel branch

/approve
/lgtm


docs: make first heading look correct

Markdown does not interpret hashes before a text to render it as a heading if the text is just below html code. I have added a line break in the English and Chinese version to render the header correctly.

thank you!


Cloud Java APIs should work with a local Cloud SDK with GAE Standard.

With the following code in my Java Servlet:
   Storage storage = StorageOptions.getDefaultInstance().getService();

    String bucketName = "rdayalcloudtest"; // Change this to something unique
    Bucket bucket = storage.create(BucketInfo.of(bucketName));

    // Upload a blob to the newly created bucket
    BlobId blobId = BlobId.of(bucketName, "my_blob_name");
    Blob blob = bucket.create(
        "my_blob_name " + request.hashCode(), "a simple blob".getBytes(UTF_8), "text/plain");

I receive the following exception when attempting to test the code locally, using DevAppServer2:
Problem accessing /hello. Reason:
access denied ("java.io.FilePermission" "/Users/ludo/.config/gcloud/active_config" "read")

Caused by:
java.security.AccessControlException: access denied ("java.io.FilePermission" "/Users/ludo/.config/gcloud/active_config" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at com.google.appengine.tools.development.devappserver2.DevAppServer2Factory$CustomSecurityManager.checkPermission(DevAppServer2Factory.java:232)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.FileInputStream.(FileInputStream.java:127)
at com.google.common.io.Files$FileByteSource.openStream(Files.java:125)
at com.google.common.io.Files$FileByteSource.openStream(Files.java:115)
at com.google.common.io.ByteSource$AsCharSource.openStream(ByteSource.java:420)
at com.google.common.io.CharSource.openBufferedStream(CharSource.java:91)
at com.google.common.io.CharSource.readFirstLine(CharSource.java:168)
at com.google.common.io.Files.readFirstLine(Files.java:513)
at com.google.cloud.ServiceOptions.activeGoogleCloudConfig(ServiceOptions.java:354)
at com.google.cloud.ServiceOptions.googleCloudProjectId(ServiceOptions.java:372)
at com.google.cloud.ServiceOptions.getDefaultProject(ServiceOptions.java:348)
at com.google.cloud.ServiceOptions.(ServiceOptions.java:281)
at com.google.cloud.HttpServiceOptions.(HttpServiceOptions.java:179)
at com.google.cloud.storage.StorageOptions.(StorageOptions.java:69)
at com.google.cloud.storage.StorageOptions.(StorageOptions.java:27)
at com.google.cloud.storage.StorageOptions$Builder.build(StorageOptions.java:64)
at com.google.cloud.storage.StorageOptions.getDefaultInstance(StorageOptions.java:99)
at com.example.HelloAppEngine.doGet(HelloAppEngine.java:40)

Is this the right place to report this?  I think this is an issue with the Java SDK.

I'm having the same problem after updating our maven plugin to:
<plugin>
  <groupId>com.google.cloud.tools</groupId>
  <artifactId>appengine-maven-plugin</artifactId>
  <version>1.0.0</version>
</plugin>

I also filed a ticket in the Google Cloud Support Center.

I solved it by renaming the gcloud directory:
$ mv ~/.config/gcloud ~/.config/gcloud_backup
When I started my java service after this fix everything worked okay.

Les: GAE standard current sandbox rules (for Java7, lifted on Java8) does not allow a web application to read local file...
The Cloud Java library if running locally should find a way to get the metadata info it needs (project ID, project version etc) in another way than reading local file... (env var, syst prop, GAE API,...)

@GoogleCloudPlatform/cloud-tools-for-java FYI - indirectly affects you.
@ludoch Try adding:
   <dependency>
      <groupId>com.google.api-client</groupId>
      <artifactId>google-api-client-appengine</artifactId>
      <version>1.21.0</version>
    </dependency>

@garrettjonesgoogle @anthmgoogle We need to do this right for GAE Standard as we get gRPC working there.

Based on the code flow in https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java#L336 , if the app engine project id is found in appEngineProjectId(), then googleCloudProjectId() won't be called. Thus, something is going wrong with detecting that this is an app engine use case.

Maybe this logic has been testing in prod but not in the local GAE Java SDK?
Maybe, by making the project id optional in appengine-web.xml the local dev
server does not know anymore the project name to use?  This might be yet
another side effect of changing config in appengine-web.xml?
On Fri, Jan 13, 2017 at 2:53 PM, garrettjonesgoogle <
<EMAIL_ADDRESS>wrote:

Based on the code flow in https://github.com/GoogleCloudPlatform/google-
cloud-java/blob/master/google-cloud-core/src/main/java/com/
google/cloud/ServiceOptions.java#L336 , if the app engine project id is
found in appEngineProjectId(), then googleCloudProjectId() won't be
called. Thus, something is going wrong with detecting that this is an app
engine use case.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1500#issuecomment-272569986,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE4zaufwEgtXfgbP1FTSYwFPTgIAjWmks5rSABbgaJpZM4LbPIA
.

Customer is now escalating the issue with Google support.

Update: I was able to reproduce this issue with my own GAE app. Will investigate.

@lesv It looks like that the reflection method raises ClassNotFound exception here while running with GAE dev server. Do you know who should I talk to regading this issue?

@garrettjonesgoogle Is probably the right person.

I have run into an AccessControlException as well when trying to use google-cloud-java to access Cloud Storage.
As specified here, after executing gcloud auth application-default login the path to the /Users/example/.config/gcloud/application_default_credentials.json is returned. Running my App Engine application locally after executing the above command still produces an AccessControlException.
Additionally, manually calling .setCredentials(), such as:
Storage storage = StorageOptions.newBuilder()
            .setCredentials(ServiceAccountCredentials.fromStream(new FileInputStream("/Users/example/.config/gcloud/application_default_credentials.json")))
            .build()
            .getService();

also does not work, and produces the same AccessControlException.
So given that other users are having a similar issue, should I assume this is not an issue with my own code? Or am I doing something incorrectly here?

Continuing from my above comment, I have now also tried setting a GOOGLE_APPLICATION_CREDENTIALS to the path returned from gcloud auth application-default login, however the same AccessControlException is thrown.

What I could try to do is enable read permission so for ~/.config only in the devappserver.

Garrett told me last night that Shin had gotten further, so I didn't look at this again.
@Orbyt You should rarely need to use setCredentials() -- typically it's used for x-project access, a limited scope service account, or to use from a non-google datacenter. For most other cases defaultAuth should work.  In your case, passing the credentials created by gcloud is incorrect - you need to pass credentials obtained from https://console.cloud.google.com -- why don't you create a new issue, and mention me in it and I'll help you out.

@Orbyt @ludoch
appEngineProjectId() uses reflection to retrieve the project ID of GAE application, the access control exception is misleading since googleCloudProjectId() should not be called under GAE environment.
Adding the following dependency to my application solves this issue:
<!-- https://mvnrepository.com/artifact/com.google.appengine/appengine-java-sdk -->
<dependency>
    <groupId>com.google.appengine</groupId>
    <artifactId>appengine-java-sdk</artifactId>
    <version>1.9.50</version>
</dependency>

There is no such artifact appengine-java-sdk... What did you really add?

@ludoch This is what I added to my pom file:
https://mvnrepository.com/artifact/com.google.appengine/appengine-api-1.0-sdk/1.9.50

Ok, so yes, you add the GAE Standard APIs, that define the APIs that
gcloud-java is calling via introspection, so it make sense...
So you are not accessing ~/.config/gcloud with this dep?
On Fri, Mar 10, 2017 at 3:34 PM, Shin Fan<EMAIL_ADDRESS>wrote:

@ludoch https://github.com/ludoch This is what I added to my pom file:
https://mvnrepository.com/artifact/com.google.appengine/
appengine-api-1.0-sdk/1.9.50
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1500#issuecomment-285814388,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE4zcjfDzeyhk6gStlzVcGe_U3LE6I-ks5rkd4BgaJpZM4LbPIA
.

No, we should not need to access the gcloud config. According to the code flow, getAppEngineProjectId() should be able find the correct project ID through standard GAE API.

@shinfan That dependency is already added by default when using the Java GAE quickstart.
It does not solve this issue.

Customer confirmed that the issue has been solved on his end. Closing this issue now.

@shinfan how come we closed this? What's the actual fix?

@rdayal There is nothing to fix from our side. The issue was caused by a missing dependency and the customer has confirmed things now working. See https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1731

Thanks, the reason this had been filed on this side is that I had run into this issue independently, and filed an internal bug about it. I wasn't following the other thread. I'll mark the other bug as closed.


back to pinning dependent gems

only trying to fix cheffish now
Signed-off-by: Lamont Granquist<EMAIL_ADDRESS>

yep still busted on the two busted specs

I would recommend not requiring fog at all, and just require the sub-projects (i.e. fog-google).

well this is more about just figuring out what we need to fix chef-provisioning-fog for cheffish 5.x/13.x where the MergedConfig API changed.
master is currently red and broken for reasons unrelated to fog at all.
at the same time, that seems like a good idea on the face of it, but my knowledge of fog is probably 5 years out of date.
it looks like fog-google pulls in fog-core, presumably other plugins do as well -- and is fog just there for some kind of mega-pull-it-all-in-backcompat-reasons?

there's also sort of the problem where we don't know what plugins people are actually using

Yeah, fog exists for legacy reasons. It's also got some weird dependencies because it supports old rubies


Add input delays

The browser still feels fast. Please add mouse scrolling & keyboard delay of at least one second (so that I can rest in peace)

try £3 Bluetooth keyboard

or maybe USB Delayer for the time being


Question

Do I need a full blown MIM installation to implement only Password Sync between 2 AD domains? If not what do I need at a minimum?

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

ID: 743703aa-1f15-472a-d5f3-972cfd19f324
Version Independent ID: ad1e4184-0c88-f18b-1fa9-67fe3767d988
Content: Deploy the password change notification service
Content Source: MIMDocs/deploying-mim-password-change-notification-service-on-domain-controller.md
Product: microsoft-identity-manager
GitHub Login: @billmath
Microsoft Alias: billmath

Hi, you may install only Sync Service (without Portal)+ PCNS on DC.

#please-close


legion_python should not explode on KeyboardInterrupt

Pressing Ctrl-C in a standard Python interpreter simply reports the KeyboardInterrupt and returns to the REPL. Here is the output from staring Python and pressing Ctrl-C twice:
❯ python
Python 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 07:04:59) [GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
KeyboardInterrupt
>>>
KeyboardInterrupt
>>>

Or, pressing Ctrl-C in the midst of a blocking operation:
>>> for i in range(1000000000):
...     pass
...
^CTraceback (most recent call last):
  File "<stdin>", line 2, in <module>
KeyboardInterrupt
>>>

Similarly, interrupting a long running script using standard Python does not spam the console:
bldtest ❯ python foo.py
^CTraceback (most recent call last):
  File "/home/bryan/build_test/legate.core/foo.py", line 1, in <module>
    for i in range(10000000000):
KeyboardInterrupt

~/build_test/legate.core bv/driver_refactor* ⇡
bldtest ❯

By contrast, legion_python (either from the REPL or a long-running script) crashes and dumps a bunch of unpleasantness to the console:
Welcome to Legion Python interactive console
>>> legion_python: /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-src/runtime/realm/runtime_impl.cc:2748: static void Realm::RuntimeImpl::realm_backtrace(int): Assertion `(signal == 4) || (signal == 8) || (signal == 6) || (signal == 11) || (signal == 7) || (signal == 4)' failed.
Signal 6 received by node 0, process 2357179 (thread 7f1b39fde000) - obtaining backtrace
Signal 6 received by process 2357179 (thread 7f1b39fde000) at: stack trace: 16 frames
  [0] = /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7f1b3b8d3090]
  [1] = /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x7f1b3b8d300b]
  [2] = /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b) [0x7f1b3b8b2859]
  [3] = /lib/x86_64-linux-gnu/libc.so.6(+0x22729) [0x7f1b3b8b2729]
  [4] = /lib/x86_64-linux-gnu/libc.so.6(+0x33fd6) [0x7f1b3b8c3fd6]
  [5] = /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib/librealm.so.1(+0x4d5b20) [0x7f1b3c143b20]
  [6] = /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7f1b3b8d3090]
  [7] = /lib/x86_64-linux-gnu/libc.so.6(syscall+0x1d) [0x7f1b3b9a873d]
  [8] = /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib/librealm.so.1(Realm::Doorbell::wait_slow()+0xfb) [0x7f1b3c1e7b9b]
  [9] = /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib/librealm.so.1(Realm::UnfairCondVar::wait()+0xe9) [0x7f1b3c1e86c9]
  [10] = /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib/librealm.so.1(+0x4da291) [0x7f1b3c148291]
  [11] = /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib/librealm.so.1(Realm::Runtime::wait_for_shutdown()+0xf) [0x7f1b3c14936f]
  [12] = /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib/liblegion.so.1(Legion::Internal::Runtime::start(int, char**, bool, bool)+0x239) [0x7f1b3d7e7379]
  [13] = /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/bin/legion_python(main+0x9b) [0x5595c318e51b]
  [14] = /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1b3b8b4083]
  [15] = /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/bin/legion_python(+0xa589) [0x5595c318e589]
Traceback (most recent call last):
  File "/home/bryan/anaconda3/envs/bldtest/bin/legate", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/home/bryan/build_test/legate.core/bin/legate", line 23, in <module>
    sys.exit(main(sys.argv))
  File "/home/bryan/build_test/legate.core/legate/driver/main.py", line 48, in main
    return driver.run()
  File "/home/bryan/build_test/legate.core/legate/driver/driver.py", line 75, in run
    return run(self.cmd, env=self.env).returncode
  File "/home/bryan/anaconda3/envs/bldtest/lib/python3.9/subprocess.py", line 507, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/home/bryan/anaconda3/envs/bldtest/lib/python3.9/subprocess.py", line 1126, in communicate
    self.wait()
  File "/home/bryan/anaconda3/envs/bldtest/lib/python3.9/subprocess.py", line 1189, in wait
    return self._wait(timeout=timeout)
  File "/home/bryan/anaconda3/envs/bldtest/lib/python3.9/subprocess.py", line 1917, in _wait
    (pid, sts) = self._try_wait(0)
  File "/home/bryan/anaconda3/envs/bldtest/lib/python3.9/subprocess.py", line 1875, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt

~/build_test/legate.core bv/driver_refactor ⇡
bldtest ❯

it would be nice if legion_python could behave more similarly to the standard Python interpreter by default in these cases.

Raw configuration for the above:
--- Legion Python Configuration ---------------------------------------------------

Legate paths:
  legate_dir       : /home/bryan/build_test/legate.core
  legate_build_dir : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build
  bind_sh_path     : /home/bryan/build_test/legate.core/bind.sh
  legate_lib_path  : /home/bryan/build_test/legate.core/build/lib

Legion paths:
  legion_bin_path  : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/bin
  legion_lib_path  : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib
  realm_defines_h  : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/runtime/realm_defines.h
  legion_defines_h : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/runtime/legion_defines.h
  legion_spy_py    : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-src/tools/legion_spy.py
  legion_prof_py   : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-src/tools/legion_prof.py
  legion_python    : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/bin/legion_python
  legion_module    : /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-src/bindings/python/build/lib

Command:
  rlwrap /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/bin/legion_python --nocr -ll:py 1 -lg:local 0 -ll:cpu 4 -ll:util 2 -ll:csize 4000 -level openmp=5 -lg:eager_alloc_percentage 50

Customized Environment:
  GASNET_MPI_THREAD=MPI_THREAD_MULTIPLE
  LD_LIBRARY_PATH=/home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib:/home/bryan/build_test/legate.core/build/lib
  LEGATE_MAX_DIM=4
  LEGATE_MAX_FIELDS=256
  NCCL_LAUNCH_MODE=PARALLEL
  PYTHONDONTWRITEBYTECODE=1
  PYTHONPATH=/home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-src/bindings/python/build/lib:/home/bryan/build_test/legate.core/legate
  REALM_BACKTRACE=1

--------------------------------------------------------------------------------

Hrm, I guess the console spam is from the REALM_BACKTRACE=1 which is currently hard-coded in the Legate driver. But even without, legion_python still aborts, and that is what would be avoidable, ideally:
bldtest ❯ PYTHONPATH=/home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-src/bindings/python/build/lib:/home/bryan/build_test/legate.core/legate PYTHONDONTWRITEBYTECODE=1 NCCL_LAUNCH_MODE=PARALLEL LEGATE_MAX_FIELDS=256 LEGATE_MAX_DIM=4 LD_LIBRARY_PATH=/home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/lib:/home/bryan/build_test/legate.core/build/lib /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-build/bin/legion_python --nocr -ll:py 1 -lg:local 0 -ll:cpu 4 -ll:util 2 -ll:csize 4000 -level openmp=5 -lg:eager_alloc_percentage 50

Welcome to Legion Python interactive console
>>> ^Clegion_python: /home/bryan/build_test/legate.core/_skbuild/linux-x86_64-3.9/cmake-build/_deps/legion-src/runtime/realm/mutex.cc:320: uint32_t Realm::Doorbell::wait_slow(): Assertion `(*__errno_location ()) == 11' failed.
[1]    2361983 abort      PYTHONPATH= PYTHONDONTWRITEBYTECODE=1 NCCL_LAUNCH_MODE=PARALLEL =256 =4 =

Somewhat related (I can't remember the repro right now), but legion_python would often explode when ctrl-c was invoke within GDB as well, which was a problem when debugging. It might be related.

@lightsighter my last example was with running legion_python directly, without using the legate driver.

Sure, I was referring to the @rohany example above.

👍 perils of replying to issues from emails I will look into the link for ctrl-c forwarding as well, in any case

Ctrl-c should work as normal if you do:
gdb --args ./legion_python ...

However, I think we need the signal forwarding in the Legate driver script if we want to use ctrl-c in the case of:
./legate.py --gdb ...


Images not showing in offline mode

When I add an image to a slide, I am using:
![Logo](images/opensource_logo.png)
Which works when viewing online. But when I download and attempt to view it locally
python -m http.server
It displays the alt-text (in this case "Logo") instead of the image. It's trying to pull it from http://localhost:8000/assets/opensource_logo.png which in the offline.zip is relative to the pitchme.md file in the /md/assets/ folder and the file is there... All very strange

Hi @jerdog can you please point me at your presentation repo so I can try reproduce and investigate the issue you have reported. Thanks.

https://gitpitch.com/jerdog/gitpitch-wowza/dev?grs=gitlab

Ok, so I just took your sample presentation offline. Based on thePITCHME.md source I see just two images in use. When opened under a local HTTP server I see both of them, as shown here:

You can see both are shown Offline in the bottom-right corner of the slideshow window.
Given this, I do not appear to be able to reproduce the problem you have reported here. So a few further questions for you:

Which of the two images is not showing up in your offline presentation?
What operating system are you using locally to open your presentation?
What if any errors are showing up in your developer console for your presentation?

@jerdog  as a side note, the size of your second image is not a perfect fit for the slideshow aspect ratio so you might want to consider using the Image Sizing and Scaling feature to have that rendered more nicely on the slide.
For example, replace your original markdown:
+++
![OSD](images/opensource_definition.png)

---

With this:
+++?image=images/opensource_definition.png&size=auto 90%

---

Not required of course, but it may render more nicely for you when you are using a tall-and-narrow image to fill a wide-and-short slide as in this case.

Neither are showing in offline
Ubuntu Gnome 17.04
No real valuable errors (Firefox and Chrome both say the file is not found for the images)

I am using the python 3 http.server - what about you?
And yeah - was planning on making that image a slide image

My testing has been on OSX. I have tried both Python 2.7.x and Python 3 HTTP servers using:
python -m SimpleHttpServer

and
python3 -m http.server

respectively.
In both cases, both of your images were rendered without any problems.

@jerdog if you haven't already you might want to verify that the image assets are available on disk as the expected location and loadable by your HTTP server. The expected URLs are as follows:
http://localhost:8000/assets/md/assets/opensource_definition.png

http://localhost:8000/assets/md/assets/opensource_logo.png

Both of these URLs should open and display the respective images in your browser. And if they don't, we have new clues to investigate.

Yeah - they open with direct links - but they don't open in offline gitpitch for me.
When you look at the code output, it is showing the following locations:
http://localhost:8000/assets/opensource_logo.png
http://localhost:8000/images/opensource_definition.png

@jerdog can you put the PITCHME.zip bundle that you generated taking your presentation offline somewhere public so I can download exactly what you are looking at.
Also, can you please try download the bundle again and verify that the latest bundle is also exhibiting the problems you described. I asked for this having noted above that the offline bundle I have tested here has worked perfectly.

So I feel stupid... Just removed my local and recreated it from the offline and now it works. No idea what happened/changed/etc. Thanks for your patience.
My guess is it had something to do with multiple changes made to my presentation/code between when I downloaded the original offline copy and when I was just attempting to copy in my changed PITCHME.md file

No problem @jerdog just glad to hear you are back up and running with your GitPitch presentation. If you have any further questions don't be afraid to get in touch.

Hello i've encountered the same problem and find out why.
When you change the docker port, for example -p 80:9000 (or in the case of jerdog :8000)
The slide appear but the app continue to include the default port :9000 in the images urls so they don't appear on the slide.
restarting the docker with the default port 9000 fix the problem.

@dbuteau this issue thread is for an old offline feature that is no longer supported. I know you are using GitPitch Desktop. To set a custom port for the Desktop you need to make two changes on your launch command:

Update the -p port mapping and
Add a matching PORT environment variable

For example:
docker run -it -v {WORKINGDIR}:/repo -p 80:80 -e PORT=80 gitpitch/desktop:pro

See the Desktop FAQ for details. The documented steps should solve your problem. Let me know how it goes. Cheers, David.


Update code for jetson-stats 4.2.3

Update code to match latest changes to jetson-stats lib
Fixed services and parsing utilities
Added support for mulitiple gpus and fans
Tried to keep breaking changes to minimum but some were inevitable due to breaking changes in jetson-stats
Updated params documentation in the utils functions

Apologize for this late reply,
I'm merging your PR


needs a "funny" section

hear me out alright
what if we could upload jokes to onelinerhub
dont lie this is a good idea

ha ha :) any quick one-liner joke examples? :)

"Nice motherboard" - a real one liner

Sorry :) I'm a bit stupid, haven't got it

a pickup line for nerds

ah, ha ha :) let me discuss it internally

Closing this as we couldn't agree on the format of the section. Might return to it on later stages, once we have covered at least most popular techs. Feel free to join us.


Directory separator missing when loading assets

Hi,
there is a directory separator / missing between public/<next-directory>:
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/style.template.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_variables.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicconfig/css/_override.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_core/_normalize.scss'

Error output
12:06:02 PM: Build ready to start
12:06:04 PM: build-image version: 2dbd444fcdce00cf06325060a8238d5ae3e86774
12:06:04 PM: build-image tag: v3.3.7
12:06:04 PM: buildbot version: 134ec431c6a3ff76e87cc4dc34007fe13842272f
12:06:04 PM: Fetching cached dependencies
12:06:04 PM: Starting to download cache of 266.6MB
12:06:05 PM: Finished downloading cache in 1.269744491s
12:06:05 PM: Starting to extract cache
12:06:14 PM: Finished extracting cache in 8.73188109s
12:06:14 PM: Finished fetching cache in 10.079092352s
12:06:14 PM: Starting to prepare the repo for build
12:06:14 PM: Preparing Git Reference refs/heads/master
12:06:16 PM: Starting build script
12:06:16 PM: Installing dependencies
12:06:17 PM: Started restoring cached node version
12:06:22 PM: Finished restoring cached node version
12:06:23 PM: v13.13.0 is already installed.
12:06:23 PM: Now using node v13.13.0 (npm v6.14.4)
12:06:24 PM: Attempting ruby version 2.6.2, read from environment
12:06:25 PM: Using ruby version 2.6.2
12:06:25 PM: Using PHP version 5.6
12:06:25 PM: Installing Hugo 0.69.0
12:06:25 PM: Hugo Static Site Generator v0.69.0-4205844B/extended linux/amd64 BuildDate: 2020-04-10T09:16:58Z
12:06:25 PM: Started restoring cached go cache
12:06:25 PM: Finished restoring cached go cache
12:06:25 PM: unset GOOS;
12:06:25 PM: unset GOARCH;
12:06:25 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
12:06:25 PM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
12:06:25 PM: go version >&2;
12:06:25 PM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
12:06:25 PM: go version go1.12 linux/amd64
12:06:25 PM: Installing missing commands
12:06:25 PM: Verify run directory
12:06:28 PM: Resolved Netlify Build version tag "latest" to "0.3.6"
12:06:28 PM: Netlify Build not installed. Installing Netlify Build version 0.3.6
12:06:50 PM: /opt/buildhome/.nvm/versions/node/v12.16.1/bin/netlify-build -><EMAIL_ADDRESS>12:06:50 PM: +<EMAIL_ADDRESS>12:06:50 PM: added 583 packages from 324 contributors in 21.881s
12:06:51 PM: Starting Netlify Build...
12:06:53 PM:
12:06:53 PM: ┌─────────────────────────────┐
12:06:53 PM: │        Netlify Build        │
12:06:53 PM: └─────────────────────────────┘
12:06:53 PM:
12:06:53 PM: ❯ Version
12:06:53 PM:   @netlify/build 0.3.6
12:06:53 PM:
12:06:53 PM: ❯ Flags
12:06:53 PM:   mode: buildbot
12:06:53 PM:
12:06:53 PM: ❯ Current directory
12:06:53 PM:   /opt/build/repo
12:06:53 PM:
12:06:53 PM: ❯ Config file
12:06:53 PM:   /opt/build/repo/netlify.toml
12:06:53 PM:
12:06:53 PM: ❯ Context
12:06:53 PM:   production
12:06:53 PM:
12:06:53 PM: ❯ Installing plugins
12:06:53 PM:    - netlify-plugin-checklinks
12:06:53 PM:    - netlify-plugin-hashfiles
12:06:53 PM:    - netlify-plugin-no-more-404
12:07:15 PM:
12:07:15 PM: ❯ Loading plugins
12:07:18 PM:    -<EMAIL_ADDRESS>12:07:18 PM:    -<EMAIL_ADDRESS>12:07:18 PM:    -<EMAIL_ADDRESS>12:07:18 PM:
12:07:18 PM: ┌──────────────────────────────────────────────────────────────────┐
12:07:18 PM: │ 1. build.lifecycle.onBuild command from netlify.toml config file │
12:07:18 PM: └──────────────────────────────────────────────────────────────────┘
12:07:18 PM:
12:07:18 PM: $ hugo --gc --minify
12:07:19 PM: Building sites …
12:07:19 PM:                    | EN
12:07:19 PM: -------------------+------
12:07:19 PM:   Pages            |  14
12:07:19 PM:   Paginator pages  |   0
12:07:19 PM:   Non-page files   |   0
12:07:19 PM:   Static files     | 113
12:07:19 PM:   Processed images |   0
12:07:19 PM:   Aliases          |   3
12:07:19 PM:   Sitemaps         |   1
12:07:19 PM:   Cleaned          |   0
12:07:19 PM: Total in 271 ms
12:07:19 PM:
12:07:19 PM: (build.lifecycle.onBuild completed in 322ms)
12:07:19 PM:
12:07:19 PM: ┌───────────────────────────────────────────────────────┐
12:07:19 PM: │ 2. onPostBuild command from netlify-plugin-checklinks │
12:07:19 PM: └───────────────────────────────────────────────────────┘
12:07:19 PM:
12:07:21 PM: ..................................................................................................
12:07:21 PM:   98 tests
12:07:21 PM:   98 passed
12:07:21 PM:
12:07:21 PM: (netlify-plugin-checklinks onPostBuild completed in 1.9s)
12:07:21 PM:
12:07:21 PM: ┌──────────────────────────────────────────────────────┐
12:07:21 PM: │ 3. onPostBuild command from netlify-plugin-hashfiles │
12:07:21 PM: └──────────────────────────────────────────────────────┘
12:07:21 PM:
12:07:23 PM:  ✔ 0.002 secs: logEvents
12:07:23 PM:  ✔ 0.287 secs: loadAssets
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/style.template.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_variables.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicconfig/css/_override.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_core/_normalize.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_core/_base.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_dynamic-to-top.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_core/_layout.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_page/_index.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_page/_single.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_single/_toc.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_single/_code.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_single/_instagram.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_single/_admonition.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_single/_echarts.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_single/_bilibili.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_single/_footer.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_single/_comment.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_page/_special.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_page/_archive.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_archive/_terms.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_archive/_tags.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_page/_home.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_home/_summary.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_page/_404.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_header.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_footer.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_partial/_pagination.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'publicthemes/LoveIt/assets/css/_core/_media.scss'
12:07:23 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'src/js/theme.js'
12:07:23 PM:  ✔ 1.515 secs: populate
12:07:23 PM:  ✔ 0.192 secs: moveAssetsInOrder
12:07:23 PM:  ✔ 0.195 secs: moveAssetsInOrder
12:07:23 PM:
12:07:23 PM: ┌──────────────────────────────────────────────────┐
12:07:23 PM: │ Plugin "netlify-plugin-hashfiles" internal error │
12:07:23 PM: └──────────────────────────────────────────────────┘
12:07:23 PM:
12:07:23 PM:   Error message
12:07:23 PM:   UnhandledRejection: a promise was rejected but not handled: Error: ENOENT: no such file or directory, unlink '/opt/build/repo/public/lib/webfonts/fa-brands-400.eot'
12:07:23 PM:   Error: ENOENT: no such file or directory, unlink '/opt/build/repo/public/lib/webfonts/fa-brands-400.eot'
12:07:23 PM:
12:07:23 PM:   Plugin details
12:07:23 PM:   ID:             netlify-plugin-hashfiles
12:07:23 PM:   Version:        4.0.1
12:07:23 PM:   Repository:     git://github.com/munter/netlify-plugin-hashfiles.git
12:07:23 PM:   npm link:       https://www.npmjs.com/package/netlify-plugin-hashfiles
12:07:23 PM:   Report issues:  https://github.com/munter/netlify-plugin-hashfiles/issues
12:07:23 PM:
12:07:23 PM:   Error location
12:07:23 PM:   In "onPostBuild" event in npm package "netlify-plugin-hashfiles"
12:07:23 PM:
12:07:23 PM:   Error properties
12:07:23 PM:   {
12:07:23 PM:     errno: -2,
12:07:23 PM:     code: 'ENOENT',
12:07:23 PM:     syscall: 'unlink',
12:07:23 PM:     path: '/opt/build/repo/public/lib/webfonts/fa-brands-400.eot'
12:07:23 PM:   }
12:07:23 PM:
12:07:24 PM: Caching artifacts
12:07:24 PM: Started saving node modules
12:07:24 PM: Finished saving node modules
12:07:24 PM: Started saving pip cache
12:07:24 PM: Finished saving pip cache
12:07:24 PM: Started saving emacs cask dependencies
12:07:24 PM: Finished saving emacs cask dependencies
12:07:24 PM: Started saving maven dependencies
12:07:24 PM: Finished saving maven dependencies
12:07:24 PM: Started saving boot dependencies
12:07:24 PM: Finished saving boot dependencies
12:07:24 PM: Started saving go dependencies
12:07:24 PM: Finished saving go dependencies
12:07:24 PM: failed during stage 'building site': Build script returned non-zero exit code: 1
12:07:24 PM: Error running command: Build script returned non-zero exit code: 1
12:07:24 PM: Failing build: Failed to build site
12:07:24 PM: Shutting down logging, 1 messages pending

Thanks for reporting this.
I'll need to understand your setup a bit more to understand how to recreate this. Could you show me your build > publish config from your netlify config file and an ls -1 from that same publish directory? I just need to make sure I'm recreating this setup correctly.
I'm assuming I'm missing a trailing slash somewhere

My netlify.toml looks like this:
[context.production.environment]
HUGO_VERSION = "0.69.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "false"

NODE_VERSION = "13"

[build]
publish = "public"
command = "hugo --gc --minify"

[[headers]]
  for = "/*"
  [headers.values]
    X-Frame-Options = "DENY"
    X-XSS-Protection = "1; mode=block"

[[plugins]]
package = "netlify-plugin-debug-cache"

[[plugins]]
package = "netlify-plugin-checklinks"

[[plugins]]
package = "netlify-plugin-hashfiles"

#[[plugins]]
#package = "netlify-plugin-subfont"

[[plugins]]
package = "netlify-plugin-no-more-404"

  [plugins.inputs]
  cacheKey = "codedge-blog"

So the publish directory is  public.
The ls -1 from public from my local machine looks like this:
22:44:40 ➜ ls -1                                                                                (master|✚2…)
404.html
about
android-chrome-192x192.png
android-chrome-512x512.png
apple-touch-icon.png
categories
css
favicon-16x16.png
favicon-32x32.png
favicon.ico
index.html
index.xml
js
legal-notice
lib
logo.png
mstile-150x150.png
page
posts
robots.txt
safari-pinned-tab.svg
sitemap.xml
svg
tags
uses

Thank you. It's about time I figure out a proper test setup to recreate scenarios like these. This will help me


watch fails when file is deleted/renamed

Greetings,
I'm playing with fusebox and i'm really loving it! So i'm trying to learn a bit more about it by creating a fuse.js file from scratch
I'm trying to make a simple task to watch for files in the assets folder and copy them
task("assets", async context => {
	watch('./assets/**/**.**', { base: './src' })
	.dest('./dist')
	.exec();
});

This works and i'm able to use these files in my code, but whenever i delete or rename a file i receive this error Error: ENOENT: no such file or directory, stat [...] and the file is not deleted (i can still access it from its url). Is there another, more correct, way to watch for changes in static files?

Hi!
You forgot to add return.

Hi,
I changed the task like this:
task("assets", async context => {
	return watch('./assets/**/**.**', { base: './src' })
	.dest('./dist')
	.exec();
});

But i still get the same error. Mind that when adding files it works

It’s probably a mistake or there is no {} which implies on a return statement. Could you paste your full config ?

Your last comment made me realize i've put {} on the clean task and so it didn't imply on a return statement anymore. Now it works, thanks


Trust: dialogs should listen to changes

Here both windows have a folder opened from Desktop and when I trust Desktop in the one window I think the other window dialog should close.
Even worse, if I select to not trust in the second window, the window becomes untrusted even though the parent folder is trusted.

The current behaviour for the dialogs is to avoid showing the dialog until the window is focused, so yes this can be improved but is a less common scenario outside of testing


is it possible to open vim in st via i3-msg and let it stay open?

i want to run a bash script which opens a file on another i3 workspace in vim in st.
it looks somehow like that:
i3-msg "workspace 5"
i3-msg "exec st vim /some/file"

the problem is, when i run st like this
st

it opens like i would expect it.
when i run st like this
st -e "vim /some/file"

st closes instantly after launching.
How can i achieve that st stays open with vim already open?
btw really awesome work you did with larbs!!!!

st -e "vim /some/file" will open command "vim /some/file" with no arguments.
results:

fish - Unknown command 'vim /some/file'
zsh - zsh: no such file or directory: vim /some/file
sh - sh: vim /some/file: No such file or directory

st -e vim /some/file or st -e "vim" "/some/file" should do what you want

thank you. solved my problem


hkdf

Author:
I have a question, I used /ext/tinycrypt/* folder code in your project, How could I implement hkdf procedure used your algorithm source code, Please tell me what should I do, Thank you very mush

tinycrypt already provides an hmac construction and API. Sample source for implementing an HKDF from those is given in the RFC: https://tools.ietf.org/html/rfc6234#section-8.4

Thank you very mush, I have Done


Translations update from Hosted Weblate

Translations update from Hosted Weblate for Morse/Morse.
Current translation status:

Thanks again for your amazing support, @comradekingu! 😘
Now I have all projects except Pimple Popper and Metadata Remover on Hosted Weblate. 🥳

@CrazyMarvin Will try to rework the fastlane entry.
The nb-NO one is mistakenly "no-NO".
One of the changelogs is just an empty string.

That's really helpful. Thanks! 👍


CharacterSet SQLSRV_ENC_CHAR ignored in linux

Hi all,
I don't know wich is the problem source but when I run this code
`$conn = sqlsrv_connect(HOST, [
"UID" => USER,
"PWD" => PASW,
"Database" => DATABASE,
"CharacterSet" => SQLSRV_ENC_CHAR
]);
if($conn){
$query = "SELECT TOP 1 nombre FROM cliente WHERE codigo_cliente = ?";
$stmt = sqlsrv_query($conn, $query, [
'TVE'
]);
while($row = sqlsrv_fetch_array($stmt, SQLSRV_FETCH_ASSOC)){
echo $row['nombre'];
echo PHP_EOL;
var_dump(mb_detect_encoding($row['nombre'], 'UTF-8', true));
echo PHP_EOL;
}
sqlsrv_free_stmt($stmt);
sqlsrv_close($conn);
}
else{
echo "Connection could not be established.";
die(print_r(sqlsrv_errors(), true));
}`
I get different answer in windows and linux.
My app and db store data in iso 8859-1 (I know bad choice) and I get in windows properly answer

Corporacion Radio Television Española, S.A.
C:\tests\sqlsrv.php:32:boolean false

But in linux get

CorporacionÂ RadioÂ TelevisionÂ EspaÃ±ola,Â S.A.
string(5) "UTF-8"

Why? If I check content type I get on both iso 8859-1 and php on both is configured to serve iso 8859-1.
Regards

Hi @meet-bhagdev any solution about this? regards

@sirio3mil We are looking into this! Stay tuned.

@meet-bhagdev if you put any invalid value in "CharacterSet" like SQLSRV_ENC_BINARY,
unlike windows where error reports in linux still working

@sirio3mil Any particular reason why you have to use "CharacterSet" => SQLSRV_ENC_CHAR? We are looking at this issue and seems like that might be the problem.

Hi @meet-bhagdev cuz our project initially wasn't in UTF-8 so this is a default value in Windows driver an work fine in non utf8 projects. Now we are in UTF-8 and do not use it but UTF-8 differ between windows and linux version, same query produce in linux unexpected characters at the end.

Understood. So for "CharacterSet" you are using UTF-8. Is that right?

Now yes @meet-bhagdev, but as I told you, in linux, and some queries, it fail.
 AND ?)
AND (xxx.stat <> ?)
AND (xxx.another = ?)
AND (xxx.flag = 0)
AND (xxx.other = 0)
Params
•	723363,723364,723365,723366,723367,723368,723369,723370,723371,723730,723731,723732,723733,723734,723735,723736,723737,723738,787301,787329,795424,796145,796146,796169,796171,798319,798320,798321,801068,801069,801072,801345,801375,801376,801386,801392,801581,801582,801583,801584,801585,801586,801587,801589,801594,801595,801597,801599,801600,801604,801606,801607,801608,801609,801610,801611,801612,801613,801614,801832,801833,803826,803827,803828,803829,803830,803831
•	17,21,6,15,3,30,5,16,22,9
•	2016-10-10 00:00
•	2016-10-18 23:55
•	7
•	0
Error
MSSQL Server
State: 22018
Code: 245
Message: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value '803831㭆
..㭇
..㭈
..㭉
..㭊
..㭋
..㭌
..㭍
..㭎
..㰨
..㰩
..䏲
..䏳
..䏴
..䏵
..䏶
..䏷

I get this issue in two different queries, with long parameters as above an in sp with xml parameters that I send a null value.
I'm using last driver version for centos, using Remi Repo and PHP 7.1 RC6.
Regards.

Both errors are present when I define CharacterSet as UTF-8, but if I remove CharacterSet from options everything is ok. In windows we still need set CharacterSet to work with UTF-8 but in linux look like if you put this configuration something go wrong.

With Characted set UTF-8, the trailing Chinese character bug should be fixed 👍
You can upgrade using PECL: https://github.com/Microsoft/msphpsql/tree/PHP-7.0-Linux#install
If you need the binaries, we will be releasing them soon on GitHub


Can ctrl-y behavior be optional?

New Issue Checklist (tick off like this: [x])

[X] I checked existing issues (open and closed) for possible duplicates
[ ] I can reproduce the problem on the latest stable version (not nightly!)

What is your browser?

[ ] Firefox
[X] Chrome

What is your operating system?

[X] Linux (Chrome OS)
[ ] Mac
[ ] Windows

Description (please include examples/screenshots where applicable)
This extension captures Ctrl-Y keypresses even when I'm in a separate window belonging to Secure Shell App (https://chrome.google.com/webstore/detail/secure-shell-app/pnhechapfaindjhompbnflcldabbghjo?hl=en).
I really like the "open next to current" behavior for Ctrl-T but I don't want this extension to also capture Ctrl-Y, at least, not systemwide in windows not belonging to the browser.

Oh, I see the ctrl-y binding can be removed manually from Chrome settings -> extensions -> keyboard shortcuts:

The readme says that users have to configure keybindings manually but I don't remember doing so.


Deployment Location properties format

The format of the example is shown being wrapped in "properties":{ ... }.
However, it does not need this wrapper.

Documentation has been updated in #41