chainntnfs/bitcoindnotify: fix mutex unlock when registering spend ntfn

This may fix (possibly) #1023, #1024, possibly/partially #760.

I'm unable to build, I get the following error:
vendor/github.com/lightninglabs/neutrino/blockmanager.go:1233:18: cfheaders.HeaderHashes undefined (type *wire.MsgCFHeaders has no field or method HeaderHashes)
vendor/github.com/lightninglabs/neutrino/blockmanager.go:1247:28: cfheaders.HeaderHashes undefined (type *wire.MsgCFHeaders has no field or method HeaderHashes)
vendor/github.com/lightninglabs/neutrino/blockmanager.go:1281:32: cfhmsg.cfheaders.HeaderHashes undefined (type *wire.MsgCFHeaders has no field or method HeaderHashes)
vendor/github.com/lightninglabs/neutrino/neutrino.go:228:32: not enough arguments in call to wire.NewMsgGetCFHeaders
        have ()
        want (wire.FilterType, uint32, *chainhash.Hash)
vendor/github.com/lightninglabs/neutrino/neutrino.go:229:5: msg.HashStop undefined (type *wire.MsgGetCFHeaders has no field or method HashStop)
vendor/github.com/lightninglabs/neutrino/neutrino.go:231:13: msg.AddBlockLocatorHash undefined (type *wire.MsgGetCFHeaders has no field or method AddBlockLocatorHash)
vendor/github.com/lightninglabs/neutrino/neutrino.go:443:10: msg.HeaderHashes undefined (type *wire.MsgCFHeaders has no field or method HeaderHashes)
vendor/github.com/lightninglabs/neutrino/query.go:390:3: undefined: wire.NewMsgGetCFilter
make: *** [build] Error 2

@chrisrico  I'm going to cherry-pick a commit that fixes this from another PR and then you can dep ensure and rebuild. master is in a state between merging some btcd commits and merging the corresponding neutrino commits.

I lied, the commit is now merged. I'm going to rebase and force-push again.

@chrisrico Please try again.

Confirmed fixed.


Upgrade fluent-templates to 0.2

I depend on both leptos-fluent and fluent-templates and if one of them isn't the same version, my types would have a mismatch. Can you please upgrade it to 0.2?

I think that you're referring to v0.12. Was released yesterday, see https://github.com/mondeja/leptos-fluent/blob/master/CHANGELOG.md#2024-12-23---021

No, I really meant<EMAIL_ADDRESS>https://github.com/XAMPPRocky/fluent-templates/pull/85
This was merged yesterday.


Add more tests sparse solvers

Codecov Report

Merging #55 (425c1d7) into main (587decd) will increase coverage by 0.79%.
Report is 66 commits behind head on main.
The diff coverage is 97.35%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
+ Coverage   97.97%   98.76%   +0.79%
==========================================
  Files         104      105       +1
  Lines       20947    21844     +897
==========================================
+ Hits        20523    21575    +1052
+ Misses        424      269     -155

Files
Coverage Δ

russell_sparse/src/auxiliary_and_constants.rs
100.00% <100.00%> (ø)

russell_sparse/src/coo_matrix.rs
100.00% <100.00%> (ø)

russell_sparse/src/csc_matrix.rs
99.35% <100.00%> (+1.41%)
:arrow_up:

russell_sparse/src/csr_matrix.rs
99.56% <100.00%> (+1.18%)
:arrow_up:

russell_sparse/src/lin_solver.rs
97.26% <100.00%> (ø)

russell_sparse/src/read_matrix_market.rs
100.00% <100.00%> (ø)

russell_sparse/src/samples.rs
100.00% <100.00%> (ø)

russell_sparse/src/sparse_matrix.rs
97.87% <100.00%> (+52.73%)
:arrow_up:

russell_sparse/src/verify_lin_sys.rs
100.00% <100.00%> (+1.35%)
:arrow_up:

russell_sparse/src/stats_lin_sol.rs
99.24% <99.24%> (ø)

... and 4 more

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix: remove unnecessary sleep and pull

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use CMake instead of Make

It would be nice to replace GNU Make makefile with CMake makefile. In addition, you have to write a Wiki page explaining CMake as good as this page explains GNU Make

@col14m Hope you are well. Do you have any news regarding CMake?

@col14m You are working for a month here, it would be nice if you shared some code at some branch. Actually I think we may keep both CMake and Makefile for some time.

@col14m Any news, any updates?

@SoshinK The only one week is left before deadline. Do you estimate to have everything working beforehand?

Good day(night?), Pavel. You probably thought that I gave up. In fact, I am still in. By that moment, I made Cmake for simulator(and a short buildscript for fast launch). But I have some problems with unit test for infra/config and with clang-tidy(It says 'stddef.h' not found). What should I do? Here solution(or should I make a pull request?): https://github.com/SoshinK/mipt-mips

That's great!
Please merge with the latest version and integrate CMake to Travis. Then do a pull request so I can see output.

Please open a pull request so I can comment your code

I still didnt cope with travis.yml

The page: https://github.com/MIPT-ILab/mipt-mips/wiki/cmake

I havent finished wiki about CMake yet

There the first part https://github.com/MIPT-ILab/mipt-mips/wiki/CMake

OK, looks good. I'll make some fixes (spelling, grammar) if needed.
Could you please add a section "Further Reading" to list additional sources of information (e.g. the one you used)?

@SoshinK What about README changes?


Check for missed fields

Hi, it's me again=)
lurker is works for me, but i note, that when i remove some fields from my api lurker specs stay green. But, when i add some new field - lurker tests is red. Is it valid behavior? How to check removed fields?

It's defaults: as in readme:

Feel free to edit  according to json-schema standard,  can be very strict and flexible if you wish

there are keys additionalProperties and required in schema which should allow to tune adding and removing fields
the choice not to mark everything under required is still questionable and done when trying to share same schema (without using suffixes) across everything: I didn't want to setup database before every single spec-request, so the amount of red results when lurking bunch of specs was frustrating

@razum2um, thanks! So i need to change yml files by hands? Maybe adding some configuration flag for specs is good idea? Something like this for rspec
it 'list users', lurker: { required: :all } do
  get '/api/users'
end

So i need to change yml files by hand
the more you invest into json-schema the more payback ;)

lurker: { required: :all }
maybe :) one thing to think about: this info is needed only when you intend to re/write schemas automatically, there was an idea of LURKER_UPGRADE flag (back to https://github.com/square/fdoc design), so maybe it should be env variable + you run only needed specs (rspec is cool at this)

@Strech @sponomarev what do you think?

required: :all  is inappropriate, because we can't choose which properties are required, and which are not. YML scheme is enough here. But any upgrade option could be cool.

@sponomarev  :all is just an example, you can use [:array, :of, :fields], but, i supporse, for most cases, validation of all fields is preffered

@zhulik too much info about format in specs, which is just easy way to generate initial  yml scheme imo

@zhulik [:array, :of, :fields] when handling nesting we could end up with hiccup like style duplicating schemas in spec & yml :)

@sponomarev, you right, too much info here is not good. But, when user need to generate schemas for  20-30 endpoinds with all fields required he must update every yml file.Too many time for it is not good too.
And this case not my=), just hypotetical
@razum2um, you right too, nesting will be ugly threre


Unnecessary errors in the log output of Woodpecker agent with the Docker backend using a Podman socket

Component
agent
Describe the bug
The logs produced by the Woodpecker agent misleadingly contain unnecessary error entries when running the Docker backend with Podman.
Similar to: https://github.com/woodpecker-ci/woodpecker/issues/85#issuecomment-1836750811
Steps to reproduce

Install the latest Woodpecker server and agent (v2.7.3, both running in containers).
Configure the agent to use a rootless Podman socket with the Docker backend. Make sure that the minimum log level is "error" on the agent.
Run any pipeline that creates some containers with that agent. Verify that the pipeline finishes without errors in the Woodpecker server.
Verify that the environment managed by the Woodpecker agent is cleaned up.
View system log output of Woodpecker agent.

Expected behavior
I expect to see no error messages in the Woodpecker agent logs if the pipeline succeeds fully and the environment managed by the agent is cleaned up afterwards.  However, during cleanup, the following output is produced:
Nov 12 14:50:56 test-vm woodpecker-agent[457598]: {"level":"error","error":"Error response from daemon: no container with name or ID \"wp_01JCGDP7ZXN06SS9FE0PMAND10\" found: no such container","time":"2024-11-12T14:50:56Z","caller":"/src/pipeline/backend/docker/docker.go:330","message":"could not remove container 'test'"}
Nov 12 14:50:56 test-vm woodpecker-agent[457598]: {"level":"error","error":"Error response from daemon: no container with name or ID \"wp_01JCGDP7ZXN06SS9FE0PMAND10\" found: no such container","time":"2024-11-12T14:50:56Z","caller":"/src/pipeline/backend/docker/docker.go:327","message":"could not kill container 'test'"}
Nov 12 14:50:56 test-vm woodpecker-agent[457598]: {"level":"error","error":"Error response from daemon: no container with name or ID \"wp_01JCGDP7ZXN06SS9FE0MP2RT54\" found: no such container","time":"2024-11-12T14:50:56Z","caller":"/src/pipeline/backend/docker/docker.go:330","message":"could not remove container 'build'"}
Nov 12 14:50:56 test-vm woodpecker-agent[457598]: {"level":"error","error":"Error response from daemon: no container with name or ID \"wp_01JCGDP7ZXN06SS9FE0MP2RT54\" found: no such container","time":"2024-11-12T14:50:56Z","caller":"/src/pipeline/backend/docker/docker.go:327","message":"could not kill container 'build'"}
Nov 12 14:50:56 test-vm woodpecker-agent[457598]: {"level":"error","error":"Error response from daemon: no container with name or ID \"wp_01JCGDP7ZXN06SS9FE0HXAN180\" found: no such container","time":"2024-11-12T14:50:56Z","caller":"/src/pipeline/backend/docker/docker.go:330","message":"could not remove container 'clone'"}
Nov 12 14:50:56 test-vm woodpecker-agent[457598]: {"level":"error","error":"Error response from daemon: no container with name or ID \"wp_01JCGDP7ZXN06SS9FE0HXAN180\" found: no such container","time":"2024-11-12T14:50:56Z","caller":"/src/pipeline/backend/docker/docker.go:327","message":"could not kill container 'clone'"}

As mentioned earlier, in my research I found the following: https://github.com/woodpecker-ci/woodpecker/issues/85#issuecomment-1836750811
I believe making the contains call in the isErrContainerNotFoundOrNotRunning function case-insensitive would fix this issue, but I do not have any Go experience to test / fix it.
System Info
Output of https://woodpecker-server/version:
{"source":"https://github.com/woodpecker-ci/woodpecker","version":"2.7.3"}

