Idea for creating a dialog window?

Hi,
I need to open a dialog window. While it is opened, the interactions on the main window shouldn't be possible. Is there any proven method to do that?

If this is still relevant for you then you should be able to implement this yourself using platform-specific API. The library exposes the native window handle so you could use it as the parent of your own modal window. We do not have any examples to demonstrate how to do it but I suspect it will not be too difficult. I believe this answers the question so I am going to close this.
I will leave a few links that can aid in implementing this for Windows:

Using Dialog Boxes
CreateWindowEx
EnableWindow
The correct order for disabling and enabling windows


fixing packages

Summary

Test plan

Thanks for this PR
I updated packages in this PR: https://github.com/callstack/react-native-image-editor/pull/124


chore(plugins): remove deprecated packages

Deprecate and remove some older connectors and docker images as it was initially discussed during maintainer meetings https://wiki.hyperledger.org/display/cactus/2024-03-14+Cacti+Maintainers+Agenda and https://wiki.hyperledger.org/display/cactus/2024-03-20+Cacti+Maintainers+Agenda.
The list of packages to be deprecated and removed

cacti-ledger-browser

We should rename cacti-ledger-browser-react as cacti-ledger-browser. I did not realize we've added a separate package in PR, sorry.

cactus-cmd-socketio-server

Deprecated by authors, should be moved to examples dir since it's still used by some sample apps. Removing it depends on some other connectors that are deprecated here.

cactus-plugin-ledger-connector-go-ethereum-socketio

Replaced by cactus-plugin-ledger-connector-ethereum, should not be used anymore.

cactus-plugin-ledger-connector-iroha

Not actively supported by the upstream, replaced with Iroha V2

docker/iroha-all-in-one

Not needed when connector is removed. We should also remove helper class from cactus-test-tooling.

docker/fabric-all-in-one V 1.4

Remove all-in-one image fabric V1, only V2 should be used from now on.
We should also remove helper class from cactus-test-tooling and upgrade any remaining tests and sample apps that use V1 (if any).

cactus-plugin-ledger-connector-tcs-huawei-socketio
cactus-example-tcs-huawei

All connectors in V2 should be openapi-based, refactor requested in https://github.com/hyperledger/cacti/issues/3076 and in https://github.com/hyperledger/cacti/issues/2820.
Additionally sample app uses deprecated go-ethereum-socketio connector.
We'd love to re-add it once the refactor is done.

cactus-plugin-ledger-connector-ubiquity

Package not supported and is breaking, removal already initiated by Rafael in https://github.com/hyperledger/cacti/pull/3142

TBD cactus-plugin-ledger-connector-quorum

Proposed by peter in https://github.com/hyperledger/cacti/issues/3026

Deprecation and package removal is not final
If there's a need to bring some of these packages back, or if the package gets refactored so that it matches
the state of other cacti packages, then the package can be restored.  Removed packages can still be accessed by checking-out the state of this repo before the removal (I'll add appropriate commits next to the removed plugins on the list as the PR get merged).
Motivation
We want to clean up older connectors before V2 release to simplify maitanance in the future. More packages means more dependencies that must be regularry checked and updated (security fixes), some of these packages are also deprecetad mainstream / by authors.
CC
@izuru0 @petermetz @takeutak @jagpreetsinghsasan @VRamakrishna @sandeepnRES @RafaelAPB @123wyl123

@outSH Thank you for putting this together!

@outSH good initiative. Agree with all - I will do things on my end to remove the Ubiquity package (if/when we have support for this plugin within BD we can add it again)

@outSH From what I can tell this has already been done: All the non-crossed out packages are actually missing from the codebase. Sounds like mission accomplished, thank you again! :-)

A bit late to the party, but thanks again for executing brilliantly this small behemoth of a task.


Update code snippets in Android migration guide

@shashanksu I've updated the code snippets in this migration guide to include the Kotlin examples provided (plus a few that were available elsewhere in the documentation). Please let me know if anything doesn't look right.


Use canonical URL throughout app

The Issue
Canonical URLs were implemented in v038 of the SDK for both claims and channels. If a claim has a channel, both the channel and claim will have a short ID associated with it. The app can choose to drop the short ID on the claim name (when a channel exists) since the only time the resolution will change is if the publisher themselves creates 2 claims at the same name, and with a higher effective amount.
We'd probably want to use this anywhere we currently use permanent URL.
Sample:
  "seven": {
    "address": "baNz2WjmZqjzeDTYWAC7foxQ17a6tSaDKK",
    "amount": "10000.0",
    "canonical_url": "lbry://@BrendonBrewer#3/seven#9",

Some applications include:
navigation
Channel pages
file tiles / list
file pages
share page
right click > copy link
https://github.com/lbryio/lbry-desktop/issues/2135
https://github.com/lbryio/lbry-desktop/issues/1393
System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

thank you for filing this

We will also need to audit and possibly improve how lbry-redux stores claim state.
E.g. this object is likely to end up with redundant claims if we're not careful.


Remove rogue entrySet call when iterating over maps in C# samples

Hmm... will see if I can work out why the tests are failing.

 Running the tests on Windows is non-trivial :(

Okay, found a couple more baseline files that contained entrySet. Let's see if this now passes...

@jskeet not sure if you are still online since it's already very late in London, I'll go ahead and merge it.

Thanks for merging - still online, but I'm happier for you to merge :)


Investigate proper transcription of "nj"

There are not many cases for this pattern in English or Elvish in the mode for General Use, but there certainly should be a pre-nasal tilde over either anca or anga. It’s currently anca, but to be consistent with the treatment of "j", probably should be anga.

Here is how I write "benjamin"


simd support sve2 ？

If the question is a), SIMDe does not yet implement most of SVE; no other work has been even started for implementing SVE2. See https://github.com/simd-everywhere/simde/issues/609
If the question is b), we don't have any optimized implementations of other instructions sets that utilize SVE2 intrinsics, no.


Fix: run only once the process on good quality cells, on all scenari

I am working on a feature to resolve #46 that will make the process step run for each scenario, but with only the according output (opposite to the issue at hands, where we have multiple reports with the same full output), so I would discard this PR unless it is needed as a temporary fix?


Any plans of releasing Pre- Trained Weights?

Hi,
Great work first of all. Had been looking for something like this last year. I've updated the leader board over Paperwswithcode. Please change in case you feel I made a mistake.
Also, any plans of releasing the pre-trained weights?

Hey Mahesh!
Glad that you liked the work.
Yes! Pre-trained weights have been provided in the Github release.


Support buffering output streams

This is to support very large stdout/stderr payloads. I haven't added this to the getBuild handler as that endpoint shouldn't be dealing with large stout/stderr streams.
Refs https://github.com/badsyntax/vscode-spotless-gradle/pull/10

LGTM!


WIP: Remove useless  or unused code

