Error Message: "/bin/sh: line 0: cd: Documents: No such file or directory" when I change directory

When I use "cd" to change directory it will change the directory but it gives this error message: "/bin/sh: line 0: cd: Documents: No such file or directory". Again, this happens after it has changed the directory to Documents

Real life example (Started in the folder Documents):
JDE: cd PyApps
/bin/sh: line 0: cd: PyApps: No such file or directory
JDE: ls
Dmg's
In-Progress
Working
JDE: cd In-Progress
/bin/sh: line 0: cd: In-Progress: No such file or directory
JDE: ls
2dPlatformer
Calculator
JDE
MultiWindow
Reminder

Thanks for reporting it, will fix it with the next release

When I enter 'cd' it just crashes entire terminal. Looking for/building a fix.

@Saadmairaj When will this "next release" be? It's been half a year now and it's taken so long I've started my own alternative


Pull request can't pass test

Nils,
I submit a pull request, but can not pass test.
I never make change of test,  I don't know how to pass test.
Any advice or help ?

As far as I can tell it's an issue with poloniex, not with your code. I'll have a look at your PR and leave you some feedback, don't worry about the CI tests just yet.


[Minor] eliminate IDEA warnings in indexPlans.scala

What changes were proposed in this pull request?
eliminate some IDEA code insight warnings.
By add () for new FindDataSourceTable(sparkSession),
IDEA will know that relation is a LogicalPlan instead of Logging.
Also in a map() function we should not return with Unit.
How was this patch tested?
existed tests

lgtm


Minify JavaScript assets

 Issue by jonathanmoore
Friday May 19, 2017 at 05:32 GMT
Originally opened as https://github.com/Shopify/slate-tools/issues/64

Problem
Following the lead of the most recent Narrative Shopify theme, we are making the change to minify all of the JavaScript files that we load into layout/theme.liquid.  However, in most cases, I strongly feel like the original, un-minified JavaScript file should be preserved for merchant's developers.

src/scripts/theme.js -->

dist/assets/theme.min.js (used in layout/theme.liquid)
dist/assets/theme.js (original preserved)

Scope
It is possible to update the task for build-js.js to still set the original file's destination, uglify the script, and use the existing gulp-ext-replace plugin to modify the extension to .min.js.  The update also introduces gulp-ignore to add a condition checking for .js, not .js.liquid, files to uglify.
function processThemeJs() {
  messages.logProcessFiles('build:js');
  return gulp.src([config.roots.js, `!${config.roots.vendorJs}`])
    .pipe(plumber(utils.errorHandler))
    .pipe(include())
    .pipe(gulp.dest(config.dist.assets))
    .pipe(ignore.include('**/*.js'))
    .pipe(uglify({
      mangle: true,
      compress: true,
    }))
    .pipe(extReplace('.min.js', '.js'))
    .pipe(gulp.dest(config.dist.assets));
}

More Information
I have a working version of this forked at https://github.com/stylehatch/slate-tools.  Unless I'm missing something in the NPM package's install process, I had to manually build using npm run prepublish before pushing to GitHub.
To test I have been using the following in the theme's package.json file:
{
  "name": "Theme",
  "version": "1.0.0",
  "devDependencies": {
    "@shopify/slate-tools": "https://github.com/stylehatch/slate-tools/tarball/073ce14e6ba65f65dc8e19a8ec91bfdba0c4b3df"
  }
}

 Comment by btdogan
Monday Jun 05, 2017 at 12:34 GMT

I totally agree. I used the "Narrative" theme as a starting point to try to build a new theme and stuck with the theme.min.js file. I don't want to completely remove it but also it makes the site heavier; therefore it would be great to see what it does.

 Comment by NathanPJF
Friday Jun 16, 2017 at 03:52 GMT

However, in most cases, I strongly feel like the original, un-minified JavaScript file should be preserved for merchant's developers.

This is something we've discussed on the Themes team as well.  Uploading both a *.js and *.min.js file in the theme assets was debated, but ultimately we decided not to do it as we weren't convinced it was a workflow to encourage.  One where you edit the .js file, then minify it in a separate process, then replace the existing min.js with this new file isn't something we wanted to introduce as a new practice in themes.
Having both files would indeed be useful to developers who could intuit why there was both a *.js and *.min.js, but it risked being confusing for anyone else.  And explaining the workflow wasn't something we were going to go all in on and publicly document as "the new way themes at Shopify work".
So at this time, what you're proposing isn't something we'd introduce to the Slate build process.  However, being able to have more control over what Slate does at different stages of the build process is something that is being requested - so this falls under that category.

I had to manually build using npm run prepublish before pushing to GitHub.

@jonathanmoore That command is run automatically in our own repo with the Circle CI integration.
You can see the line here. https://github.com/stylehatch/slate-tools/blob/master/circle.yml#L7
If you don't plan on setting up CI testing in your own repo, you could have those same prepublish commands run at a different time - like hooked into your package's version scripts or part of your git commit flow.

 Comment by levymetal
Wednesday Jun 28, 2017 at 14:41 GMT

Do you guys have a rough ETA for pre/post build tasks? Like many others, we want to be able to use autoprefixer and minify theme.js, but would prefer not to use a forked slate-tools. Any info would be great!

 Comment by levymetal
Wednesday Jul 05, 2017 at 11:12 GMT

@NathanPJF Personally I'm fine with forking slate-tools, but I work with a lot of different teams on different projects and one of them has expressed concerns about the friction a forked version of slate-tools would add to the upgrade process. They want to stay on the edge and keep Slate up to date when new features are released, but a forked slate-tools could make it harder for them to upgrade. This isn't my decision, so for this project I have to stay on the safe side and use Slate as-is.
I feel that most people are only going to want to change the css and js tasks. For example, these are the things I want to do:

Minify JS
Use gulp-autoprefixer
Compile SCSS locally for two reasons:

Receive SCSS compilation errors in real-time. I could be wrong but it doesn't seem possible to see compilation errors even within the Shopify console, which makes it really hard to pinpoint errors (which I encountered due to the next point)
Use the latest version of Sass. Shopify's Sass is so old it doesn't support things like &__elem {}, or even its predecessor @at-root #{&}__elem {}, let alone any of the other new features that have been added since 2013. When you're used to working with the latest version, it's really hard to revert to a 4 year old version of the same tool

From what I've read on this repo and the Slate repo, most people are looking to do some variation of the above, but rarely want to modify anything else within Slate tools. So even if there was a way to override just the processCss() and processThemeJs() functions locally within the theme, that would be super handy.
In my own projects I'd happily fork slate-tools to deal with these things, but I don't feel I'm the only person who would want to see SCSS compilation errors or use the latest version of Sass. IMHO these should be part of the default build process, I understand there's a reason for pushing SCSS compilation onto Shopify, but when it seriously affects the flow and speed of development, it might not be worth it.

 Comment by NathanPJF
Tuesday Jul 04, 2017 at 23:12 GMT

No ETA at this time; we're still talking internally about what the evolution of Slate-tools should look like.
@levymetal as an informal survey, would mind expanding on why you wouldn't want to use your own forked version?  What type of concerns come to mind when you think about rolling your own build system?

 Comment by NathanPJF
Sunday Jul 16, 2017 at 20:57 GMT

@levymetal Thank you for taking the time to write all that up.  As you said, some of these items have already been brought in other threads; but I've definitely relayed your thoughts with the rest of the team.

This has been started and shipped in the 1.x branch. slate-tools build uses Uglify JS to minify scripts for production.


AWS Workspaces - Zero Results even though there are Workspaces

Describe the bug
When I run query for workspaces, steampipe returns empty table even though there are multiple Workspaces in the AWS Account.
18:16 $ steampipe query
Welcome to Steampipe v0.12.2
For more information, type .help
> .cache clear
> select
  workspace_id
from
  aws_workspaces_workspace
+--------------+
| workspace_id |
+--------------+
+--------------+

Output from AWS CLI from same account with same credentials. (Output truncated and obfuscated)
18:10 $ aws workspaces describe-workspaces --query 'Workspaces[].WorkspaceId'
[
    "ws-wr......",
    "ws-bc......",
    "ws-62......",
    "ws-d1......",
    "ws-97......"
]

Steampipe version (steampipe -v)
steampipe version 0.12.2

Plugin version (steampipe plugin list)
+---------------------------------------------+---------+-------------+
| Name                                        | Version | Connections |
+---------------------------------------------+---------+-------------+
| hub.steampipe.io/plugins/turbot/aws@latest  | 0.49.0  | aws         |
| hub.steampipe.io/plugins/turbot/jira@latest | 0.1.0   | jira        |
+---------------------------------------------+---------+-------------+

To reproduce

In AWS Account where Workspaces exist, run query
select workspace_id from aws_workspaces_workspace

Expected behavior
Output should list the Workspaces IDs for the existing Workspaces

Hey @jonabend-uptake , can you please share what region the expected workspaces are in? I'm thinking it may be something related to how we try and handle unsupported regions (https://github.com/turbot/steampipe-plugin-aws/blob/main/aws/table_aws_workspaces_workspace.go#L158-L164), which may be causing us to filter out results from regions that actually are supported.

@cbruno10 the AWS Region is: us-east-1
Please let me know if there is any additional information I can provide or troubleshooting steps to perform.
I have reviewed the logs in ~/.steampipe/logs and set STEAMPIPE_LOG=trace.  I did not see details on the call to the AWS endpoints in either.

Hi @jonabend-uptake, while testing we found out that it is working fine on our end -
Configuration in .spc file with all region-
connection "aws" {
access_key = "*****"
secret_key = "*****"
regions = ["*"]    // All regions
plugin    = "aws"
}

> select workspace_id from aws_workspaces_workspace
+--------------+
| workspace_id |
+--------------+
| ws-2spwmjtl8 |
+--------------+

Configuration in .spc file with us-east-1-
connection "aws" {
access_key = "*****"
secret_key = "*****"
regions = ["us-east-1"]
plugin    = "aws"
}

> select workspace_id from aws_workspaces_workspace
+--------------+
| workspace_id |
+--------------+
| ws-2spwmjtl8 |
+--------------+

Could you please check if the regions parameter is properly configured in aws.spc file?

