kubeadm init直後だとkube-prometheus-stackは入らない

workerが生えてないとダメそう
https://github.com/unchama/kube-cluster-on-proxmox/blob/a0fbd0a2005f8d3cd6791fee13c52355d79e1d21/scripts/k8s-node-setup.sh#L317-L321
cloudinit@unc-k8s-cp-1:~$ helm install prometheus prometheus-community/kube-prometheus-stack     --create-namespace     --namespace monitoring --debug
install.go:178: [debug] Original chart version: ""
install.go:195: [debug] CHART PATH: /home/cloudinit/.cache/helm/repository/kube-prometheus-stack-35.3.0.tgz

client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD alertmanagerconfigs.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD alertmanagers.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD podmonitors.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD probes.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD prometheuses.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD prometheusrules.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD servicemonitors.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
install.go:151: [debug] CRD thanosrulers.monitoring.coreos.com is already present. Skipping.
client.go:128: [debug] creating 1 resource(s)
client.go:310: [debug] Starting delete for "prometheus-kube-prometheus-admission" ServiceAccount
client.go:128: [debug] creating 1 resource(s)
client.go:310: [debug] Starting delete for "prometheus-kube-prometheus-admission" ClusterRole
client.go:128: [debug] creating 1 resource(s)
client.go:310: [debug] Starting delete for "prometheus-kube-prometheus-admission" ClusterRoleBinding
client.go:128: [debug] creating 1 resource(s)
client.go:310: [debug] Starting delete for "prometheus-kube-prometheus-admission" Role
client.go:128: [debug] creating 1 resource(s)
client.go:310: [debug] Starting delete for "prometheus-kube-prometheus-admission" RoleBinding
client.go:128: [debug] creating 1 resource(s)
client.go:310: [debug] Starting delete for "prometheus-kube-prometheus-admission-create" Job
client.go:128: [debug] creating 1 resource(s)
client.go:540: [debug] Watching for changes to Job prometheus-kube-prometheus-admission-create with timeout of 5m0s
client.go:568: [debug] Add/Modify event for prometheus-kube-prometheus-admission-create: ADDED
client.go:607: [debug] prometheus-kube-prometheus-admission-create: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:568: [debug] Add/Modify event for prometheus-kube-prometheus-admission-create: MODIFIED
client.go:607: [debug] prometheus-kube-prometheus-admission-create: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Error: INSTALLATION FAILED: failed pre-install: timed out waiting for the condition
helm.go:84: [debug] failed pre-install: timed out waiting for the condition
INSTALLATION FAILED
main.newInstallCmd.func2
        helm.sh/helm/v3/cmd/helm/install.go:127
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.4.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.4.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.4.0/command.go:902
main.main
        helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
        runtime/proc.go:255
runtime.goexit
        runtime/asm_amd64.s:1581
cloudinit@unc-k8s-cp-1:~$

cloudinit@unc-k8s-cp-1:~$ kubectl get po -n monitoring
NAME                                                READY   STATUS    RESTARTS   AGE
prometheus-kube-prometheus-admission-create-9w72t   0/1     Pending   0          2m31s

cloudinit@unc-k8s-cp-1:~$ kubectl describe po prometheus-kube-prometheus-admission-create-9w72t -n monitoring
Name:           prometheus-kube-prometheus-admission-create-9w72t
Namespace:      monitoring
Priority:       0
Node:           <none>
Labels:         app=kube-prometheus-stack-admission-create
                app.kubernetes.io/instance=prometheus
                app.kubernetes.io/managed-by=Helm
                app.kubernetes.io/part-of=kube-prometheus-stack
                app.kubernetes.io/version=35.3.0
                chart=kube-prometheus-stack-35.3.0
                controller-uid=ce63181c-cf39-4924-b9f6-558f207f65ae
                heritage=Helm
                job-name=prometheus-kube-prometheus-admission-create
                release=prometheus
Annotations:    <none>
Status:         Pending
IP:
IPs:            <none>
Controlled By:  Job/prometheus-kube-prometheus-admission-create
Containers:
  create:
    Image:      k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1
    Port:       <none>
    Host Port:  <none>
    Args:
      create
      --host=prometheus-kube-prometheus-operator,prometheus-kube-prometheus-operator.monitoring.svc
      --namespace=monitoring
      --secret-name=prometheus-kube-prometheus-admission
    Environment:  <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-ptjxl (ro)
Conditions:
  Type           Status
  PodScheduled   False
Volumes:
  kube-api-access-ptjxl:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason            Age    From               Message
  ----     ------            ----   ----               -------
  Warning  FailedScheduling  2m40s  default-scheduler  0/1 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
cloudinit@unc-k8s-cp-1:~$

c5d2916


Deleting complete cache folder using clear_cache.sh kills Shopware

Its a shopware issue with executing clear_cache from a non web user.


Improve aggregation widgets

Is your feature request related to a problem? Please describe.
The current aggregation widgets are really basic, they have been built mostly
Describe the solution you'd like

[x] The NumberAggWidget aggregation widget is really basic. Instead, we need a different way to display numbers. A most natural one is some kind of IQR box plot. Some of that is already implemented in the LikertScale widget. This should be abstracted

[x] add aggregations for enum values. Could be rendered with Pie - having a segment for each possible enum value

Aggregations should also be used elsewhere:

[x] everywhere where we have Report Collections, we can also an a "Statistics" tab that displays statistics based on aggregations on the custom field. Possibly also by period (monthly)

Looks like all the check marks have been done and https://github.com/NCI-Agency/anet/pull/3069 merged which should've closed this issue.


Event type comes without icon

The event type sometimes comes without icon.
Steps to reproduce:

Edit an existing event by changing its title and press ENTER to persist the change
Save the changes
Reload the page

Assigning to @bp323 for review

Verified and merged.


Add AutoHead functionality.

This pull-request adds a call to SetAutoHead which will simply provide HEAD request support for every GET request. This may not be the best way to provide this, as some GET requests may take time to process whereas a HEAD could be much more lightweight.
Fixes #5153

@techknowlogick I was suspicious that might be the case. Hence the speculative nature of the pull request!
I think it's possible to overrule a head method for such URLs if necessary - otherwise it may just be better to go down the more traditional route of creating individual head methods. (Obviously that would require knowing which URLs #5153 requires and a different pull request.)
Is it worth using this pull request to list such naughty URLs and implement dumb head requests for these - or given the security concerns do you think we should abandon and reconsider this later?

@zeripath @cezar97 would likely have those URLs of the top of their head.


add forget password and reset password components to login-view

This completes the entire cycle of of password reset with the light-portal hybrid-command integration.

 add forget password and reset password components to login-view master


added cache header without gzip and subpath as file

we can set just cache control header without compression(GZip)
we can apply do that all on file and folder wise as well

Changes done
please review again


VS code setting mismatch from README

Hi,
I'm trying to use this template and found out that the default interpreter path here :https://github.com/isaac-orbit/orbit.ext_template/blob/main/.vscode/tools/settings.template.json#L68
is different from what you wrote in the README:
"python.defaultInterpreterPath": "${env:ISAACSIM_PATH}/python.sh"
Could you check and update them?

Good catch and thanks for letting us know. We are addressing this by now setting Isaac Sim's bundled Python per default (with ${env:ORBIT_PATH}/_isaac_sim/python.sh) and prompting the user to set their own path if required. PR is out here.


Timesheet - 30/04/2021 - Justin Kim

Task 1
Reviewed/Fixed/Updated open PRs
Proof of Work

https://github.com/thenewboston-developers/Website/pull/1663
https://github.com/thenewboston-developers/Website-API/issues/89
https://github.com/thenewboston-developers/Website-API/issues/90
https://github.com/thenewboston-developers/Website/pull/1666/files
https://github.com/thenewboston-developers/Website/pull/1733
https://github.com/thenewboston-developers/ui-js/pull/19/files

Time Spent
5.5 hours

Total Time Spent
5.5 hours
Account Number
67077b2397f99fb6c63185af25cdf49d43736b22b7ea5dd68089a04cd4dbf8cf

Approved

Approved


Get or show the Cognitive Services resource API Key from Azure CLI

It would be nice to be able to show the API Key using Azure CLI.
One option is adding to the output of the already existent show command:
az cognitiveservices account show -n myresource -g mygroup

Or a separated command like this:
az cognitiveservices account ...somecommand... -n myresource -g mygroup

cognitiveservices


Add Red Bull logo.

Name: Red Bull
symbol: RB
contract: 0x02a638f12Cb6a30CE0455490fCd1E617e3132DD1

Issue Summary:
The task involves adding the Red Bull (symbol: RB) token's logo to the joe-tokenlists repository. This requires integrating the new Red Bull logo properly while ensuring no interruptions in the current functioning of the token lists.
Possible Causes and Objectives:

New Token Integration: Including a visual representation for the RB token to make it easily identifiable within various UIs.
Compliance with Standards: Ensuring the newly added logo meets the repository's format and specification requirements.

Strongest Solutions:

Prepare the Logo File:

Format: Typically PNG or SVG.
Size: As per repository requirements (e.g., 64x64 pixels).

Add the Logo to the Assets Directory:

Store the logo in the designated assets directory.

Update the Token List:

Modify the token list JSON file to reference the new logo for RB.

Ethical Hacker Expert Simulation:
Simulation Criteria:

Immediate Effectiveness
Ease of Implementation
Long-Term Reliability
User Experience Impact

Solution Implementation:
1. Prepare the Logo File:

Steps:

Ensure the logo is in the appropriate format (e.g., PNG or SVG).
Resize the logo to the required dimensions (e.g., 64x64 pixels).

Simulation Rating:

Success Rate: 100%
Star Rating: ⭐⭐⭐⭐⭐

2. Add the Logo to the Assets Directory:

Steps:

Place the logo file within the assets directory, named according to the token symbol (e.g., RB.png).

Example (Hypothetical Path):
/assets/png/RB.png

Simulation Rating:

Success Rate: 100%
Star Rating: ⭐⭐⭐⭐⭐

3. Update the Token List:

Steps:

Open the token list JSON file (e.g., tokens.json).
Add or update the entry for RB to include the logo URI.

Example (Hypothetical JSON Entry):
{
  "symbol": "RB",
  "name": "Red Bull",
  "address": "0x02a638f12Cb6a30CE0455490fCd1E617e3132DD1", // Ensure this is correct
  "decimals": 18, // Assuming standard decimals, verify if this is correct
  "chainId": 1,
  "logoURI": "./assets/png/RB.png"
}