Podman version (distro package installed with # apt install):
woodpecker-agent@test-vm:~$ podman version
Client:       Podman Engine
Version:      4.3.1
API Version:  4.3.1
Go Version:   go1.19.8
Built:        Thu Jan  1 00:00:00 1970
OS/Arch:      linux/arm64

OS-info:
woodpecker-agent@test-vm:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"

Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]

In other words, you are requesting support for podman backend? So, duplicate? :)

Even though I would really like a native Podman backend, I'm fine with the current state of support as mentioned in the docs: https://woodpecker-ci.org/docs/administration/backends/docker#podman-support
For a simple pipeline that doesn't do anything Podman-specific, I still expect my setup to work without producing error messages.

I'm fine with the current state of support

If you was fine, there won't be the issue.

support as mentioned in the docs

"support" 🤣  It was a hack. It works until it doesn't. The same was with Forgejo/Gitea.
Will Drone plugins work with Woodpecker? How long? What is the level of support?
Will Drone's runner work with Woodpecker server? How long? What is the level of support?

However, I agree with you, there is a bug in documentation.

@zc-devs Your last comment reads quite snarky. @IvoWingelaar Only reported something he observed which doesn't seem alright, even being aware of non-native podman support. It is surely better to do so than not, and users should be encouraged to do so rather than their report being mangled into pieces (especially if it was well written in the first place).
@IvoWingelaar AFAIK nobody is actively working on extending the current podman support. So nothing will change in the near future. Contributions are always welcome, of course. As there isn't any official support for it, this is likely not a bug but more likely a FR. I'll leave it up to you to select the label.

nobody is actively working on extending the current podman support. So nothing will change in the near future. Contributions are always welcome, of course. As there isn't any official support for it, this is likely not a bug but more likely a FR

That is what I've said.

FR
It is surely better to do so [make duplicates] than not, even being aware of existing ones
[ checked ] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

OK.

snarky

It is, how it is. Sadly, it often ends with that excuse. I wasn't Go dev also, nor DevOps.

I do not want to derail the topic of this issue, but I am scratching my head on this:

"support" 🤣 It was a hack. It works until it doesn't. The same was with Forgejo/Gitea.

I do not want to misinterpret this, but this is important: is Woodpecker's support for Forgejo considered a "hack"? My impression, per the docs is that the support is considered experimental ATM. Calling it experimental gives me the impression that there is at least a future intention within the project towards eventual stabilization and support, calling it a hack does not give me the confidence to say the same.
I am asking because I am running Woodpecker + Forgejo, even though I am aware of Forgejo Actions. I specifically and knowingly chose Woodpecker as a CI tool over Forgejo Actions, as I'm convinced that the execution model of Actions is badly designed. I would very much prefer to be able to use Forgejo with Woodpecker in the long run.

is Woodpecker's support for Forgejo considered a "hack"?

No. I said it was, see explanation below.

My impression, per the docs is that the support is considered experimental ATM

Why? As I can see there was experimental warning in 2.7, but in next it is gone.

calling it a hack

There was no Forgejo, right? Obviously, no support.
Then Gitea was forked softly as Forgejo. So, Woodpecker users used Forgejo as Gitea. Literally, using WOODPECKER_GITEA_* vars they pointed WP to Forgejo instead of Gitea. It worked for a while. That is what I call a hack. The same as in your Docker/Podman thing.
Then Forgejo became hard fork and introduced some change, which broke Woodpecker. You can search for this bug, if interested.
Woodpecker's maintainers made dicision to copy Gitea implementation, but adjusted the code accordingly using other library (dedicated to Forgejo). So, it became officially supported. Without hacks.

Thanks for the clarification @zc-devs, I do admit to not having clicked on the next version of the website docs, but I wanted some explicit confirmation to be sure.


Add another select on the right columns

Hi,
Is it possible to add another select list on the right?
I want to add 4 select list near the div class available.. i want to known if it's possible and easy because i'm a begining in jquery... and in english too!
Thanks for your help,
Antoine

If you are a beginner in jquery i would not recommend playing with this at all.


Initial Check-in of Documents.

@jinlccs,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Map - marker mouse-over popups are flashing every two seconds

This is currently an issue on main on qa.vectorbase.org - in Firefox and Chrome at least.
Sorry no video!
As-yet unmerged work on multiple marker selection, popup placement and click handling are not the cause (though note that the popup placement (now fixed) alternates every two seconds).
May be related to #573 ?
It's a recent regression though, just not sure exactly when/what caused it.

I will check this out later

@bobular I think that the problem is not popup in this case but actually refinedMarkers are kept regenerating due to continous change on because consolidatedMarkers. I think that it is related to your recent FlyTo work and honestly, I don't know well about it. So you can check this out.
https://github.com/VEuPathDB/web-monorepo/blob/bccb49074b3e76aa894114182d99a5612467bc28/packages/libs/components/src/map/SemanticMarkers.tsx#L173
https://github.com/VEuPathDB/web-monorepo/blob/bccb49074b3e76aa894114182d99a5612467bc28/packages/libs/components/src/map/SemanticMarkers.tsx#L123


Are asynchronous mutations supported?

I have the following method in a Mutation class:
[GraphQLMutation]
[GraphQLAuthorize(Roles.Admin)]
public async Task<Expression<Func<DatabaseContext, IQueryable<Device>>>> Scan(DatabaseContext databaseContext, Func<Task<IdentityUser>> getUser, IJobManager jobManager)
{
    var ids = await jobManager.StartWaitAsync<IEnumerable<int>, IDetectDeviceCommand>(ddc => ddc.ScanAsync()).ConfigureAwait(false);
    return ctx => ctx.Devices.Where(x => ids.Contains(x.Id));
}

But i get the error:
EntityGraphQL.Compiler.EntityGraphQLCompilerException: 'No mapped entity found for type 'System.Threading.Tasks.Task`1[System.Linq.Expressions.Expression`1[System.Func`2[MiFloraGateway.Database.DatabaseContext,System.Linq.IQueryable`1[MiFloraGateway.Database.Device]]]]''

Are there any plans for allowing async mutations?

Hey I too noticed this last week. Thanks for reminding me.
Short answer yes I plan to support it. I haven’t looked into it yet and probably won’t have time for a week or so.

