Fix Access-Control-Allow-Origin on final response

I may be off-base here but I propose using * instead of url.origin because url.origin represents the worker's origin, not the user's. This means the user's origin won't match the response's, etc., which is contrary to the whole point of things, if the point is enabling your local machine's browser to fetch data from a CORS-restricted API.

This seems right to me but I didn't write the example so I'm not sure what it was going for exactly. @signalnerve do you know who wrote this example?
Another option would have been to set it to the value of the incoming Origin header on the request. But given that the OPTIONS request handler sets ACAO to *, it seems like that's what the regular request handler should do as well.

I sort of agree with the change, but read this to the end. '*' the wildcard vs explicit URL origin only matters for XMLHttpRequest.withCredentials (send Cookies). Since this simple cors proxy demo DOES NOT authenticate/filter referrers or origins, and does not send Access-Control-Allow-Credentials=true. It should use the wildcard * origin for consistency with other CORS proxies from frameworks on github since this CFW CORS proxy demo does not implement ACAC=true. If the demo did ACAC=true, the url.origin parameter is still probably incorrect unless the CFW CORS proxy's domain is a "router" and does display "navigate" able HTML pages. CORS spec requires
response.headers.set('Access-Control-Allow-Origin', request.headers.get("Origin"))
url.origin will be https://thissite.thisuser.workers.dev, while chances are the browser is on "http://mystaticsite.com" and mystaticsite.com is using the CFW CORS proxy at thissite.thisuser.workers.dev to scrape legacythirdparty.com, and thissite.thisuser.workers.dev will return ACAO=thissite.thisuser.workers.dev to mystaticsite.com's AJAX req and the browser will turn mystaticsite.com's AJAX req into xhr.statusCode=0/timeout CORS violation in browser response object. because ACAO is not * and is not mystaticsite.com. On the other hand, perhaps keeping url.origin in the CFW CORS demo, is an intentional typo, so any dev that creates a private instance has to do 5 mins of work and recognize what the code actually does before creating an open proxy instance 😈
The CORS proxy demo as written today ONLY works if the proxy code/worker is a route for a orange cloud domain that also serves navigable HTML and the only user of the proxy is that orange cloud domain. Anti-open proxy. If a dev wants it to make the demo be an open proxy he needs to spend 5-10 mins reading the CORS spec and change the line to
let clientOrigin = request.headers.get("Origin"); //create new request object that can be modified request.headers.delete("Origin"); ... await fetch(request) ... response.headers.set('Access-Control-Allow-Origin',clientOrigin)
or
response.headers.set('Access-Control-Allow-Origin','*')
I'd suggest keeping the demo with url.origin in the code, and a // comment saying to change it to * if the dev really needs an open proxy, anti-copy paste by minimally trained devs/IT folks,

Hey all 👋

@signalnerve do you know who wrote this example?

This has probably been ported through a few iterations of our docs.

The CORS proxy demo as written today ONLY works if the proxy code/worker is a route for a orange cloud domain that also serves navigable HTML and the only user of the proxy is that orange cloud domain.

This is correct. This CORS proxy configuration is very specific for a certain kind of website -- it's common to see CORS proxy setups use * for Access-Control-Allow-Origin to just enable CORS more generally, but if I had to guess the history behind this example, the idea is to build on top of Workers living on the edge and letting you build a CORS proxy in front of an existing site.

I'd suggest keeping the demo with url.origin in the code, and a // comment saying to change it to * if the dev really needs an open proxy, anti-copy paste by minimally trained devs/IT folks.

This is interesting because I think I'm favor of the swapped version of this -- moving to * as seen in this example, and adding some documentation/commented-out code to say "hey, you can also use url.origin if you're serving this in front of an existing origin".
Because of that, I think this PR is on the right track (and apologies for the delay!) -- cc @duncanlettuce can you add a comment below the line you changed to indicate that url.origin is an option and what purpose it serves? Thanks!

👋
@signalnerve, that sufficient? I'm not familiar with the very specific kind of context/website you mention, so I kept the comment brief and just reiterated what you said.

If I understand correctly, setting Access-Control-Allow-Origin to url.origin will always be equivalent to not setting the header at all, so suggesting that in a comment doesn't seem right. But setting it to request.headers.get("Origin") could make sense.

Generally you only want to use a url.origin or a req.headers.get('Origin') value after doing some allow/block logic. Having it directly echo serves no CORS benefit.
Also, with this change to using "*", the Vary, Origin line below it should be removed, as it's no longer a varying/relevant value: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin#cors_and_caching


Mustache

Hei, nice project!
This PR is just a PoC replacing jinja2 dependency with mustache-zig 🤓.
Please feel free to close it if it's not of your interest, I was just curious to see how mustache-zig would perform on an HTTP server.
Some benchmarks running coyote_template.zig using bombardier:
Jinja2:
Bombarding http://localhost:8080/index for 10s using 125 connection(s)
[================================================================================] 10s
Done!
Statistics        Avg      Stdev        Max
  Reqs/sec     49826.82    9955.03   64107.29
  Latency        2.51ms   729.64us   232.21ms
  HTTP codes:
    1xx - 0, 2xx - 498369, 3xx - 0, 4xx - 0, 5xx - 0
    others - 0
  Throughput:    10.12MB/s

mustache-zig
Bombarding http://localhost:8080/index for 10s using 125 connection(s)
[================================================================================] 10s
Done!
Statistics        Avg      Stdev        Max
  Reqs/sec    148852.77   23595.17  176288.50
  Latency      838.60us   114.54us    23.15ms
  HTTP codes:
    1xx - 0, 2xx - 1488619, 3xx - 0, 4xx - 0, 5xx - 0
    others - 0
  Throughput:    30.24MB/s

Looks good. There was considerable overhead in using jinja that mustache solves.
Running 10s test @ http://localhost:8080/index
  8 threads and 128 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   731.15us  160.39us  10.35ms   95.27%
    Req/Sec    21.93k     1.26k   35.58k    94.04%
  1756723 requests in 10.10s, 244.60MB read
Requests/sec: 173939.62
Transfer/sec:     24.22MB

I was able to reproduce similar results.


Fix the import package name for go-sdk-core

part of this https://github.com/ppc64le-cloud/pvsadm/pull/612 PR there was a rename to the import path for go-sdk-core pointing to v1 which is old one which has a CVEs, so this PR is to use the latest v5 version.

/lgtm


Error and Device status, on/off switch update

Added 2 devices, Error/Device Status and on/off button fix

Hello, I have a smart home controlled by LOXON and I have heat pump with a 4-pin MODBUS output, I would like to ask you for the MODBUS protocols for this device so that I can integrate it into my system. Thank you very much

my e-mail is<EMAIL_ADDRESS>pls send me protokols Modbus in excel. thanks

Here is the list

Erik Nijeboer
Op 29 mrt. 2023 om 20:42 heeft Gabo1223 @.***> het volgende geschreven:

my e-mail is<EMAIL_ADDRESS>pls send me protokols Modbus in excel. thanks
—
Reply to this email directly, view it on GitHubhttps://github.com/NijeboerFrank/DomoticzFairlandModbus/pull/1#issuecomment-1489117136, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALIVPVTCKKQLWPZBT5X7U6DW6R7AXANCNFSM53HFPN4A.
You are receiving this because you modified the open/close state.Message ID: @.***>

sorry, I still don't see the attachment, please can you send me the XLS file directly to the e-mail<EMAIL_ADDRESS>Thank you.


Prevent writes to Hive transactional tables

Previously it would fail after writing with something like:
org.apache.hadoop.hive.metastore.api.MetaException: Cannot change stats state for a transactional table without providing the transactional write state for verification (new write ID -1, valid write IDs null; current state null; new state {"COLUMN_STATS":{"creation_time":"true","current_flag":"true","eff_end_time":"true","eff_start_time":"true","extract_time":"true","id":"true","key":"true","modified_time":"true","name":"true","nickname":"true"}}

Now it fails cleanly before writing.
Also, I suppose previously it wouldn't fail at all if stats collection was disabled.


No git tag/release for 1.0.31

The 1.0.31 release doesn't have a git tag or release page (making it slightly difficult to see what has changed)
It seems that the only non-comment/doc change (if I am comparing correctly) is the update of the libz-rs-sys library from 0.1.1 to 0.2.1

I am aware and am trying to get the linked PR to be approved so it can be merged - I cannot self-approve unfortunately.

Thanks for the heads-up, indeed the new tag wasn't pushed. For good measure, I also created one with the previous naming scheme.
❯ gp --tags
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 646 bytes | 646.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/rust-lang/flate2-rs
 * [new tag]         1.0.31 -> 1.0.31
 * [new tag]         v1.0.31 -> v1.0.31


PET workflows that uses the library in ngen framework in automated testing

This PR add workflows codes to run automatic test for PET library with new commits in the ngen framework with the library.
Additions
.github/workflows/ngen_integration.yaml
Removals

Changes
.github/workflows/build_and_run_tests.yml
Testing
All automated tests: Run PET in standalone mode, run PET within the ngen framework
Screenshots
Notes

Todos

Checklist

[x ] PR has an informative and human-readable title
[x ] Changes are limited to a single goal (no scope creep)
[x ] Code can be automatically merged (no conflicts)
[x ] Code follows project standards (link if applicable)
[x ] Passes all existing automated tests
[x ] Any change in functionality is tested
[X ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Target Environment support

[ ] Windows
[x ] Linux
[ ] Browser

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

Thank you for your careful review and good suggestions.
On Wed, Dec 20, 2023 at 3:22 PM JessicaGarrett-NOAA <
@.***> wrote:

Merged #30 https://github.com/NOAA-OWP/evapotranspiration/pull/30 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/evapotranspiration/pull/30#event-11307594281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACA4SRIEAGPRSLQGBKKQGNTYKNJHXAVCNFSM6AAAAABASCNIOGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGMYDONJZGQZDQMI
.
You are receiving this because you authored the thread.Message ID:
@.***>


chore: init test

Closes #
📝 Description

Add a brief description

✅ Impotant things to be checked

[ ] Notable changes 1
[ ] update @julo-ui/(react / plug) version (important)
[ ] update @julo-ui/(react / plug) export (important)

⛳ Current behavior (updates)

Please describe the current behavior that you are modifying

🚀 New behavior

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):

📝 Additional Information

This is just for testing


Add formatter for repo

https://prettier.io/docs/en/options.html is a good option
See how I use it here: https://github.com/huangsam/huangsam.github.io

@huangsam thank you for the suggestion. We plan to utilize git hooks for this as well.


feat: add etherlink mainnet and testnet eip 3770

I have read the CLA Document and I hereby sign the CLA

Solved in #936 .
This PR was not using the shortNames that can be found in ethereum chains list
https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-42793.json
https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-128123.json


MagicMirror v2.26.0 won't start with pm2 but running fine, if starting manually - undefined reading disableHardwareAcceleration

Hello,
I have just updated my MagicMirror to version 2.26.0. Afterwards I started it manually in the MagicMirror directory with
npm start
This worked perfectly.
Now I have also updated pm2 to the latest version: v5.3.0
Unfortunately, my MagicMirror does not manage to start with pm2.
The error log gives me the following error message:
0|MagicMir | [01.01.2024 19:32.53.347] [ERROR] TypeError: Cannot read properties of undefined (reading 'disableHardwareAcceleration')
0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:15:6)
0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1356:14)
0|MagicMir |     at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
0|MagicMir |     at Module.load (node:internal/modules/cjs/loader:1197:32)
0|MagicMir |     at Module._load (node:internal/modules/cjs/loader:1013:12)
0|MagicMir |     at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23)
0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1356:14)
0|MagicMir |     at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
0|MagicMir |     at Module.load (node:internal/modules/cjs/loader:1197:32)
0|MagicMir |     at Module._load (node:internal/modules/cjs/loader:1013:12)
0|MagicMir |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
0|MagicMir |     at node:internal/main/run_main_module:28:49
0|MagicMir | [01.01.2024 19:32.53.353] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [01.01.2024 19:32.53.356] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

