Allow custom proxyType setting

Cloudflare has a cool feature allowing you to turn http traffic into tcp traffic which allow you to create a secure tunnel to access Kubernetes' API by exposing it as a socks proxy to kubectl.
Would it be possible to expose the origin.proxyType parameter in the TunnelBinding specs ?

This is new! Sure, I can add it.

Would you mind trying the adyanth/cloudflare-operator:pr-75 image for the operator pod's manager container?
Sample patch command:
kubectl -n cloudflare-operator-system patch deploy cloudflare-operator-controller-manager --patch '{"spec": {"template": {"spec": {"containers": [{"name": "manager","image": "adyanth/cloudflare-operator:pr-75"}]}}}}'

I tried applying the new CRDs but i'm getting an error when Argo tries to apply the new yaml :
CustomResourceDefinition.apiextensions.k8s.io "tunnelbindings.networking.cfargotunnel.com" is invalid: spec.validation.openAPIV3Schema.properties[subjects].items.properties[spec].properties[proxyType].default: Unsupported value: "": supported values: ";socks"
I'm not super familiar with the CRDs definition format but I think it might be caused by the enum not containing an empty value as proxyType allow both "" and "socks" in cloudflare doc ?

The ; should have allowed empty values. Let me check that and get back.

Does it work now?

@adyanth I confirm ArgoCD was happy with the change in CRD.
I tested the feature with the following binding :
---
apiVersion: networking.cfargotunnel.com/v1alpha1
kind: TunnelBinding
metadata:
  name: k8s-apiserver-tunnel
  namespace: default
subjects:
  - name: kubernetes
    spec:
      fqdn: myk8stunnel.domain.tld
      target: tcp://kubernetes.default.svc:443
      protocol: tcp
      noTlsVerify: true # apiserver uses a selfsigned certificate
      proxyType: "socks"
tunnelRef:
  kind: ClusterTunnel
  name: mytunnel

Opened a tunnel on my workstation :
cloudflared access tcp --hostname myk8stunnel.domain.tld --url <IP_ADDRESS>:45812

Patched my kubeconfig :
apiVersion: v1
clusters:
- cluster:
    ...
    proxy-url: socks5://<IP_ADDRESS>:45812

And it works flawlessly with kubectl/lens so far 👍

Perfect!


Is this project licensed correctly?

This project states that is licensed under MIT license, while some of it's dependencies (e.g. OPCFoundation.NetStandard.Opc.Ua.Core ) might fall under GPL v2.
I'm not an expert on software licenses but this seems to be disputed, at least according to this stackexchange post.
I think at least a disclaimer would be helpful here!

It is correct.  We license the .net UA stavk to you under MIT.  As part of this project.


What do you mean, 'another shell'?

This is a nasty one. Albeit it requires multiple lines.

This is a bit more involved then really fits into the style of the rest of the file, so I'm going to decline merging it, but I like the way you think

=-)
Thanks anyway for considering.


Using my own packages

Currently I work with a mono repository setup, and have all my coded functionalities (both python packages and lambdas) split between side-by-side folders, so I can separate responsibilities and reuse code. My desire is to be able to import my own packages and, as seamlessly as possible, deploy those dependencies with Zappa alongside the actual lambda using them.
For now I've been setting a .sh script to copy the files from each of my own required dependencies to the folder of the active virtualenv on the moment of deploy, which works, but starts to get messy and cumbersome when I have to start managing cycles and the dependencies of dependencies (...).
I know setting private npms could be a way to solve my problem, but it seems like much work too. Can zappa package help me somehow? (Sincerelly, I didn't understand it's use from the docs)
Since Zappa does not yet support Layers, what is the recommended approach to doing this?

Layers support is waiting on users taking it for ride and reporting back. If you're interested in it, check https://github.com/Miserlou/Zappa/pull/1752 and report back on the ticket.

Zappa now supports layers.


SPARKC-601 remove SCC - Cloud Envs dependency conflicts

@alexott could you take another look? As discussed we have two jars now, the main (unshaded, modular) and the assembly jar (shaded, fat). I adjusted build section of the docs. In the near future I'm planning to do a bigger, separate section explaining differences in detail.


WHATWG: exlude LATESTRD on RDs

Only the Living Standard should have this paragraph. See https://github.com/whatwg/whatwg.org/pull/344 for context.
We could also exclude this from LS-COMMIT and LS-PR, but it seems fine to me to include it there. (Note that adding LS to include-if would not work, as it's OR, not AND.)

Oh my, the typo. Oh well.

(Note that adding LS to include-if would not work, as it's OR, not AND.)

You can get AND behavior by stacking up some <if-wrapper> elements, btw.


Shadow head/tail pointers

I couldn't get criterion to work - I'd like to see what the new numbers are if you want to either run the benchmark or point me in the right direction with that.

Oh nice, thanks!  Yeah, not sure about the status of criterion these days.  I just skimmed the repo and it looks like development has resumed, but it may be in a broken state.  I'll give it a poke this weekend.
Or potentially investigate a new benchmarking library.  There's probably something available now that wasn't a year ago :)

I managed to get criterion semi-working over the weekend (panics when trying to run the "comparison" tests, but it generates the charts I care about first).  Impressive performance boost!
Master:

Your changes:

I'll merge this soon... I want to do a bit of housekeeping first (namely, trying to get criterion 100% working).  Then I'll merge, update charts and tag a new release.
Thanks!

Bah, Criterion is turning into too much work for now, will tackle it later.  Merging, thanks!

Awesome!
On Mon, May 9, 2016 at 7:30 AM, Zachary Tong<EMAIL_ADDRESS>wrote:

I managed to get criterion semi-working over the weekend (panics when
trying to run the "comparison" tests, but it generates the charts I care
about first). Impressive performance boost!
Master:
[image: screen shot 2016-05-09 at 11 27 18 am]
https://cloud.githubusercontent.com/assets/1224228/15118186/162d3b0a-15d9-11e6-85e9-1ec82035f0ee.png
Your changes:
[image: screen shot 2016-05-09 at 11 27 28 am]
https://cloud.githubusercontent.com/assets/1224228/15118198/2442a31a-15d9-11e6-8c02-96b585ac9fdd.png
I'll merge this soon... I want to do a bit of housekeeping first (namely,
trying to get criterion 100% working). Then I'll merge, update charts and
tag a new release.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/polyfractal/bounded-spsc-queue/pull/6#issuecomment-217898739


[FEATURE]: Adding OFIQ quality assessment for facial image