Within the coverage Tool Remove Code unsused

ok all test has passed with this PR branch. merging it


Make use of flopy's support for multipolygons in grid intersection

https://github.com/gwmod/nlmod/blob/fc6d4ae7554a28bf3d7af2ba2703b37b5a7c614b/nlmod/dims/grid.py#L1718
We could remove the for-loop here. The first line in the code below reads a geopandas dataframe with polygons. The second line transforms all polygons into a single multipolygon.
from shapely.ops import unary_union

gdf_mask = gpd.read_file(fp_mask)
multipolygon = unary_union(gdf_mask.geometry)

r = ix.intersect(multipolygon).astype([
    ("icell2d", int),
    ("ixshapes", "O"),
    ("areas", float),
])

Note that flopy will support returning the intersection results as a (geo)dataframe in future versions using geo_dataframe=True in the intersect() call or dataframe=True in the intersects() call.

#396


Fix CI for releases.

All the necessary fixes for the CI release process can be found in:

https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/commit/9d67597850a1b5c3a44c9515e3b1c625c896f951
https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/commit/f5ea712f52d9b24c166d7e82c39f3f15332f9c24
https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/commit/a29b002844a040be8cbac143ce81db5eb1a5eaa4

This PR adds the pieces that are still currently missing from our CI workflow here.

Ah. Was getting there. Had just done #195 for the same changes to version.props,
Will cancel that and we go with this


Add Support with Mac M1?

I manage to install it, no problem, the syntax highlighting is ok,
but the Snippets is not being triggered?
i tried x or xx but not working or any other snippets like :
if, with, etc.
i already add this
"[markdown]": {
  "editor.quickSuggestions": true
}

but this one is specific for markdown, do you have config for html?
or do i need to set the language from html to hugo?
any help would be appreciated thanks

the snippets only shows when i do "option+" then it will show keyboard snippets
is there a way i can use the snippets without pressing excess 2 keys?
its pointless having a keyboard shortcut for example pressing x , is much better than pressing option+\ then x...
3 keystroke compare to x + tab
any fix on this?

I'm on a M1 Mac and not having any issues. Perhaps try uninstalling and reinstalling. Let us know if that helps!


use docker compose (GO)

Hence docker compose (instead of docker-compose) has been released and is much more stable (it's a GO version instead of Python) and is installed with the same repo as docker its a good time to make it the default
ref: link it's called docker-compose-plugin

Please send this to 1.x


Fix clippy warnings

Fixes most warnings generated by rust-clippy

@ebfe isaac.rs:134:37: 134:48 error: the type of this value must be known in this context

Don't know yet. #792 also fails in dependency code. Probably new rust nightly that breaks these libs.

rust-lang/rust#30713

Please squash the commits and then I'll merge this.

done


custom dataset

          > We need color_data, depth_data, and poses sorted by index in the new dataset class. To run on the scene, the config needs new camera [intrinsics](https://github.com/VladimirYugay/Gaussian-SLAM/blob/a94421893a96a7b600a1e53079af92766472e2a8/configs/ScanNet/scannet.yaml#L35) and dataset [path](https://github.com/VladimirYugay/Gaussian-SLAM/blob/a94421893a96a7b600a1e53079af92766472e2a8/configs/ScanNet/scene0000_00.yaml#L2), also add new dataset into the [get_dataset](https://github.com/VladimirYugay/Gaussian-SLAM/blob/a94421893a96a7b600a1e53079af92766472e2a8/src/entities/datasets.py#L261) function. You could test data loading with debugger first.

I have color_data,depth_data. How can I get poses?
Originally posted by @ddenglina in https://github.com/VladimirYugay/Gaussian-SLAM/issues/16#issuecomment-2227588785

Hey there,
Poses are originally needed to measure how accurate the pose estimation is. If you are running it on your own data, you can just put identity matrices instead of the pose matrices and run your algorithm.
If you want to measure the tracking performance, you can try something like COLMAP to obtain the poses for your sequence and then use them in our pipeline.

Hey there,
Poses are originally needed to measure how accurate the pose estimation is. If you are running it on your own data, you can just put np.eye(4) matrices instead of the pose matrices and run your algorithm.
If you want to measure the tracking performance, you can try something like COLMAP to obtain the poses for your sequence and then use them in our pipeline.

Thanks for your reply.
（1）Do you mean that both gt_pose and estimated_pose are np.eye(4)?
（2）Colmap calculates pose based on RGB data and lacks scale information. Is this available?

Yes. estimated_pose will be filled with values during the run of the algorithm
You are right, but I think the poses estimated with colmap might still be a good proxy measure pose estimation quality.

Feel free to re-open if you have any further questions!


[BUG] Updating option "Allow snapshots removal during trim" for old volumes failed

Describe the bug (🐛 if you encounter this issue)
If a volume is live upgraded from v1.3.2 or lower versions or the volume is not upgraded yet, updating volume option "Allow snapshots removal during trim" (which is actually field volume.spec.unmapMarkSnapChainRemoved) will error out.
This is similar to the case I mentioned in this comment.
To Reproduce
Steps to reproduce the behavior:

Deploy Longhorn v1.3.2
Create and attach 2 volumes.
Upgrade Longhorn to v1.4.0.
Do live upgrade for one volume.
Update volume option "Allow snapshots removal during trim" for both volumes via UI.
See error logs in the longhorn manager pods

Expected behavior
There should not be tons of errors in the longhorn manager. And the engine should work correctly.
Log or Support bundle
[longhorn-manager-frcss longhorn-manager] E0105 12:39:17.861011       1 engine_controller.go:774] failed to update status for engine vol-e-c861dc7a: failed to correct flag UnmapMarkSnapChainRemoved from false to true: proxyServer=<IP_ADDRESS>:8501 destination=<IP_ADDRESS>:10000: failed to set UnmapMarkSnapChainRemoved: rpc error: code = Unknown desc = failed to set UnmapMarkSnapChainRemoved to true for volume <IP_ADDRESS>:10000: rpc error: code = Unimplemented desc = unknown method VolumeUnmapMarkSnapChainRemovedSet for service ptypes.ControllerService

Environment

Longhorn version: v1.3.2 -> v1.4.0

Additional context
Need to update the trim doc

Verified on master-head 20230209

longhorn master-head (b1ed058)
longhorn-manager master-head (3831c9c)

The test steps

Deploy Longhorn v1.3.2
Create and attach 2 volumes.
Upgrade Longhorn to master
Do live upgrade for one volume.
Setting > General >　enable Remove Snapshots During Filesystem Trim
Setting > General >　diable Remove Snapshots During Filesystem Trim
Enable volume option "Allow snapshots removal during trim" for both volumes via UI.
Disable volume option "Allow snapshots removal during trim" for both volumes via UI.
See logs in the longhorn manager pods

Result Passed

We could reproduce the issue on 1.4.0
We didn't see error logs in the support bundle.


Frontend: Implement Sign Up page

Added in https://github.com/adrgs/CTFcolab/commit/6b6f6ca9dfd6c52e80a89069279c109e803b3589


Error running navigate_space

I am trying to replicate what's already documented, however I am getting the mentioned error;
data("demo")
results = navigate_space(demo, n_subsamples = 5)

Error:
Error in navigate_space(demo, n_subsamples = 5) :
argument "coord_cols" is missing, with no default

Hi, we will fix the bug but in the meantime, we advise you to use https://github.com/neurorestore/Vespucci, an upgraded version of Magellan.


Added fullscale PWM and ampsToSensor params & finger reconfiguration files

Added fullscale PWM and ampsToSensor params
Added hardware configuration files for finger limbs reconfiguration

@gsaponaro could you please take care of updating devel too? 😉
Thanks in advance.

Yep! Done in https://github.com/robotology/robots-configuration/commit/d0829bbd98282d4b2c4d0b7ce0f5bde1b45b80a5


[SPARK-16814][SQL][WIP] Fix deprecated parquet constructor usage

What changes were proposed in this pull request?
Replace deprecated ParquetWriter with the new builders
How was this patch tested?
Existing tests

Test build #63039 has started for PR 14419 at commit e10c147.

Test build #63039 has finished for PR 14419 at commit e10c147.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
    case class ParquetWriterBuilder() extends

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63039/
Test PASSed.

Do we know if this works across versions of Parquet that are still in play for Spark builds? I know we've got some YARN and Scala warnings that we can't adjust for that reason. Just double checking. @HyukjinKwon did you look at this too or am I imagining it?

Yes, actually I took a look for this as well and it seems okay (I was thinking doing this with other issues).
If my understanding is correct, this would not affect actual writing in Spark but just tests.

Could  cc @liancheng who has more insight about thie please?

So yes as @HyukjinKwon says its just in the tests.
I figured this would be ok across the hadoop versions we target because I looked at the build deps files and they all listed parquet-hadoop-1.8.1 for the different hadoop profiles we build with (grep -r parquet-hadoop ./dev/deps/)

@HyukjinKwon do you have a PR for this? If so I can go ahead and close this one (and lets maybe sync some on the deprecation stuff we are both cleaning up :))