What can I do to make my MagicMirror start with pm2 again?

I sent an email back

do this
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgradepm2.sh)"

Thanks, this worked for me!

that makes  3 users now. thanks for the feedback


⚠ Thumbnails API Endpoint has degraded performance

In ce68a08, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1298 ms

Resolved: Thumbnails API Endpoint performance has improved in 3930b2d.


Update 'Storage' component, Include implementation details for add -l

Codecov Report

Merging #222 (2ac621e) into master (83c3dcd) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #222   +/-   ##
=========================================
  Coverage     60.50%   60.50%
  Complexity      716      716
=========================================
  Files           134      134
  Lines          2646     2646
  Branches        295      295
=========================================
  Hits           1601     1601
  Misses          941      941
  Partials        104      104

Impacted Files
Coverage Δ

...java/tutoraid/logic/commands/AddLessonCommand.java
100.00% <100.00%> (ø)

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 83c3dcd...2ac621e. Read the comment docs.


Ionic tabs doesn’t update view while changing from tab to tab

Resources:
Before submitting an issue, please consult our troubleshooting guide (http://ionicframework.com/docs/troubleshooting/) and developer resources (http://ionicframework.com/docs/developer-resources/)
Please make sure you are posting an issue pertaining to the Ionic Framework. If you are having an issue with the Ionic Pro services (Ionic View, Ionic Deploy, etc.) please consult the Ionic Pro support portal (http://support.ionicjs.com)
Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x ] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
ionic tabs doesn't update view while changing from tab to tab, unless a pop appears,
here is tab1

and here it's the second tab files that's supposed to be highlighted in the tabs bar and zeros should be the numbers of files

and here is how it updated when the alert showed

..
Expected behavior:
the expected behavior here is that the tab's view updates whenever I change the tab
SIfteps to reproduce:
the weird part here there are no special steps to reproduce, because when I run ionic serve at first it works perfectly with no issues and when I reload the page, or it automatically reloads after a a new build, the issue is back.
Related code:
My tabs.ts
import {Component, NgZone} from '@angular/core';
import {AlertController, App, Events} from "ionic-angular";

import {FilesPage} from '../files/files';
import {UsersPage} from '../users/users';
import {LoginPage} from "../login/login";
import {ToastProvider} from "../../providers/toast/toast";
import {SyncerProvider} from "../../providers/syncer/syncer";

@Component({
  templateUrl: 'tabs.html'
})
export class TabsPage {

  tab1Root = UsersPage;
  tab2Root = FilesPage;

  constructor(public alert: AlertController, public app: App, public zone: NgZone,
              public toast: ToastProvider, public event: Events, public syncer: SyncerProvider) {

    this.event.subscribe('logout', () => this.logout());
  }
  ionViewDidLoad() {
    this.syncer.sync(false);
  }

  logout() {
    let alert = this.alert.create({
      title: "Log-out ?",
      message: 'Are you sure you want to log-out?',
      buttons: [{
        text: 'No',
        handler: () => {
          console.log('No clicked')
        }
      },
        {
          text: 'Yes',
          handler: () => {
            localStorage.removeItem('loggedIn');
            this.toast.showToast('See you soon! :)', 2000, 'bottom');
            this.app.getRootNav().setRoot(LoginPage);
          }
        }
      ]
    });
    alert.present();
  }
}

my tabs.html
<ion-tabs color="toolbar">
  <ion-tab [root]="tab1Root" tabTitle="Users" tabIcon="people"></ion-tab>
  <ion-tab [root]="tab2Root" tabTitle="Files" tabIcon="folder"></ion-tab>
</ion-tabs>

Other information:
I have this issue opened here in the ionic forum => https://forum.ionicframework.com/t/ionic-tabs-doesnt-update-view-while-changing-from-tab-to-tab/106439?u=xdabier
Ionic info:
ionic info

cli packages: (/usr/lib/node_modules)

    @ionic/cli-utils  : 1.12.0
    ionic (Ionic CLI) : 3.12.0

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : android 6.2.3
    Ionic Framework    : ionic-angular 3.6.1

System:

    Android SDK Tools : 25.2.5
    Node              : v7.10.1
    npm               : 4.2.0
    OS                : Linux 4.4

Misc:

    backend : pro

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? The code you posted looks fine, but it is really hard to tell what the issue could be out of context like that.
Unless you are able to share your actual app, I would start with ionic start ionic-tabs-issue tabs and then take it just far enough to demonstrate your issue.
Thanks for using Ionic!

I'll do that right now

here's the app

@Xdabier - I notice that you closed this. Did you find a solution for your issue?

@kensodemann yes this reply here heleped me finding a way out.
The issue is that I was calling a plugin that is not zone aware before getting to my main view which is the tabs page, which have put all of my app out the angular zone, so I had to call NgZone.run() to fix the issue

perhaps the setRoot method of NavController could warn or run inside NgZone.. Thanks @Xdabier


[Bug]: UI overflow when organization name is long

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When organization name is too long and when user shares the app the modal that appears has overlapping of ellipsis and x icon

Steps To Reproduce

In release create a new organization with very long name
Click on share and observe the modal

Public Sample App
No response
Version
Cloud

This is fixed. Closing the issue.


DRUGNAME trailing space

We just find in admissionDrug, the values in drugname column have lots of trailing spaces.

Yes, this is a common problem with all healthcare data.  We try to bring the data in a form as close to how it is generated as possible, as many researchers are interested in developing realtime systems and decision support tools which will require appropriate handling of data in its imperfect form.  If you develop some good cleaning scripts for this table we would happy to consider adding them to this repo so others are able to use them as well.


Updated simplified Chinese translation for toolbox.

Updated simplified Chinese(zh_cn) translation for toolbox.
I take issue with the "read as binary" text because it actually shows as hexadecimal (I changed it in the translation I submitted, but you can still ask me to change it back to the "binary").
Please don't put my name on the project if you can help it.

Please don't put my name on the project
Ok, I will not. Anyway, thank you for your work.


[DO NOT MERGE] Add acr to the default installation list

/cc @SajayAntony

Please merge this PR by Connect(). Thanks!


Vim cursorline cuts out on some keywords

Environment:

Fedora 32
NeoVim (v0.4.4)
Alacritty

If you have a trouble with coloration and are using Vim/Neovim with terminal:

[ ] Does your Vim support full colors? (:set termguicolors)
[x] Does your terminal support full colors? (e.g. Terminal.app doesn't support it)

As shown in the gif, the cursorline goes invisible on certain keywords. Is this intended? If it is, is there any workaround to prevent it from cutting out.

That is not intended behavior. Does the problem occur on the other terminal app?

I tried with xfce4-terminal and experienced the same issue. However, I think that it seems to only occur on .vim files. I just opened the code for iceberg.vim and can reproduce it there whenever let is used.

Could you share the .vim file in the screenshot? I'd like to check it in my environment.
Do you use any extra plugins for .vim? (syntax, linting, ...etc.) If you disable all of other plugins, does the problem still occur? Anyway, list of plugins would help me to reproduce a cause.

I did a bit more research and I believe this might be a NeoVim issue neovim/neovim#9019. A few other themes have the same problem.

Reproduced the same issue in Neovim, and works fine in Vim. It seems to be caused by Neovim issue as you said.
Neovim:

:version
NVIM v0.5.0-nightly

Vim:

:version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 19 2020 22:09:59)
macOS version
Included patches: 1-800

This problem should be fixed by Neovim. Let's wait for the future release...


support TLS config: insecure_skip_verify for PodMonitoring config

with promethus config:
    - job_name: 'vault-pods'
      metrics_path: "/v1/sys/metrics"
      params:
        format: ['prometheus']
      scheme: https
      tls_config:
        insecure_skip_verify: true

Did not find any way to set the insecure_skip_verify: true from the scrapeendpoint doc
Error message:
2022-06-01T17:27:06.271Z [INFO]  http: TLS handshake error from <IP_ADDRESS>:50352: remote error: tls: bad certificate

ip: <IP_ADDRESS>,   is the pod ip of the collector.
❯ kubectl get po -n gmp-system
NAME                              READY   STATUS    RESTARTS      AGE
collector-jsjx9                   2/2     Running   0             25h

Bumping as we are facing similar issues with our GMP instance and pulling metrics from the Kube RBAC policy.
2022/09/14 16:22:12 http: TLS handshake error from <IP_ADDRESS>:44728: remote error: tls: bad certificate

Hi,
We are currently working on adding scrape authentication. See similar issue https://github.com/GoogleCloudPlatform/prometheus-engine/issues/241.


DTSPo-16138 - update script

Jira link (if applicable)
https://tools.hmcts.net/jira/browse/DTSPO-16138
Change description
Use keyvault resource to get storage account key, storage account data resource doesn't seem to work. Value is blank
Checklist

[x] commit messages are meaningful and follow good commit message guidelines
[x] README and other documentation has been updated / added (if needed)
[x] tests have been updated / new tests has been added (if needed)
[x] Does this PR introduce a breaking change

Plan Result (nonprod_dynatrace_activegate)
Plan: 0 to add, 1 to change, 0 to destroy.

Update

azurerm_linux_virtual_machine_scale_set.main["dynatrace-activegate"]

Change Result (Click me)

  # azurerm_linux_virtual_machine_scale_set.main["dynatrace-activegate"] will be updated in-place
  ~ resource "azurerm_linux_virtual_machine_scale_set" "main" {
      ~ custom_data                                       = (sensitive value)
        id                                                = "/subscriptions/b44eb479-9ae2-42e7-9c63-f3c599719b6f/resourceGroups/dynatrace-activegate-nonprod/providers/Microsoft.Compute/virtualMachineScaleSets/dynatrace-activegate-nonprod-vmss"
        name                                              = "dynatrace-activegate-nonprod-vmss"
        tags                                              = {
            "application"  = "core"
            "builtFrom"    = "hmcts/dynatrace-activegate"
            "businessArea" = "CFT"
            "criticality"  = "Medium"
            "environment"  = "staging"
            "startupMode"  = "always"
        }
        # (24 unchanged attributes hidden)

        # (7 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Plan Result (prod_dynatrace_activegate)
Plan: 0 to add, 1 to change, 0 to destroy.

Update

azurerm_linux_virtual_machine_scale_set.main["dynatrace-activegate"]

Change Result (Click me)

  # azurerm_linux_virtual_machine_scale_set.main["dynatrace-activegate"] will be updated in-place
  ~ resource "azurerm_linux_virtual_machine_scale_set" "main" {
      ~ custom_data                                       = (sensitive value)
        id                                                = "/subscriptions/2b1afc19-5ca9-4796-a56f-574a58670244/resourceGroups/dynatrace-activegate-prod/providers/Microsoft.Compute/virtualMachineScaleSets/dynatrace-activegate-prod-vmss"
        name                                              = "dynatrace-activegate-prod-vmss"
        tags                                              = {
            "application"  = "core"
            "builtFrom"    = "hmcts/dynatrace-activegate"
            "businessArea" = "CFT"
            "criticality"  = "High"
            "environment"  = "production"
            "startupMode"  = "always"
        }
        # (24 unchanged attributes hidden)

        # (7 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.


Duplicate expenses

Steps to reproduce the behaviour

Open app.
Click on expenses.
Click on a sub-account.
Add new expense details.
Select reoccurring.
Select daily.

Expected behaviour
Once per a day see a expense in the expenses sub-account.
Actual behaviour
Duplicate expenses within the sub-account each day.
I saw one a minuet later than the other.
Software specifications

GnuCash Android version: 2.4.0
System Android version: 9
Device type: Phone

I get the same with monthly and weekly after setting up the schedule. I never had this issue before.

Monthly screenshots

Daily screenshots


Refernce 'Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.0' Fails

We are trying to reference Microsoft.EntityFrameworkCore.Tools.DotNet from our scaffold project (netcoreapp2.0). We get this error
Severity	Code	Description	Project	File	Line	Suppression State
Error		Package 'Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.0' has a package type 'DotnetCliTool' that is not supported by project 'z_scaffold\db.scaffold'
Exception message:
Stack trace:

Steps to reproduce
Create new netappcore2.0 project and try to reference Microsoft.EntityFrameworkCore.Tools.DotNet
Further technical details
EF Core version:2.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Win 10 (latest patches)
IDE: (e.g. Visual Studio 2017 15.3)
UPDATE: What we had to do is add the line:
 <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" />
to the csproj file directly

External issue https://github.com/NuGet/Home/issues/4190


Cyberconnect starter kit

The Scaffold-eth CyberConnect starter kit was made by CyberConnect team (https://cyberconnect.me/) which is a Web3 social graph protocol. We integrated our CyberConnect SDK to scaffold-eth with getting users' identity, connections, and following/unfollowing a certain address features to help developers better to develop Web3 social applications on CyberConnect.
We will be really happy and appreciated it if you can squash and merge this CyberConnect starter kit to the scaffold-eth system. Feel free to let me know if you have any questions or concerns by sending me an email<EMAIL_ADDRESS>or comment below. Thanks again. -- Bruce & CyberConnect Team

Hi, thank you for your replying. Sure, definitely. Please let me know which branch we can send PR to.  Thank you again. @codenamejason

@BruceWangyq I have to give you permissions, which I will do right now. Let me know if you cant merge. Otherwise you have to just submit a PR to https://github.com/scaffold-eth/scaffold-eth-examples/tree/cyberconnect-starter

@codenamejason It seems I still couldn't merge it. I will start over and send a PR to https://github.com/scaffold-eth/scaffold-eth-examples/tree/cyberconnect-starter. Thank you for your efforts!

@codenamejason Hi, I sent the PR to https://github.com/scaffold-eth/scaffold-eth-examples/tree/cyberconnect-starter Please let me know if there is any question or concern. Thank you again!


Skipping validation?

Hi,
I am using insert autoform for collection "Posts" and I need to skip validation before saving when "Save Draft" button is pressed and validate form before submitting when "Add post" button is pressed. Is there a functionality for this? I tried adding validation="none" attribute and then manually validating fields but that did not do the trick.

There is no way to skip validation entirely from the client if you did attachSchema on the collection. (Otherwise that would be a security hole.) So you'll have to remove the type from the form, add an onSubmit hook, and based on your logic, either call insert on the client (which will validate), or call a server method that will do the insert without validation (pass {validate: false} as the second argument of your insert call in the server method).

What about if I want disable validation for debugging to test my server-side validation logic?


[Monitor-Opentelemetry] fix documentation

Packages impacted by this PR
@azure/monitor-opentelemetry
Issues associated with this PR
Describe the problem that is addressed by this PR
Documentation is wrong, and the property name used throws an error.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
N/A
Are there test cases added in this PR? (If not, why?)
N/A
Provide a list of related PRs (if any)
N/A
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[x] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.

@sinedied thanks for the fix!


Added polybar node-version

Python script to compare latest available Node.js version to the installed

Why isn't that written in nodejs? :rofl:

Hehe it would be easier for me scraping with node :rofl: ,
but i'm trying to learn python, and i think this is a good way to start :+1:


Integration with outlook calendar

Hi there,
Thanks for the request! Mind closing this and opening an issue in the Integrations repo?

sure


Issue #27 adding user presence

Added fa-user icon next to username which turns green when user is online using the mizzao:user-status package.

mizzao:user-status won't work once your application scales to multiple server since the user presence status is held in an in-memory collection. You can read more about it here.

I see, thanks for the info. Someone mentioned konecty:meteor-user-presence could handle multiple instances. Any thoughts?

Thanks for the PR! I will look into it. Although I have no further information about the scalability. But we should definitely discuss this.

I'll merge this and opened up another issue for the performance discussion. We can change it later on when there's more traffic on the website and we run into problems.


Address warnings reported by swiftlint.

added formatting here https://github.com/unnamedd/swift-evolution-backend/commit/6dea63aec8f15216f396dc5bd46eae98a6a747f5
Disabled identifier_name rule, didn't see a problem with variable names like id when on a Proposal object.


Made Collection much more simple

Collection was broken, I'd like to use it for an email blaster. This has made it temporarily more simple before we can merge in #309

Codecov Report

Merging #311 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #311      +/-   ##
=========================================
- Coverage   89.56%   89.5%   -0.06%
=========================================
  Files          28      28
  Lines        4063    4040      -23
=========================================
- Hits         3639    3616      -23
  Misses        424     424

Impacted Files
Coverage Δ

lightkurve/lightcurve.py
93.56% <100%> (+0.01%)
:arrow_up:

lightkurve/collections.py
100% <100%> (+4.54%)
:arrow_up:

lightkurve/tests/test_collections.py
100% <100%> (ø)
:arrow_up:

lightkurve/periodogram.py
67.68% <0%> (-1.03%)
:arrow_down:

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 88d48fc...407cb8d. Read the comment docs.

:+1:  :trolleybus: :poultry_leg: :cow: :pen: :cactus:


Virtual environment from an unrelated directory gets selected

Filed on behalf of @gvanrossum ...

Behaviour
Expected vs. Actual
When I open a repo directory (I use the command line: code ~/<dirname>/), a seemingly random venv gets activated. What I want is: either a venv with a standard name (e.g. 'venv' or '.venv') in that repo (whether or not it's managed by git) is activated, or possibly a venv with a standard name from my home directory (e.g. ~/venv or ~/.venv). But what I get is a venv in some other repo that I might have last opened days or weeks ago gets activated. And sometimes no venv gets activated. I don't know how to control what happens, which is probably the most frustrating part.
Steps to reproduce:

Open VS Code on a repo, say ~/cpython.
In the shell, type 'code ~/peps/'.
In the new VS Code window that appears, create a shell window.
Observe that in that shell window, another repo's venv is opened, say ~/devguide/venv/.

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.8.5
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Pylance

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

2023-08-15 15:29:54.747 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-08-15 15:29:54.747 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-08-15 15:29:54.747 [error] Dir "/Users/guido/peps" is not watchable (too many files)
2023-08-15 15:29:54.747 [info] Test server listening.
2023-08-15 15:29:54.747 [info] Python interpreter path: ~/devguide/venv/bin/python
2023-08-15 15:29:56.776 [info] Starting Pylance language server.
2023-08-15 15:30:06.160 [info] Send text to terminal: source /Users/guido/devguide/venv/bin/activate

User Settings

languageServer: "Pylance"

Can I please get a screenshot of the interpreter list right after step 2 when ~/peps was opened? Use Python: Select Interpreter command:

Btw here's how we automatically choose environments: official documentation. If a local venv is present, we ideally should be choosing that.

Here are screenshots of the top and bottom of that menu.
FWIW today the outcome is different— it chooses ~/.venv, which is more reasonable.
python.org/~guido

From: Kartik Raj @.>
Sent: Thursday, August 17, 2023 11:42:02 AM
To: microsoft/vscode-python @.>
Cc: Manual @.***>
Subject: Re: [microsoft/vscode-python] Virtual environment from an unrelated directory gets selected (Issue #21825)
Can I please get a screenshot of the interpreter list right after step 2 when ~/peps was opened? Use Python: Select Interpreter command:
[image]https://user-images.githubusercontent.com/13199757/261404590-3b8a2aa1-6358-43f3-9b8f-4ddc065354d1.png
Btw here's how we automatically choose environments: official documentationhttps://code.visualstudio.com/docs/python/environments#_how-the-extension-chooses-an-environment-automatically. If a local venv is present, we ideally should be choosing that.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-python/issues/21825#issuecomment-1682784349 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAWCWMXUX5YHV4NDZOESD33XVZQXXBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIYTCMZYGE3TINJSGOSG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJRGA3DINRSG43DLAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDCOBVGM4DOOBYGE3IFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIYTCMZYGE3TINJSGOTXI4TJM5TWK4VGMNZGKYLUMU.
You are receiving this email because you are subscribed to this thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sorry but I don't see any screenshots 😅 maybe because the comment was sent through an email?

Using a phone. I will try again when I have my work laptop, Monday.
python.org/~guido

From: Kartik Raj @.>
Sent: Thursday, August 17, 2023 4:52:35 PM
To: microsoft/vscode-python @.>
Cc: Comment @.>; Manual @.>
Subject: Re: [microsoft/vscode-python] Virtual environment from an unrelated directory gets selected (Issue #21825)
Sorry but I don't see any screenshots 😅 maybe because the comment was sent through an email?
[image]https://user-images.githubusercontent.com/13199757/261464960-94aadc3c-7ff1-44f0-8c7a-0693daff0323.png
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-python/issues/21825#issuecomment-1683127662 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAWCWMW23RO2T6KNIYFQ44LXV2VEHBFKMF2HI4TJMJ2XIZLTSWBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE3TCNZRGM4DCMJZURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2UMJRGM4DCNZUGUZDHJDOMFWWLKLIMFZV63DBMJSWZLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOKIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVEYTANRUGYZDONRVQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRRHA2TGOBXHA4DCNUCUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNZRG4YTGOBRGE4YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIYTCMZYGE3TINJSGOTXI4TJM5TWK4VGMNZGKYLUMU.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Try these.

What I want is: either a venv with a standard name (e.g. 'venv' or '.venv') in that repo

I can confirm that "⭐" appears next to the interpreter which is expected to be selected, so at least our guess is right. But our recommended interpreter was overridden by one of two things:

"python.defaultInterpreterPath": Did you set this setting? If not, please remove it from "User settings" or settings.json in your repository.
Previously configured interpreter using the menu. This can be cleared using Python: Clear cache and reload window command for all repos, or Python: Clear Workspace setting command.

My guess is, "python.defaultInterpreterPath" was previously inadvertently set in User settings, this can happen when working on an isolated Python file without opening a repo/project in VS Code.
We can look into improving this experience if that's the case.


Update taskfile to explicitly call python3.6

must remember to remove that version number in the taskfile... obv not using it


Love your project thanks alot man! Made a fork for people who wanna steal then reverse the NFTs to make their own collection!

@sj-dan Let's close this issue


add argument HUGO_APPEND_PORT so user can disable it

In order to use this image with the lets-encrypt-proxy-companion, you need to disable the 'appendPort', otherwise somes features don't work (the search results are linked to my.domain.name:1313/something).
I set the default value set as true because it's the default value for it according to the documentation. So if you don't add the environment variable, nothing is changed.

Any chance we can get this merged? I'm running into the same problem.


ColReorder does not work on the example app

It is just the headers moving around, other rows remain the same :)

Might be redundant detail but I wanted to take note of it.
I traced this problem down to this function:
$.fn.dataTableExt.oApi.fnColReorder = function ( oSettings, iFrom, iTo, drop, invalidateRows )

It is called from within _fnMouseMove and _fnMouseUp.. If you mess with the last two parameters, it works.. but not too long.. once you interact with the table by sorting etc. it goes back..
Since it works fine on datatables.net, I assume there is configuration issue with django-datatable-view..

while you are at it, if you could have a look at this, that would be perfect!


Clean HTML

Cleaned using javascript now.
Live test runing at: http://oakz.org/ffbeEquip/

I accepted your pull request, thanks. I made some changes after that to keep it a little cleaner. Take a look at the changes I made if you want.
Thanks for your contribution !


Open or Closed?

Is this challenge still open to participate or not? Candidate from India!

Hi @shambashib24PlutonApps how are you? For now, we don't have open opportunities from Front-end with us but feel free to do this challenge to test your knowledge (and to still be open to new opportunities in the future)


Fix: pass winston instance to captains log

In order for the sails logger captains-log to log to winston it requires the winston instance to be passed to it.
As documented here:
https://github.com/balderdashy/captains-log#using-winston

this change is backward compatibility?

As this is just extending the original sails log config with the custom option and previously captains-log didn't have a custom option it should be perfectly backwards compatible. I haven't specifically tested with a different version though.


feat: rebase dev on new main

Pull Request Checklist

[ ] Did you add new tests and confirm existing tests pass? (yarn test)
[ ] Did you update relevant docs? (docs are found in the site folder, see guidleines below)
[ ] Do your commits follow the Conventional Commits standard?
[ ] Does your PR title also follow the Conventional Commits standard?
[ ] If you have a breaking change, is it [correctly reflected in your commit message](https://www.conventionalcommits.org/en/v1.0.0/#examples? (e.g. feat!: breaking change)
[ ] Did you run lint (yarn lint:check) and fix any issues? (yarn lint:fix)
[ ] Is the base branch you're merging into development and not main?

PR-Codex overview
Detailed summary

Updated the VERSION constant in packages/core/src/version.ts from "0.1.1" to "0.2.0"
Added new exports in packages/core/src/utils/index.ts
Updated dependencies in examples/alchemy-daapp/package.json and examples/aa-simple-dapp/package.json
Added new imports and exports in various files
Updated the SupportedChains map in packages/alchemy/src/chains.ts
Updated the version field in package.json files
Added new imports and types in various files
Updated the changelog files with new version information

The following files were skipped due to too many changes: packages/core/src/client/schema.ts, site/snippets/ethers-provider.ts, site/smart-accounts/sponsoring-gas.md, site/snippets/send-uo-example/calldata.ts, examples/aa-simple-dapp/src/context/wallet/index.tsx, packages/ethers/src/schema.ts, packages/alchemy/package.json, site/packages/aa-alchemy/middleware/withAlchemyGasManager.md, site/smart-accounts/signers/capsule.md, site/smart-accounts/signers/dynamic.md, packages/core/src/types.ts, site/smart-accounts/signers/lit.md, packages/accounts/package.json, site/snippets/send-uo-example/connect-account.ts, packages/core/src/utils/userop.ts, site/packages/aa-core/accounts/other/getFactoryAddress.md, site/packages/aa-core/accounts/other/getOwner.md, packages/accounts/src/kernel-zerodev/__tests__/account.test.ts, site/smart-accounts/signers/turnkey.md, site/getting-started.md, site/smart-accounts/signers/portal.md, packages/core/src/__tests__/utils.test.ts, site/snippets/ethers-signer.ts, site/packages/aa-ethers/provider-adapter/introduction.md, packages/core/src/signer/__tests__/local-account.test.ts, packages/alchemy/src/middleware/gas-manager.ts, site/smart-accounts/signers/magic.md, site/packages/aa-core/accounts/other/getEntryPointAddress.md, site/snippets/privy.ts, site/snippets/particle.ts, site/snippets/core-provider.ts, packages/accounts/src/light-account/__tests__/account.test.ts, site/packages/aa-core/utils/getDefaultEntryPointAddress.md, site/index.md, site/packages/aa-core/utils/getDefaultSimpleAccountFactoryAddress.md, site/packages/aa-accounts/utils/getDefaultLightAccountFactoryAddress.md, packages/accounts/src/kernel-zerodev/README.md, site/smart-accounts/signers/web3auth.md, packages/core/src/provider/types.ts, packages/accounts/src/kernel-zerodev/e2e-tests/kernel-account.test.ts, site/packages/aa-core/provider/waitForUserOperationTransaction.md, packages/accounts/src/light-account/utils.ts, site/snippets/provider.ts, README.md, packages/core/src/account/schema.ts, site/packages/aa-core/provider/getEntryPointAddress.md, packages/core/src/account/simple.ts, packages/accounts/src/light-account/e2e-tests/light-account.test.ts, site/smart-accounts/signers/fireblocks.md, site/snippets/account-ethers.ts, examples/alchemy-daapp/src/surfaces/onboarding/OnboardingDataModels.tsx, site/snippets/account-alchemy.ts, packages/core/src/account/types.ts, packages/ethers/e2e-tests/simple-account.test.ts, packages/core/e2e-tests/simple-account.test.ts, examples/aa-simple-dapp/src/hooks/useAlchemyProvider.ts, packages/core/src/index.ts, site/snippets/send-uo-example/full-example.ts, site/snippets/light-account.ts, site/snippets/account-core.ts, packages/core/src/provider/schema.ts, packages/core/src/utils/defaults.ts, packages/ethers/src/provider-adapter.ts, packages/alchemy/src/schema.ts, packages/alchemy/e2e-tests/simple-account.test.ts, packages/ethers/src/__tests__/provider-adapter.test.ts, site/packages/aa-ethers/provider-adapter/constructor.md, examples/alchemy-daapp/src/surfaces/onboarding/OnboardingController.ts, site/packages/aa-core/provider/constructor.md, site/packages/aa-core/accounts/constructor.md, site/packages/aa-accounts/light-account/constructor.md, packages/alchemy/src/provider.ts, packages/alchemy/src/__tests__/provider.test.ts, site/smart-accounts/signers/particle-network.md, packages/alchemy/src/__tests__/__snapshots__/provider.test.ts.snap, site/packages/aa-alchemy/provider/constructor.md, site/guides/send-user-operation.md, packages/core/src/account/__tests__/simple.test.ts, packages/core/src/provider/__tests__/base.test.ts, packages/core/src/provider/base.ts, packages/core/src/account/base.ts, site/.vitepress/config.ts, yarn.lock

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Current dependencies on/for this PR:

development

PR #210   👈

This stack of pull requests is managed by Graphite.


ImportError with cntk in virtual env

The CNTK dependent DLLs that are installed directly in the root env folder (not under scripts or site-packages) are not found when launched from VS.
Create new python application
import cntk
print(cntk.__version__)

Create new virtual environment based on 3.5 64-bit
Install numpy (with mkl) and scipy from http://www.lfd.uci.edu/~gohlke/pythonlibs
Install cntk from https://cntk.ai/PythonWheel/CPU-Only/cntk-2.0-cp35-cp35m-win_amd64.whl as linked from https://docs.microsoft.com/en-us/cognitive-toolkit/Setup-Windows-Python#quick-installation-test
Result: F5 or CTRL-F5 will give you an import error
Are they wrong to be installing their dependent DLLs in the virtual env root folder?
Are we wrong to not be including the env root folder in the PATH automatically?
Workaround 1:

Set Environment Variables in project settings/debug page: PATH=C:\pythonapplication1\env

Workaround 2:

Open command prompt
Launch env\scripts\activate.bat
Launch VS by typing path to devenv.exe

Interesting (works fine):

Right click project node, open command prompt here
python.exe pythonapplication1.py

Contents of virtual env folders
files.txt

The DLLs should be alongside the module (DLL) that loads them, not the executable. Presumably they chose that path to work with a regular install of Python or an Anaconda env and did not test it with a virtualenv, which has a different layout.
We should not modify PATH. They should fix their wheel (and we've already told them this, so a newer version might be fixed already?). Users can work around it by calling AddDllDirectory(sys.prefix) via ctypes before importing cntk.

The wheels that their docs point to were built on May 31st, so it's possible that they've implemented a fix but not released it yet. Or maybe they have, but haven't updated the installation page (linked above).

I found another bug on this:
https://github.com/Microsoft/PTVS/issues/2528
So it looks like they've known about it since May or even earlier. I'll try to find out who it is we need to send a reminder to.

Thanks, Hugues.


Deprecate user and abandoned modules

Description
NOTE: I'm bad at writing things like this, so feel free to suggest improvements.
Now that the user configs are on the website, it is time to deprecate them.  At the same time deprecated X.C.Monad, which hasn't been updated since 2008 and X.C.Prime, which has confused users quite recently, thinking it to be a better starting place.
Fixes: https://github.com/xmonad/xmonad-contrib/issues/677
Fixes: https://github.com/xmonad/xmonad-contrib/issues/595
Related: https://github.com/xmonad/xmonad-web/pull/49
Checklist

[x] I've read CONTRIBUTING.md

[x] I've considered how to best test these changes (property, unit,
manually, ...) and concluded: Deprecation warnings work as expected.

[x] I updated the CHANGES.md file

Oh, one more thing: how do we know when to remove it? Will we just git blame it in a year or two? (Fine with that probably. :-))

That was the original plan yes (I'm sure we will remember!)


Add github actions for precommit and lint

what

github actions workflow for pre-commit and lint

why

to make it easy to comply with our standards

@osterman This PR is WIP because it's blocked on build-harness PR
https://github.com/cloudposse/build-harness/pull/232
It relies on it as github actions are tied to specific build harness version
https://github.com/cloudposse/terraform-example-module/blob/ca3cf760503c350fdb29bd0e9c0037317936a16f/.github/workflows/lint.yml#L17
Let's first agree on build-harness PR and after release I will update this PR.


[Mention The Feature]:  add a pop up message

Is your feature request related to a problem? Please describe.
I would like to add a pop up message feature to welcome users whenever they visit the website.
Describe the solution you'd like.
I would like to add a pop up message feature to welcome users whenever they visit the website.
Describe alternatives you've considered.
na
Additional context.
na
Show us the magic with screenshots

this is just for the reference.
Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

@Codewithmeowmeow sure go ahead

Make sure to join the discord server for further communication
Don't forget to star the repository
Complete the task in next 2 days and kindly mention your issue # in your pr like:
Closes #IssueNumber

Note: the level of the issue may change based on the quality of the PR code

Its been more than two days and no pull request was made so we are closing this issue.


Make "showing selected items first" optional

I need this for 2 reasons:

I need to keep alphabetical order, regardless of the selection
I have a container that cannot order for "synthetic" fields like 'selected'

I'm planning to work on this and provide a PR. Would you review and accept that?

sure, as long as default stays it gets sorted? :)
what container are you using?

easiest way to prevent any sorting would be adding another parameter default true and called by isSortingAllowed();
private boolean isSortingNeeded() {
	return isSortingAllowed() && sortingNeeded;
}

maybe try this? :)

what container are you using?

I'm using a "PersistentContainer" which extends AbstractBeanContainer and is a kind of a LazyQueryContainer, keeping some index of ids in memory and querying items when needed. It sorts and filter directly on the database.

return isSortingAllowed() && sortingNeeded;

That's not exactly what would solve my problem. Actually, I need
sortable.sort(new Object[] { ComboBoxMultiselect.SELECTED_PROPERTY, getItemCaptionPropertyId() }, new boolean[] { false, true });

to be
sortable.sort(new Object[] { getItemCaptionPropertyId() }, new boolean[] { true });

in my case here.

ok can you make your pull request using an interface which default is my version and everyone can overwrite it by setting his own interface implementation? :)
do you have a documentation to the container youre using? :)

I was thinking about just inserting a new property like showSelectedOnTop or orderBySelectionProperty, with getter and setter, and do the following:
if (getShowSelectedOnTop()) {
    sortable.sort(new Object[] { ComboBoxMultiselect.SELECTED_PROPERTY, getItemCaptionPropertyId() }, new boolean[] { false, true });
} else {
    sortable.sort(new Object[] { getItemCaptionPropertyId() }, new boolean[] { true });
}

What do you think?
BTW, I'm currently blocked by Issue #21, so I'm trying to figure it out first.

Yes that a good approach :)
like the naming and the idea :)

maybe only isShowSelectedOnTop() instead of get :) but yes :)