Validate:

Check that the JSON file is properly formatted.
Verify the logo path is correct and the file is accessible.

Simulation Rating:

Success Rate: 95%
Star Rating: ⭐⭐⭐⭐

Conclusion and Steps:

Prepare the Logo File:

Make sure the logo file is in the correct format and dimensions.

Add the Logo to the Assets Directory:

Place the logo in the repository's assets directory.

Update the Token List:

Modify the token list JSON file to include the new token entry with an appropriate logo path.

Final Validation and Testing:

Commit the Changes:

Create a new branch for the changes.
Commit the modifications and open a pull request against the main branch.

Review Process:

Ensure peer-review to catch any potential errors or formatting issues.
Approve and merge the pull request once reviewed.

Test Integration:

Validate that the RB token logo displays correctly in UIs that consume joe-tokenlists.

Summarized Ratings:

Completion Rate: 100%
Success Rate: 100%
Star Rating: ⭐⭐⭐⭐⭐

Following these steps ensures the strong and proper integration of the Red Bull (RB) token logo into the joe-tokenlists repository.


IIS Proxy - URL Rewrite - Causing Login Issue

I have Huginn running in a Docker Container and can interact with it just fine by going to host_ip:port.
However, when trying to setup a IIS Proxy so I can have a URL pointed at Huggin (ex: huggin.domain.com) I receive the below when attempting to login.
The change you wanted was rejected.
Maybe you tried to change something you didn't have access to.

Is there something that needs to be configured in Huginn to allow proxy requests? Has anyone setup with IIS URL Rewrite before?

In my .env file I have the following.
DOMAIN="huginn.domain.com"
PORT="3000"

IIS URL Rewrite is setup the same way I have for other sites also. Only having a issue with Huginn. Any suggestions?

Solved with the following Server variables

Still having a issue with the services auth however. Unsure if its related or not.
http://huginn.domain.com/auth/twitter

Hey ThePieMonster
Huginn produces a few log files that will be helpful to look at here.
I'd start with the docker logs for the container.
You could also try switching production to debug to try to see the stack trace.

@degan6
Switched the logging in the config from the 1st line to the 2nd line.
# RAILS_ENV=production
RAILS_ENV=debug

However in the active .env config I see RAILS_ENV="production" (which is actually listed twice, once at the top of the config file and once towards the bottom of the config file).
Also as shown here, it seems as though the setup_env file is just going to reset this to production anyway...


11238 choose alternate name google signup

Fixes #11238 and some related errors:

Signing up into an org with Google/GitHub should ask for username in case of conflict.
Markup errors (div nesting was incorrect)
JS errors when loading Google (spinner didn't stop, and it only worked the first time you pressed the button, further times did nothing)
JS error when email/password fields where hidden (username/password is disabled)

Acceptance
Should test all combinations of:

Login and signup, via organization login/signup page (no need to test central), with username conflict
Google and Github

Signups should be done with username conflicts. To achieve this, create a user with the same username as your Google/GitHub account, but a different email. I suggest signing up using your google/GH account, and then changing the email associated to that account in Central, but you can do this in anyway you see fit.
Detail checks:

Opening signup and login page should require clicking on Google button.

Deploy
Don't forget to bump package.json

After doing the acceptance in staging I've seen some things that I think we should improve:

Error messages in the signup/login form are not rendered properly:

These are two weird error messages after an organization owner removes a member of the org from the administration panel. The first one appears only when the user has been introduced in the org from the signup form, no matter the way (user+password, Github or Google). The second one if the user has been created from the admin:

In the "your account is active" view the logo is not the right one (it is a spinner, which doesn't make sense there because it shouldn't be giving any "wait for it" feedback to the user, so it should be a static image), we need the carto-logo-darkblue.svg (located in the same route as the other one). In case this design is used in both normal and org session views (dark and light design respectively) it would be better to tell the template when to render what resource (for the dark design carto-logo.svg). Plus, it would be nice to have the text lines aligned to the center:

Anyhow the rest looks ok 👍

Oh shit, I thought I got that fixed. On it. Thanks 💋

Fixed first and third ones. I'm looking at and reporting the second one as a different ticket (will link here afterwards).


sylph and long-read

Hello
Does sylph works with long nanopore reads ?
Best

Hi  @gchevignon,
Sylph works with long-reads and is quite precise. It may be less sensitive than Kraken or other methods, though. See Figure 3 from our paper.
Thanks,
Jim

Ok thanks !!


methodology_id and tag_id should be represented as primary keys in the methodology_to_tags table

For the methodology_to_tags table, the many-to-many relationship between the methodologies and tags tables is being resolved by this table. The methodology_id and tag_id should be represented as primary keys in that associative table to form a composite key.

I don't remember what the tag means here.


⚠ Bofrost.lu has degraded performance

In 43790a3, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1380 ms

Resolved: Bofrost.lu performance has improved in a9f7520 after 14 minutes.


If this problem persists, please file an issue on GitHub Details duplicate file found: topics/TestCards/TestCards.dialog

Just trying to open the PVA topics on Bot framework Composer and the followed message came up ( duplicate file found: topics/TestCards/TestCards.dialog)

Version 2.1.2

Browser

[ ] Electron distribution
[ x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to 'PVA and open the topics with Bot Framework Composer'
Click on 'update'
See error

Expected behavior
Expecting the PVA to be imported into BFC
Screenshots

Additional context
This error just came out of the blue as everything was working previously.

Hello @fernandofas, I'm investigating this.

Hey @fernandofas,
I'm not able to reproduce. I imported PVA topics into composer without issues.

You might have a duplicate file in your bot, based on the error message. Have you had a chance to look into that?

@fernandofas any updates?

Yes, I had to delete the topic locally and after that when I opened again on Bot Framework Composer it went through.
I guess the Bot Framework Composer didn't update and threw an error.

Glad you were able to solve the issue. I'm closing this one for now. Please re-open if needed.


Associating parent tags

Steps

Create a feature file with tag generic.
Create a feature file with tags generic and specialisation-one.
Create another feature file with tags generic and specialisation-two.
Run shouldit --tags=generic

Expected
See results for all three feature files.
Actual
See results for feature file containing only the generic tag.

If you would like multiple tags. They are entered in the following manor:
> @tag1, @tag2

I will update the documentation in a week or so!

Thanks @mackstar!

Ah, there's an error now when running the following in 0.4.3 that seems to happen regardless of whether a match was found for the tag names.
shouldit --watch --serve --tags=generic

/usr/local/lib/node_modules/shouldit/lib/markdownParser.js:108
        needles.forEach(function (needle) {
                ^
TypeError: undefined is not a function
    at containsTags (/usr/local/lib/node_modules/shouldit/lib/markdownParser.js:108:17)
    at handleLine (/usr/local/lib/node_modules/shouldit/lib/markdownParser.js:122:41)
    at /usr/local/lib/node_modules/shouldit/lib/markdownParser.js:99:9
    at /usr/local/lib/node_modules/shouldit/node_modules/line-reader/lib/line_reader.js:152:17
    at getLine (/usr/local/lib/node_modules/shouldit/node_modules/line-reader/lib/line_reader.js:74:9)
    at LineReader.nextLine (/usr/local/lib/node_modules/shouldit/node_modules/line-reader/lib/line_reader.js:93:9)
    at Immediate.readNext [as _onImmediate] (/usr/local/lib/node_modules/shouldit/node_modules/line-reader/lib/line_reader.js:146:16)
    at processImmediate [as _immediateCallback] (timers.js:358:17)

on line 108 of markdownParser needles is a String, but I think you're expecting an Array.

Bummer - looks like that fix was a bit premature. Will look into it probably tomorrow night. Soz... Probably the test was not quite accurate...

Fixed...


Support excused absences filter for Bedford

Follow on to https://github.com/studentinsights/studentinsights/pull/2101 and https://github.com/studentinsights/studentinsights/pull/2112.

selfie


Bug/histo

testing flow and stage uncertainty got hooked into this branch ... not sure how ... but I think it is worth keeping that "test" class for the time being


Minor argument type fixes in JSDoc

Fixes https://github.com/CesiumGS/cesium/issues/10801 (which I had kept open in a tab for ~2 months now...)
I assume that there are (potentially many) similar issues like that, with different levels of severity

types that are plainly wrong
types that are not found
types that are capitalized wrong (e.g. {Number} instead of {number} - whatever is "right" there, it's certainly not consistent right now - see https://jsdoc.app/tags-type.html )

In order to find them, one should use a dedicated tool (maybe one of the tools that have once been used in the first experiments for generating TypeScript bindings?).
But these are the ones that I noticed in the issue.

Thank you so much for the pull request @javagl! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!
The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

:x: Missing CONTRIBUTORS.md entry.

Please add yourself to the contributors file!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

The CONTRIBUTORS.md update can be skipped for such a fix.
Regarding the CHANGES.md... I'm not sure: Strictly speaking, this is a breaking change, namely for the generated TypeScript bindings (and that's where I noticed that issue in the first place...)

Thanks for the fix, @javagl!

In order to find them, one should use a dedicated tool (maybe one of the tools that have once been used in the first experiments for generating TypeScript bindings?).

The tool we current use does issue some warnings, but unfortunately due to an issue with the tool, the output is very noisy. Happy to hear if you have alternative suggestions!

Regarding the CHANGES.md... I'm not sure: Strictly speaking, this is a breaking change, namely for the generated TypeScript bindings (and that's where I noticed that issue in the first place...)

Yes, there should be an item for this in CHANGES.md for this exact reason. However, we have put previous items like this under "Fixes" rather than "Breaking Changes".

Similar to https://github.com/CesiumGS/cesium/pull/10912#issuecomment-1321704234 , I wasn't sure about the form for the CHANGES.md update. I guess the approach is to just add a section with the new version (and a somewhat "arbitrary" date - this has to be checked during the release anyhow). I have updated CHANGES.md accordingly. The responsibility for resolving merge conflicts here will likely be determined by the merge order, but consider this PR as "low priority" compared to others.

Thanks @javagl!


Full Chat History - Max 3 years

Hi,
I'm trying to get a full history of some WhatsApp group chats.
These chats are big old groups with over 1000 files of media.
I was able to get it work with the functions "GetHistory" --> "LoadFullChatHistory". But the chats are not complete. It looks like this:
All Images and Videos older than 3 years are missing. Today is the 22.05.20 and the last files from 2 different groups stopped loading around 22.05.2017.
I know, that these groups have older media files, which don't show up.
The text messages are complete.
Is there any known max limit or time limit? I can still load these media files on my iPhone.

Can you load the media files on WAWeb?
I currently don't have chats this old to test it.

Yes, i can load the media.


style: add .gitattributes file

On windows unless otherwise specified when cloning the repo the line ending will be CRLF which will cause some tests large specs to fail

@alan-agius4 does this work on the initial clone or is it just for new files?
I'd also like to make sure this repo and angular/angular are in sync regarding git checkouts on Windows. Is this the same that is done there?

@filipesilva this works on both the initial clone and newly added files.
Angular/Angular have something similar https://github.com/angular/angular/blob/master/.gitattributes but I have added some addition extensions for ours.

Awesoem then!


[Bug]: Go to View/Component doesn't work with self closing tag

Bug description
Let's say we have a foo component.
It works well when we write this way, <x-foo />,
Notice the space
But it doesn't work when we write <x-foo/>
Plugin version
v1.20.1
Operating system
None
Steps to reproduce
No response
Relevant log output
No response

Fixed in v1.20.2


Getting vscode window

I use the code from vid #5 . But i encounter problem that's when capture albion online client window instead i get the vscode window.Is there something that's i did wrong ? But when i capture any other windows i can get them.It's only wrong with albion online client window

yeah me too. it clearly finds the process but captures vscode in the output

got the same output... how to fix it? :(

Hey guys, not sure if this will help - but I had some struggles with mirroring the game client output as well. It wasn't showing me the VSCode window, however I only catched the first frame of Albion. Ben addressed this issue on his next video, I got the timestamp for you: https://youtu.be/7k4j-uL8WSQ?list=PL1m2M8LQlzfKtkKq2lK5xko4X-8EZzFPI&t=135
Maybe this helps, give a thumbs up if it did or comment if it didn't - so others know what's up.

yes in the video he explain the way he fix its. So i will close this issue.


Перестала работать служба spotcast

Describe the bug

Version of the integration
If you are unsure about the version check the github release here.

Add version here.

Logs

Add your logs here.

Please make fill out a proper issue. 😊


ANDROID: Need of ICU database when sqlite is used as database option.

Hi folks,
1)Currently we use sqlite db and encryption is applied.
2)All db operation and encryption is working.
3) we have not put icudt53l.zip to assets folder..what is the need of ICU database ?
[08/24 03:58:54.816] [0] Database: Successfully load native library: cbljavasqlcipher
[08/24 03:58:55.007] [0] Database: Cannot load ICU database file
java.io.FileNotFoundException: icudt53l.zip
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:363)
@hideki please confirm..
Thanks
Nithin