@cbruno10 I updated my aws.spc to include the regions
regions = ["us-east-1"]
Now the query for aws_workspaces_workspace is returning the expected results.
Up to this point, I have exported AWS_PROFILE and AWS_REGION before using Steampipe.
I have done additional testing by now commenting out the regions line in my aws.spc file, and the Steampipe query DOES return the aws_workspaces_workspace results as expected.
I am now, no longer able to reproduce the issue.
Thank you for taking the time to research this and provide guidance.  I will close this issue as Steampipe is working properly.

Upon further testing, I am unable to reproduce this issue.
Steampipe and the AWS Plugin are working correctly.

@jonabend-uptake Thanks for confirming it's working now for you, glad you can list your workspaces now!


client-go, VM: Add context to applicable methods 2

What this PR does / why we need it:
Currently, the VirtualMachine methods that are using an underlying REST client, are not receiving a context, thus are unstoppable from the outside.
Internally they use context.Background() when calling the underlying REST client.
Add the context parameter to the VM's applicable methods:

Delete
Patch
UpdateStatus
PatchStatus
Restart

Add the context.Background() to all calls to these methods.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Partially fixes issue https://github.com/kubevirt/kubevirt/issues/8885.
Special notes for your reviewer:
Depends on PR #9199, please skip the first five commits.
Release note:

client-go: Added context to additional VirtualMachine methods.

/unn @AlonaKaplan @maiqueb @kbidarkar @rthallisey

/uncc @AlonaKaplan @maiqueb @kbidarkar @rthallisey

Rebase

/approve

Closed in favor of merging only https://github.com/kubevirt/kubevirt/pull/9220
/close


hooks url gives 404 after push

Whenever I push to my repository the GIT clients gives a 404 error.
On the webserver I see the following error:
<IP_ADDRESS> - - [28/Dec/2015:04:16:40 +0100] "POST /githooks/post-receive/redmine/redmine-testing HTTP/1.1" 404 501 "-" "Ruby"

I did "install hooks" in the administration panel of redmine git hosting plugin. Tried restarting the webserver as well.
When I manually do RAILS_ENV=production rake redmine_git_hosting:fetch_changesets my repository browser will get updated.

Any pointer when this might have gone wrong?

Solved, I needed to add /redmine to the hooks url.


Add missing annotation processors for micronaut modules.

closes #871
@melix @sdelamo
micronaut-tracing and micronaut-spring have multiple possible annotation processors. I included the primary ones. Do we need to add the others? If so then the implementation needs to be changed because it's based on a map with groupIds for keys.
These are the ones I didn't add:

io.micronaut.tracing:micronaut-tracing-opentelemetry-annotation
io.micronaut.spring:micronaut-spring-boot-annotation
io.micronaut.spring:micronaut-spring-web-annotation

@melix Also, I didn't see an obvious way this is tested, so I didn't change anything for the new ones either. Happy for any guidance.

I added tests. Note that the way this is done is not ideal, since indeed the plugin needs to know about all other projects. There is no obvious way to make it better, it's a bit of a chicken and egg problem.


Tweak labeler config

Alternative to https://github.com/go-gitea/gitea/pull/27439. Removes a few spammy labels, and disables sync-labels which make it never remove labels (which is default behaviour).

Let's merge this and take a look for a while.

Lint failure is unrelated: https://github.com/go-gitea/gitea/pull/27488#issuecomment-1751698634

Can we please talk about the label restructuring I proposed, before merging this?

I'd say label restructure can come after this, it's not blocking.

As the naming of the labels will change, we'd need to tweak this config once again. I think we should wait if it can happen during the next few days.


Testing - Guide Page - Work With us/Funding

Guide Pages Explanation

Self-Assign this ticket corresponding to a group of pages
Add your name to the owner in content sprint page to a group of pages. To see action pages only filter the qa task column.

Test away!
Work with us/Content/Writing Style Guide

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Work with us/Content/Reviewer Guide

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Work with us/Content/installation guide

[ ]  Phone browser 1
[ ]  Phone browser 2
[ ]  Desktop browser 1
[ ]  Desktop browser 2

Work with us/Content/Pallette

[ ]  Phone browser 1
[ ]  Phone browser 2
[ ]  Desktop browser 1
[ ]  Desktop browser 2

Work with us/Content/content-guide

[ ]  Phone browser 1
[ ]  Phone browser 2
[ ]  Desktop browser 1
[ ]  Desktop browser 2

Work with us/Content/Icons

[ ]  Phone browser 1
[ ]  Phone browser 2
[ ]  Desktop browser 1
[ ]  Desktop browser 2

Work with us/Content/Visual Style Guide

[ ]  Phone browser 1
[ ]  Phone browser 2
[ ]  Desktop browser 1
[ ]  Desktop browser 2

Work with us/Meetups/Getting Started Guide

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Work with us/Meetups/Events Formats Guide

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Work with us/Meetups/Promotion Guide

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Work with us/Meetups/Budget Guide

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Work with us/Hackathons/Guide to Hacking

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Work with us/Governance and risk meetings/Take notes/Formatting guide

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Work with us/Governance and risk meetings/Take notes/Governance call template

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Funding/Development grants/grantee playbook

[x]  Phone browser 1
[x]  Phone browser 2
[x]  Desktop browser 1
[x]  Desktop browser 2

Content/Writing Style Guide:
On mobile: 'Please note' section, and lists (use&avoid) after, are wrapping after every word, makes the page significantly longer and difficult to read.
Content sub-pages have changed; installation guide, pallette, icons, visual style guide, are now:
How to Use GitHub checked
Hot to Use GitHub For One-off Changes checked
How to Use GitHub For Ongoing Work checked

Under # 5 Edit/Add File; 'Create New File' (lower part of this section) there is a broken image, repo shows it as an imgur link

Contributor Tools checked

Green box 'Pro Tips:' is too large on desktop site, too small on mobile (text is coming out of the box on mobile), the 2nd pro tip box on the page is actually fine on mobile browser (for reference)
( checked= at least 2 browsers via desktop and mobile, multiple screens via desktop)

