A better explanation can be found here

https://stackoverflow.com/questions/16212816/setting-up-openssh-for-windows-using-public-key-authentication.
Note that Repair-AuthorizedKeyPermission BREAKs authentication.

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

ID: 337c4ea8-1806-92a3-1501-b3ff5dde37bb
Version Independent ID: c411d389-578d-57c6-cd6e-eaca7f2837db
Content: OpenSSH Server Configuration for Windows
Content Source: WindowsServerDocs/administration/OpenSSH/OpenSSH_KeyManagement.md
GitHub Login: @maertendMSFT

After making the changes mentioned in the SO answer I was able to get authentication with keypairs working.

See Pull Request #4788 for a suggested improvement to this issue.
(The PR will close this issue ticket when it gets merged.)

List of related issue tickets:

#3400 Can't install the "OpenSSHUtils" (Closed)
#3456 Misleading title/summary causing search confusion (Open)
#3806 OpenSSHUtils is deprecated (Open)
#3970 OpenSSH installation (Closed)
#4345 OpenSSHUtils Not Needed (Open)
#4518 Unable to configure OpenSSH for public key auth following docs (Open)
#4598 Instructions provided ends with an error (Open)
#4622 Out-of-date - OpenSSHUtils no longer available. (Open)
#4634 More documentation required (Open)
#4690 OpenSSHUtils install reference no longer valid (Open)
#4702 OpenSSHUtils got unlisted from the PowerShell gallery (Open)
#4743 Nope. First example errors out. (Open)
#4770 Error when following instructions to install OpenSSHUtils (Open)
#4787 OpenSSHUtils module does not exist (Open)
#5000 Clarification needed (Open)
#5138 These instructions do not work on Windows 10 20h2 (Open)

so whats the trick to getting openssh server to run on win 2019 ?

Please check the changes in commit https://github.com/MicrosoftDocs/windowsserverdocs/commit/22276a00f95b66583b628698c2a4b511e9b77344 — committed June 04, 2021, 05:54 GMT — and see if the updated version of the pages are more useful to you.


Update ERC20 Bridge Logic contract to allow people to self-allowlist

As per the spec update in PR:

https://github.com/vegaprotocol/specs-internal/pull/1044

We require that the deposit limits in the ERC20 Bridge Logic contract sweetwaterPP branch to be:

Any ETH address can add/remove itself from the list of exempt addresses.
Any ETH address on the deposit allowlist can deposit as normal, bypassing deposit limits both on ETH key and destination Vega key.
Withdrawal limits are still in place for everyone.
Any ETH address can use a method on the smart contract to add or remove itself (own ETH address) from the exemption list

working on tests now, the changes are in place, it looks like this:
require(msg.sender == exemption_lister || msg.sender == depositor, "unauthorized exemption lister");

Tests are in, we should be ready for audit @gordsport
@najienka if you would like to review this and/or make more tests, that would be awesome.


seata1.4.2中io.seata.spring.util.SpringProxyUtils#findTargetClass相关的代码影响了spring security oauth2的bean初始化

