Panic and orphaned .hugo_build.lock with "hugo new"

hugo v0.89.0-DEV-096F5E19+extended linux/amd64 BuildDate=2021-10-18T09:08:01-0700
Site configuration:
[languages.en]
weight = 1
contentDir = 'content/en'
[languages.de]
weight = 2
contentDir = 'content/de'

Then I tried to create a new page:
hugo new content/en/post/foo.md

panic: runtime error: index out of range [-1]
goroutine 1 [running]:
github.com/gohugoio/hugo/hugolib/filesystems.(*BaseFs).AbsProjectContentDir(0x7ffffbf0a00b, {0x7ffffbf0a00b, 0x11})
        /home/jmooring/code/hugo/hugolib/filesystems/basefs.go:158 +0x165
github.com/gohugoio/hugo/hugolib.ContentFactory.SectionFromFilename({0xc00062ef20, 0xc000966200, 0xc000966240}, {0x7ffffbf0a00b, 0x25422c0})
        /home/jmooring/code/hugo/hugolib/content_factory.go:98 +0x65
github.com/gohugoio/hugo/create.NewContent(0xc00062ef20, {0x0, 0x0}, {0x7ffffbf0a00b, 0x684985})
        /home/jmooring/code/hugo/create/content.go:65 +0x439
github.com/gohugoio/hugo/commands.(*newCmd).newContent(0xc00053d050, 0xc0007da000, {0xc000405b50, 0x1, 0x0})
        /home/jmooring/code/hugo/commands/new.go:83 +0x150
github.com/spf13/cobra.(*Command).execute(0xc0007da000, {0xc000405b20, 0x1, 0x1})
        /home/jmooring/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc0003e4f00)
        /home/jmooring/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:974 +0x3bc
github.com/gohugoio/hugo/commands.Execute({0xc00003c0a0, 0x2, 0x2})
        /home/jmooring/code/hugo/commands/hugo.go:92 +0xb4
main.main()
        /home/jmooring/code/hugo/main.go:23 +0x58

This also produced an orphaned ".hugo_build.lock" file in the root of the project.

This also produced an orphaned ".hugo_build.lock" file in the root of the project.

There's no such thing as an orphaned ".hugo_build.lock".

Starting each test with an empty 'content/` directory...
This fails:
[languages.en]
  weight = 1
  contentDir = 'content/en'
[languages.de]
  weight = 2
  contentDir = 'content/de'

[[module.mounts]]
  source = 'content/en'
  target = 'content'
  lang = 'en'
[[module.mounts]]
  source = 'content/de'
  target = 'content'
  lang = 'de'

This works:
[languages.en]
  weight = 1
  # contentDir = 'content/en'
[languages.de]
  weight = 2
  # contentDir = 'content/de'

[[module.mounts]]
  source = 'content/en'
  target = 'content'
  lang = 'en'
[[module.mounts]]
  source = 'content/de'
  target = 'content'
  lang = 'de'

There's no such thing as an orphaned ".hugo_build.lock".

This may generate some noise in the forum...

"Why is this file in my directory?"
"Is it OK to delete it?"
"It says it is a build file, but I haven't built my site."
"Should I check this into source control, or should I add it to my .gitignore?"

@jmooring I can reproduce the above, but only if the source contentDIrectories do not exist, which sounds like a error situation to me ... Also, I get that same error situation in both of the above.


Spanish language and M16A1, HK417 and Beowulf .50 Cal textures revamped

add the spanish language to the mod please

Looks good to me

@SticksDeveloper Again please for the love of good provide before after images


feat(commnity): add pulumi-descope to registry

Description

Adding a new package?
If this pull request adds a new package:

[x] The package's schema URL in this PR is correct.
[x] The package metadata file, if present, contains:

[x] a supported category (one of Cloud, Infrastructure, Network, Database, Monitoring, or Utility).
[x] a valid plugin download URL. See Publish Your Package.
[x] a description that explains what the package does.
[x] a valid logo URL that points to a PNG whose dimensions conform to the others in this repo (e.g., 100x100).

[x] The package repo contains an Overview doc (/docs/_index.md) that includes:

[x] a brief explanation of what the package is and what it does.
[x] at least one representative example in all supported languages.
[x] a front-matter property for the layout set to package.

[x] The package repo contains an Installation and Configuration doc (/docs/installation-configuration.md) that includes:

[x] links to SDKs in all supported languages.
[x] a copyable command for installing the resource plugin if necessary.
[x] an example of configuring the provider with pulumi config set.
[x] an example of configuring the provider with environment variables.

[x] The repository has:

[x] a version tag prefixed with v that corresponds with a valid GitHub release and published package SDKs

[ ] A CODEOWNER has reviewed the PR.
[ ] A member of the @pulumi/docs team has reviewed all documentation.

already had Go, but added dotnet and yaml - https://github.com/descope/pulumi-descope/pull/46
would that work?

@omercnet PR with the additional examples approved. After merging, do indeed create a new release. Our registry publishing process only picks up tagged content.
Please also rebase this PR. Since you opened this PR, another provider was already accepted leading to a merge conflict on this same file.

great, will wait for https://github.com/pulumi/pulumi-package-publisher/pull/42 to merge so I can also publish dotnet - will ping you when ready
thanks!

hi @ringods ready for review!


This document should point out that the subscription in which the disk is to be created should be set

This document should point out that the subscription in which the disk is to be created should be set

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

ID: 780935e4-9fdd-d41a-c4ae-69e1cf118653
Version Independent ID: 7d156aed-66b7-e010-0647-6064aa54f58b
Content: Windows in-place upgrade - Azure Virtual Machines
Content Source: articles/virtual-machines/windows-in-place-upgrade.md
Service: virtual-machines
GitHub Login: @cynthn
Microsoft Alias: cynthn

@robertevesclq
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@cynthn
Can you please check and add your comments on this doc update request as applicable.

Thanks for your contribution to our documentation
We sincerely apologize for the delayed response. Unfortunately, we have been unable to review this issue in a timely manner. However, we are making overall enhancements to our content. We are closing this issue for now as there has been no activity for a while. If you feel that the problem persists, please respond to this issue with additional information.
?
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Is JSON dependency necessary?

For roundabout instructions the json dependency was introduced. I would like to avoid it to make graphhopper easier portable but also more lightweight. JSON belongs to the web module. In the tests we can still use it to verify that real json is produced (I remember this was introduced due to Double.NaN vs. null):
<dependency>
      <groupId>org.json</groupId>
      <artifactId>json</artifactId>
      <version>20140107</version>
      <scope>test</scope>
</dependency>

The only necessary change is replacing JSONObject.NULL in RoundaboutInstruction via avoiding the write? E.g.
if (!Double.isNaN(radian))
    tmpMap.put("turn_angle", Helper.round(radian, 2));

Also the javadocs for RoundaboutInstruction should be cleaned up (or written ;))

assertEquals("null", json.get("turn_angle").toString());

Indeed, should we prefer a none existing turn_angle?

Yes, I introduced this dependeny soley for cases of undefined turn_angle, but agree that it is perfectly fine to just avoid the write.

Ok, I'll fix shortly


Repo cleanup

Delete BrandedToken.sol.
Delete Internal.sol.
Delete openst-protocol directory. Move the followings to contracts/ directory: mock version of EIP20Token and EIP20Interface.

Was thinking to pick up this backlog issue.
May I know reason for removing BrandedToken.sol and Internal.sol out?
cc: @benjaminbollen @pgev @achirala

We delete the following contracts from the current repo. However, the contracts would be copied into the new repo (once created).
cc: @abhayks1 @jasonklein

@pgev Thank you for the update!

@pgev do we need to keep Workers.sol ?
Will they also be moved to new repo?


[fix-13489] Complement task with wrong date format input causes an infinite loop

Purpose of the pull request
Fix #13489
Brief change log
fix regex check in frontend and add date format check in backend
Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report

Merging #13527 (eb5db47) into dev (57db06e) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev   #13527      +/-   ##
============================================
- Coverage     39.60%   39.58%   -0.02%
- Complexity     4359     4361       +2
============================================
  Files          1097     1097
  Lines         41286    41266      -20
  Branches       4724     4707      -17
============================================
- Hits          16350    16335      -15
- Misses        23113    23114       +1
+ Partials       1823     1817       -6

Impacted Files
Coverage Δ

...cheduler/api/service/impl/ExecutorServiceImpl.java
46.80% <0.00%> (-0.78%)
:arrow_down:

...r/plugin/registry/zookeeper/ZookeeperRegistry.java
43.54% <0.00%> (-6.46%)
:arrow_down:

...hinscheduler/plugin/alert/script/ScriptSender.java
70.58% <0.00%> (-1.64%)
:arrow_down:

...cheduler/plugin/alert/dingtalk/DingTalkSender.java
34.13% <0.00%> (-0.78%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...inscheduler/plugin/registry/etcd/EtcdRegistry.java
50.69% <0.00%> (-0.35%)
:arrow_down:

.../dolphinscheduler/plugin/task/datax/DataxTask.java
36.62% <0.00%> (-0.26%)
:arrow_down:

.../dolphinscheduler/plugin/task/spark/SparkTask.java
72.56% <0.00%> (-0.25%)
:arrow_down:

...eduler/api/dto/workflow/WorkflowCreateRequest.java
100.00% <0.00%> (ø)

...eduler/api/service/impl/DataSourceServiceImpl.java
50.45% <0.00%> (ø)

... and 16 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dddyszy @SbloodyS can we add a button here? Whenever we need to add a time, click the button, an input box will appear, and fill in the time in the newly added input box

can we add a button here? Whenever we need to add a time, click the button, an input box will appear, and fill in the time in the newly added input box

I don't quite understand. Can you elaborate on it?


Installing on pfsense 2.6 failed - fixed

It failed installing openjdk8, I had to manually pkg add brotli and then it worked fine.

which install script you run?

which install script you run?

fetch -o - https://git.io/j7Jy | sh -s
As per readme

you may want to the newer scripts in the pull request,

Running pkg install brotli fixed for me as well on pfSense 2.6.0

I'll add brotli as additional package in the latest beta firmware

I'm still on pfsense 2.5.0 and needed to do this as well going from UniFi 7.2.92 using this PR - https://github.com/unofficial-unifi/unifi-pfsense/pull/306


downloadListOfUrls doesnt use proxy

Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/cheerio (CheerioCrawler)
Issue description
The downloadListOfUrls function doesnt use the proxy. Is there any way to use proxy on download urls also?
Code sample
No response
Package version
3.1.4
Node.js version
18
Operating system
Win11
Apify platform

[ ] Tick me if you encountered this issue on the Apify platform

I have tested this on the next release
No response
Other context
No response

This is actually already supported, we are just missing the property on the DownloadListOfUrlsOptions interface, but the proxyUrl option is there:
https://github.com/apify/crawlee/blob/c5d90a067/packages/utils/src/internals/extract-urls.ts#L34
If you are using TS, you can get around this via type assertions (... as any) or using @ts-ignore comments.


Adding disable chunking to common mediation extensions

Adding "Disable Chunking" as a common mediation policy under run-time configurations in both message in and out flows

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix bug causing the Quota method to crash.

This change is

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job manager/mixer-pr passed

Jenkins job mixer/presubmit passed

Jenkins job manager/mixer-pr passed


How do I restore a snapshot?

Is there a CLI command for this as well?

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

ID: fca6f8c5-a518-04ee-08e3-4ad8d4c9516e
Version Independent ID: 17710c8c-9cd9-57ea-b6b0-1411648ea03f
Content: az snapshot
Content Source: latest/docs-ref-autogen/snapshot.yml
Service: virtual-machines
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

You can restore the snapshot to a managed disk, image, or even another snapshot. Check out "az disk/snapshot/image create"


check_availability: allow separate execution for display of years and missing days heatmaps

I think start years can already be checked separately with the .check_startyears() method.
Then we only need a separate .check_enddays() method.

Closed in PR by @rushilg99 and @Ksteeds : https://github.com/macrosynergy/macrosynergy/pull/628


asmCrypto seems to be load from an insecure origin when using require from a http page

Using asmCrypto.js 0.16.0 from a http page when using it as a require issues the following warning:
asmCrypto seems to be load from an insecure origin; this may cause to MitM-attack vulnerability. Consider using secure transport protocol.

releated to #128

This seems to be a legit warning. What's your use case, where you want to load asmCrypto via http?

I'm not really loading the js file from a script tag, there it would be a legit warning.
In my case I'm just using it inside a bundle.js file created with fusebox, and that bundle.js file is loaded inside a page served via http.

You really shouldn't load the bundle.js file over http. It's just totally insecure, so it shouldn't do anything crypto related. For the http: origins the WebCrypto API is disabled as well.

Actually the only thing I'm using is the sha256 hash function to get the hash of some data, and the WebCrypto API is not disabled. Anyway I can't use https in this case since it is an special case where the page is in localhost and auto generated from a local server.
Either way I think I can live with a small warning :)


Re-add GGV videos

Updates to Holograms 210, 211, and 212, re-adding the previously removed videos. This PR also updates the formatting of the courses to better match the markdown guidelines, and also removed the previously archived old GGV pages.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/holograms-210-archive.md
:white_check_mark:Succeeded

mixed-reality-docs/holograms-210.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holograms-211-archive.md
:white_check_mark:Succeeded

mixed-reality-docs/holograms-211.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holograms-212-archive.md
:white_check_mark:Succeeded

mixed-reality-docs/holograms-212.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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/holograms-210-archive.md
:white_check_mark:Succeeded

mixed-reality-docs/holograms-210.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holograms-211-archive.md
:white_check_mark:Succeeded

mixed-reality-docs/holograms-211.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holograms-212-archive.md
:white_check_mark:Succeeded

mixed-reality-docs/holograms-212.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.


add bower support

Already added to following endpoints for bower.io:

wpgulp
wp-gulp
WPGulp

For info:
$ bower info wpgulp
$ bower info wp-gulp
$ bower info WPGulp

To install:
$ bower install wpgulp
$ bower install wp-gulp
$ bower install WPGulp

Thanks for the PR @jabranr , a few questions though

How will Bower manage the dependencies of package.json considering you need both package.json and gulpfile.js to run WPGulp? Which is also the reason why I never registered the endpoint?
If you have a solution for concern no. 1 then I would like to register those endpoints myself, it looks like you have registered them, could you maybe transfer them or let me know what other way it is possible?

Yes, I figure that it would be too complicated to make every thing work together. I only wanted to give an extra install option but you are right, it is not feasible for this project. I will unregister the endpoints at bower.

@ahmadawais Seems like I cannot unregister as I am not a collaborator to this repo. Can you temporary add me as collaborator so I can unregister it. Cheers

@jabranr Sure! Check now here

@ahmadawais all done! :+1:

@jabranr Thanks. Now can you answer
How will Bower manage the dependencies of package.json considering you need both package.json and gulpfile.js to run WPGulp? Which is also the reason why I never registered the endpoint?

Bower won't manage npm's dependencies. It itself is a dependency manager same as npm but for front-end dependencies. Bower more works like dropping in the required dependencies. So consider if WPGulp is a dependency for any project then it can easily be installed in project using Bower (by default at bower_components/). This way you would not need to go to repository and download the files manually.
Although target directory can be changed easily using .bowerrc file but then it is not automagic sort of setup. Literally almost same hassle as if we are downloading the files manually and putting them in project. In fact, I did not try it so initially from your response figured that it will make it complicated but I will give it a try and see what sort of setup works well and then perhaps we can re-add this support. ;)
At the moment I think that this might work well:
Considering that WPGulp needs to be at base of the project then we need following .bowerrc file to setup the target install directory.
{
  "directory": "."
}

Install WPGulp with Bower:
$ bower install WPGulp

This should install WPGulp in root/base directory of the project. But I guess problem is that it will install as a folder named WPGulp (need to confirm this) where instead it should just drop WPGulp files.
TL;DR, I will test and confirm! :)

@jabranr Can you explain what did you confirm TL;DR, I will test and confirm! :)?
Also, since package.json won't be added, how will one handle its dependencies?

@jabranr Do you know how I can give you the credit for this PR via terminal? I just registered the WPGulp package at Bower repo in #14

@ahmadawais don't worry about that. You already referenced me there so that's OK. Since we have the bower setup now so we can try it and test it as well.

@jabranr I am trying to learn how to do that, I mean credit someone on GitHub.
Quick search on Google didn't turn up anything.

@jabranr do check the current setup and tell me how it can be improved, since I don't use Bower.

Sure, I will do that. You need to merge PRs from contributors so it can link to them. Other ways are only to mention them in tickets etc.

@jabranr  I am actually looking into how I can assign a contribution to some GitHUb user by my own terminal via Mac OS X. Do you have any insights on that?

@ahmadawais I don't think you can assign contributions across on Github. I never heard this. There may be some possibility of correcting emails that are wrongly attached to commits using git config - but that still does not actually reassign it.
So I tried using it with few options through Bower but it does not really workout well without some good manual work. I tried .bowerrc with following options:
{
  "scripts": {
    "postinstall": "npm install ./bower_components/WPGulp"
  }
}

{
  "cwd": "./bower_components/WPGulp",
  "scripts": {
    "postinstall": "npm install"
  }
}

But the commands are triggered with unexpected outcome. Only way I can see is to add a bash script to the project that runs the npm install for WPGulp, i.e.
# filename install.sh

$ cd bower_components/WPGulp
$ npm install

Then following .bowerrc:
{
  "scripts": {
    "postinstall": "./bower_components/WPGulp/install.sh"
  }
}

Outputting a correct structure:
-- bower_components
 \-- WPGulp
   \-- node_modules

But even then this requires updating the paths manually in WPGulp.js. So basically not really helping anything in supposedly "automated workflow".

@jabranr Yup, I think there is really no use of this in Bower.

What about if it is an NPM pacakge?

It might work there since it can easily get the dependencies but beware that it will still reside in node_modules/ and will need to either symlinked or moved to project root to get it working.

@jabranr I guess I will just contribute to WPCLI and write a curl/wget fetch script to download gulpfile.js and package.json into the theme/plugin root folder.

I think that is probably the best solution out of all these.

Since Bower is EOL and barely maintained, they recommend not using it for new projects.
We could probably remove Bower and just focus on NPM.

@jb510 You're probably right! It's a closed PR :)


Add pdf_extract library

pdf_extract - A library to extract text from pdf files. [GPLv2]

@kasha13 @fffaraz Can I work on this? Pl assign this to me.