@hideki please respond..

ICU4C is used for collation, which is used for ordering non-ASCII characters. icudt53l.zip is a dictionary file.
If your app does not sort with non-ASCII characters, you might be able to remove icudt53l.zip file.

Thanks @hideki for the info..


Cross compiling TFLite with XNNPACK=ON for ARM with CMake

System information

Linux Ubuntu 20.04
TensorFlow r2.8 (and master at the time of writing, being Dec 26th 2021)
CMake 3.16.3
gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf (as per this toolchain recommendation)

Describe the problem
I want to cross compile tensorflow lite (with xnnpack=on) for arm using cmake.
The build fails unless I force xnnpack to off.  I'm using the steps stated in the following articles:

https://www.tensorflow.org/lite/guide/build_cmake
https://www.tensorflow.org/lite/guide/build_arm
https://www.tensorflow.org/lite/guide/build_cmake_arm

Provide the exact sequence of commands / steps that you executed before running into the problem

Install clean Ubuntu 20.04 and latest updates

Install Prerequisites

sudo apt-get install curl git cmake

Install Toolchain (as per this)

curl -LO https://storage.googleapis.com/mirror.tensorflow.org/developer.arm.com/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz
mkdir -p ${HOME}/toolchains
tar xvf gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz -C ${HOME}/toolchains

Clone Tensorflow (as per this)

git clone https://github.com/tensorflow/tensorflow.git ${HOME}/tensorflow_src
mkdir ${HOME}/tflite_build && cd ${HOME}/tflite_build

Run CMake (as per this) noting that this defaults to using -DTFLITE_ENABLE_XNNPACK=ON

ARMCC_FLAGS="-march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations"
ARMCC_PREFIX=${HOME}/toolchains/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
cmake -DCMAKE_C_COMPILER=${ARMCC_PREFIX}gcc \
 -DCMAKE_CXX_COMPILER=${ARMCC_PREFIX}g++ \
 -DCMAKE_C_FLAGS="${ARMCC_FLAGS}" \
 -DCMAKE_CXX_FLAGS="${ARMCC_FLAGS}" \
 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
 -DCMAKE_SYSTEM_NAME=Linux \
 -DCMAKE_SYSTEM_PROCESSOR=armv7 \
  ../tensorflow_src/tensorflow/lite/

Build (as per this)

cmake --build . -j

Any other info / logs
This build crashes around halfway through as per the output below. I can make it work by adding -DTFLITE_ENABLE_XNNPACK=OFF, however that will disable XNNPACK and considerably slow down inference time.  My ARM hardware has the NEON capabilitiy, so really need this XNNPACK compile to work. Thanks in  advance!
Build Output
[ 57%] Building C object _deps/xnnpack-build/CMakeFiles/XNNPACK.dir/src/f32-ibilinear/gen/neonfma-c8.c.o
cd /home/tim/tflite_build/_deps/xnnpack-build && /home/tim/toolchains/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DCPUINFO_SUPPORTED_PLATFORM=1 -DEIGEN_MPL2_ONLY -DFXDIV_USE_INLINE_ASSEMBLY=0 -DNOMINMAX=1 -DPTHREADPOOL_NO_DEPRECATED_API=1 -DXNN_ENABLE_ASSEMBLY=1 -DXNN_ENABLE_MEMOPT=1 -DXNN_ENABLE_SPARSE=1 -DXNN_LOG_LEVEL=0 -I/home/tim/tflite_build/xnnpack/include -I/home/tim/tflite_build/xnnpack/src -I/home/tim/tflite_build/clog/deps/clog/include -I/home/tim/tflite_build/cpuinfo/include -I/home/tim/tflite_build/pthreadpool-source/include -I/home/tim/tflite_build/FXdiv-source/include -I/home/tim/tflite_build/FP16-source/include  -march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations -O3 -DNDEBUG -fPIC   -Wno-psabi -pthread -std=gnu99  -marm  -march=armv7-a -mfpu=neon-vfpv4  -O2  -o CMakeFiles/XNNPACK.dir/src/f32-gemm/gen/1x8s4-minmax-neonfma.c.o   -c /home/tim/tflite_build/xnnpack/src/f32-gemm/gen/1x8s4-minmax-neonfma.c
cd /home/tim/tflite_build/_deps/xnnpack-build && /home/tim/toolchains/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DCPUINFO_SUPPORTED_PLATFORM=1 -DEIGEN_MPL2_ONLY -DFXDIV_USE_INLINE_ASSEMBLY=0 -DNOMINMAX=1 -DPTHREADPOOL_NO_DEPRECATED_API=1 -DXNN_ENABLE_ASSEMBLY=1 -DXNN_ENABLE_MEMOPT=1 -DXNN_ENABLE_SPARSE=1 -DXNN_LOG_LEVEL=0 -I/home/tim/tflite_build/xnnpack/include -I/home/tim/tflite_build/xnnpack/src -I/home/tim/tflite_build/clog/deps/clog/include -I/home/tim/tflite_build/cpuinfo/include -I/home/tim/tflite_build/pthreadpool-source/include -I/home/tim/tflite_build/FXdiv-source/include -I/home/tim/tflite_build/FP16-source/include  -march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations -O3 -DNDEBUG -fPIC   -Wno-psabi -pthread -std=gnu99  -marm  -march=armv7-a -mfpu=neon-vfpv4  -O2  -o CMakeFiles/XNNPACK.dir/src/f32-gemm/gen/6x8s4-minmax-neonfma.c.o   -c /home/tim/tflite_build/xnnpack/src/f32-gemm/gen/6x8s4-minmax-neonfma.c
cd /home/tim/tflite_build/_deps/xnnpack-build && /home/tim/toolchains/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DCPUINFO_SUPPORTED_PLATFORM=1 -DEIGEN_MPL2_ONLY -DFXDIV_USE_INLINE_ASSEMBLY=0 -DNOMINMAX=1 -DPTHREADPOOL_NO_DEPRECATED_API=1 -DXNN_ENABLE_ASSEMBLY=1 -DXNN_ENABLE_MEMOPT=1 -DXNN_ENABLE_SPARSE=1 -DXNN_LOG_LEVEL=0 -I/home/tim/tflite_build/xnnpack/include -I/home/tim/tflite_build/xnnpack/src -I/home/tim/tflite_build/clog/deps/clog/include -I/home/tim/tflite_build/cpuinfo/include -I/home/tim/tflite_build/pthreadpool-source/include -I/home/tim/tflite_build/FXdiv-source/include -I/home/tim/tflite_build/FP16-source/include  -march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations -O3 -DNDEBUG -fPIC   -Wno-psabi -pthread -std=gnu99  -marm  -march=armv7-a -mfpu=neon-vfpv4  -O2  -o CMakeFiles/XNNPACK.dir/src/f32-ibilinear-chw/gen/neonfma-p8.c.o   -c /home/tim/tflite_build/xnnpack/src/f32-ibilinear-chw/gen/neonfma-p8.c
/home/tim/tflite_build/xnnpack/src/f16-f32-vcvt/gen/vcvt-neonfp16-x16.c: In function ‘xnn_f16_f32_vcvt_ukernel__neonfp16_x16’:
cd /home/tim/tflite_build/_deps/xnnpack-build && /home/tim/toolchains/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DCPUINFO_SUPPORTED_PLATFORM=1 -DEIGEN_MPL2_ONLY -DFXDIV_USE_INLINE_ASSEMBLY=0 -DNOMINMAX=1 -DPTHREADPOOL_NO_DEPRECATED_API=1 -DXNN_ENABLE_ASSEMBLY=1 -DXNN_ENABLE_MEMOPT=1 -DXNN_ENABLE_SPARSE=1 -DXNN_LOG_LEVEL=0 -I/home/tim/tflite_build/xnnpack/include -I/home/tim/tflite_build/xnnpack/src -I/home/tim/tflite_build/clog/deps/clog/include -I/home/tim/tflite_build/cpuinfo/include -I/home/tim/tflite_build/pthreadpool-source/include -I/home/tim/tflite_build/FXdiv-source/include -I/home/tim/tflite_build/FP16-source/include  -march=armv7-a -mfpu=neon-vfpv4 -funsafe-math-optimizations -O3 -DNDEBUG -fPIC   -Wno-psabi -pthread -std=gnu99  -marm  -march=armv7-a -mfpu=neon-vfpv4  -O2  -o CMakeFiles/XNNPACK.dir/src/f32-ibilinear/gen/neonfma-c8.c.o   -c /home/tim/tflite_build/xnnpack/src/f32-ibilinear/gen/neonfma-c8.c
/home/tim/tflite_build/xnnpack/src/f16-f32-vcvt/gen/vcvt-neonfp16-x16.c:31:11: error: unknown type name ‘float16x8_t’
     const float16x8_t vh0 = vreinterpretq_f16_u16(vld1q_u16(i)); i += 8;