seata1.4.2中io.seata.spring.util.SpringProxyUtils#findTargetClass相关的代码影响了spring security oauth2的bean初始化
spring security oauth2中用到了RequestScope作用域的bean
使用1.4.1的话系统启动正常
详细堆栈如下
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oauth2ClientContext': Post-processing of FactoryBean's singleton object failed; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.oauth2ClientContext': Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:119) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1828) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1265) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
... 69 common frames omitted
Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.oauth2ClientContext': Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
at io.seata.spring.annotation.GlobalTransactionScanner.wrapIfNecessary(GlobalTransactionScanner.java:287) ~[seata-all-1.4.2.jar:1.4.2]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:299) ~[spring-aop-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:430) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1937) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
... 77 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.oauth2ClientContext': Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:372) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:35) ~[spring-aop-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at io.seata.spring.util.SpringProxyUtils.findTargetClass(SpringProxyUtils.java:51) ~[seata-all-1.4.2.jar:1.4.2]
at io.seata.spring.annotation.GlobalTransactionScanner.wrapIfNecessary(GlobalTransactionScanner.java:256) ~[seata-all-1.4.2.jar:1.4.2]
... 81 common frames omitted
Caused by: java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
at org.springframework.web.context.request.RequestContextHolder.currentRequestAttributes(RequestContextHolder.java:131) ~[spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.web.context.request.SessionScope.get(SessionScope.java:55) ~[spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:360) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
... 85 common frames omitted

啥时候合并发布下这个特性... 目前1.4.2依然存在这个问题= =

@zhoushenn
用这个PR #3716 的代码新建一个同名类覆盖seata的类就可以了，临时解决一下了。
SpringProxyUtils.java


unable to post webhook

i'm trying to post a webhook, but all I get back is
{"embeds": ["0"]} which is being returned as an error.

This usually means that the first message embed is incompatible with the Discord API. Unfortunately, current implementation doesn't really check the embeds' compliance with the Discord API.
You can check compliance here
I ran the crate example to check and if i broke the API compliance, I got InvalidInput, error: "{\"embeds\": [\"0\"]}".
If your inputs are compliant, please post the message builder snippet causing the error.


feat: Expandable groups support in top navigation menu utilities

Description
Updated top navigation API to officially support expandable groups in menu utilities.
See AWSUI-29742
How has this been tested?
Updated test page

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

Changes include appropriate documentation updates.
Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
Changes do not include unsupported browser features, see CONTRIBUTING.md.
Changes were manually tested for accessibility, see accessibility guidelines.

Security

If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

Changes are covered with new/existing unit tests?
Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Looks like there are a couple visual bugs in Visual Refresh:

Extra top border displayed at the bottom of the nested group
Top border of the parent item increases on hover

Apparently, the issues are also relevant to the button dropdown and are reproducible in there as well. Fixed in scope of this PR.


add severity to diagnostic error message

i have added support for glint in intellij, but it internally expects severity to be always set.

Thanks! And 🤩 that you added IntelliJ support! 🎉

Issue on TS nightly is spurious (just needs us to bump our @types/node version). Thanks!


PhotoSpheres with JPEG extension cannot be attached to Space

Thank you for the great VR CMS, it is very useful.
I encountered a small bug. I uploaded some files with the JPEG extension and they work as expected in the VR preview, but am unable to attach them to a space, receiving error messages.
The same image can be attached if re-uploaded after changing the extension from jpeg to jpg
The theme is 360 Photo Tour Pro, I didn't try any other themes

The VR CMS supports JPEG extension. The error could be during the validation of the assets uploaded, to fix this you need to check in your theme if the config.php contains the jpeg extension in the field #file-extension.


Bug laravel tag inside tag html

sorry, i think i have bugs when i insert @class inside html tag

Hi @ferrianes sorry for the delay, I ran a quick test on a @class for the following code and the parser seem to be working fine. can you try and isolate the error, in a smallest code snippet possible and I will run some tests.

	testing

The error is likely coming from another parser like html

Hi @ferrianes sorry for the delay, I ran a quick test on a @class for the following code and the parser seem to be working fine. can you try and isolate the error, in a smallest code snippet possible and I will run some tests.

	testing

yapp, still error for me, i dont know why

here is my config
html/injections.scm
;; extends

; AlpineJS attributes
(attribute
  (attribute_name) @_attr
    (#lua-match? @_attr "^x%-%l")
  (quoted_attribute_value
    (attribute_value) @injection.content)
  (#set! injection.language "javascript"))
(attribute
  (attribute_name) @_attr
    (#lua-match? @_attr "^:%l")
  (quoted_attribute_value
    (attribute_value) @injection.content)
  (#set! injection.language "javascript"))

; Blade escaped JS attributes
; <x-foo ::bar="baz" />
(element
  (_
    (tag_name) @_tag
      (#lua-match? @_tag "^x%-%l")
  (attribute
    (attribute_name) @_attr
      (#lua-match? @_attr "^::%l")
    (quoted_attribute_value
      (attribute_value) @injection.content)
    (#set! injection.language "javascript"))))

; Blade PHP attributes
; <x-foo :bar="$baz" />
(element
  (_
    (tag_name) @_tag
      (#lua-match? @_tag "^x%-%l")
    (attribute
      (attribute_name) @_attr
        (#lua-match? @_attr "^:%l")
      (quoted_attribute_value
        (attribute_value) @injection.content)
      (#set! injection.language "php_only"))))

blade/injections.scm
((text) @injection.content
    (#not-has-ancestor? @injection.content "envoy")
    (#set! injection.combined)
    (#set! injection.language php))

; tree-sitter-comment injection
; if available
((comment) @injection.content
 (#set! injection.language "comment"))

; could be bash or zsh
; or whatever tree-sitter grammar you have.
((text) @injection.content
    (#has-ancestor? @injection.content "envoy")
    (#set! injection.combined)
    (#set! injection.language bash))

((php_only) @injection.content
    (#set! injection.language php_only))

((parameter) @injection.content
    (#set! injection.include-children) ; You may need this, depending on your editor e.g Helix
    (#set! injection.language php_only))

Hi @ferrianes, As Caleb pointed out, it is probably the HTML thing. As long as the injection and highlighting is working fine, I would not worry about it.
I just gave this a shot in Helix as well, and it is working fine. :)

okay i understand, but how i can fix that
as you mention in https://github.com/tree-sitter/tree-sitter-html/issues/65#issue-1861742008, how you fix that

That was resolved by #27
and it seems to be working on my side, with Nova and Helix.

Okey thanks bro, later i try again, thanks for feedback


Failed to read outdated comments

I opened a PR which had outdated comments (changes were added on top of other changes which had comments):
One of the comments seems to appear nicely (use lower-case uri for consistency)... The other gets the Commenting is not supported outside of diff hunk areas. warning when clicked, even though I just want to read it, not comment on it:

I no longer see this issue happening. When a file which contains an outdated comment, the comment is displayed and a comment affordance is displayed near the line number, clicking on it doesn't trigger any warning popup. I'd like to close this one first, if you run into this issue again, feel free to reopen it.

We still have UX issues with how to show outdated comments but we don't track it here.


Relating number of COVID-19 deaths and cases

You will be able to see something like this after this merge. I have spent some time finding facts and making assumptions that proved to be wrong after visualising through this. Hope this may help somebody else as well.

Hello @Guneetgstar this information is largely redundant to existing dashboards already on this site.  Not sure this warrants an additional and separate page.  Thoughts?

These charts are too redundant to https://covid19dashboards.com/covid-compare-permillion/
If you find something lacking in that dashboard,  you are welcome to propose an improvement

Hey @hamelsmu these charts might look redundant but if you see the point that I wanted to communicate through my blog is that:-

With the rise of cases/million of inhabitants, the death rate keeps falling and only rises upto a certain point (when most of the vulnerable people are already exposed to the virus hence it becomes harder for a highly vulnerable person to get infected and might be dead latter)

Which is very much evident with the graphs I added (if you compare the death rates and cases/million population).
You can still look at it here just in case you want to see the changes


test-watch fails

Indeed, no permutation of 'karma start' works for me unless the npm task is named 'test'.
output from npm run test-watch:
/Users/cfulneck/.nvm/versions/node/v5.6.0/bin/node /Users/cfulneck/.nvm/versions/node/v5.6.0/bin/npm run-script test-watch

<EMAIL_ADDRESS>test-watch /software/cmelion/angular2-webpack
karma start --no-single-run --auto-watch

ts-loader: Using<EMAIL_ADDRESS>and /software/cmelion/angular2-webpack/tsconfig.json
WARNING in ./src/app/app.spec.ts
[4, 3]: unused variable: 'injectAsync'
[6, 3]: unused variable: 'TestComponentBuilder'
[10, 35]: unused variable: 'Response'
[10, 45]: unused variable: 'ResponseOptions'
[34, 47]: missing whitespace
WARNING in ./src/app/app.spec.ts
Module parse failed: /software/cmelion/angular2-webpack/node_modules/tslint-loader/index.js!/software/cmelion/angular2-webpack/src/app/app.spec.ts Line 1: Unexpected token
You may need an appropriate loader to handle this file type.
| import {
|   it,
|   inject,
@ ./src .spec.ts
.
.
.
webpack: bundle is now VALID.
28 02 2016 14:29:07.654:WARN [karma]: No captured browser, open http://localhost:9876/
28 02 2016 14:29:07.661:INFO [karma]: Karma v0.13.19 server started at http://localhost:9876/
28 02 2016 14:29:07.664:INFO [launcher]: Starting browser PhantomJS2
28 02 2016 14:29:08.286:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: Connected on socket /#o1RrFo5G96eL_HVhAAAA with id 58356197
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
ReferenceError: Can't find variable: webpackJsonp
at /software/cmelion/angular2-webpack/karma-shim.js:1

Haven't tried yet but what you says makes sense.
We use npm script names to condition the webpack and I forgot about test-watch, no support for that one. Will fix soon.

@Foxandxss yes, that was it.
https://github.com/preboot/angular2-webpack/commit/a4ffd825c45ab6a68f6aa7ca4765a5857fe869be


[Bug]: Rest API: smart JSON substitution failure when escaping double quote from in return value from JS object

Is there an existing issue for this?

[X] I have searched the existing issues

Description
From community:
JS function:
    jbItemsToHalo: () => {
        let rooms = jbGetProjectRooms.data.map(
            (room,idx) =>  {return{"name": room.name,"item_id": 1,"isgroupdesc": true, "group_id":idx + 1} }
        );
        let items = jbGetProjectItems.data.line_items.map(
            item =>  {
                let group = rooms.filter(r => r.name == item.room.name)[0].group_id;
                return{"name": item.short_description,"item_id": 1,"isgroupdesc": false, "group_id":group}
            }
        )
        return rooms.concat(items)
}

This returns an array of JSON objects that get inserted into the body of a POST request. It fails when one of the JSON objects contain a double-qoute within a string, and Smart JSON Substitution is on, but it works when it is off.

Steps To Reproduce
As given in description.
Public Sample App
No response
Version
cloud

Total count of users of RestApi in last 6 months: 5599
Assuming 20% of users are affected by this: 1120
Stats

Stat
Values

Reach
1120

Effort (months)
0.5


[Bug]: Validation errors for ChatMessage

Bug Description
the code below used to work fine on Friday December 6th, however today, it is giving an unexpected error:
Environment detail:
packages.txt
from llama_index.multi_modal_llms.openai import OpenAIMultiModal
from llama_index.core import SimpleDirectoryReader

# put your local directore here
image_documents = SimpleDirectoryReader("/content/drive/MyDrive/Omdena_Challenge/new_LK_tea_dataset/Guideline/with_Figure/images/").load_data()

openai_mm_llm = OpenAIMultiModal(
    model="gpt-4o", api_key=os.environ["OPENAI_API_KEY"], max_new_tokens=1500
)

response_1 = openai_mm_llm.complete(
    prompt="Describe the images as an alternative text",
    image_documents=image_documents,
)

print(response_1)

Version
0.12.4
Steps to Reproduce
as an example, you can see it following your own tutorial: https://colab.research.google.com/github/run-llama/llama_index/blob/main/docs/docs/examples/multi_modal/gpt4v_multi_modal_retrieval.ipynb#scrollTo=4a8e3f9a
Relevant Logs/Tracbacks
No response

Already working on it @haniehm, thanks


998 Passwordless login

fixes #998

This is mostly based on the password reset token
The token lasts 5 minutes
If an account is not found, the user sees a vague message "If the email address you entered exists, you will receive a magic link shortly.". This is to prevent the app from disclosing wether an email exists or not. See https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#authentication-and-error-messages
It will verify the user's email on their first successful login
The magic login link respects the returnTo session data. So it will return to the requested page after login
Contents of the email is printed to console in development mode for ease of use and testing

Sorry to ping @YasharF but I spent a lot of time on these contributions and they haven't been reviewed. Happy to help with reviews if I be added as a member of this project.  Thank you

The implementation isn't quite what I was envisioning, hence I need to put some thought into it.  At the same time I have a high priority GPT project that I am working on, so it is going to take some time for me to get thru this.

Any updates on this @YasharF ?

Keen to get this merged through @YasharF - what are the changes I am required to make?


enable rosa non-sts or mint-mode for osde2e clusters

Simple flag enablement for non-sts clusters based on this request from James.
https://redhat-internal.slack.com/archives/CMK13BP4J/p1717698164120189

/lgtm
nice!


LocExtension: add support for TemplateBinding

Related with #254
In templates there are two ways of binding to templated control:

By TemplateBinding

<TextBlock Text="{lex:Loc {TemplateBinding Message}}" />

By Binding using RelativeSource

<TextBlock Text="{lex:Loc {Binding RelativeSource={RelativeSource TemplatedParent},
                                   Path=Message}}" />

First way is a more simple, but it is not supported now

@Karnah please can you provide a PR with working sample of the second approach.
I will after that take care that TemplateBinding will work

@Karnah ignore my last comment

@Karnah I added this feature to the dev branch, please check it, if it working like you expected

@konne, yes, it looks as I expected. Thanks a lot.
I'll check it with future version of package, but I think it will work nice.


Update golang to 1.22.9 and 1.23.3

This PR updates golang patch versions to the latest 1.22.9 and 1.23.3.
Fingers crossed for the cross-builds, although the chances aren't high.

the timeout is still there https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator-images/77/pull-scylla-operator-images-images/1854455158692384768#1:build-log.txt%3A1676
(the update is valid anyway, just did fix the wishful thinking we had)

/retest

/retest

/retest


Adding the model: Sarima

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
I want to add new  model in our dataset named as sarima which is for seasonal analysis and forecasting
Screenshots
No response
Code of Conduct

[X] I follow Contributing Guidelines of this project.

@Rakesh9100 please assign this to me
thank you

Update of your work pls @ayushrathore111

@Rakesh9100 some errors are coming. I would fix it asap

@ayushrathore111 Pls provide the status

trying to fixing the errors. I will provide status today evening


user/pw configuration in external file

user and passwords should be put in a configurable file. passwords are hashed in the file.

done


Release 0.5.0 has the 0.4.1 Assets instead of the 0.5.0 version

Just a heads-up :
https://github.com/rmqtt/rmqtt/releases/tag/0.5.0
has the binaries for 0.4.1 instead of 0.5.0 as Assets and are therefore missing the ingress,egress bridge plugins I wanted to try:
rmqtt-0.4.1-x86_64-pc-windows.zip
rmqtt-0.4.1-x86_64-unknown-linux-musl.zip
Great project, looks very promising !

Thank you for specifying this error!


chore: bump version of npm packages

Has my lgtm, let's just make sure both linux, osx and windows tests pass.


Support for HTTP Pipelining

Helidon SE or MP does not currently support HTTP pipelining as defined by the HTTP 1.1 Specification. In HTTP pipelining, multiple requests can be submitted over the same connection without waiting for each response. However, the spec states that if that occurs, responses should be returned in the same order as requests. Since there's currently no synchronization between responses, it is possible for this rule be violated.
In a nutshell, if request 1 and request 2 are pipelined, we must ensure that response 2 is only written after response 1 has been completed. HTTP pipelining is a technique used in many benchmarks.

This'll help the TechEmpower benchmarks! 😄 I did observe a bit of a performance drop on the plaintext test with v2 which this might address.

PR #2591


test: handle pam_nologin during connection attempt

What this PR does / why we need it:
In some rare cases, the Garden Linux platform test framework attempts to connect to a machine during its boot-up in that small time frame when SSH already accepts connections but PAM refuses them with the "System is booting up" message. In this case, the tests should not be aborted with an error but the connection should be retried.
Along the lines, a little code cleanup.
Release note:

Garden Linux platform tests no longer abort on pam_nologin but attempt to retry.

Fixes #1842

Failing CI is unrelated to this change, merging.


Sample table verification

Need to pass all fastq files through that are supposed to be interpreted
This will check for mis-specified files and also those that can't be read (bad permissions; see other issue)

Fixed with d041994


Kanto kuksa bridge

This Pull-Request makes the initial contribution of Kanto-Kuksa-Bridge configurable.
Initial contribution came from: @konstantina-gramatova with PR: https://github.com/eclipse/kuksa.val/pull/284
In order to add new features, I had to open a new PR.

thanks @max-grzanna  There is a merge conflict, because I think you branched away from an earlier version of kuksa-val. (basically you added a submodule, while upstream also added one). Is you git-fu good enough to rebase your branch?
@konstantina-gramatova If not done so, can you test if it works with Kanto as intended?

@SebastianSchildt, @konstantina-gramatova
I still have additional work to do on the README file and a demo for the data flow. Also missing are a few lines of code for better usability of the application and prevention of errors. Unfortunately, I don't know how to do a rebase of the branch clearly, but maybe @bs-jokri could provide some help :)

Please check license headers.  Everything int his repo has meanwhile migrated to Apache-2.0. I see this PR has a mix of EPL and APL files. edge_client.ini header is fine. If possible replace the remaining EPL headers with a similar one

Please check license headers. Everything int his repo has meanwhile migrated to Apache-2.0. I see this PR has a mix of EPL and APL files. edge_client.ini header is fine. If possible replace the remaining EPL headers with a similar one

Done! :)
#325

@bs-jokri @konstantina-gramatova
Shall we close this? Or is Kanto relevant on your side @eriksven?
Currently at the minimum some serious rebasing is needed (the CI that is red lighted does not even exist anymore), and it still uses the deprecated kuksa-viss-client instead of kuksa-client.
Simplest Intro to the current way of doing things: https://github.com/eclipse/kuksa.val/blob/master/doc/quickstart.md
Any opinions. If work is done here we can support, if not required we can close.

@SebastianSchildt FPV, it's safe to close it and have it contributed (with the still needed reworks) in a new PR to avoid the heavy rebasing overhead (we'll still have its content & history in this one). But still, it would be best to sync with the new Kanto project lead regarding the project relevance and how the Kanto team would like to proceed with this one as it still has some work to be done.

Thank you for the feedback, closing this for now!


Change the extension category

See context: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Quarkiverse.20Extension/near/322455521

Nice label 👍🏻

Cherry-picked to quarkus2 branch: https://github.com/quarkiverse/quarkus-openapi-generator/pull/255


Project Structure to enable Github npm dependencies

So, I had this idea it would be nice for contributors/early adopters to be able to depend directly on github repositories. Say I made a hack to fix something for react-native, but it's just a hack so it will never be a PR. Then, if each horizon component (client, server, cli) had their own github repo, so package.json is in the root, it's possible to use a github repo+branch as version in the app package.json. Eg. npm only allows Github dependencies if the package.json is in the root of the repo, and they have no plans of changing that.
Reason? A github dependency will work for testing on staging servers (eg Heroku etc), whereas a filesystem dependency won't, plus it's nice to have the code on Github.
For example, today I have to do something like this (see postinstall), pretty nasty:
{
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "postinstall": "test -d ./node_modules/@horizon || (rm -fR node_modules/@horizon && git clone https://github.com/lirbank/horizon.git node_modules/@horizon --branch react-native-tmp-fix --single-branch && cd node_modules/@horizon/client/ && npm install)"
  },
  "dependencies": {
    "react": "15.2.1",
    "react-native": "0.31.0"
  }
}

In the next example I've created a new branch react-native-client where I deleted everything in the root of the project and moved everything in client/to the root. Now the clients package.json is in the root of the repo and I can use regular dependencies:
{
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
  },
  "dependencies": {
    "@horizon/client": "git://github.com/lirbank/horizon.git#react-native-client",
    "react": "15.2.1",
    "react-native": "0.31.0"
  }
}

I get if you don't want to change the whole project structure just for this, but figured it was worth bringing it up. Are there other approaches? Git submodules?
Just an idea, feel free to close if it doesn't makes any sense.

Relates to https://discuss.horizon.io/t/npm-install-current-github-version/308/7

I think the monorepo concept is just incompatible with how npm wants to deal with github packages. Though I think we could do something like publish nightlies. Incidentally, the number of npm packages we have in the repo is about to shoot up a lot in the plugins release, so I think making them individual repositories isn't great for a few reasons. Not the least of which is that issues spread across multiple repositories is a huge pain


TRACCAR server not get data from device

Hi, I'm install TRACAR server in Windows 7.
Have an public IP nd open ports from 5000 to 5071.
I enter in localhost:8082 and add two real devices

Samsung mini Smartphone install client ans configured my ip public and port 5005
TK102 and configured my public ip and port 5000

Never get data from this devices.
Test the port open, fine.
Firewall is out
the ip is public
but not get data, why???
The public IP is <IP_ADDRESS>
The ports open are 5000 to 5071
Thanks

Change logger.level to all in the config file, try again and then check tracker-server.log file to see if there are any messages from your devices.

OK, change to all the config log.
Put my TK102 to transmit to port 5036 and my mobile in port 5005.
The log this is..
2015-01-17 11:03:38  INFO: Starting server...
2015-01-17 11:03:38  INFO: Operating System name: Windows 7 version: 6.1 architecture: x86
2015-01-17 11:03:38  INFO: Java Runtime name: Java HotSpot(TM) Client VM vendor: Oracle Corporation version: 25.25-b02
2015-01-17 11:03:38  INFO: Memory Limit heap: 247mb non-heap: 0mb
2015-01-17 11:04:16 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343831394e30303431322e35303530573030302e32313030323230302e3030303030303030303030304c303030303030303029
2015-01-17 11:04:17 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343832334e30303431322e35303437573030302e30313030323530302e3030303030303030303030304c303030303030303029
2015-01-17 11:04:18 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343832324e30303431322e35303332573030302e31313030333230302e3030303030303030303030304c303030303030303029
2015-01-17 11:04:19 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343833304e30303431322e35303137573030302e31313030333530302e3030303030303030303030304c303030303030303029
2015-01-17 11:04:20 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343833364e30303431322e35303135573030302e30313030343030302e3030303030303030303030304c303030303030303029
2015-01-17 11:04:21 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324250303030303030323730343237333837333248534f29
2015-01-17 11:04:36 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343834324e30303431322e35303135573030302e30313030343230302e3030303030303030303030304c303030303030303029
2015-01-17 11:05:06 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343835324e30303431322e35303037573030302e31313030343530302e3030303030303030303030304c303030303030303029
2015-01-17 11:05:36 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343836324e30303431322e35303030573030302e31313030353230302e3030303030303030303030304c303030303030303029
2015-01-17 11:06:06 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343836394e30303431322e35303035573030302e31313030353530302e3030303030303030303030304c303030303030303029
2015-01-17 11:06:36 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343836334e30303431322e35303036573030302e31313030363230302e3030303030303030303030304c303030303030303029
2015-01-17 11:07:06 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343833304e30303431322e35303135573030302e32313030363530302e3030303030303030303030304c303030303030303029
2015-01-17 11:07:39 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343834304e30303431322e34393938573030302e31313030373230302e3030303030303030303030304c303030303030303029
2015-01-17 11:08:13 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343834334e30303431322e34393930573030302e32313030373530302e3030303030303030303030304c303030303030303029
2015-01-17 11:08:37 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343834374e30303431322e34393832573030302e31313030383230302e3030303030303030303030304c303030303030303029
but not exist data if search and not appear data for the 2 devices.
I wait for U comments.
Thanks

more log...
2015-01-17 11:16:07 DEBUG: [5036 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>34323733383733324252303031353031313741343034362e343836394e30303431322e35303239573030302e31313031353530302e3030303030303030303030304c303030303030303029
2015-01-17 11:16:14 DEBUG: [5000 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>2c3335363130383034313131323630392a30370d0a
change a port in my mobile device and appear in log.
But no look the data from the WEB...

Correct port for your device is 5002. Unique id is<PHONE_NUMBER>32.
In the last comment I see a message from Traccar Client on 5000 port which is incorrect as well.

Hi!!, the TK locator run fine, thanks for U help.
Other question is...
From my mobile, with cliente traccar no apear.
My mobile is android, transmit in port 5000, but when add the device no apear datas.

Why are you using port 5000?

I dont know use this port.
I test with port 5005 (default in the app) but never.
Whats port use?
From: Anton Tananaev
Sent: Wednesday, January 21, 2015 10:48 AM
To: tananaev/traccar
Cc: Shamrock67
Subject: Re: [traccar] TRACCAR server not get data from device (#1033)
Why are you using port 5000?
—
Reply to this email directly or view it on GitHub.

OK, Works, fine.
One final question...
If config FALSE interface WEB, the server system continue sabe the position data?
Thanks for U help, and the TRACCAR is great Project.
Date: Wed, 21 Jan 2015 12:10:13 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [traccar] TRACCAR server not get data from device (#1033)

—
Reply to this email directly or view it on GitHub.
	 	   		  =

Yes, if you disable web interface server would still store positions from devices.

The SOS (help me!) alert in traccar server not run?
From: Anton Tananaev
Sent: Thursday, January 22, 2015 10:38 AM
To: tananaev/traccar
Cc: Shamrock67
Subject: Re: [traccar] TRACCAR server not get data from device (#1033)
Yes, if you disable web interface server would still store positions from devices.
—
Reply to this email directly or view it on GitHub.

El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
http://www.avast.com

What do you mean by "not run"? All alert information should be saved in the database.

I mean when I press the SOS button tk102 not me no warningthat appears , so I ask the TRACCAR supports this?
From: Anton Tananaev
Sent: Wednesday, January 28, 2015 9:47 PM
To: tananaev/traccar
Cc: Shamrock67
Subject: Re: [traccar] TRACCAR server not get data from device (#1033)
What do you mean by "not run"? All alert information should be saved in the database.
—
Reply to this email directly or view it on GitHub.

Traccar does not have any warning notifications, but it will show event in the status.

Ok, but show in the status save in database MySQL????
Date: Thu, 29 Jan 2015 18:37:53 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [traccar] TRACCAR server not get data from device (#1033)
Traccar does not have any warning notifications, but it will show event in the status.
—
Reply to this email directly or view it on GitHub.
	 	   		  =

Yes.

Dont look status in database MySQL.
But no problem for this...
Othe question is...
Have a WT200B (watch tracker) I configure OK, Tracckar log recived debug HEX where I look IMEI separated with “3”, but in INFO appear Closing connection by disconnect.
I test send in port 5002, 5000, 5005, 5004, but nothing...
Whats up?, dont support protocol for this localizator???
Thanks.
From: Anton Tananaev
Sent: Monday, February 02, 2015 9:47 PM
To: tananaev/traccar
Cc: Shamrock67
Subject: Re: [traccar] TRACCAR server not get data from device (#1033)
Yes.
—
Reply to this email directly or view it on GitHub.

Can I see the HEX message?

Yes...
015-02-03 20:39:30 DEBUG: [5002 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>3233303334313839353031232331233030303023415554233123323134303723562330303431322e343935312c572c343034362e34383930342c4e2c3030302e31372c3023303330323135233139333835302323
2015-02-03 20:39:59 DEBUG: [5002 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>3233303334313839353031232331233030303023415554233123323134303723562330303431322e343937322c572c343034362e34383837302c4e2c3030302e32372c3023303330323135233139333931392323
2015-02-03 20:40:09  INFO: Closing connection by disconnect
2015-02-03 20:40:28 DEBUG: [5000 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>3233303334313839353031232331233030303023415554233123323134303723562330303431322e343937342c572c343034362e34383836382c4e2c3030302e31302c3023303330323135233139333934382323
2015-02-03 20:40:54  INFO: Closing connection by disconnect
2015-02-03 20:40:57 DEBUG: [5000 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>3233303334313839353031232331233030303023415554233123323134303723562330303431322e343938302c572c343034362e34383739392c4e2c3030302e35312c3023303330323135233139343031372323
2015-02-03 20:41:26 DEBUG: [5000 <- <IP_ADDRESS>] - HEX:<PHONE_NUMBER>3233303334313839353031232331233030303023415554233123323134303723562330303431322e343938362c572c343034362e34383734342c4e2c3030302e30342c3023303330323135233139343034362323
Same with 5005 and 5004 port.
The watch GPS/GPRS is in this page http://motomon.com/hardware/wt200/
Date: Tue, 3 Feb 2015 12:50:03 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [traccar] TRACCAR server not get data from device (#1033)
Can I see the HEX message?
—
Reply to this email directly or view it on GitHub.

The right port for your device is 5016.

Works perfect on port 5016.
How do to find the port watching the HEX ?

Identifying protocol guide:
https://www.traccar.org/docs/identify.jsp

PERFECT !!!, thanks.
Date: Wed, 4 Feb 2015 12:18:25 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [traccar] TRACCAR server not get data from device (#1033)
Identifying protocol guide:
https://www.traccar.org/docs/identify.jsp
—
Reply to this email directly or view it on GitHub.

Hello, I have installed traccar and try to conect one iphone6. My prblem is that everything is ok:

Service on.
Ports opened 8082 ,50550 and 5005 and veryfied with https://www.traccar.org/port-check/
Ports redirected to my pc ip in the router NAT, my firewall allows those ports.

But i don´t get any log archieve created !
I have created the device but not get any data at the server.
I don´t know what else to do.
tananaev commented on 16 Jan 2015
Change logger.level to all in the config file, try again and then check tracker-server.log file to see if there are any messages from your devices.
Are logger.level settings at        traccar/config/default.xml? If so, are they correct like this?

<entry key='web.enable'>true</entry>
<entry key='web.port'>8082</entry>
<entry key='web.path'>./web</entry>

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>google</entry>

<entry key='logger.enable'>true</entry>
<entry key='logger.level'>all</entry>
<entry key='logger.file'>./logs/tracker-server.log</entry>

<entry key='event.enable'>true</entry>
<entry key='event.overspeedHandler'>true</entry>
<entry key='event.overspeed.notRepeat'>true</entry>
<entry key='event.motionHandler'>true</entry>
<entry key='event.geofenceHandler'>true</entry>
<entry key='event.alertHandler'>true</entry>
<entry key='event.ignitionHandler'>true</entry>
<entry key='event.statusHandler'>true</entry>
<entry key='event.maintenanceHandler'>true</entry>

I don´t know if is this file where i can modify logger.level. If so, it seems to be correct.

I have added the lines to traccar.xlm:
true
all
./logs/tracker-server.log

But nothings works ¿?
My traccar client ios settings:
Device id:<PHONE_NUMBER>3078 (I have copied MEID located at General/Information at Settings.
Server adress: <IP_ADDRESS>
port: 5005
Encryption: disabled
Frecuency: 10
Each minute the ios app status generates a log "Posicion actualizada" That means that is sending ok
I don´t know what i am doing wrong, but cannot take any signal of life in my server!
I have then reinstalled ios app to see if device id must be the one that appears automatically, but didn´t work also and some of the positions are not "Posición actualizada" so now someting is wrong, but the superproblem i see is that no log archive is created, so i can´t figure what is happening at all.
I woul apreciatte your knowledge about this topic so much.
Thanks!
Jaime

If you're using the latest iOS build,
port should be 5055

Sherwin

On Fri, Jan 20, 2017 at 7:21 AM, DSUMEKI<EMAIL_ADDRESS>wrote:

Hello, I have installed traccar and try to conect one iphone6. My prblem
is that everything is ok:

Service on.
Ports opened 8082 ,50550 and 5005 and veryfied with
https://www.traccar.org/port-check/
https://www.traccar.org/port-check/
Ports redirected to my pc ip in the router NAT, my firewall allows
those ports.

But i don´t get any log archieve created !
I have created the device but not get any data at the server.
I don´t know what else to do.
tananaev commented on 16 Jan 2015
Change logger.level to all in the config file, try again and then check
tracker-server.log file to see if there are any messages from your devices.
Are logger.level settings at traccar/config/default.xml? If so, are they
correct like this?
true
8082
./web
true
google
true
all
./logs/tracker-server.log
true
true
true
true
true
true
true
true
true
I don´t know if is this file where i can modify logger.level. If so, it
seems to be correct.

I have added the lines to traccar.xlm:
true
all
./logs/tracker-server.log
But nothings works ¿?
My traccar client ios settings:
Device id:<PHONE_NUMBER>3078 (I have copied MEID located at
General/Information at Settings.
Server adress: <IP_ADDRESS>
port: 5005
Encryption: disabled
Frecuency: 10
Each minute the ios app status generates a log "Posicion actualizada" That
means that is sending ok
I don´t know what i am doing wrong, but cannot take any signal of life in
my server!
I have then reinstalled ios app to see if device id must be the one that
appears automatically, but didn´t work also and some of the positions are
not "Posición actualizada" so now someting is wrong, but the superproblem i
see is that no log archive is created, so i can´t figure what is happening
at all.
I woul apreciatte your knowledge about this topic so much.
Thanks!
Jaime
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tananaev/traccar/issues/1033#issuecomment-273930307,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIJityvVpja6vlops0206l6j6C-pS7iZks5rT_AOgaJpZM4DTXBY
.

@DSUMEKI, please create a separate issue instead of posting on an old thread. Also, check troubleshooting page. Also, as @w32gold pointed out, the port for Traccar Client is 5055.

Thanks a lot.
I have opened a new issue here:
https://github.com/tananaev/traccar/issues/2817
I have updated the issue to resume all i have done again starting from 0, starting by unnistalling all and reinstaling.
I have done what you two suggest:
-port 5055
-Review troubleshooting page to see what can be worng.
Thanks!

@cvramire, your device is using H02 protocol, not GPS103. In future please don't comment on closed old threads.


Impossible to insert dict to create data structure

Hello everyone,
I Would like insert a dict to create a datastructure, here is an example:
dict_value = {'media': 42, 'min_duration': 0}
client.write("/test", dict_value)
If I take a look on my browser (I could make it via a client.read ....), here is the result:
{
"action": "get",
"node": {
    "key": "/test",
    "value": "{'media': 42, 'min_duration': 0}",
    "modifiedIndex": 12568,
    "createdIndex": 12568
}

}
I would like something like this:
{
"action": "get",
"node": {
    "key": "/test",
    "dir": true,
    "nodes": [
        {
            "key": "/test/media",
            "value": "42",
            "modifiedIndex": 12571,
            "createdIndex": 12571
        },
        {
            "key": "/test/min-duration",
            "value": "0",
            "modifiedIndex": 12572,
            "createdIndex": 12572
        }
    ],
    "modifiedIndex": 12570,
    "createdIndex": 12570
}

}
Does someone have this problem? Did I miss something? Or maybe it is not implemented into the python-etcd client and I should make it via a curl command???
Thanks.

@bs-sdev you are trying to do something that is nowhere to be found in our documentation.
you should do something like
dict_value = {'media': 42, 'min_duration': 0} key_prefix = '/test' for k, v in dict_value.iteritems():     key = os.path.join(key_prefix, k)     client.write(key, v)
there is a good reason why if you tell python-etcd to write a dict to etcd it will do it: that many people (me included) like to store data structures into it.

@lavagetto, hello!
Is it possible to make this operation atomic?


Use without twitter account

Would it be possible to use this as a twitter client without having to sign up to twitter? I don't need to post or receive messages or anything, just follow some public accounts.

Reading the latest Twitter documentation on public timelines here: https://dev.twitter.com/web/embedded-timelines
I see "We recommend creating a new widget from the account responsible for your website (not your personal account) for easy discovery by your team and customization as your site changes", which means that even in order to access public timelines via API a User (site Admin in this case) needs to create a Twitter account.
Even if there is still a way to get a timeline without authentication, I think there is a big chance that this will be closed in the near future...
So from the first look I don't think it's worth an effort to implement this feature in AndStatus?!

I took a look at dev.twitter.com and pretty much everything requires authentication, which is really unfortunate.
What about a throwaway account? How read-only could AndStatus be made? Would it be possible to 'follow' without actually leaking the association? It seems one could use https://dev.twitter.com/rest/reference/get/statuses/user_timeline for example.

Yes, you are free to create a "throwaway account" in Twitter and use it in AndStatus. Actually, I do something like this for testing purposes.
But it's wrong to hardcode such an account in AndStatus: it may be banned by Twitter plus it simply will have one download limit for all existing AndStatus instances.
So,  create your own throwaway account.

Oh no, that was never intended. However, I still want to understand what limitations would AndStatus have if all twitter ever got from my throwaway account was the authentication. I'll test and report back.

Am 05.08.2015 um 19:50 schrieb Igor Almeida:

Oh no, that was never intended. However, I still want to understand
what limitations would AndStatus have if all twitter ever got from my
throwaway account was the authentication. I'll test and report back.
—
Reply to this email directly or view it on GitHub
https://github.com/andstatus/andstatus/issues/284#issuecomment-128089826.

FYI ... https://github.com/sebsauvage/rss-bridge
With that you can follow any public twitter account without having one
on your own. The feed might be mirrored to a StatusNet/GNUsocial stream
(e.g. via feed2omb, brdcst, rss2sn, ...) so you can read it in your
AndStatus timeline.

@morphtown that's very interesting, especially because there are a lot of other bridge options to enable, thanks!
On topic: while I have managed to connect to twitter using a throwaway account, I miss the functionality to see a particular public account's posts (without following them) without having to search for them all the time. Twidere has an interesting way of dealing with this: it lets the user create 'tabs' with specific content; in my case, the content was a user's tweets.
Does AndStatus have something similar?

@igoralmeida Yes, there is "Messages by " context menu item, which opens "User timeline". That timeline may be updated (e.g. by "Swipe to refresh") just like any other timeline.
There are some restrictions on ability to retrieve the "User's timeline", imposed by different Social networks though...

I see that, thanks. Still, do I always have to "find" some tweet by that user to be able to see their messages?

First, we are discussing "Custom timeline filters" #161
And second, there will be new "Users" view (read here: #224 ) - it's in the works already...

Right, thanks!


feat: implement Objective-C calling Zig

this PR adds methods for Objective-C to call Zig code
with subclasses, instance variables, blocks and overriding methods.
i've been working through a handful of toy Zig programs with this library to explore writing macOS GUI code in pure Zig.
i'm loving how straightforward the library interface feels, thank you for such a thoughtful implementation!
anyway, along the way i've implemented some missing features that my toy programs called for.
here is a changelog:

breaking change: Class.getClass -> getClass. happy to re-add the ability to call Class.getClass if you'd like, but this felt needlessly verbose.
added message as a slightly less verbose alternative to msgSend: instead of a Sel object, it takes in a string and creates the Sel itself.
added basic protocol support sort of similar to the property support.

subclasses
everything described here is newly added.
the workflow for registering one's own classes with the objective-C runtime is the following:
create the class with allocateClassPair. optionally add instance variables with addIvar,
or override class methods with replaceMethod or add your own with addMethod.
when you're ready for the class to be used, call registerClassPair.

added msgSendSuper, which is mainly useful within user-defined methods.

blocks
everything described here is newly added.
the workflow for creating one's own blocks is the following:
call Block with a struct literal or type describing the captures to make available to the block,
as well as the type of a function whose return value and params will become the return value and params of the block's inner invoke function. Block is a comptime function which returns a type. initBlock takes in a type created with Block, a struct literal whose fields will be assigned to the block's captures, and a function which will become the block's invoke function and returns a heap-allocated block. (the Objective-C runtime will call free on it when it's done, so one needs to create this block with malloc.) typically one wants to let Objective-C call into this block itself, but a invokeBlock function is provided if that's not the case.
the repo linked above contains examples of all of this in use. would be very happy for any feedback you have, even if you're not interested in adding this functionality!

Wow this is really amazing work, especially the block work. I can see some stylistic things but overall this looks really good. Thanks for adding tests particularly for the blocks. Please allow me some time to get through this but I'm sure I can get this in...

Okay, you're amazing. I've completed my review, and just did a bunch of superficial stuff. The hard work was all you.
A few major changes I made. First, I removed message and message_super because by changing sel to anytype we can accept both! So you can call msgSend and msgSendSuper with strings or objc.Sel either way works. Yay Zig! I also refactored msgSend/msgSendSuper pretty heavily to try to remove a bunch of duplication. Some slightly clever Zig comptime but not too bad (relative to what it already was anyways).
I also made major changes to the Block API. This is a personal opinion, but I believe it is more idiomatic Zig. Block now returns a struct type that can use standard init/deinit. It also exposes some fields to easily access capture types and so on. Also, the function callback takes a typesafe first parameter rather than *anyopaque. See the new usage below:
const AddBlock = Block(struct { x: i32, y: i32 }, .{}, i32);
const captures: AddBlock.Captures = .{ .x = 2, .y = 3 };

var block = try AddBlock.init(captures, (struct {
    fn addFn(block: *const AddBlock.Context) callconv(.C) i32 {
        return block.x + block.y;
    }
}).addFn);
defer block.deinit();

const ret = block.invoke(.{});
try std.testing.expectEqual(@as(i32, 5), ret);

The new Block changes did remove a bunch of the flexibility in the capture type; it now only accepts a struct type. I'm not a huge fan of making hugely flexible anytype functions so I wanted to start with this simple approach. I'm open to arguments to add more styles.
I hope you're happy with these changes. I'll merge now!

Oh yeah I also changed encodeFn (now createFnSignature) quite a lot so it allocates a lot less and also avoids a copy in most cases. I did this by just passing a pointer to the arraylist to the encode_inner function to build up in place.

Just realized the entire function signature can actually be generated at comptime and be completely runtime allocation free... I will do that next!

Bleh also just realized I messed up by changing the function name for encoding. Some code paths that aren't tested use it and they'll fail to compile now. I'm heading to bed but will fix that in the morning. The work in #1 actually had some really good stuff around pulling encoding out into a dedicated file and I may copy that idea...


[Module] Student profile page

A page that shows the history of out passes

a page that shows the general hostel details


Not support for Android 8.0+ with FileProvider

Error: E/Camera2Manager: IOException preparing MediaRecorder: /storage/....
Please support for Android 8.0 with FileProvider

Hello, I have similar problem. but my Exception is MediaRecorder : prepare failed
This is my solution
final CameraFragment cameraFragment = CameraFragment.newInstance(new Configuration.Builder()
.setCamera(Configuration.CAMERA_FACE_REAR).setMediaAction(Configuration.MEDIA_ACTION_VIDEO).setVideoDuration(GlobalFlagBase.VIDEO_DURATION).setMediaQuality(Configuration.MEDIA_QUALITY_LOW).build());
In my case, i solved that set media quality is low
I hope it becomes a reference. good luck


Add function to figure out number of components needed for TSVD

Do you mean to find the optimal k?

Yes, same concept applies to PCA components.

I think initially this can be done in Python. Thoughts?


Fixes OpenMined #297

Description
Fixes #297
Add details to the local example file to match its jupyter sibling (https://github.com/OpenMined/PipelineDP/blob/main/examples/restaurant_visits.ipynb) allowing newcomers to read/run either example with similar content - but strictly for a local example dataset.
Affected Dependencies
None
How has this been tested?
python3 run_without_frameworks.py
python run_without_frameworks.py --output_file=output.txt
Checklist

[x] I have followed the Contribution Guidelines and Code of Conduct
[x] I have commented my code following the OpenMined Styleguide
[x] I have labeled this PR with the relevant Type labels
[x] My changes are covered by tests

Removed matplotlib along with numpy and made changes to original file.
Allowed the example to run with or without --output_file CLI parameter (minor change).


Feature Request: Configurable output

The msg2txt API extracts the files in the same folder as the *msg file is.
However this is not convenient, e.g. when extracting message, which are on a command server.
Rather I'd extract these in a temporary folder.
e.g.
msg2txt \\server\mail\message221.msg C:\temp
would write the txt file (and optionally attachment) to C:\temp.
What do you think?

Thank you for great idea!
I implemented this issue in v1.1.0 as /o (Windows-style), -o, --ouput (Linux-style) option.
msg2txt.bat /o C:\temp message.msg


how do I provide a custom theme?

Vue.js version: 3.
consumed using: vite
I want to use a custom theme which uses tailwindcss classes. How would I do that?

BTW: nice component :)

Currently no support for custom theme, but you can use custom template instead: https://www.npmjs.com/package/v-pagination-3#custom-template

Thanks. That's what I already did. An option for custom themes would be nice. I think tailwind is pretty popular right now.

Sorry, forgot my own code.... It's possible to pass a custom theme. Just pass an object, rather than a string to the theme option:
e.g Bootstrap 3:
 {
    nav:'',
    count:'',
    wrapper:'',
    list:'pagination',
    item:'page-item',
    link:'page-link',
    next:'',
    prev:'',
    active:'active',
    disabled:'disabled'
}


Add source/sinks for reading/writing external data

Proposal
Extend Scanner with Sources and Sinks that allow the system to read or write data to locations external to the database.
Motivation
Scanner should be able to read or write data which is not just stored in our database representation. This is useful for reading data in-place (for example, a large collection of custom encoded RAW frames) or writing it to external services (such as to individually addressable objects in GCS).
Target Use Cases

Read/write to memory
Read/write to individual files on GCS
Read/write to individual files on disk
Read/write to video files

Example Code
Frame Column -> Table
frame = db.sources.FrameColumn()
flow = db.ops.OpticalFlow(frame=frame)
output = db.sinks.Table(columns=[sampled_flow])

Frame Column -> GCS files
frame = db.sources.FrameColumn()
flow = db.ops.OpticalFlow(frame=frame)
output = db.sinks.GCS(input=sampled_flow)

Frame Column -> Videos on GCS
frame = db.sources.FrameColumn()
output = db.sinks.GCS(input=frame.compress(), entire_column=True)

Frame Column -> Memory
frame = db.sources.FrameColumn()
pose = db.ops.OpenPose(frame=frame)
output = db.sinks.Memory(input=pose)
...
bulk_job = BulkJob(output=output, jobs=jobs)
with db.run(bulk_job) as session:
    pose, frame_id, table_name = output.pull()

Memory -> Table
frame = db.sources.FrameMemory()
pose = db.ops.OpenPose(frame=frame)
output = db.sinks.Output(columns=[pose])
...
bulk_job = BulkJob(output=output, jobs=jobs)
with db.run(bulk_job) as session:
    frame.push(...)

input/output or io instead of source/sink
don't necessarily need db.run output to be scoped in a session, in memory outputs can just be a python iterator
at first glance seemed like FrameColumn was describing type of input whereas GCS was describing location of output which was confusing


[RFE] Add build info to container image.

For debugging purposes, we need the crane runner container images to tell us which commit from this repo it was built from.

relevant conversation https://github.com/konveyor/enhancements/pull/59#discussion_r806859905

Closing in favor of Jira issue: https://issues.redhat.com/browse/MIG-1087


removing space before ( breaks media query

@media only screen and (max-width: 600px)
turns into
@media only screen and(max-width: 600px)
and it fails to render in web
I suggest it to restrict it to url( only

Thanks for the spot!
Original code was from 2011, not surprised it may break. Feel free to do a PR :-)


Module seems incompatible with Redis

This module doesn't seem to be compatible with the Redis module (which works fine with Bluebird's promisifyAll):
const Redis = require('redis')
const promisifyAll = require('util-promisifyall')
promisifyAll(Redis.RedisClient.prototype)

Immediately throws this error:
/home/tlhunter/projects/server/node_modules/redis/index.js:1034
        return this.command_queue.length;
                                 ^

TypeError: Cannot read property 'length' of undefined
    at EventEmitter.get (/home/tlhunter/projects/server/node_modules/redis/index.js:1034:34)
    at _promisifyAllFunctions (/home/tlhunter/projects/server/node_modules/util-promisifyall/index.js:5:25)
    at module.exports (/home/tlhunter/projects/server/node_modules/util-promisifyall/index.js:14:3)
    at Object.<anonymous> (/home/tlhunter/projects/server/x.js:3:1)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Function.Module.runMain (module.js:609:10)

Thanks for reporting this issue @tlhunter. I'll look into this soon and see what I can do.

Hey @tlhunter, sorry for the wait. I published version 1.0.2 which should fix the problem you were seeing with the redis module. Please let me know if you encounter any other issues.


Remove unused supercapacitor files.

Current coverage is 89.13%

Merging #95 into master will decrease coverage by -0.60% as of becbfba

@@            master     #95   diff @@
======================================
  Files           60      57     -3
  Stmts         3878    3720   -158
  Branches         0       0
  Methods        227     227
======================================
- Hit           3480    3316   -164
  Partial          0       0
- Missed         398     404     +6

Review entire Coverage Diff as of becbfba

Powered by Codecov. Updated on successful CI builds.


Implement http method HEAD

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
The head method is not implemented, calling an API with HEAD will result in error "405 Method Not Allowed"
I would like the framework to accept the http method HEAD, no logic should be needed, it must be enabled explicitly preventing vulnerabilities
https://owasp.org/www-project-web-security-testing-guide/stable/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management_Testing/06-Test_HTTP_Methods.html
HEAD should not return any data, just the headers
Reporter
JJansenvr/Ali

more specific requirement, the head method implementation is up to the Frank Developer, the frank developer can either use the same implementation of the get method and make sure the payload is not returned or any other implementation that he/she wants to implement


Cannot tracing pages hosted on HTTPS

When trying to trace an https web page. The page start reloading over and over again. There are some error messages displayed in the console which states that the https page cannot load resources over http.

安全策略问题，无法解决，https禁止了跨域的脚本执行


Accessibility Audit: Results page user flows

Background
The SimpleReport team performs quarterly accessibility audits as a proactive approach to ensure our products comply with Section 508 of the Rehabilitation Act.
Action requested
Use Axe DevTools to perform an accessibility audit of the Results page user flows. Do the page scan as well as any relevant guided tests.
Pages to visit:

/app/results

Use cases to test:

view results page with no, 1, and multiple results
view results page with multiple pages
result details modal
download test results modal
print/email/text/correct result modals

Acceptance Criteria
Full audit completed and tickets created for any accessibility violations.

Tickets created to track the issues found:
https://github.com/CDCgov/prime-simplereport/issues/5860
https://github.com/CDCgov/prime-simplereport/issues/5861
https://github.com/CDCgov/prime-simplereport/issues/5862


More than one file was found with OS independent path 'META-INF/library_release.kotlin_module'

Couldn't resolve it .

It is not reproduced in my environment, but it will work if you write the following code in app/build.gradle.
packagingOptions {
        exclude 'META-INF/library_release.kotlin_module'
}

ex) this gist

for more info, please see https://stackoverflow.com/questions/44509608/duplicate-files-copied-in-apk-meta-inf-library-release-kotlin-module

When i use
packagingOptions {
exclude 'META-INF/library_release.kotlin_module'
}
am getting compilation failed to complete. And the issue is   'Program type
already present:
com.android.vending.billing.IInAppBillingService$Stub$Proxy'
On Tue, Jun 19, 2018 at 6:27 PM WindSekirun (DongGil, Seo) <
<EMAIL_ADDRESS>wrote:

for more info, please see
https://stackoverflow.com/questions/44509608/duplicate-files-copied-in-apk-meta-inf-library-release-kotlin-module
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/WindSekirun/NaraeImagePicker/issues/7#issuecomment-398389368,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALjahlaucvJ2-DwWGBvx-sMLS4svHxueks5t-PVOgaJpZM4UtYJs
.

--
Regards,
Jerin A Mathews
Chief Technology Officer
https://in.linkedin.com/in/jerinamathews

Hmm.. i think you have dependency problem. This library have dependency 'RichUtilsKt' which contains InAppBillingService.aidl. if you have InAppBilling.aidl file in project, please delete it. you shoudn't keep two (or more) similar class.

I'm having same problem and I tried all of this
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
packagingOptions {
exclude 'META-INF/library_release.kotlin_module'
}
https://stackoverflow.com/questions/44342455/more-than-one-file-was-found-with-os-independent-path-meta-inf-license
but nothing happen its same error again and again.

Close cause inactivity.


Add flutter web support.

Hello,
I am wondering if we could support flutter web.
This could be done by make the input and output images data type uint8list.
Meaning add field Uint8list dataBytes to CompressObject() function and Luban.compressImage() return Uint8list.
Thanks

duplicate of #11


Error when passing zero area polygon to h3.polygonToCells

Not the end of the world because it's easy to code around, but maybe an empty array should be returned?
e.g.
h3.polygonToCells([
    [0, 0],
    [0, 90],
    [0, 90],
    [0, 0],
], 1);

Results in the follow error:
The operation failed but a more specific error is not available (code: 1)

const h3 = require('h3-js');
const turf = require('@turf/turf');
const zeroAreaPolygon = [
[0, 0],
[0, 90],
[0, 90],
[0, 0],
];
const geojson = turf.polygon([zeroAreaPolygon]);
const area = turf.area(geojson);
if (area === 0) {
console.log('Zero area polygon, skipping');
// This is a weird case, why would you have a zero area polygon?
} else {
// Pass the polygon to h3.polygonToCells
const cells = h3.polygonToCells(zeroAreaPolygon, 1);
console.log(cells);
// This should give you an array of hexagonal cells that cover the polygon
}


Visualize results of simulation run on original NC9 with water levels raised by 0.7 ft (0.21 m)

@caseydietrich I am spinning off the visualization and analysis of the raised WL ADCIRC run into a new issue. Once the simulation finishes I will visualize water levels over both our NOV 1-15 time frame of interest and a part of late October as recommended by you to check water level offsets over a longer time frame.
CD comments: I will start a simulation with an initial condition to raise the water levels by 0.7 ft (0.21 m).  I will use the original NC9 mesh, just so we can compare the effects of these two changes (higher initial water levels, deeper channels) independently.  I should have these results in a few weeks.
Originally posted by @caseydietrich in https://github.com/NCSU-CHAZ/Sunny-Day-Flooding/issues/5#issuecomment-1180853342

Good morning @caseydietrich, do you have an estimate for when the NC9 run with water levels raised by 0.7 ft (0.21 m) will be complete? We had previously discussed visualizing water levels from this run over both our NOV 1-15 time frame of interest and a part of late October. I am wondering when I should block off time to do that work.

@ththelen Sorry for the dropping the ball on this. The simulation is finished, and I posted the full set of results on the cluster at the location below. Please copy these files into your space before working with them.
/share/jcdietri/For/Thomas/220711-NC9+0.21m-Nov2021/3-Nov1-Nov15.tgz
Regarding the re-analysis for the water level offset, I have been thinking about this, and I was incorrect to suggest that we should compute this from the model results.  Instead, we should be using the observations at the gauges, and looking at the difference between the predicted and actual time series.  This will give us a true measure of the effects of the long-term effects on the water levels.  How hard will it be for you to download the observations from Oct and repeat your offset calculations?
I will start a simulation with both the 0.21-m offset and your revised NC9 mesh.

Hi @caseydietrich, thanks for passing along the model results. I should only take a couple hours to download observations from a NOAA couple stations (Wilmington and Wrightsville), then run the offset calculations for October 2021. I do not understand why this is the preferred method to obtain an offset instead of comparing with model results, but perhaps this is something to discuss at our next meeting.
I can also work on pulling time series from the +0.21m run. I am hopeful I can visualize these results prior to our meeting next week.

@ththelen It is a good question.  The 'Predicted' water levels at the NOAA stations are not actually observed -- they are from a harmonic analysis of the tides without any other forcings -- what the tides would be, without any long-term atmospheric and oceanographic effects. The 'Actual' water levels are what was actually observed, so they do have those long-term effects.  Their difference should give an indication of the magnitude of these effects.
By using only the observations, we avoid any possible biases in the model.

Comparisons of NOAA predicted vs verified (observed) water levels are done. For the month of October 2021, NOAA verified water levels were an average of 0.51 ft higher than predicted values.

I was also curious how the NOAA predicted versus verified stacked up against the ADCIRC modeled vs NOAA verified over the Nov 9-14 timeframe that we used to come up with the 0.7 ft=0.21 m WL offset. That comparison is shown in the tables below.

I still have questions about why we would use the predicted NOAA water levels to determine the ADCIRC offset instead of the modeled results. I understand that the NOAA 'Actual' water levels are influenced long term effects that both ADCIRC and the NOAA 'Predicted' water levels do not capture. However, 'Predicted' water levels do not capture what I will call medium-term effects, like wind setup for example, that would be captured by modeled water levels. To me, it makes sense to parse out the long-term effects that ADCIRC cannot simulate by comparing it to model results that include medium-term effects, not just precited tidal harmonics. It seems to me like we would want to address biases in the model through the WL offset by comparing modeled results to actual results.

@caseydietrich I think that our +0.21 m WL offset may have been lost at some point during the ADCIRC simulation and/or file jockeying process. When I visualized the time series results for the ADCIRC run you left in the /share/jcdietri/For/Thomas/220711-NC9+0.21m-Nov2021/ repository, I am seeing that the results from the +0.21m run are almost identical to the original NC9 runs. Plots for Wilmington and CB water levels with both the water levels overlaid are provided below. The NC9+0.21m WLs are almost exactly on top of the NC9 WLs at both locations. I calculated the average difference between water levels at both locations, and it is less than 0.005 feet. This leads me to suspect that the +0.21 m offset we thought we were running the model with got lost somehow. Does that seem like a reasonable conclusion to you based on this data?

@ththelen Argh, okay, there must be an error in the simulations. Looking at it now, I don't see anything obvious, but let me look farther and re-do them. Sorry about this.

@ththelen The results for the simulation of NC9rev+0.21m are available on the cluster here:
/share/jcdietri/For/Thomas/220808-NC9rev+0.21m-Nov2021/
The simulation of NC9+0.21m will take another 1-2 days.

@ththelen The results for the re-run simulation of NC9+0.21m are available on the cluster here:
/share/jcdietri/For/Thomas/220809-NC9+0.21m-Nov2021
Hopefully the offset was carried through this re-run simulation.

@caseydietrich I checked the two +0.21m simulations. The WL offset was definitely carried through the most recent simulation results you provided. Per our discussion last week, I will not spend any more time visualizing these results. I will wait for the +0.5 ft = +0.15 m offset NC9 and NC9rev simulation packages you are running to be complete as this is the offset we settled on in last week's meeting. Please let me know in issue #13 when these runs are complete and ready to share with me.


Use ActorQueue.main instead of MainActorQueue.shared for main actor operations

Objectives
Simplify the API to align with the Foundation DispatchQueue APIs.
Exclusions
Considering the compile-time nature of @MainActor, achieving this might pose challenges.
Explorations
What alternative solutions were explored, if any, and why were they not selected?
Blueprint
This proposal intends to enable the reuse of ActorQueue across various actors, streamlining the API for enhanced usability. Consequently, the substitution of MainActorQueue.shared with ActorQueue.main is proposed.

I like this a lot! It would be pretty straight forward to have ActorQueue vend a public static var main: MainActorQueue type. Unlike DispatchQueue.main, the type returned by this property would be of another type (ActorQueue vs MainActorQueue), but I think that's fine?
We need a separate type here because we need our enqueue methods to take @MainActor-bound tasks.

Tried playing with this. The main issue is that ActorQueue.main does not compile, since ActorQueue has a generic type ActorType: Actor. As much as I love this idea for a convenience method, I'm coming up short on what we can do to actually achieve the goal without complicating the system. I'll leave this open a bit longer in the hopes that someone will come up with an idea here. If we can't come up with something, I'll close this in a week or so.

Closing since we haven't come up with something here. I still like this idea though, and am open to suggestions! Happy to re-open if we can come up with an approach that'll work.


Restrict mirroring settings to admins

Feature Description
Hi,
We host several repositories for our own usage as well as for various consumers.
As site administrators, we would like to mirror some remote repositories while preventing regular users from setting up their own mirroring configuration.
Right now, best workaround we found was to enable mirrors globally, but to use DISABLE_NEW_PULL and DISABLE_NEW_PUSH to control when new mirrors can be defined.
This is tedious (disable DISABLE_NEW_*, add the new mirror using the UI, then re-enable DISABLE_NEW_* to prevent other users from adding their own configuration).
This is also not a perfect solution (while we are setting up the new mirror, regular users may still have time to add their own configuration).
Would it be possible to only allow site administrators to configure new mirrors?
Regards,
François
Screenshots
No response

Restricting it by team membership would be also interesting.


#11873: Add shard/pad programming examples and basic programming exam…

…ple docs
Ticket
https://github.com/tenstorrent/tt-metal/issues/11873
Problem description
Adding tensor manipulation programming examples to the TT-Metalium API docs. Additionally, adding documentation for existing programming examples ("Hello World!" compute/data movement kernel examples and addition through compute/riscv examples).
What's changed

Row-major sharding example

This example demonstrates basic height sharding of a bfloat16 vector, across 4 cores. The source data is initialized and the shard specs are defined so that there is an even distribution of values across cores. DPRINT for each core must be enabled in order to print the data that is in each core's L1.

Pad example

This example demonstrates basic padding along a single dimension of a given tensor. The input tensor is a C++ vector which will be padded with a single value on the left and right. This example also demonstrates a manual way to pack bfloat16 values into a C++ vector.

API documentation is added for the following:

tt-metal/docs/source/tt-metalium/tt_metal/examples/hello_world_compute.rst
tt-metal/docs/source/tt-metalium/tt_metal/examples/hello_world_datamovement.rst
tt-metal/docs/source/tt-metalium/tt_metal/examples/add_2_integers_in_compute.rst
tt-metal/docs/source/tt-metalium/tt_metal/examples/add_2_integers_in_riscv.rst
tt-metal/docs/source/tt-metalium/tt_metal/examples/pad_multi_core.rst
tt-metal/docs/source/tt-metalium/tt_metal/examples/shard_data_rm.rst

Checklist

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

Can we have this go straight to the Programming Example section on GitHub?
We're moving away from the dedicated doc site, this is a perfect start.

@davorchap OK, on it. I'll separate it into documentation only, then file new PR for the code only

@fleclairTT


Master stable

Does a rebase of the master on top of the master-stable branch for a clean release. There might be some unwanted changes while I was rebasing, thus a review is required.

LGTM


Show the last 10 days history for the next Saving Session period

Discussed in https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/discussions/531

Originally posted by deltamelter November 15, 2023
Since the new saving sessions are looking back over 10 days to decide "normal" usage so that they know how much we "really" save,  could you add an entity to show the history for the upcoming period over the previous 10 days?

We’ll look at your historical smart meter data leading up to a Session, and calculate what you usually use at that time of day, on average.
If the Session is on a weekday, we’ll look at your half-hourly usage over the last 10 weekdays (excluding Saving Session days). If the Session is on a weekend, we’ll look at your half hourly usage over the last 4 weekend days.
We then use these half-hourly averages as a benchmark – so you’ll earn points for every kilowatt hour you save compared to that number during your Session.

Have you seen this app which does the above and estimates the octopoints received.
https://savingsessions.streamlit.app/
The project is also open sourced. Would you take pull requests for adding this functionality?

I'm happy to take contributions. I'm currently in the process of reworking how API requests are made (as per https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues/597) so it might be best to hold fire until that's complete. I was thinking of looking at this "soon", but it could be a couple of months.
My current plan is

Function which calculates the list of dates to retrieve consumption data for. This should take the target start/end of the saving session along with the collection of joined saving sessions and should return the 10 start/end dates that meet the target requirements. This should be fully unit tested.
Function which takes a collection of consumption data and calculates the average consumption. This should be fully unit tested
Sensor called `octopus_energy_{{ACCOUNT_ID}}_target_saving_session which updates the underlying data every 1 hour (TBC), using function 1 to retrieve current consumption via api client and then calculate and set the target consumption based on function 2.

The only question I have atm is if export meters are brought into the calculation if available.

I've managed to find some time over the holiday to look into this. I'm just waiting for the next saving session to test it properly

This sensor has now been added as part of v13.0.0.


double-beep: Blacklist keto\W?top

double-beep requests the blacklist of the keyword keto\W?top. See the MS search here and the Stack Exchange search here.

keto\W?top has been seen in 14 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Demo Aldrin Cycler

Create demonstration executable for a periodic Earth-Mars ferry

possible overlap with #43

https://caseyhandmer.files.wordpress.com/2019/10/explanation.png

http://sdg.aero.upm.es/index.php/online-apps/porkchop-plot


Resolve syncing conflicts from master-sync-work to master

Pull request opened by OPS to resolve syncing conflicts from master-sync-work to master.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/OPS-E2E-Prod/azure-docs-sdk-dotnet, working directory: W:\hvch-s, target branch: master, target branch commit: 56bfb7694d0ca33d3010f9de5888f50c4298c761, source branch: master-sync-work, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/OPS-E2E-Prod/azure-docs-sdk-dotnet, working directory: W:\wfon-s, target branch: master, target branch commit: 56bfb7694d0ca33d3010f9de5888f50c4298c761, source branch: master-sync-work, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

api/Microsoft.Azure.NotificationHubs.Configuration.yml
:warning:Warning
View
Details

api/Microsoft.Azure.NotificationHubs.Configuration.SharedSecretElement.yml
:warning:Warning
View
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

docfx.json
:white_check_mark:Succeeded

xml/FrameworksIndex/azure-dotnet-preview.xml
:white_check_mark:Succeeded

xml/FrameworksIndex/azure-dotnet.xml
:white_check_mark:Succeeded

xml/KeyVault.TestFramework/KeyVaultTestFixture.xml.remove
:white_check_mark:Succeeded

xml/KeyVault.TestFramework/TestConfigurationManager.xml.remove
:white_check_mark:Succeeded

xml/KeyVault.TestFramework/TestHttpMessageHandler.xml.remove
:white_check_mark:Succeeded

xml/KeyVault.TestFramework/TestKeyVaultCredential.xml.remove
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Channel/ITelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Channel/ITelemetryChannel.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Channel/InMemoryChannel.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Channel/Transmission.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/AvailabilityTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/DependencyTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/EventTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/ExceptionHandledAt.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/ExceptionTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/IJsonWriter.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/ISupportMetrics.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/ISupportProperties.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/ISupportSampling.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/MetricTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/PageViewTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/PerformanceCounterTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/RequestTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/SessionState.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/SessionStateTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/SeverityLevel.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/TelemetryContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.DataContracts/TraceTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation.ApplicationId/ApplicationInsightsApplicationIdProvider.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation.ApplicationId/DictionaryApplicationIdProvider.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing/DiagnosticsTelemetryModule.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing/Extensions.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing/IHeartbeatPropertyManager.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/CloudContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/ComponentContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/DeviceContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/HttpWebResponseWrapper.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/InternalContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/JsonSerializer.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/LocationContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/OperationContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/OperationTelemetry.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/SessionContext.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/TaskTimer.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/TelemetryContextExtensions.xml
:white_check_mark:Succeeded

xml/Microsoft.ApplicationInsights.Extensibility.Implementation/TelemetryDebugWriter.xml
:white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request.

api/Microsoft.Azure.NotificationHubs.Configuration.yml

[Warning] 1 invalid cross reference(s) "Microsoft.Azure.NotificationHubs.TransportClientCredentialType.SharedSecret".

api/Microsoft.Azure.NotificationHubs.Configuration.SharedSecretElement.yml

[Warning] 1 invalid cross reference(s) "Microsoft.Azure.NotificationHubs.TransportClientCredentialType.SharedSecret".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Increase React Performance / Remove Unused Scripts

Hi, I am not very fluent with React, however it seems there are a lot of unused scripts that not only waste bandwidth, but also significantly impact performance such as time to interactive, according to Google's Lighthouse:

Let me know if it is possible to remove any of these scripts in order to make the page load faster.
Thank you in advance, and I absolutely love Catalog! (although the documentation on custom styles could use some minor updates in my opinion)

The page performance alone makes me not want to use this. That was painful.


Mask Placeholder usage is not following usual

Angular-UI mask is using the placeholder to show the mask, so if I do
<div ng-controller="myController">
    <input type="text"
        ng-model="date"
        ui-mask="99/99/9999"
        placeholder="Birth Date"/>
</div>

I will show the input fileld as
+--------------+
| Bi/th/Date   |
+--------------+

And not
+--------------+
| Birth Date   |
+--------------+

And after the focus (or even a hover) is set to the input it should change to:
+--------------+
| __/__/____   |
+--------------+

Not trying to compare anything here, but Twitter Boostrap uses the placeholder this way and so does jquery.inputmask: https://github.com/RobinHerbots/jquery.inputmask. This last one changes from 'Birth Date' to the mask as soon as you hover the input.

+1

+1

+1

PR #353 is trying to solve this issue

I want to write something like this:
I don't care about masking the placeholder at all, so it would be FAR more beneficial to opt out of placeholder masking period. I don't think #353 is going to help with that.

+1

+1 ;)

+1

+1

when it's gonna be fixed?

@AndrewEastwood when somebody care enough to take time to write tests and documentation for #353

UI.Utils modules was split in individuals repositories. If still valid, please consider re-submitting on its dedicated repository: https://github.com/angular-ui/ui-mask
See the README for details.


Introduce capacity parameter for topk

Summary of the changes / Why this improves CrateDB
This changes the topk max limit to 5000 with capacity 8192 so the limit is less than 0.75 % of the capacity to have a better default behaviour for performance reasons. It also make the capacity configurable for the user.
Background:
I tried out the nyc taxi datset with topk and found out that there is potential to improve performance significant by increasing the capacity of number of tracked items. Initializing an item is expensive while increasing a counter is cheap on the sketch datastructure. Small capacity means a small memory footprint, but If the capacity is too small items get dropped out and recreated which is slow because it requires multiple hashings. We should increase the default capacity size and make the parameter configurable for users like Spark does. On the nyc-taxi dataset this variant is much faster, and the other benchmarks are not slower.
V1: 5.9.0-9c2b7637a90c1271858560e0ce4288c569e7ade5
V2: 5.9.0-00be8919e533067034a1733d1c799101e57ce993

Q: select topk(pulocationid) from nyc_taxi
C: 1
| Version |         Mean ±    Stdev |        Min |     Median |         Q3 |        Max |
|   V1    |       84.861 ±   21.829 |     81.305 |     82.471 |     82.880 |    300.588 |
|   V2    |       42.820 ±   20.812 |     26.345 |     40.736 |     41.025 |    247.978 |
├---------┴-------------------------┴------------┴------------┴------------┴------------┘
|               -  65.85%                           -  67.75%
There is a 100.00% probability that the observed difference is not random, and the best estimate of that difference is 65.85%
The test has statistical significance

System/JVM Metrics (durations in ms, byte-values in MB)
    |    YOUNG GC            |       OLD GC           |      HEAP         |     ALLOC
    |  cnt      avg      max |  cnt      avg      max |  initial     used |     rate      total
 V1 |    2     3.04     3.14 |    0     0.00     0.00 |      268     2001 |  3049.95      23119
 V2 |    0     0.00     0.00 |    0     0.00     0.00 |      268        0 |  5657.67      17064

Top frames (by count)
  V1
    ReversePurgeLongHashMap.purge(int) total=4601564458, count=2218
    ReversePurgeLongHashMap.adjustOrPutValue(long, long) total=944, count=944
    DocValuesAggregates.getRow(...) total=922, count=922
    ReversePurgeLongHashMap.keepOnlyPositiveCounts() total=262, count=262
    QuickSelect.partition(...) total=158, count=158
    AbstractMemorySegmentImpl.checkBounds(long, long) total=110, count=110
    ReversePurgeLongHashMap.hashDelete(int) total=90, count=90
    QuickSelect.select(...) total=49, count=49
    CompositeBatchIterator$AsyncCompositeBI.lambda$loadNextBatch$0(int, int) total=1906284128, count=18
    SingletonSortedNumericDocValues.nextValue() total=17, count=17
  V2
    DocValuesAggregates.getRow(...) total=546, count=546
    SingletonSortedNumericDocValues.nextValue() total=299, count=299
    ReversePurgeLongHashMap.adjustOrPutValue(long, long) total=237, count=237
    AbstractMemorySegmentImpl.checkBounds(long, long) total=129, count=129
    ParserATNSimulator.getEpsilonTarget(...) total=26216552, count=9
    ReversePurgeLongHashMap.purge(int) total=332351600, count=8
    ObjectName.construct(String) total=19064, count=8
    LinkedList.listIterator(int) total=14652848, count=6
    StreamSupport.stream(...) total=12304, count=6
    ObjectName.setCanonicalName(...) total=10344, count=5

For the implementation, there are a few options:

Let the user use any value for capacity and convert internally to a power of number (@proddata favourite)
Make it explicit, so capacity must be a value in the power of two (current approach)
Use a load factor like clickhouse, this may be difficult to fine-tune for large datasets where you want a small topk.

Checklist

[x] Added an entry in the latest docs/appendices/release-notes/<x.y.0>.rst for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in the latest docs/appendices/release-notes/<x.y.0>.rst
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)


Add min + gzip size in readme

using badgesize.io and unpkg.com to show a size badge

Lovely! Thanks @siddharthkp :)


Update packages-version cc1352p7 openocd12 patch.

@IvoBCD I'm going to go ahead and merge this once the checks complete.


Fix the release date for v2.2.0

Haha, good spot. I'll open an issue as a reminder but the changelog file is generated by gren so I'll make sure it gets corrected automatically upon the next release.