You already can set your own Comparator. I'm doing so, to keep the order from BeanItemContainer within the selected and unselected items:
	public int compare(Object o1, Object o2) {
		// ...
		order = comboBox.getSelectedValueOrder(o1, o2);
		if (order != 0) {
			return order;
		}

		BeanItemContainer containerDataSource = (BeanItemContainer) comboBox.getContainerDataSource();
		int indexOfO1 = containerDataSource.indexOfId(o1);
		int indexOfO2 = containerDataSource.indexOfId(o2);
		return Integer.compare(indexOfO1, indexOfO2);
	}

yes but he is not using a container that this comparator is working for :)

thanks for the pr :)

available in version 1.1.13


Website Copy

Write copy for the tigoctm.com website. It should cover about Tigo, products, support services, and fees.
Topics:

[x] About Tigo
[ ] Partners + Advantages (i.e. Deginner and Dash)
[ ] Products + Prices (i.e. Lamassu machines)
[ ] Support + Fees

@cindy-zimmerman lets work on this together to get it done by Monday Feb. 1.

Initial website structure and copy are checked in with https://github.com/deginner/tigoctm/pull/5.

Closing now as we have initial draft merged, and issues should be taken individually from now on. :+1:


Extending Express Request

Informations

Type
Version

Question
4.x