Meetups/Getting Started guide:
the list (inside the box) under planning&event day: these aren't all sentences, but is it better to leave the periods for ease of reading?
GnR Meetings/TakeNotes/FormattingGuide:
first box with title structure requires scanning left/right exclusively with in the box, which is strange but not necessarily an issue?
especially because the 2nd box scales and is the right size. However it does seem to have some extra parenthesis around it that show up (assume they're meant to be part of the code?)
GnR Meetings/TakeNotes/GovernanceCallNotesTemplate:
Same weird scanning thing with the box of markdown text, again, isn't necessarily an issue just feels kind of abnormal.
GnR Meetings/TakeNotes/NoteTakingProcess
checked
Funding/DevelopmentGrants/GranteePlaybook:
list in the box(es), again, are not entirely full sentences, if it's better to change this I'm happy to go back and edit these couple pages with this issue, but if we think it's better for readability that's fine.


Make the form body limits configurable.

@DamianEdwards @Eilon Please approve for RC2 per @blowdart's request.
@blowdart This enables the developer to configure form parsing settings and limits in Startup:
services.Configure<FormOptions>(options =>
{
  options.BufferBody = true,
});

And override them on a per request basis by doing:
var form = await httpContext.Request.ReadAsync(new FormOptions() { BufferBody = false });

The catch is that you can't override the settings if someone before you in the pipeline has already read the form.
There will be follow up discussion with MVC on how to easily configure this per Action, how to make anti-forgery honor it, and how to tell MVC not to read the form at all so you can stream large file uploads without buffering.

@rynowak

Looks good to me. Unless you want a second pair of eyes, :shipit:


Changed to array notation to support minification

The way you had your factory and directive definitions wasn't friendly with minification. I've changed to the array notation required to make that work.

The minified version already has array notation in, I just leave it out of the source to keep the code clean and DRY, and inject it with gulp using ngAnnotate during the build process. That's what the @ngInject notation in the code does.

@bensurman Yeah, I noticed that after I submitted the PR so I closed it. My minification problems were actually caused by another project. Great work here.


Retry when failing to kill an Aurora topology

A lot of Twitter internal topology owners complained heron failing to kill an aurora topology because
the Aurora service can be unavailable or unstable for a while, or it can sometimes provide a false negative response.
This pull request adds retry mechanism to kill an Aurora topology with more confidence. It can increase the robustness of AuroraScheduler regardless of the Aurora Service People can also specify the retry attempts and interval via config.
This pull request also re-format some coding-styles for RuntimeManagerRunner.java.

Tested with actual Twitter distributed env.


Enable to check progress.

Let user to check progress in any way.
For example, progress bar, or log view or dialog, other window.

In gtest_gui, the progress view are added.
So the same sequence, procedure should be added to AutoTestPrep application

Update to show current process name.
The function is released at version 0.4.0.


Avoid undefined behavior in overflow checks

ref https://github.com/cython/cython/issues/5705#issuecomment-1721865551
These were detected downstream when trying to use UBSAN with Cython. Not sure if there is a way to test that in current CI

Thanks. This is code that was specifically written to minimise or avoid branching, so we'd want to be very careful to not add unnecessarily to that.

I take it that's just a matter of performance right?

Guessing for gcc / clang we can look at the overflow builtins. Doesn't appear MSVC has that yet https://developercommunity.visualstudio.com/t/10326281

Hmm actually I think this file should already be using the bulitins when they are available. Going to close for now - have to do a bit more research as to why the builtins weren't being used to avoid the UB


Change internal container ports and update documentation

I am back with more container-internal port reconfigurations.. 😀
The intention is for the output to tell me straightaway the right port to connect to.
Also, README has been updated accordingly.

Testing is indeed done, as I expect to have the URLs working and the proper ports shown in the console once done building, and these are both true.

Output has been added to previous issue comment.


FuzzedDataProvider::ConsumeSmallIntInRange reads from the back of input, rather than the front

https://github.com/google/atheris/blob/master/fuzzed_data_provider.cc#L256
Based on Advance I'd expect every method which looks at data to read from the front of the input (data_ptr[0]), but ConsumeSmallIntInRange reads from the back (data_ptr_).

Hi Alex,
I'm sorry, I meant to respond to this much earlier. I got this behavior from LLVM's FuzzedDataProvider:
https://github.com/llvm/llvm-project/blob/70de7e0d9a95b7fcd7c105b06bd90fdf4e01f563/compiler-rt/include/fuzzer/FuzzedDataProvider.h#L217
Apparently, it experimentally works better.

Hi Alex,
I'm sorry, I meant to respond to this much earlier. I got this behavior from LLVM's FuzzedDataProvider:
https://github.com/llvm/llvm-project/blob/70de7e0d9a95b7fcd7c105b06bd90fdf4e01f563/compiler-rt/include/fuzzer/FuzzedDataProvider.h#L217
Apparently, it experimentally works better.

Huh, interesting. I found it confusing when I was trying to manually craft fuzzer inputs, but if it works better than I guess that's what's important!

Huh, interesting. I found it confusing when I was trying to manually craft fuzzer inputs, but if it works better than I guess that's what's important!


Generating Videos with Scene Dynamics

I would like to ask you a question: the paper's video data is what kind of format as input, debugging the code is the key to those places?

Not quite sure what you are asking...
I think they just have a huge disk to store the video data, the format doesn't matter.

@lkffight
Not quite sure what you are asking...
I think they just have a huge disk to store the video data, the format doesn't matter.

@Yuliang-Zou I am now debugging this code, because the paper to the data set is too big, I would like to know what their format is their own collection of video, verify the views of this article. I am based on your procedures to debug, you explain the code ideas?

@lkffight

I only implement the test mode of generator of the model. No training code, and no discriminator. (But I think you can get their model weight of discriminator easily by modifying my code)

Seems that the authors do not make some parts of the model weight public (i.e. the hospital scene, and you cannot use this to predict the future)

You can download a subset of the video from the authors' website, I believe.

@Yuliang-Zou Thank you very much. Is it difficult to implement training code and predict future code? Are the three models' code different?

@lkffight I think it should be easy to implement.

@Yuliang-Zou Is your video dataset downloaded from the official website of the author? Do you have that part of the video based on your debugging? The author provides a single data set is too big, I now is based on the GPU version of tensorflow, reproduce your code need to pay attention to what the problem?


decouple control on identifier from what is being identified

This is already the case, public keys are not identifiers. They are shards of a trust relationship that you hand out to somebody who is a member of the relationship, but they are owned by a specific person. You can think of it like having a share in a company, except now you have a share in a trust relationship.
We are using public keys for this in the current version because we do not want people to be able to fake these 'shares', but this doesn't mean that we don't want to think about mechanisms for transferring the ownership of these 'shares' or how we have recently taken to calling them 'trust shards'.


material design 3

it would be nice if you switched to material design 3 then there would be no problems with using colors on android 12

I may adopt parts of M3 (likely the typography, probably some controls) but not everything. As for the colors, I explained in #260 why I don't intend to adopt the whole dynamic scheme. It's not a technical limitation, it's an aesthetic choice on my part.

stands out from other applications and the system

I guess you're on a Pixel phone and referring to Google apps.
In my case, I only see that Google apps harmonized their looks to the latest Google fashion. On a Samsung phone, all the system apps follow their own One UI style. As for the other apps I'm using, they each have their own style: Firefox, Telegram, Bookshelf, KakaoTalk, Merlin, AntennaPod, Musicolet, MS Office, VLC...
But more importantly, I do want Aves to be unique and recognizable by its UI. Originality over conformity.

#266 Your dream come true ^^

No idea! That thing is unrelated with me. I suppose it's just an unscrupulous company which intends to make an Aves copycat and put in some ads or something later on.
Anyway, you can find the original offer here.


could not setup mqtt backend: Identifier rejected

is there a way to set the Client ID ?
We're connecting it to VerneMQ and getting the "Identifier rejected" response to a join for both loraserver and lora-gateway-bridge when we have password authentication on the broker
I'm not sure if our sever is not configured properly or the client connect is different from what it expects and mosquitto is ok with it
When we enable anonymous mode on our broker we can connect succesfully ( but this seems to negate the username password security )
We get this debug message from the broker when lora_gateway_bridge connects :

[warning] <0.322.0>@vmq_mqtt_fsm:check_user:517 can't authenticate client {[],<<"anon-26oFeDnEZJWAhf3mewMbcTdnzG8=">>}

Thanks for reporting this issue. I'll look into it later today or tomorrow!

The clients are connecting with an empty client id since you might want to run multiple instances of LoRa Server, so I think it is easier leaving it blank and let the broker generate a random id. I've checked and CleanSession is true by default, so that is not the reason of the rejection (in reaction to your original issue).
I haven't had the time yet to setup VerneMQ, but I can't reproduce your issue with Mosquitto. Would you mind sharing your VerneMQ config (+ the version of VerneMQ you're using) so I'm able to reproduce your setup?

Additionally, could you verify with for example MQTTLens that you're able to connect with your credentials (test with both an empty client id and setting a client id) and subscribe to for example application/+/node/+/tx?

will do, I'll post those up later today

All tests were performed with username and password login.
While setting the brokers "allow_anonymous" = true and "allow_multiple_session" false :
anon and !multiple_session : connect and subscribe with ID success
anon and !multiple_session : connect and subscribe without ID success
anon and !multiple_session : connect with duplicate ID failure ( switches between clients -disconnects one to allow the other)
When I set "allow_anonymous" = false we can only connect when sending a client ID,
!anon, !multiple_session : with ID success
!anon, !multiple_session : without ID fail
Setting "allow_multiple_sessions" = true doesn't seem to do anything as the server still does not allow multiple clients with the same clientID to connect simultaneously
We've decided to install a separate instance of VerneMQ for use by ONLY the loraserver and  lora-gateway-bridge ( so we can use it with anonomous logins enabled ) and then have a seperate broker with more strict security for the applications to access.

 http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html
I think that is the source of the issue you're experiencing. Following the specs a broker doesn't have to support an empty ClientId, so probably it is better when I generate a random ClientId at the client (LoRa Server / LoRa Gateway Bridge) instead of relying on the broker.

I'm sorry, is the bug fixed? I'm getting the same message on my bridge logs. However, the app-server is successfully receiving data.

Dear Orne, hwo are you?
I am facing the same issue and it seems to be arround line 115 on loraserver/vendor/github.com/eclipse/paho.mqtt.golang/packets/connect.go where the CleanSession flag is incorrectly checked, IMHO.
Current:
if len(c.ClientIdentifier) == 0 && c.CleanSession {
//Bad client identifier
return ErrRefusedIDRejected
}
Should be:
if len(c.ClientIdentifier) == 0 && !c.CleanSession {
//Bad client identifier
return ErrRefusedIDRejected
}
Regards,
Ariel


AllergyIntolerance Types

Presently the AllergyIntolerance category is hard-coded to 'food'. However, other types of allergies will soon be modeled in Synthea (pending the Atopic Triad PR). FHIR also allows the following categories:
[food, medication, biologic, environment]
I propose we add a category, or alternatively allergy_type property to the  AllergyOnset state to make this configurable.

added in #872


Storage slow down within 2h range

What did you do?
I have a Prometheus instance that's configured to federate a lot of metrics from 2 other instances (~190000 samples each). I know that this isn't a way federation is supposed to be used, but still I want to share the behaviour I observe.
What did you expect to see?
scrape_duration_seconds doesn't change considerably with time
What did you see instead? Under which circumstances?
I see scrape_duration_seconds increases gradually within 2h window and then drops to the original value (obviously, after new TSDB block is started). See attached screenshot.

Environment

System information:
Linux 4.13.0-17-generic x86_64

Prometheus version:
prometheus, version 2.0.0 (branch: HEAD, revision: 0a74f98628a0463dddc90528220c94de5032d1a0)
build user:       root@615b82cb36b6
build date:       20171108-07:11:59
go version:       go1.9.2

# vim: set shiftwidth=2 tabstop=2 expandtab:

global:
  scrape_interval: 30s
  scrape_timeout: 20s
  evaluation_interval: 30s

rule_files:
  - '/etc/prometheus/config/*.rules'

scrape_configs:
  - job_name: 'prometheus'
    static_configs:
      - targets: ['<IP_ADDRESS>:9090']

  - job_name: 'federate'
    honor_labels: true
    metrics_path: '/federate'

    params:
      'match[]':
        - '{__name__=~"[a-zA-Z].*"}'

    static_configs:
      - targets:
        - '<redacted>'
        - '<redacted>'

alerting:
  alertmanagers:
    - scheme: http
      static_configs:
        - targets:
          - "<redacted>"

Is this an expected behaviour? A set of metrics doesn't change with time, so I expected TSDB to perform equally well regardless of the actual file size. If this is an expected behaviour, please just close the issue and sorry for the noise.

Can you share a snapshot of the benchmark dashboard for this Prometheus? https://snapshot.raintank.io/dashboard/snapshot/p9PmKT5K5D57RicIZOZQzdrAsez7vOF8?orgId=2

Sure. Here is the snapshot:
https://snapshot.raintank.io/dashboard/snapshot/SSf8lrDSf9olUTlJWncACKnso8Ja17nO?orgId=2
JFYI, since the bug was filed we've started to federate a lot more data (more Prometheus instances and more metrics from each one of them) and started to hit scrape timeouts on some targets. So I've split federation from each Prometheus into several jobs (one per job='' label) and the problem is not that clearly visible anymore when looking at individual scrape_duration_seconds metrics. But the sum of them clearly shows the pattern:

This is an abuse of federation, however given you've ~no churn the time federation takes should be constant as you're looking at the latest chunk of every series.

@krasi-georgiev It still reproduces, but it doesn't affect our Prometheus setup in any way. I just thought it might be something worth investigating.

also might be worth pinging me on IRC to speed up the troubleshooting.
#prometheus-dev

@pborzenkov thanks for the update. Can you confirm that you have no churn as Brian suggested?

We have no churn. We have some metrics where new label values might appear over time, but usually the process stabilises after several hours and the set of time series stays constant until a service restarts. The restarts are quite rare.
Here is the "Prometheus benchmark" dashboard snapshot for the same time period (Grafana is GMT+3).
https://snapshot.raintank.io/dashboard/snapshot/XaSMZMpeIoBSVCV2gzlHO7DX8IzanwrW?orgId=2

also might be worth pinging me on IRC to speed up the troubleshooting.
#prometheus-dev

Sure, will do.

There were quite a few fixes in tsdb and Prometheus the recent weeks and although I can't think of anything related to what you are seeing here it might be worth trying master to see if it experiences the same behaviour.

Yes, I'm wondering if https://github.com/prometheus/tsdb/pull/351/commits/d2aa6ff433b0d249a773eff9ea5ba5f69440ee35 fixes this.

@krasi-georgiev @brian-brazil
We are currently running 2.4.2. I'll update our main setup to 2.5 (it doesn't include
https://github.com/prometheus/tsdb/commit/d2aa6ff433b0d249a773eff9ea5ba5f69440ee35, but it's time to update anyway) and if nothing changes will bring up a new Prometheus instance from master branch on a separate machine.
BTW, can this issue be affected by the source Prometheus instances? I believe they might be quite old (2.2 or 2.3, will check later).

I think only the last node(the federated one in your case) can delay the scrapes.

I've been running 'prometheus-2.6.0-rc.0' on a fresh DB with the same config as our main setup for the past day and it shows the very same scrape slowdown within 2h window:

@krasi-georgiev I'll ping you on IRC a bit later if you are still interested.

ok , I am working on few other PRS right now, but  ping me on IRC in few days and will continue the troubleshooting.

@pborzenkov 	have you had a chance to test it with the latest release?

@krasi-georgiev We haven't updated all of our DCs to the latest Prometheus release yet, but the ones that have been updated to 2.7.1 don't experience any noticeable slowdown within 2h window anymore.
So, I assume, the issue can be closed now. Thanks for you help!

np, thanks for the update!


Add documentation for nested search in knn

Description
Add documentation for nested search in knn
Issues Resolved
Fixes https://github.com/opensearch-project/documentation-website/issues/5431
Checklist

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

Pending tech review

Thank you, @heemin32! Let me know when you're ready for me do to a doc review on this PR.

@kolchfa-aws Could you review this PR?

Sure, @heemin32. I'll review by the end of the week.

@heemin32 Please review my commit to ensure that it preserves technical accuracy. Then we'll be ready to move this PR to editorial review. Thanks!

Users are going to be looking for info on how to perform vector search on long documents or "vector chunks". They will not be looking for how to "use  k-NN search with nested fields". We need to connect the dots for the users/


Proposes Sawtooth Sabre transaction family

Proposes Sawtooth Sabre, a transaction family which implements on-chain
smart contracts executed in a WebAssembly virtual machine.
WebAssembly (Wasm) is a stack-based virtual machine newly implemented in
major browsers. It is well-suited for the purposes of smart contract
execution due to its sandboxed design, growing popularity, and tool
support.
Andi Gunderson wrote substantial portions of this RFC, including the
majority of the Reference-level explanation.
Signed-off-by: Shawn T. Amundson<EMAIL_ADDRESS>

Added additional commits which resolve typos, etc.

Added a commit to address typos found by @agunde406.

Add a commit from @RyanLassigBanks to further describe limiting function execution.
Added commits from @agunde406 which address comments from @dcmiddle .

Added a commit from @agunde406 but written by @aludvik to clarify the halting problem text.

Propose this RFC be merged.
After approval by the root team, this RFC will enter its final comment period.

[X] Shawn Amundson
[ ] Tom Barnes
[ ] Andi Gunderson
[ ] Adam Ludvik
[ ] Dan Middleton
[ ] James Mitchell
[ ] Kelly Olson
[ ] Peter Schwarz

Before merging, you should be sure to add a commit that changes the file name to 0007-... and add the appropriate links to the document.

Approved. As discussed in core-dev and per comments from @dcmiddle and @aludvik it would be good if future documentation could discuss how namespace-to-contract mappings can be made 1:1 and how namespace access and contract code can be made immutable e.g. by setting namespace or contract owner to null values. Only recommended as this is the status quo for smart contract systems like Ethereum.

Adding to what @ineffectualproperty suggests, in addition to the documentation on how to accomplish it with this design, we should remain open to changes either as a natural evolution of this design or alternate designs which we could adopt via the RFC process.  It may be good to document some use cases scenarios to use to judge such designs.

This RFC has entered final comment period, which will end May 18th, at which point this RFC will be merged.


[BUG] Does anybody reproduce a similar performance based on "Actor: OPT-1.3B, Reward: OPT-350M"?

Describe the bug
I have tried the tutorial of DeepSpeed-Chat based on 1.3B model one(GPU:A6000).  The training command:
python train.py --actor-model facebook/opt-1.3b --reward-model facebook/opt-350m --deployment-type single_gpu
The training process is very successful without any error, but the inference result is truly bad and total nonsense. And more bad is, the inference process always crashed in the second round of chat. Does anybody occur this issue?
The inference command, I used the model from step3 as actor(Is this correct?):
python chat.py --path /root/DeepSpeedExamples/applications/DeepSpeed-Chat/output/step3-models/1.3b/actor
The inference result:

my code: python chat.py --path /xxxx/DeepSpeedExamples/applications/DeepSpeed-Chat/output/step3-models/1.3b/actor/  and I got the follow error:
OSError: Can't load tokenizer for '/xxxx/DeepSpeedExamples/applications/DeepSpeed-Chat/output/actor-models/1.3b'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure '/home/fm001/hzl/Project/DeepSpeedExamples/applications/DeepSpeed-Chat/output/actor-models/1.3b' is the correct path to a directory containing all relevant files for a BloomTokenizerFast tokenizer.


Added ArrowUp and ArrowDown change volume level12

Hello,
I added two new shortcuts to manage volume: ArrowUp to increase volume and ArrowDown to decrease volume
Have nice day !

Thanks for the contribution. This will go out in the v0.2.1 release.


Correction for raw affiliation Department of Electrical and Computer Engineering#R##N#University of New Brunswick

Correction needed for raw affiliation Department of Electrical and Computer Engineering#R##N#University of New Brunswick
raw_affiliation_name: Department of Electrical and Computer Engineering#R##N#University of New Brunswick
new_rors: 05nkf0n29
previous_rors:
works_examples: W1797405697
contact: db0d288092889b5bf56cec622e198e5e:95d26f4e @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Delete volumes of instances when de-scaling

How could I achieve this?
I'm left with many volumes that I'd like deleted after the instances are terminated.
Thank you

ELBAS, at least in the later versions, will remove snapshots of previously made AMIs. Is that what you're referring to? If you just mean instances are terminated by AWS because of their AutoScaling so you have an image left over, that seems like it's outside the scope of this gem. ELBAS should clean itself up pretty well and only keep around the most recent copy of your AMI and snapshots.

I was referring to the EC2 instances' volumes (disk). Seems like volumes are/were created without the flag to be deleted when the instance is deleted.
I no longer use this, or ruby at all, so I wouldn't know if it's still an issue.


dns/dnscrypt-proxy: fix GUI with more than one disabled server

Currently GUI fails to display disabled servers, when more than one server is configured.
Also added ValidationMessage.

@fraenki @fichtner
The PR is still actual.
I've rebased it.

Merged, thanks!


HubConnectionState Read Write Lock

Changing the locking around the hub connection state enum.
Thanks to @ncthbrt for the issue filed. We recently changed our project structure to a few large repos which is why the PR in the aspnet/SignalR repo was left alone.
Issue: https://github.com/aspnet/SignalR/issues/3329

So it actually seems like the issue is not that we need more locking. We weren't checking the connection state on calls to invoke. I'm gonna close this PR in favor of just adding that check to invoke.


feat: add forge fmt option

Adapting https://github.com/juanfranblanco/vscode-solidity/pull/359 to work with this extension too (h/t @shekhirin)

Codecov Report

Merging #239 (6a6e172) into main (2bcb7b2) will decrease coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #239      +/-   ##
==========================================
- Coverage   70.68%   70.46%   -0.23%
==========================================
  Files         169      169
  Lines        4073     4073
  Branches      711      711
==========================================
- Hits         2879     2870       -9
- Misses        968      971       +3
- Partials      226      232       +6

Impacted Files
Coverage Δ

src/utils/index.ts
76.00% <0.00%> (-16.00%)
:arrow_down:

src/queries/getOpenDocumentsInProject.ts
81.25% <0.00%> (-6.25%)
:arrow_down:

src/services/completion/getImportPathCompletion.ts
88.59% <0.00%> (-2.64%)
:arrow_down:

src/services/validation/validate.ts
98.78% <0.00%> (-1.22%)
:arrow_down:

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


Linux 運行異常

Arch Linux self build ，can’t get Share ID

Kernel Version : Linux 5.6.2-arch1-2
Ubuntu run release AppImage , can’t open
Kernel Version : Linux 5.4.0-21-generic
Release Version : Ubuntu Focal Fossa (Development blanch) x86_64
Error:libportaudio.so.2

Ubuntu issue from VMware issue now closed
Arch Linux issue solved

Issue close due to VMware's audio drive is not capable and working properly on Ubuntu.

This commit 697884b resolved this issue.
The reason that the issue occurred is that the local UDP server received announce response and tried to update the UI before user interface getting ready.


A bug occurred while processing an error request

When I send an erroneous request with python's requests package, I get an error "'NoneType' object is not iterable". But when I send a correct request, I still get this error. So I suspect that the error flag in the service program has not been reset. so I added self.error=None at the beginning of the data receiving function in mxnet_vision_server.py, and the problem disappeared.

I don't know if this is a bug or my code is wrong.

@aikudexiaohai, there is no pertained state between requests in MMS. What would help if you could post some more details about your custom service code so we would be able to take a deeper look.

class MXNetVisionService(MXNetModelService):
def preprocess(self, request):

    self.error = None                     # I add this line

    img_list = []
    param_name = self.signature['inputs'][0]['data_name']
    input_shape = self.signature['inputs'][0]['data_shape']

    for idx, data in enumerate(request):
        img = data.get(param_name)
        if img is None:
            img = data.get("body")

        if img is None:
            img = data.get("data")

        if img is None or len(img) == 0:
            self.error = "Empty image input"
            return None

        # We are assuming input shape is NCHW
        [h, w] = input_shape[2:]

        try:
            img_arr = image.read(img)
        except Exception as e:
            logging.warn(e, exc_info=True)
            self.error = "Corrupted image input"
            return None

        img_arr = image.resize(img_arr, w, h)
        img_arr = image.transform_shape(img_arr)
        img_list.append(img_arr)
    return img_list

wrong request code:
data = {'file': open('./images/1.jpg', 'rb')}
res = requests.request('POST', url, files=data)
print(res.text)
this will recieve wrong reponse 'NoneType' object is not iterable because the key value 'file' is wrong, it should be 'data'
correct code:
data = {'data': open('./images/1.jpg', 'rb')}
res = requests.request('POST', url, files=data)
print(res.text)
I use this correct code, still recieve 'NoneType' object is not iterable，but if I add self.error=None，I will recieve correct response

Is self.error not reset? A wrong request will affect the next correct request

@aikudexiaohai : Thanks for finding this issue and raising it 👍 . The code you are pointing to is custom code which is meant to be modified by customers writing models :) . We would recommend customers modifying this code according to their needs. That said, you have a valid point here. We might need to fix this in our example implementation as well.
Just out of curiosity, are you using one of the models from MMS model-zoo? If yes, which model are you using?

@aikudexiaohai pushed PR to fix our template.


Cannot check and submit

ADD ISSUE DESCRIPTION HERE
Version: 1.91.0
Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

Sir ,
I cannot check and submit my problems in cs50

/causeByExtension Please use your course support channel

/causedByExtension

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


Add in optimizations for softmax for Fusion F1.

Confirmed that the test passes with:
make -f tensorflow/lite/micro/tools/make/Makefile TARGET=xtensa OPTIMIZED_KERNEL_DIR=xtensa TARGET_ARCH=fusion_f1 XTENSA_CORE=F1_190305_swupgrade test_kernel_softmax_test -j8

However, the latency improvement is only ~1000 ticks, as tested with:
make -f tensorflow/lite/micro/tools/make/Makefile TARGET=xtensa OPTIMIZED_KERNEL_DIR=xtensa TARGET_ARCH=fusion_f1 XTENSA_CORE=F1_190305_swupgrade test_keyword_benchmark -j8

With the optimized implementation:
InitializeKeywordRunner() took 205971 ticks (205 ms)
KeywordRunNIerations(1) took 150995 ticks (150 ms)
KeywordRunNIerations(10) took 1509457 ticks (1509 ms)

and with the reference implementation:
InitializeKeywordRunner() took 201464 ticks (201 ms)
KeywordRunNIerations(1) took 152158 ticks (152 ms)
KeywordRunNIerations(10) took 1521087 ticks (1521 ms)

@pnikam-cad @nyadla-sys: The kernel tests pass ok with the optimized implementation. However, I am not seeing any meaningful latency improvement.
This could happen for any combination of the following reasons:

the optimizations could be improved for the case of int8 inputs and int16 output.
for the Fusion F1, the reference implementation of softmax doesn't really have much room to be optimized.
for the fusion F1 (in contrast to the hifimini), the contribution of softmax to the overall latency is minimal.

I'll look more closely at these tomorrow but sharing the current status with you guys.

@pnikam-cad @nyadla-sys: The kernel tests pass ok with the optimized implementation. However, I am not seeing any meaningful latency improvement.
This could happen for any combination of the following reasons:

the optimizations could be improved for the case of int8 inputs and int16 output.
for the Fusion F1, the reference implementation of softmax doesn't really have much room to be optimized.
for the fusion F1 (in contrast to the hifimini), the contribution of softmax to the overall latency is minimal.

I'll look more closely at these tomorrow but sharing the current status with you guys.

I looked a little bit into the softmax performance. Couple of observations, inline with the points mentioned above :

The reference implementation is already well optimized because of the lookup table approach, and the contribution of the softmax operator is much less now. So we may not see big difference when switching to optimized implementation.
For the softmax kernel in the HiFi 4 NN library, this case is going into a slightly unoptimized path compared to HiFi mini. We should be able to fix this in the next version, that should give us some improvement.

I have updated the commit description with the latest per-op profiling. Especially with all the other optimizations, the ~1500 ticks improvement that we get from softmax is worth merging.


An associated entity can appear twice

Finally with 73953e7a124bc6cb3d2792dcefa2187a86b9a2c2 we are seeing the URL passed to HttpGet's constructor get pulled down in the provenance data as associated entity data, although for some reason it appears twice with different IDs:
wtwhite@wtwhite-vuw-vm:~$ curl -i http://localhost:8080/prov/26
--snip--
    {
        "activities": [
            {
                "id": "7f6af131-d727-4573-aa02-1f3e77250bc1",
                "type": "MakeHttpRequestApacheNew",
                "endTime": "2024-05-29T09:40:48.178480Z"
            }
        ],
        "associatedEntities": [
            {
                "id": 589882250,
                "type": "HttpRequestApacheGet",
                "value": "https://app.veracity.homes/omar-notifications-main-menu.html?name=jens&movieId=35&stars=4",
                "target": {
                    "headers": [],
                    "method": "GET",
                    "path": "/omar-notifications-main-menu.html?name=jens&movieId=35&stars=4",
                    "scheme": "https",
                    "authority": {
                        "userInfo": null,
                        "port": -1,
                        "hostName": "app.veracity.homes"
                    },
                    "version": null,
                    "requestUri": "/omar-notifications-main-menu.html?name=jens&movieId=35&stars=4",
                    "entity": null,
                    "cancelled": false,
                    "config": null,
                    "aborted": false,
                    "uri": "https://app.veracity.homes/omar-notifications-main-menu.html?name=jens&movieId=35&stars=4"
                }
            },
            {
                "id":<PHONE_NUMBER>,
                "type": "HttpRequestApacheGet",
                "value": "https://app.veracity.homes/omar-notifications-main-menu.html?name=jens&movieId=35&stars=4",
                "target": {
                    "headers": [],
                    "method": "GET",
                    "path": "/omar-notifications-main-menu.html?name=jens&movieId=35&stars=4",
                    "scheme": "https",
                    "authority": {
                        "userInfo": null,
                        "port": -1,
                        "hostName": "app.veracity.homes"
                    },
                    "version": null,
                    "requestUri": "/omar-notifications-main-menu.html?name=jens&movieId=35&stars=4",
                    "entity": null,
                    "cancelled": false,
                    "config": null,
                    "aborted": false,
                    "uri": "https://app.veracity.homes/omar-notifications-main-menu.html?name=jens&movieId=35&stars=4"
                }
            }
        ]
    },
--snip--

Originally posted by @wtwhite in https://github.com/veracitylab/provenance-injector/issues/28#issuecomment-2137009078

Also see the following 2 comments in #28 for an explanation of why the entity appears twice.
One possible way to resolve this might be to set the id of the Entity to be the hash of just the target object, rather than on the parameter used to construct it -- this would resolve the issue in this specific case. But I'm not sure of the implications in general.


future: use pickle protocol 2 for dependency cache

This makes is usable for both Python 2 and 3.
Fixes https://github.com/nvie/pip-tools/issues/149

This is also fixed by the rewrite #152. Thanks for the work nonetheless!


using pyiceberg with kerberized hive metastore

Question
Hi,
Can anyone share examples of using pyiceberg with a kerberized hive metastore?
raise TTransportException(type=TTransportException.END_OF_FILE,
thrift.transport.TTransport.TTransportException: TSocket read 0 bytes

same question posted here - https://github.com/apache/iceberg/issues/6229
Thanks!

Hey @saidixith002 this is currently not supported, but can be added. I see some Kerberos references in ThriftHiveMetastore.py, such as get_delegation_token and send_get_delegation_token. Are you interested in contributing Kerberos support?

Hi!
Was there any changes to this issue in the last months?

Hello, any update?
We also need kerberos support.

It also looks like the hive catalogs configuration does not support HA HMS.
This configuration uri: thrift://master1.url:9083,thrift://master2.url:9083 throws a ValueError
ValueError: Port could not be cast to integer value as '9083,thrift:'

pyiceberg version is 0.6.1

It also looks like the hive catalogs configuration does not support HA HMS.
This configuration uri: thrift://master1.url:9083,thrift://master2.url:9083 throws a ValueError
ValueError: Port could not be cast to integer value as '9083,thrift:'

pyiceberg version is 0.6.1

https://github.com/apache/iceberg-python/pull/752 will address the above


fix #4 : add gpu support

Add gpu/cuda support for models embryo_generator_model, embryo_segmentor and lineage_population_model

@rtharungowda  thanks for the PR, did you test it out on a cuda capable device ?

@rtharungowda thanks for the PR, did you test it out on a cuda capable device ?

Yes, I tested it on colab https://colab.research.google.com/drive/1AcxKTV-iCAAMpaSqnLiKkIrTIb4Nh__l?usp=sharing

Looks good. Can you make one more minor edit ?
let us stick to the device argument for selecting the device.
It should look like:
segmentor = some_model(..., device = 'cuda')

or
segmentor = some_model(..., device = 'cpu')

And then set the device as self.device = device


View hyperlink for Console logs not working in nita-webapp UI

View link for Console log output is not redirecting to console log output .
The View link is going to port 8080 instead of 8443. (http://webapp:8080/job/test_bt-sample/2/console)

As of commit 706a21dae6265548a105d1542fc94473fa6e66bd the following feature is added:
Set Jekins URL
By default the Webapp assumes a local installation. If this is not the case and you have Nita running on a remote machine you can configure the Webapp to properly riderect the user to the Jenkins UI.
You only need to set the environment variable HOST_URL with the address of the remote machine and the variable JENKINS_PORT with the port that Jenkins is listening on.
Example:
export HOST_URL=remoteserver.com
export JENKINS_PORT=8443

Changed variable name. See bellow!
Set Jekins URL
By default the Webapp assumes a local installation. If this is not the case and you have Nita running on a remote machine you can configure the Webapp to properly riderect the user to the Jenkins UI.
You only need to set the environment variable JENKINS_URL with the address of the remote machine and the variable JENKINS_PORT with the port that Jenkins is listening on.
Example:
export JENKINS_URL=remoteserver.com
export JENKINS_PORT=8443


Samples needed

zefir is a nice framework. Where can i find some samples for understanding how to use it except the syncno.com(it is a big project)?
Thanks a lot.

I'll add examples when it'll be more stable.

@Idered Great. Thanks very much.


bridge from L3 to L2

Describe the bug
the bridge from L3 to L2 takes quite a long time (pending).

Steps to reproduce
Additional context
Additional context here.

Same issue

i have the same issue

I have the same issue

This is indeed being worked on right now. Hopefully it will be ready for the next testnets.

Semoga tidak ada bug" yang parah


MMDet_Tutorial.ipynb - MaskRCNN example of finetuning training with mask on custom dataset

Hello, dear developers and researchers of mmdetection project.
The detectron 2 project have "Detectron2 Tutorial.ipynb". (link)
It shows how use it for creating custom dataset and how to perform Masked RCNN fine tuning on this new custom dataset. It's very convenient to get started.
The mmdetection project also have "MMDet_Tutorial.ipynb". It shows how use it for creating custom dataset and how to perform Faster RCNN fine tuning on this new custom dataset. There are only boxes without masks.
It seems easier to me to see a more complex example that can be simplified by removing what is not necessary from it. It seems to me more difficult to add to a simpler example what is needed to implement a more complex case.
The example without masks is very clear, I suggest keeping it as it is, but adding an additional version of it with masks.
There will be two examples:

"MMDet_Tutorial_Faster_RCNN.ipynb" is the current version of "MMDet_Tutorial.ipynb" without masks.
"MMDet_Tutorial_Masked_RCNN.ipynb" is the version of "MMDet_Tutorial.ipynb" with masks fine tuning like in "Detectron2 Tutorial.ipynb".

Or add this example with Masked RCNN and masks to "MMDet_Tutorial.ipynb" below example with Faster RCNN fine tuning.
I believe that it will be very useful for beginners like me to start using the mmdetection with masks prediction =)

https://github.com/open-mmlab/mmdetection/blob/master/demo/MMDet_InstanceSeg_Tutorial.ipynb added.

Thank you very much ! =)


Missing wheels for python 3.10

The most recent PyPI release for OSO 0.22.1   is still missing python 3.10 wheels (and there is no source distribution) so it's impossible to use with the latest stable python.
https://github.com/pypa/cibuildwheel supports python 3.10 starting 2.1.3 releae

Ough, I see the relevant PR is  already merged:
https://github.com/osohq/oso/pull/1350
Do you have any timeline for the new wheels on PyPI?

Should be published on Tuesday with the next release, I can publish one now for you though. Which operating system do you need it for?

Should be published on Tuesday with the next release, I can publish one now for you though. Which operating system do you need it for?

Great, thank you!
We are on Debian bullseye amd64

oso-0.22.1.zip

I also uploaded it to pypi so you should be able to pip install it

I also uploaded it to pypi so you should be able to pip install it

Thank you so much, it installs fine!
I'll close this issue, because as you said on Tuesday  it will be on all platforms.


Order Form confirmation word change

flipping a short position:
closing position
Buying Back
New position
Buying Green, instead of long and short
Flipping a long position:
closing position
Selling Out Red
new position
Selling Red

working correctly in snpk


worker_processes problems

Hello,
I have 8 cores on my Ubuntu pc and if i use worker_processes 1; i can see all streams in http://127:0:0:1:10001 and the output in HLS and RTMP works ok but high CPU usage
If i change worker_processes to anything above 1 i can see any pulled or published streams and the HLS streams work but the RTMP  streams dont work
Any idea where i could be going wrong?
Thanks

FYI if others having this issue, it's probably missing
rtmp_auto_push on


Question - pickle.UnpicklingError: pickle data was truncated

I got an error
pickle.UnpicklingError: pickle data was truncated
while try to utilize this library... how does this error message get generated? and how can I avoid this in the future?
Another weird one
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 201: invalid continuation byte

Hmm, something seems wrong with the shared memory. It's hard to tell where this is coming from without knowing more context.
Do you have a stack trace? Is is happening randomly or repeatedly?
With which parameters are you using UltraDict?
Are you using shared_lock=True?

Right now I'm using these parameters... I'm happy to try changing them though to something more safe
smd = UltraDict({}, name= 'ultra', buffer_size=10000, shared_lock=False, full_dump_size=None, auto_unlink=True, recurse=False)
The problem is that its not really repeatable (yet) ... I'm not exactly sure how it happens

I see. One cause for such not-repeatable issues can be concurrency.
You could try to set shared_lock=True. This is necessary if the processes are completely independent or if they are created using the spawn method (ie. on Windows).
Also, once you see the error, you could try opening in a Python shell, connect to the dict and try to debug:
>>> from UltraDict import UltraDict
>>> smd = UltraDict(name='ultra')
>>> smd.print_status()

I'd love to find the root cause of this issue and make UltraDict more stable. I'm currently working on adding more tests and examples.

Okay - it failed again with this error. invalid load key, '\x00'.
Here's the status

smd.print_status()
{'buffer': SharedMemory('ultra_memory', size=12288),
'buffer_size': 12288,
'control': SharedMemory('ultra', size=1000),
'full_dump_counter': 0,
'full_dump_counter_remote': 0,
'full_dump_memory': None,
'full_dump_memory_name_remote': '',
'full_dump_size': None,
'full_dump_static_size_remote': <memory at 0x00000261F217CB80>,
'lock': <RLock(None, 0)>,
'lock_pid_remote': 0,
'lock_remote': 0,
'name': 'ultra',
'recurse': False,
'recurse_remote': 0,
'serializer': <module 'pickle' from 'C:\Users\mccoy\AppData\Local\Programs\Python\Python310\lib\pickle.py'>,
'shared_lock': False,
'shared_lock_remote': 0,
'update_stream_position': 0,
'update_stream_position_remote': 0}

As mentioned before, try to set shared_lock=True
Btw, configuration is shared between several instances of an UltraDict, so when you set the first, creator instance to shared_lock=True the other connected dicts should pick it up no matter what you set there.

After you mentioned that about shared locks - I realized that I was writing to the same patch of memory in several places. I ended up making several instances of memory instead of just using only one memory.
I wasn't exactly doing this.... but I was kind of doing this (by the way - this is a fantastic way to break UltraDict)
`import multiprocessing
from UltraDict import UltraDict
import numpy as np
import random
import string
import traceback
Define some helper functions
def P1():
ultra = UltraDict(name='ultra5')
while True:
    try:
        ultra['P1'] = random.random()
    except Exception as e:
        print(e)

def P2():
ultra = UltraDict(name='ultra5')
while True:
    try:
        chars = "".join([random.choice(string.ascii_lowercase) for i in range(8)])
        ultra['P2'] = chars
    except Exception as e:
        print(e)

if name == 'main':
ultra = UltraDict({'P1':float(0), 'P2':''}, name='ultra5')

p1 = multiprocessing.Process(target=P1)
p1.start()

p2 = multiprocessing.Process(target=P2)
p2.start()

while True:
    print(ultra)`

I tried it with the shared lock... still breaks but in a different way
`import multiprocessing
from UltraDict import UltraDict
import numpy as np
import random
import string
import traceback
Define some helper functions
def P1():
ultra = UltraDict(name='ultra6')
while True:
    try:
        ultra['P1'] = random.random()
    except Exception as e:
        print(e)

def P2():
ultra = UltraDict(name='ultra6')
while True:
    try:
        chars = "".join([random.choice(string.ascii_lowercase) for i in range(8)])
        ultra['P2'] = chars
    except Exception as e:
        print(e)

if name == 'main':
ultra = UltraDict({'P1':float(0), 'P2':''}, name='ultra6', shared_lock=True)

p1 = multiprocessing.Process(target=P1)
p1.start()

p2 = multiprocessing.Process(target=P2)
p2.start()

while True:
    print(ultra)`

Thanks for sharing your code. On Windows, you'll need to set shared_lock=True for sure, but there's another problem even if you set shared_lock=True. This seems to be caused when one of the two processes is in the middle of loading a full dump while the other process is so fast that it creates multiple full dumps during the same time. You can soften this issue by increasing the buffer_size. The default of 10 kb is rather small if you write a lot. Increasing it to 100 kb helps a bit on my computer (on Linux).
I'm still analyzing this issue and thinking about ways to avoid it without degrading performance.
I'll shortly release a new version including a much advanced example of auto-recovery after crashes.

Hey, so in the dev branch, I now have a possibly working version of your example code (at least I cannot produce any errors anymore) and also another, more complex example with crash recovery from stale locks.
To your code:
On Windows, you for sure have to use shared_lock=True. Otherwise you have no locking at all. But even with the shared_lock, there are problems in the main branch.
These problems were mainly caused by the fact that writes are protected by the lock but not reads. Reads happen opportunistically. This is usually not an issue unless the buffers are too small. Depending on your OS and how your kernel gives time to individual processes, it could happen that reads were interrupted in the middle while multiple new full dumps were created by other processes.
If you look at your example in the dev branch, I've intentionally set the buffer to tiny 100 bytes. (Please note that Windows only allows multiples of 4096 bytes, so the smallest you can get is 4096 on Windows.) This causes a lot of full dumps to happen and it triggers the error faster.
Now the code is protected from this case, it's not an error anymore, but it will still print a warning like
WARNING:root:Full dumps too fast full_dump_counter=120366 full_dump_counter_remote=120370. Consider increasing buffer_size.
I still have to introduce some performance tests to ensure performance is not degraded due to the latest changes.

Sorry this has been awhile. I tried the library and it failed. Interestingly - I did set the shared_lock = True and it still gave me this error - let me know your thoughts
{'auto_unlink': False,
'buffer': SharedMemory('bin_memory', size=12288),
'buffer_size': 12288,
'closed': False,
'control': SharedMemory('bin', size=1000),
'full_dump_counter': 0,
'full_dump_counter_remote': 1,
'full_dump_memory': None,
'full_dump_memory_name_remote': 'wnsm_d9b17094',
'full_dump_size': None,
'full_dump_static_size_remote': <memory at 0x000001EB72283F40>,
'lock': <RLock(None, 0)>,
'lock_pid_remote': 0,
'lock_remote': 0,
'name': 'bin',
'recurse': None,
'recurse_remote': False,
'serializer': <module 'pickle' from 'C:\Users\mccoy\AppData\Local\Programs\Python\Python310\lib\pickle.py'>,
'shared_lock': None,
'shared_lock_remote': False,
'update_stream_position': 12220,
'update_stream_position_remote': 0}

And it fails if you run examples\mccoydj1.py?
Does it throw an exception? On my Windows VM, it works. I can keep it running the whole day.

PS: In your print_status() output, you have 'lock': <RLock(None, 0)>,, so it did not pick up shared_lock=True.

PPS: Please be aware that settings are stored in shared memory. If you create name="bin" with shared_lock=False in one process and do not delete/unlink it, then the next attempt using name="bin" will read the old settings until bin is destroyed and re-created with different settings.

No worries, I'm closing this issue now. Thanks


Allow redirect URIs to be configurable

It is currently necessary to add a new IDP to Keycloak every time that a new proof configuration is added, in order for the "login with" button to correctly pass the pres_req_id query parameter to the controller, with the appropriate configuration id.
This means that a new client redirect URI matching the new IDP url needs to be added to the vc-authn controller database.
The options here could be:

parametrize the allowed URIs, so that they can be set at deployment
update the vc-authn controller to let the user pick which proof to use to sign in - from a list of "allowable" proof configs

Following the procedure described here it was possible to set a RedirectURI using an environment variable. The environment variable would look something like this: `IdentityServer__Clients__0__RedirectUris__0="https://my-url-to-idp".
However, updating the environment variable does not seem to result in an update of the value stored in the database.

I tried setting the whole client object using IdentityServer__Clients__0={}, but the result does not change.
It is likely an issue related to the use of arrays of object in the configuration, which apparently is not always recommended. If we decide to move forward on this it will require further investigation.
I have not yet looked into making the list of allowed proof configs configurable, but we could maybe re-use the pres_req_conf_id query parameter and pass a list of ids; the controller would by default use the first one, but if more than one configuration was provided a control would be displayed alongside the QR code to allow the user to switch to a new presentation request using the desired configuration.

@swcurran I'm moving this to done for the time being, since we don't really have a need for updates right now and the app I am going to start looking into now should help us get around some of the limitations anyway.


Better clipping at the edge of the world

Any latitudes in the input over 85.0511° are capped at 0 or 2^31-1, which is 85.051129°.
Any longitudes in the input over 180° are capped to 0 or 2^31-1.
This will produce messed up geometries for anything that crosses over the line and doesn't include a point right on the line. Even if there is a point on the line, it will still smash anything beyond the edge onto the edge instead of letting it wrap around.

Here's how it's done in GeoJSON-VT if it's of any help: https://github.com/mapbox/geojson-vt/blob/master/src/wrap.js
Basically, I clip the data into -1, 0 and 1 z0 tiles, then shift coordinates in -1 and 1 and append all features to 0, resulting in one tile with properly date-wrapped geometries.

That sounds great @mourner. Do you run into any problems with the Y coordinates blowing up toward the poles?

@ericfischer just clamping to spherical mercator square. Although I just realized there's probably a bug there (should be 0..1 and not -1..1 https://github.com/mapbox/geojson-vt/blob/master/src/convert.js#L100)

Should be fixed in https://github.com/mapbox/tippecanoe/commit/bbcf9e1b3c01b321a32410c0b78ee94ed074289e


Fix assertion Checkstyle warnings in core

Assertions are unreliable in Dalvik and unimplemented in ART. Use BuildConfig.DEBUG conditional checks instead.

This change is

I'll look into the failing tests.

Thanks.  I was lazy when writing these.  It would be great if there was a function call for these, though I know that would incur the call overhead for something that should really never happen.  Fix up the line lengths and I'll pull this in.

Review status: 0 of 3 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

blocklylib-core/src/main/java/com/google/blockly/android/ui/fieldview/BasicFieldAngleView.java, line 43 at r1 (raw file):

        public void onValueChanged(Field angleField, String oldValue, String newValue) {
            if (BuildConfig.DEBUG && !(angleField == mAngleField)) {
                throw new AssertionError(String.format("angleField (%s) must match mAngleField (%s)",

line length should be 100 chars

blocklylib-core/src/main/java/com/google/blockly/model/BlockTemplate.java, line 438 at r1 (raw file):

    BlockTemplate withFieldValue(String fieldName, String value) {
        if (BuildConfig.DEBUG && (TextUtils.isEmpty(fieldName) || TextUtils.isEmpty(value))) {
            throw new AssertionError(String.format("Neither fieldName (%s) nor value (%s) may be blank",

line length should be 100 chars

Comments from Reviewable

The travis breakage is the usual #653 flakiness unrelated to this change.

Review status: 0 of 2 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable


Error: Microsoft Visual C++ is required

Hi,
While trying to install tslearn, I encountered the above error. Obviously, I'm trying to dodge installing Microsoft Visual C++ which is 5GB and was wondering if anyone figured out which binaries are needed to bypass this? I think it's Cython related, but I've trying installing the binaries and 'requirement is already satisfied'. Actual error below:
`  ERROR: Complete output from command 'D:\Anaconda3\envs\deep-learning\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\name\AppData\Local\Temp\pip-install-yy1klzjw\tslearn\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\name\AppData\Local\Temp\pip-wheel-tcf14c5a' --python-tag cp37:
ERROR: running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\tslearn
copying tslearn\barycenters.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\clustering.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\datasets.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\generators.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\metrics.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\neighbors.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\piecewise.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\preprocessing.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\shapelets.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\svm.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn\utils.py -> build\lib.win-amd64-3.7\tslearn
copying tslearn_init_.py -> build\lib.win-amd64-3.7\tslearn
creating build\lib.win-amd64-3.7\tslearn.cached_datasets
copying tslearn.cached_datasets\Trace.npz -> build\lib.win-amd64-3.7\tslearn.cached_datasets
running build_ext
skipping 'tslearn\cydtw.c' Cython extension (up-to-date)
building 'tslearn.cydtw' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
ERROR: Failed building wheel for tslearn`

I think you will have to install the Visual C++ compiler unfortunately.
On the other hand, the Ubuntu iso file is only 2 GB instead of 5 GB and you won't ever have this stupid problems again ;)

C++ build tools are necessary to use Cython, which is a hard dependency for tslearn, as stated there: #90 .


Mute toggle

It might be desirable in some cases to send a mute toggle command to the AVR, to be less dependent on state.
This seems not possible directly using the http or telnet protocol, but can still be accomplished by sending remote codes over http.
For the main zone on the AVR-X4400H this works with
"/goform/formiPhoneAppDirect.xml?RCKSK0410370"
For zone 2 this should be
RCKSK0430370
and for zone 3
RCKSK0450370
Some older denon list of IR codes which still seems to be applicable to current models:
http://www.denon-hifi.nl/uk/product/hometheater/avreceivers/avr3313?docname=AVR3313_IR_CODE_V01.pdf

Wow.  This code list is extensive and I can confirm that they are working with AVR-X1500H.  I would like to refactor the constants anyway so I will begin cataloging some of these and running them in a test environment along with Home Assistant.
Even better, the newer XML API was not backwards compatible but I would suppose that these codes are.
The only downside that I can see is that Denon is simply returning a 200 response when it receives a command in this form, whether the command is gibberish or not.  This is different than some of the other /formiPhoneAppDirect.xml? based commands which do return XML confirming the new state.
Anyone have more thoughts?
Cheers,
J.P.

Some more reference on this is here
https://ca.denon.com/ca/product/hometheater/receivers/avrx4400h?docname=AVR-X6400H_X4400H_X3400H_X2400H_X1400H_S930H_S730H_PROTOCOL_V01.xlsx
I got the hint from the "Extension Command" page.  I assume it's already known that ~any of the telnet commands should work when passed to /goform/formiPhoneAppDirect.xml

I have submitted PR that includes all of the RCKSK codes from the document and a demo of the mute_toggle() method, tested working on my X1500H.
PR: https://github.com/scarface-4711/denonavr/pull/103
Branch if you want to clone and test/help: https://github.com/JPHutchins/denonavr/tree/3313-IR

Actually I was unable to get some of the telnet commands to work via that endpoint which is why I was sniffing the app and implementing and XML based API: https://github.com/JPHutchins/denonavr/tree/xml-commands

Another interesting feature of the xml API is that it looks like it has at least limited support for http SUBSCRIBE/NOTIFY such that one can update the avr state at least partly with asynchronous callbacks rather than polling.

I noticed that but have not played with it.   Haven't had a chance to explore, but I think something is causing some slow behavior in this HA integration.

Did you already think about what changes are needed to the HomeAssistant api's in order to call arbitrary commands? (One could add a dedicated api call for the denonavr component, but since one may e encounter similar issues elsewhere, I wonder if it makes more sense to implement something generic at the media_player level.)

https://github.com/home-assistant/home-assistant/pull/28280

I think that this is a great idea and will subscribe to the PR to support your effort.  HA architecture is very picky so be prepared for some push back.  Generally, they may want this implemented in this denonavr library so that it can be maintained outside of HA.
It is not immediately on my to-do list, but in my opinion their is very little overlap between a "media player" and a "receiver".  For this reason I believe that there should be a separate component for receivers as the media player component is already bogged down dealing with various streaming services, transport controls, etc.  Then media players would routed to receivers and displays as necessary to control power on/off volume control etc.

Indeed there was some resistance to implementing this in the media_player domain, so I added a dedicated service rather.
https://github.com/home-assistant/home-assistant/pull/29295


Fix: update components-contrib for Redis

This addresses a block issue with long running operations with Redis Streams.

/ok-to-test


Unable to open the playground in either MacOS desktop or iOS Playgrounds App

I'm not sure if this is really an issue as I'm not sure if being able to was your intention. I was looking into how to use Metal from  the Playgrounds app, which seems to be an un-solved problem, so that's what brought me to your blog post.

Hi Simon, I believe the Swift Playgrounds app can only run playgrounds written for iOS, even though that app can run on macOS too.
This playground is for macOS so it won't open in that app. If you have a Mac, you should in theory be able to open this playground in Xcode instead. However, I've just tried to open it with Xcode 12.5 and there seem to be some problems so I'll try to fix those when I get a chance.
Sorry none of this really helps you get Metal into the Swift Playgrounds app, but thanks for taking a look anyway!


Standardize creation/use of name nodes [phab:T116]

Created by mazurak at 2016-03-30 01:06:05:
The schema talks about name nodes only in the context of C++ forward declarations, where the relevant property is that the various declaration/definition sites share the same name. But they're also the obviously place to put user-facing names, e.g., the ones a frontend might let you search for. And right now each indexer decides for itself what if anything name nodes mean.
So we should probably have some sort of consistency in what they look like / when they're generated, and add this to the spec. Especially if they're going to be involved in cross-language linking. (Will they be? That should also be decided on.)

schroederc wrote at 2017-05-31 23:10:16:
Obsolete


Test pull request.

Coverage remained the same at 100.0% when pulling ef25beaf736b5528d6b0568a013e71058c584a87 on selfcov:stdin into 92bd966d5d8d86349f4ca9ae6cf492fd7f283861 on Robpol86:master.


Maybe fix CI.

Maybe this will work.

Current coverage is 89.20% (diff: 100%)

No coverage report found for master at 6da8240.

Powered by Codecov. Last update 6da8240...3a92d13


Google spreadsheets

This PR allow querying Google spreadsheets via SQL Alchemy, using a new module called gsheetsdb.

It works, but requires pushing some fixes upstream to moz-sql-parser.
SQL Lab also works:

Loading the tables in SQL Lab:

Time series now work:

I also tested against a spreadsheet behind authentication, and it works.

Codecov Report

Merging #5915 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #5915      +/-   ##
==========================================
+ Coverage   73.31%   73.33%   +0.01%
==========================================
  Files          67       67
  Lines        9594     9600       +6
==========================================
+ Hits         7034     7040       +6
  Misses       2560     2560

Impacted Files
Coverage Δ

superset/db_engine_specs.py
55.42% <100%> (+0.25%)
:arrow_up:

superset/views/core.py
75% <100%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM

Hi,
I want to know whether this feature has already been released ? if so  in which version?
Thank you  very much~

Can anyone point to an example of setting up the datasource?  I can setup the connection and test it fine, but once I save it raises an error.

Can anyone point to an example of setting up the datasource? I can setup the connection and test it fine, but once I save it raises an error.

@neildunlop : Are you able to setup google sheet as datasource?

@betodealmeida ping. I'd like some help setting this up as well. I tried setting up a datasource with a URL such as:
gsheets://docs.google.com/spreadsheets/d/<spreadsheet-id>/edit#gid=0

But I get the following error:
2020-01-14 22:51:53,769:ERROR:root:'from'
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/superset/views/core.py", line 1705, in testconn
    conn.scalar(select([1]))
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 920, in scalar
    return self.execute(object_, *multiparams, **params).scalar()
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 988, in execute
    return meth(self, multiparams, params)
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 287, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1107, in _execute_clauseelement
    distilled_params,
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context
    e, statement, parameters, cursor, context
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1468, in _handle_dbapi_exception
    util.reraise(*exc_info)
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 153, in reraise
    raise value
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context
    cursor, statement, parameters, context
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute
    cursor.execute(statement, parameters)
  File "/home/superset/.local/lib/python3.6/site-packages/gsheetsdb/db.py", line 36, in g
    return f(self, *args, **kwargs)
  File "/home/superset/.local/lib/python3.6/site-packages/gsheetsdb/db.py", line 137, in execute
    query, headers, self.credentials)
  File "/home/superset/.local/lib/python3.6/site-packages/gsheetsdb/query.py", line 96, in execute
    from_ = extract_url(query)
  File "/home/superset/.local/lib/python3.6/site-packages/gsheetsdb/url.py", line 51, in extract_url
    return parse_sql(sql)['from']
KeyError: 'from'

I haven't found any documentation that shows how to setup GSheets a data source, even though this PR shows it's possible.

Can you explain a bit about the workaround for private and org-based gSheets?


Json result

Added .json as a supported downloadable result, when a query is executed correctly one can now download the result as a JSON format.

Thanks @gonace!


feat(mpc): mpc threshold signatures

For now, please don't review this PR
You can think of it as me tracking my work :)

cargo update
clippy
latest stable rust

What this PR does 📖
So far, it does very little, other than let the Uplink community know I would like to use it for a mpc threshold signature project that combines "the chat for the multisig" and the mpc tools for making any blockchain account into a threshold multisig w/ key rotation.
It seems to fold neatly into the "extensions" concept.
I will push to have a POC asap.  Thanks for your work this is a really neat project.
Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒
Additional comments 🎤

Please feel free to let us know if you have any questions! Thanks for your time and future contributions!

Due to lack of recent activity on this pull request, we will be closing this PR for now to keep our repository clean and manageable. If you’re still interested in getting this merged or have more updates, please feel free to reopen it or submit a new PR.
Thank you for your contribution!


Setup MVC Pattern for Gui.cs with View to Generate UI

Create View CS Files
Add ability to bind Controller to the View to handle Actions

Closed with #588


adding missing checkpoint and correcting follower stats test case

Description
Follower checkpoint stats are missing in TranslogSequencer.
Corrected test Follower stats
Issues Resolved
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

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.

Follower checkpoint was not being updated based on indexShard.localCheckpoint.
This was causing follower checkpoint to stay at -1
This also fixes the "follower stats" integration tests, the test tried to start replication from indices which were not created.
Added assertBusy for operations_written as it takes time to replicate all docs.


Our update on how we use this now and what we are thinking

Hello,
We have been working with this in a google sheet for a couple months now.
We can come up with a little description of how we use it and what we would like to do next.
Mainly:

A feature to query directly from the QID for labels
Formatting Output for wikidata to cells on the right , not flowing down
Have some way of "not" updating cells so we don't hit the rate limit
Start to think about how to push information to wikidata (oos, fair enough)

https://docs.google.com/document/d/1jUziaQjMV4BLHL8scluooASsZMiJxv3z156L2c1DXLY/edit
Feedback is greatly appreciated!

Hi @alexrollin. Sorry for the long turn-around time. Let me address your points:

A feature to query directly from the QID for labels
👉 I think this is covered in https://github.com/tomayac/wikipedia-tools-for-google-spreadsheets/issues/17.
Formatting Output for wikidata to cells on the right , not flowing down
👉 You can do this with the TRANSPOSE function.
Have some way of "not" updating cells so we don't hit the rate limit
👉 This is being looked at in https://github.com/tomayac/wikipedia-tools-for-google-spreadsheets/issues/21.
Start to think about how to push information to wikidata (oos, fair enough)
👉 Out-of-scope indeed.

Thanks for the description in your document, this sounds like a good use case for this add-on.
I'm closing this issue in favor of the referenced issues above. Please chime in there. Thanks!


'ompl::Exception' && [global_planning_node-5] process has died

The following error occers when I use the 2D nav goal button to set the target destination, why? any solutions? thanks!
terminate called after throwing an instance of 'ompl::Exception'
what(): Direct sampling of the path-length objective requires Eigen, but this version of OMPL was compiled without Eigen support. If possible, please install Eigen and recompile OMPL. If this is not possible, you can manually create an instantiation of RejectionInfSampler to approximate the behaviour of direct informed sampling.
[global_planning_node-5] process has died [pid 18379, exit code -6, cmd /home/nuc/ROS/devel/lib/gcopter/global_planning __name:=global_planning_node __log:=/home/nuc/.ros/log/cca85ec0-befa-11ec-b074-38fc989acd2e/global_planning_node-5.log].
log file: /home/nuc/.ros/log/cca85ec0-befa-11ec-b074-38fc989acd2e/global_planning_node-5*.log

You can try to download and install the OMPL yourself, and then recompile the project.

You can try to download and install the OMPL yourself, and then recompile the project.

thank you very much

I had the same problem and downloading OMPL for ROS here https://ompl.kavrakilab.org/installation.html, deleting the ROS directory created in the example steps and repeating the steps fixed the problem


Beautification of Post Module UI

Description
The current post module requires enhanced styling for a more modern, clean, and visually appealing UI that integrates seamlessly with the rest of the website's design. This update should improve user experience, readability, and accessibility across the module.
Current Observations

The layout and color palette could be updated to align better with our site’s overall theme.
Icons and buttons lack hover animations, shadow effects, and distinct styling to improve interactivity.
Text sections, images, and comments could use additional spacing, padding, and/or alignment tweaks to improve visual hierarchy.

Suggested Improvements (Open to Ideas)

Color Palette: Update the color scheme to match our brand colors and improve contrast. Consider using soft background gradients or borders to differentiate sections.
Typography: Adjust font sizes and weights for headings and body text, ensuring legibility and consistency with the rest of the site.
Buttons and Icons:

Add hover effects (e.g., color changes, text decoration, or slight scale increase).
Use subtle shadows for better contrast on dark backgrounds.
Distinguish "Like," "Dislike," and "Comment" icons with clearer active and inactive states.

Images: Adjust image sizes for uniformity, add subtle borders, and apply rounded corners for a cleaner look.
Animations: Consider smooth animations for showing/hiding comments or toggling text sections for a dynamic feel.

Additional Notes

Ensure all changes are responsive and accessible.
Maintain code modularity by updating only the necessary components. (You may use .module.css)

Expected Outcome
A visually enhanced and cohesive post module that integrates seamlessly with the rest of the website, providing a user-friendly and aesthetically pleasing experience.
https://github.com/priyam-03/Recruitify/blob/main/frontend/src/shared/components/AllPosts.js
https://github.com/priyam-03/Recruitify/blob/main/frontend/src/User/myPosts.js
https://github.com/priyam-03/Recruitify/blob/main/frontend/src/styles/posts.css

I would like to work on this issue, can you assign me please

@priyam-03 please provide API keys to run backend and see the files
<EMAIL_ADDRESS>

Sent @VBsaini .

@priyam-03 it is showing me error in the backend
[ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1602:16)
[ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1602:16)
[ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1602:16)
...
...
...

Yes but it will run , its like a warning.

ok

@priyam-03 can i install packages for animations ?

yeah sure.
On Mon, 28 Oct 2024 at 19:30, Vaibhav Saini @.***>
wrote:

@priyam-03 https://github.com/priyam-03 can i install packages for
animations ?
—
Reply to this email directly, view it on GitHub
https://github.com/priyam-03/Recruitify/issues/64#issuecomment-2441673525,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AY6DSR67IOQSUB7YR23SLQLZ5Y7QRAVCNFSM6AAAAABQUQ5XCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRGY3TGNJSGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@priyam-03 can you close this issue