No, I don't :). I just meant I wanted to say that this fix is reasonable and the reason I didn't submit a PR has not been because there is potential incompatability. It was because just I was thinking doing this with other ones in the future. I like this PR :).
Sorry for confusing you.

Test build #63051 has started for PR 14419 at commit 5e92e6f.

Test build #63051 has finished for PR 14419 at commit 5e92e6f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63051/
Test PASSed.

Merged build finished. Test PASSed.

@HyukjinKwon no worries - just wanted to make sure we weren't accidentally duplicating eachothers efforts :)

Test build #63062 has started for PR 14419 at commit 2067b63.

Test build #63062 has finished for PR 14419 at commit 2067b63.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63062/
Test PASSed.

Merged build finished. Test PASSed.

Test build #63183 has started for PR 14419 at commit 1a37b8f.

Test build #63183 has finished for PR 14419 at commit 1a37b8f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/63183/
Test PASSed.

Merged to master


[Discussion] Share Your Paper Resources

I just want to ask all contributors here about how you gather these LLM-KG research papers, since many papers is very fresh and up-to-date. I think it would be great to have a discussion about it (i did not see a discussion tab here, so, i made an issue in this repo instead). Here is what i want to ask:

The sources or methods you use to find up-to-date research papers. This could include online databases, websites, newsletters, academic journals, or any other resources you find useful.

If you use any specific tools, scripts, or search queries to streamline the process of discovering new papers, please provide details or examples.

Any tips or best practices you have found effective in finding the most relevant and up-to-date papers.

with that, i think it would help all of us to take a look and update new papers related faster.
Thank you all in advance.

Thank you for your questions, but we don't actually use any tools. The update will occur simply when students share relevant papers during weekly group meetings.
Students have different methods for finding their papers.
Best wishes,
Zhuo

Thank you! I got it. Hope that it will be updated weekly!


Empty partition id list does not cause an error. Messages are "blackholed" at the partition router.

Take the following topology:
      let parts: Array[String] val = recover Array[String] end

      let letter_partition = Partition[Votes val, String](
        LetterPartitionFunction, parts)

      let application = recover val
        Application("Alphabet Popularity Contest")
          .new_pipeline[Votes val, LetterTotal val]("Alphabet Votes",
            TCPSourceConfig[Votes val].from_options(VotesDecoder,
              TCPSourceConfigCLIParser(env.args)?(0)?))
            .to_state_partition[Votes val, String, LetterTotal val,
              LetterState](AddVotes, LetterStateBuilder, "letter-state",
              letter_partition where multi_worker = true)
            .to_sink(TCPSinkConfig[LetterTotal val].from_options(
              LetterTotalEncoder,
              TCPSinkConfigCLIParser(env.args)?(0)?))
      end
      Startup(env, application, "alphabet-contest")

(borrowed from testing/correctness/apps/alphabet/alphabet.pony).
This example will compile and run without error. If you add debug prints at the various functions, you will see that all messages are decoded... They are all then sent to the partition function. And nothing happens after that.
An empty list of partition ids shouldn't be a valid input to any partitioned step.

It can get pretty hairy to come up with a way to prove that an arbitrary, user-defined partition function will always map any input to a valid partition... Especially with the different language APIs.
But are there other types of partition setup characteristics that we could or should explicitly check for, besides the partition id list being non-empty? If so, how should we go about it?

This is no longer an issue since we use dynamic keys.


cors errors in contact and newsletter fetch request

[X] PR for this issue must follow the PR template
[x] This is a bug
[ ] This is a feature request

For Bug

What happened?

What should have happened?
clean console when sending contact msg and subscribing. THIS SOMETIMES APPEARS IN DEV ENVIRONMENT BUT IS ALWAYS THERE IN PRODUCTION/LIVE ENV.


Need an option: don't restore focus after dialog is closed

feature request
be able to tell Mat-dialog that it should not restore focus after it is closed.  This can be passed as an option to mat-dialog.open(componentRef, {returnFocus:false})
What is the expected behavior?
Mat-Dialog doesn't try to return focus or manage focus
What is the current behavior?
"Once a dialog is closed, it will return focus to the element that was focused before the dialog was opened."
What are the steps to reproduce?
This is default behavior. Any mat-dialog behaves like this right now.
What is the use-case or motivation for changing an existing behavior?
I have a spinner/loading service. The spinner service is used like this
spinner.show(), spinner.hide().  Spinner service uses mat-dialog as internal implementation.
Usually, spinner.show() is called before page switch when a menu button is clicked. Spinner.hide() is called by the new page when data is ready.
My page has a directive similar to cdkFocusInitial. The directive puts focus into correct element in current page declaratively.  However when data is ready and dialog is closed, mat-dialog returns focus to menu button.
If I can pass an option like this, dialog.open(spinner, {returnFocus: false} ), my directive will work properly. Page focus can be managed by directive.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
all
Is there anything else we should know?
None