Description
Extending the express request.
I want to add a custom key to the express request. I have two possible solutions, I was wondering if there is a better / suggested way?
Example 1:
request['statsdKey'] = 'someKey';
Example 2:
 declare global { 	namespace Express { 		interface Request { 			statsdKey: string; 		} 	} }

your second example is the correct way of doing it.. and usually this code lives inside a file called typings.d.ts in the root of your project.


Bee proxy POC

This issue comes to aggregate the information about a 2nd layer proxy that would provide higher level functionalities. The idea is to offload higher level functionalities and abstractions, and separate them from the core of our codebase. This might inflict certain changes in our current architecture, but it is better we do so at an early stage.
What we want to achieve:

A test case for interoperability between different platforms and languages
Deliverable which puts us a step closer to web3 developer community
A native solution for web development environment (rich web development experience using entire js developer ecosystem)
Improve developer experience for dapp developers

What we'd like to prevent:

Leakage of outdated anti-patterns we've been seeing across the codebase and repos

Deliverable:

[ ] Integration testing - JS driven
[x] Create boilerplate repo of an HTTP proxy (JS)

[x] Testing

[x] Metrics

[x] Tracing?

[x] Logging

[ ] CLI UX

1st phase:

[x] Proxy chunk API (purely for demonstration purposes)