Description
Since the studies show that quality of the facial image impacts on recognition accuracy, it would be nice facial image QA tool integrated in DeepFace. BSI have developed an open-source refrence implementation (https://github.com/BSI-OFIQ/OFIQ-Project) of ISO/IEC 29794-5 which would fit well in DeepFace.
Additional Info
No response

Isn't it a c / c++ library?


Test - CodeQL Test for C# fails

@NilsPur can you have a look at how to get the test running?
https://github.com/CactuseSecurity/firewall-orchestrator/runs/4876536690?check_suite_focus=true
  "/home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/FWO.sln" (rebuild target) (1) ->
  "/home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/lib/files/FWO.DeviceAutoDiscovery/FWO.DeviceAutoDiscovery.csproj" (Rebuild target) (13) ->
    /usr/share/dotnet/sdk/3.1.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(234,5): error NETSDK1005: Assets file '/home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/lib/files/FWO.DeviceAutoDiscovery/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v6.0'. Ensure that restore has run and that you have included 'net60' in the TargetFrameworks for your project. [/home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/lib/files/FWO.DeviceAutoDiscovery/FWO.DeviceAutoDiscovery.csproj]

      0 Warning(s)
      12 Error(s)

  Time Elapsed 00:00:02.01
  Exit code 1
  Attempting to locate build script
  Error: Could not auto-detect a suitable build method
  Error: We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps.  Failure invoking /opt/hostedtoolcache/CodeQL/0.0.0-20211208/x64/codeql/csharp/tools/autobuild.sh with arguments .

        Exit code 1 and error was:

        Error: Could not auto-detect a suitable build method

  CommandInvocationError: Failure invoking /opt/hostedtoolcache/CodeQL/0.0.0-20211208/x64/codeql/csharp/tools/autobuild.sh with arguments .

        Exit code 1 and error was:
        Error: Could not auto-detect a suitable build method
      at runTool (/home/runner/work/_actions/github/codeql-action/v1/lib/codeql.js:731:15)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
      at async Object.runAutobuild (/home/runner/work/_actions/github/codeql-action/v1/lib/codeql.js:466:13)
      at async runAutobuild (/home/runner/work/_actions/github/codeql-action/v1/lib/autobuild.js:29:5)
      at async run (/home/runner/work/_actions/github/codeql-action/v1/lib/autobuild-action.js:57:13)
      at async runWrapper (/home/runner/work/_actions/github/codeql-action/v1/lib/autobuild-action.js:70:9)

fixed itself


add redis client

What and why?
Add functionality to invalidate redis cache when an exercise goes live
How to test?
Trello
https://trello.com/c/nKZNVODc/2440-ability-to-invalidate-collection-exercise-redis-cache-from-rops

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

/deploy harrisonj

Some slightly improved 'how to test' instructions on this card could be helpful too for the testers.  Just letting them know to log in a minute or two before the golive time, keep refreshing the page then within a minute of the go live time to notice that it should now appear.

/deploy harrisonj


DATA: For each EquationX, produce a finite list of scenarios (up to relabeling) that could contradict EquationX

For instance, if X = 4, so the equation is x = x * y, any counterexample would be of one of the following three scenarios after relabeling:

1 = 0 * 0
1 = 0 * 1
2 = 0 * 1

Such an enumeration can be achieved by first finding out all assignments up to relabeling of the input variables (this is essentially partitions of the input variables, and given by Bell numbers), and then deciding whether the LHS and RHS are equal to one of the input variables, or to completely new variables (with all possibilities possible, as long as the LHS and RHS are being assigned to different variables).
This would be the first stage of an implication proving strategy proposed in  https://leanprover.zulipchat.com/#narrow/stream/458659-Equational/topic/Ideas.20for.20unknown.20implications .  Namely, to prove that EquationY implies EquationX, it suffices to show, for each of the scenarios associated with a counterexample to EquationX, that this scenario together with EquationY (and all the equations known to be implied by EquationY) leads to a contradiction.
By precomputing a list of these scenarios for each EquationX in some text file, other algorithms could then easily apply the above strategy.

No longer appears relevant for the remaining implications.


update hello-webmessenger.md

Typo identify

 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.


JavaScript not working in production

Reopening issue 348 by @iz5clj from the old foundation-sites-6 repo.

I have installed the zurb template:
$ foundation new --framework sites --template zurb
Running the watch task works perfectly:
$ foundation watch
I have added a simple tooltip, and everything is just fine.
Then I build for production:
$ foundation build production
And now javascript is not working.
What am I missing?

@iz5clj, can you tell us if you see any JavaScript errors?

tried commands above, after installing foundation-cli and running foundation build production or simply foundation build  getting

[20:34:42] Finished 'copy' after 127 ms
/home/tvrtko/programming/foundation-test/node_modules/gulp-autoprefixer/node_modules/postcss/lib/lazy-result.js:157
this.processing = new Promise(function (resolve, reject) {
^
ReferenceError: Promise is not defined
at LazyResult.async (/home/tvrtko/programming/foundation-test/node_modules/gulp-autoprefixer/node_modules/postcss/lib/lazy-result.js:157:31)
at LazyResult.then (/home/tvrtko/programming/foundation-test/node_modules/gulp-autoprefixer/node_modules/postcss/lib/lazy-result.js:79:21)
...

also foundation -v shows help screen and not version or anything similar. (installed foundation-cli version is 2.0.1, foundation in bower_components is 6.1)

$ npm -v
1.4.28
$ node -v
v0.10.37

May be related to https://github.com/postcss/postcss/blob/f2a78af88e405419a4974a2cbb21293a41fa6108/CHANGELOG.md#50-president-valac

Remove Promise polyfill for node.js 0.10.

Yeah, it looks like PostCSS (used by Autoprefixer) dropped Node 0.10 support. If you can upgrade to 0.12, or straight all the way to 5.x (the newest release) that would be good.


Update cluster

Hi there. First of all, thanks for this incredibly amazing project!! This is such a helpful and well designed code.
This is not an issue but rather a question, so sorry about using this channel for this:
Is there a way of efficiently updating the kmeans cluster when new data arrives? Im guessing the answer is no and I suppose I have to regenerate the kmeans cluster, as it would be the usual path technically, because new data can slowly change all centroids.. Is that correct or there is some clever way of doing this?
Thanks!

The k-means training can be rerun using new data with a single iteration, as follows.

Set the current centers as the initial centers
Slowly update the centers, i.e., instead of replacing the old centers with new ones, update the old centers gradually in the new direction

Then all vectors can be reassigned to the new center. It may be enough to update only the vectors whose centers have been updated significantly.

Thanks!

Hi, another question if you don't mind.
Can I use the pqencoder to reduce dimensionality of a feature database and then use sklearn.neighbors.NearestNeighbors on the encoded vectors?
Thanks

You need to reconstruct the original vector from a PQ-code. See X2_reconstructed = encoder.inverse_transform(X2_pqcode) in the tutorial https://github.com/DwangoMediaVillage/pqkmeans/blob/master/tutorial/1_pqkmeans.ipynb
Then you can run sklearn search on the reconstructed vectors.


Add pronouns in profile

Related Issue
Adds pronouns during sign up and profile page as an optional field.
Closes #238
Testing

Stakeholders
@dherbst , could you please check this?

Committed your changes!

Thanks for doing this one!

Thankyou for giving me a chance! 🎉


Copying Original Quote from the scripture pane

In GatewayEdit Scripture pane, it is very difficult to select multiple Original language word using a mouse for copying and pasting in Original Quote field in tN card.
Users should be able to select text the way they would with any text. The lexical data should not show until the user clicks the original language word (the same way that tC handles this).
DoD:
Users can select original language text the same way they would in any text box. Users can click the original text lexeme to see the lexical data.

Looks good in v2.3.0 build bd4a646 QA. Users are now able to copy text from the scripture pane.

I agree that user can copy the Original language text from scripture card and paste it in tN card. Tested with v2.3.0 build bd4a646 QA.


Issue 2 add ci test

Resolving   issue #2

I messed up with commits squashing for really

python setup.py install part may fail with import errors, I suggest to modify setup.py module so that it will be free of importing uyaml package. You can use regex to read version, package_name, etc.

python setup.py install part may fail in CI with import errors, I suggest to modify setup.py module so that it will be free of importing uyaml package. You can use regex to read __version__, __package_name__ variables, etc.

Already done, changes are not required


Rename '--restart' option to '--recreate-pods'

@technosophos I created a new PR for renaming --restart to --recreate-pods

Perfect. Thanks.


First example for Media Player in docs is duplicate of button example

Super minor but i noticed that the first example in the docs for the media player is currently "A slider button that can control the brightness of a light", which is a duplicate of the button example rather than being an example for the media-player

Indeed thank you for the feedback! I've removed it.


Not working with RN 0.62.2

Describe the bug
I'm using react-native: 0.62.2 with this lib v0.1.3 and when I try to build it in XCode I get the Multiple commands produce (...) /Assets.car error previously reported in https://github.com/crowdin/react-native-sdk/issues/9
I'm not trying the example app, I'm just implementing the lib.
I've tried to add install! 'cocoapods', :disable_input_output_paths => true to my podfile and the error no longer appears but instead is replaced by another
(...)/node_modules/@crowdin/react-native-sdk/ios/Crowdin.m:51:17: No known class method for selector 'startWithConfig:'
To Reproduce
Steps to reproduce the behavior:

yarn add @crowdin/react-native-sdk
cd ios && pod install
go to Xcode and build project

Expected behavior
Expect the app to run without errors
Environment (please complete the following information):

OS: macOS
React Native version: 0.62.2
Crowdin React Native SDK version: 0.1.3

Smartphone/Simulator/Emulator (please complete the following information):

Device: iOS
OS: 12.5

Thanks

Hi @marcoj!
This React Native SDK currently in beta, so unfortunately some bugs might happen. Try to use our other library - OTA JavaScript Client, which also can be integrated into RN application.

Hi @marcoj!
This React Native SDK currently in beta, so unfortunately some bugs might happen. Try to use our other library - OTA JavaScript Client, which also can be integrated into RN application.

That's exactly what I'm trying right now and it appears that it'll be the implemented solution.
Thanks

That's exactly what I'm trying right now and it appears that it'll be the implemented solution.
Thanks

Hello, I'm also experiencing the same issue with iOS (...)/node_modules/@crowdin/react-native-sdk/ios/Crowdin.m:51:17: No known class method for selector 'startWithConfig:'
Environment:
OS: macOS
React Native version: 0.64.3
Crowdin React Native SDK version: 0.1.3
Smartphone/Simulator/Emulator (please complete the following information):
Device: iOS
OS: 14.3
Just thought I should mention it here as well, but I'll try out the OTA JS client as an alternative.


fix(rate limits): Adding local server back to whitelist

:tada: This PR is included in version 1.22.1 :tada:
Your semantic-release bot :package::rocket:


How to use rows/vols/values without aggregators

Hello,
by adding VALUES data ( intersetion ) my script does not work, did i forget something ??
<script type="text/javascript">
    $(function(){
        $("#output").pivot(

            [

                        {Analysis: "A1", Parameters: "P1", Data: "15.26"}

            ],

            {
                rows: ["Analysis"],
                cols: ["Parameters"],
                values: ["Data"]
            }
        );
     });
</script>

values is not a valid parameter... did you mean vals ?

Yes
I would like just to display :
Col
Row value
Value is the real intersaction value not 1 as the examples shows
Thank you so much
Le 14 mars 2017 14:06, "Nicolas Kruchten"<EMAIL_ADDRESS>a
écrit :

values is not a valid parameter... did you mean vals ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/642#issuecomment-286431501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATitkFLvNwVO2aM0u7WD0fPGJb4hc6xWks5rlp8AgaJpZM4MHj3v
.

See the answer to #650


Refactor catalogue category e2e tests #314

Description
Refactors catalogue category e2e tests. Also applies changes to all refactored tests so far to match the style of #31.
Notes
Removed tests:

test_create_catalogue_category_with_properties_with_allowed_values - Tested by the new test_create_leaf_with_properties
test_partial_update_catalogue_category_change_from_leaf_to_non_leaf - With the way it is currently written test_partial_update_is_leaf_no_children should be enough for leaf -> non leaf or non-leaf -> leaf as it doesn't care about the value change itself, just whether it is allowed to modify it
test_partial_update_catalogue_category_add_property, test_partial_update_catalogue_category_remove_property and test_partial_update_catalogue_category_modify_property replaced with one test updating properties (add and removal is irrelevant here)

Testing instructions
Add a set up instructions describing how the reviewer should test the code

[ ] Review code
[ ] Check Actions build
[ ] Review changes to test coverage

Agile board tracking
Closes #314

Addressed further unresolved comments on https://github.com/ral-facilities/inventory-management-system-api/pull/315/commits/1a20bbf8d8c2857249145490835f4e43a17b467e.

Could you please also run the black formatter as it has some things to reformat? Thanks

Could you please also run the black formatter as it has some things to reformat? Thanks

I did on the latest force push.

Could you please also run the black formatter as it has some things to reformat? Thanks

I thought I did on the latest force push?

@VKTB Thanks for being thorough and spotting these, I wouldn't have myself.


Requested Design revamfication

PR Fixes:

1 add app sidebar
2 fix course page
3 fix all design bugs (includes theme and design fixes)

Resolves #888
Checklist before requesting a review

[✅] I have performed a self-review of my code
[✅] I assure there is no similar/duplicate pull request regarding same issue

https://github.com/user-attachments/assets/0a9a297c-f3aa-4675-a580-d5119ce2cc2d

PR Fixes:

1 add app sidebar
2 fix course page
3 fix all design bugs (includes theme and design fixes)

Resolves #888
Checklist before requesting a review

[✅] I have performed a self-review of my code
[✅] I assure there is no similar/duplicate pull request regarding same issue

Take.your.development.skills.from.0.to.100.and.join.the.100xdevs.community.-.Google.Chrome.2024-08-18.19-57-35.mp4

@hkirat it works or anything else is needed ?

@An525ish looks good, fix lock

@An525ish looks good, fix lock

can you please elaborate what lock are you talking about ?

@An525ish looks good, fix lock

can you please elaborate what lock are you talking about ? @siinghd


Multiple domains/subdomains

We need to check to make sure it's. possible for a card to have multiple domains/subdomains.

I think I have it figured out. I've merged my code edits to teh toolkit page. @Lore3581 can you do some testing and flag anything that might not be working as a comment on this issue?  It's a lot of very ugly nested for and if statements, but it seems to be working on my end. Otherwise if you think it's good you can close this issue.

@cblevins I tried adding all of the domains and subdomains to the test card double-check the filtering functionality and various combinations of domains and subdomains... in doing so, I somehow broke the filtering that was initially working. The formatting still shows up correctly (thank you so much for figuring that out!), but the filters no longer include the test card in any of the searches. I'm not sure what I did that might have broken it, especially as this was the commit to our test card that seemed to break the filtering: https://github.com/da4asandbox/curricularsite/commit/d2ba7629c446ae90e206698459e8509f7f7d8455
I experimented with having ChatGPT help me revise the Javascript, as I suspect that was likely the culprit. After a few attempts of revisions, I think I might have gotten it to work. Would you mind checking again to make sure everything is still showing up correctly on your end from a design standpoint and that the filtering is working as well?
Additionally, the hyperlinks on the cards with only a single domain were also initially broken and redirected to the homepage:

I believe I was able to resolve this by adding:
https://github.com/da4asandbox/curricularsite/edit/master/_pages/toolkit.md#152
and
https://github.com/da4asandbox/curricularsite/edit/master/_pages/toolkit.md#154
Would you mind also checking that all of the domain URLs are directing where they are supposed to on your end?
If both of those revisions are showing up properly on your end, feel free to mark this as resolved!


Remove buildah version from images

The version of buildah no used by github supports this, so its probably safe to just use by default

Thanks!


Expo app on iphone doesn't see server.

I'm using windows 10 and iphone 5s(if that matter) to test expo app. Both systems are connected to same router(i can ping iphone from windows), but when i scan qr i get "Error while loading: The request timed out." (code -1001).
Is there anything more i have to do with network settings to reach my expo server from phone?

Hi! Sorry to hear that you are having issues with your network configuration. Unfortunately due to time constraints I'm going to be closing issues on this repo which do not use the issue template and have not confirmed following the network troubleshooting section of the user guide. I would recommend starting there, and maybe also try installing XDE which is able to bypass some networking issues for you.

Thanks @dikaiosune , installing the XDE resolved the problem.

Same issue here, used to work like a charm with the Expo XDE Windows client using a tunnel but now it does not even work via LAN or localhost


Examples not running

Bug Report
Tried to follow the tutorials to run some examples; but stumbled upon some issues
Current Behavior
After cloning CAPI repo, in a terminal window I run:
~ deno run -A https://deno.land/x/capi/main.ts

Warning Implicitly using latest version (v0.1.0-beta.31) for https://deno.land/x/capi/main.ts
Capi server listening at "http://localhost:4646/"

in another terminal window (same dir) I run:
~ deno task run ./examples/bonded.ts

Task run deno task capi -- deno run -A -r=http://localhost:4646/ "./examples/bonded.ts"
Task capi deno run -A main.ts "--" "deno" "run" "-A" "-r=http://localhost:4646/" "./examples/bonded.ts"
Reusing existing Capi server at "http://localhost:4646/"
error: Import<EMAIL_ADDRESS>failed: 500 Internal Server Error
    at file:///home/wirednkod/Documents/repos/parity/ts/capi/examples/bonded.ts:2:25
inner command exited with status code 1

Expected Behavior
Example should execute
Steps To Reproduce
See above
Environment

Deno: Deno 1.32.1
OS: Ubuntu

Additional Information

Looks like our timeout is too short for downloading the binary for the first time.

@tjjfvi I tried to repro this issue in a fresh dev container and it seems to be a binary issue
vscode ➜ /workspaces/capi $ deno task capi bin polkadot v0.9.39-1 -- --dev
Task capi deno run -A main.ts "bin" "polkadot" "v0.9.39-1" "--" "--dev"
Downloading polkadot/v0.9.39-1/x86_64-unknown-linux-gnu
<jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
<jemalloc>: (This is the expected behaviour if you are running under QEMU)
2023-03-29 12:51:30 Parity Polkadot
2023-03-29 12:51:30 ✌  version 0.9.39-1-298b4aefe1b
2023-03-29 12:51:30 ❤  by Parity Technologies<EMAIL_ADDRESS>2017-2023
2023-03-29 12:51:30 📋 Chain specification: Development
2023-03-29 12:51:30 🏷  Node name: wise-skate-3705
2023-03-29 12:51:30 👤 Role: AUTHORITY
2023-03-29 12:51:30 💾 Database: RocksDb at /tmp/substrateh3pUjN/chains/dev/db/full
2023-03-29 12:51:30 ⛓  Native runtime: polkadot-9390 (parity-polkadot-0.tx21.au0)
2023-03-29 12:51:33 [0] 💸 generated 1 npos voters, 1 from validators and 0 nominators
2023-03-29 12:51:33 [0] 💸 generated 1 npos targets
2023-03-29 12:51:33 Took active validators from set with wrong size
2023-03-29 12:51:33 Took active validators from set with wrong size
2023-03-29 12:51:33 Took active validators from set with wrong size.
2023-03-29 12:51:33 Took active validators from set with wrong size
2023-03-29 12:51:33 Cannot create a runtime error=Other("cannot deserialize module: UnknownOpcode(192)")
Error:
   0: Failed to get runtime version: cannot deserialize module: UnknownOpcode(192)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Thank you @kratico. I get an error outcome when I run the same command:
➜  capi git:(main) deno task capi bin polkadot v0.9.39-1 -- --dev

Task capi deno run -A main.ts "bin" "polkadot" "v0.9.39-1" "--" "--dev"
Downloading polkadot/v0.9.39-1/x86_64-unknown-linux-gnu
error: Uncaught Error: Invalid cross-device link (os error 18): rename '/tmp/0dd51302' -> '/home/wirednkod/.cache/capi-binaries/polkadot/v0.9.39-1'
  await Deno.rename(tempFile, binaryPath)
  ^
    at async Object.rename (ext:deno_fs/30_fs.js:190:3)
    at async download (https://raw.githubusercontent.com/paritytech/capi-binary-builds/ee456af/download.ts:35:3)
    at async Object.default [as bin] (file:///home/wirednkod/Documents/repos/parity/ts/capi/cli/bin.ts:11:

I believe that the binary execution fails before reaching the timeout deadline
So, things to fix

linux binary build
capture binary failure before that deadline

Oh yeah, that's another issue. Though the timeout issue on downloading still needs to be fixed for people with slow networks.

Oh yeah, that's another issue. Though the timeout issue on downloading still needs to be fixed for people with slow networks.

IMO there should not be a timeout hard coded for downloading packages/binaries etc;

Yeah, there shouldn't be a timeout for downloading. The timeout is there for the initialization of the binary, which currently includes the downloading.


taskboard.db missing

taskboard.db file missing
https://github.com/kiswa/TaskBoard

I have no idea what you mean, can you elaborate?
Also, is this a duplicate of #314?

I have checked and tried to install your taskboard script from my server but I couldn't able to find you taskboard related database file. Can you provide me Taskboard(taskboard.db) database?
Is it possible to use MySQL database instead of sqllite?

The database file is generated the first time you log into TaskBoard, this is why the api directory needs write permissions.
And yes, you can use any of several different database options that RedBeanPHP supports. See #105.

Ok I will check and let you know status. Thanks for your support.

@muruganmap, everythink good ? Does the dabase correctly generated when compiling ./build-all ?

Closing due to lack of response. Will re-open if needed.
Thanks @bbichero for bumping these old issues so I can close them.


Javadoc Enhancements

Details
This is a Documentation change ONLY.
Context
This is an update for Gradle Javadocs:

Add dark mode
Publish a style guide
Highlight code samples
Publish as HTML5 (not HTML4)
Fixes https://github.com/gradle/gradle/issues/25353
Fixes https://github.com/gradle/gradle/issues/24106
Fixes https://github.com/gradle/gradle/issues/27149

Reviewers:
Let me know what you think.

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

BuildDistributions build

I was expecting to find information on how to properly link from Javadocs in the code base to the User Guide. Did I miss it?

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

BuildDistributions build


add trend filter

Signed-off-by: lhy1024<EMAIL_ADDRESS>
What problem does this PR solve?
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has configuration change
Has HTTP API interfaces change (Don't forget to update API document)
Has persistent data change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to update the tidb-ansible repository
Need to be included in the release notes

Codecov Report

Merging #2093 into master will decrease coverage by 0.31%.
The diff coverage is 70.27%.

@@            Coverage Diff             @@
##           master    #2093      +/-   ##
==========================================
- Coverage    77.3%   76.98%   -0.32%
==========================================
  Files         193      193
  Lines       19573    19610      +37
==========================================
- Hits        15130    15096      -34
- Misses       3332     3387      +55
- Partials     1111     1127      +16

Impacted Files
Coverage Δ

server/schedulers/balance_region.go
84.67% <100%> (+0.12%)
:arrow_up:

server/schedule/filter/filters.go
76.11% <69.44%> (-1.04%)
:arrow_down:

pkg/metricutil/metricutil.go
61.11% <0%> (-25%)
:arrow_down:

server/kv/etcd_kv.go
72.72% <0%> (-11.69%)
:arrow_down:

server/region_syncer/client.go
78.44% <0%> (-7.76%)
:arrow_down:

server/heartbeat_streams.go
67% <0%> (-6%)
:arrow_down:

server/schedulers/shuffle_hot_region.go
64.58% <0%> (-5.21%)
:arrow_down:

server/tso/tso.go
79.56% <0%> (-3.65%)
:arrow_down:

server/schedulers/random_merge.go
60.71% <0%> (-3.58%)
:arrow_down:

server/schedulers/utils.go
82.58% <0%> (-2.25%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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


Add cluster.py to replace lots of devops scripts

This code addresses #102 and #103.
Add deploy/cluster.py which replaces the new removed deploy-cluster.sh,
deploy/fetch-logs.py, and deploy/run-job.sh! One script for all the
tasks! A nice CLI interface! I consider this feature incomplete because I
would really like to add the ability to add verbosity/debugging feature and
make sure stdout from Ansible is being displayed correctly.
Change README.md to reflect addition of cluster.py

Thank you so much @jodizzle and @wearpants! I appreciate your kind words and time/review.
I plan to merge this after I add a --very-verbose flag that simply enables all the output possible (I feel that making a gradient verbosity in the style of -v, -vv -vvv etc would take too much time).


Fix warnings in DatabaseItemList

See each commit

Awesome, thanks mlocati!
On Mon, May 11, 2015, 12:33 PM Andrew Embler<EMAIL_ADDRESS>wrote:

Merged #2414 https://github.com/concrete5/concrete5-5.7.0/pull/2414.
—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5-5.7.0/pull/2414#event-302108027.


Consider renaming runtime-native

As noted in this comment on /r/rust:

Since the native runtime is also not really more native than Tokio, calling it the SimpleRuntime or ReducedRuntime might give a better indication to users about what to expect from it.

I felt similar when I first saw the name. I'd assume "native" to mean something provide by the OS. Perhaps it should be renamed to something else?

Hi, thanks for opening this issue! The naming of our crates is currently not up for consideration. We're in active development, and it's still early days for the project as a whole
We feel comfortable with the naming that we've chosen, even if things might change even if things change as we mature as a project, and will stick to our choices for the foreseeable future.


Covering the sql package

Would it be possible to make a screencast about the database/sql package? Relational databases are still widely used in applications.

yes, definitely
:+1:

More more more, yes! A discussion of using either the SQL package or the (really badass) MongoDB driver would be great.

@tcbtcb I've created https://github.com/arschles/go-in-5-minutes/issues/62 to track the MongoDB driver work 👍


package.json has "jquerySizes" instead of correct "jquery-sizes", causing yarn to install module with wrong directory name and breaking build

Incorrect module name in package.json: "jquerySizes" should be "jquery-sizes"
This issue is a Bug
Related issue(s) and/or pull request(s)
#355
Expected Behaviour
When installing dependencies using yarn, should create directory node_modules/jquery-sizes/ instead of node_modules/jquerySizes/.
npm run dist should then run successfully to completion.
Observed behaviour
Running yarn installs the module in node_modules/jquerySizes/ instead of node_modules/jquery-sizes/, because the dependency is incorrectly named in the package.json file.
npm run dist then fails with error:

...

========>
========> RJS bootstrap ...
========>

...

Plugins bundle config:
../../build-config/RequireJS_config_plugins_multiple-bundles.js
[ '../build-config/RequireJS_config_common.js',
  '../build-config/RequireJS_config_multiple-bundles.js',
  '../../build-config/RequireJS_config_plugins.js',
  '../../build-config/RequireJS_config_plugins_multiple-bundles.js',
  '../../build-config/RequireJS_config_common.js',
  '../../build-config/RequireJS_config_multiple-bundles.js',
  '../../../build-config/RequireJS_config_common.js',
  '../../../build-config/RequireJS_config_multiple-bundles.js',
  '../../../../build-config/RequireJS_config_multiple-bundles_external-libs.js',
  '../../../../build-config/RequireJS_config_common.js',
  '../../../../build-config/RequireJS_config_multiple-bundles.js' ]
Error: Error: ENOENT: no such file or directory, open '/Applications/MAMP/htdocs/readium-js-viewer-master/readium-js/readium-shared-js/node_modules/jquery-sizes/lib/jquery.
sizes.js'
    at Object.fs.openSync (fs.js:557:18)

...

Steps to reproduce
Pre-requisite: install Yarn

git clone git@github.com:readium/readium-shared-js.git
cd readium-shared-js
yarn
Confirm that jquery-sizes module directory is named node_modules/jquerySizes/, after the incorrect name in package.json.

To verify that this breaks npm run dist of the viewer itself, go to existing readium-js-viewer and do the steps inside the readium-shared-js sub-module and then run the dist build.
Test file(s)
Product

Readium cloud reader app

master branch as of 71df2031ba26c81ac50d2214b2f45072b9f92b39.

Additional information
Currently, the package.json file contains this:
  "devDependencies": {
    "jquerySizes": "bramstein/jsizes",

The dependency name "jquerySizes" should be "jquery-sizes" to match the name field in that module's package.json (written by Daniel Weck of Readium, in fact).  See jsizes/package.json - line 2.
When npm install is run and npm is creating the subdirectory in node_modules/, it correctly ignores the "jquerySizes" module name given in devDependencies and instead uses the name field in target Github repo's package.json, so that the resulting module directory is node_modules/jquery-sizes/.
However, we are going to start using yarn for dependency management for our custom build of ReadiumJS viewer, in order to ensure 100% reproducibility of the build, and to protect ourselves from build errors resulting from bugs such as Fix version of node module cpy #44, which disabled our build when it surfaced earlier in the year.  npm shrinkwrap fails for both readium-js and readium-shared-js repos, whereas yarn is able to successfully create dependency lock files.  The plan is to create the yarn.lock files for readium-js-viewer and each of its sub-modules and check them into our ReadiumJS viewer builder repo so we can have reproducible builds.
yarn does not install the dependency with the correct name, instead creating directory node_modules/jquerySizes/.  I temporarily changed "jquerySizes" to the correct "jquery-sizes" in the package.json file and re-installed using yarn and was able to re-build our ReadiumJS viewer successfully after that.
yarn behavior in this edge case is arguably a bug as yarn was designed to be compatible with npm, so I might end up submitting a PR to that project or opening an issue there as well.

Thanks for your feedback regarding npm shrinkwrap. We've talked about this before, it would be great to "lock" the NPM dependencies in the master branch, as this is the branch used to tag official "stable" releases.
Related issue:
https://github.com/readium/readium-js-viewer/issues/432

Thank you for reporting the jQuerySizes vs. jquery-sizes naming problem! I will comment in your Pull Request.
https://github.com/readium/readium-shared-js/blob/develop/package.cson#L115

PS: some time ago there was a similar issue with URIjs / urijs:
https://github.com/readium/readium-js-viewer/issues/431
https://github.com/readium/readium-shared-js/commit/9a3e71ac22b5e4b326c5da9fecbbe5f24f81cf27

Fixed, see comments in the original PR:
https://github.com/readium/readium-shared-js/pull/355#issuecomment-265369531
Thank you @da70 ! :)

Thanks for getting the fix in so quickly, and for linking to readium/readium-js-viewer#432, I can make some comments there about yarn.

@danielweck, would it be possible to update submodule references so that it gets into master for the main readium-js-viewer project?  Currently the submodule "chain" links to the readium-shared-js commit that comes before this fix.

Please explicitly git checkout into your desired branch tip / HEAD.
 :)
I guess I was thinking subconsciously that the submodule reference updates were a "blessing" of a particular combination of the submodule commits, i.e. the dev team considered them as working correctly together.  I do in fact already do the initialization steps in the README, and for production build s go further and checkout into detached HEAD the particular commits.
I'll go ahead and checkout this fix commit for the build, since it seems it should be fine for current master of main repo.
Thanks.

You are absolutely correct in assuming that the original goal was (still is) to maintain submodule references in such a way that the tip of a given branch is always targeted (so that a git clone with submodule update --init --recursive automatically synchronizes the source tree, even if in detached HEAD mode). Unfortunately the Git cherry-pick (hotfix) is created on top of an existing release tag, so strictly-speaking we should also update the tags in the entire chain of Git modules ...
A more manageable solution would be to use NPM packages with semver instead.

I see, yes, that would be a hassle.
I've gone ahead and just checked out the commit in detached HEAD.
Have found a couple more dependencies that could use name corrections, will create a ticket for those and a PR with a CSON file change.
Same issue, npm run dist breaks because yarn is using the name given in the Readium package.json as opposed to the "name" property in the forked repo's package.json.


Manual Instrumentation

In the Setup  example code snippet, there is a reference to ResourceAttributes.SERVICE_NAME.  Since this comes from a package outside of the API and SDK packages, it would be helpful to know that this static function came from the Semantic Conventions (semconv) package.

is #2030 fixing that?

Yes, looks like it.  Thank you for pointing it out.  I'll close out this issue.


how to build gpufaiss_c correctly?

Sorry for dumb question. When I follow the instructions here with -DFAISS_ENABLE_C_API=ON, I obtain libfaiss_c.so with no apparent GPU equivalent in the build/c_api/gpu folder. The suggestion to run make in the GPU subfolder does not help.
I have checked the pypi/conda packages for gpu faiss and they do not contain the C API shared object either.

You also need to set -DFAISS_ENABLE_GPU=ON, plus any other GPU related option for your environment. When coupled with FAISS_ENABLE_C_API, this should automatically produce the gpufaiss_c library.

The suggestion to run make in the GPU subfolder does not help.

Oops, that suggestion is outdated. The official building process is no longer directly through GNU Makefiles but through CMake.


Add BYTEA data type support

BYTEA type value has format of Vec which is for storing binary data.
Currently, hexadecimal string values are only accepted for inserting BYTEA values using SQL.
Rather than BLOB (binary large object), BYTEA name has used.
BLOB implies "large" but BYTEA is just a kind of byte array and it fits better for current use.
ref. https://www.postgresql.org/docs/current/datatype-binary.html

Codecov Report

Merging #586 (8164d94) into main (232fcc0) will increase coverage by 0.03%.
The diff coverage is 98.27%.

@@            Coverage Diff             @@
##             main     #586      +/-   ##
==========================================
+ Coverage   93.61%   93.64%   +0.03%
==========================================
  Files         178      179       +1
  Lines       12293    12402     +109
==========================================
+ Hits        11508    11614     +106
- Misses        785      788       +3

Impacted Files
Coverage Δ

test-suite/src/lib.rs
100.00% <ø> (ø)

core/src/data/key.rs
76.56% <66.66%> (-1.03%)
:arrow_down:

core/src/data/literal.rs
91.24% <100.00%> (+1.09%)
:arrow_up:

core/src/data/value/big_endian.rs
99.36% <100.00%> (+0.05%)
:arrow_up:

core/src/data/value/into.rs
96.61% <100.00%> (+0.02%)
:arrow_up:

core/src/data/value/json.rs
99.09% <100.00%> (+0.03%)
:arrow_up:

core/src/data/value/literal.rs
95.68% <100.00%> (+0.32%)
:arrow_up:

core/src/data/value/mod.rs
97.29% <100.00%> (+0.07%)
:arrow_up:

core/src/translate/ast_literal.rs
90.62% <100.00%> (ø)

core/src/translate/data_type.rs
95.23% <100.00%> (-4.77%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


Allow to set TopologySpreadConstraints via spec.deployments.topologySpreadConstraints

Problem
A short explanation of the problem, including relevant restrictions.
Persona:
Which persona is this feature for?
Exit Criteria
A measurable (binary) test that would indicate that the problem has been resolved.
Time Estimate (optional):
How many developer-days do you think this may take to resolve?
Additional context (optional)
Add any other context about the feature request here.

@kahirokunn Could you explain more about this feature? What is ur use case for it? Thx.

I am using EKS + cilium.
For network cost optimization, I would like to distribute activators across all zones and attach a Topology Aware Hint to svc.
To ensure that activators are distributed across all zones, it is more reliable to use topologySpreadConstraints than affinity because it allows for settings such as maxSkew.
https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#topologyspreadconstraints-field
https://kubernetes.io/ja/docs/concepts/services-networking/topology-aware-hints/

@kahirokunn Thanks for the explanation. I have added the "ok-to-test" label to your PR. I assume that you are still working on this PR.
This feature requires a CRD change on both of the serving and eventing CRDs.
And make sure it works for both of "spec.deployments" and "spec.workloads".

This feature has been implemented by https://github.com/knative/operator/pull/1305


[hi] Localizing portability.md

Signed-off-by: Omkar kulkarni<EMAIL_ADDRESS>fixes #1166

Hey, @anubha-v-ardhan I made suggested changes, You can check it out. 🙌

Yes. Thanks a lot @anubha-v-ardhan 😃 & @Garima-Negi

Hey, @sayantani11 & @Garima-Negi Can you review this PR, already one LGTM has been added. So I can work on another term 😃

Done with all requested changes @Garima-Negi check it out! 🙂


Correct JS implementation of OS hashes

is updated right here
http://trac.opensubtitles.org/projects/opensubtitles/wiki/HashSourceCodes#Javascript

The hashing should be done before calling OpenSRTJS. OpenSRTJS doesn't do the hashing itself


Reduce glib

This patchset will allow glib usage to be reduced even further.

Seems fine

Replaced by #477


How to 301 redirect http requests to https?

Hi guys, I've got everything running great, except for one issue that I am having a hard time wrapping my head around.
Once the certificate is issued, I now have two versions of my websites, e.g. http://www.domain.com and https://www.domain.com once the cert is issued. Not ideal for SEO purposes and possibly considered duplicate content.
What I am trying to do is add an nginx server block that will listen for http://www (port 80) requests, then 301 redirect it to the https://www version.
The problem is, if a domain without a previously issued certificate hits the server, the certificate issuance fails because (I think) my additional server block is intercepting http://www.new-domain.com and redirecting to https://www.new-domain.com, but the challenge is trying to validate it at http://www.new-domain.com, which is not accessible anymore due to the redirect to https.
Ultimately, the cert issuance fails when it hits the 5-per-hour-failure-rate-limit.
Thing is, if the cert was already issued and exists on the server (for example, before I added my block), the block seems to be working and redirects requests to the https version (but I assume these would also fail when it's time to renew?).
But if it is a previously un-issued/non-validated domain, it gets caught by the block, and fails validation.
How can I allow previously un-issued domains to pass validation and get a cert, yet also allow a 301 redirect to the https version for future requests, so that there is only "one" version (important for SEO purposes)? Can my block be nested somewhere, or massaged with some conditionals to do this? I'm stuck!
Or is there another way that I have not thought of?
(FWIW, I am already handling root [naked] domain redirects to the 'www' version through a different server. Once redirected to the 'www' version, the domain's CNAME record routes it to the resty-ssl server to get the cert.)
Thanks!
 FAILS TO ISSUE CERT
  # block to accept http://www requests and redirect to https://www with 301 permanent
  server {
    listen 80;
    server_name www.*;

    rewrite ^(.*)$ https://$host$1 permanent;
  }

  server {
    listen <IP_ADDRESS>:8999;
    client_body_buffer_size 128k;
    client_max_body_size 128k;

    location / {
      content_by_lua_block {
        auto_ssl:hook_server()
      }
    }
  }
}

You'll need to edit this existing server listening on 80 instead of adding another one:
  server {
    listen 80;
    location /.well-known/acme-challenge/ {
      content_by_lua_block {
        auto_ssl:challenge_server()
      }
    }
  }

This is how I do it:
    server {
        listen 80 default_server;
        listen [::]:80 default_server;

        # Endpoint used for performing domain verification with Let's Encrypt.
        location / {
            # Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
            return 301 https://$host$request_uri;
        }
        location /.well-known/acme-challenge/ {
          content_by_lua_block {
            auto_ssl:challenge_server()
          }
        }
    }

omg! it works!
me so happy, me want to cry...
THANK YOU THANK YOU! I've literally been messing with this for days!!!

I wanted to post an update on my config. I found out that I needed to create multiple, separate server blocks for various redirects I needed to handle. And for each one, I needed to add in the location to the acme challenge or the cert issuance would fail because my redirects were sending the challenge URL to https://. Here's my final config, for posterity's sake:
user ec2-user www;
events {
  worker_connections 1024;
}

http {
  lua_shared_dict auto_ssl 10m; #need 1MB per 100 domains in memory, so this is for ~1,000 domains
  lua_shared_dict auto_ssl_settings 64k;
  resolver <IP_ADDRESS> ipv6=off;

  init_by_lua_block {
    auto_ssl = (require "resty.auto-ssl").new()

    # set auto-ssl to use Redis cache for persistent cert storage
    auto_ssl:set("storage_adapter", "resty.auto-ssl.storage_adapters.redis")
    auto_ssl:set("redis", {
      host = "redis-elasticache-cluster-endpoint.0001.usw2.cache.amazonaws.com"
    })

    auto_ssl:set("allow_domain", function(domain)
      return true
    end)
    auto_ssl:init()
  }

  init_worker_by_lua_block {
    auto_ssl:init_worker()
  }

  server {
    listen 443 ssl;
    location / {
      proxy_pass http://aws-classic-load-balancer.com;
      proxy_set_header Host $http_host;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header X-Forwarded-Proto https;
      proxy_set_header X-Forwarded-Ssl on;
    }
    ssl_certificate_by_lua_block {
      auto_ssl:ssl_certificate()
    }
    ssl_certificate /etc/ssl/resty-auto-ssl-fallback.crt;
    ssl_certificate_key /etc/ssl/resty-auto-ssl-fallback.key;
  }

# Capture requests that already have www and redirect to https://www
  server {
    listen 80;
    server_name www.*;

    location / {
      return 301 https://$host$request_uri;
    }

    # send to challenge if looking for it
    location /.well-known/acme-challenge/ {
      content_by_lua_block {
        auto_ssl:challenge_server()
      }
    }
  }

  # Capture saas-service.com subdomain requests and redirects them
  server {
    listen 80 ;
    server_name *.saas-service.com;

    location / {
      return 301 https://$host$request_uri;
    }

    # send to challenge if looking for it
    location /.well-known/acme-challenge/ {
      content_by_lua_block {
        auto_ssl:challenge_server()
      }
    }
  }

  # Capture everything else and redirect to https://www
  server {
    listen 80 default_server;
    location / {
      return 301 https://www.$host$request_uri;
    }

    location /.well-known/acme-challenge/ {
      content_by_lua_block {
        auto_ssl:challenge_server()
      }
    }
  }

  server {
    listen <IP_ADDRESS>:8999;
    client_body_buffer_size 128k;
    client_max_body_size 128k;

    location / {
      content_by_lua_block {
        auto_ssl:hook_server()
      }
    }
  }
}


Missing support for Default trait

Would be nice if serde-yaml would allow the following: serde_yaml::Value::default().
This is currently a partial blocker for a personal project I'm working on.
I would ask if there are objections on allowing a default value for serde-yaml like is done on serde-json.
My suggestion would be to use Value::Null as default value

I would accept a PR to add a Default impl.

@dtolnay thanks a lot for the immediate response 😄
I had a local branch that I was using to validate if the default requirement was needed or there were easy/nice way to workaround the issue.
By defining a default value, my project would be much simplified and this library would get the handling of default for structs deserialization


building on windows has a syntax error

i dont blame you; big file, windows only issue. In line 762 of pyg.cpp, you put a - instead of a =

Thanks for pointing it out. Fixed.


Fix the mean_latency calculation error in the OSS model

hi,

Hello, there may be an anomaly in the mean latency calculation of the OSS model, and I have attempted to fix it.


TextMatches is not populated after a CodeResult is returned

Relevant to #109
I am trying to retrieve the code fragments from a CodeResult object after a successful Code search.
However, it seems that the TextMatches array is empty:

More information:

I am currently on go-github v39
I am calling this on a GitHub Enterprise instance

I am happy to help fix this issue if it is a confirmed bug, but will wait for confirmation.

Can you please try the same call as a curl command to see if the data you seek is indeed being returned?

So I followed the GitHub guide, here: https://docs.github.com/en/rest/reference/search#text-match-metadata
Creating the Curl command, making sure to use the 'Accept: application/vnd.github.v3.text-match+json' header, it returns the text_matches and thus the fragment. However, it does not return the data in Windows CMD - only in Postman and WSL Ubuntu.

OK, thanks, @rafeeJ . Go ahead and create a PR to fix the issue, and we'll take a look at it.

Turns out I completely missed the SearchOptions struct.


Plans on supporting RegExp for replace and replaceAll

I know you mention you don't support them, but is it planned and if so, what's the blocker?
Thank you for the amazing library 🙏

Hi @nahoc10 , thanks for reaching out!
As far as I can tell, TypeScript does not support Regex at the type level so it would be currently impossible to implement that.


Task: Tests for Copy Paste

Unit Tests:

Paste non modal widgets onto destined parent

paste into main canvas
paste into section

update space distribution of section after pasting
update zone count of section after pasting

paste into zone

paste modal widgets only onto main canvas
select newly copied widgets after paste and set url and history.
Indetify destined parent based on widget selected.

main canvas is the destined parent if no widget is selected
copied widgets should have a higher hierarchy than the destined parent

Hey, I would love to help on this issue if it's available! Is there something specific I should look into? Thanks


Add support to brackets on cols value

Using brackets on cols value throws error on get helper.
[
  { label: 'Company', value: 'users[0].company.name' }
]

I've discovered some ways to do it and a path module alternative. I'd like to use it or something like IDX (https://github.com/facebookincubator/idx).
function getProperty (object: object, property: string): any {
  try {
    const get = new Function('object', `return object.${property}`);
    return get(object);
  } catch (_) {
    return;
  }
}

I'll close after publish it.

Published on 0.13.0.


LFS-702: Filtering sometimes doesn't return correct results

Ugly fix: disable the Lucene index for answers
Correctness should be tested, but performance with a thousand forms should also be tested.

filters are not working and are too slow with 10K forms


alexandria: 0.12.0 -> 0.13.1

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

https://github.com/NixOS/nixpkgs/pull/356800/checks?check_run_id=33124875181:
error: Package ‘webkitgtk-2.46.3+abi=4.0’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/macstadium-x86-44911305/pkgs/development/libraries/webkitgtk/default.nix:248 is marked as broken, refusing to evaluate.
I guess this has been broken on darwin before?

Confirmed this also fails in hydra on master for both darwin platforms.


On Examples page, there is no label on the radio text

May be you want it like that, but there is label on all the others :p
Except that, seems great :D ;)

@tranKILL you can add label attributes : https://svelte.dev/repl/439ef3dfbfdb44b2ad2131e7ca508c6e?version=3.37.0

Thanks for the answer ;)
No radio box on it
Cannot click on Male or Female to select linked radio box on this page https://documentation-svelte-formly.vercel.app/examples


[Feature request] Floating button

I think floating buttons for settings and adding station would be better than at the bottom.
Thank you!

Look here:
https://github.com/jamal2362/URL-Radio/blob/master/app/src/main/res/layout/card_add_new_station.xml
It's already present.
I close this Issue.

Okay, I will wait until the next release because in v10.1 it is not present.

You don't need to wait. It is already available since version 9.2.

Look theses buttons are not floating. v10.1 F-Droid


Pause/ Mute when Switching Tabs

I've implemented this similarly to the example project, however, when I switch tabs on the tab bar I would like the video to pause/ mute. I have attempted the following, with no luck. Any ideas?
func pauseVideos(){         mmPlayerLayer.player?.pause()         mmPlayerLayer.player?.isMuted = true  }
I've added the pause function in override func viewDidDisappear(_ animated: Bool) and also in override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem)

Hello,
i'm facing the same issue. I call mmPlayerLayer.player?.pause()  when viewWillDisapear but the video still playing.
Any idea?


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_38hrwwuklx/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_38hrwwuklx/clone/recipe/meta.yaml:19: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_38hrwwuklx/clone/recipe/meta.yaml:36: missing_description: The recipe is missing a description
ERROR: /tmp/abs_38hrwwuklx/clone/recipe/meta.yaml:36: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_38hrwwuklx/clone/recipe/meta.yaml:36: http_url: http://github.com/django-extensions/django-extensions is not https
ERROR: /tmp/abs_38hrwwuklx/clone/recipe/meta.yaml:36: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_38hrwwuklx/clone/recipe/meta.yaml:36: missing_dev_url: The recipe is missing a dev_url
Errors were found


Test Methods

MSEMAE in TimesNet, is it obtained using normalized target columns as data? For example, normalizing the last column of the dataset ETTH1 and using the past 96 to predict the future {96, 192, 336, 720}? Or no normalization?

Hi, thanks for your interest.
We have discussed this topic in another repo. This metric is a conventional usage in previous papers. Please see: https://github.com/thuml/Autoformer/issues/27


@EuropeVehicle.status: [503] Service Unavailable

Every Time when the Adapter wants to update the data by the configurated Interval it comes this error:
Error on API-Full-Status - Fallback GetNormalStatus
Error on API-Request Status, ErrorCount:1
@EuropeVehicle.status: [503] Service Unavailable on [GET] https://prd.eu-ccapi.kia.com:8080/api/v2/spa/vehicles/f237e4e0-95c3-4291-8e5c-0b39d691271b/status - {"retCode":"F","resCode":"5031","resMsg":"Unavailable remote control - Service Temporary Unavailable","msgId":"d42b515b-9df5-441d-be0c-c0498f7a5cf8"}

I got the same issue, thx for opening the request.

this error is nothing with the iobroker-Adapter, the Hyundai-Servers are down, thats it.
Open an issue at Hyundai, please :-)


8.2.2, 8.1.5, 8.0.10, 7.0.12 changelogs

Added changelog, added links to documentation about upgrade process changes.

oops, community packages 8.1.5 were still in testing, submitted them to http://software.opensuse.org/download.html?project=isv%3AownCloud%3Acommunity%3A8.1&package=owncloud
just now.


When to release code?

Good work! And I'm very interesting in it. So I wonder what time you will release the code. I'm eager to have a try on it. Looking forward to your apply. Thanks a lot!

two month passed without any updates


Playback stuttering caused by UUID spamming

I'm experiencing playback stuttering when the card is kept to long on the reader caused by spamming the same UUID to the  rfid_trigger_play.sh as a subprocess.
I got this behavior with the RDM6300 and RC522 modules, I'm not sure if that's similar to the USB reader?
Imho there should be a check in the daemon_rfid_reader.py if the UUID was already send to the rfid_trigger_play.sh as the last ID or within a specific amount of time to reduce this lag/stuttering.

Fixed that at least for the RDM6300 module in the latest update: https://github.com/MiczFlor/RPi-Jukebox-RFID/pull/197
Could be implemented in the other Reader() classes, but it breaks the possibility to use commands like lower/raise volume multiple times...

Since there is yet another issue (https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/196 ) regarding this topic I close this one.


no model reference error placeholder is clickable

#861mev2me

Task linked: CU-861mev2me Make the Error model clickable


Implement masked loss

Fixes #17
Still needs to be tested.

I will go ahead and merge this, will test it later.


Auto-refresh room cards in the homepage

Is your feature request related to a problem? Please describe.
When in the homepage, I have to update the page several times to have updated info about the rooms, which can be a bit annoying.
Describe the solution you'd like
Auto-update room cards in the homepage.
Describe alternatives you've considered
A button to update cards without refreshing the entire page.

yeah I think we need a better system to keep homepage with fresh info

Done by #991


the date selected doesn't match

I have this problem where the date i click on and displayed is not the same date. For example, if i clicked on 7th May, the console will display 6th May instead.

It's because the time is UTC.

how do i change the timezone to use the systemTimeZone? Sorry, only started to do iOS programming recently.

self.calendar.calendarAppearance.calendar is a NSCalendar:
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSCalendar_Class/


Roll engine 142882e1baea..c6525a428fc0 (3 commits)

https://github.com/flutter/engine/compare/142882e1baea...c6525a428fc0
git log 142882e1baea..c6525a428fc0 --first-parent --oneline
2020-02-29<EMAIL_ADDRESS>Roll src/third_party/skia 5d1c3e2ead61..59b160f99106 (2 commits) (flutter/engine#16866)
2020-02-29<EMAIL_ADDRESS>Roll src/third_party/skia e1ae9c4bcf2e..5d1c3e2ead61 (2 commits) (flutter/engine#16865)
2020-02-29<EMAIL_ADDRESS>Manual roll of Dart 09bbd3cca5...6708f6d4c7 (flutter/engine#16864)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Commit queue failed; closing this roll.


RichTextEditor with a .clear backgroundColor

Here's the requested GitHub issue from yesterday on Mastodon:
I'm integrating a RichTextEditor into one of my Objective-C apps using a UIHostingController.  it's iOS/iPadOS 17.4 and up.
Using this stripped back code:
var body: some View {
	VStack(alignment: .center) {

		RichTextEditor(
		text: $text,
		context: context1,
		viewConfiguration: {
				if let textView = $0 as? UITextView {
					textView.backgroundColor = .clear
				}
			}
		)

		Spacer()

		RichTextEditor(
			text: $text,
			context: context2
		)
		.background(Color.clear)

		Spacer()

		RichTextEditor(
			text: $text,
			context: context3
		)
		.richTextEditorStyle(RichTextEditorStyle(backgroundColor: ColorRepresentable(.clear)))

	}
	.background(Color.red)
}

If the RichTextEditor has no text, then all context have a .clear background as expected.
If the RichTextEditor has some text, any text, then:
context1  has the expected .clear background.
context2  has a .systemBackground background.
context3  also has a .systemBackground background.
It could be something I'm doing, Swift/SwiftUI is still quite new to me, a rather different headspace to Objective-C!
Am I setting the background correctly in context2 and context3? Or is something else happening?
Cheers,
Dave

Thank you for the bug report. I'm very busy atm and am not actively working on the project, but anyone are more than welcome to take a look at this.

Hello @daveguerin ,
as a workaround, you can pass custom closure to viewConfiguration which uses "introspection" on the UITextView.
Try this code:
VStack(alignment: .center) {

            RichTextEditor(
                text: $document.text,
                context: context,
                viewConfiguration: {
                    if let textView = $0 as? UITextView {
                        textView.backgroundColor = .yellow
                    }
                }
            )
            .richTextEditorStyle(RichTextEditorStyle(backgroundColor: .blue))

            Spacer()

            RichTextEditor(
                text: $document.text,
                context: context2,
                viewConfiguration: {
                    if let textView = $0 as? UITextView {
                        textView.backgroundColor = .blue
                    }
                }
            )
            .background(Color.green)

            Spacer()

            RichTextEditor(
                text: $document.text,
                context: context3,
                viewConfiguration: {
                    if let textView = $0 as? UITextView {
                        textView.backgroundColor = .green
                    }
                }
            )
            .richTextEditorStyle(RichTextEditorStyle(backgroundColor: .green))

        }
        .background(Color.red)

However the issue is in more lines of code than just one single place:

guard richText.string.isEmpty else { return } inside func setup(_ theme: RichTextView.Theme)
textView.theme = style is called before viewConfiguration(textView) inside RichTextEditor.swift file on line 116/117 (128/129 for macOS)

I am currently busy with other projects as well, however this should give you a great heads up how to fix this. Feel free to create PR, for this, I am happy to review/guide you if you have any issues. Thank you for the report!

To futher Clarify, context should have nothing to do with color of the UI/NSTextView itself. We planned with @danielsaidi to delete viewConfigurationClosure, which should probably be proper fix, right now, because it is set on 2 places, it creates this unexpected behaviour.
I really can't wait to get to this project and fix all those issues 😅

Hi @danielsaidi and @DominikBucher12 ,
I've got it working using the viewConfiguration: closure, thanks!

However the issue is in more lines of code than just one single place:
guard richText.string.isEmpty else { return } inside func setup(_ theme: RichTextView.Theme)
textView.theme = style is called before viewConfiguration(textView) inside RichTextEditor.swift file on line 116/117 (128/129 for macOS)

I don't know enough Swift to fully understand exactly how all the parts of RichTextKit fit together. Now, if it was Objective-C....  🙃
I'm busy with a bug in another of my apps this week, I'll get back to the app that uses RichTextKit next week and see if I can work it out.
Cheers,
Dave

Great that you got it working 👍


Failure when the helmrepository and the helmrelease are in different namespaces

Hello,
We found an issue where we have the helmrelease in namespace X and the helmrepository in namespace Y mta fails to migrate the helmrelease with error:
FATA[0002] helmrepositories.source.toolkit.fluxcd.io "Y" not found

The command we run is:
mta helmrelease --name my-helmrelease --namespace X

Updating here from the Discord https://discord.com/channels/1138942074998235187/1280808653280116818/1282608495409238038
Looks like a version mismatch https://github.com/akuity/mta/blob/main/pkg/utils/utils.go#L11C56-L12C1
@nitishfy we might consider making it "backwards compatible" for whichever version Flux currently supports.

Looks like I was mistaken. The issue is that mta assumes HelmRelease and HelmRepo objects are in the same namespace.

yeah that was my thought too

The fix is out now!


Multiple lyric platform

e.g. Musixmatch

releate https://github.com/organization/alspotron/commit/fb6cd47f70d9ad79a054ef93bf0c8640d183c66b

지원예정인 가사 제공자

[X] Default
[ ] Spotify
[ ] Youtube Music

view feature/lyric-provider


"http://schemas.modernwpf.com/2019"

Hi...
Encountering errors recently... any help please
Reagards...

NOP


Added basic documentation and populated changelog

@exafox @frank0631 Please take a quick look, very basic documentation to start with.

Looks good. I'll be sure to add more features to the "### Added" section as we make major pull request

@frank0631 Yes, please do.  I will merge this now.


No module named bbox when running rcnn demo.py

I have met probelm when running the demo.py in rcnn.
The exception says :
"File "/mnt/gelu/mxnet/example/rcnn/rcnn/processing/bbox_transform.py", line 2, in
from ..cython.bbox import bbox_overlaps_cython
ImportError: No module named bbox"
I'm pretty sure that i have compiled and installed all operators.
I have solve the problem by doing the following steps:
I make the following changes to the project and fix the problem:
1.add following lines of code before import '..cython.bbox import bbox_overlaps_cython' in rcnn/processing/bbox_transform.py:
import pyximport
pyximport.install()
2.edit the setup.py in rcnn/cython/:
change the code from ['nms_kernel.cu', 'gpu_nms.pyx'], to ['nms_kernel.cu', 'gpu_nms.cpp'],

run the command: python setup.py install under the above directory

copy 3 .so files from rcnn/cython/build/lib.linux-x86_64-2.7/ to ~/.pyxbld/lib.linux-x86_64-2.7/rcnn/cython

I just want to ask is there any more nice way to solve this problem ?

@precedenceguo

There is a easy way to solve this problem
And here's the code!
under your rcnn file     ~/rcnn/
# install cython
sudo pip install cython scikit-image easydict
# build cython extension
make

problem solved!

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Help wanted labels

Summary / Use Cases
This PR adds the help wanted label (with the default color and description) to the various repositories. We have started using this label to indicate that we would like additional input, so we should ensure it is always available.
Additionally, this PR also adds labels (and the label-syncing workflow) to this repo itself.
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

This is also in service of: https://github.com/paketo-buildpacks/community/issues/127


Loading Scripts from Resource packs

It would greatly improve Resource Packs' power to be able to load CT scripts through them. There are a few benefits to being able to do that :
1- Ability for players to activate/deactivate CT scripts (only supports reloadable methods? Only on game restart? I'll leave that to you to determine whatever is easier to implement)
2- Ability to share CT scripts more easily through Curseforge/Modrinth, by packing them in a resource pack
3- Ability for resource packs to use Mixins to change the appearance of some hard-coded textures (as a dark mode resource pack dev, I am most interested in this feature)
4- Ability for resource packs to change recipes (some resource packs, along with localization and texture changes, would benefit from minor recipe changes for thematic integrity)
The way I imagine it working is CT looking for assets/zenutils/scripts and/or assets/crafttweaker/scripts folder for zs files to load. Even better if we can override scripts placed in .minecraft/scripts, but this is not required
Yes, this is basically a datapack backport through ZS and I love it

Double the feature request.

Some GUIs like LittleTiles one drawing its GUI with code rather than texture. I would like to make E2EE in "Dark Mode", but let player enable/disable it on demand.

Its very hard to distribute ZenScript modules.
For example, my Portal Spread downloaded only 32 times, duh. I believe this is because it require dedicated installation by spreading files in scripts/ and resources/ folders, so modpack makers add it once and download count doesn't change.
Throught, portal_spread.zs including server-side scripts, the idea may not work. But in future, I could make more dedicated scripts, related to JEI or other clientside-only features, that sounds perfectly matching.

Check https://www.curseforge.com/minecraft/mc-mods/resource-mod-loader. It allows you wrap scripts and resources as a mod.


Awful with VoiceOver

Type: Performance Issue
If I wanted a web-based editor, I would have stayed on a website. I did not expect VS Code to provide a poorly design web-based interface in the native app on my Mac. It seems like every single element has an aria-descrivedby or title element mimicking the control within, causing VoiceOver to find every object on the screen three times since each container group is labelled. It's extremely difficult navigating the interface as a blind VoiceOver user, and you are absolutely not leveraging any native MacOS Accessibility API functions other than attempting to build a pseudo-accessible web experience on the desktop. You've even added a feature that asks if I am using a screen reader, and toggling that on seems to offer no additional support or functionality, and the interface remains as unusable and unintuitive as it was before toggling that option on. You should try building this editor using native code and not try shoehorning web design or a web experience into it because it is ultimately just not successful at all in terms of providing an accessible experience for a blind coder. You really need to work on your attention to usability with actual blind developers and users. I think I'll just stick with Xcode and TextEdit.

With VoiceOver on in MacOS Ventura, open the latest version of VS Code.
Navigate VO cursor through the interface. Note how every single focus target has a group surrounding it labelled with the encapsulated control name. Note how one button has three focus targets just to move through the screen.
Note that when toggling on the "screen reader" mode, nothing changes in the interface, and there are no intuitive distinctions to find an editor or text entry area, especially when the Welcome website keeps appearing when trying to make a new file.

VS Code version: Code 1.78.0 (Universal) (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:11:00.813Z)
OS version: Darwin x64 22.4.0
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz (8 x 2000)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
1, 2, 2

Memory (System)
16.00GB (3.24GB free)

Process Argv
--crash-reporter-id 7ff69e31-74c2-42f4-b729-d15a780215d4

Screen Reader
yes

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   18	   147	  2370	code main
    0	    66	  2373	   gpu-process
    0	    33	  2375	   utility-network-service
    0	   229	  2376	window [1] (Visual Studio Code)
    0	    82	  2385	shared-process
    0	    49	  2388	     ptyHost
    0	     0	  2398	       -bin/tcsh
    0	     0	  2421	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    49	  2386	fileWatcher [1]
    0	    82	  2387	extensionHost [1]
    0	   115	  2405	window [2] (Issue Reporter)

Workspace Info
;

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
6233i204:30730053
vsctsb:30705553
azdwalk:30721579
pythonms35:30701012
03d35959:30706073
pythonfmttext:30731395
fixhidewlkth:30730051
hidesbindicator:30730055
pythongtdpath:30731978

Thanks for providing this feedback. VS Code is built using Electron and Web technologies and that is the reason why Screen Readers treat it sometimes as a Web Page.
If in the future we decide to change to native code we will make sure to take this feedback into account.
Thanks for understanding.

One specific technique I've observed that contributes to this problem is that many buttons in the UI (e.g. toolbar buttons) have an icon added via a ::before pseudoelement, and this can cause VoiceOver to treat the button as a group. This doesn't happen in Safari (which is of no help for an Electron app), nor does it happen on the Windows screen readers I've tried.
This makes the buttons announce as groups, which adds to the verbosity and is confusing (it's a group, so you can navigate into it with VoiceOver, but the Unicode characters used for icons can't be pronounced so VoiceOver says nothing).
An example are the Maximize Panel and Close Panel buttons at the end of the Terminal toolbar:

Navigating to the close button with the VoiceOver cursor reads: "Close Panel, Button, Group". It seems like a little thing, but there are buttons in the UI that ARE groups and contain nested widgets, thus a screen reader user trying to understand the interface can't assume this is completely ignorable.
A "simple" fix (nothing is ever simple) is to add empty alt-text to the pseudo-element content. So for the Close Panel widget, change
.codicon-panel-close:before {
  content: '\ea76';
}

to
.codicon-panel-close:before {
  content: '\ea76' / "";
}

This stops the button from being treated as a group. The "not so simple" part is that alt-text in pseudoelement content isn't supported on Firefox or Safari and others so would need to be tested in those browsers to make sure it's harmless.
https://developer.mozilla.org/en-US/docs/Web/CSS/content#browser_compatibility

@gtritchie thanks for sharing this idea.
I think it is worth trying this out @meganrogge

@meganrogge, FYI, I tried out this approach of using the / "" suffix to add empty alt-text, and although it works great in Chrome/Electron, in both Safari on macOS and Firefox (tried on both Mac and Windows) it causes the icons to fail to render, so the buttons are essentially invisible. So that's a non-starter.

I believe this should work much better with the latest vscode version. Thus I will go ahead and close this issue.
If you still encounter problems do let us know and we can reopen
fyi @meganrogge


Small cleanups to span parent id functionality

Use Enum instead of StrEnum due to lack of availability in older pythons

Add export to NoopSpan (and thus allow returning None/undefined from the method).

Should we just return "" instead of undefined from the no-op span, so that users don't have to deal with handling undefined everywhere now?

Good idea. Done.


Bro 2.6 will fix SSH capabilities "is_server" flag

The bug fix at https://github.com/zeek/zeek/pull/191 now allows these workarounds to be updated:
https://github.com/salesforce/hassh/blob/a9f1854727a5676593dcc7438448e51f76979330/bro/hassh.bro#L114-L133
If you want things to keep working with both Bro 2.5.x and 2.6, you should be able to branch on Version::info.

Thank you @jsiwek. added version checking logic to main script.
https://github.com/salesforce/hassh/blob/3fbd7f088079d6c4d2bcb4a915ebb41fca80b6e2/bro/hassh.bro#L114-L130


[Help]

can you recommend any service to host this bot online 24/7? btw this bot is cool, thanks!!

You could use NixCloud

Not really. Most of the good options that you and anyone in the civilized world can use, are blocked in my country...

probably, this one would fit well
https://www.oracle.com/cis/cloud/free/

You could use NixCloud
How would I use NixCloud?


ERROR: Discord installation not found.

$ betterdiscordctl -V
betterdiscordctl 1.2.1
$ betterdiscordctl install --global-asar -b /usr/lib/betterdiscord-rauenzi-git -v -v
VV: Trying flavor ''
VV: Checking /opt/discord
VV: Checking /opt/discord-
VV: Checking /opt/Discord
VV: Checking /opt/Discord-
VV: Trying flavor 'Canary'
VV: Checking /opt/discordcanary
VV: Checking /opt/discord-canary
VV: Checking /opt/DiscordCanary
VV: Checking /opt/Discord-Canary
VV: Trying flavor 'PTB'
VV: Checking /opt/discordptb
VV: Checking /opt/discord-ptb
VV: Checking /opt/DiscordPTB
VV: Checking /opt/Discord-PTB
ERROR: Discord installation not found.

Using betterdiscord-rauenzi-git package from arch.

What was the solution?

How'd you install Discord, then? The normal Arch packages should install to checked locations.

Yes, it was not default.


different views problem

Hello, im using ui-router, and i have my views(home, blog, about me, contact) and my topnavbar is present in all of them, just changes the body, but I want to make a route for my admin panel and when im there I don't want to see the top navbar, how i can do that?

Please ask this on stackoverflow as its an implement question and not a bug in ui-router.
Is your topnav a ui-view?


Add class referencing base layer to allow styling

@smit1678 I added a class that identifies the current active base layer and allows you to define specific styles.

@danielfdsilva Can you give d09a055 a quick review? Better way to handle this?

@smit1678 that ought to do it.

👍  thanks


Redirect after payment is directing to localhost:8081

Describe the bug
When subscribing  to the free plan the app redirect to the right place www.example.com/generate but when the user subscribe to the non-free plan the redirect send the user to localhost:8081/generate
Additional context
I'm using google app engine for hosting.

Yes I have NEXT_PUBLIC_APP_URL set inside .env. The redirect send to the right place when doing development but when in production it always redirect to http://localhost:8081/generate

I believe the issue comes from the following line
const successUrl = new URL(/api/subscribe?plan=${plan}, env.NEXT_PUBLIC_APP_URL).toString(); in this file src/app/api/change-plan/route.ts

When I change this line from       return NextResponse.redirect(new URL("/generate", req.url)); to       return NextResponse.redirect(new URL("/generate", 'https://example.com')); it works fine. Hopefully that helps

I'm confused as well, yes it could be the google app engine, if I ever find out why I will post it here.


Ember objects detected as react components

react-transform seems to mistake ember objects with render method as react components. A testcase with few examples of typical syntax. Changing the method name to _render 'fixes' the test. https://github.com/mattijauhiainen/babel-plugin-react-transform/commit/dbfbf5d2bf14177595bd0eeb0cec020c7aabb4e1

I'm guessing this does not do what we want?
https://github.com/babel/babel/blob/master/packages/babel-types/src/react.js#L5

@nfcampos
I don’t think we use that function.
No, we can’t inspect the prototype because this is compile time, not run time.
I think the bug, if there is one, is somewhere here: https://github.com/gaearon/babel-plugin-react-transform/blob/63cafc90625c99783d4ba793d58bb59523624364/src/index.js#L5-L9

Or, rather, the problem is most likely that these two lines should end with || rather than &&:
https://github.com/gaearon/babel-plugin-react-transform/blob/63cafc90625c99783d4ba793d58bb59523624364/src/index.js#L77
https://github.com/gaearon/babel-plugin-react-transform/blob/63cafc90625c99783d4ba793d58bb59523624364/src/index.js#L122
Please feel free to submit a fix, add tests for it, and I’ll be happy to merge.

Closing as duplicate of #84. (This one is earlier but the other one describes the problem more accurately).

Should be fixed in 2.0.1.


realm: Add permissions support for all users

This scopes permissions for only-logged-in-users via a users key, as opposed to *.
It adds a for function for the realm server to use to determine permissions for a user so interpretation of permissions can stay in sync.
This doesn’t include tests at all, I couldn’t find any existing test that wasn’t narrowly defining permissions.
The implementation doesn’t actually work locally though! I was unable to figure out why.

I've added the tests for this PR. I've also tested it manually and it gave write permission to matrix user although the user id wasn't defined in realm permissions.
https://github.com/cardstack/boxel/assets/12637010/7849a2ac-0f7e-4935-b206-2acc8f1c79cd

This scopes permissions for only-logged-in-users via a users key, as opposed to *.

This is not a correct statement. this solution is to scope permissions for matrix users (logged in or not), via a "users" key instead of specifying each user explicitly. it has nothing to do with the "*"

Based on the last sprint review discussion, we should update the drafts and public realm to be read/write for “users” instead of “*” (this would include updating staging and production). After we do that we can write explicit matrix tests that can assert this new group works by trying to access the drafts or published real with and without a matrix session.

Please confirm as part of this PR that:

[ ] Staging drafts and published realm permissions have been updated to use "user" instead of "*"
[ ] Production drafts and published realm permissions have been updated to use "user" instead of "*"

I've implemented the mechanism to redirect user to operator mode if realm is not publicly readable. I also have tested it manually on staging. It won't display guest mode anymore if we set the permissions {"users": ["read", "write"]
https://github.com/cardstack/boxel/assets/12637010/91545604-53d3-4a7b-94f7-8d299db7632d


Installation issue on macOS

Hi. eagerly awaiting my Glasgow, I've followed the installation instructions for macOS and get an error checking the version.
After installing pipx with brew, re-starting the terminal, I get this:
➜  Projects pipx reinstall glasgow
uninstalled glasgow! ✨ 🌟 ✨
  installed package glasgow 0.1.dev1654+gb1985b3, installed using Python 3.12.3
  These apps are now globally available
    - glasgow
done! ✨ 🌟 ✨
➜  Projects glasgow --version
Traceback (most recent call last):
  File "/Users/mringwal/.local/bin/glasgow", line 5, in <module>
    from glasgow.cli import main
  File "/Users/mringwal/Projects/glasgow/software/glasgow/cli.py", line 31, in <module>
    from .applet import *
  File "/Users/mringwal/Projects/glasgow/software/glasgow/applet/__init__.py", line 108, in <module>
    from ..access.simulation import *
  File "/Users/mringwal/Projects/glasgow/software/glasgow/access/simulation/__init__.py", line 3, in <module>
    from .demultiplexer import *
  File "/Users/mringwal/Projects/glasgow/software/glasgow/access/simulation/demultiplexer.py", line 13, in <module>
    class SimulationDemultiplexerInterface(AccessDemultiplexerInterface):
  File "/Users/mringwal/Projects/glasgow/software/glasgow/access/simulation/demultiplexer.py", line 20, in SimulationDemultiplexerInterface
    @asyncio.coroutine
     ^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?```

Any ideas/suggestion?

installed package glasgow 0.1.dev1654+gb1985b3, installed using Python 3.12.3

That looks like an extremely old checkout (~400 commits behind). You should git pull.

You're correct. I did a git pull but have been on the old-school 'master' branch. After switching to 'main', it starts as expected. Thanks!