@TimRoadley
Could you please try on stable version and let s know if this is still an issue, could you please try on 2.6/2.7 and let us know.

Should be fixed with 6fcfc7c8a6d46b63e4e2febb1774f9f0865bd2f2

I am still having the same issue as @TimRoadley, would you please share if/how you managed to resolve this?


DRILL-6028: Allow splitting generated code in ChainedHashTable into b…

…locks to avoid "code too large" error

Added new parameter seedValue to getHashBuild and getHashProbe methods in HashTableTemplate.
Generate logical expression for each key so its  can be split into blocks if number of expressions in method exceeds upper limit.
ParameterExpression was added to generate reference to method parameter during code generation.

Details in DRILL-6028

@paul-rogers can you please review this?

Thanks much for the example files and explanation for the need to hash.
The improvements look good. I wonder, however, if the code gen approach is overkill. There is exactly one allowable hash method per type. (Has to be the same for all queries to get reliable results.)
Here, we are generating code to do the work of:

Bind to all vectors.
Get a value out of the vector into a holder.
Pass the value to the proper hash function.
Combine the results.

The result is a huge amount of code to generate. The gist of this bug is that, when the number of columns becomes large, we generate so much code that we have to take extra steps to manage it. And, of course, compiling, caching and loading the code takes time.
As something to think about for the future, this entire mechanism can be replaced with a much simpler one:

Add a hash(seed) method to each value vector.
Here, iterate over the list of vectors.
Call the hash() method on each vector.
Combine the results.

Tradeoffs?

The proposed method has no setup cost. It is, instead an "interpreted" approach. The old method has a large setup cost.
The proposed method must make a "virtual" call into each vector to get the value and hash it using the pre-coded, type-specific function. The old method makes a direct call to get the value in a holder, then a direct call to the hash method.
The proposed method is insensitive to the number of columns (other than that it increases the size of the column loop.) The old method needs special care to handle the extra code.

The proposed method would be easy to test to see which is more efficient: (large code generation + direct method calls) vs. (no code generation and virtual method calls). My money is on the new method as it eliminates the holders, sloshing variables around and so on. The JIT can optimize the "pre-coded" methods once and for all early in the Drillbit run rather than having to re-optimize the (huge) generated methods per query.
The improvement is not necessary for this PR, but is something to think about. @Ben-Zvi may need something similar for the hash join to avoid generating query-specific key hashes. In fact, since hashing is used in many places (exchanges, hash agg, etc.), we might get quite a nice savings in time and code complexity by slowing moving to the proposed model.

@paul-rogers thanks for the code review. Your approach seems to be worth trying. I have created Jira for enhancement [1].
[1] https://issues.apache.org/jira/browse/DRILL-6052


clearByTags in Filesystem adapter crashes when .tag file deleted during GlobIterator loop

Hi,
we see the following error when using Filesystem storage adapter and deleting a large set of object from cache with clearByTags() method.
// when file_locking is off in File Zend/Cache/Storage/Adapter/Filesystem.php in line 1363
file_get_contents(my_cache_dir/my_cached_object_4711.tag): failed to open stream: No such file or directory
// when file_locking is on in File Zend/Cache/Storage/Adapter/Filesystem.php in line 1327
fopen(my_cache_dir/my_cached_object_4711.tag): failed to open stream: No such file or directory

It is not that easy to reproduce but occurs as follows:

the GlobIterator in clearByTags() looks for all .tag files which holds the cached item tags information
while looping through these items, another process deletes one item (and its .tag file) which is also prior found by the GlobIterator
clearByTags triggers an error at $this->getFileContent($pathname) because fopen() or file_get_contents try to open a non existing file (not existing anymore)

Should be simple be avoided by adding
if (!file_exists($file)) { // or !$glob->valid()?
    continue;
}

to the foreach loop in clearByTags(), but is this right?
I also can submit a PR, but until now i do not have found a way to reproduce for a unit test
cheers

This issue probably also occurs in the other clearBy* methods where the GlobIterator is used as well. There is no usage of the valid() method in these.

hi @skors - thanks for your bug report!
This one is really hard to solve and test and it can happen on every function looping over different items.
A simple file_exists doesn't fully solve the issue as first the result of file_exists will be cached by PHP itself and calling clear_stat_cache would totally degree performance and secondly there is still a possible race condition between file_exists and reading the file.
A better solution would be to catch the error on reading the file and afterwords check if the reason of the error is a missing file. Than ignore the error in this case. For removing files there is already a the method Filesystem::unlink that works this way.

@marc-mabe okay. I'll try to work on it and maybe you can take a review if i have understood you correctly

Nice thanks

@skors any news ?

@marc-mabe yes, just give me a few days

@marc-mabe please see bugfix/clear-by-tag_on_filesystem-storage branch at skors/zend-cache
https://github.com/skors/zend-cache/tree/bugfix/clear-by-tag_on_filesystem-storage
I've added tests which can reproduce the error now


yarn install command is not downloading .plist file for frameworks

I am using yarn in stall command for installing react native package. I am using react naive version 0.61. Using yarn I am not able to download info.plist file for react native iOS framework(RCTVibration). While using npm command I am able to download these files.
Using nom command RCTVibration:

Using yarn command:

Can you tell me reason for not downloading plist file using yarn command

Just ran into this myself. did you manage to solve it?

same issue is appearing for me.  did you manage to solve it?

same issue is appearing for me.  did you manage to solve it?


Update SDN and SSI links in readme

Codecov Report

Merging #345 (5d58884) into master (24d5c7c) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 5d58884 differs from pull request most recent head 9d61a9e.


Error: Password reset for {account} was not successful

I am testing out the LAPS.sh script.  I have the extension attribute in place and have manually created {account} on the machine.
I manually run the policy with the script and I receive:
Running LAPS...
Current password not available, proceeding with forced update for {account}
Verify new password for {account}
Error: Password reset for {account} was not successful
Not quite sure where to look for troubleshooting. Do you have any suggestions?

The above log was from the LAPS log created by the script.  However the jamf.log in /var/log says that the current account do not have the appropriate privileges.
The API account was set as a full admin with all boxes checked for testing.  The JSS local admin account should also have all the appropriate permissions as well.  Let me know if you have any ideas!

I ended up hardcoding the api user and pass in the script, not via parameters. That seemed to work well for me, @icsy7867.


Sending files to Influxdb not all data are received in Database - Wrong dateTime used

I have a set-up where data are send to a Influx DB I am hosting on my own Raspberry.
When several files are uploadet it look like not all files are updated into Influxdb.
In my case the enviro log tell that the files are uploaded
2022-12-11 16:25:34 [info     / 112kB]   - uploaded 2022-12-11T16:09:55Z.json to influxdb
2022-12-11 16:25:35 [info     /  97kB]   - uploaded 2022-12-11T16:12:32Z.json to influxdb
2022-12-11 16:25:35 [info     /  82kB]   - uploaded 2022-12-11T16:14:57Z.json to influxdb
2022-12-11 16:25:36 [info     / 110kB]   - uploaded 2022-12-11T16:20:01Z.json to influxdb
2022-12-11 16:25:36 [info     /  95kB]   - uploaded 2022-12-11T16:25:28Z.json to influxdb
But when I make a select in the database I only see 3 inserts. When I convert the time for the 3 rows, I can see that the time is when data is updated not when messured.
time                device value

(11-12-22 16:25:34)<PHONE_NUMBER>000000000 enviro 140.22
(11-12-22 16:25:35)<PHONE_NUMBER>000000000 enviro 44.64
(11-12-22 16:25:36)<PHONE_NUMBER>000000000 enviro 49.48

@niksdk  Are you using 0.0.9 version?  As the code in their for influxdb desitination seems to take the timestamp from the readings as opposed to the time of upload which should give you the correct result.

Thanks, I have now updated to latest version and the time is correct in the Database.
But I see other problems, which I will create another issue for.


Teleporter spawnflag 4 & 8 issues

Spawnflags 4 & 8 add Z offset to the destination origin depending on how low/high you hit teleport trigger in relation to it's origin -> Z height inconsistencies at destination.

Fixing this could potentially break maps, so it's probably best to leave them alone. Instead we could add a new spawnflag that fixes this behavior.


[Meta] RTL / BiDi support

[ ] #1025: bugs in the experimental mml3.js extension
[ ] UI issues

#628: menu location)
#601: mixing RTL and LTR in the UI

[ ] #474: Complex Layout (e.g., Unicode characters)
[ ]  #610: RTL support in MathML

hacks for TeX input: https://github.com/mathjax/MathJax/issues/610#issuecomment-135366695
[ ] #1308: support mirrored roots

I have written dirty code, maybe useful for now:
var texts = document.querySelectorAll(".mjx-mtext");
for (var i = 0; i < texts.length; i++)
    if (textContainArabic(texts[i].innerText))
           texts[i].innerHTML = texts[i].innerText;


add disableInstall

I see your intention here, but that iframe request is actually done only first time when AppCache didn't cache anything yet. Once AppCache is installed, that iframe page is also cached in it (master page), so network request is done only once.