2nd phase:

[ ] Implement file API in JS (from scratch)

[ ] Implement manifests

[ ] use bzz:/ to serve content

Future:

Focus further how to harness the strength of JS to create websites

basic client is at https://github.com/acud/js-bumblebee
closing this ticket as the POC was achieved, later iterations should be documented in the respective repos as issues, setting up a formal workflow


Expose viewer.export_figure in the GUI

🚀 Feature
As available for screenshots in the context menu (e.g. File --> Save Screenshot...), the new viewer.export_figure() functionality should be exposed to the public.
Motivation
In my experience, many users of napari want to easily export a figure-like image from the canvas, and not only the default screenshot button. Later, many users end up having to crop down their images. However, this is also flawed because images may be of different length and width, making repeatable and comparable canvas views challenging at times. By exposing export_figure, users will have fewer challenges preparing figure-like images from the canvas.
Pitch
Add Save Figure... and Copy Figure to Clipboard... to the File context menu. It may also be useful to designate default keybindings to these items. I could try to figure out how to do this and submit a pull request if there is interest.
Alternatives
The pitch will add yet two more options to the context menu, which may be getting a bit long. It may be worth thinking of creative solutions to reduce the menu options. However, trying to combine them with some sort of preference toggle would be misleading because of the different functionality between