You can use the autoFocus option. See https://material.angular.io/components/dialog/api#MatDialogConfig.

@crisbeto, is it possible to extend this feature to mat-bottom-sheet, mat-datepicker and mat-menu?


Documentation is version controlled in two places

In @ieivanov's recent PR he updated the installation instructions in the docs folder (many thanks!), and this made me realize that we have two sources of documentation: thedocs folder and the Wiki.
By default, GitHub keeps the Wiki in it's own repository named github.com/mehta-lab/recOrder.wiki.git, which has its own version history (separate from the code).
I think we should have one source of truth for documentation, and I can see three possible solutions:
1) Move all documentation into the docs folder and hide/remove the wiki. This will allow the documentation to stay synchronized with the source code. This is my favorite option since it makes it easy to find the docs and keep them synchronized.
2) Move all documention into the wiki and hide/remove the docs folder. The wiki has some nice features like the always-visible TOC and online editing, but I don't think these are necessary. The fact that the wiki is its own repo is a bit of a headache. For example, does the documentation gives instructions for the main branch or the latest release?
3) Use GitHub pages to keep them synchronized.. This seems unnecessarily complex, but I'm open to this solution or others.

Thanks for flagging this @talonchandler.  I agree with moving the documentation from Wiki to the docs folder. We can also host versions specific to release using https://readthedocs.org/. One advantage of wiki is that it welcomes user contributions. This can be achieved by specifically requesting user contributions on README, and then outlining steps for generating documentation PR within the docs folder itself.


🐛 Bug Report: Seems like I got logged out after 15 minutes.

👟 Reproduction steps

Log in
Close the page
Play the game for 15 minutes
Open the page.

👍 Expected behavior
Remember me.
👎 Actual Behavior
Completely forgot about me.
🌐 Browser
Chrome

As I delved deeper into reviewing and debugging the code, it appears the problem is somewhat different from what I initially thought. The issue seems to stem from Next.js middleware redirecting to the signIn page when it determines the user is not logged in. At this point, due to an expired access_token, it's unable to retrieve the current user's information.
I only realized this after making some code modifications, so the changes might not align perfectly with the project's original approach. For reference, I've created a PR which you're free to use or disregard as you see fit. It's been a while since I last worked with Next.js, so there might be some less-than-ideal practices in my implementation.
If needed, I'm willing to further refine this PR. Please let me know if you'd like me to make any additional improvements or adjustments.
@stonith404

@IvanLi-CN Thanks for your report and PR. It seems like the issue is caused by the commit https://github.com/stonith404/pingvin-share/commit/2dac38560b6c54b6e7676dcd4682bfa57973292f which changed the expiration of the access token cookie to 15 minutes.
This causes the refreshAccessToken method not to refresh the access token anymore. This function needs an old access token to check if it is expired. If we wouldn't do this check, the refresh token endpoint would be called every 30 seconds if an anonymous user uses the website.
I have reverted the commit in 14c2185e6f1a81d63e25fbeec3e30a54cf6a44c5 and published these changes in the development image. Would you mind to check if you don't get logged out anymore after this change?

@stonith404 Yes, I'm currently testing by tweaking it, and I think it would be useful to undo this commit.

By the way, the next-cookies in frontend/package.json don't seem to be used, you can see if you want to remove them. @stonith404

@IvanLi-CN You're right, thanks.


xml output for #say miss xml header

I use adhearsion with asterisk/UniMRCP. when I call #say function, the xml content sent to asterisk miss xml header. here is out from log:
[2019-08-06 17:13:13.882] DEBUG Adhearsion::Call: b84e7088-655b-4763-a6e5-fb37c60391bb@: Executing command #<Punchblock::Component::Output target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Tue, 06 Aug 2019 17:13:13 +0800, request_id="cc7e2e15-b2d2-4e72-ac82-051393063bd4", headers={}, voice=nil, interrupt_on=nil, start_offset=nil, start_paused=nil, repeat_interval=nil, repeat_times=nil, max_time=nil, renderer="unimrcp", render_documents=[#<Punchblock::Component::Output::Document target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Tue, 06 Aug 2019 17:13:13 +0800, url=nil, content_type="application/ssml+xml", value=<speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="en-US">你好，大家好</speak>>]>
I miss something,  or is that a bug?
OS: MAC OS

And then what happens? Does it break? What do you see in Asterisk logs?

Asterisk didn't log any errors, and foward the xml content to UniMRCP server, but my TTS provider (https://ai.baidu.com/docs#/BSIC-MRCP/top) get the xml content which miss xml header as plain text, and synthesize whole xml content to speech.

By "XML Header", can you be more specific what you are referring to? This sounds more like a configuration problem between UniMRCP and Baidu, rather than something in Adhearsion.  Can you get UniMRCP to work from extensions.conf to verify that Asterisk is configured correctly?

I'm sorry about my terrible English. I try to describe this issue more clearly.
Yes, UniMRCP can work with Asterisk. the xml content from Adhearsion will be forward to Asterisk, and Asterisk forward to UniMRCP/ Baidu.
Baidu  expect the xml content following MRCP protocol like:
08-07 00:58:33:118 [baidu/speech-arch/open-mrcp-tts/tts_channel.cpp:439][tts_channel_t::push_request_msg][logid:6c276be2b86b11e9_0] send TTS request msg: {"text":"<?xml version=\"1.0\" ?>\n<speak>\nHello World\n</speak>\n","per":100,"vol":5,"xml":1,"aue":5,"rate":0,"pit":5,"spd":5,"user_sn":"6c276be2b86b11e9_0","lan":"en_US"}
but the xml content from Adhearsion like:
08-07 01:14:42:349 [baidu/speech-arch/open-mrcp-tts/tts_channel.cpp:439][tts_channel_t::push_request_msg][logid:adf7b962b86d11e9_0] send TTS request msg: {"text":"<speak xmlns=\"http://www.w3.org/2001/10/synthesis\" version=\"1.0\" xml:lang=\"en-US\">Hello World</speak>","per":100,"vol":5,"xml":1,"aue":5,"rate":0,"pit":5,"spd":5,"user_sn":"adf7b962b86d11e9_0","lan":"en_US"}
The text value miss the xml header:
<?xml version="1.0" ?>
The text value is from Adhearsion:
[2019-08-06 17:13:13.882] DEBUG Adhearsion::Call: b84e7088-655b-4763-a6e5-fb37c60391bb@: Executing command #<Punchblock::Component::Output target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Tue, 06 Aug 2019 17:13:13 +0800, request_id="cc7e2e15-b2d2-4e72-ac82-051393063bd4", headers={}, voice=nil, interrupt_on=nil, start_offset=nil, start_paused=nil, repeat_interval=nil, repeat_times=nil, max_time=nil, renderer="unimrcp", render_documents=[#<Punchblock::Component::Output::Document target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Tue, 06 Aug 2019 17:13:13 +0800, url=nil, content_type="application/ssml+xml", value=<speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="en-US">Hello World</speak>>]>
So, I think the issue have three cause:
1, Do Adhearsion miss to send xml header?
2, Should Asterisk add the xml header?
3, Baidu handle the text value incorrectly.
which cause I should to follow?
Thanks!