This is true when the page route isn't change
When the route change the are requests to get the app cache file. Only when the request is 404 its get the file from the cache

@zamboney AppCache doesn't work that way. iframe's .html file is the master entry and it's always cached and returned from cache whatever way you request it and dynamic routes doesn't affect that.
Do you mean that when you use iframe dynamic routes such as /about?what=ever aren't cached? Without iframe (using manifest attribute on those page) they indeed are cached because they became master entries, but that isn't good idea because AppCache has storage limit
and putting every route to will case the quote to exceed. Also on AppCache update, browser will be downloading all those pages, say 100 of them, which is absolutely bad for users' traffic.

there are been cache but it's still make a request to get the data. only when offline it's go to the cache storage and get the data from there.
i tested it on fiddler and there were a request to the server when there was an internet connection. when there wasn't an internet connection the file that was on the app cache get from the offline cache storage.
my solution get the file from the storage even if the was an internet connection

I don't get it. How file from AppCache can be loaded from network? And what exact file you mean? Because I don't follow. Please provide an example of AppCache which has described behavior and explicitly to the file in AppCache which is loaded from the network instead from the cache.

i'm using angular2 and when i'm on the base route there is no request to to server and when i'm route to nested route or dynamic route there is a request to server...
i fork angular2-webpack-starter
clone https://github.com/zamboney/angular2-webpack-starter
run npm install && npm run webpack-dev-server
open fiddler or any other sniffer
then do to about or home  and press reload a couple of time
you will see that the js files is been loaded from the server

@zamboney Okay, I'll check it out. Thanks for the example! I hope to resolve this issue.

i resolve it by putting an absolute path on the manifest html attribute... also i don't know how you can resolve it because the iframe dynamically loading in after the javascripts files.
maybe you could accept my pull request until you figure out the solution yourself...

also i don't know how you can resolve it because the iframe dynamically loading in after the javascripts files.

That doesn't affect anything when AppCache is already installed.

maybe you could accept my pull request until you figure out the solution yourself...

I don't tend to introduce features without deeply thinking about it. This applies too all features: which I implement and from other people.
@zamboney btw, have you tried to set publicPath to offline-plugin? e.g this:
  new OfflinePlugin({
    relativePaths: false,
    publicPath: '/'
  })

nope it didn't work

Well, i just checked it. So instead of doing what you are proposing here you can just list all needed routers in cache. This will be better and preload them alongside with otherwise. In you solution it loads those routes only when you navigate to them. Plus listening all routes will add them to the ServiceWorker cache too, while in you solution it won't.
Here is code example:
new OfflinePlugin({
  caches: { main: [':rest:', '/home'] },
  externals: ['/home']
})

It could be that easy if I had a countable routes. Instead I have a generated route like nested route base on id like 'item/:Id'
So I can't really register all my route in advance

I see. But this option doesn't help you with SW.
Btw, why do you need to cache all routes in your app?

Okay, I merged this. I re-thought all the things here and now I think that it makes sense. After all, this option won't hurt.


taolin

I found android and ios client sdk  is ok,but parse server is empty realised,
my project want to use it , so I implement this
and also add query interface(not in this pull request) for dashboard,it's the first time commit,Look forward to your reply.


(feature) (types) ok cron

Something which would be useful:
ok cron 0 * * * * ~/bin/foo

I can do stuff myself with something like:
ok check "crontab ~/git_src/dev_utils/cron/crontab"

but given I probably want to merge a bunch of crons together... something within bork to handle this would be useful

I'm actually doing this for the moment, so I can pre-populate crons based on one global cron file:
ok check "crontab -l"
if check_failed && satisfying; then
	ok check "crontab ~/git_src/dev_utils/cron/crontab"
fi

I'll worry about per-box crons when it becomes a problem (and maybe submit a PR to Bork to add the feature)

Note to future self: look at the way Ansible does this. It puts a specific known-format comment above the cron line to keep track of it. Maybe bork could do something similar?

This works better than my version from https://github.com/borksh/bork/issues/20#issuecomment-817173654
ok check "diff -q <(crontab -l) $DEV_UTILS_DIR/cron/crontab"
if check_failed && satisfying; then
	ok check "crontab $DEV_UTILS_DIR/cron/crontab"
fi

Actually does a proper diff of the current crontab and the crontab file.

That's a good idea. For the actual type, though — for the purposes of keeping the types idempotent and stateless — I think we will just have to write out each individual crontab line as its own ok cron assertion, and Bork can check if there is anything like it in your crontab (and add it if not). I believe you can pipe stuff into crontab - so that might be the way (though would need to be careful about making sure we are appending to the crontab instead of replacing it wholesale…)


Design is broken after installation

Hi!
Can you provide some more information?
On which environment are you working on?
What is the specific error (is it a 404 on CSS files or something like that?)
Are you using valet or another way to run your server?
Are the assets inside public folder?

OS - Ubuntu 18
PHP - 7.3
No error actually that's why i have given the screen shot
SERVER - Apache
Yes asset folder is present in the public folder

Hmm, no error even in the developer console of the browser?
I feel we should check where the system is looking for assets


Particle Accelerator won't recognize parts in sideways configurations

How to reproduce:
Step 1. Build (or spawn) a particle accelerator in a left or right-facing position.

Step 2. Activate the control computer.

The control computer won't recognize any parts that aren't the fuel assembly, even though all parts are in place and properly rotated.

I figured out how to make this work. The problem is that you can't rotate the control computer once it's been built, and it's impossible to tell which direction the computer will actually be rotated when you start constructing it. If you spawn the control computer in and rotate the wires to face the fuel box, it will recognize the parts in any configuration.


Use UTF-8 by default.

Quoth https://tools.ietf.org/html/rfc7231#appendix-B:

The default charset of ISO-8859-1 for text media types has been
removed; the default is now whatever the media type definition says.
Likewise, special treatment of ISO-8859-1 has been removed from the
Accept-Charset header field.  (Section <IP_ADDRESS> and Section 5.3.3)

Quoth https://tools.ietf.org/html/rfc6657#page-3:

Thus, new subtypes of the "text" media type SHOULD NOT define a
default "charset" value.  If there is a strong reason to do so
despite this advice, they SHOULD use the "UTF-8" [RFC3629] charset as
the default. [...]  However, existing "text/*" registrations that fail to specify
how the charset is determined still default to US-ASCII.

Downside: This will break things that relied on the deprecated ISO-8859-1
default, or media types that default to something that is not a proper subset of
UTF-8.  These use cases will need to carefully provide a default charset.
Upside: it's legal, correct by default for JSON, and encourages good citizenship
in the year 2015 and beyond.
Relates to #308, but does not handle payload-defined encodings such as XML
and HTML.

I like this change with the exception of the bodyAsText dangerous decode. I understand we are used in Japan so it would probably become an issue for them. It shouldn't take a ton of time to make a proper decoder based on the java CharsetDecoder.

I'll contribute a more flexible decoder to scalaz-stream, and we can keep a local copy pending release.

:+1: Do you want to make that a part of this PR or merge this and open a separate issue?

This is going to break stuff vs. current use, unless we buffer the entire body.  Let me see how quickly I can wrap my mind around that decoder.

Sorry I didn't see this sooner: maybe I'm missing alerts now. I think this is good to merge. :+1:
I also think your general decoder is probably as good or better than the utf8decode combinator, at least for our uses.

I want to benchmark my general decoder vs. the utf8decode, but that's no reason to let this bitrot.


Feature Request: Enable Multi-LLM Workflow with Smart Routing Mechanism

Currently, the Claude Dev extension uses a single LLM to handle all coding tasks at any given time. I would like to propose a feature that enables a multiple LLM workflow, where more capable models can assign specific tasks to other specialized models based on their strengths. This smart routing mechanism would allow the extension to utilize the best-suited models for different coding-related tasks, optimizing the overall process.
Feature Requirements:

Smart LLM Routing:
Implement a system where a more capable model (e.g., Claude or GPT-4) acts as a "manager" to route tasks to other LLMs that excel in specific areas (e.g., Copilot for autocompletion, Codex for code generation, etc.).

LLM Task Assignment:
The "manager" LLM should be able to break down complex coding problems into smaller subtasks and delegate them to specialized LLMs that are efficient at specific tasks (e.g., debugging, refactoring, documentation, etc.).

Customizable LLM Integration:
Allow users to integrate different LLMs based on their use case, choosing from a list of supported models, and configure routing rules based on model strengths.

Model Communication Protocol:
Implement a communication layer where LLMs can interact, share context, and collaborate on code-related tasks. The "manager" LLM should maintain the overall context while task-specific LLMs handle subtasks.

Improved Task Efficiency:
The smart routing mechanism should aim to increase efficiency by delegating specific parts of the workflow to models that can handle them faster and more accurately than a single LLM would.

Hmm.
Would something like
https://github.com/lm-sys/RouteLLM serve your purpose in the interim?
This is a large architectural change, which l don't necessarily think would be a great one. It introduces a lot of complexity.
Also, remember that you'd lose the benefit of caching  so might actually end up being less cost effecient and also less intelligent.
I do like the idea of routing to local llms or cheaper models where appropriate.

I think, there should be a smart solution, wich we also can find with ai.
It should be introduced as an option and combine openrouter, chatgpt and other ones for different purposes, like file moving, code and fixing errors.
It would be a really good next step.

Hey @arunkr93 can you pls add this feature suggestion to the new ideas board? https://github.com/saoudrizwan/claude-dev/discussions/categories/ideas This way people can vote on their favorite requests, and it'll help me figure out what to work on next. Thank you


adding 2D directory with a spiral matrix code in java

Adding 2D folder and Spiral matrix code in java
issue solving --> #29
problem link --> https://leetcode.com/problems/spiral-matrix/
comments are added as well

okay


keep the same path after switching from powershell to command prompt

Description of the new feature/enhancement

Proposed technical implementation details (optional)

When I open PowerShell by right-clicking in a folder, it opens in that path, but then when i switch to Command Prompt, it starts from User folder.
I want Windows Terminal to keep the same path after opening Command Prompt or other terminals from the tabs and not switch to their default path. so if i'm working with PowerShell in a specific directory and then open CMD from the same Terminal window, I want PowerShell to pass the current working directory to the CMD.
at least provide this as an option in Windows Terminal settings.
I'm using Windows 11 insider beta and the built-in Windows Terminal
Thanks