From: Peter<EMAIL_ADDRESS>Sent: Saturday, May 23, 2020 4:10:41 AM
To: lukemurray/EntityGraphQL<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [lukemurray/EntityGraphQL] Are asynchronous mutations supported? (#50)
I have the following method in a Mutation class:
[GraphQLMutation]
[GraphQLAuthorize(Roles.Admin)]
public async Task<Expression<Func<DatabaseContext, IQueryable>>> Scan(DatabaseContext databaseContext, Func<Task> getUser, IJobManager jobManager)
{
var ids = await jobManager.StartWaitAsync<IEnumerable, IDetectDeviceCommand>(ddc => ddc.ScanAsync()).ConfigureAwait(false);
return ctx => ctx.Devices.Where(x => ids.Contains(x.Id));
}
But i get the error:
EntityGraphQL.Compiler.EntityGraphQLCompilerException: 'No mapped entity found for type 'System.Threading.Tasks.Task1[System.Linq.Expressions.Expression1[System.Func2[MiFloraGateway.Database.DatabaseContext,System.Linq.IQueryable1[MiFloraGateway.Database.Device]]]]''
Are there any plans for allowing async mutations?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/lukemurray/EntityGraphQL/issues/50, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABGHUKDEE22ZVJ2GUXITGTRS252DANCNFSM4NIBOSEQ.


[5.9] Add explicit font-styles for h1/h2 in doc content

Explanation: Adds explicit typography styling to h1s within article/symbol content instead of relying on browser defaults.
Scope: Impacts styling of h1s in article prose
Issue: rdar://105804332
Risk: Low, may impact typography styling of h1 and h2 elements in article prose
Testing: Visual inspection of example headings
Reviewer: @hqhhuang, @dobromir-hristov
Original PR: #555

@swift-ci test


Use lerna to manage fela packages

Environment: Both
Type: Infrastructure

Description
Fela repo is already a monorepo. But it lacks a tool to facilitate dependency management, package deployment, etc.. Having something like Lerna to manage this monorepo will have a more robust environment to deploy and test.

just discovered this


css:  Remove focus outline on simplebar wrapper elements.

This removes the focus outline on simplebar-content-wrapper in the left sidebar and other places in the app when focused since it doesn't look visually nice.
discussion: https://chat.zulip.org/#narrow/stream/9-issues/topic/extraneous.20box.20in.20left.20sidebar
Only way I could reproduce was just tabbing in a topic narrow to get to the left sidebar.

Merged, thanks @amanagr!


Is it possible to use a playwright config with this package?

Hello and thanks for this package.
I was looking at the docs, then at startPlaywright() and don't see this, but may have missed something?
https://github.com/Meteor-Community-Packages/meteor-browser-tests/blob/f543396ba622a5c371f18b554c815c0a9116b277/browser/playwright.js#L4
My goal is to override the baseURL for my headless client tests (see below, although the details probably don't matter here).
I have been digging around, but don't see a way to pass a config file to meteor test with TEST_BROWSER_DRIVER=playwright in the same way that one can pass -c my-playwright-config.js to npx playwright
Did I miss something?
Thank you.
import { defineConfig } from '@playwright/test'

export default defineConfig({
  use: {
    baseURL: 'https://www.my-base-url.com:3000'
  },
})

Looks like I misunderstood a few things about Playwright and this package. Closing...


[#78] Restore build compatibility with iRODS 4.3.1 packages

Addresses #78

so readable and clean.    we must be from the future....

Looks good. Does it compile against 4.3.1 packages?

Yes indeed.

#'d


GTDB taxonomy for CAT

This is just to remember where I found this.
A tool to convert the GTDB taxonomy to the NCBI taxdump format that CAT uses: https://github.com/nick-youngblut/gtdb_to_taxdump

Do we want this feature for the release?

No, I think we can wait with this.

Since we are not sure whether we want to keep CAT, I will close this issue. we can open it again in the future.


Send short commit SHA to libddprof-build

What does this PR do?
Send short commit SHA to libddprof-build
This information is used to define the binary name in Datadog's s3 repository.
Motivation
Fix the binary naming in s3 insuring that we do not override existing binaries.
Additional information
if PR https://github.com/DataDog/libddprof/pull/7 is merged, then it will already contain this change.
How to test the change?
Triggering the downstream build in libddprof-build generates a binary that will contain the short SHA in the name of the binary.
Build link (usable only by Datadog people) : https://gitlab.ddbuild.io/DataDog/libddprof-build/-/jobs/95168459

Closing as PR#7 is merged


Fix behavior of str method of Expr

Show quatations of str constants
Show values of list and tuple constants
Fix behavior of GetAttr by second arguments

LGTM except some comments.

Thank you!


Improvements

Hi! I made a couple improvements, given your version is the most popular I thought I'd contribute back.

makes the local setup a bit better for testing (until I realized there are no tests :joy:)
adds sounds
increases the face count to 10
you can turn off the sounds

Most faces are .webp as I could find decent images for them, but one is .png because it was missing and I had to make it myself. It's a shitpost anyway so I doubt you'll mind, but if you do I can convert it to webp for consistency.

@ttoowa pls merge asap

Thank you!

@AcrylicShrimp can you please release a version? The extension is not updated in VSCode

For the time being, you can use my version, it includes all these changes: https://marketplace.visualstudio.com/items?itemName=kubukoz.incredibly-uncanny

Thanks king :crown:


Create mobile menu for portfolio project.

In this part of the project I created the mobile menu for the portfolio project.
Note: My mistak, I forgat to commit the mobile menu in Mobile-menu branch please check check the last tow commit in this repo.

Project Status: INVALIDATED :red_circle:
Hi @Salarhabibi-amir ,
While you made a great effort in this project, I can't go ahead and review your code.

Invalid Code Review Request

This is because you have submitted a project, pair-programming activity and as a result needs to have commits from both you and your partner or partners. 💯
However, if for some reason you have to do the project alone, then attach a screenshot of the message you received from student success stating that you can do the project alone in the pull request description 👍
Your Commit history

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @NahnahAJ in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Will this framework provide support for Windows.UI.Input.Spatial inside JS?

Does HoloJS provide a way (or intends to provide in the future) to use SpatialGestureRecognizer from the JS files?
Or is it beyond the goal of this library and we are expected to add that functionality via C++ code?

Yes, it will provide support for input. You should not have to write any C++ code. We're still evaluating a good mapping of HoloLens input concepts to JavaScript / DOM events.

Nice, thanks!

Sorry for the long wait time. This is now in PR and should merge to master in a couple of days.

Basic input is now merged into master. You can set event listeners for hand pressed, released, update, lost and detected. The event  contains the location of the hand, relative to stationary frame of reference of the scene as well as the current pressed state.
Look at the WebGL or ThreeJS sample apps for examples.
If needed, please open new issues for more advanced spatial input support and we'll look into it.


BZ1333277: Upgrade of XStream library to 1.4.9 causing exceptions during Project navigation

See https://bugzilla.redhat.com/show_bug.cgi?id=1333277
I've tested this with both XStream 1.4.7 (currently used on master); and XStream 1.4.9 (used by KIE master, 6.3.x and 6.4.x). See https://bugzilla.redhat.com/show_bug.cgi?id=1322171. I've asked @mbiarnes to consider upgrading Uberfire to 1.4.9 too for consistency.

Just FYI: XStream will be upgraded once we move to ip-bom 7.0.0.CR2 on master (work in progress...).

+1 to merge


Start cleaning up tests/e2e/.

(This will need a few rounds of CI runs to reflect the latest test statuses and fully sync test suites across backends/configs)
Assorted cleanup across the tests/e2e/ folder:

Remove some redundant or incorrect comments
Moved some Metal and ROCm tests from being exclusively defined in CMake to being defined (but then no-op'd) in Bazel

Taught the test function to insert --iree-rocm-target-chip=${IREE_HIP_TEST_TARGET_CHIP} (not happy that this is required though)

Added some rocm/hip tests that were missing
Merged test srcs down to a single ALL_SRCS glob for test suites that work across all configurations

Some of this is wishful thinking and may need to be split back out
If these actually work, we can switch from iree_check_single_backend_test_suite to just iree_check_test_suite

Added missing tests target collections to test_suite (could also just remove these, they are a convenience for Bazel users)
Tried enabling previously disabled tests (some were tagged with issues that were tentatively marked fixed and we don't support XFAIL tests here)

Some are known-failing (e.g. attention tests) but we don't have enough visibility into how bad the problems are

nice! thanks for looking at this - tests that only run on certain build systems, on certain targets, are persistently disabled, or run only with specific non-standard configuration is a big scaling tax.

More ideas for refactoring: https://github.com/iree-org/iree/issues/4644#issuecomment-1832433233
(deciding between scoped, incremental improvements and hack-and-slash refactorings...)

Closing in favor of smaller PRs.


[Feature Request] Custom ID Generator

I wonder if there is a way to set a custom IDGenerator for SpanID and TraceID. According to this document: https://docs.splunk.com/Observability/gdi/get-data-in/application/go/troubleshooting/migrate-signalfx-go-to-otel.html#replace-startspanoption-instances

Span IDs are automatically set. If you require custom span IDs, create a custom IDGenerator.

But I can 't figure out how to do ir currently using distro.Run(...) Options.
In order to do it now I have to create a new TracerProvider with all the TracerProviderOptions in distro/otel.go Run function.
I think it would be useful to have an Option to add a custom IDGenerator to the initial instrumentation.
Thanks

Sorry for tagging this as a bug. I think enhancement label would fit better

closing this issue because it was added in this PR


Multiple page PDF is taking too much resources

I try to convert a 42 pages pdf and It kill my laptop. I think that can be fix it if we add a property to limit the max quantity pages that can be process at time.

The issue come from var pageCount which have a wrong incredibly long value. I fix it on my pull request : #19
Your solution is useful to larger pdf, but can you add an offsetPage attribute to be able to continue treatment after first pass ?

Actually, the issue come from the pages' quantity that try to process at same time, but your fix is very useful and necessary. I'll try to integrate this with your PR when I have free time.


Add a bit more explanation to the extra_packages variable

Today I ran into the extra_packages variables in my config.yml file. I had a hunch that it could be of use to me, but I had to track it back a bit to provisioning/tasks/extras.yml and to this ticket to understand what it exactly does.
In my case it was perfect to provision the unzip package (for usage in downloading libraries by Drush make files). So, I propose to add a bit more explanation to the variable to make it more clear on how to use it and what it expects.

I like the idea—sometimes it's best to have a little more explicit direction, especially since the name of the variable is generic and doesn't include 'apt' or 'yum' in it. I'm going to merge this work then try to make the documentation line a little more succinct.


@logfire.instrument should work in bear mode

Description
e.g.
@logfire.instrument
def foobar(a, b, c):
    ...

E.g. not require @logfire.instrument().

@alexmojaki are you going to do this as well? or can @sydney-runkle / @Kludex do it?

Anyone can do this


ES6 support in react-native-image-picker?

How can I use by es6 ?

There's nothing stopping you from using es6 with this library if you set up your environment correctly. Use Babel


Update indice_atmo.md

Update image + text
=> careful to check if image works with markdown + code in app (check for Android AND Apple)

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


Sporadic 'TypeError: wrong argument type Fixnum' in datastore client

This is single occurrence exception, recovered itself on retry:
Unexpected error: TypeError: wrong argument type Fixnum (expected Google::Protobuf::Map)
/app/vendor/bundle/ruby/2.3.0/gems/grpc-1.0.0-x86_64-linux/src/ruby/lib/grpc/generic/rpc_desc.rb:62:in `decode' Context
/app/vendor/bundle/ruby/2.3.0/gems/grpc-1.0.0-x86_64-linux/src/ruby/lib/grpc/generic/rpc_desc.rb:62:in `call' Context
/app/vendor/bundle/ruby/2.3.0/gems/grpc-1.0.0-x86_64-linux/src/ruby/lib/grpc/generic/rpc_desc.rb:62:in `block in unmarshal_proc' Context
/app/vendor/bundle/ruby/2.3.0/gems/grpc-1.0.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:231:in `remote_read' Context
/app/vendor/bundle/ruby/2.3.0/gems/grpc-1.0.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:309:in `request_response' Context
/app/vendor/bundle/ruby/2.3.0/gems/grpc-1.0.0-x86_64-linux/src/ruby/lib/grpc/generic/client_stub.rb:167:in `request_response' Context
/app/vendor/bundle/ruby/2.3.0/gems/grpc-1.0.0-x86_64-linux/src/ruby/lib/grpc/generic/service.rb:184:in `block (3 levels) in rpc_stub_class' Context
/app/vendor/bundle/ruby/2.3.0/gems/google-cloud-datastore-0.20.1/lib/google/cloud/datastore/service.rb:83:in `block in lookup' Context
/app/vendor/bundle/ruby/2.3.0/gems/google-cloud-datastore-0.20.1/lib/google/cloud/datastore/service.rb:151:in `block in execute' Context

grpc (1.0.0)
google-cloud-datastore (0.20.1)
I'm afraid it resembles memory corruption error from the past, which manifested in similar protocol errors.

Do you have an example or type of the protobuf object that's getting decoded, e.g., the expected protobuf request type?
The last similar error happened frequently when doing lots of protobuf unmarshals of a certain protobuf message used in datastore, while turning GC on and off, but that doesn't seem to be working as easily here.

actually do you know which version of the google-protobuf gem was installed when this happened?
I think the fix of the similar-looking issue in https://github.com/google/protobuf/issues/2004 appears in 3.3.4 or later.

@apolcyn google-protobuf (3.0.2) how do you know  it was fixed in 3.3.4? As far as I remember 3.0.2 was supposed to include the fix, but I can not find a confirmation now

thanks I see, so that fix should have been there.
But I've unfortunately been unable to reproduce.
Are there any proto definitions, copies of the actual ruby protobuf object, or grpc call type (unary, streaming) known to trigger this?

@apolcyn Proto definitions and call types - it is google-cloud-datastore (0.20.1) client.  From the stack trace I see it was Datastore lookup call. Also this happened only once so far, contrary to pretty frequent occurrences  with pre-3.0.2 version.

Realize this issue was never clearly resolved, but do we know if this has been seen since? Just by the type in the stack trace, I suspect it might have been fixed by one of the protobuf bug fixes since the OP (e.g. https://github.com/google/protobuf/pull/3560)


Couldn't get test result from serial on up_squared board.

Describe the bug
running some tests on up_squared, the console log will stop at the "Booting Zephyr OS" step, and couldn't get test result.
git bisect and found the first bad commit is  928d3112.
To Reproduce
Steps to reproduce the behavior:

west build -b up_squared -p auto tests/kernel/common/
west flash ~/up_squared.sh
see error

Logs and console output
***** delaying boot 500ms (per build configuration) *****
*** Booting Zephyr OS build zephyr-v2.3.0-809-g897b5bf60a12  (delayed boot 500ms) ***
Environment (please complete the following information):

OS: Fedora28
Toolchain: Zephyr-sdk-0.11.4
Commit ID: 897b5bf60a

seems x86_64 is broken, see also https://buildkite.com/zephyr/zephyr/builds/2229

This should be fixed by #26687.

fixed by #26687


Add guide for deploying Stackdriver Logging

This PR introduces instructions how to install Stackdriver Logging in your cluster.
/cc @piosz @steveperry-53 @devin-donnelly @igorpeshansky @sharbison3

This change is

@devin-donnelly Thanks for taking a look! I have a question about one comment of yours, otherwise it looks great, I applied all your changes.
PTAL

@crassirostris Thanks! I responded to your comment; let me know if that doesn't help you.

Since this was tagged as 1.6, I changed the base to the release-1.6 branch.

@devin-donnelly Thanks for clearing this out! I changed several places accordingly, not only the one you applied the comment to. Will follow this in the future.
PTAL

@piosz PTAL

LGTM, please squash commits before merge


Transparent window is not working

We have to also configure the webview render to actually make the window 💿

[x] Linux
[x] macOs
[ ] Windows

Windows is possible but right now it requires edge dev/canary. I think I'll add this note to comment and close this.


Connection failed (no connection to the remote host). Internal error: 1 - from Azure Function

Describe the bug
I'm following this guide:
https://github.com/Microsoft/vscode-iot-workbench/blob/master/docs/iot-devkit/devkit-translator.md
The azure function code:
var speechTranslation = new SpeechTranslation(speechSubscriptionKey, speechServiceRegion, log);
string result = await speechTranslation.TranslationWithAudioStreamAsync(req.Body, fromLanguage);
log.LogInformation("Translation result: " + result);
The printed logs:
Session started event.
2018-12-05T16:01:05.333	CANCELED: Reason=Error
2018-12-05T16:01:05.333	CANCELED: ErrorCode=ConnectionFailure
2018-12-05T16:01:05.333	CANCELED: ErrorDetails=Connection failed (no connection to the remote host). Internal error:
2018-12-05T16:01:05.333	CANCELED: Did you update the subscription info?
To Reproduce
Steps to reproduce the behavior:
Follow this guide, and create the azure function that communicate with speach recognition
https://github.com/Microsoft/vscode-iot-workbench/blob/master/docs/iot-devkit/devkit-translator.md
Version of the Cognitive Services Speech SDK

Platform, Operationg System, and Programming Language

OS: Windows azure function

Seems the Azure function staying in North Europe cannot talk to Cognitive services in westeurope. I created another CogServices in North Europe and it worked

closng this ....


Races: fp, quali, and sprint times not being saved

Fixed with updates to optional date/time parsing.


⚠ Bofrost.be has degraded performance

In 7823635, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3006 ms

Resolved: Bofrost.be performance has improved in 8ce4837.


Expressions with null

Description
Added support for checking for "null" in the expressions.
With this change expressions like /response == null or /response != null can be specified as shown below
 processor:
     - grok:
        match:
          message: ['%{IPORHOST:clientip} (?:%{WORD:ident}|-) (%{USER:auth}|-) \[%{HTTPDATE:timestamp}\] "(?:%{WORD:verb} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion})?|%{DATA:rawrequest})" %{NUMBER:response} (?:%{NUMBER:bytes}|-) %{BASE10NUM:timetaken} "(?:%{WORD:ref}|-)" %{GREEDYDATA:useragent}']
    - drop_events:
         drop_when '/request == null'

Issues Resolved
[List any issues this PR will resolve]
#1136
Check List

[X ] New functionality includes testing.
[X ] New functionality has been documented.

[ ] New functionality has javadoc added

[X ] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1946 (10820ef) into main (941f808) will decrease coverage by 0.15%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #1946      +/-   ##
============================================
- Coverage     93.88%   93.73%   -0.16%
+ Complexity     1536     1534       -2
============================================
  Files           197      197
  Lines          4561     4562       +1
  Branches        367      367
============================================
- Hits           4282     4276       -6
- Misses          196      205       +9
+ Partials         83       81       -2

Impacted Files
Coverage Δ

...taprepper/expression/ParseTreeCoercionService.java
100.00% <100.00%> (ø)

...opensearch/dataprepper/pipeline/ProcessWorker.java
71.15% <0.00%> (-17.31%)
:arrow_down:

...rwarder/discovery/AwsCloudMapPeerListProvider.java
95.12% <0.00%> (+2.43%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


tailwindcss --watch doesn't work when used with elixir bun

I am in the process of replacing the elixir tailwindcss package with bun. To do this, I added tailwindcss as a dev dependency to my package.json. I then altered the bun config like this:
config :bun,
  version: "1.1.21",
  js: [
    args:
      ~w(build js/app.js --outdir=../priv/static/assets --external /fonts/* --external /images/*),
    cd: Path.expand("../assets", __DIR__),
    env: %{}
  ],
  css: [
    args: ~w(run tailwindcss --input css/app.css --output ../priv/static/assets/app.css),
    cd: Path.expand("../assets", __DIR__),
    env: %{}
  ]

and my dev config like this:
config :lctr, LctrWeb.Endpoint,
  watchers: [
    bun_js: {Bun, :install_and_run, [:js, ~w(--sourcemap=inline --watch)]},
    bun_css: {Bun, :install_and_run, [:css, ~w(--watch)]}
  ]

The following commands work as expected:
mix bun css: Builds the css correctly
cd assets && ./../_build/bun tailwindcss --input css/app.css --output ../priv/static/assets/app.css --watch builds the css correctly and watches for changes in the CSS
But running mix bun css --watch does nothing. No output, no css generation. The watch task also does nothing (no ouptut, no css generation). Add the --watch command the config results in the same issue.
The watch paramter works for js.

I investigated a bit more, and the following watcher works:
watchers: [
    bun_js: {Bun, :install_and_run, [:js, ~w(--sourcemap=inline --watch)]},
    "/absolute/path/to/project/_build/bun": [
      "run",
      "tailwindcss",
      "--input",
      "css/app.css",
      "--output",
      "../priv/static/assets/app.css",
      "--watch",
      cd: Path.expand("../assets", __DIR__),
      env: %{}
    ]
  ]

Given that the watcher works when not using the library, I now tried removing the wrapper.js by changing line 170 of the Bun module to:
|> System.cmd(args ++ extra_args, opts)
and now the watcher works. This confirms that the bug is in the wrapper. I'll investigate further as soon as I have more time!

Thanks for the report and investigation @Sgoettschkes. I will take a look as well as soon as I have some time.
When you run Bun without the wrapper do you get zombie processes after killing the Phoenix process? We added the wrapper because after killing the Phoenix process the Bun process kept running and had to be manually killed, but that may have been solved in latest versions of Bun.

Thanks for your reply. I did not get any zombie processes, I checked after I read the comment in the Bun module.
I also tried debugging the wrapper, but did not get anywhere. It exists with exitCode 0 and no other information. This only happens with bun run, not with bun build...

Correction, I now got a zombie process, but I only get it for the bun build run, not for the bun run! There seems to be a difference in how those two execute.
I have a few ideas how to solve this:

Fix the wrapper.js so bun run works as well
Make the wrapping optional but done by default, so you can pass an extra_arg to not have the process wrapper in the wrapper.js
Split the run function into one that wraps the command and one that doesn't
Check which command is run, and only wrap the bun build (and others, if it's discovered that others have the same issue with zombie processes)
Try fixing the zombie process issue another way

I'm happy to help, but given my time available and existing knowledge, I think I can only help with 2/3/4 but I'm happy to test patches if you have some ideas on 1/6. Let me know if you want me to work on 2,3 or 4 (and which one you prefer).

I've been doing some investigation and found out that bun run runs the script command in a subshell, ensuring that it is killed properly when the parent process dies. This matches your observation that bun run does not leave zombie processes while bun build does.
I made a few changes in #21 that should fix your problem. Changes match your proposed point 3: the run function wraps the bun process only when it is running the build command.
I created a new Phoenix app, replaced esbuild with bun build and tailwind with bun run tailwindcss and copied your configuration.
It now seems to work just fine. I can mix bun css to build the css one time and mix bun css --watch to keep the watcher running. Starting the Phoenix server starts both the JS and CSS watchers and kills them properly without zombie process.
If you can check #21 as well and confirm that it works well I will publish a new release with the fix.

Version 1.3.1 has just been released with a fix for this problem.
Thanks for the report and conversation @Sgoettschkes. Glad that you find this package useful.
BTW your approach of using Bun for js and css is great. If you want to go for it I think that it would be amazing to have a section in the README that explains how to replace the default Phoenix stack (esbuild + tailwindcss pacakges) with just bun.


[3.1.0] Updating the migration client .jar

Purpose
Fixes: https://github.com/wso2/product-apim/issues/8594
Goals
Add the newest .jar for migration client
Approach
Updated the migration client .jar in the below pages under Upgrading WSO2 API Manager/Upgrading Process.

3.0.0 to 3.1.0
2.6.0 to 3.1.0
2.5.0 to 3.1.0
2.2.0 to 3.1.0
2.1.0 to 3.1.0
2.0.0 to 3.1.0

Related PRs
https://github.com/wso2-support/product-apim/pull/559

@wasuradananjith , pls send this PR to master as well, so that Master will reflect the latest version of 3.1.0 before it is further updated based on 3.2.0

@wasuradananjith , pls send this PR to master as well, so that Master will reflect the latest version of 3.1.0 before it is further updated based on 3.2.0

Sure. Done with https://github.com/wso2/docs-apim/pull/1478


Bump goldmark to v1.4.11

Backport of: https://github.com/go-gitea/gitea/pull/19201

CI fail is related: Please run 'go mod tidy' and commit the result:

Let me fix this.

I've added a testcase to prevent this from happening again.

Thanks!


Dotnet Run command gives : Unable to bind to http://localhost:5000 on the IPv4 loopback interface, One or more errors occurred. (Error -4092 EACCES permission denied)

Dotnet Run command gives : Unable to bind to http://localhost:5000 on the IPv4 loopback interface, One or more errors occurred. (Error -4092 EACCES permission denied).
Here is the complete output:
PS C:\VS2015Samples\SecondCoreApi\src\SecondCoreApi> dotnet run
Project SecondCoreApi (.NETCoreApp,Version=v1.0) was previously compiled. Skipping compilation.
warn: Microsoft.AspNetCore.Server.Kestrel[0]
Unable to bind to http://localhost:5000 on the IPv4 loopback interface.
System.AggregateException: One or more errors occurred. (Error -4092 EACCES permission denied) ---> Microsoft.AspNetCore
.Server.Kestrel.Internal.Networking.UvException: Error -4092 EACCES permission denied
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.Check(Int32 statusCode)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_bind(UvTcpHandle handle, SockAddr& addr, Int32 f
lags)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle.Bind(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.TcpListenerPrimary.CreateListenSocket()
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Listener.<>c.b__6_0(Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.ListenerPrimary.d__11.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelEngine.CreateServer(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext](IHttpApplication`1 application)
---> (Inner Exception #0) Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -4092 EACCES permis
sion denied
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.Check(Int32 statusCode)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_bind(UvTcpHandle handle, SockAddr& addr, Int32 f
lags)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle.Bind(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.TcpListenerPrimary.CreateListenSocket()
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Listener.<>c.b__6_0(Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.ListenerPrimary.d__11.MoveNext()<---
Hosting environment: Production
Content root path: C:\VS2015Samples\SecondCoreApi\src\SecondCoreApi\bin\Debug\netcoreapp1.0
Now listening on: http://localhost:5000
But i am not able run the api. Any idea why ?

localhost resolves to <IP_ADDRESS> and ::1. It sounds like <IP_ADDRESS>:5000 was already taken by another app, but [::1]:5000 succeeded. netstat.exe -a -b should show you the status of that port.

I do went and changed the launchurl to "http://localhost:6020/api/values" in launchSettings.json , inspite of that it is trying to run app on port 5000. Where else should i change the port number?

VS 2017? The parameter was renamed to applicationurl.
https://github.com/aspnet/KestrelHttpServer/issues/1604

Its VS 2017 update3 not VS 2017

I ran the netstat command and there is nothing listing on <IP_ADDRESS>:5000.
[svchost.exe]
TCP    <IP_ADDRESS>:60997        PCFTEST-DD7:0          LISTENING
[dotnet.exe]
TCP    <IP_ADDRESS>:60997        PCFTEST-DD7:60998      ESTABLISHED
[dotnet.exe]
TCP    <IP_ADDRESS>:60998        PCFTEST-DD7:60997      ESTABLISHED
[devenv.exe]
TCP    <IP_ADDRESS>:61107        PCFTEST-DD7:0          LISTENING
[VBoxHeadless.exe]
TCP    <IP_ADDRESS>:61294        PCFTEST-DD7:0          LISTENING
[dotnet.exe]
TCP    <IP_ADDRESS>:61294        PCFTEST-DD7:61295      ESTABLISHED
[dotnet.exe]
TCP    <IP_ADDRESS>:61295        PCFTEST-DD7:61294      ESTABLISHED

@halter73 @cesarbs

Vs 2015 update3 you mean? That never passed launchurl through to the console. You can set ASPNETCORE_URLS in the environment variables section, or call UseUrls in Program.Main.

sorry typo error , Yes its VS 2015 Community edition version 14.0.25431.01 Update 3.

Cool thank you Tratcher, when i added UseUrls in Program.Main it worked. But its still interesting why, even though there is nothing listening on port 5000 it was not able to run.

@cesarbs is the error expected for port conflict?

Hi, I am able to run web dot net core webapi using dotnet run command, but i am not able to debug  it uisng F5. I have kept break points in Program.cs , startup.cs and inside controller. Break point hits both program.cs and startup.cs but it never hits the controller. Any idea why? I am new to dot net core so can you some one please let me know if i am missing something here ?

If something was already bound to that port, you'd get an EADDRINUSE.
@gsainagendraprasad Can you check that it fails to bind to the IPv4 loopback on other ports? Try something like 5002 or 8080. Also try a high port number like 50000.

Thank you @cesarbs. I am not getting any error like EADDRINUSE, i got this before and i changed my port numbers. To me this seems something to do with IISExpress. I may be totally wrong here but when i changed the profile from IISExpress to my application name in Properties/Debug and specified launch url it worked. Now i am able to debug my controller.

I just resolved this error (for anyone later reading this thread) by ending a bunch of processes / anything that could possibly be listening on the same port.  After doing that, I was able to start the project with the server listener without "Error -4092 EACCES permission denied".  It is a port conflict, something else already had it bound.

I resolved the same error by changing the port number in the Web API launchSettings.json file.

In my case, the issue was similar to @skynode, however I had to actually remove the port numbers in applicationUrl in launchSettings.json

We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.


Problems with suppressing stderr with find

Hello,
When running a find / -name x 2>/dev/null from upterm, I get the error find: 2: unknown primary or operator, which I don't get in either Terminal or Hyper. However, if such a command is inside a bash file, it seems to run normally.
I'm running the Mac OS version. Can anybody reproduce on Linux ? Any idea on how to fix this ? #

@CptFox, it wasn't released yet, but it's fixed in master. You can try to build it, it's real simple: npm run pack.

I really like the IDE-like autocomplete. Thanks for pointing me to building master, it seems to be quite far ahead.
BTW I feel the history is kind of a hindrance with commands like cd : it keeps suggesting relative paths I've used before in other directories, rather than suggesting directories that are actually reachable. Maybe adding some checks that the proposed paths do lead to something would help ? I'm gonna try and find if I can do that.

@CptFox thanks! I've been thinking about that too. We plan to extend history so that each history item has the directory the command was ran in. That'd allow us to filter out irrelevant directories without much overhead. Here's a relevant issue: https://github.com/railsware/upterm/issues/1128
Is there anything else that annoys you?

I'd like an easy way to change color theme (I'm a sucker for Solarized Light in terminals, even though I'm usually on the Dark Side of the Theme), but that can wait.
I was gonna ask about ligature support, but it already does.
I've made a quick and dirty fix for the completion :

Removed the height limit on the suggestion box and get the suggestions count up to 15
Filter history with a "if it's a cd or ls and any argument doesn't start with - or/, remove it". It's dirty, but does the work
Slice the environment suggestion like the history ones, and put the 3 first env before the 3 first history

It's a 10 lines edit, so I've done it locally, but the detailed history seems like a better solution to me.
I had stopped using Upterm when I found my finds wouldn't work, but I guess I'm switching back 😄

@CptFox I'm glad to have you back! Make sure to submit your issues and I'll try to fix them as soon as possible.


Clarify which tabbed/stacked container we want (fixes #751)

Refactored swayc_tabbed_stacked_parent into 2 functions - one returns the root tabbed/stacked ancestor (which was how the original function worked), the other return just the immediate tabbed/stacked parent.

Thanks!


How to encrypt / decrypt  big string using Blowfish ECB?

I need to encrypt / decrypt a String of unknown size using Blowfish, however, the only functions provided in the module are encrypt_block and decrypt_block, which only work on &[u8] slices of 8 bytes.
I'm guessing there's an interface for using all symmetric block ciphers? I'm having trouble finding examples.

Convert your string to bytes?
https://doc.rust-lang.org/std/string/struct.String.html#method.as_bytes

@pix64 I apologize if I didn't explain myself correctly. What I mean is that Blowfish's encrypt_block and decrypt_block only work on blocks of 8 bytes. If my String is more than 8 bytes long, then those methods won't work, as they wouldn't be able to encrypt the whole thing.

You have to split your strings bytes into chunks of 8 bytes. Slices have a .chunks(n) iterator which will give you slices of n bytes. Then I believe you can just join the outputs of each chunk. Since, you have to have a block of 8, you might need to pad the last chunk. I'm not sure how the padding should work though.

Just got encryption working:
//! Encryption and Decryption using Blowfish with ECB mode.

use crypto::blowfish::Blowfish;
use crypto::symmetriccipher::{BlockEncryptor, BlockDecryptor};

pub fn encrypt(key: &String, input: &String) -> String {
    let blowfish = Blowfish::new(key.as_bytes());
    let block_size = <Blowfish as BlockEncryptor>::block_size(&blowfish);

    // Input and output bytes
    let input_len = round_len(input.len(), block_size);
    let mut input = input.as_bytes().to_vec();
    input.resize(input_len, 0);

    let mut output : Vec<u8> = Vec::with_capacity(input_len);
    unsafe { output.set_len(input_len); }

    // Encrypts input and saves it into output
    for (ichunk, mut ochunk) in input.chunks(block_size).zip(output.chunks_mut(block_size)) {
        blowfish.encrypt_block(&ichunk, &mut ochunk);
    }

    // Generates hex representation of output
    let mut hex_output = String::with_capacity(output.len() * 2);
    for i in 0..output.len() {
        hex_output.push_str(&format!("{:02x}", output[i]));
    }

    hex_output
}

/// Rounds the given len so that it contains blocks
/// of the same size.
fn round_len(len: usize, block_size: usize) -> usize {
    let remainder = len % block_size;
    if remainder == 0 {
        len
    }
    else {
        len + block_size - remainder
    }
}

Will they decryption in a while. Just to confirm before closing: rust-crypto doesn't do this kind of encryption already right?**. I feel like I might be reinventing the wheel.

I don't have intimate knowledge of rust-crypto but it seems to be focus on crypto primitives. Another library should probably be built on top of it to provide functions to perform common case crypto functions (encrypting Strings, etc)

Here's the implementation I came out with for anyone interested:
//! Encryption and Decryption using Blowfish with ECB mode.

use std::ffi::OsString;

use crypto::blowfish::Blowfish;
use crypto::symmetriccipher::{BlockEncryptor, BlockDecryptor};

const PADDING_BYTE: u8 = 2;

/// Returns the encrypted input using the given key.
pub fn encrypt(key: &str, input: &str) -> String {
    let bytes = cipher_with(key.as_bytes(), input.as_bytes(), |blowfish, from, mut to| {
        blowfish.encrypt_block(&from, &mut to);
    });

    // Generate hexadecimal representation of `bytes`.
    let mut output = String::with_capacity(bytes.len() * 2);
    for b in bytes {
        output.push_str(&format!("{:02x}", b));
    }
    output
}

/// Returns the decrypted input using the given key.
pub fn decrypt(key: &str, hex_input: &str) -> OsString {
    use std::u8;
    use std::str;
    use std::ffi::OsStr;
    use std::os::unix::ffi::OsStrExt;

    let mut input = Vec::with_capacity(hex_input.len());
    for chunk in hex_input.as_bytes().chunks(2) {
        // We already now that the chunk is utf-8 compilant as it comes
        // from a &str.
        let fragment = unsafe { str::from_utf8_unchecked(chunk) };
        let byte = u8::from_str_radix(fragment, 16).unwrap_or(0);
        input.push(byte);
    }

    let mut bytes = cipher_with(key.as_bytes(), &input, |blowfish, from, mut to| {
        blowfish.decrypt_block(&from, &mut to);
    });
    if let Some(index) = bytes.iter().position(|&b| b == PADDING_BYTE) {
        // Go ahead and ignore all bytes after the null character (\0).
        bytes.truncate(index);
    }

    OsStr::from_bytes(&bytes).to_owned()
}

/// Divides the input in blocks and cyphers using the given closure.
fn cipher_with<F>(key: &[u8], input: &[u8], mut func: F) -> Vec<u8>
    where F: FnMut(Blowfish, &mut [u8], &mut [u8]) {

    let blowfish = Blowfish::new(key);
    let block_size = <Blowfish as BlockEncryptor>::block_size(&blowfish);

    // Input and output bytes
    let input_len = round_len(input.len(), block_size);
    let mut input = input.to_vec();
    input.resize(input_len, PADDING_BYTE);

    let mut output : Vec<u8> = Vec::with_capacity(input_len);
    unsafe { output.set_len(input_len); }

    // Encrypts input and saves it into output
    for (mut ichunk, mut ochunk) in input.chunks_mut(block_size).zip(output.chunks_mut(block_size)) {
        func(blowfish, ichunk, ochunk);
    }

    output
}

/// Rounds the given len so that it contains blocks
/// of the same size.
fn round_len(len: usize, block_size: usize) -> usize {
    let remainder = len % block_size;
    if remainder == 0 {
        len
    }
    else {
        len + block_size - remainder
    }
}

#[cfg(test)]
mod tests {
    use super::{encrypt, decrypt};
    use std::ffi::OsString;

    struct Test {
        key: String,
        plain_text: String,
        cipher_text: String,
    }

    fn get_test_vector() -> Vec<Test> {
        vec![
            Test {
                key: "R=U!LH$O2B#".to_owned(),
                plain_text: "è.<Ú1477631903".to_owned(),
                cipher_text: "4a6b45612b018614c92c50dc73462bbd".to_owned(),
            },
        ]
    }

    #[test]
    fn encrypt_test_vector() {
        for test in get_test_vector() {
            let cipher_text = encrypt(&test.key, &test.plain_text);
            assert_eq!(test.cipher_text, cipher_text);
        }
    }
}

@danielrs I know, this post is 4 years old. I think it might work in the bubble. If you encrypt and decrypt with the same algorithm as outlined here, it will work. But it will not work with e.g. Java or JS or maybe other solutions. Please check here http://sladex.org/blowfish.js/. Your test input gives 0219b9c586b70fb05a143d430aafebf9, not the value you test for. Just so you know.

Here is a fixed version of two parts. It corrects the (wrong) fixed padding byte (which in fact is always the number of bytes which have to be padded) and it has also a slightly changed the rounding algorithm, which allows for encoding zero length string.
This version is compatible to the the results achievable by Python, Java and JS solutions.
        let blowfish = Blowfish::new(key);
        let block_size = <Blowfish as BlockEncryptor>::block_size(&blowfish);

        // Input and output bytes
        let input_len = input.len();
        let padding = block_size - input_len % block_size;
        trace!("padding: {}, input_len: {}", padding, input_len);
        let padding_len = if input_len % block_size == 0 {
            block_size
        } else {
            block_size - input_len % block_size
        };
        trace!(
            "padding_len: {}, input aligned to: {}",
            padding_len,
            input_len + padding_len
        );
        let mut input = input.to_vec();
        let new_input_len = input_len + padding_len;
        input.resize(new_input_len, padding as u8);

        let mut output: Vec<u8> = Vec::with_capacity(new_input_len);
        unsafe {
            // We all know, that this is not an unsafe function at all...
            output.set_len(new_input_len);
        }

...and the decrypt version:
    pub fn decrypt(key: &str, hex_input: &str) -> String {
        let mut input = Vec::with_capacity(hex_input.len() / 2); // We just need half the size of the hex input string
        // Hex -> byte conversion
        for chunk in hex_input.as_bytes().chunks(2) {
            // We already now that the chunk is utf-8 compilant as it comes
            // from a &str.
            let fragment = unsafe { str::from_utf8_unchecked(chunk) };
            let byte = u8::from_str_radix(fragment, 16).unwrap_or(0);
            input.push(byte);
        }
        //println!("input {:#?} len {}", input, input.len());
        // The padding byte is always the last in the input
        // The input length must be a multiple of the blocksize. Should be checked with an assertion
        let padding_index = input.len() - 1;
        // Decipher the stuff
        let mut bytes = cipher_with(key.as_bytes(), &input, |blowfish, from, mut to| {
            blowfish.decrypt_block(&from, &mut to);
        });
        //println!("{} {}", padding_index, &bytes[padding_index]);
        // Get the padding byte for the following comparison
        let padding_byte = *&bytes[padding_index];
        if let Some(index) = bytes.iter().position(|&b| b == padding_byte) {
            // Go ahead and ignore all padding bytes
            bytes.truncate(index);
        }
        unsafe { str::from_utf8_unchecked(&bytes).to_owned() }
    }

Passersby thinking of copy-pasting these code snippets should be aware
of some safety issues:
    let mut output : Vec<u8> = Vec::with_capacity(input_len);
    unsafe { output.set_len(input_len); }

This violates the safety contract of set_len, which specifies that
the elements at old_len..new_len must be initialized. Just because
your code is not directly reading them does not make this safe. You may
want to read docs for MaybeUninit or @ralfjung’s posts.
        for chunk in hex_input.as_bytes().chunks(2) {
            // We already now that the chunk is utf-8 compilant as it comes
            // from a &str.
            let fragment = unsafe { str::from_utf8_unchecked(chunk) };

This is not accurate, because not all substrings of valid UTF-8 bytes
are themselves valid UTF-8. This code could be chopping a code point in
half: e.g., on input "aéi", it violates the safety contract of
from_utf8_unchecked. This may be safe if hex_input really is only
ASCII, as would be the case if it were the output of encrypt(...). But
this is an argument to a pub fn, so no such assumptions are safe, and,
in any case, presumably the point is to decrypt data given by the user.
        unsafe { str::from_utf8_unchecked(&bytes).to_owned() }

I might be missing something, but I don’t see how this could possibly be
safe. We’ve just finished decrypting some arbitrary user-provided
ciphertext (an argument to a pub fn) into bytes, so clearly it could
contain any arbitrary byte-sequence (of appropriate length), not just
valid UTF-8. For example, suppose that hex_input == "2b10455c044c2212"
and key == "testtest"; then bytes == vec![0x99, 0x99].
(There are also two correctness bugs with the padding handling, but they
don’t cause soundness violations, as far as I can tell.)

The intended moral of this comment is to please be careful with unsafe
code, especially when posting it for public consumption, and only
introduce unsafe code when you can prove your code correct and
demonstrate a measurable performance improvement. There are safe and
fast ways to write this code: e.g., it’s easy for the kernel to give you
zero-initialized pages, so vec![0; input_len] is probably fast enough.
And if you really need to push it faster, you can use tools like
MaybeUninit to do so more safely.


README example does not compile

I am getting the following error just by copy-pasting the README example. What should I do?
error: proc macro panicked
 --> bindings\build.rs:2:5
  |
2 | /     windows::build!(
3 | |         Windows::Data::Xml::Dom::*,
4 | |         Windows::Win32::Foundation::CloseHandle,
5 | |         Windows::Win32::System::Threading::{CreateEventW, SetEvent, WaitForSingleObject},
6 | |         Windows::Win32::UI::WindowsAndMessaging::{MessageBoxA, MB_OK},
7 | |     );
  | |______^
  |
  = help: message: Could not find namespace `Windows.Win32.Foundation`

error: aborting due to previous error

error: could not compile `bindings`

Windows 10, Build tools including Windows SDK installed

I noticed that I was using the 0.9.1 version of the crate from the official tutorial, 0.18.0 made it work, but I still get an error importing MB_OK from Windows::Win32::UI::WindowsAndMessaging. For now I managed to use 0.into() for a simple OK but I think something might be broken.

To report further: changing the import to Windows::Win32::UI::WindowsAndMessaging::* made MB_OK work too!

Can you share your sample? The README doesn't direct you to create a bindings\ folder so it's not clear what your layout is. I just went through the README and it works fine.

That's an old version of the readme. The current version works fine.

Closing as it's working as-is. @jlkiri let us know if you're still having trouble.


write custom pygraph dot write function

pygraph's own function is slow, taking ~0.4s(!) on large resolves.
This combined with yaml dump is contributing to about 1/2 second of the time it takes to rez-env, which is significant when we get a memcache hit on a big resolve, often this is ~1/3rd the total time spent.

This has been done. Have also switched to an internal 'compact' dot format, which is a lot smaller than native dot.

Fede and I discovered a problem with this yesterday - he is working on a bug report for you.

you meant a PR right? :D
On Thu, Nov 19, 2015 at 2:02 PM, Mark Streatfield<EMAIL_ADDRESS>wrote:

Fede and I discovered a problem with this yesterday - he is working on a
bug report for you.
—
Reply to this email directly or view it on GitHub
https://github.com/nerdvegas/rez/issues/215#issuecomment-158212361.


Add CI/CD and fix mingw build

apparently actions are not triggered by external contributors. The pipeline does work at my repository, though: https://github.com/kgraefe/eventlog/pull/1


Automatically open links to new tab

(Used this blogpost as a reference)
I added JS code to assets/open-new-tab.html inside the <script> tag, and pointed this file out to bookdown by placing it in the appropriate field inside _output.yml.
I tested this works by running bookdown::render_book() and clicking on the links on the rendered HTML pages.
https://github.com/jhudsl/OTTR_Template/assets/50791792/19f61a9e-3cd0-4612-90b0-1c80582d2601
My only question is after running bookdown::render_book(), I get a bunch of rendered files in docs/, and I'm not sure whether I need to include the below files in this PR?

Weird that in the GHA generated preview of the course website, the links do NOT open in new tab.

@cansavvy I have one followup question. After running bookdown::render_book(), I get a bunch of rendered files in docs/, and I'm not sure whether I need to include the below files in this PR?

@cansavvy I have one followup question. After running bookdown::render_book(), I get a bunch of rendered files in docs/, and I'm not sure whether I need to include the below files in this PR?

No. Don't commit those files to the PR! The files will be re-rendered after this PR is merged.


Set up OneTrust, put Segment behind it

Summary:

What: Adds OneTrust framework, uses it to block Segment (analytics) unless user has opted-in via OneTrust
Ticket: sc<192931>
Env: https://vince-onetrust-frontend.dev.czgenepi.org/

Demos:

Notes:
There is still a fair amount of visual stuff that needs to get handled for OneTrust:

Branding as CZ GE (our version from OneTrust was forked off the CZ ID version, and it still has their branding in place when you open the cookie settings menu)
General visual styling
Copywriting and any specific language we need depending on conversations with Trust team
Adding in a "cookie settings" button or similar somewhere in app so user can change mind after initial banner presentation (probably in User dropdown menu in nav, need to finalize)

I've created a new ticket to track that here.
That said, all the framework and interaction with blocking Segment should be in place with this PR.
Checklist:

[x] I merged latest trunk [minor whoops here, should actually be based off vince/analytics, but it's not a big deal]
[x] I manually verified the change
[x] I added labels to my PR
[ ] I tested in multiple browsers
[ ] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

I can't figure out how to get the modal to appear ...

@mmmmmmaya

I can't figure out how to get the modal to appear ...

... I forgot to pass the env var with the OneTrust key to the FE. I have the env var in ENV.js, and in the AWS secrets, but forgot to change the terraform... thank you!


[MWPW-138913] Homepage Entitle Personalization - One-off Marquee Exp 1 Block

In this PR, we have a one-off Marquee Exp 1 block that reflects the required design tweaks from this figma: https://www.figma.com/proto/NlcXyockxS6IZO95FWkoH6/Hybrid-Homepage---rWeb---XPLGAcq---[ID]?page-id=600%3A122462&type=design&node-id=600-133351&viewport=603%2C655%2C0.06&t=2zEw35EMLMhJKaup-1&scaling=min-zoom. The authoring is unchanged as in https://main--express--adobecom.hlx.page/express/experiments/ccx0167/home-entitled.
Resolves: MWPW-138913
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/experiments/ccx0167/home-entitled
After: https://marquee-exp--express--adobecom.hlx.page/drafts/qiyundai/home-entitled?martech=off

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (71b8fd6) 32.10% compared to head (f85cefa) 32.23%.
Report is 1 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #593      +/-   ##
==========================================
+ Coverage   32.10%   32.23%   +0.13%
==========================================
  Files         128      128
  Lines       24503    24504       +1
==========================================
+ Hits         7866     7900      +34
+ Misses      16637    16604      -33

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


更新至最新的版本後(添加URL功能)，無法建立新的Knowledge Base

chatollama-1  | KnowledgeBaseFile with ID:  29
chatollama-1  | URL:  http://google.com
chatollama-1  | [nuxt] [request error] [unhandled] [500] Failed to launch the browser process!
chatollama-1  | /root/.cache/puppeteer/chrome/linux-123.0.6312.105/chrome-linux64/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
chatollama-1  |
chatollama-1  |
chatollama-1  | TROUBLESHOOTING: https://pptr.dev/troubleshooting
chatollama-1  |
chatollama-1  |   at Interface.onClose (./.output/server/node_modules/@puppeteer/browsers/lib/esm/launch.js:301:24)
chatollama-1  |   at Interface.emit (node:events:526:35)
chatollama-1  |   at Interface.close (node:internal/readline/interface:527:10)
chatollama-1  |   at Socket.onend (node:internal/readline/interface:253:10)
chatollama-1  |   at Socket.emit (node:events:526:35)
chatollama-1  |   at endReadableNT (node:internal/streams/readable:1376:12)
chatollama-1  |   at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
執行環境：WSL + Docker (ollama, chatollama, chromdb)

I ran into this same issue, able to add URL document, but adding PDF without URL threw the following error
Created knowledge base LLM: 14
Warning: Required "glyf" table is not found -- trying to recover.
Creating embeddings for Ollama served model: nomic-embed-text
Creating Chroma vector store
Initializing vector store retriever
95 documents added to collection collection_14.
KnowledgeBaseFile with ID:  11
URL:

 ERROR  [nuxt] [request error] [unhandled] [500] Protocol error (Page.navigate): Cannot navigate to invalid URL
  at Callback.<instance_members_initializer> (./node_modules/puppeteer-core/src/common/CallbackRegistry.ts:114:12)
  at Callback (./node_modules/puppeteer-core/src/common/CallbackRegistry.ts:119:3)
  at CallbackRegistry.create (./node_modules/puppeteer-core/src/common/CallbackRegistry.ts:27:22)
  at Connection._rawSend (./node_modules/puppeteer-core/src/cdp/Connection.ts:120:22)
  at CdpCDPSession.send (./node_modules/puppeteer-core/src/cdp/CDPSession.ts:95:29)
  at navigate (./node_modules/puppeteer-core/src/cdp/Frame.ts:182:39)
  at CdpFrame.goto (./node_modules/puppeteer-core/src/cdp/Frame.ts:147:7)
  at CdpFrame.<anonymous> (./node_modules/puppeteer-core/src/util/decorators.ts:63:21)
  at CdpPage.goto (./node_modules/puppeteer-core/src/api/Page.ts:1581:35)
  at PuppeteerWebBaseLoader._scrape (./node_modules/langchain/dist/document_loaders/web/puppeteer.js:46:20)

Ollama:  { host: 'http://<IP_ADDRESS>:11434', username: null, password: null }

I have same issue when I update Knowledge Base add file:
chatollama-1  | Error: Failed to launch the browser process!
chatollama-1  | /root/.cache/puppeteer/chrome/linux-123.0.6312.105/chrome-linux64/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
chatollama-1  |
chatollama-1  |
chatollama-1  | TROUBLESHOOTING: https://pptr.dev/troubleshooting

@Rock1965 @wgong @caihengsheng Please try with the latest code base or docker image. This PR https://github.com/sugarforever/chat-ollama/pull/222 has addressed the issue.

I just test,  fixed it for small size PDF file, but not fix for large size PDF file:
chatollama-1  | 2 documents added to collection collection_33.
chatollama-1  | Knowledge base file created with ID:  45
chatollama-1  | URL:
chatollama-1  | Error: Failed to launch the browser process!
chatollama-1  | /root/.cache/puppeteer/chrome/linux-123.0.6312.105/chrome-linux64/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
chatollama-1  |
chatollama-1  |
chatollama-1  | TROUBLESHOOTING: https://pptr.dev/troubleshooting

@sugarforever  好像跟 linux 环境下的 pptr 安装有关

我刚在 Ubuntu 22.04 中测试了，未能重现，不确定是不是在 wsl 中才能重现

@Rock1965 @wgong @caihengsheng Please try with the latest code base or docker image. This PR #222 has addressed the issue.

The problem is not completely resolved. When a new knowledge base has a URL, or when knowledge is modified (even if there is no URL), there are still the same errors, but adding or modifying the PDF to the knowledge base is successful.

@Rock1965 Please confirm with https://github.com/sugarforever/chat-ollama/pull/234 the issue got addressed.

It looks good!

@Rock1965 Please confirm with #234 the issue got addressed.

Besides still not being able to use a URL as a Knowledge Base source (with the same error as before: [nuxt] [request error] [unhandled] [500] Failed to launch the browser process! /root/.cache/puppeteer/chrome/linux-1095492/chrome-linux/chrome: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory), all other issues have been fixed.
Thanks.


[Proposal] Add column to all index

In such case, I have a base table A and two different rollup index B and C. I couldn't add column D to all index A B C while doris just support add column to A & B or A & C, using "TO B" or "TO C" on add column stmt.
Maybe  we can support "TO B,C", and doris can generate 3 ddl tasks: task_A,task_B,task_C.
It's helpful for me.

I think I have found the way to solve the problem:
I can use multi alter stmt like:
alter table test_table add column another_col BIGINT SUM NULL default "0" to rollup1, add column another_col BIGINT SUM NULL default "0" to rollup2
It will lock table until 3 ddl tasks all finish
Maybe we can add some docs....


Gautham/iOS resource (Requested changes done)

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines.
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction).
[ ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Final change also done. Removed the course from the list.

Changes removed from the file.
On Tue, Nov 1, 2022 at 11:35 AM Sharan J @.***> wrote:

@.**** requested changes on this pull request.
In books/free-programming-books-en.md
https://github.com/EbookFoundation/free-programming-books/pull/9154#discussion_r1010097971
:

@@ -7,4 +7,7 @@

English, By Programming Language
English, By Subject
+* [Swift algorithms and data structures](https://englishonlineclub.com/pdf/Data Structures and Algorithms in Swift - Implementing practical data structures with Swift 4 [EnglishOnlineClub.com].pdf https://englishonlineclub.com/pdf/Data Structures and Algorithms in Swift - Implementing practical data structures with Swift 4 [EnglishOnlineClub.com].pdf) (PDF)

Please remove the changes from this file
—
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/9154#pullrequestreview-1162865374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWHFKTYUPOY4KRSTBQQOZTWGCXLJANCNFSM6AAAAAARSZHHCQ
.
You are receiving this because you were mentioned.Message ID:
@.***
.com>

I didn't add these, but I removed them now.
On Tue, Nov 1, 2022 at 12:24 PM Sharan J @.***> wrote:

@.**** commented on this pull request.
In books/free-programming-books-en.md
https://github.com/EbookFoundation/free-programming-books/pull/9154#discussion_r1010127469
:

@@ -8,3 +8,5 @@

English, By Programming Language
English, By Subject
(The list of books in English is here for historical reasons.)

These new lines too
—
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/9154#pullrequestreview-1162909938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWHFKVWEUQSQXETJQKF2HTWGC5A5ANCNFSM6AAAAAARSZHHCQ
.
You are receiving this because you were mentioned.Message ID:
@.***
.com>

Done, Please check now.
On Tue, Nov 1, 2022 at 12:45 PM Sharan J @.***> wrote:

@.**** commented on this pull request.
In books/free-programming-books-en.md
https://github.com/EbookFoundation/free-programming-books/pull/9154#discussion_r1010150759
:

@@ -8,3 +8,5 @@

English, By Programming Language
English, By Subject
(The list of books in English is here for historical reasons.)

Please leave this file as it was before.
Do
git restore
git commit
git push
—
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/9154#discussion_r1010150759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWHFKQC7XBPK65KIHZKHDTWGC7QPANCNFSM6AAAAAARSZHHCQ
.
You are receiving this because you were mentioned.Message ID:
@.***
.com>

The PR/MR is still in NOT ACCEPTED state in my Hacktobefest profile. Could
you please check it.
On Tue, Nov 1, 2022 at 12:47 PM Gautham Sritharan <
@.***> wrote:

Done, Please check now.
On Tue, Nov 1, 2022 at 12:45 PM Sharan J @.***> wrote:

@.**** commented on this pull request.
In books/free-programming-books-en.md
https://github.com/EbookFoundation/free-programming-books/pull/9154#discussion_r1010150759
:

@@ -8,3 +8,5 @@

English, By Programming Language
English, By Subject
(The list of books in English is here for historical reasons.)

Please leave this file as it was before.
Do
git restore
git commit
git push
—
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/9154#discussion_r1010150759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWHFKQC7XBPK65KIHZKHDTWGC7QPANCNFSM6AAAAAARSZHHCQ
.
You are receiving this because you were mentioned.Message ID:
<EbookFoundation/free-programming-books/pull/9154/review/1162932249@
github.com>

The PR/MR is still in NOT ACCEPTED state in my Hacktobefest profile. Could
you please check it
On Wed, Nov 2, 2022 at 5:56 AM Gautham Sritharan @.***>
wrote:

The PR/MR is still in NOT ACCEPTED state in my Hacktobefest profile. Could
you please check it.
On Tue, Nov 1, 2022 at 12:47 PM Gautham Sritharan <
@.***> wrote:

Done, Please check now.
On Tue, Nov 1, 2022 at 12:45 PM Sharan J @.***>
wrote:

@.**** commented on this pull request.
In books/free-programming-books-en.md
https://github.com/EbookFoundation/free-programming-books/pull/9154#discussion_r1010150759
:

@@ -8,3 +8,5 @@

English, By Programming Language
English, By Subject
(The list of books in English is here for historical reasons.)

Please leave this file as it was before.
Do
git restore
git commit
git push
—
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/9154#discussion_r1010150759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWHFKQC7XBPK65KIHZKHDTWGC7QPANCNFSM6AAAAAARSZHHCQ
.
You are receiving this because you were mentioned.Message ID:
<EbookFoundation/free-programming-books/pull/9154/review/1162932249@
github.com>

Thanks for merging the commit. But in the Hacktoberfest profile page, this
PR/MR is still in NOT ACCEPTED state.
On Thu, Nov 3, 2022 at 11:05 PM Eric Hellman @.***>
wrote:

Merged #9154
https://github.com/EbookFoundation/free-programming-books/pull/9154
into main.
—
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/9154#event-7734539805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWHFKVNBNTOQSBRZ7QAKI3WGPZXDANCNFSM6AAAAAARSZHHCQ
.
You are receiving this because you were mentioned.Message ID:
<EbookFoundation/free-programming-books/pull/9154/issue_event/7734539805@
github.com>

Hey @GauthamG2 hacktoberfest is done. The time limits are October only. This pr was merged in Nov 3. So that's why you're not seeing it


Should Checkpayment return a HTTP 201 Created ?

After an address is generated - the checks return a 201 when there are only 1 confirmation but a 200 when there is more than 1 confirmation.
Using this endpoint: /api/checkpayment?uuid=abc
It also polls every second - overkill?
Then it redirects to github after the donation is complete.
I am using the testnet port

Should the response return a 201 Created - what is it creating?
Can we control the redirection to github?

We're just reusing response number 201 to reflect an unconfirmed payment. Would you prefer 200 here also?
Polling every second gives good user experience with lightning, and customisable in config with pollrate. As is redirect

I think a 200 OK is more appropriate over a 201 CREATED as nothing is created right? Maybe even a 204 No Content for unsuccessful polls.
Regarding redirect and pollrate thanks for the info - I will ensure to configure. Perhaps making the docs in a readthedocs site in the future.


Update migrating-oauth-apps-to-github-apps.md to include the 'Delete OAuth App' step

These changes are to include the 'Delete OAuth App' step in 'Migrating OAuth Apps to GitHub Apps'

Why:
Closes https://github.com/github/docs/issues/8067#issue-941263258, https://github.com/github/docs/pull/8640
What's being changed:
Adding the 'Delete OAuth App' step
Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

edited by staff:
Removed square brackets around issue link for automatic issue linking to the PR

@123MwanjeMike  Thanks so much for opening a PR! I'll get this triaged for review :zap:

@skedwards88, thank you for your feedback. Sorry I made the changes from a new branch within the docs repository rather than from my fork and thus you could not the changes as desired.
I have however created a new pull request here from a forked repository with the new changes you requested

Proposed changes already merged

Ok


Special Characters aren't rendered properly in certain fonts

Special characters like the ampersand (&) and apostrophe('), common punctuation like commas and full-stops, and numbers are not rendered properly in Dewebeauty Demo. Screenshots attached below:

The apostrophe seems to be a problem in these fonts as well: (may not be limited to the following)

Simple font
Messed font
Curved font
Small font
Clear font
Thin font
Thin messed font

I hope that all is in order,
Akshu

this is same as issue #322.

this is same as issue #322.


keyboard hides the textinput view in example application for react native

Hi ,
The keyboard hides the textinput field when we click on it for typing message to be sent in chat screen.
Is there any code for handling keyboard?

@vidhyalakshmirbt
Thank you for your interest in SendBird SDK.
So sorry the answer is late.
Do you still have the same issue?
There is no code for handling the keyboard.
Thank you.


API Versioning

Which Category is your question related to?
API versioning
Amplify CLI Version
8.3.1
What AWS Services are you utilizing?
amplify add api
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.
Amplify prefixes the api path with the environment. for example, api1 and api2 in the dev env: https://yourApiService.amazonaws.com/dev/api1
https://yourApiService.amazonaws.com/dev/api2
In the continued development of an API, a sad reality is that sometimes the API set needs a breaking change. And instead of having all existing clients break, the clients are kept on the previous set of APIs, and go through an upgrade to get onto the new API set. This is often managed (similar to how amplify manages the env) by adding the version of the API set to the path, v1, v2... and maintaining the previous API versions for the legacy clients.
for example, before the breaking change:
https://yourApiService.amazonaws.com/dev/v1/api1
https://yourApiService.amazonaws.com/dev/v1/api2
after the breaking change:
https://yourApiService.amazonaws.com/dev/v2/api1
https://yourApiService.amazonaws.com/dev/v2/api2
QUESTION
Is there a versioning mechanism within amplify cli or even a recommended approach to using the amplify cli that would support versioning for the collective set of all my APIs?
When creating the API using amplify add api, if I specify the path to be /v1/api1 and /v1/api2, to support the breaking change, would I then need to add /v2/api1 and /v2/api2 in the same project under a variant name? And if I remove the original v1 apis and push/publish, did I just blow away the v1 apis that I need for the legacy clients?

@josefaidt Yes, I see I was not clear. /v1/api1 and /v1/api2 are two separate apis. /v1/api1 and /v2/api1 are on the same url.
https://abc.amazonaws.com/dev/v1/api1 connected to lambda1
https://def.amazonaws.com/dev/v1/api2 connected to lambda2
https://abc.amazonaws.com/dev/v2/api1 connected to lambda1
https://def.amazonaws.com/dev/v2/api2 connected to lambda2
Using /v1/ in the path of both APIs was my attempt to associate them together into a documented collection of APIs that are used together.
I now see that if I wanted to maintain a v1/api1 and a v2/api2 using the same URL, the lambda code for both paths would need to be maintained in the same lambda. Was hoping that v1 code could just be left behind, for instance, on the V1 repo branch and v2 would be the new main line. But it can't. In this approach, v1 code and v2 code must live together in the same lambda. Not good.
Even if I did not use /v1/ and /v2/ in the paths, and actually used different urls, for example:
https://abc.amazonaws.com/dev/api1 connected to lambda1 v1
https://def.amazonaws.com/dev/api2 connected to lambda2 v1
https://ghi.amazonaws.com/dev/api1 connected to lambda1 v2
https://jkl.amazonaws.com/dev/api2 connected to lambda2 v2
I am now realizing that the AWS amplify backend infrastructure-as-code needs to have all the resources specified in the deployment, old versions and new versions. I cannot leave v1 resources back on a v1 branch since if they do not exist in the main line, they will not exist in the cloud deployment.
So I now don't even think versioning means anything in the AWS Amplify paradigm. A particular API is supported when its there, and no longer supported when it's removed. The concept of leaving v1 back on a branch while concurrently supporting v1 and v2 doesn't fit this model at all...


Slider freeze issue.

Hi.
The Slider control are very useful, and very nice.
But I found an issue.
If I open several viewcontrollers, the slider is working on first viewcontroller without no issue, but on top viewcontroller slider freeze, and animate irregularly.
For example, I push 3 viewcontrollers. then on the first viewcontroller is working fine, but on the third controller is not working well.
Can you fix the issue?
Thanks.

@BaiXiaoYan It might be helpful to provide a sample project that demonstrates the issue you've found.


Add lightbox support for photos plugin

Closes #350

View rendered CHANGELOG.md

@talha131 I would need your advice on the best way to get this fitting properly with Elegant, as it is works on my site:

Not sure if there are some other guidelines to follow here

I would need your advice on the best way to get this fitting properly with Elegant, as it is works on my site:

Can you please be a bit more specific?
Are you referring to Hound report?

No @talha131 I meant in regards of proper location inside the template file, etc.
Hound is now fixed in the same way we fixed 'tipue', ignoring the folder of the library we're not developing

No @talha131 I meant in regards of proper location inside the template file, etc.

See response https://github.com/Pelican-Elegant/elegant/pull/351#discussion_r292444747

I've uploaded another review which is not working (see my comments above on the header case).
I've also attempted to perform the changes on the documentation file, not sure if is like that what you wanted.
Thanks a lot for your support into getting this merged!

Thank you for all your work @iranzo


Show tameable status, time to adulthood

Proposed changes include a ''tameable" label when looking at EntityTameable mobs but have no owner, and show the growing time of EntityAgeable mobs. Also added a config for the 'growing time' label. Here's what they look like:

This addresses issue #170 to some degree, but the breeding/taming food is a bit trickier, because it's not an attribute of any Entity per se, as each overrides the 'bool isBreedingItem'. There's not really a way (that I know of) to get the breeding item for each animal, aside from a lookup table we'd have to roll ourselves.
Let me know if you've got any suggestions for things to add to this PR while I'm at it.

Looks nice! But would it be possible to do these on the 1.11 branch too or tell me how I can easily migrate this to that branch myself?

Sure thing, I'll make a pull request to the 1.11 branch once we finalize the changes in this PR


Switch from sed to perl in template only testing scripts

Context
sed isn't portable between os x and linux, leading to needing to do things in a more convoluted way (e.g. to edit files in place:
cp file file.bak
cat file.bak | sed 's/foo/bar' > file

instead of the more concise but not portable:
# os x
sed -i .bak 's/foo/bar' > file

# linux / gnu sed
sed -i.bak 's/foo/bar' > file

James suggested using perl instead
perl -pe -i.bak 's/foo/bar/'

See slack thread

Turns out sed -i.bak works on OS X version, so that is already a portable solution


Change autoupdate work order

Current autoupdate steps order is a bit strange. Grabber launches along with update message, so you NEED to close grabber if if you want to update. Then why you open full grabber along with this message at all?

Current way of work:

New version avilable
Open Grabber
Grabber openes
Meanwhile new update message shows
You press update
Grabber ask you to close it for update
Grabber closes
Instalation starts

Logical way of work:

New version avilable
Open Grabber
New update message shows BEFORE launching grabber
You press update
Message closes
Instalation starts

Grabber will be launched only if you refuse update.

BTW, that also means that since Grabber does not do the update check in background, it will take a little longer before the window actually opens (the time to check if an update is available).

BTW, that also means that since Grabber does not do the update check in background, it will take a little longer before the window actually opens (the time to check if an update is available).

well, you still can check for updates when grabber is launched and ask for update on the next opening of Grabber, so there are won't be any delay before Grabber start.

That's a good way to avoid the delay but it would put everybody behind the update by one launch. Not really a big deal though.