Thanks for raising this issue!
I think there are 2 ways to handle the clutter risk:

Replace the calls of the existing File menu items. In the export_figure PR I argued--unsuccessfully--that the export behavior of no-margins should replace the existing behavior, because no-one ever wants the margins--but that it needed to handle zoomed in views. If it handled zoom, then I think we could replace the calls behind the existing File menu items.
Keep the menu items that involve creating files in File menu, but move the clipboard items (Copy...) to the Edit menu.

What do you think @TimMonko ?

1. Replace the calls of the existing File menu items. In the export_figure PR I argued--unsuccessfully--that the export behavior of no-margins should replace the existing behavior, because no-one ever wants the margins--but that it needed to handle zoomed in views. If it handled zoom, then I think we could replace the calls behind the existing File menu items.

Understandable argument. One key thing preventing this sweeping change is the lack of 3D support. And, as you said, lack of zoomed support.

2. Keep the menu items that involve creating files in `File` menu, but move the clipboard items (`Copy...`) to the Edit menu.

I think this is a sensible start. But, what Edit menu? I have File and View, etc... I do think I often check View when I forget the keybindings, only to remember its actually in File.
Either way, one alternative that I thought of was to have some kind of context menu which would be like Screenshot >: [Save..., Save with viewer..., Copy..., Copy with Viewer...] and Export Figure >: [Save..., Copy...,] with new keybindings being added. This has the advantage of reducing menu entries BUT requires users to always have another context menu if they refuse to memorize the keybinding.
I'm happy to attempt to take this on, but wanted more input from the community for what direction I should head since it will take a bit of extra learning on my part.

One key thing preventing this sweeping change is the lack of 3D support.

Wait it doesn't work in 3D? huh. That's a bummer for sure! Do we have an issue for that?

But, what Edit menu?

Yea 🤣 Exactly! napari is a odd duck that doesn't have an Edit menu, which is standard like across everything I think.

Wait it doesn't work in 3D? huh. That's a bummer for sure! Do we have an issue for that?

from _QtMainWindow._screenshot():
if fit_to_data_extent and ndisplay > 2:
    raise NotImplementedError(
        trans._(
            'fit_to_data_extent is not yet implemented for 3D view.',
            deferred=True,
        )
    )


Add dark mode support for dropdown icon.

Add a white dropdown icon base64 string.
Show the white dropdown icon when withDarkTheme resolves true instead of the default black.

Fix :- garganurag893#74

Before

After

How can I change the dropdown icon to white? I believe the issue has been solved but I don't know how to activate this function.

How can I change the dropdown icon to white? I believe the issue has been solved but I don't know how to activate this function.

Set useDarkTheme prop to true.

How can I change the dropdown icon to white? I believe the issue has been solved but I don't know how to activate this function.

Set useDarkTheme prop to true.

useDarkTheme doesn't exist, I believe you mean withDarkTheme
However I have "withDarkTheme = {true}" in my code and it still doesn't work. My current version of the library is "react-native-phone-number-input": "^2.1.0".

How can I change the dropdown icon to white? I believe the issue has been solved but I don't know how to activate this function.

Set useDarkTheme prop to true.

useDarkTheme doesn't exist, I believe you mean withDarkTheme
However I have "withDarkTheme = {true}" in my code and it still doesn't work. My current version of the library is "react-native-phone-number-input": "^2.1.0".

I had proposed a pull request, but that is still open and hasn't been merged, There are just like 5 little changes, that you can manually add to your local library file.


Fix switching panes when multiple sessions are attached to the same window(s).

I run several tmux sessions all pointed at the same source session (one in a windowed terminal, one in fullscreen, and sometimes one via ssh from another machine). This patch uses the TMUX_PANE environment variable in the select-window command to help tmux understand which window you want to change the selection in. Otherwise, the command only works from one of the sessions.
(I did look at fetching it with display-message -p '{#D}' but oddly that seemed to return nothing sometimes.)
My first vimscript hacking, hope I did it right!

Updated to do that :)

:+1:

Let's wait for feedback from @christoomey / others.

@jamesoff Thanks for the update. I tested locally and it worked fine for me. Merged into master.
@blueyed thanks as always for your speedy reviews!


Gh 1000 storybook v2

Closes #1000

@maradragan Storybook uses its own webpack server to run. That's why all the dependencies are required.

Since all checks have passed I'm wondering if there are there still issues? Otherwise I recommend to merge :)

@evdhoudt please resolve conflict and I will merge


Remove (often unused) contract urls from CodeInfo

Early 2020, we chose to store the builder and url for the code in the CodeInfo to enable easier validation of the code. However, in practice, this is often unfilled or filled with incorrect values. And no tooling has been produced to properly fill it out nor verify contracts using it.
In the meantime, most cosmwasm-plus based contracts now store correct and up-to-date metadata in the contract itself to enable (future) migrations. We could display this in frontend UIs if present and remove the older builder/url fields.
The cw2 spec defines a format and raw storage location for the contract metadata. And you can view this set in many contracts like cw20-base

The information in cw2 are not sufficient to perform reproducible builds because they might be able to define the source code, but not the build tooling. For Contract Info for Migration this info is not needed, but for reproducible builds it is.
Now you could argue if reproducible builds is something wasmd should care about. In the Ethereum ecosystem such information is completely off-chain (Etherscan or https://github.com/ethereum/sourcify). I see that people do not care now. But will they once there is huge impact on the contracts and contracts compete against each other? Will they realize early enough (before upload) that the fields are important and populate them? Or do we need to give them the chance to do that later (off chain)?


Add user-visible version on macOS

Add the CFBundleShortVersionString field to Info.plist, which makes the version visible to users in the Finder’s Get Info panel:
After:

Before:

 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.

Thanks!


LAV Filters Compatibility Improvement Request

DirectShow-based players other than MPC-HC... It doesn't even work with MPC-BE, etc.
We'd like to be able to play it on MPC-BE and since we've updated to LAV Filters 0.78, we'd like that to be handled as well.
https://github.com/clsid2/LAVFilters/commits/master
I hope this adds everything.

Hi, @Hackjjang!
Thanks you for showing to me for his improvement commits. I merged to my repository and built it with improved.
Commit:
https://github.com/MartinEesmaa/VVCEasy/commit/0069e4cbb89c9ad6020a1d95e8d3f4a780f8ec28
I'll close the issue after the improvement build of LAVFilters is done.
If you have any questions or issues, feel free to reply me or/and reopen the issue again.
Thank you! :)
Regards

Martin Eesmaa


Use GitHub actions, not Travis

GitHub actions is easier to use. Also, add in some bots like one to check for broken links

Use GitHub actions, not Travis-CI


edit clj file will make cpu full busy

I update the emacs.d and I found emacs will make  excessive CPU utilization when I edit the clojure files on Mac OS X El Capitan.
I watch the Activity Monitor and find that emacs make CPU rate almost 100 percent.

I can't duplicate this locally on El Capitan with a recent Emacs version by just opening a couple of randomly selected clojure file. Can you give me any more information so that I can investigate?

I am not very clear about all my environment .
My Emacs is install by Homebrew like
   brew install emacs --cocoa

My Mac is  OS X 10.11
my lein profiles.clj  like this
:plugins [[lein-exec "0.3.3"]
                  [cider/cider-nrepl "0.9.0"]    ;; cider-nrepl 0.10.0 will display triple logs in terminal
                  [refactor-nrepl "1.1.0-SNAPSHOT"]
                  [lein-immutant "1.2.1"]
                  [com.jakemccrary/lein-test-refresh "0.10.0"]
                  [lein-gen "0.2.1"]
                  [lein-drip "0.1.1-SNAPSHOT"]
                  [jonase/eastwood "0.2.1"]
                  [lein-kibit "0.0.8"]
                  [lein-ritz "0.7.0"]
                  [lein-sub "0.3.0"]]

        :dependencies [[org.clojure/tools.nrepl "0.2.7"]
                       [alembic "0.3.2"]
                       ;;[org.clojure/core.typed "0.2.72"]
                       ;;[jonase/eastwood "0.2.1" :exclusions [org.clojure/clojure]]
                       ;;[jonase/kibit "0.0.8"]]
        :repl-options {
                       :timeout 120000
                       :nrepl-middleware
                       [cider.nrepl.middleware.classpath/wrap-classpath
                        cider.nrepl.middleware.complete/wrap-complete
                        cider.nrepl.middleware.info/wrap-info
                        cider.nrepl.middleware.format/wrap-format
                        cider.nrepl.middleware.inspect/wrap-inspect
                        cider.nrepl.middleware.macroexpand/wrap-macroexpand
                        cider.nrepl.middleware.pprint/wrap-pprint
                        cider.nrepl.middleware.resource/wrap-resource
                        cider.nrepl.middleware.stacktrace/wrap-stacktrace
                        cider.nrepl.middleware.test/wrap-test
                        cider.nrepl.middleware.trace/wrap-trace]}}

and my emacs.d config based on commit e20032e5761b44b178b50779273193a377e660ff
I find commit b6e9333f72e50c5c6d8f2efaf9e9ab251be7ff29 maybe solve the problem, but I failed.
I found that when I edit large file with 100+ lines , the emacs will be very slow, when the file lines blow 100 , I can tolerate the speed.
I change the emacs to emacs-mac
    brew install emacs-osx

It seems faster a little , but it useless when editing large files.

My guess is that the problem is due to eastwood, kibit or typed -- my config includes the flycheck-clojure package, and probably flycheck is trying to run these checkers. To confirm this, try modifying init-clojure-cider.el to remove any mention of the flycheck-clojure package, then restart Emacs. You'll probably find everything works better. If that helps, you should contact the flycheck-clojure maintainer for further help. :-)