Amassing notes here before the end of the day:

https://github.com/microsoft/terminal/issues/3158#issuecomment-764003033
#10940
#8933
#9991
#10614
https://github.com/microsoft/terminal/issues/10105#issuecomment-842231981

I'll come through and turn that into an actual reply tomorrow morning

There is a workaround for this. You can use the "." (dot) notation to pass the current working directory to command prompt. For example, when you're in windows powershell, you can start command prompt with the command  "start cmd ."

There is a workaround for this. You can use the -d option and "." (dot) notation to pass the current working directory to command prompt. For example, when you're in windows powershell, you can start command prompt with the command “wt -w 0 -p “Command Prompt” -d .” or "start cmd ."

I think OP is referring to opening new profiles after running windows terminal from file explorer's context menu

Okay, so lemme get this stright

You right click in explorer (in c:\foo), and "open Windows Terminal here"
You get a PowerShell tab in c:\foo
You open a new Command Prompt tab, via the new tab menu or the command palette or whatever
it opens in whatever cmd.exe's startingDirectory is set to

and you want step 4 to open in c:\foo. Originally, I thought we were tracking this in #8933, but that only applied when the startingDirectory is set to ..
Now, I think you're going to have to do the OSC9;9 thing to emit the working directory, and then wait for #10232 to allow opening a tab/pane with the same directory, but a different profile.
Do I have that right? If so, I'm gonna call this one a duplicate of #10232.

Okay, so lemme get this stright

You right click in explorer (in c:\foo), and "open Windows Terminal here"
You get a PowerShell tab in c:\foo
You open a new Command Prompt tab, via the new tab menu or the command palette or whatever
it opens in whatever cmd.exe's startingDirectory is set to

and you want step 4 to open in c:\foo. Originally, I thought we were tracking this in #8933, but that only applied when the startingDirectory is set to ..
Now, I think you're going to have to do the OSC9;9 thing to emit the working directory, and then wait for #10232 to allow opening a tab/pane with the same directory, but a different profile.
Do I have that right? If so, I'm gonna call this one a duplicate of #10232.

Yes you got it right, I want it exactly like that.
thank you

Awesome, thanks!
/dup #10232


Fix for error: externally-managed-environment

[!NOTE]
We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged.

Description
Without this, the updated python does not allow the packages to be installed with pip install. It may be better to install it with apt-get install -y python3-certbot-dns-cloudflare, but since this is a also used in the update part of the script, changing the method may break things.
Fixes # (issue)
Current version won't update because of pip security. I got this:

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Type of change
Please check the relevant option(s):

[X] Bug fix (non-breaking change that resolves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
[ ] New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites
The following efforts must be made for the PR to be considered. Please check when completed:

[X] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
[X] Testing performed (I have tested my changes, ensuring everything works as expected)
[X] Documentation updated (I have updated any relevant documentation)

Additional Information (optional)
Provide any additional context or screenshots about the feature or fix here.
Related Pull Requests / Discussions
If there are other pull requests or discussions related to this change, please link them here:

Related PR #

https://github.com/tteck/Proxmox/discussions/3300#discussioncomment-9923938
This is not a script problem, this is a one time problem for people that have manually updated their LXC to Debian 12.6.
It requires a one time fix: rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
I don't think we should patch scripts based on this one time problem for people that have manually updated their LXC to Debian 12.6, it is not the scripts responsibility. If you install a new script or update LXCs using the LXC updater script you will not have this problem.

Here is a guide: https://github.com/community-scripts/ProxmoxVE/discussions/555


Fix some mistakes in the example

I think the example had two mistakes in it

oops, just saw this, thanks a lot!


_content files reference the root of the site

When using BlazorTable on a site in the location of http://domain/site/ the _content files are incorrectly referenced as http://domain/_content rather than http://domain/site/_content.
The root cause of this is Table.razor referencing the site root in the HTML, e.g. < img src="/_content/BlazorTable/images/sort-desc.png" />.

Hey, can you see if https://github.com/IvanJosipovic/BlazorTable/issues/154 resolves your issue?

Can you pleases try version 1.13.1 and let me know if this issue is resolved?


attribute name

I consider not to use type as attribute, maybe another libraries use same attribute that will make issues.
better to rename it to wrappedMapType as example ...

Fixed in commit 2a7742e48083b9bb07d47ef63e8323b2ab7b8d7d


ComplexPattern.call doesn't handle duplicate monomers properly

d649159998f17ff644bfcb1418c712b219bfb16e fixed a Python 3 compatibility issue but introduced a bug in ComplexPattern.call. In the check for multiple patterns from the same monomer, pcounts now contains Monomer ids and not the objects themselves, so the line  dup_monomers = [monomer.name for monomer, count in pcounts if count > 1] fails to call .name on those ids. We need to maintain the mapping from id to monomer object.

I should add that an exception is still raised when there are duplicate monomers, but it's AttributeError: 'int' object has no attribute 'name' rather than DuplicateMonomerError.


Future support for SCP03 or alternatives

Hello! I am an open-source JavaCard developer found at https://openjavacard.org/. We have our own GlobalPlatform host toolchain that seems to work well with the OMNI.
I would like to advocate that future rings be shipped with SCP03 or possibly SCP10 by default instead of the current 3DES-based SCP02.
Using the more modern AES-based SCP03 is preferable from a cryptographic perspective and would also allow response authentication and encryption. The workflow could be the same as for SCP02. You could ship with default keys or a printed set of static keys. Open-source tools already support this protocol.
An alternative might be to use SCP10 or one of the other asymmetric protocols. This would be the most modern and secure alternative, but the workflow would likely be more complex. Not all open-source tools support these protocols.
The chip that you are using likely supports all of these protocols. Users can not change the protocol themselves however since that is done using proprietary commands.

Hi @promovicz ,
I am glad to hear that the OMNI ring is working well with your toolchain. Also I want to thank you for the suggestion. Unfortunately, we have decided not to make any changes to current stock but we will take your suggestions into consideration if we make any new JavaCard rings.
I will leave your GH issues open for now.

I am glad to hear that the OMNI ring is working well with your toolchain. Also I want to thank you for the suggestion. Unfortunately, we have decided not to make any changes to current stock but we will take your suggestions into consideration if we make any new JavaCard rings.

Sure! That's all I'm asking for. Thank you for your consideration.

I will leave your GH issues open for now.

Feel free to contact me or OpenJavaCard if you need any advice on open JavaCard development.


Update

I saw the video with logging, when are you guys updating the files with that functionality (even if pre-alpha)?
Also, on the webinar, the karbon_dev file had all the links to all the other files, is this something you guys will be sharing as well?

Very soon. Yes, karbon_dev will be included.

Trying to get through these bugs before the next release. Please feel free to post questions and discuss Karbon in our forum. https://discourse.karbon.fm


feat(juniper): additional juniper unstructured filters

Note additional generic linux program fields are known to be sent crond, rshd,

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


Alert and select css not quite right?

The css of the alert and select field don't seem to be displaying quite right. I'm using ionic in meteor, and perhaps I'm missing an scss import somewhere.

Is there something other than ionic.scss I must import?
client/theme/app.variables.scss
@import '{}/node_modules/ionic-angular/globals.core';

$colors: (
  primary:    #00802f,
  secondary:  #0f0f0f,
  danger:     #e60000,
  light:      #f4f4f4,
  dark:       #222,
  favorite:   #69BB7B
);

@import '{}/node_modules/ionic-angular/ionic.scss';

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!


Get-DbaDbRoleMember stange behaviour

Before submitting a bug report:

[x] Ensure you are able to reproduce it on the latest released version (we release often)
[x] Verified this bug is not already reported in an issue
[x] Verified errors are not related to permissions
[x] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Steps to Reproduce
Call Get-DbaDbRoleMember to a variable then compare it with no assignation.

Expected Behavior
Should return
db_datareader
db_datawriter
Original beaviour of Get-DbaRoleMember (previous version) was returning a PSCustomObject. It now returns a SMO username. Could it be a SMO problem ?
Actual Behavior
Returns
db_datawriter
db_datawriter
Environmental data

PowerShell:

Name                           Value
----                           -----
PSVersion                      5.1.14409.1012
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1012
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

SQL Server:

Microsoft SQL Server 2008 R2 (SP3-GDR) (KB4057113) - 10.50.6560.0 (X64)   Dec 28 2017 15:03:48   Copyright (c) Microsoft Corporation  Standard Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)

forgot to mention: this bug was introduced in 0.9.484

Thanks for the report, Pollus!

Wow, that's a good one. If I change to the old way of returning output (PSCustomObject based on hashtable) it works correctly.
My theory is it has something to do with PowerShell accessing the SMO object by reference instead of creating a copy of it. I tried to do use ($db.Users | Where-Object { $_.Name -eq $member }).PSObject.Copy() to create a copy of the object and that doesn't seem to work "as advertised." It was still accessing by reference.
If that theory holds true, this could be a problem everywhere we are injecting properties into SMO objects and that object is not unique in the output (i.e. Get-DbaDatabase wouldn't have this problem since it's returning Database which is unique in the output). Quickly going through the functions we have, this seems to be a pretty unique situation. Maybe the output should be more of a custom object containing the default properties (e.g. ComputerName) + Role Object + User Object instead of injecting a role name into the user object.

When the result is wrong, the magic is gone. I suggest to return to good old PSCustomObject OR add a new parameter to customize the return object ? Something like -As (PSCustomObject, SMO)
But I don't think it would pass "Qualitee" control ;)

Don't disagree - just need some guidance from @potatoqualitee on what direction she would like this to go and I can get it fixed in development today. Returning that user object definitely has value so I don't think we want to lose out on that. I'm thinking...
[PSCustomObject] @{
    ComputerName = $server.ComputerName
    InstanceName = $server.ServiceName
    SqlInstance = $server.DomainInstanceName
    Database = $db #Database object
    Role = $dbRole #DatabaseRole object
    User = $user #User object
}

Not a bad idea. I'm just not sure about the Batabase object since it's not the current behaviour of other functions.

sorry for  the delay, i'd like to keep smo if possible, let me take a closer look

check out https://github.com/sqlcollaborative/dbatools/pull/4354/files

Does that fix it? I swear I tried commenting out the Select-Default totally and it still had the same behavior. Maybe I'm losing it.