it seems I don`t have rights to reassign


fix: empty directory is not copied with sscaff

Currently sscaff does not copy over an empty directory from source to target directory. This PR is adding that functionality.

So, I added a fixture5 folder which has the following structure,
.
└── dir-1
    ├── .hooks.sscaff.js
    ├── empty-dir-1
    │   └── empty-dir-2
    ├── {{name}}-dir
    │   └── {{name}}.txt
    └── {{}}.gitignore

In this structure, I have one empty directory (empty-dir-2). and the rest are just there to make sure none of the other functionality got impacted. I can just keep this to empty directories, let me know. :)
The hooks file has name set to foo which gets substituted.
Then added a fixture5.expected folder which has the folder structure that I expect the sscaff to create in target directory. It structure is,
.
└── myproject
    └── dir-1
        ├── .gitignore
        ├── empty-dir-1
        │   └── empty-dir-2
        └── foo-dir
            └── foo.txt

Then the folder contents are compared among the expected and the sscaff which is in a temporary directory.


Can pywinauto be detected by the application that pywinauto scripted for?

If i write a script using pywinauto to controll an application, especially for a Game, is it possible to be detected by the application that pywinauto scripted for? If yes, what pywinauto did alerms the application? and what can i do to aviod this?

pywinauto can't be detected explicitly because there is no any signatures specific to pywinauto in any messages and events sent to the app. Maybe some games can detect repeatable actions and decide these actions are done by a bot. I think these restrictions can be workarounded by random time.sleep()s and mouse movements on script side. I don't see anything that can be done in pywinauto itself.


Add embedded-oracle-xe module

#258

I've merged PR in order to try in-house build server, looks like oracle image download do take long time

I've merged PR in order to try in-house build server, looks like oracle image download do take long time

Yes, it takes some time. You can disable oracle tests as well as it is disabled in testcontainers:oracle-xe

release is done, new version will be available in public repo within 24h
Thank you for your efforts!


Add OpenGL-esk triangle strip widget.

In OpenGL you can pass the renderer a list of vertices to be rendered in one call, rather than many calls for each individual triangle.  I propose a widget that takes an table of vertices in it's initializer and renders them all at once.  The table would be a simple numeric array {#, #, #, #, #, #, #, #, #}, with each set of 3 numbers representing a triangle.

It is done in the backend.

Is it possible for this to be directly accessible via the LUA API?

No that I know of.

Duplicate of #15

supported by OpenGlasses2 (custom shapes)
https://minecraft.curseforge.com/projects/openglasses2
https://github.com/StarChasers/OCGlasses/wiki/Widget_Custom2D
https://github.com/StarChasers/OCGlasses/wiki/Widget_Custom3D


Confusing colours

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @henrydtheodo, thanks for raising!
I've pushed a fix for this. The issue was it was displaying the colors for the first 3 characters on the last 3 characters too.


Issue in using tfio.experimental.filter.sobel in Keras model.fit with Colab TPU

Hello,
I am training a GAN for image inpainting. I am computing the Sobel edges of my generator's output and giving them as an input to the discriminator.

I am using tfio.experimental.filter.sobel function.
I have also tried tf.image.sobel_edges but it is not compatible with TPU.
I have defined this as a tf.keras.Model class and then doing the training using model.fit function.
I am training this on Google Colab's TPU.

Whenever, I give the sobel edges of the generator's output to the discriminator, the training loss goes to "NaN". I have checked that the computed sobel edges don't contain any NaN and my dataset also doesn't contain any NaN. If I don't give this sobel edges as an input to discriminator then the code works fine without leading to NaN.
Has anyone faced any such similar situation before? Please let me know how can I debug it. If you have faced something similar then, please let me know the solution. Any help is appreciated. Thank you.

@vinits5 ,
Please refer this link for information on sobel images.link1,link2.
Also,In order to expedite the trouble-shooting process, could you please provide the complete code and dataset to reproduce the issue reported here.


Support handler for any custom event

In Javascript client that works like:
socket.on('*', handler);

Without this it is required for the client to always know all events that the server can emit and set up separate handlers to all of them.

BTW, I managed to retrofit some v3 support into the current master but then got blocked on pings which go in the opposite direction in v3 and are hard to implement in the current sync codebase.

Consider cloning the client object (most of the paramaters are arc mutex locked anyways) then send it into a different thread that just sends the pings.

@1c3t3a this issue should probably be closed


Requesting native support for android and arm (raspberrypi)

It would be excellent if you could add native support for android and arm. I have developed an ORM library for kotlin using sqlite-jdbc but to use the library in android and arm it needs native support for these platforms.

arm native library is already supported in sqlite-jdbc-<IP_ADDRESS>. If it doesn't work for you, could you post a stack trace message when using this version? This message will have os.name and os.arch information of your JVM.

@xerial I have added the latest version and its working like a charm. I have tested on android.Great job man. :D

When I am running it on android its showing
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/ninja.sakib.androidmultiprocesstest-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libsqlitejdbc.so"
I have added compile group: 'org.xerial', name: 'sqlite-jdbc', version: '<IP_ADDRESS>'

weird. It should show: Failed to load native library:  ....
https://github.com/xerial/sqlite-jdbc/blob/c591bfde13a208be7838a628e924b65b651e045c/src/main/java/org/sqlite/SQLiteJDBCLoader.java#L230
Could you show your System property values of os.name and os.arch?

Here my devices system properties as requested,
Name: Linux
Arch: armv7l

I'm looking for the  cross compiler for building this:
https://github.com/dockcross/dockcross
I'll try building a native library for armv7l with dockcross/linux-armv7 image.

That would be great.

Please  add  native library for armv5 (armv5tel) as well.

Hi guys,
I would like to ask a question for arm support. What values are shown if you run the following Java  code?
System.getProperty("os.name")
System.getProperty("os.arch")

We need these information to add support armv7 and arvm5, etc.

os.name = Linux
os.arch   = arm

@g1ko
Thanks. That value arm means we need a reliable way to distinguish various arm versions (e.g., armv5, armv7l, etc.)

This might be related for detecting arm CPU types: http://stackoverflow.com/questions/14859954/android-os-arch-output-for-arm-mips-x86

Also It would be great to  have the library for powerpc.
os.name = Linux
os.arch = ppc
#java -version
java version "1.8.0_06"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_06-b23, headless)
Java HotSpot(TM) Embedded Client VM (build 25.6-b23, mixed mode)
#uname -a
Linux MybookLive 4.1.17-mbl #1 Sat Feb 13 10:46:06 UTC 2016 ppc GNU/Linux
#cat /proc/cpuinfo
processor	: 0
cpu		: APM821XX
clock		: 800.000008MHz
revision	: 28.130 (pvr 12c4 1c82)
bogomips	: 1600.00
timebase	: 800000008
platform	: PowerPC 44x Platform
model		: amcc,apollo3g
Memory		: 256 MB

ppc support would be relatively easy.

I did try to build the .jar by myself but no dice.
I used Ubuntu 14.04LTS VM as my cross  development tool with docker-engine installed, git-cloned latest (3.15.1) version.  I run "make linux-arm". The build process completed with no errors, the .so file produced in target/sqlite-...Linux-arm folder but  .jar nowhere .
Is it ok/expected?

Answering to myself: issuing just "make" did the trick, .jar  BUILD SUCCESSFUL.

ppc support would be relatively easy.
Is that real before Xmas?

Looking forward.

Hi Taro; I'm trying to compile on Raspbian / Raspberry Pi 3 model B -- on the basis of old documentation which says that the ARM is not supported. You mention above that ARM is supported (which is nice :-) ) but builds are still failing with lack of "dockcross".
I'll admit I'm not really sure what is going on, but I am guessing that it's no longer possible to compile natively on anything other than a x86 machine, using cross-compilation for ARM.  Would that be correct? This is compared to README_BUILD.md and the advice that f you want to use the native library for your OS, build the source from scratch. ?
$ env JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt make
./docker/dockcross-windows-x86 bash -c 'make clean-native native CROSS_PREFIX=i686-w64-mingw32.static- OS_NAME=Windows OS_ARCH=x86'
./docker/dockcross-windows-x86: line 182: docker: command not found
Makefile:102: recipe for target 'win32' failed

@g1ko I'll find a time for this :)
@alecmuffett
I have removed the cross compiler based build script from Makefile. I can add some make target so that you can build native libraries by yourself.
The current status is: we are delegating Travis CI to build all of the supported native libraries using dockcross (or cross compiler images I have prepared for Linux). TravisCI now supports docker, so basically we don't need to build native libraries by ourselves if your platform is supported in the master branch.
Currently TravisCI pushes a snapshot version that contains docker-built native libraries every time if there is a new commit to the master branch:
https://oss.sonatype.org/content/repositories/snapshots/org/xerial/sqlite-jdbc/3.15.2-SNAPSHOT/
This should reduce the burden of preparing cross compilers (You don't need to have docker nor linux box)
We also should fix the README.md to include ARM support :)

Are any news for Android  native lib build using dockcross ?
Thank you in advance.

#193 addresses this (android, raspberry (armv6) support)

@s4kibs4mi @psini @g1ko
Here is the latest binary that includes android, armv6, armv7 support:
https://oss.sonatype.org/content/repositories/snapshots/org/xerial/sqlite-jdbc/3.16.1-SNAPSHOT/sqlite-jdbc-3.16.1-20170106.232609-17.jar
Let me know if you find any problem with this version. Thanks.

Released sqlite-jdbc 3.16.1, which probably fixes this problem. If you find any problem, create another ticket and I will work on the fix when releaseing 3.16.2.


Fix Disabled Basic Actions removing Condensed Class Actions

So, here's a bug: disabling basic actions also disables (removes completely) condensed class actions. After trying to get it worked for some time, I decided to check out the logic in place.
And here it was. condensedItemButtons func produces SplitButton class instances, which are instantly filtered out by showSpecialActions filter. I fixed it in the most direct approach to just not create special actions when they're not needed. Writing the equivalent thing inside the webpack'ed module showed this fix to solve the problem for me.
I hope you don't mind it's a PR not a full-fledged issue with all the details about my setup.

I don’t accept prs, open am issue and it will get fixed


Weed redirects user to correct volume server when wrong server is accessed

Suppose I've got 2 volume servers A and B. Volume 1 is located on server A. If I try to get file of volume 1 from server B weed will return 301 to server A.
problem: it uses publicUrl for redirect. We use same instance of weed for two projects with different domains. In this case sometimes it will redirect to incorrect domain.
I think developers should not rely on this feature - this is mistake when file is accessed from incorrect server (Am I right?). Can we disable this feature (config option)?

Maybe we should disable this redirect altogether...

Can you make it configurable?

Default to "not redirecting" ?


add audio/character audio to test project

maybe follow this up with a ticket to stop window needing to be monkey patched in the janky way?

Requirements:
A solution that works on edge, chrome, firefox, safari  x  iOS, windows, android, macOS
Can't use WebCodecs API as it's not supported on Firefox.
Using AudioWorkletNode but Safari has potential bugs, and requires either different implementations for safari/chrome, or very particular ordered interactions.

https://stackoverflow.com/questions/73164697/implementing-an-audioworklet-in-safari

Use MediaRecorder? not supported on IE, Opera Mini, Android Browser, or Firefox for Android. I think that's fine.
scenarios of event order to consider testing
background audio, character audio, mic input, back to same background audio
mic input, background audio, character audio, mic input, back to same background audio
character audio, mic input, character audio
mic input, character audio

We should definitely use https://github.com/chrisguttandin/standardized-audio-context
relevant warnings in its docs
⚠ Setting the sampleRate is not supported in Safari so far.
⚠ The AudioWorklet is accessible as a property of an AudioContext or OfflineAudioContext. It uses the ScriptProcessorNode internally to create an AudioWorkletProcessor in Safari. This means it will only provide the performance improvements that you would normally expect from using an AudioWorklet in Chrome, Edge and Firefox.
⚠ Safari does not support AudioBuffers with a sampleRate below 22050 Hz.
⚠ Safari outputs silence if the MediaStreamAudioSourceNode is disconnected for about two seconds.


Remove tokenizer options in BPE/learn_bpe

Codecov Report

Merging #341 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #341      +/-   ##
==========================================
+ Coverage   71.19%   71.21%   +0.01%
==========================================
  Files          70       70
  Lines        5808     5808
==========================================
+ Hits         4135     4136       +1
+ Misses       1673     1672       -1

Impacted Files
Coverage Δ

onmt/utils/Features.lua
98.38% <0%> (+1.61%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix depwarn on 0.5 and 0.6

@dcjones Please enable travis on this repo. This PR passes tests on my travis account. https://travis-ci.org/yuyichao/Zlib.jl/builds/150169059

Ping @dcjones

Bump! @dcjones @tkelman

No idea who has commit access here. I don't.

@ranjanan @yuyichao which packages still depend on this one that haven't migrated to its replacement? We can make a copy of this repo somewhere like JuliaIO and change metadata to point to it like we did with one other of @dcjones' packages if needed.

WinRPM depends on this AFAIK

Yep, looks like it does. Worth looking into how hard it would be to migrate.

By replacement, do you mean this: https://github.com/BioJulia/Libz.jl ?

That's what this package's readme says.

So what should we do to this package?

migrate any of its dependents that matter to better maintained replacements. that's more worth our time than the backup option of forking it to JuliaIO and redirecting metadata to point to the fork, but if it's obsolete then why bother?

Bump

Let me know if there's anyone I can add as collaborator. Obviously I'm not activity maintaining this right now. I would recommend switching to Libz.jl if you can, and let me know if there are important missing features in that library.

@fhs says Libz.jl is missing "support for raw deflate compression/decompression": https://github.com/fhs/ZipFile.jl/issues/29#issuecomment-256548749

Ok, no problem: https://github.com/BioJulia/Libz.jl/commit/15f0644a91d20ef4469b00f529e6816fb5a6e7bd


Release DataFusion 41.0.0

Is your feature request related to a problem or challenge?
Tracking ticket for next release, also a place to track desired inclusions
Last release was https://crates.io/crates/datafusion/40.0.0 (July 12, 2024) so next major release would be around August 10, 2024
List if items that would be good to get into this release:

[x] https://github.com/apache/datafusion/issues/11850

Additional context
40.0.0 release ticket: https://github.com/apache/datafusion/issues/11077

I plan on starting the release process later this week

I added https://github.com/apache/datafusion/issues/11850 to the list

Vote has begun: https://lists.apache.org/thread/gz15fc6qbn4q99rp0of6xjsngvf8jbw0

The release has been completed


Rename project to Trellis

We're giving this project a proper name thanks to @Foxaii:
Trellis
I'll be working on creating the appropriate pages along with documentation on https://roots.io/. Project logo is in the works!
This repo will be renamed — GitHub redirects everything so we shouldn't have any issues.

![Mother of God]
(http://i.imgur.com/3o396JZ.jpg)

Oh awesome. Can't say I was ever a huge fan of the name "bedrock-ansible"

Nice!

:+1:

Yeah!  Works well!  Will we be seeing that in the roots.io menu bar soon?

:rocket:

Just a heads up, the Discourse menu bar also needs updating

Thanks for the note @ptibbetts, I got that added in there on Discourse.


Android Automotive: Limit to eight entrys on any list

I've noticed that AAOS only allows 8 rows in a list on any screen, dictated by the constraintManager. This means there are 3 filter settings missing and also only 8 filter profiles can be displayed.
The showcase demo app adds a "more"-button to the top right when a list contains more than 8 rows and pushes a new screen to display a new page. I understand that AAOS limits the top right Actions to two. Since those two slots are occupied by other actions it is not possible to add any actions to that area of the screen.
I would suggest to use one row int the EditFiltersScreen to go to a second page to make all filters accessible.
This would be my suggestion:
    private fun buildFiltersList(filters: List<FilterWithValue<out FilterValue>>): ItemList {
        var subtractor = 0
        var sub_filters = filters

        // check if list fits on screen
        if (filters.size - start_index > maxRows) {
            subtractor = 1
            sub_filters = filters.subList(start_index, start_index + maxRows - subractor - 1)
        }
        return ItemList.Builder().apply {
            if (subtractor > 0) {
                // if it does not fit, insert button for next page
                addItem(Row.Builder().apply {
                    setTitle("More Filters")
                    // Insert forward Icon here
                    setOnClickListener {
                        screenManager.push(EditFiltersScreen(getCarContext(), start_index + maxRows - subtractor) )
                    }
                })
            }
            sub_filters.forEach {
            //...

EditFiltersScreen would get a new argument to specify where to start if it is another page:
class EditFiltersScreen(ctx: CarContext, start_index: int = 0) : Screen(ctx) {
I can't test the code myself currently so I don't know if it works at all. Also I have next to no Kotlin experience. But it should show my train of tought.
Showing more than 8 filter profiles would propably be more complex as it is a selection list. Right now if you save a new profile others get pushed out. They are saved but not selectable and there is no info to the user about this happening.

The problem is that not only the number of items in the list is limited (not always 8 items, that depends on the specific car), but also the number of screens we can push (= number of hierarchy levels) https://developer.android.com/training/cars/apps#template-restrictions
Effectively, this means we can only go up to four levels deep (or five in case the last template is a PaneTemplate or MessageTemplate). The current filter flow already fully utilizes this:
MapScreen -> FilterScreen -> EditFiltersScreen -> MultipleChoiceFilterScreen
So we can‘t easily add another page.
One workaround would be to ensure that the filters on the second page are only Boolean filters (which don’t need an extra level of navigation) or Slider filters (which use a PaneTemplate). Maybe that would work…
Alternatively, it might be possible to push a dummy screen (e.g. MessageTemplate showing a loading message) that then immediately pops back to the EditFiltersScreen. I have seen that this sometimes makes it possible to refresh the contents of the screen (e.g. to show the second page) without affecting the limit.

I see, I overlooked that.
How about rearranging the filters in a way so that multiple choice filters are always on the first page?
If I counted correctly there are currently four multiple choice filters (connector types, operators, providers and categorys). Those would fit on one page and there would be 3 more slots for possible future multiple choice filters.
And another idea: Since the search is going to be moved on the map screen you could move the delete button down one layer freeing up space for one more filter on the first page:
MapScreen -> FilterScreen (Actions: Delete, Edit) -> EditFiltersScreen (Actions: Save, More) -> MultipleChoiceFilterScreen
                                                                                -> EditFilterScreen (without MultipleCoice)
          -> Settings ...
          -> Search ...

I have two more thoughts about this Topic. One would be a larger restructuring of the UI. I've tried to visualise it a bit in the attachments. It would also increase the number of usabele filter profiles.

Another idea came to me while looking at media apps on AAOS. Many of them use regular android UIs for settings. Those are of course not distraction optimised and will be disabled while driving.  So technically it should be possible to use the standard phone app UI for the filter settings just making them not available while driving. This might bring more issues than it solves and I dont know how it interferes with Android Auto, but it would grant the largest flexibility for the filter settings.
Oh and sorry for all the spam, just getting into this whole topic while waiting for my Polestar 🙃 I will try to set up those API-keys and maybe tinker a bit on my own as well.

I have two more thoughts about this Topic. One would be a larger restructuring of the UI. I've tried to visualise it a bit in the attachments. It would also increase the number of usabele filter profiles.

Hm, yes, this would increase the number of usable filter profiles - but on the other hand add an additional tap for switching between the saved profiles (which is probably much more commonly used while driving than editing or deleting saved profiles)... So not sure if it is the best solution.
You have probably also already seen https://issuetracker.google.com/issues/179648622 - so Google is also working on relaxing those limits, but it may take a longer time as it needs to be negotiated with the manufacturers and adapted to regional restrictions.

Another idea came to me while looking at media apps on AAOS. Many of them use regular android UIs for settings. Those are of course not distraction optimised and will be disabled while driving.

Yeah, that might be a way - technically it should be possible on AAOS, however I don't know whether it's allowed for POI apps since Google only has documentation for that in the media apps section. Also that would not work on Android Auto, so we would still need to maintain the templated UI for that (or drop the filter editing functionality on Android Auto, where it is not as crucial as filters can be edited on the phone).

Oh and sorry for all the spam, just getting into this whole topic while waiting for my Polestar 🙃 I will try to set up those API-keys and maybe tinker a bit on my own as well.

Absolutely no problem, it's great to have discussions here and, as I saw in your email, even people checking out the code and testing improvements.  And congrats on your Polestar! 🙃

Hm, yes, this would increase the number of usable filter profiles - but on the other hand add an additional tap for switching between the saved profiles (which is probably much more commonly used while driving than editing or deleting saved profiles)... So not sure if it is the best solution.
You have probably also already seen https://issuetracker.google.com/issues/179648622 - so Google is also working on relaxing those limits, but it may take a longer time as it needs to be negotiated with the manufacturers and adapted to regional restrictions.

Yes, you are propably right. I've created a Pull request with my changes if you want to have a look at it. It would also be nice to have seperate limits on distraction otimized and non-optimized sections of an app, lfiting the limit on non-optimized completely.

Yeah, that might be a way - technically it should be possible on AAOS, however I don't know whether it's allowed for POI apps since Google only has documentation for that in the media apps section. Also that would not work on Android Auto, so we would still need to maintain the templated UI for that (or drop the filter editing functionality on Android Auto, where it is not as crucial as filters can be edited on the phone).

I could personally not think of a reason, why this should not be allowed. But yes, who knows what google thinks about that 😂

Since this pull request https://github.com/johan12345/EVMap/pull/251 is now merged I guess this issue is done, right?


[DOCFIX] Clarify Kubernetes documentation

This docfix isn't addressing any individual issue with the doc, but rather a slight refactor of various sections & their orders for general clarity.

@ZhuTopher pls fix the checkstyle

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.7 please


Out of words

This project is simply amazing! I don't know what to say, This is insane and the fact you adopted this to Godot and used it for Gamedev, I am simply out of words to express how impressed I am, The source code is very clean and neat, This is top development at its best, Thank you so much and I will going to use this project on our upcoming indie game.
Just amazing...

Thank you. I hope you will find it useful, and if there's anything just post an issue.  It's somewhat about understanding which parts of Godot are dangerous and which are not.

I'll close this as it's not actionable, but thanks for the encouraging words :)


Vulnerability roundup 52: openjpeg-2.3.0: 1 advisory

search, files

[ ] CVE-2018-16375 (nixos-unstable, nixos-18.09, nixos-18.03)

See also #49788

Can we close one of these? This is purely duplicate information AFAICS?

Sure. The purpose of the vulnerability roundup is to trigger work on affected packages. If we can be sure that progress is tracked somewhere, we can close the roundups.


Support hidding elements while excluding them from the layout

Setting visibility to false just hides the element, but does not exclude it from the layout. A feature similar to setting display: none in CSS or GridData's exclude to true in SWT would be useful to hide the element altogether from the layout.

Alternatively a mechanism to remove the widget from the widget hierarchy could be provided.
@tbuschto

We should support this in combination with a "previous" keyword (see #545), but leave the existing behavior (for explicit references or ids) as is.

Windows also has no equal behavior to our "visible" true/false. It's either "visible" or "collapsed" - i.e. excluded from layout, size 0x0.

@patrykmol correct me if i am wrong but i think an property to exclude a child from the parent layout does not exist on iOS?

For now we agree on property name excludeFromLayout


Remove neighborhood filter or add Detroit neighborhoods

Currently, we only have "Foster City" listed as a neighborhood.

A neighborhood filter is included in the mocks, but IIRC we decided to remove this filter. I don't see a neighborhood filter referenced in the PRD.


Fix for dropdown keyboard accessibility

Resolves #587

@lapstjup I checked this. I think there are few things that should be fixed before we merge.

If I open a dropdown and keep pressing tab, eventually dropdown will close but the focus never returns to other elements. And whenever you press enter it will open the last link in dropdown, even after closing.
When I close a dropdown using Shift+Tab and I press Tab again, the focus starts from the beginning i.e. the TNB logo.
Alphabetical order is messed up.

@Hristijan95

@thesanjeevsharma

checked this. I think there are few things that should be fixed before we merge.

If I open a dropdown and keep pressing tab, eventually dropdown will close but the focus never returns to other elements. And whenever you press enter it will open the last link in dropdown, even after closing.

I know about the focus never returns part. I did try to handle it but it resulted in some inconsistencies. Maybe give it a try when you get time. I am not sure about the enter key opening last link, unable to replicate it.

When I close a dropdown using Shift+Tab and I press Tab again, the focus starts from the beginning i.e. the TNB logo.

Yup I didn't handle this again due to inconsistencies.

Alphabetical order is messed up.

Damn it.

Closing this one as it's outdated. Im currently working on another one: #1259


Facebook login doesn´t work in ionic react

I've installed it capacitor in my project ionic-react5 and i've configured en project android. In the facebook login requesting only "email" , al app show "invalid scope : openid, email. this message only is showed to develpers"

It worked for a while for me, then stopped working in production without any update or change...

Same for me, it looks like Facebook has deprecated the openid scope but I cannot find any details regarding it. My app is not requesting the openid scope so I am not sure where it is coming from.

I resolved the issue by creating a new Facebook app of type 'Consumer', the non-working app type was 'Business'.


HDDS-6989. EC: Add Test for RECOVERING container cleanup when failure.

What changes were proposed in this pull request?
This adds a test to make sure we are cleaning the recovering container on failure.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6989
How was this patch tested?
This is a test

Thanks for the review @JacksonYao287


French Bio-info Jobs

SFBI : "Société Française de Bio-Informatique"
SFBI

Taken care of in #2 by @madeleinevlt. Thank you both!


Network connection lost while retrieving a mail message

An IdleError event is raised (after 20 seconds) if the network connection is lost prior to calling the ImapClient method GetMessage. This event includes exceptions System.IO.IOException & System.Net.Sockets.SocketException (see below).
The problem is that if the network connection is lost while the ImapClient method GetMessage is retrieving a message, this event is not raised (and the exceptions are not thrown). If the network connection is restored within approximately two minutes, this method will recover and finish retrieving the message. Anything more than approximately two minutes, and this method will just hang.
EXCEPTIONS THROWN:

System.IO.IOException: "Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

System.Net.Sockets.SocketException: "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"

FYI this project is dead. You should seriously consider switching over to MailKit. You are wasting your time continuing to use this library.

Switched to MailKit


Feature suggestion for trillium-api 0.2.0-rc.11: Replace <Vec<u8> as FromConn> with <Vec<u8> as TryFromConn>

I've been using trillium-api together with trillium-opentelemetry, and with ApiHandler methods that take the request body as a Vec<u8>. When a client connection is interrupted before its entire request can be received, this causes spurious metrics observations of http.server.request.duration with http.response.status_code set to "404". This is happening because the FromConn implementation for Vec<u8> encounters an error when reading the request body, and returns None. As a result, the ApiHandler doesn't get run, and a fallback error handler of () is run on the connection instead. This FromConn implementation (and the one for String) could be replaced with a TryFromConn implementation that returns Status::BadRequest as an error handler. This would provide more reasonable metrics values in this situation. See https://github.com/divviup/janus/issues/2515#issuecomment-2136198887.

This seems entirely reasonable. I'll get a release out later today or tomorrow!


KI221 & bench issues

Hooked up existing keygens to define versions for key generation.
Possible levels  2701 (2702) / 27FD(27FE).
SW definition done by "Functional software", another name is "KSS applikation"
Here's main definition list:
2214420821_KSS_Appl_v19_30AMG
2214422021_KSS_Appl_v12_60
2214422121_KSS_Appl_v12_70
2214422321_KSS_Appl_v17_30
2214423621_KSS_Appl_v19_30
2214424021_KSS_Appl_v23_40
2214424621_KSS_Appl_v31_40
2214424721_KSS_Appl_v31_50
2214425021_KSS_Appl_v33_30
2219022402_KSS_Appl_v46_30
2219023000_KSS_Appl_v51_30
2219024702_KSS_Appl_v53_30
2219024902_KSS_Appl_v34_30
2219025301_KSS_Appl_v45_50
2219028901_KSS_Appl_v52_30
2219029600_KSS_Appl_v45_40
Each sw has its own key, and seems it uses "xor" for response.
Abrites does 2701 in 97ms
For now im not able to get response to 2701 request on bench, Cant figure out reason, i tried solo KI, KI +ZGW, KI+ZGW+EIS withought success.
Vediamo connects aswell, but getting 7F response to 2701.
CGMB and Abrites fails to read eeprom with "Security fault"
Just for note : attached CAN tracer between OBD and Abrites on car  - and got same "Security fault" - so..... thats maybe timing issue - but bench must work way faster ...
Abrites sends 1092 X 3 times then 01 level unlock then read eeprom, full reading takes 13 seconds.
Its might take some time to get all sw keys but if we wont start - we never finish.
I think if we get couple keys then we will have hint to decompile all list.
For now i can read EE from customer cars X-times each with logging, to get valid pairs.
Lets do it

2214423621
[01]  level 07 (seed size 8 : key size 7)
80 5C 00 05 1D 74 44 F5 = 07 04 0F 21 D7 FF FF
[FD] level FD (seed size 4 : key size 4)
CF 30 00 C0 =  3A 39 CB F9

2214422021
01
AE 72 B4 B1 00 69 27 96 = 07 2F 3E C7 95 FF FF

2214425021
01
8D 51 C6 74 92 B3 25 22 = 07 A7 28 7C 9C FF FF

From yt:
2214423621
[01] seed C0 1C 00 05 17 7E F2 43
key 07 54 6F 2A D3 FF FF
[FD] seed EF 02 00 40
key 1A 48 CB 79

2214423621
FD:SEED xor f54acb39 = FE key

just for notice
sw unknown

100A6701C01C00B2  // C01C00 + B2
2116379D9A1C00B2 // seed C01C00B216379D9A
10092702FFEBA0A7 // key FFEBA0A7
036702349A1C00B2 // 670234  accepted

1C 00 B2 seems to be some of SW identifier.
In<PHONE_NUMBER> case it has to be 1C 00 05.
Raw data shows the real situation thats why asked @jglim to modify trace window a bit

Just a small note, for the unknown sw key, it seems like there's a second frame that might be missed out:
10 0A 6701C01C00B2
21    16379D9A 1C00B2

-> 67 01  C0 1C 00 B2 16 37 9D 9A (OK)

---

10 09 2702FFEBA0A7
21 xxxxxx ..?
(missing continuation, first frame specifies 9 bytes, only 6 received; expecting 3 more bytes?)

-> 27 02  FF EB A0 A7 xx xx xx

---

03 670234 9A1C00B2 // 670234 accepted

-> 67 02 34 (OK)

2219024702 [01] x8 list

C0 1C 00 B2 EF CE 89 8E
FF 7B EF A6 F8 FF FF
40 9C 00 B2 EF CE 89 8E
FF 7B EF A6 F0 FF FF
00 DC 00 B2 01 20 54 53
FF 9B 31 AB F4 FF FF
00 DC 00 B2 1A 3B 54 53
FF 2B 30 AB F4 FF FF
80 5C 00 B2 C2 E3 B4 B3
FF AB 3D A5 FC FF FF
80 5C 00 B2 27 06 11 16
FF FB 63 AF FC FF FF
C0 1C 00 B2 FB DA 60 67
FF 3B 7E A8 F8 FF FF
00 DC 00 B2 EA CB 6C 6B
FF 2B BF A8 F4 FF FF

2214423621
FD:SEED xor f54acb39 = FE key

Calculated example CF 30 00 C0 = 3A 39 CB F9
CF 30 00 C0 xor f54acb39 = 3a7acbf9 (not match with the key)
i calculated the pairs in xor calculator and got the value f509cb39 and tried example
CF 30 00 C0 xor f509cb39 = 3a39cbf9 - correct

also<PHONE_NUMBER>
[01] seed C0 1C 00 05 17 7E F2 43
key 07 54 6F 2A D3 FF FF
[FD] seed EF 02 00 40
key 1A 4B CB 79

here was a mistake with one symbol.
in this case, [FD] seed xor f549cb39 = key

2214423621
[01] level 07 (seed size 8 : key size 7)
80 5C 00 05 1D 74 44 F5 = 07 F4 0F 21 D7 FF FF
[FD] level FD (seed size 4 : key size 4)
CF 30 00 C0 = 3A 39 CB F9

in this case, for [FD] seed xor f509cb39 = key

It looks very similar to ki211.
Seed 80 5C 00 05 1D 74 44 F5

key 221: 07 F4 0F 21 D7 FF FF
key 211: 07 44 48 52 80 FF FF
Format is the same so i guess there must be keys to KIAlgo1

I went to check if it was using KIAlgo1 as the format appears similar enough. Unfortunately it does not use KIAlgo1 that we have, or it uses a modified variant.
KIAlgo1 is partially reversible, leaving about 9 bits (or less) of uncertainty where information is lost during the root key rotation. 9 bits is a small enough keyspace to search through in reasonable time, so we can reliably recover a KIAlgo1 root key if a seed/key pair is known.
I've written a small application to extract the root key given a valid KIAlgo1 seed/key pair. It is unpacked, so curious folks can look at it via ILSpy or similar (KIAlgo1WF.MainForm.Reverse()).
This application was tested with random values from our existing KI211 collection and has worked fine so far.

However, all 221 seed/key pairs will not generate a solution, which implies that 221 does not use the same algo (..or I am doing something wrong).
There are many possibilities for variations:

Different seed regroup indexes instead of 2/6/0/4
Different root rotation MSB conditions, instead of 0/7/17/26
Different rotation mask (currently (x & 7) + 2)
Different output group (currently 0/1/3/2)
.. it could be a completely different algo too

I can't test these out, however I can at least confirm that the stock KIAlgo1 does not work with the 221.

Good! Amazing as always!
Can i have source for minitool?
Since its not a KIAlgo1, im going to bruteforce it, then after getting a K, need to decompile exact KSS to get that in code.
Thanks for contribution!

Sure:
KIAlgo1WF_2023_02_20-A.zip

First attempt to brute failed.
Any changes to seed cause SVCI to stuck.
All known keys goes perfect withought problems.
Pairs 2,3,4 of seed is a suffix that specify calculation algo.
C0 1C 00 B2 EF CE 89 8E
Its used as marker in fist part of 2701 answer while "21" continuation message keeps the real seed and a suffix mark.

02 27 01 FF FF FF FF FF
10 0A 67 01 C0 1C 00 B2
21 EF CE 89 8E 1C 00 B2
10 09 27 02 FF 7B EF A6

Going to try other tools...

While checking out KI221.CBF, one particular compiled script referenced by DJ_Displaylight_write is particularly unusual. The same script file also contains another function SecurityAccess. This function takes a 2 byte parameter (access level), sends 2701, parses 6701, then generates and sends a 2702 key.
The script sets up a parameter that behaves like a root key at the start of the function (0xB16905DC). The subsequent behavior is different from any of the algos that we have here.
When using the values from an earlier post for<PHONE_NUMBER> (seed 80 5C 00 05 1D 74 44 F5), the output key is mostly identical,  07 F4 0F 21 D7 FF FF vs 07 F4 0F 21 D7 00 00. The only difference is the last 2 bytes, and I believe the ECU probably accepts any value for the last 2 bytes.
I've searched through the firmware files below to identify the root keys. There are only 2 unique values as far as I can tell:

0xB16905DC
0x0721B2DC

Firmware list:

2214420821_001
2214422021_001
2214422121_001
2214422321_001
2214423621_001
2214424021_001
2214424621_001
2214424721_001
2214425021_001
2219022402_001
2219023000_001
2219024702_001
2219024902_001
2219025301_001
2219028901_001
2219029600_001

I have created unique entries (KI221_xxxx_L7) for each variant above, and checked them with the seed/key pairs in this thread. With all of your feedback, if it is working correctly, we may be able to complete this issue.
As for the 27 FD algo, turns out it was two operations, first the seed is xor-ed with a constant, then another constant is added to it. I've checked through all 16 CFFs above as well and there appears to be only one combination, being (seed ^ 0x78253947) + 0x83249272. This is now available as KI221_Multi.

if it is working correctly, we may be able to complete this issue

Thanks for the calc!
idk about 221, but ki211 works and issue can be closed.
How about ki164 algo?

For Unlock Ecu purposes - it's done.
Bench issue still persisting.
I will post here updates when get a solution.
Great job!


Window shows scrollbars in chrome

Hi,
when I create a quasar app with:
quasar init folder
cd folder
npm install
npm run dev

It shows scrollbars in Chrome, it does not when using Firefox.
When I resize the Chrome-window just by a pixel the scrollbars disappear and reappear on reload.
I just tried with MS Windows.

Do you have any idea how I could fix this behaviour?
Thank you very much
Regards
Seyhbold

Hi, please use forum for questions. Yes, it's a Chrome extension causing this. Disable them one by one until you find the culprit. And please tell me which so we document this. Thanks!

Thank you for the quick response. Next time I'll use the Forum first.
The extension causing this is WhatFont
https://chrome.google.com/webstore/detail/whatfont/jabopobgcpjmedljpbcaablpmlmfcogm

Thanks!


Web URL as connection?

I tried to use my duckdns address to connect to my octoprit so I can use my monitor at work. When I enter the duckdns address and save it, the config page reverts back to the internal ip of octoprit.
Is it possible to use a web URL to connect?

Remove the hostname value and leave it blank.   Then put in the duckdns address in where the IP is.   It should retain it.   If you provide the hostname field the device tries to do an IP lookup.   This should fix it for you.   Let me know how that goes.

Thanks. I finally had a chance to try. Removing the hostname did seem to make it further, but still did not connect. I am getting a Connection to OctoPrint failed message on the web interface. I can connect fine via the browser and the url. Maybe it's a HTTPS or auto trusting a self-signed certificate issue?


Bump vLLM to 0.5.3.post1

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes #3826
Fixes #3784

Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Bump vLLM to 0.5.3.post1

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

@yuzisun from 0.5.3 vLLM uses chat-*  prefix for chat completion request id. Should we also change the prefix ?

/lgtm
/approve


Removing remaining service catalog references

What type of PR is this?
/kind cleanup
What does this PR do / why we need it:
see topic
Which issue(s) this PR fixes:
Fixes #4978
Fixes #4011
PR acceptance criteria:

[ ] Unit test

[x] Integration test

[x] Documentation

[x] I have read the test guidelines

How to test changes / Special notes to the reviewer:
Operator hub service should not be broken
It should no longer be possible to anything with service catalog services

maven central issue
/test psi-kubernetes-integration-e2e

retrying to be safe
/test psi-kubernetes-integration-e2e

/approve

The output of odo link -h is
Usage:
  odo link <operator-service-type>/<service-name> OR link <service> --component [component] OR link <component> --component [component] [flags]

I think the link <service> --component [component] part is not accurate anymore

The output of odo link -h is
Usage:
  odo link <operator-service-type>/<service-name> OR link <service> --component [component] OR link <component> --component [component] [flags]

I think the link <service> --component [component] part is not accurate anymore

Removing

/lgtm
Thanks @mohammedzee1000 for this cleanup


Bazel can't compile Cython code that use files from core not within public header files

What version of gRPC and what language are you using?
gRPC version: 1.13.0-dev (Built from source)
Language: Python
What operating system (Linux, Windows, …) and version?
Operating System: Ubuntu
Version: 16.04 Xenial
Kernel: Kernel: x86_64 Linux 4.13.0-1013-gcp
What runtime / compiler are you using (e.g. python version or version of gcc)
Python version: 2.7.12 (Probably not relevant in this issue)
Bazel version: 0.14.1
What did you do?
NOTE: This setup is identical to #15736. Only difference is that I have NOT commented out the 2 lines in the 2 respective cygrpc Cython files.
I'm currently working on the GSoC project, "Enable building of gRPC Python with Bazel". For non gRPC related reasons, I have a new minified project setup (with only the relevant Python parts) which has gRPC as a third-party Bazel project. The structure of my minified project looks like this:
- grpc/ # <-- This is basically src/python/grpcio/grpc
-- _cython/
--- __credentials/
--- _cygrpc/
--- __init__.py
--- BUILD
--- cygrpc.pxd
--- cygrpc.pyx
--- grpc_python.bzl
--- ...
-- beta/
-- experimental/
-- framework/
-- __init_.py
-- ...
-- BUILD
-- requirements.txt
- tests/ # <-- This is basically src/python/grpcio_tests/tests
- third_party/
- WORKSPACE
- ...

I'm able to import gRPC as a third party Bazel project with a setup similar to this commit in google/ced.
My BUILD file for gRPC Python (grpc/BUILD) looks like this:
Click to view BUILD file

load("@grpc_python_dependencies//:requirements.bzl", "requirement")

package(default_visibility = ["//visibility:public"])

py_binary(
    name = "grpcio",
    srcs = ["__init__.py"],
    deps = [
        ":utilities",
        ":auth",
        ":plugin_wrapping",
        ":channel",
        ":interceptor",
        ":server",
        "//grpc/_cython:cygrpc",
        # "@grpccore//:grpc",
        requirement('enum34'),
        requirement('six'),
    ],
    data = [
        "@grpccore//:grpc",
    ],
    main = "__init__.py",
)

py_library(
    name = "auth",
    srcs = ["_auth.py"],
)

py_library(
    name = "channel",
    srcs = ["_channel.py"],
    deps = [
        ":common",
        ":grpcio_metadata",
    ],
)

py_library(
    name = "common",
    srcs = ["_common.py"],
)

py_library(
    name = "grpcio_metadata",
    srcs = ["_grpcio_metadata.py"],
)

py_library(
    name = "interceptor",
    srcs = ["_interceptor.py"],
)

py_library(
    name = "plugin_wrapping",
    srcs = ["_plugin_wrapping.py"],
    deps = [
        ":common",
    ]
)

py_library(
    name = "server",
    srcs = ["_server.py"],
    deps = [
        ":common",
        ":interceptor",
    ],
)

py_library(
    name = "utilities",
    srcs = ["_utilities.py"],
    deps = [
        ":common",
    ],
)

and my BUILD file for _cython (grpc/_cython/BUILD) looks like this:
Click to view BUILD file

package(default_visibility = ["//visibility:public"])

load("//grpc/_cython:grpc_python.bzl", "pyx_library")

pyx_library(
    name = "cygrpc",
    srcs = [
        "__init__.py",
        "cygrpc.pxd",
        "cygrpc.pyx",
        "_cygrpc/grpc_string.pyx.pxi",
        "_cygrpc/arguments.pyx.pxi",
        "_cygrpc/call.pyx.pxi",
        "_cygrpc/channel.pyx.pxi",
        "_cygrpc/credentials.pyx.pxi",
        "_cygrpc/completion_queue.pyx.pxi",
        "_cygrpc/event.pyx.pxi",
        "_cygrpc/metadata.pyx.pxi",
        "_cygrpc/operation.pyx.pxi",
        "_cygrpc/records.pyx.pxi",
        "_cygrpc/security.pyx.pxi",
        "_cygrpc/server.pyx.pxi",
        "_cygrpc/tag.pyx.pxi",
        "_cygrpc/time.pyx.pxi",
        "_cygrpc/grpc_gevent.pyx.pxi",
        "_cygrpc/grpc.pxi",
        "_cygrpc/arguments.pxd.pxi",
        "_cygrpc/call.pxd.pxi",
        "_cygrpc/channel.pxd.pxi",
        "_cygrpc/credentials.pxd.pxi",
        "_cygrpc/completion_queue.pxd.pxi",
        "_cygrpc/event.pxd.pxi",
        "_cygrpc/metadata.pxd.pxi",
        "_cygrpc/operation.pxd.pxi",
        "_cygrpc/records.pxd.pxi",
        "_cygrpc/security.pxd.pxi",
        "_cygrpc/server.pxd.pxi",
        "_cygrpc/tag.pxd.pxi",
        "_cygrpc/time.pxd.pxi",
        "_cygrpc/grpc_gevent.pxd.pxi",
    ],
)

The pyx_library rule is borrowed from tensorflow and looks like this:
Click to view .bzl file

"""Custom rules for gRPC Python"""

def pyx_library(
    name,
    deps=[],
    py_deps=[],
    srcs=[],
    **kwargs):
  """Compiles a group of .pyx / .pxd / .py files.
  First runs Cython to create .cpp files for each input .pyx or .py + .pxd
  pair. Then builds a shared object for each, passing "deps" to each cc_binary
  rule (includes Python headers by default). Finally, creates a py_library rule
  with the shared objects and any pure Python "srcs", with py_deps as its
  dependencies; the shared objects can be imported like normal Python files.
  Args:
    name: Name for the rule.
    deps: C/C++ dependencies of the Cython (e.g. Numpy headers).
    py_deps: Pure Python dependencies of the final library.
    srcs: .py, .pyx, or .pxd files to either compile or pass through.
    **kwargs: Extra keyword arguments passed to the py_library.
  """
  # First filter out files that should be run compiled vs. passed through.
  py_srcs = []
  pyx_srcs = []
  pxd_srcs = []
  for src in srcs:
    if src.endswith(".pyx") or (src.endswith(".py")
                                and src[:-3] + ".pxd" in srcs):
      pyx_srcs.append(src)
    elif src.endswith(".py"):
      py_srcs.append(src)
    else:
      pxd_srcs.append(src)
    if src.endswith("__init__.py"):
      pxd_srcs.append(src)

  # Invoke cython to produce the shared object libraries.
  for filename in pyx_srcs:
    native.genrule(
        name = filename + "_cython_translation",
        srcs = [filename],
        outs = [filename.split(".")[0] + ".cpp"],
        # Optionally use PYTHON_BIN_PATH on Linux platforms so that python 3
        # works. Windows has issues with cython_binary so skip PYTHON_BIN_PATH.
        cmd = "PYTHONHASHSEED=0 $(location @cython//:cython_binary) --cplus $(SRCS) --output-file $(OUTS)",
        tools = ["@cython//:cython_binary"] + pxd_srcs,
    )

  shared_objects = []
  for src in pyx_srcs:
    stem = src.split(".")[0]
    shared_object_name = stem + ".so"
    native.cc_binary(
        name=shared_object_name,
        srcs=[stem + ".cpp"],
        deps=deps + ["//third_party/python_runtime:headers"],
        linkshared = 1,
    )
    shared_objects.append(shared_object_name)

  # Now create a py_library with these shared objects as data.
  native.py_library(
      name=name,
      srcs=py_srcs,
      deps=py_deps,
      srcs_version = "PY2AND3",
      data=shared_objects,
      **kwargs
  )

What did you see?
My BUILD fails (command used: bazel build -s --explain=explain.txt --verbose_explanations //grpc:all).
The error log I'm seeing is:
INFO: Analysed 9 targets (0 packages loaded).
INFO: Found 9 targets...

INFO: Elapsed time: 0.368s, Critical Path: 0.11s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

I suspect this error: fatal error: src/core/lib/iomgr/error.h: No such file or directory is coming from src/python/grpcio/grpc/_cython/_cygrpc/grpc_gevent.pxd.pxi that uses src/core/lib/iomgr/error.h, which isn't one of the public headers and thus probably can't be used externally.
Anything else we should know about your project / environment?
Probably irrelevant, but I'm attaching the WORKSPACE file for my minified project here. It is extremely hacky right now and has some rendundant bits added intentionally to get things working sooner, since this setup is to be discarded eventually.
Click to view WORKSPACE file

load("//third_party/py:python_configure.bzl", "python_configure")

new_local_repository(
   name = "cython",
   path = __workspace_dir__ + "/third_party/cython/",
   build_file = "//third_party:cython.BUILD",
)

local_repository(
    name = "grpccore",
    path = "/home/ghostwriternr/grpc",
)

#
# gRPC bits
#

local_repository(
  name = "grpc",
  path = "/home/ghostwriternr/grpc",
)

new_http_archive(
    name = "com_github_madler_zlib",
    build_file = __workspace_dir__ + "/third_party/zlib.BUILD",
    strip_prefix = "zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f",
    url = "https://github.com/madler/zlib/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz",
)

http_archive(
    name = "boringssl",
    # on the master-with-bazel branch
    url = "https://boringssl.googlesource.com/boringssl/+archive/886e7d75368e3f4fab3f4d0d3584e4abfc557755.tar.gz",
)

new_local_repository(
    name = "com_github_cares_cares",
    path = __workspace_dir__ + "/third_party/cares/cares",
    build_file = "//third_party/cares:cares.BUILD",
)

# required binds...
bind(
    name = "protobuf",
    actual = "@com_google_protobuf//:protobuf",
)

bind(
    name = "protobuf_clib",
    actual = "@com_google_protobuf//:protoc_lib",
)

bind(
    name = "protocol_compiler",
    actual = "@com_google_protobuf//:protoc",
)

bind(
    name = "grpc_cpp_plugin",
    actual = "@grpc//:grpc_cpp_plugin",
)

bind(
    name = "grpc++",
    actual = "@grpc//:grpc++",
)

bind(
    name = "grpc++_codegen_proto",
    actual = "@grpc//:grpc++_codegen_proto",
)

bind(
    name = "protobuf_headers",
    actual = "@com_google_protobuf//:protobuf_headers",
)

bind(
    name = "zlib",
    actual = "@com_github_madler_zlib//:z",
)

bind(
    name = "libssl",
    actual = "@boringssl//:ssl",
)

bind(
    name = "cares",
    actual = "@com_github_cares_cares//:ares",
)

bind(
    name = "nanopb",
    actual = "@grpc//third_party/nanopb",
)

git_repository(
    name = "io_bazel_rules_python",
    remote = "https://github.com/bazelbuild/rules_python.git",
    commit = "8b5d0683a7d878b28fffe464779c8a53659fc645",
)

python_configure(name="local_config_python")

load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories", "pip_import")

pip_repositories()
pip_import(
    name = "grpc_python_dependencies",
    requirements = "//grpc:requirements.txt",
)

load("@grpc_python_dependencies//:requirements.bzl", "pip_install")
pip_install()

There needs to be a visibility allowance being added between the two targets - I think that's the whole point :-)

Are you suggesting this would then be a Bazel 'visibility' specific issue and not core itself? I have indeed set the default visibility for all my BUILD files (and WORKSPACE) to public. So would this then be a matter of listing these files under srcs or deps in the relevant target's build rules in the core BUILD file (currently at the project root)? If so, I can try and find out which targets these would belong to.
I'm not much familiar with core code, but I initially assumed this could be happening because of the access modifiers or visibility of code for the core targets that I'm using as dependencies.

Right - these files inside of the iomgr are set as srcs, while they'd need to be put as hdrs. The difference between the two is that a file that's in the hdrs section can be referenced by another target, while a file in the srcs section can only be referenced by the library itself.
It was the case before that nobody was supposed to use these files outside of the iomgr itself, but that's no longer the case if you wish to make a cython target that uses them.

@nicolasnoble thanks for the clarification! Like I had described in the issue, I'm currently using gRPC as a third-party Bazel project when I run into this problem. I'll experiment with these changes on my fork and send a patch upstream if I find that it's absolutely necessary to expose these files.


Enable actions to return more than one token.

Hi Chris.
I'm not sure if you're interested in this, but I wanted to make Lexer actions able to return more than one token.
The language I am parsing is whitespace aware, and I wanted to emit more than one outdent token if required, eg
foo
  bar
    baz

should return :VAR, :INDENT, :VAR, :INDENT, :VAR, :OUTDENT, :OUTDENT from the lexer.
I did this by patching the lexer to allow the action to return an array of arrays, so instead of
[ :OUTDENT, 1 ] it can return [[ :OUTDENT 1 ], [ :OUTDENT, 0 ]].
Feel free to merge if you think it's useful.

@chriswailes @jamesotron Hey guys, what's the status of this feature?

@nanowang If I remember correctly, this was dropped because @jamesotron found another way to accomplish his task.  If this is a feature you need, I can take a stab at getting it pushed up in the next couple of days.

@chriswailes Well, in fact I also found another way to accomplish the task (by using helper functions and custom instance var). So I don't think this is critical, though still would be a nice feature and make related code much more beautiful.
Thanks for your time!


merge: dev to master

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


fsoc solution push --wait hangs

I ran fsoc solution push --wait and it is repeatedly trying:
...
✓ Platform API call (GET /objstore/v1beta/objects/extensibility:solutionInstall?order=desc&filter=data.solutionName+eq+%22optimize-test-templating%22+and+data.solutionVersion+eq+%221.0.128%22&max=1)
✓ Platform API call (GET /objstore/v1beta/objects/extensibility:solutionInstall?order=desc&filter=data.solutionName+eq+%22optimize-test-templating%22+and+data.solutionVersion+eq+%221.0.128%22&max=1)
...

but the fsoc solution list shows my solution is already installed.

the solution listed in fsoc solution list actually does not mean the solution has been successfully installed. instead you may want to check with the command fsoc solution status.

true enough - thanks vm, that's sufficient to invalidate this bug report


Last release uses Swift3, which is not supported in Xcode 10.2

Master contains the migration to Swift 4, but was never released. Please, make a new release.

Version 2.2 is now released, migrated to Swift 5.


Enable batch video upload specific to a dataset

Two alternative ideas:

Force users to prefix their video file names with the dataset name
Create a video upload folder on the server for each dataset
Even then, we'd need to specify somewhere for a given dataset which gloss field it tries to match to the file names of the videos. Right now it's the Annotation ID Gloss: Dutch, but for some others (like Shanghainese) we would rather choose for the English gloss in the filenames.

FinSL-signbank just has a form that you can use to upload multiple files, and then a view in which you can link the videos to glosses. When uploading (multiple) videos you will have to select a dataset.

That's also a good idea. Workflow-wise I like the idea that people prepare file names in accordance with the glosses though, which would enable skipping the view. In the upload form, people would have to both specify the data set and the gloss field which is matched to the file names.

@ocrasborn close?

yes indeed @vanlummelhuizen


Array keys validation before set and unset them.

As set_userdata and unset_userdata are public methods which directly work with SESSION array they should have validation of sent keys.
By default Arrays have keys (int or string) and values - anything. This means that values don't have any validation while keys must be checked else there can be errors if clients send invalid format NULL/Object...
This is related to a previous PR from me which was poor.
Validation of keys is needed in those 2 places on setting and unseting session array items.
How ever this may cause need of either logging error or returning false. Specially at the case with setting data. I am not quite sure why there is no return at the moment.

That only makes it worse ... invalid inputs would now be silently discarded and you won't know that there's an error in your code at all.


[LIBCLOUD-880] Add a method for retrieving rates on Azure.

Add a method for retrieving rates on Azure
Description
Azure has an API for retrieving rates. This patch exposes it.
Status

done, ready for review

Checklist (tick everything that applies)

[X] Code linting (required, can be done after the PR checks)
[X] Documentation
[X] Tests
[N/A] ICLA (required for bigger changes)

@sorenh I'm not an Azure user, but I did pull in this PR and then ran tox.  LGTM. :-)

cool. good idea casting to a set in the test ;0) merging

@sorenh Btw, do you happen to be the same Soren who used to be the maintainer of the libcloud Ubuntu package (even before the Apache days and early Apache days if memory serves me right)?
If yes, thanks for that as well :)

@Kami Yes, that was me. :) You're very welcome. :+1:


Validator api update

resolves #778

@wemeetagain @tuyennhv I would rather merge this here and open another pr to merge master into 0.11 branch as this PR doesn't work without existing changes on the master not present in 0.11 branch

@mpetrunic  that's totally fine to me


Update README

This also removes an unused dependency from the wasmi crate which is used by wasmi_v1 instead.

Codecov Report

Merging #332 (b8017b5) into master (838da32) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #332   +/-   ##
=======================================
  Coverage   80.43%   80.43%
=======================================
  Files          73       73
  Lines        9345     9345
=======================================
  Hits         7517     7517
  Misses       1828     1828

Continue to review full report at Codecov.

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


Will not auto start for Microsoft Family Child Account

No option to install for all users so it will not load up for a Microsoft Family Child Account.  I tried installing for both profiles and I tried to manually add to child startup and added him as a user in security tab full control.  Still wont auto start at login like Logitech or Nvidia programs.  Not sure how to manually allow it for all users.
Edition	Windows 10 Pro
Version	21H1
Installed on	6/18/2020
OS build	19043.985
Experience	Windows Feature Experience Pack 120.2212.2020.0

Is there a workaround for this?


Creating Backend for Inventory and Garden Grid

Added new types folder with updated Plant, Seed, and Plot data structures
Plant, Seed, and Plot functions in mangers folder under PlantService, SeedSerice, PlotService (integrated with Firebase)
Plots and inventory listeners added to update in realtime
User info is loaded from Firebase on login and saved to Firebase every time a change is made
Each user in Firebase now has a plots, plants, and seeds collection with Plant, Seed, and Plot data types (parameters and transformed to Firebase fields with the .toFirebase() function)

resolved merge conflicts (I think) - need to check to make sure everything works through expo before approving merge


Test Artemis against S03 with latest Eiger Sim

We have a more up to date Eiger simulation now. We should use it to test Artemis.
Acceptance Criteria

New Eiger sim is used in s03 (old one removed)
The Artemis system tests pass against the new Eiger
New system tests are added to take advantage of any new capability of the new sim
A list of requirements is created for any features that the sim doesn't have that we would need for full system tests

@callumforrester am I right in thinking you're currently doing the first part?

@DominicOram Yes, WIP here: https://github.com/dls-controls/tickit-devices/pull/54, also requires https://github.com/dls-controls/tickit/pull/137, which is now a big enough change that I will probably split it into two PRs.


Automator: update common-files@master in istio/istio@master

Generated by Automator - 2022-02-25T17:25:34+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

integ-telemetry_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-telemetry_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

integ-telemetry_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-telemetry_istio

integ-pilot_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-pilot_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

integ-telemetry_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-telemetry_istio

integ-pilot_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-pilot_istio

integ-distroless_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-distroless_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

integ-telemetry_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-telemetry_istio

integ-pilot_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-pilot_istio

integ-distroless_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-distroless_istio

integ-helm_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-helm_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

integ-telemetry_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-telemetry_istio

integ-pilot_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-pilot_istio

integ-distroless_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-distroless_istio

integ-helm_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-helm_istio

integ-cni_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-cni_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

integ-telemetry_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-telemetry_istio

integ-pilot_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-pilot_istio

integ-distroless_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-distroless_istio

integ-helm_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-helm_istio

integ-cni_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-cni_istio

integ-security_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-security_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

integ-telemetry_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-telemetry_istio

integ-pilot_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-pilot_istio

integ-distroless_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-distroless_istio

integ-helm_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-helm_istio

integ-cni_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-cni_istio

integ-security_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-security_istio

integ-ipv6_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-ipv6_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-operator-controller_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-operator-controller_istio

integ-telemetry_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-telemetry_istio

integ-pilot_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-pilot_istio

integ-distroless_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-distroless_istio

integ-helm_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-helm_istio

integ-cni_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-cni_istio

integ-security_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-security_istio

integ-ipv6_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test integ-ipv6_istio

unit-tests_istio
20ca95e6fea734a75a38fff50701637b5ad9cb4f
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add a link to learn about pointers

Contributes to #123

i wonder if a basic primer on what stack/heap etc are might also help with this
this isn't bad: https://courses.engr.illinois.edu/cs225/fa2022/resources/stack-heap/

i wonder if a basic primer on what stack/heap etc are might also help with this this isn't bad: https://courses.engr.illinois.edu/cs225/fa2022/resources/stack-heap/

Good shout! Added, and added a little commentary about the differences between the C++ used in examples and Go they will be writing, with a few breadcrumb links to follow up if they're interested.