I think it is caused by flycheck. I delete the flycheck-clojure  config and run is  both mac and ubuntu.
The result is that ubuntu is faster than mac, but the ubuntu emacs24.5 which was builded with source code still will deadlock for a little while.
If I find the reason about it , I will tell you  :-(


Incoherance in the get started doc

Hi,
Sorry this is really nitpicking but in the get started webpage, you mention:
config :maru, MyAPP.API,
    http: [port: 8880]

and then
$ curl <IP_ADDRESS>:4000
{"hello":"world"}

which should be 8880 ( or change config to 4000 ).
!! sorry for nitpicking !!

Yeah, typo again :smile_cat:

Thank you!
Fixed!


add-method-converting-string-to-symbol

Related issue https://github.com/narita-takeru/embulk-input-bigquery/issues/1
remarks

Although string values of column task[:columns] are symbolize before yield(task, columns, 1), type of value of column of @task[:columns] becomes string.
Therefore, I try to symbolize in the scope of run method.
I am new to Ruby language. So please let me know if my diffs have inappropriate grammar.

Thank you 👍  @YujiKoyano


Create static version of Swagger API

Explore the option to extract the swagger API  static page and include it in the documentation.

As a work-around, @Junjiequan suggests copy-pasting the openapi json (served as /explorer-json if enabled in the config) here. That still requires at least a scicatlive instance for the json file.
@nitrosx suggested configuring the swagger-ui-action to generate a github page for the backend with the swagger-ui page and the explorer-json file. This post could also be relevant.

@sbliven  The latest openapi json file is always available here. Open the success run and then you will be able to download SDK zips and api-json altogether.
The page can be redirect by clicking upload-sdk-artifact.yaml tag

PS: Please ignore the failure runs for now, we will fix it next week..


🐛 [BUG] Fix the memory error bug when loading metadata pickle file of vqvae dataset

I have a possible solution, what do you think?
        cache_file = osp.join(folder, f"metadata_{sequence_length}.pkl")
        if dist.is_initialized() and dist.get_rank() != 0:
            dist.barrier()
        if not osp.exists(cache_file):
            clips = VideoClips(files, sequence_length, num_workers=32)
            pickle.dump(clips.metadata, open(cache_file, 'wb'))
        else:
            metadata = pickle.load(open(cache_file, 'rb'))
            clips = VideoClips(files, sequence_length,
                               _precomputed_metadata=metadata)
        if dist.is_initialized() and dist.get_rank() == 0:
            dist.barrier()

My reasons for using this solution:

Avoid executing VideoClips in every rank.
Can run even in single-card scenarios (this issue seems to exist in your version).


Tab that takes you to cosmic trigger website

Hi we talked about a tab called 'Background' that basically takes you to our original website.
www. cosmictriggerplay.com
If you need access to the website for any reason - the person to contact is Dominic<EMAIL_ADDRESS>

I'll include a link in the top-level navigation.


phpseclib/phpseclib - Infinite Loop vulnerability

A new vulnerability is reported for phpseclib/phpseclib
composer audit

composer why phpseclib/phpseclib
google/apiclient        v2.13.0 requires  phpseclib/phpseclib (~2.0||^3.0.2)
Is a new version with an upgrade planned?

What if you run the following command?
Unless there are special circumstances such as specifying the required version, I think there is no problem.
composer update phpseclib/phpseclib:^3.0.19


Address Dependency Operational Risks

Hi Team,
We've identified a few dependencies in your project that might benefit from an update:
github.com/smartystreets/goconvey v1.6.4(High): This version was released on August 1, 2019. Updating to a newer version could potentially address compatibility issues or security vulnerabilities with newer systems or frameworks.
Indirect dependencies:
    - gopherjs 20181205-snapshot-0766667c (High)
    - golang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff (Medium)
    - github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d (High)

Updating these dependencies could improve overall security and compatibility.
Would you be open to discussing potential upgrade paths for these dependencies?Please let us know if you have any questions or require further information.
Thanks

Thanks for the information, we'll update our direct dependencies in next release.
Those dependencies are not crucial, you can use replace in go.mod for now, like this:
replace github.com/smartystreets/goconvey => github.com/smartystreets/goconvey v1.8.1

@Krunal-Thakkar
We found the minium Go version of goconvey was set to 1.16 [1]  , so we kept it to v1.6.7 now for older Go versions support(1.13+)
You can use replace in go.mod to force upgrade it.

@Krunal-Thakkar
We upgraded goconvey to v1.7.2, not latest for go1.18- support (v1.7.2+ requires at least go1.18).
If you want to use higher version, you can use replace in go.mod


Difference in Size between ZIP and PECL

Hi this is more a question than an issue,
I noticed when i download the DLL file via PECL:
https://windows.php.net/downloads/pecl/releases/sqlsrv/5.10.0/php_sqlsrv-5.10.0-8.1-nts-vs16-x64.zip
And when i download it via the ZIP file under the tags release:
https://github.com/microsoft/msphpsql/releases/download/v5.10.0/Windows-8.1.zip
The size of the DLL is different?
In the PECL file the size of the DLL is only 206kb
While the DLL size from the Zip file is 334kb
Maybe u missing something here? Should the both dlls not be the same size? If not, whats the difference between those two sources then?
Thanks for the great work.
Kind regards Jan,

Hello @jansor
If you extract the zip files you can see that the one from pecl contains the 64-bit dll and pdb for php 8.1, nts.
On the other hand, the zip we uploaded to the release contains the signed dlls (64-bit and 32-bit, no pdb) for php 8.1, both nts and ts.
Hope this clarifies things. :)

Hi, sorry no i mean the DLL file itself, after i extract them.

I see, @jansor. FYI, you can check the build scripts that we use. For an example, you can take a look at appveyor.yml
Maybe we could have made the binaries smaller, so please let us know if you find anything.

I have tested both version on different implementation on our side, and they both seems to be performing the same.
Still strange that they have different file size. i would assume they have to be the same.
Anyhow both are working fine, only difference is file size. We can close this ticket.


[SPARK-12457] [SQL] Add ExpressionDescription to collection functions.

Feeling a little bit guilty to pick the one with the least functions. : )
One question to @yhuai : when users describe these functions, I think it might be nice to provide them multiple useful examples. For example, for the function sort_array, I am wondering how to put the following example in extended?
> val df = Seq((Array(2, 1, 3), Array("b", "c", "a"))).toDF("col1", "col2")
> df.select(sort_array($"col1", false), sort_array($"col2", true)).collect()
Array[org.apache.spark.sql.Row] = Array([WrappedArray(3, 2, 1),WrappedArray(a, b, c)])

So far, the example in Upper is not very clear when we adding the complex use cases. Could you show us more examples?
Thank you!

I am wondering if we only need to show the SQL usage? For DF version, we have API doc (maybe that is good enough for now).

Test build #48124 has started for PR 10418 at commit e49b036.

I see. Thank you!

Merged build finished. Test FAILed.

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

Test build #48129 has started for PR 10418 at commit afdcb1c.

Test build #48124 has finished for PR 10418 at commit e49b036.

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

Merged build finished. Test PASSed.

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

Test build #48129 has finished for PR 10418 at commit afdcb1c.

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

Merged build finished. Test PASSed.

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

Test build #48177 has started for PR 10418 at commit 99cb7d8.

Test build #48177 has finished for PR 10418 at commit 99cb7d8.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please.

Test build #48205 has started for PR 10418 at commit 99cb7d8.

Test build #48205 has finished for PR 10418 at commit 99cb7d8.

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

Merged build finished. Test PASSed.

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

Test build #48385 has started for PR 10418 at commit 64f32a4.

Test build #48385 has finished for PR 10418 at commit 64f32a4.

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

Merged build finished. Test PASSed.

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

@yhuai Could you take a look at this fix? Thanks!


Fix usage of not in schemas

Coverage increased (+0.3%) to 72.064% when pulling da34df272a195682277cec0e37cc9fc0f2f4644f on Jontyy:master into 3b38c2129a1f500fc2e7931e87ee30e6ffe476a6 on wework:master.


Workspaces with common code and uv run with subset of packages?

Hello! I am using workspaces for my project and they are really a game changer. I was waiting for some tooling supporting this nicely for a very very long time and had to do different shanenigans to simulate it. Now, I have a bit of a specific situation and I am unsure what would be the recommended way to solve it using uv. I have the hunch it is solvable in a nice way but I am not sure how to put the pieces together.
Context
The project is related to machine learning. Within the project, we have several packages that are responsible for different things. Think "data prep", "train model 1", "train model 2", "eval", for instance. Each of these is now a workspace, which works nicely. In my developer environment, aka my laptop, I want one big environment which uv solves nicely. The thing is that most of these packages are expensive payloads that require GPUs or GPU clusters, so they need to be submitted to the cloud. To submit them to the cloud, I'd like to bundle the bare minimum (both files and dependencies) into a Docker image. For this, we currently just package the workspace folder and extract the requirements from the super lock into a package specific requirements.txt with uv export --package. It is important to have the bare minimum for 2 reasons: size of image and understanding the payload. If I bundle the whole repo, it is hard to know what code is relevant. If I bundle the bare minimum, understanding (and reproducing) is much easier.
Now, I also want to make sure there is no leaking of dependencies (use a dep from another workspace that is not installed in the relevant package) that in the IDE does not complain but would fail after packaging in the cloud. For that, we are using uv run --isolate --package ... and, once again, works brilliantly.
The Problem
Now the problem arises when I have common code. For instance, a class representing my data contract that could be the output types of data prep that go to be inputs of model train. The "ideal" way I can think of is that common or shared is a workspace of its own. Then, use uv export with the dependencies of the two packages and uv run --package X --package common. But this does not work as error: the argument '--package <PACKAGE>' cannot be used multiple times. I do not want to go through the pain of publishing common anywhere, as it adds a lot of complexity.
So in summary I need:

Ability to export a lock/requirements.txt that covers the dependencies of two packages (I could bypass that but just centralizing dependencies in the non "common" workspace).
Ability to uv run --isolate --package A a script of pkg A that can import "common" package and also pkg A but has no knowledge of packages B,C,D.