it fixed it on the other one, and i did a quick comparison on this, lemem try again (and ijust fixed the proper output properties)

@pollusb - can you try with this branch? I don't have bad results in either of them, tho I've seen it with ServerRoles

Yes, it works as expected. Thanks !

fab!


refactor(barrel): add barrel - fixes #253

Not sure if this is enough to get everything working. Somehow, when I used npm link here locally, it failed with AoT because it said it couldn't find index.d.ts and the source file index.ts which is odd because they are 100% sure present. Not sure how I can test the AoT stuff?

Yeah npm link doesn't really work with typescript libs :(
If you try it before your update, it should still fail right ?

Can you try with
resolve: {
     modules: [ path.join(__dirname, "node_modules") ]
}

in your webpack config, apparently it fixes the npm link issue

I use SystemJS so not really an idea how I should test it with Webpack though :p. I can always try to run the example here in this repo.

Getting the exact same error when I try to use npm link with master indicating that it can't find ng2-translate.d.ts.

Ok "good", then it's not a problem with your changes

I'm now testing it with the webpack example from this repo.

yeah I think the webpack example is outdated with the last changes from rob

Getting an error when I try to run the example directly (not even without npm link). We should look into updating these examples to the latest Angular and ng2-translate.
For now, it seems that the only way we can test this is by releasing a new version and see what happens. I think not much can go wrong as the tests are still working and it still support ng2-translate/ng2-translate imports. I know it's playing with fire, but it's sad to say, do we have another choice? :s

For now, it seems that the only way we can test this is by releasing a new version and see what happens.

Just realised you could also release a beta version first and then we can test with that one.

Friendly ping :). No rush if you don't have the time to look into it.


In create Internal LB point 7

In create Internal LB point 7 added the below text In Virtual network "lb-vnet",

#please-close


Removes the casing on notifee import

Hey there,
I noticed the casing was capitalized for the Android Permission section when it is lower cased for the remaining parts of the documentation.
This initially confused me thinking there was an instance of notifee that needed to be created.
I'm purposing this change to prevent future confusion.

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

thank you 🙏


fix(components): build fix for components not publishing to npm

Description
Vite was not copying the package.json asset like was webpack before.
Adding basic step to copy package.json into dist folder after building so npm knows to publish this directory

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

v6.0.1
GitHub release

Your semantic-release bot :package::rocket:


Unable to Process Images with TensorRT

@dusty-nv
I am brand new for Jetson, I am following tutorial and able to convert model to onnx:
https://github.com/dusty-nv/jetson-inference/blob/master/docs/pytorch-cat-dog.md
However failed with error (by the way, I already run ./download-models.sh):
_

error:  model file '/resnet18.onnx' was not found.
if loading a built-in model, maybe it wasn't downloaded before.
    Run the Model Downloader tool again and select it for download:

       $ cd <jetson-inference>/tools
       $ ./download-models.sh

[TRT]    failed to load /resnet18.onnx
[TRT]    imageNet -- failed to initialize.
jetson.inference -- imageNet failed to load built-in network 'googlenet'
Traceback (most recent call last):
File "/usr/local/bin/imagenet.py", line 55, in
net = jetson.inference.imageNet(opt.network, sys.argv)
Exception: jetson.inference -- imageNet failed to load network

By the way, there is resnet18.onnx file, please see below:
root@jetson-desktop:/jetson-inference/python/training/classification/models/cat_
dog# ls
checkpoint.pth.tar  model_best.pth.tar  resnet18.onnx
root@jetson-desktop:/jetson-inference/python/training/classification/models/cat_
dog#
The command issued:
root@jetson-desktop:/jetson-inference/python/training/classification/models/cat_
dog# imagenet.py --model=$NET/resnet18.onnx --input_blob=input_0 --output_blob=output_0 --labels=$DATASET/labels.txt $DATASET/test/cat/01.jpg cat.jpg
Could you please let me know what I missed? Any details I need provide.
Thanks
Ziyan

I realized I made mistake for the directory. I am good now.


Update socket.io to version 3

Hi! I've found your library very useful. Any hopes for getting socket.io version bumbed up?
Socket.io published their third version couple of weeks ago but unfortunately version 2 and 3 are not compatible with each other anymore. So this change would require bumping up the major version of this library as well.
https://socket.io/docs/v3/migrating-from-2-x-to-3-0/index.html
Waiting for you opinion :)

Hello there! Thanks for this PR, this is amazing :D.
I'm having one question: do you think the following code is still correct with the v3 API? https://github.com/mfrachet/server-push-hooks/blob/master/packages/use-socketio/src/provider.tsx#L22

Their client API seems be kept the same as on previous version.  Here they are using the same way of getting the socket reference https://socket.io/docs/v3/client-socket-instance#Events
Is this what you meant?
At least the forked version has been working well so far for me:D

Sounds great! Thanks for the feedback and the PR 🚀 . I'm merging this an will add a couple of docs explaining how to use v2 vs v3 :D


Inconsistency of typing-extensions and platformdirs in the dependencies

platformdirs 3.5 has the dependency typing-extensions>=4.5:
https://github.com/platformdirs/platformdirs/blob/3.5.0/pyproject.toml#L49
But euporie has the dependencies platformdirs~=3.5 and typing-extensions~=4.2. These dependencies are incompatible.

Thanks for reporting this.
I've made a new patch release with typing-extensions~=4.5


Add keycloak as oauth2 provider

OAuth2 Keycloak Integration for Apache CloudStack
This project provides an integration between Keycloak, an open-source Identity and Access Management solution, and Apache CloudStack, a popular open-source cloud computing software.
Features
OAuth2 Authentication: Seamlessly authenticate CloudStack users via Keycloak.
Single Sign-On (SSO): Leverage Keycloak's SSO capabilities for a unified login experience across multiple services.
User Management: Centralize user management with Keycloak, simplifying administration and enhancing security.
Customizable Configuration: Easily configure Keycloak settings within CloudStack to fit your specific environment and needs.
Prerequisites

Apache CloudStack 4.15 or later
Keycloak 24 or later
Java 8 or later

Configure Keycloak:
Set up a new client in Keycloak for CloudStack.
Configure roles, users, and mappings as required.
Configure CloudStack:
Update the CloudStack configuration to use Keycloak for authentication.
Restart CloudStack management server if necessary.
Contributing
We welcome contributions to enhance this integration. Please fork the repository, create a feature branch, and submit a pull request.

@harikrishna-patnala I am waiting for your response.

@harikrishna-patnala I am waiting for your response.

Do you have plans to extend this support in UI also ?

of course I will. why don't we add as an option with google and github dropdown list.

@amend07 there are build failures, can you please check and update the PR

of course I will. why don't we add as an option with google and github dropdown list.

yes we can do that

@harikrishna-patnala check it out now.

@harikrishna-patnala I'm waiting your response

@amend07 there are merge conflicts in the PR. Can you please resolve them?

@amend07 there are merge conflicts in the PR. Can you please resolve them and also address any outstanding comments?


Test retry strategy when the node is blocking

Proposed changes
Create a test whose purpose is to check whether the retry strategy works if a node is blocking, by simulating a blocking time larger than the expected duration of the strategy.
Fixes
n/a
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[ ] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have locally run services that could be impacted and they do not present failures derived from my changes

Further comments
n/a

We may investigate if we can replace the get_transaction_receipt with the wait_for_transaction_receipt on open-aea, because it has a timeout and is potentially not affected by blocking node requests.

@0xArdi and I believe that there are two potential solutions:

Replace the get_transaction_receipt with the wait_for_transaction_receipt on open-aea, because it has a timeout and is not affected by blocking node requests. This would also allow us to replace the custom retry logic in our ledger dispatcher, but we would only be able to have a constant backoff.
Create our own wait_for_transaction_receipt method at the open-autonomy so that we do not lose our linear backoff.

(1.) is the cleanest solution, but has the limitation that we would need to wait for an open-aea release before fixing the issue.

Option 1 please.

Marked as a draft until we resolve the issue on open-aea and the fix is included in a release.

Flaky test_attempts_get_transaction_receipt in [WIP] Test retry strategy when the node is blocking main_workflow #5132 is because of a too small value for the retry_timeout, which as a result makes the get_transaction_receipt to timeout before the mocked method gets called and therefore the count does not increase.
We can increase the timeout at the base branch on #1311 after this gets merged.


Unable to query with filter on an Owned Entity