Pc save editor

could you write this to edit .sav files direct on pc without any wii u please ? for cemu

Sorry I don't have the knowledge for this :(


Coloring of FLI-bug area does not work in Super-FLI.

SuperCPU (and now also BeamRacer) allows a degree of control over colors in the FLI-bug area. Full explanation is available at http://unusedino.de/ec64/technical/c=hacking/ch21.html (section "Introducing Full-Screen FLI mode for the SuperCPU"), but the gist of it is that in addition to bit combination "00" controllable with $d021, you can also adjust colors of "01" and "10"  pixels by writing to the data bus at the right moment, i.e. in the three cycles immediately following the badline-forcing write to $d011.
This is similar to how one can change gray pixels in FLI-bug area by setting up the data bus with the bit pattern of the instruction following STA $d011, but while in regular C64 the CPU gets halted right after that, both expansions can continue to modify  the data bus.
Here is an image demonstrating the problem:

It's a simultaneous capture from S-Video (top) and component (bottom) outputs. Please disregard everything but the three leftmost character columns. Going from the top, 1/4th of the screen are pixels "10" in all three columns (so 12 pixels wide), then "01", then "00" (which can only be changed once per line). Final 1/4th are three identical columns, each with "00", "01", "10", "10" pixels.
As you can see, VideoMod outputs gray color in all cases except "00" pixels.
For comparison, here is a regular FLI picture with gray area modified by data left on the data bus during the final instruction fetch, so that they become bits 8-11 of c-fetch. Here, everything works perfectly.

As usual, I will gladly help with the testing.

I've just noticed I was logged into another account. It was me above. :)

For the latest firmware, I followed the well known reverse engineering document. Eithet they did get something wrong, or the CMOS version of  the VIC behaves differently.
In any case I will change it so that the VIC accepts the data in these cases.
One detail is not totally clear. I guess the VIC will take d8-d11 from the dedicated color data lines. The fact that they also always carry the low bits of the last bus read access is just a result of how the busses are wired together.
So if you want the BeamRacer to support fullscree  FLI with all colors, you need to drive these color signals also.

If we are talking about the same document, then I think this passage is missing one important detail:
"Nevertheless, the VIC accesses the video matrix, or at least it tries,
because as long as AEC is still high in the second clock phase, the address
and data bus drivers D0-D7 of the VIC are in tri-state and the VIC reads
the value $ff from D0-D7 instead of the data from the video matrix in the
first three cycles."
...unless VIC #CS line is selected, which apparently also lets D0-D7 be loaded from the data bus. It does not happen in vanilla C64, because even if the instruction that follows STA $d011 was being loaded from IO memory range, PLA would still not assert the IO line (see here for details https://groups.google.com/g/comp.sys.cbm/c/wdVBsz16qLw/m/CcxIRuZF8xgJ?pli=1).
However, both SuperCPU and BeamRacer do not rely on a read, but rather make a legit write to the data bus. When R/W is low, PLA no longer cares about the state of BA line (which is low in case of SuperCPU, as the internal 6510 is stopped, and likely high for BeamRacer, since it lets the CPU run unimpeded most of the time). The D0-D7 values are thus fetched by VIC as a video matrix data, i.e. the colors for  pixels "01" and "10".
The story ends here for SuperCPU, because D0-D3 is connected to D8-D11 by the 4066 switch, thus making pixels "10" and "11" be of the same color. BeamRacer can go a step further, because it separates the system and VIC data buses - you can control colors "00", "01" and "10" with a display list, and simultaneously use the regular CPU technique to leave data on D0-D3 for the "11" pixels.

So I will change the code to accept the inputs in this condition on D0-D7 when AES or CS is low. But I have no access to D8-D11 when AES is high brcause these signals are multiplexed (to save some wires) with A2-A6. So I can only use the data on D0-D3 for this which works nearly everywhere (even with SuperCPU)
With the BeamRacer and the Standard Adapter Board you can not feed all 12 data bits through to the FPGA when AES is set high by the VIC. But when you integrate  the adapter into the BeamRacer anyway, you could probably override this behavior.

Thank you, D0-D3 will work for us, too. As for hardware changes - maybe in BeamRacer 2 or BeamRacer 128. ;)

Experimental firmware as usual at: https://github.com/c0pperdragon/A-VideoBoard/tree/master/c64mod/firmware

I did some FLI testing with and without the extra writes, looks like it's all working great with 2.10b1. Thank you!

If I'm on 2.0, should I upgrade to latest?


download image doesn't work

@yangwao @prury  @kodadot/internal-dev
tl;dr
don't think we can solve this one inside the mobile wallet, it's a permission issue
the findings

I debugged it and found no difference in the running logic between desktop and mobile
image does get downloaded on regular mobile browser (Firefox, chrome)
compare permissions below - Nova is missing required permissions

Firefox:

Nova (Math wallet same)

We could try to check userAgent and hide it when mobile app.
Or send Download image by email.

Yes @roiLeo . Something like that
But I need input from @yangwao @exezbcz  on how to proceed

Worst case as was said we can spawn email worker to do that 👍

new tab so user can download it somehow?

new tab is it

New tab where? Inside nova wallet?

New tab where? Inside nova wallet?

IMO it won't be possible

IMO it won't be possible

My curiosity allowed me to test it and yup there is just one solution.
Will check with android people
<!DOCTYPE html>

    <title>Koda x Nova</title>
    <meta charset="utf-8" />

        CLICK FOR LINK

Setup
mkdir nova-test
cd nova-test
mkdir public
# Copy the html to public/index.html

to run
npx nitropack dev --host

Sample demo
https://github.com/kodadot/nft-gallery/assets/22471030/a3ac9910-f9b1-4243-8c6c-649aa5c86c09

I will give it a shoot with vikiival's solution


Cluster events timestamps

What would you like to be added:
In the cluster tab, at the bottom there's the latest events. While it's possible to click on each to get the timestamp, it would be nice if a column displaying it was added.
Why is this needed:
Quality of life improvement
Environment you are Lens application on:

Kubernetes distribution: AKS
Desktop OS: macOS

I agree, it will definitely make life easier. Perhaps just to add Age column like Workload Overview has?

I agree, it will definitely make life easier. Perhaps just to add Age column like Workload Overview has?

Age would work. As long as we can sort by newer for example. Just having a way of knowing when something happened. Say you get alerted of an issue, you check the state of the cluster and you can see quickly if an event was trigged recently or 3 days ago.

Age would work. As long as we can sort by newer for example. Just having a way of knowing when something happened. Say you get alerted of an issue, you check the state of the cluster and you can see quickly if an event was trigged recently or 3 days ago.


Release

:tada: This PR is included in version 1.47.0-develop.6 :tada:
The release is available on:

v1.47.0-develop.6
GitHub release

Your semantic-release bot :package::rocket:

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

v1.48.0
GitHub release

Your semantic-release bot :package::rocket:


Fix Hadoop pom.xml

Missing profile ID means the code wasn't actually running

R: @ssisk

Coverage remained the same at 70.661% when pulling a77488e944a38a5056fffcb777d2494cc4446eb2 on dhalperi:fix-hadoop-profile into 36e43558a2849204b4a9d077c542fa25e75c3fcb on apache:master.

Seems like maven is okay with this, but IntelliJ isn't? Can't find docs that indicate this is required, but if it makes intellij happy, it makes me happy.

Yes, I may have been wrong when I said profile ids are required. Maven on the CLI seems to be just fine with this.
However, yes, my IDE is dropping the module from the project without the id.


Update catalog-info.yaml