I had a look at https://github.com/astral-sh/uv/issues/6935 and linked solutions, which makes me think the pieces are there but I am struggling to piece them together. Hence, I thought it would be amazing if someone with deep knowledge could help me understand what would be the recommended pattern for this.

Would uv run --package X --with ./common work?


RoleLists and links to them

We are already generating separate roleList pages at build time from the contents of the <particDesc> in modern plays. These are injected into the edition pages as separate documents, so they can be kept open by a user when needed, while the same original <particDesc> is still turned into a popup version of the character list which is linked from the slideout panel.
The next stage of this is as to implement support for what follows:

Editors may add introductory material to their <particDesc> in the form of one or more <p> elements preceding the <listPerson> element(s). These paragraphs will be rendered in the roleList page view of the character list, but they will be dropped in the popup version.

Editors may add prefactory material for individual <listPerson type="castlist"> elements in the form of a <desc> element at the beginning of the <listPerson>. These will be rendered as paragraphs, and will be shown in both the standalone page and the popup view; we expect them to be relatively short, and may impose a constraint on length.

Editors may link to a <person> element in a <listPerson type="castlist"> by using a role: prefix, followed by the (globally unique) id of the <person> element. At build time, this link will be expanded into a pointer to the generated roleList document, and to the specific role inside that document; a :target pseudo-class should be used to ensure that the role is highlighted when navigating to it. Since the <person> id is globally unique, and the mechanism which generates a roleList file name and its constituent ids is predictable, there should be no problem processing these links at build time, and this expansion should happen at the Original XML phase, when the other <particDesc>-related expansion is happening.

@JanelleJenstad We need to revisit this. The content model of particDesc allows either model.pLike (paragraphs) or listPerson et al, but not both:
<content>
 <alternate>
  <classRef key="[model.pLike](https://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-model.pLike.html)" minOccurs="1"
   maxOccurs="unbounded"/>
  <alternate minOccurs="1"
   maxOccurs="unbounded">
   <classRef key="[model.personLike](https://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-model.personLike.html)"/>
   <elementRef key="[listPerson](https://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-listPerson.html)"/>
   <elementRef key="[listOrg](https://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-listOrg.html)"/>
  </alternate>
 </alternate>
</content>

So we can't have a <p> element followed by a <listPerson>. Another option would be to use @type on <desc> to allow the editor to specify which <desc>s appear only on the separate page and which appear also in the popup.

Meanwhile, 3) has been implemented in rev 20477. I have created test links in emdAHDM_M_annotation: one instance of a link to Lemot, and one to Catalian.

I've now added Schematron to prevent the use of role: in <ptr>/@target, since there's no way to determine which of many potential names and regs should be substituted. I've also added stripping of these pointers to the PDF build, since no link will be created there; instead, just the content of the ref element .

What if we actually made an XML page with an xInclude that pulls in the information from the particDesc? Then editors could write whatever they want in a <p> in the <body> before the xInclude? @LEMDO-PM, @JanelleJenstad, and @martindholmes talked about this possibility. (The existing character list files are all unremediated holdovers from the ISE days. I can quickly dispatch all of those this week to clear the way for standalone pages.)

There are good reasons to avoid XInclude, not least because it would lead to duplicated ids. A processing instruction could trigger a template that fixes the ids. But we don't want to combine this with generated pages in some portfolios; I think either you make a page or you don't, and if you don't, we don't generate one for you.


Update the shadcn-svelte-phone-input entry to reference it's new location

Fixes #3
I think this makes the most sense what do you think?

All good now!


Apache restart fails after installation

My build is 15063.138. I installed an Apache environment via:
	apt-get update -y && apt-get upgrade -y
	apt-get install tree zip unzip make php-zip php-curl php-xml php-gd php7.0-mcrypt php7.0-mbstring -y
            apt-get install lamp-server^ -y
            a2enmod rewrite && a2enmod deflate && a2enmod headers

	cat <<-'LAMPENV' >> /etc/apache2/apache2.conf
	#
	<Directory /var/www/>
	Options Indexes FollowSymLinks
	AllowOverride All
	Require all granted
	</Directory>
	#
	<ifmodule mod_expires.c>
	<Filesmatch "\.(jpg|jpeg|png|gif|js|css|swf|ico|woff|mp3)$">
	ExpiresActive on
	ExpiresDefault "access plus 8 days"
	</Filesmatch>
	</ifmodule>
	LAMPENV

Yet, after doing systemctl restart apache2.service:

Failed to allocate signal file descriptor: Function not implemented
Failed to restart apache2.service: Launch helper exited with unknown return code 1
See system logs and 'systemctl status apache2.service' for details.

The command, systemctl, looks like a part of systemd.

systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system. -- What is this?

PID 1 in WSL is /init, not systemd.
I think, "/etc/init.d/apache2 restart" or alike might be helpful; traditional service start/stop/restart method.

I'm hoping systemd-init makes it into RS3.  There have been very subtle hints of something like that making it in, and the issue got a mention from Ben Hillis in the video on how interop works (he says that MS's init Daemon (which also manages marshalling and unmarshalling) need not necessarily run as PID1 and

Is this solved?
the /init is not responsive as the systemctl
it is not returning any usefull error msgs.
`> sudo /init enable firewalld

sudo /init start firewalld
sudo /init status
sudo /init status firewalld`

Is this solved?
the /init is not responsive as the systemctl
it is not returning any usefull error msgs.
`> sudo /init enable firewalld

sudo /init start firewalld
sudo /init status
sudo /init status firewalld`


Introducing Result and ErrorMessage

From now on we should use Result in place of outcome::result, the only difference here is that Result uses policy::terminate for as a NoValuePolicy. Accessing errors/values when they do not exist should be a fatal error because in most cases this is not what you want to do.
This PR also moves usages of result<T, std::string> to Result<T, ErrorMessage>.

I will replace outcome::failure() with ErrorMessage()


Add support for folding region-marker comments.

Similar to how other languages use regions in VSCode, accept a comment marker ; followed by the Keyword region (whitespace is ignored). Any other text can follow this word like a normal comment.
VS Code will then naturally support folding up that region until the next ; endregion comment.
Example Used
Example:
/*
 * My AHK Script
 * It does nothing
 */

; region ==================== Initialisation ====================
#Persistent
#SingleInstance, Force
myVar := 0
; endregion ==============================================

;region ===================== Main ========================
#IfWinNotActive, ahk_exe chrome.exe
return
#IfWinNotActive
;endregion

Proposal: Add region-folding.
Gday, I tested this on my PC and it worked fine. If you deliberately left out region markers or added others elsewhere, please advise.
I provided an example above which shows:

Follows same keyword format as most other languages.
The Regex accounts for various whitespace (as per linked Microsoft Example).
Allows comments or no comments on same line.

As is standard in VSCode, regions can also be layered such as my typical H1/H2 comments:
;region ========== Main ==========
; <main setup>
;region ---------- bind: spacebar ----------
; <keybinding code>
;endregion ---------------------------------
;region ---------- bind: control ------------
; <keybinding code>
;endregion ---------------------------------

ps sorry about the formatting, the start of the file uses tabs, the end of the file uses spaces, and I am currently trying out the new "propose change" flow from the GitHub web site so no idea which one it will use 😉
Cheers,
Hicsy


Img sketch

A script to change images to its pencil sketched view.

For hacktoberfest approval, you should add more features to your contributions . So that maintainers dont think as spam.

What kind of features should I add here.. any suggestions?


Logger Accept Lambda for LogBuilder

The custom LogbackSteno logger's LogBuilder methods should be extended to support accepting a lambda which accepts an instance of LogBuilder and returns void. Something like this:
LOGGER.info(lb -> lb.setMessage("Hello World!").addData("myWorld", world));

Some of the caveats here. For starters we will need a separate LogBuilder interface without the log method to avoid either 1) double logging by both users and logger calling log in the lambda, 2) no logging by having the user forget to call log in the lambda.

Closed by #32


After pushing, wait for MRs to stabilize

By stabililze we mean that the "changes_count" field of the MR has a value of "1".  This ensures that by the time the "git lab" command terminates, MRs should be fully up-to-date.
Note that this approach will have to be reevaluated if #16 is implemented (which would allow multiple commits to end up in a single MR).
Also:
unit_tests/merge_request_test.py:
MergeRequestTest:
Removed WAIT_TIME_BEFORE_VALIDATE, etc since create_merge_requests()
now waits for the desired state before returning.

Thanks! With this, now you can remove the waiting in the tests here and here.

Done.


contributing to dsa and webdevelopment

Sorry to inform but this repository has been excluded from hacktoberfest. So inorder to make your PR count towards hacktoberfest, request you to make your contribution in this repository -> https://github.com/SR-Sunny-Raj/Hacktoberfest2022-for-everyone


Feedback for unicode.c

First, I want to say thank you for your work! I was looking for a version of chibicc that had continued development. The work you have done is very impressive.
I have two small pieces of feedback for unicode.c.  The value '-1' is used as a sentinel value at the end of an array of uint32_t values. Since sizeof(uint32_t) doesn't change across platforms, -1 could be replaced with 0xFFFFFFFF in uncode.c. I must admit, I did not know that "unsigned int i = -1" is a common C idiom.
The second piece of feedback is that the function in_ordered_range() traverses through the array with a stride of 2. The checking for the sentinel value '-1' at the end of the array works only if the array length is an odd number. If the length of the array is even then the loop will fall off the end of the array. Can this be fixed by using two consecutive -1 (or 0xFFFFFFFF) values at the end of the array instead of a single sentinel value? With two sentinel values then one of those values will always be checked if the length of the array is even or odd.

I did not know that "unsigned int i = -1" is a common C idiom

Yes, this assumed two's complement and integer casting rule being intact. I see it can be confusing.

in_ordered_range()

The function is only intended for existing static tables in unicode.c, which are formed in first-last pairs, I'll clarify the usage in comment.
For processing unknown input, I think it's better to iterate with explicit type and array size, like
struct UTF32_Codepoint_Range {
  uint32_t first;
  uint32_t last;
};
bool fn(struct UTF32_Codepoint_Range *, size_t);