I have a simple class with a property that is mapped as an owned entity.
The class that is used as an owned entity has IEquatable implemented and has some overloaded equality operators.
When I issue a LINQ statement with a Where clause that filters on that owned entity, the following exception is thrown:
Exception message: System.InvalidOperationException: 'The EF.Property<T> method may only be used within LINQ queries.'
Stack trace:
   at Microsoft.EntityFrameworkCore.EF.Property[TProperty](Object entity, String propertyName)
   at lambda_method(Closure , TransparentIdentifier`2 )
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.<_TrackEntities>d__17`2.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

Steps to reproduce
The issue can be reproduced by executing the code below:
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using Xunit;

namespace OwnedObjectsQueryTest
{
    /// <summary>
    /// Entity class
    /// </summary>
    public class Foo
    {
        public int Id { get; private set; }

        public Bar FooBar { get; set; }
    }

    /// <summary>
    /// Bar represents the Entity that is mapped as an owned entity of Foo
    /// </summary>
    public class Bar : IEquatable<Bar>, IEquatable<string>
    {
        private Bar() { }

        public Bar(string value)
        {
            this.Value = value;
        }

        public string Value { get; private set; }

        public bool Equals(Bar other)
        {
            return this.Value == other.Value;
        }

        public bool Equals(string other)
        {
            return this.Value == other;
        }

        public static bool operator ==(Bar left, Bar right)
        {
            return Equals(left, right);
        }

        public static bool operator !=(Bar left, Bar right)
        {
            return !Equals(left, right);
        }

        public static bool operator ==(Bar left, string right)
        {
            return left.Equals(right);
        }

        public static bool operator !=(Bar left, string right)
        {
            return !left.Equals(right);
        }

        public override bool Equals(object obj)
        {
            if (obj is Bar b)
            {
                return Equals(this, b);
            }
            return false;
        }

        public override int GetHashCode()
        {
            return Value.GetHashCode();
        }
    }

    public class FooContext : DbContext
    {
        public DbSet<Foo> Foos { get; set; }

        public FooContext() : base(GetDbContextOptions())
        {
        }

        private static DbContextOptions<FooContext> GetDbContextOptions()
        {
            var optionsBuilder = new DbContextOptionsBuilder<FooContext>();

            optionsBuilder.UseSqlServer(@"Server=.;Database=FooBar;Trusted_Connection=True;");
            return optionsBuilder.Options;
        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.Entity<Foo>().Property(f => f.Id).UseSqlServerIdentityColumn();
            var fooBarBuilder = modelBuilder.Entity<Foo>().OwnsOne(f => f.FooBar);
            fooBarBuilder.Property(fb => fb.Value).HasColumnName("Value");
            fooBarBuilder.HasIndex(fb => fb.Value);
        }
    }

    public class TestCases
    {
        public TestCases()
        {
            using (var context = new FooContext())
            {
                context.Database.EnsureCreated();
            }
        }

        [Fact]
        public void CanStoreAndRetrieveFoo()
        {
            using (var context = new FooContext())
            {
                var f = new Foo();
                f.FooBar = new Bar("something");
                context.Foos.Add(f);
                context.SaveChanges();
            }

            using (var context = new FooContext())
            {
                var b = new Bar("something");

                var result = context.Foos.FirstOrDefault(f => f.FooBar == b);
                Assert.NotNull(result);
            }
        }
    }
}

Using Equals(Bar b)
Note that when I change the query in the testcase to:
var result = context.Foos.FirstOrDefault(f => f.FooBar.Equals(b));
Then a SQL statement is generated without a WHERE clause:
SELECT [f].[Id], [f].[Id], [f].[Value]
FROM [Foos] AS [f]

So the filtering happens in memory, which is not what you want ...  (Also note that f.Id appears twice in the select list).
Using FooBar.Value == Bar.Value
When I change the query in the testcase to:
var result = context.Foos.FirstOrDefault(f => f.FooBar.Value == b.Value);
then the following SQL statement is generated:
exec sp_executesql N'SELECT TOP(1) [f].[Id], [f].[Id], [f].[Value]
FROM [Foos] AS [f]
WHERE [f].[Value] = @__b_Value_0',N'@__b_Value_0 nvarchar(450)',@__b_Value_0=N'something'

(Which I expected, but since I've overloaded Equals and the equality operators, I'd figure that the queries above should also work)
Using Bar.Equals( string s )
When I change the query in the testcase to - and this is very striking -:
var result = context.Foos.FirstOrDefault( f => f.FooBar.Equals("something"));
then, an ArgumentException is thrown saying that I cannot pass an Int32 to the Equals(string) method:
Method 'Boolean Equals(System.String)' declared on type 'OwnedObjectsQueryTest.Bar' cannot be called with instance of type 'System.Int32''

   at System.Linq.Expressions.Expression.ValidateCallInstanceType(Type instanceType, MethodInfo method)
   at System.Linq.Expressions.Expression.ValidateStaticOrInstanceMethod(Expression instance, MethodInfo method)
   at System.Linq.Expressions.Expression.Call(Expression instance, MethodInfo method, IEnumerable`1 arguments)
   at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression)
   at System.Linq.Expressions.MethodCallExpression.Accept(ExpressionVisitor visitor)
   at Remotion.Linq.Parsing.ThrowingExpressionVisitor.Visit(Expression expression)
   at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitor.Visit(Expression expression)
   at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitWhereClause(WhereClause whereClause, QueryModel queryModel, Int32 index)
   at Remotion.Linq.Clauses.WhereClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel, Int32 index)
   at Remotion.Linq.QueryModelVisitorBase.VisitBodyClauses(ObservableCollection`1 bodyClauses, QueryModel queryModel)
   at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.VisitQueryModel(QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitQueryModel(QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.CreateQueryExecutor[TResult](QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Storage.Database.CompileQuery[TResult](QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileQueryCore[TResult](Expression query, INodeTypeProvider nodeTypeProvider, IDatabase database, IDiagnosticsLogger`1 logger, Type contextType)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass15_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQueryCore[TFunc](Object cacheKey, Func`1 compiler)
   at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQuery[TResult](Object cacheKey, Func`1 compiler)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
   at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)

Further technical details
EF Core version: <IP_ADDRESS>
Database Provider: Microsoft.EntityFrameworkCore.SqlServer <IP_ADDRESS>
Operating system: Windows 10
IDE: VS.NET 2017

I've been playing around with this issue a little bit further and added some extra findings in my original message.

Overridden Equals, ==, != are methods on the user class. We cannot look into its implementation because it is not an Expression. Hence we cannot translate it to server. Due to this limitation it causes in-memory evaluation which is also costly operation. Further if you do not have override == then equality of entities in query would be reference equality which will not give correct results. Hence query arrived at that, when you do entity equality then we will make it equality on PK properties so that we can translate it to server and avoid costly client evaluation. Since 2 entity instance with same PK would resolve to same instance in changetracker this matches up how rest of stack works. For Equals we have left it out so that user can actually use custom equality if they want to.
First exception happens because you have navigation being compared to a parameter which will be written on PK equality. Since PK is shadow, we use EF.Property on parameter which causes the exception. It should do client evaluation. It is a bug.
Second case, you are using Equals. Since we cannot translate it, we evaluate on client so you don't see it in SQL. But it will return correct results. Once first case is fixed, it would do similar to what this does.
Third case works because you explicitly specified property comparison and we translated it to server.
Fourth case, we did navigation expansion on f.FooBar. Seems like it caused some issue. This is also a bug. But if fixed it will do client evaluation.

First of all, thanks for your reply.
An owned entity is typically used to represent some kind of Value-Type, and value-types do not have a primary key, since they're not entities.    So equality on PK doesn't work in this case.
I thought that by overriding Equals EF would be able to generate a clause based on that routine, but right now EF is actually 'stealing my identity'.
Isn't there any way that I can define how EF should translate a certain equality operation to sql ?

@fgheysels We discussed this in triage and it seems like most of this issue is about using value object semantics with EF Core, which is covered by #9906. However, some things like implicit conversion operators may still not be recognized by EF. For now, closing as dup of #9906 and we can re-assess after that issue is implemented.


Missing release notes for v2.1.0

I see a tag for v2.1.0
However it looks like there was not any release notes for this. It also appears the artifacts were shipped to maven central
Was this an accidental release? or is this version ready to be picked up with the beta features?

Hi @richeyh. The released build is the final release.
We are working on release notes. The status will then be reported in this discussion.


Deploy Routes With React

In this milestone, I did the following activities:

Deploy links Using React Routes
Fix linters Errors

thank you very much

thank you very much

@cvalencia1991 you're welcome


Hindi font problem

There is problem in arialunicodems.ttf in hindi language. For हिंदी it writes हंदि and then puts the last symbol (semi-circle on top and a straight line after that ) at the last. Basically, the problem is that the first line (|) and a semi-circle on top i.e. |+( {opening bracket rotated 90 degree, search for "choti e ki matra in hindi"} should come before the literal ह but it is coming after it.

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

ID: e542900f-429c-499a-be33-06ed008076fc
Version Independent ID: b7e1af17-8a49-ab34-9dc4-686adc66a357
Content: Arial Unicode MS font family - Typography
Content Source: typographydocs/font-list/arial-unicode-ms.md
Product: typography
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

If you see the following rendering for a correctly typed and encoded text “हिंदी” (copy and paste this one into your editing environment to be sure)—

—then your editing environment doesn’t support OpenType Layout (OTL) for Devanagari. You need to either figure out how to enable your editing environment’s Devanagari OTL support, or switch to another software (eg, Word). It’ll be helpful if you can clarify in what software you’re trying to use this font.


Documentation for installing extensions is wrong

Sry about that, looking at it right now

I was on 0.9 - an upgrade to 1.0.0 fixed the issue for me, thanks! It may be helpful to have a notification to update if there are breaking changes.


Windows Machine File Copy task fails - System error 53 has occurred. the network path was not found.

Hi
I am tried to deploy build artifacts in two different environments in VSTS using two different agents. In my DEV environment deployment is done where I am using default agent but in QA environment I am getting below error, where i am using hosted agent.
Preparing task execution handler.
2017-03-09T10:36:24.4694061Z Executing the powershell script: D:\a_tasks\WindowsMachineFileCopy_731004d4-1d66-4f70-8c05-638018b22210\1.0.39\WindowsMachineFileCopy.ps1
2017-03-09T10:36:31.0042843Z Copy started for - 'Machine-win8'
2017-03-09T10:36:32.1822403Z ##[error]System.Management.Automation.RuntimeException: Copying failed for resource : Machine-win8
2017-03-09T10:36:32.1822403Z
2017-03-09T10:36:32.1822403Z       Failed to connect to the path \Machine-win8 with the user cybage\Machine for copying.
2017-03-09T10:36:32.1822403Z     System error 53 has occurred.
2017-03-09T10:36:32.1822403Z The network path was not found.
please suggest how to resolve this issue.

@mousumid Thanks for reporting the issue. We dont support WindowsFileCopy task in Hosted agent as hosted agent will not able to connect to local machine. Please use private agent for this scenario.

I am closing the issue. Please feel free to reopen if you need any additional information.

So how can one copy files to a hosted server? I use the run script task to run a deploy script that was generated by msbuild but I have a build folder that was created through gulp and isn't part of the deploy script.

Hi,
I also have the same error :
"Failed to connect to the path \IP address with the user Administrator for copying.
System error 53 has occurred.
The network path was not found."
What can the issue?
My agent is installed on my work machine and the distination machine to cope the files is a simple windows server VM on AWS.
Thanks


Make it easy to hover over each icon on the CFF map

It's very hard to get the Nottingham marker to select at present as 'East Midlands' keeps popping up when the cursor is in that vicinity.
Also noticed that when approaching the center of the marker, the hover function reverts to sharing information about the region (i.e. it seems to be acting as if it were hollow)
This may be one ticket, or two. I wasn't quite sure on the best approach.

I think the hole in the marker is causing the problem here...

 Should mean that you can hover more easily.
@ODILMichelle Take a look at https://data.youthfuturesfoundation.org/projects/cff/ if you'd be so kind!
I think the Notts marker issue is a it more involved, as it's down to the location of the hover. I'll raise a separate ticket for that!

New ticket raised to describe the Derby & Nottingham issue #56

Thanks. Looks grand..