We are working to update the main techdocs landing page (http://mvp.developer.gov.bc.ca/docs) to have more human-readable language. Suggesting this for your docs - but super open to suggestions!

Looks good


Fix missing close-quote

When the cron job was changed to a shell invocation with -c, the closing
single-quote around the main command was omitted. This commit fixes
that omission.

@reidmv thanks for contributing!


Splitting Mattermost services

Hi,
I'm deploying on Azure cloud in AKS and i would like to use Azure Managed Postgres database for database.
How can i configure it?
Thanks,
Rajashekhar

Hi @rajashekhargundeti. Would you be open to posing this question in our Peer-to-Peer Help channel? If you could also let me know whether you've consulted this documentation that would be helpful. Thank you! :)

Hi @rajashekhargundeti. I wanted to check in on this and find out whether you've been able to resolve your question. :)

Closing ticket.


[revert][regression-test] revert lazy open regression test

Proposed changes
we revert lazy open in https://github.com/apache/doris/pull/22130, and the test is unused which can be revert.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


#9159: Enable support for FlashDecode, a variant of SDPA

Ticket
https://github.com/tenstorrent/tt-metal/issues/9159
Problem description
Long context length decode fails in attention since we don't have enough L1 space to load K and V. This requires a FlashAttention-style op to compute attention by chunks.
What's changed

Modify SDPA op to allow for decode-shaped inputs

Checklist

[x] Post commit CI passes
[ ] Model regression CI testing passes (if applicable)
[x] New/Existing tests provide coverage for changes

post commit: https://github.com/tenstorrent/tt-metal/actions/runs/9485417988

fyi @johanna-rock-tt @xuncaiTT

re-enabled SDPA tests after adding workaround for ND PCC. new pipeline https://github.com/tenstorrent/tt-metal/actions/runs/9515948487


Programatically display contributors to the site

Using the jekyll-github-metadata plugin, we can work out who has
contributed to the HackSocNotts site, as well as how many contributions
they've made (although no information about SLOC or any other metrics).

Note that this PR would also require Travis also have access to a JEKYLL_GITHUB_TOKEN, so it can correctly build the site; there is only a warning on the output (https://travis-ci.org/HackSocNotts/HackSocNotts.github.io/builds/180537529#L237) but it would be worth removing as many variable problems as possible.


[WOR-1533] Spring Boot dependency: pin postgresql to 42.7.2

https://broadworkbench.atlassian.net/browse/WOR-1533
Our current version of Spring Boot is 3.1.2, which brings in postgresql 42.6.0.
To mitigate a security vulnerability, we must instruct Spring Boot use a non-vulnerable version.
I first tried upgrading our TCL to see if that would fix things but this had no impact: the Spring Boot pin was both necessary and sufficient, so I will pursue the TCL upgrade separately as it's a larger change.

@okotsopoulos when you upgraded TCL and it didn't help, what library was then including the vulnerable version?

@cahrens it's Spring Boot, via its dependency manager (links in PR description). Spring Boot is slow to update its dependencies so even if we upgraded it to latest, postgresql would still be vulnerable.
I could move the pin to where we set the Spring Boot version, to make it more likely we clean up as we upgrade?

Oh, I misread the description initially… I thought you attempted to update TCL to require this version, and that didn't help. I get it now.


Add error message for regex

Codecov Report

Merging #352 (35713fb) into main (6b7458e) will increase coverage by 0.22%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #352      +/-   ##
============================================
+ Coverage     93.79%   94.01%   +0.22%
- Complexity      492      502      +10
============================================
  Files            60       60
  Lines          1322     1354      +32
============================================
+ Hits           1240     1273      +33
+ Misses           82       81       -1

Impacted Files
Coverage Δ

src/Analyzer/ClassDescription.php
100.00% <100.00%> (ø)

src/Analyzer/ClassDescriptionBuilder.php
100.00% <100.00%> (ø)

src/Analyzer/FileVisitor.php
82.40% <100.00%> (ø)

src/Expression/ForClasses/Extend.php
100.00% <0.00%> (+8.33%)
:arrow_up:

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


My transaccion is not working

I have done a transacción of my XML to coinbase but thats not being done

Did you enter your XLM Memo ID when creating the transaction?

Coinbase requires an XLM Memo ID to correctly route funds to your account, if you omitted this information then your funds are lost in the ether. If you have a transaction hash then search for the hash on stellar.expert and you will be able to see the transaction status.
This is not an issue for the Keybase team.


Added a bytecode-based SOM interpreter

This PR adds a second implementation of an SOM interpreter, which compiles and executes bytecode instructions instead of evaluating by traversing AST nodes.
Since there are two interpreters now, the AST-based one is renamed to som-interpreter-ast and the bytecode-based one is named som-interpreter-bc.
The bytecode-based interpreter offers a performance improvement of about 2x, according to a few rudimentary initial benchmarks.
More accurate measurements and performance analysis should come later, as well as some performance optimisation techniques, like inline caches or pre-allocated stacks.

The DeltaBlue benchmark was not completing in time using the bytecode interpreter and was reported as a timeout without even completing a single iteration, even though the AST-based interpreter was running to completion in about <200 ms in average per iteration.
This was weird because the bytecode interpreter seemed to be consistently more performant in every other benchmark than this one, so I thought that something weird was going on.
And after some debugging, there was a indeed a bug in the bytecode interpreter, which simply was that super-sends were not lexical (the method was always looked up in the superclass of the receiver instead of in the superclass of the class holding the current method).
If a method that was 'super-called' also did a 'super-call' to a method of the same name as itself, then the program would enter into an infinite loop, because instead of going higher in the inheritance tree to lookup the method, the initial method would keep calling itself.
This is exactly what was causing the DeltaBlue benchmark to timeout: it was going into an infinite loop and repeatedly calling the same methods over and over again, until it was killed (by a timeout) or until it went OOM (from allocating new frame stacks).
Now, after the fix in b82acd4, the DeltaBlue benchmark works correctly (<100ms per iteration) and shows a ~2x improvement over the AST interpreter. :tada:
More concrete details about how the bug showed up:
The DeltaBlue benchmark uses an OrderedCollection class, which inherits from the standard Vector class, and the new: static method is called on it.
Since OrderedCollection does not define its own new: method, the one from Vector is picked.
Vector class>>#new: then calls super new, which instead of resolving to Class>>#new as it should, it was resolving to the superclass of the receiver (OrderedCollection class), so it instead resolved to Vector class>>#new, who defers to Vector class>>#new: again which closes the circle and starts looping until it gets OOM-killed.
It's funny how this bug didn't seem to have appeared anywhere else, and the interpreter managed to get so far with it.

Hm, sounds like there's a test missing. Needs a few classes to make sure that proper lexical dispatch and simply dispatching to the run-time super class of the receiver is the same. I had hopped, I got one already.
https://github.com/SOM-st/SOM/pull/31 is likely also not enough. yksom might have such a test.

This PR should be ready to be merged, as:

the design of the bytecode interpreter is not expected to change.
the bytecode interpreter has total feature-parity with the AST one.
optimisations and improvements to the bytecode interpreter are being done in separate PRs.


Dev-loop double prime build when dependencies are resolved by the prime build

Project.isBuildUpToDate() has the following check:
        // Are any dependencies newer than the most recent source?

        for (final BuildFile file : dependencies()) {
            final Optional<FileTime> changed = file.changedTimeIfOlderThan(latestBinary);
            if (changed.isPresent() && newerThan(changed.get(), latestSource)) {

                System.out.println("### dependencies newerThan ###" + file.path());
                // Yes, so we are not up to date.

                return false;
            }
        }

The jar files copied under target/libs as part of the prime builds have their timestamp identical to the original file in the local Maven repository. If the original file was resolved by Maven during the prime build itself, then the timestamp will be newer than the latest source file.
In other words, Project.isBuildUpToDate() will always return false if any of the project dependencies is resolved as part of the prime build.
This method is only used by test classes under, therefore the impact is unclear.

I can't reproduce this, and I'm not sure how it could happen: the dev loop uses dependencies directly out of the local repo, and does not use target/libs at all. Deleting a dependency from the local repo does cause it to re-download during a full/prime build, of course, but then that new timestamp is stored for the next time we do a full build.
Am I misunderstanding something?

This is about DefaultProjectSupplier which is only used as part of the tests.
For this to happen both target/libs and package phase need to be used and it's only the case for the tests that use DefaultProjectSupplier. I.e. it's a test issue only.
It looks like the failing tests this was reported on was DefaultProjectSupplierTestIT.testUpToDate, however this tests currently runs as expected. i.e it does not do another prime build.


Register v0.2.6

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/1715
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.6 -m "<description of version>" 9b4abbbf4ccde20e6ac8246f28fba40e99d61d4a
git push origin v0.2.6


Processing only one language

Hi @wasiahmad,
I have following queries:

Could you please guide me on the steps if we want to pre-train the model only for the downstream tasks which require only one Programming language (Eg. Clone detection). Does this library incorporates this scenario, or do I need to make certain changes to accommodate it?

Also, the use of number of GPUs has been hardcoded for 8 GPU and not taken as an input argument from the user. Will this work if we have only 1 or 2 GPUs on the system?

What is the early stopping criteria for pre-training? What is the hyperparameter for the same

Thank you,
Aman

Hello,

Yes, you need to make small changes. For example, you can only use your target language(s) during pretraining as mentioned here. If you do not need a certain language, just skip preparing its corresponding pretraining data.
This is not true. You can always vary the number of GPUs (see here). Please, make sure to adjust other hyper-parameters to achieve the desired batch size.
We used a fixed number of pre-training steps (100k). You can use validation loss as a stopping criterion too.

Thanks!

Thank you for your response.
regards,
Aman


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_beb6fe55-3db8-4d0b-b720-deb4d0aa7fc0/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_beb6fe55-3db8-4d0b-b720-deb4d0aa7fc0.git

Docs Build status updates of commit a9ca630:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source-1' (branch: Release_Archive_main_2022-02-10-09-41-18) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


⚠ Processors has degraded performance

In 4a99e6f, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 64 ms

Resolved: Processors performance has improved in e1eb58a.


Issue found on page 'PostgreSQL Extension'

Please describe the problem you encountered in the DuckDB documentation and include the "Page URL" link shown below.
Note: only create an issue if you wish to report a problem with the DuckDB documentation. For questions about DuckDB or the use of certain DuckDB features, use GitHub Discussions, Stack Overflow, or Discord.

Page URL: https://duckdb.org/docs/extensions/postgres.html
On this page I find https://duckdb.org/docs/extensions/postgres.html#:~:text=Configuring via Environment Variables the docs unclear and this doesn't work for me. Testing in a notebook i run a bash cell with
export PGPASSWORD="secret"
export PGHOST=localhost
export PGUSER=owner
export PGDATABASE=mydatabase

then
ATTACH '' AS p (TYPE POSTGRES); but get no connection, I tried
-- connect to the Postgres instance with the given parameters in read-only mode ATTACH 'dbname=PGDATABASE user=PGUSER host=PGHOST' AS db (TYPE POSTGRES, READ_ONLY);
Which causes error
IOException: IO Error: Unable to connect to Postgres at dbname=PGDATABASE user=PG_USERNAME host=PGHOST password=PG_PWD: could not translate host name "PG_ADDRESS" to address: nodename nor servname provided, or not known

Hi @dominijk, I recommend testing this is in CLI using the psql client. For example, on my local setup, I can run:
export PGPASSWORD=""
export PGHOST=localhost
export PGUSER=gabor
export PGDATABASE=postgres

psql

which results in a successful connection.

Thank you, for those that do want to do this within a notebook the below works and could be further refined. This is using a magic-duckdb call where -j is inserting variables stored in python which can be used in the query with {{variable}} . You can combine that with dot env etc. to protect your db credentials
%%dql -j
-- connect to the Postgres instance with the given parameters in read-only mode
ATTACH 'password={{PG_PWD}} dbname={{PG_DBNAME}} user={{PG_USERNAME}} host={{PG_ADDRESS}}'
AS db_alias (TYPE POSTGRES, READ_ONLY);

Thanks, I'll elaborate on this in the docs.


City College Email Change

The University of Sheffield International Faculty, CITY College changed their Email.
Old Email: @city.academic.gr
New Email: @citycollege.sheffield.eu
Proof: PDF

@AGutan Pull request merged. Thank you!


🏛 Improve MECA export structure and contents

MECA exports now maintains source directory hierarchy, and includes all source files, exports, and dependencies.

Tested locally and been through a few demos with @fwkoch, this is looking great!


validate a near address

Prerequisites

[X] I'm using the latest version of near-api-js.
[ ] I have tried to start with a fresh project and reproduce the defect with minimal code changes.
[ ] I have read the console error messages carefully (if applicable).

Description
check if address is valid near address
Reproducible demo
No response
Steps to reproduce
check if address is valid near address
Expected behavior
check if address is valid near address
Actual behavior
no function
Your environment

NEAR JavaScript API version used:
Frontend framework (if applicable):
Relevant dependencies (if applicable):

Self-service

[ ] I'd be willing to fix this bug myself.

@Imdavyking Do you ask for a function that would validate account id correctness similar to https://docs.rs/near-account-id/ (Rust package)?

Hey @Imdavyking, sending a kind reminder to respond to @frol's question.

Closing as issuer hasn't responded.


function geocode does not exist

This may be a PostGIS behavior that isn't supported (#277) . Or maybe I have the installation wrong. PostGIS creates a tiger schema and puts it on the search_path for geocoder.
create extension if not exists "postgis";
create extension if not exists "fuzzystrmatch";
create extension if not exists "postgis_tiger_geocoder";

create type "1".geocode_result as (
  geo_rating        integer,
  lon               double precision,
  lat               double precision,
  street_number     integer,
  street_name       text,
  street_type       text,
  city              text,
  state             text,
  zip               varchar
);

create function "1".geocoder(address varchar) returns "1".geocode_result as $$
  select g.rating as geo_rating, ST_X(g.geomout) as lon, ST_Y(g.geomout) as lat,
    (addy).address as street_number, (addy).streetname as street_name,
    (addy).streettypeabbrev as street_type, (addy).location as city,
    (addy).stateabbrev as state, (addy).zip
  -- **Edit: qualify here** from geocode(address) as g;
  from tiger.geocode(address) as g;

$$ language sql stable;

comment on function "1".geocoder(varchar) is 'Returns a geocoded result from an address';

This works properly in the psql interface:
select * from "1".geocoder('park city utah');
 geo_rating |        lon        |       lat        | street_number | street_name | street_type |   city    | state |  zip
------------+-------------------+------------------+---------------+-------------+-------------+-----------+-------+-------
          1 | -111.484046486339 | 40.6448392931269 |               |             |             | Park City | UT    | 84060

Also works by directly calling the geocode function:
select * from geocode('1296 pinnacle court park city utah');
                     addy                     |                      geomout                       | rating
----------------------------------------------+----------------------------------------------------+--------
 (,,,,,"Park City",UT,84060,t) |<PHONE_NUMBER>AD1000005E241D9EFADE5BC0EF930D188A524440 |      1
 (,,,,,,"Park City",UT,84060,t) |<PHONE_NUMBER>AD100000119C4D8EFADE5BC0E2D353E0A6524440 |     13

But in GraphiQL, I get this error:
// query body
query Geocoder($address:String) {
  geocoder(address:$address) {
    geoRating
  }
}

// query variables
{
  "address": "park city utah"
}

// result
{
  "data": {
    "geocoder": null
  },
  "errors": [
    {
      "message": "function geocode(character varying) does not exist",
      "locations": [
        {
          "line": 14,
          "column": 3
        }
      ],
      "path": [
        "geocoder"
      ]
    }
  ]
}

First thing I got wrong was geocode needed to be qualified as tiger.geocode. The error changed after that to permission denied for schema tiger.

Also needed this:
grant usage on schema tiger to chatbot_user, clerk;
grant select on all tables in schema tiger to chatbot_user, clerk;

Thanks for sharing your solution 🙏


completed task 'Update tests runner to lookup host's redis-server'

What do these changes do?

Are there changes in behavior for the user?

Related issue number

Checklist

[ ] I think the code is well written
[ ] Unit tests for the changes exist
[ ] Documentation reflects the changes
[ ] If you provide code modification, please add yourself to CONTRIBUTORS.txt

The format is <Name> <Surname>.
Please keep alphabetical order, the file is sorted by names.

[ ] Add a new news fragment into the CHANGES folder

name it <issue_id>.<type> (e.g. 588.bugfix)
if you don't have an issue_id change it to the pr id after creating the PR
ensure type is one of the following:

.feature: Signifying a new feature.
.bugfix: Signifying a bug fix.
.doc: Signifying a documentation improvement.
.removal: Signifying a deprecation or removal of public API.
.misc: A ticket has been closed, but it is not of interest to users.

Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.

LGTM,
Please add yourself to CONTRIBUTORS.txt


Errors using make

I am trying to compile the shogun project manually on MacOS. I created a folder "build" , executed the "cmake .." command.
But it gives me error when I try to use "make". I see that there is no "Makefile" in the build folder. I also tried doing "./configure" but I always get "No such command found".
Could you please share how I am supposed to use "make" especially on mac.

The latest release is part of homebrew.
If you want to compile it from source follow this manual:
http://shogun.ml/install#manual
Usually if there's such error with make after cmake, that means that there was an error running cmake. Can you put your full cmake output to pastebin.com and put the link here, please?

On Aug 24, 2017, at 13:41, Rudrani Angira<EMAIL_ADDRESS>wrote:
I am trying to compile the shogun project manually on MacOS. I created a folder "build" , executed the "cmake .." command.
But it gives me error when I try to use "make". I see that there is no "Makefile" in the build folder. I also tried doing "./configure" but I always get "No such command found".
Could you please share how I am supposed to use "make" especially on mac.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for replying. I would still prefer building it from scratch. Here is the output from "cmake"

ok so as you can see from the output of cmake:
-- Could NOT find Ctags (missing: CTAGS_EXECUTABLE)
-- The ctags found is not suitable for meta examples.
-- Could NOT find Ctags (missing: CTAGS_EXECUTABLE)
CMake Error at examples/meta/CMakeLists.txt:11 (message):
 Ctags required for meta examples.  Install or set BUILD_META_EXAMPLES=OFF.

namely if you use osx you need to have ctags installed (one way is to install it via brew: brew install ctags). or of course you can skip the building of the meta examples by running cmake:
cmake BUILD_META_EXAMPLES=OFF ..