Nightly release

1. Issue, if available:
2. Description of changes:
Runs everyday half an hour after other scheduled daily crons (https://github.com/aws/karpenter/pull/1576)
Releases an image into the karpenter-nightly repository.
Remaining things to do:
1- Add a "Latest" tag
2- Add usage and about docs to the repo
3- Upload a logo to the registry
4- Add an alias in the registry for a friendlier repo name
5- Possibly publish helm charts as well
6- Add the version tag if possible as well
3. How was this change tested?
4. Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: link to issue
[ ] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@njtran thank you for your comments lets continue the conversation on these concerns, I'm gonna incorporate them in the following PRs I'm working on.


Migration to add webhooks_signing_secret to teams

Migration to go along with https://github.com/bullet-train-co/bullet_train-core/pull/292
for issue https://github.com/bullet-train-co/bullet_train-core/issues/216

@andrewculver asked me not to merge anything related to outgoing webhooks, so I'm going to leave this for him to review and merge. Going to convert it to a draft PR for now.


RFC: Provide mechanism to fully separate data in database per model

It might be a long shot, but...
It is currently possible to define a table name for a data model via private static $table_name.
The ORM and the db layer use that and/or derives the table name from the model class for db related operations. It then decides which column from which model in the inheritance chain goes into which database table, and joins the tables by class and ID (generally speaking) when needed.
Would it be possible to allow (opt-in perhaps?) mechanism to store a single data model data in a separate table, holding all required columns?
The goal, perhaps should have been mentioned as the first thing, is to separate data, provide a set of known tables per model (e.g. its base table and tables for M:N relations).
Under the suggested behaviour, a NewsPage type (inheriting from Page, inheriting from SiteTree) would have all data stored in NewsPage db table, no partial data in Page table and no partial data in SiteTree table.

So to move from Multi Table Inheritance (MTI) to Single Table (STI)?
While there might be uses for this, I'm not sure there's much of a case to actually support this explicitly in the framework. We shouldn't get in the way of the schema builder being able to return 1 table for the entire hierarchy, but I don't think we should be taking on the maintenance burden of it.
Really this touches on another aspect, though, which I would like to see and that's a greater abstraction between the model and their schemas and the underlying storage schema. This touches on my attempts to replace our DB layer with doctorine/dbal, but it really is a huge undertaking because our (Data)Model layer is actually very tightly coupled to not only our DB layer but SQL in general.
I also feel that MTI is one of SS's unique features that separates it from other frameworks.

Cool idea @michalkleiner!
I see your goal statement, do you have an example of why you'd need to do this?
If the goal is to have data in flat tables perhaps you could do that with some kind of indexing service rather than changing the DB schema for Silverstripe.
My initial thoughts on this are (a) why, and (b) this sounds like it would make Silverstripe's job of constructing joins etc quite difficult.

Yes, while some other frameworks definitely support that, I agree with @dhensby that it may not be worthwhile without introducing a proper dbal first.
Meanwhile, perhaps some benefits of that might be achieved by leveraging php traits instead of the usual model inheritance?

Thanks for the reaction, @robbieaverill and others.
The main starter of the idea was a client considering the possibility of cohabitation of multiple related sites in a single codebase. They know about the subsites/multi-sites approach and didn't want to use it, though they were still interested in seeing if there were other ways possibilities.
Whether it was somehow achievable through specifying the custom table names for custom data models (since that already exists, but might be slightly misleading to folks not familiar with how Silverstripe works behind the scenes), making it easier to separate different content domains from a single codebase/database into several instances, e.g. for testing, anonymisation, selective backups etc.
An auxiliary solution, for example, an indexing service, won't deliver in this scenario, it would need to be within the realms of how Silverstripe works with its database.
Similarly, I don't think PHP traits would help here, @dnsl48, but maybe I can't foresee all the possibilities of that.

I also feel that MTI is one of SS's unique features that separates it from other frameworks.

Exactly, @dhensby, it makes it unique, but it also complicates things (from certain perspectives). Every non-standard solution has its pros and cons.
Looking into a dbal sounds like a good long term plan, though I'm not experienced enough in terms of core dev to be able to confidently grasp it, 'own it' and/or contribute to any ongoing exploration work of dhensby's.

I'm not sure I'm fully grasping the multiple sites in one repo concept, do you mean many sites that run off one codebase, or many sites that run off one DB, or literally a repo with lots of separate code bases in?
I do have a project where we have one repo that powers many different sites, the sites all share some common models and even common content (there's a "master" site that is used to edit shared content and all the others then pull that content in). This system uses database views for any of the shared tables.
I'm also not sure I understand how MTI is a problem in any of the scenarios you're talking about.
If your want a complete abstraction from sites and their database then you'd probably want to look at implementing a content API, but SS's lack of abstraction from the database layer can make this tricky if you want this content to be a first class citizen (ie: editable / queryable like a DataObject)

Yes, a single code base off one version of Silverstripe in a single instance with a single database.
It sounds very similar to the project you mentioned, with some content shared across the sites and some content unique.
(Side note — is there a way to define database views through Silverstripe, or they need to be done separately through a database management tool?)
With MTI, you can't simply lift and shift custom page types and a number of tables associated with them and expect the content in these tables to be just and only the content for these.
Basically it's not that much about the content abstraction as it is about how Silverstripe works with the database and how tied SS is with the db.

(Side note — is there a way to define database views through Silverstripe, or they need to be done separately through a database management tool?)

Not in a way that is abstracted, no. You can just run the raw SQL queries. The project I work on has a deployment tools that sets up the views before running a dev/build.

With MTI, you can't simply lift and shift custom page types and a number of tables associated with them and expect the content in these tables to be just and only the content for these.

Yes, I suppose that's true when you have sub-classes of SiteTree and you only want to pull one page type out. For that, you need a tool to extract the data or, again, create a view that you could run an SQL dump against.

Closing this for now, not really a priority.


Remove unused matrixVP to prevent shader error

Overview
After fixing an issue in #6476, it appears to have caused a second shader error.
This math / variable doesn't even appear to be used, so I've removed it from both shaders.
Changes

Fixes: #6577

Verification
Ensure the features that use these shaders (Lost Tracking Service) still render correctly.

/azp run

looks good to me... i would appreciate a shader expert to give a review

looks good to me... i would appreciate a shader expert to give a review

Skimming through this, main thing that scares me is the use of a geometry shader and that double while loop inside of it. At least maxvertexcount is only 3.
This looks like it was generated shader code from some tool like shadergraph. It's a hard to follow what the shader is doing, or at least supposed to do, and if it could be done in a more performant way

/azp run

/azp run


Laravel 5.4 DatabaseMigrations trait should seed the database

Laravel Version: 5.4.17
PHP Version: 7.1.3
Database Driver & Version: mysql

Description:
When runing tests using the DatabaseMigration trait the database is recreated for each test group but it is not seeded.
Steps To Reproduce:
Just use the tool.
Resolution
I have modified the class with the following:
$this->artisan('migrate');
$this->artisan('db:seed');
And after this change all my tests use a clean and seeded database.

It might not suit every application needs :) You can do that in your own project.


Migrate TweetinviContainer

It will now be possible to customize the container and how elements are being injected per client.
This will not only allow on the go bug fixes but will also allow the creation of integration tests where all the Tweetinvi flow is being performed and yet giving control to stub/spy any method.

Think of creating a LifetimeScope instead of using a container and dispose the scope when the client is disposed.


Manual Gating

I discussed on slack with @stefanprodan the possibility of manual gating.
He mentioned that the feature could be created with new webhooks, flagger could send out a webhook call for external step approval, pre/during/post, and if the webhook returns a 200, then the step would be approved to move forward otherwise the the canary would be halted

I was thinking about this as well.
What seems complicated when implemented with a webhook server, is that you'll likely need a unique webhook endpoint per deployment.
Perhaps we could create a generic webhook server that serves:

POST /gates/${gate_id}/ to be used as a unique webook endopint per canary deployment
POST /gates to create a new gate. This endpoint would be called from within your CI/CD pipeline or your GitHub/Slack webhook server to trigger manual approvals.

A unique webhook endpoint could be used from Flagger's pre-rollout webhook to postpone/start canary rollout with manual gating, for example.

He mentioned that the feature could be created with new webhooks

Does this mean new webhook types other than listed in https://docs.flagger.app/how-it-works#webhooks need to be added to flagger?

I think we could have dedicated webhook types for manual gating. I see two possible types: confirm-rollout (delay analysis until GET /gates/start/{canary.namespace} returns 200) and confirm-promotion (delay promotion until GET /gates/promote/{canary.namespace} returns 200)
PS. I’m on vacation till 22 July

@stefanprodan Thanks for the response!
From Flagger's perspective, you'll be able to use whatever path to send webhooks to(i.e. /gates/start/{canary.namespace} is just an example and not hard-coded), right?
I'd like Flagger to work like that so that we can generate whatever URLs with Helm and integrate it with any http server.
FWIW, I'll be using paths like /gates/start/pr/<PR NUMBER> which starts returning 200 once I comment on the PR with /start, and set the PR number to be included in the webhook url via a helm chart value.

@mumoshu with #251 you can set whatever URL you want for the confirm-rollout webhook. Flagger will do a HTTP POST and if the call returns HTTP 200, Flagger will proceeded with the analysis.
The HTTP POST body is the same as with every hook:
{
    "name": "podinfo",
    "namespace": "test",
    "phase": "Progressing"
}

@stefanprodan Just reviewed #251 - looks AWESOME. That's exactly what I wanted. Thanks a lot for your effort!

@mumoshu if the PR looks ok can you please approve it in the GitHub UI? Thanks

@stefanprodan Approved 👍


wiz_user limit

Describe the bug
A clear and concise description of what the bug is.
Steampipe version (steampipe -v)
Example: v0.17.4
Plugin version (steampipe plugin list)
Example: v0.5.0
To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
](https://github.com/turbot/steampipe-plugin-wiz/issues)

@nogarab apologies for the delayed response!!
Could you please share what issue you are running into?

Hello @nogarab ,
We haven’t received a response in a while, so we’re going to close this issue for now. If this is still a concern or if you have additional details to share, please don’t hesitate to reopen the issue, and we’ll be happy to assist you further.
Thank you for your understanding, and we appreciate your contributions!!


Adds website launch phases section to Tangle website

Summary of changes
Tangle website Launch Phases section
Proposed area of change
Put an x in the boxes that apply.

[ ] apps/bridge-dapp
[ ] apps/stats-dapp
[ ] apps/webbsite
[ ] apps/faucet
[x] apps/tangle-website
[ ] libs/webb-ui-components

Reference issue to close (if applicable)
Specify any issues that can be closed from these changes (e.g. Closes #233).

Closes

Screen Recording
If possible provide a screen recording of proposed change.

Code Checklist
Please be sure to add .stories documentation if any additions are made to libs/webb-ui-components.

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

The nav does not go full width of the screen:


Update to reflect autotag move

Autotag now redirects to https://github.com/autotag-dev/autotag/
Action still works, but could be updated in a few places.

Where should it be updated? I looked at this a while ago and I didn't see anywhere that we were specifically linking to the old location.

Readme and right menu

closed in #9


Port to Julia v0.5

Thanks for the package! Julia's lack of support for formal interfaces is painful and I'm happy to see this Haskell-inspired approach.
I wanted to give this spin, so I've ported it to Julia v0.5. (I'm a Julia neophyte, so hopefully I haven't broken anything. At least the unit tests pass.)

Thanks!  Merged.


Kernel update not finding Seeed-modules

I just installed the latest release eMMC IOT image on a new BB Green ( Seeed studio). This is brand new bare device with nothing installed yet.
bone-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img
My very first action was to perform kernel update but I  ran into an issue with updating per instructions:
cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh
Pull succeeded and the script ran but gave the following warnings at the end
E: Unable to locate package seeed-modules-4.19.94-ti-r71
E: Couldn't find any package by glob 'seeed-modules-4.19.94-ti-r71'
E: Couldn't find any package by regex 'seeed-modules-4.19.94-ti-r71'
Full Update  output:
debian@beaglebone:/opt/scripts/tools$ sudo ./update_kernel.sh
info: Updating libgnutls30
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Get:3 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:4 http://repos.rcn-ee.com/debian buster InRelease
Fetched 65.4 kB in 5s (13.4 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgnutls30 is already the newest version (3.6.7-4+deb10u7).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
info: checking archive
2022-03-08 20:17:34 URL:https://rcn-ee.com/repos/latest/buster-armhf/LATEST-ti [196/196] -> "LATEST-ti" [1]
Kernel Options:
ABI:1 LTS414 4.14.108-ti-r144
ABI:1 LTS419 4.19.94-ti-r71
ABI:1 LTS54 5.4.106-ti-r38
ABI:1 LTS510 5.10.100-ti-r37
Kernel version options:
LTS414: --lts-4_14
LTS419: --lts-4_19
LTS54: --lts-5_4
LTS510: --lts-5_10
info: you are running: [4.19.94-ti-r71], latest is: [4.19.94-ti-r71] updating...
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://deb.debian.org/debian-security buster/updates InRelease
Hit:4 http://repos.rcn-ee.com/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Checking dpkg...
Checking apt-cache...
debug: reinstalling: [linux-image-4.19.94-ti-r71]
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 28.6 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://repos.rcn-ee.com/debian buster/main armhf linux-image-4.19.94-ti-r71 armhf 1buster [28.6 MB]
Fetched 28.6 MB in 4s (6,910 kB/s)
(Reading database ... 76212 files and directories currently installed.)
Preparing to unpack .../linux-image-4.19.94-ti-r71_1buster_armhf.deb ...
Unpacking linux-image-4.19.94-ti-r71 (1buster) over (1buster) ...
Setting up linux-image-4.19.94-ti-r71 (1buster) ...
update-initramfs: Generating /boot/initrd.img-4.19.94-ti-r71
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 6,056 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://repos.rcn-ee.com/debian buster/main armhf libpruio-modules-4.19.94-ti-r71 armhf 1buster [6,056 B]
Fetched 6,056 B in 0s (36.3 kB/s)
(Reading database ... 76212 files and directories currently installed.)
Preparing to unpack .../libpruio-modules-4.19.94-ti-r71_1buster_armhf.deb ...
Unpacking libpruio-modules-4.19.94-ti-r71 (1buster) over (1buster) ...
Setting up libpruio-modules-4.19.94-ti-r71 (1buster) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 101 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://repos.rcn-ee.com/debian buster/main armhf ti-sgx-ti335x-modules-4.19.94-ti-r71 armhf 1buster [101 kB]
Fetched 101 kB in 0s (310 kB/s)
(Reading database ... 76212 files and directories currently installed.)
Preparing to unpack .../ti-sgx-ti335x-modules-4.19.94-ti-r71_1buster_armhf.deb ...
Unpacking ti-sgx-ti335x-modules-4.19.94-ti-r71 (1buster) over (1buster) ...
Setting up ti-sgx-ti335x-modules-4.19.94-ti-r71 (1buster) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package seeed-modules-4.19.94-ti-r71
E: Couldn't find any package by glob 'seeed-modules-4.19.94-ti-r71'
E: Couldn't find any package by regex 'seeed-modules-4.19.94-ti-r71'
update-initramfs: Generating /boot/initrd.img-4.19.94-ti-r71
debian@beaglebone:/opt/scripts/tools$
Here is my Version script output
git:/opt/scripts/:[a335abcf87d2ef5fd96e7de83cdf3f0ff5a4da2b]
eeprom:[A335BNLTBBG1BBG121010534]
model:[TI_AM335x_BeagleBone_Green]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2019.04-00002-g07d5700e21 (Mar 06 2020 - 11:24:55 -0600)]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
UBOOT: Loaded Overlay:[M-BB-BBG-00A0]
kernel:[4.19.94-ti-r71]
nodejs:[v10.24.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20210821.0-0~buster+20210821]
pkg:[bb-customizations]:[1.20220301.0-0~buster+20220301]
pkg:[bb-usb-gadgets]:[1.20220112.3-0~buster+20220112]
pkg:[bb-wl18xx-firmware]:[1.20211222.2-0~buster+20211222]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi iio docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
dmesg | grep pru
dmesg | grep pinctrl-single
dmesg | grep gpio-of-helper
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END
debian@beaglebone:/opt/scripts/tools$

Hi @MrBillium i'm done with that script.. in your case please use:
sudo apt update
sudo apt install bbb.io-kernel-4.19-ti-am335x

It'll take care of all kernel updates as they get pushed out..
Regards,

Thanks.
You should  consider updating  instructions at
https://elinux.org/Beagleboard:BeagleBoneBlack_Debian
Bill
On Tue, Mar 8, 2022 at 3:46 PM Robert Nelson @.***>
wrote:

Hi @MrBillium https://github.com/MrBillium i'm done with that script..
in your case please use:
sudo apt update
sudo apt install bbb.io-kernel-4.19-ti-am335x
It'll take care of all kernel updates as they get pushed out..
Regards,
—
Reply to this email directly, view it on GitHub
https://github.com/beagleboard/Latest-Images/issues/100#issuecomment-1062192572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADM6VFZUXBJINXHVLEWE4ITU664CXANCNFSM5QHNEQMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Cannot set breakpoints in skew source

VSCode Version: 1.2.1
OS Version: OSX 10.11.2

I'm trying to step debug through skew language files in VSCode using the chrome-debugger extension. These have the .sk extension.   I can't set any breakpoints on these files, but I can step through/break into the source with source maps enabled.   VSCode debugger occasionally jumps back to compiled.js file and then I can set breakpoints in the js code.  I could turn off sourceMaps, but I want to work with the original source.
remote-debugging chrome launch at 9222
webRoot www
url           http://localHost:8000/...../www/index.html
on my drive
www
source <- renamed from src due to other VSCode bug
www/source  <- symbolic link up from webRoot, only way sourceMaps are matched up
I tried setting the webroot one level up, but then even though diagnostics reports the correct sourceMap full path, break/step only occurs in the compiled.js.  This is the only method I've found to step through the .sk files.
Why can't I even set breakpoints in source files?  They're not gray, they're not red, I just cannot set them in the source.  That's with debugging enabled/disabled.

I haven't tried this out personally but my guess is that this is because Skew uses the sourcesContent feature of source maps and VSCode has made a decision not to support debugging in this scenario (https://github.com/Microsoft/vscode-chrome-debug/issues/60).
Skew uses sourcesContent both because it keeps everything self-contained (you don't have to resort to brittle solutions like symlinks if the sources are embedded) and because the standard library sources are embedded in the compiler and don't exist on disk.

I've verified that the sourceMaps work fine in Chrome, so it's just VSCode that won't set breakpoints.  It appears to break/step and display the variables just fine in the .sk files.

@alecazam @evanw source map handling is the responsibility of individual debug extensions and has nothing to do with VS Code. So VS Code is not in the position to make any decisions to not support specific debugging scenarios. The node.js debugger extension supports sourcesContent (aka inlined content) just fine.
Since you are using the Debugger for Chrome extension I will move this issue to the corresponding repository.

This issue was moved to Microsoft/vscode-chrome-debug#195


Show worker count on grafana dashboard (COMPOSER-2215)

https://grafana.stage.devshift.net/d/cdjhlx93bxerke/image-builder-worker-job-stats-sannedeleteme

just dashboards, so merging.


The chart color is gray in MultiBarHorizontalChart Live Edit

The live edit of MultiBarHorizontalChart shows gray bars (in Chrome). It seems it's a bug, as changing one of the options makes the chart to be multicolored.

I think this issue is relate to this https://github.com/novus/nvd3/issues/916

It's fixed in the latest version [1.0.4+].


Mobile Auth

Users should be able to login to the mobile app via Supabase.

Ideally support Log In with Google (locked to @warriorlife.net email addresses. Look into the "hd" parameter when authenticating , because this makes it easier for people to select their Warriorlife.
Auth state should be long-lasting. If a user changes IP address/location, we should not log them out.

should be done.

Supabase?

Wait I thought we were using google, no? I only see an email login.


chore: add Dockerfile

Motivation
In order to test interactions between hubs and contracts, it will be helpful to have a containerized Anvil node.
Change Summary
Add Dockerfile and anvil.sh startup script.
Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] The PR title adheres to the conventional commits standard
[x] The PR has been tagged with change type label(s) (i.e. documentation, feature, bugfix, or chore)
[x] The PR's changes adhere to all the requirements in the contribution guidelines
[x] All commits have been signed

Additional Context
Usage:

Ensure .env is populated with config values. For use in Docker, make sure values are not quoted.
Build: docker build . -t farcaster-contracts
Run, passing .env as --env-file: docker run -p 8545:8545 --env-file .env farcaster-contracts
Access the node at localhost:8545: cast call --rpc-url http://localhost:8545 <contract address> "owner()". See the container logs for deployed contract addresses.

PR-Codex overview
Detailed summary

Added DEPLOYER variable in .env.example
Updated Dockerfile to use ghcr.io/foundry-rs/foundry:nightly as the base image and added build and deployment steps
Modified FnameResolver contract by removing the title and notice comments
Added anvil.sh script for starting the Anvil server in auto-impersonate mode
Updated ImmutableCreate2Deployer.sol by modifying the deploy function and console logs

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

PR-Codex overview
Focus of this PR:
This PR focuses on adding Dockerfile and anvil.sh script, as well as making changes to several Solidity contracts and the .env.example file.
Detailed summary:

Added Dockerfile for containerization.
Added anvil.sh script for Anvil server setup.
Modified the deploy function in ImmutableCreate2Deployer.sol contract.
Imported IdRegistry in KeyRegistry.s.sol contract.
Updated variable names in IdRegistryScript contract.
Updated values in the .env.example file.

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

PR-Codex overview
This PR focuses on adding deployment functionality to the codebase.
Detailed summary

Added DEPLOYER variable to .env.example
Added Dockerfile configuration
Added anvil.sh script for server setup
Modified deploy() function in ImmutableCreate2Deployer.sol to include additional logging information

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

Closing in favor of #321


Fix tutorials to work with Qiskit 1.0

Summary
Qiskit 1,0 removed the deprecated qiskit.tools which included some .jupyter from which the magics that did the version and copyright were imported. This PR adds a local file in the tutorials folder that contains just these magics and changes the import to use this.
Similar fix to qiskit-community/qiskit-algorithms#156
I removed an import from qiskit.tools which is now gone - the import did not seem to be used anymore
I also tweaked one of the imports so it does not import direct from the module but just from qiskit_algorithms.utils
Details and comments
I do not expect this to pass until the other failures are sorted. A new release of Qiskit Algorithms is required to work with Qiskit 1.0, but at least its ready.

@t-imamichi This is ready to go - we will have to bypass the branch protections for the failure of the stable tutorials (they will not work until this is backported as the copyright/version does not exist in qiskit.tools anymore).

Tutorial test with Python 3.8 fails. Could you take a look at it?

Tutorial test with Python 3.8 fails. Could you take a look at it?

@t-imamichi As I commented above its the testing of the tutorials that are in the stable branch. We do this just on 3.8 and its done to make sure they still work with whatever changes are done in main to ensure compatibility. But in this case its not a change in main but in Qiskit and they are going to fail since they still have the former copyright and version that this PR changes since qiskit.tools no longer exists in Qiskit 1.0. This PR will need to be merged as-is which will require bypassing the branch rule as I mentioned - once backported to stable it will fix them there. (This was already done for Nature and ML where it was the same thing - you can see in Finance, that also has yet to be done, its the same too)


Reduce Docker building time of binder tutorials

Currently, every time we fire up a binder tutorial, the image has to be built.
Instead, we can upload Docker images to Docker Hub to save that time.
Links:

https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html#when-you-must-inherit-from-a-popular-docker-image
https://discourse.jupyter.org/t/how-to-reduce-mybinder-org-repository-startup-time/4956

It looks like this might not be an issue any more. During the development, we were using the dev branch, which was changing often.
Since now they are built from master, and it does not change, the stored images can be used:
Example:
https://mybinder.org/v2/gh/simphony/docs/master?filepath=docs%2Fsource%2Fjupyter%2Fcuds_api.ipynb


Any cross-platform binary syntax highlighters to integrate with Hugo?

Hugo is great, and I'm loving it. What motivated me to switch to Hugo was the "single binary file" philosophy. I had worked with Jekyll and other flat CMSs', but having multiple projects — older ones relying on older versions of the CMS — was becoming a pain. With Hugo you can get away with such issues by keeping separate Hugo binaries in the projects, as easy as that.
But when it comes to syntax highilighting, Pygments reintroduced the burden of maintaining Python + a whole package — which somehow clashes with the one-binary benefit. Of course, JS highlighters provide an easy way out; but still...
I've been looking around for some binary (and cross platform) syntax highlighters, operating similarly to Pygments; but it doesn't look like there is a lot of choice out there...
I've come across Andre Simon's "Highlight", an interesting application which could qualify as a substitute for Pygments:
http://www.andre-simon.de/doku/highlight/en/highlight.php
it's open source, cross platform, fully customizable, works as a CLI tool and also comes with a GUI, and can be used in standalone mode (at least on Windows) or installed. Not a single binary though, it has some dependencies, but surely an easy alternative to having to install Python and Pygments.
I've started experimenting with it, and I'll try to create a shortcode to redirect code to it, and see what I get. So far I've got good testing results, but only by producing full HTML docs from the source — haven't got around to passing and retriving snippets.
Does anyone know of other similar tools?
It would be great to have Hugo handle all the syntax highlighting with either a single binary, or a standalone app — and even greater, if it might handle it by itself in the near future. Surely, not all of Hugo's users might be looking for source code highlighting — many might be creating site not related to computing at all —; but I guess many would be happy with it.
Anyone has any thoughs and suggestions on the issue? or knows about any Go lang projects relating to syntax highlighting?

Anyone has any thoughs and suggestions on the issue? or knows about any Go lang projects relating to syntax highlighting?

No, but it is just a matter of time before a quality Go highlighter pops up. It should be easier to implement in Go than many lingos.

Yes, that would be great 'cos it would integrate into Hugo natively. So fare I haven't found any Go lang libs in developement, but I agree that its only a matter of time.
In the meantime I've come to the conclusion that Andre's Highlight is up to task — it handles well snippets in and out of stdstreams, and can output standalon HTML highlighted code (no HTML/body headers). Also, the CLI exe (on Windows) only needs 3 DLLs to go with it, plush the language definitions. It's easier to use than Pygments, especially for langs definitions (RegExs are not mandatory for simple langs).

what about Source-highlight?  It's written in C++, maybe it could be incorporated through bindings to C++?  Although the last commit dates back almost two years now, so that maybe disqualifies it.  It also relies on the boost regex library, but according to this, it is quite a bit faster than pygments.

@jnboehm I'm not sure if the Clang bindings for Go would support this ... But even if it did, we would get an "impossible" build setup -- and would probably have to drop many of the release targets. IMO. not worth it.

Hmm alright, thanks for your consideration.

@jnboehm , thanks for pointing out Source-highlight, I wasn't aware of it. There currently are no prebuilt binaries for Windows, except for a very outdated version on GnuWin32 packages site, so I couldn't test it, but it seems an interesting.
Andre Simon's "Highlight" can also be used as a dynamic library, which should be simpler to wrap. The sources also provide makefiles for building it as a static library (also for Windows) — so it could be integrated into Hugo's binary by statically linking it. Of course, all this might add some complexity to the building chain of Hugo.
But I admit not having tested this approach, just peeked at it docs.

We solved this issue in Hugo v0.28 with Chroma.


anisotropic vector quantization

hi,
I was confused where the anisotropic quantization was used. I thought that anisotropic quantization was used to quantize subsets of each data(50 subsets per data) to one centroid among 16 centroids in each blocks(50 blocks), but the output of hashed_dataset is the same as I change the parameter score_ah(2, anisotropic_quantization_threshold = 0.2) to score_ah(2). Two versions are as follows:
version1:
searcher = scann.ScannBuilder(normalized_dataset, 10, "dot_product").tree(num_leaves = 2000, num_leaves_to_search=100, training_sample_size=250000).score_ah(2, anisotropic_quantization_threshold=0.2).reorder(60).create_pybind()
version 2:
searcher = scann.ScannBuilder(normalized_dataset, 10, "dot_product").tree(num_leaves = 2000, num_leaves_to_search=100,
training_sample_size=250000).score_ah(2).reorder(60).create_pybind()

Ah..., the hashed_dataset is different without the parameter anisotropic_quantization_threshold = 0.2.


as3mxml.sdk.framework possibly could use relative paths?

Hi, simple question here, not really an issue. Is there a way where as3mxml.sdk.framework could accept relative paths? We are a 2-man team and the path for our sdk's change from user to user, for example my current sdk path is the following:
"settings": {
	"as3mxml.sdk.framework": "/Users/cgascons/workspaceAIR/_SDKS/air_33_259" //could it be changed to: "../../_SDKS/air_33_259"?
}

while my workmate varies on the username.
Thanks in advance!

It's interesting that you share the same settings.json file between multiple people. I always make sure to exclude the files in .vscode/ from being committed to repos to ensure that everyone can set up their environment how they want.
If I find some time, I'll see if this is possible. Could be tricky, though. Especially in workspaces with multiple root folders.

It's interesting that you share the same settings.json file between multiple people. I always make sure to exclude the files in .vscode/ from being committed to repos to ensure that everyone can set up their environment how they want.
If I find some time, I'll see if this is possible. Could be tricky, though. Especially in workspaces with multiple root folders.

Thanks! No rush at all on our end, just thought I'd ask in case it was something already implemented.

Thanks! No rush at all on our end, just thought I'd ask in case it was something already implemented.

it would be really usefull for me too

what about this solution
https://github.com/BowlerHatLLC/vscode-as3mxml/pull/555

Closed by #555


TLS support

Here comes another PR which adds support for the following:

TLS
Support for background updates of the ldap database
Ability to set the refresh interval (used both for existing behavior and background refresh)

This is based on the Keycloak PR since I already run it myself and have need for both changes. If there is a willingness to merge this I can update to PR to only contain the above listed changes.

@BlackVoid : Sorry, I've accidentally closed this PR by trying to rebase onto upstream master. I have your changes locally, but I can't push to your feature/tls branch as this PR is closed and I can't reopen it. Could you give me (temporary) permissions on your fork so I can restore your changes?

No worries, I'll probably create another pr at a later stage with a small fix I didn't have time to do on the TLS/background refresh PR. In short the periodic tasks stop running in case there is an uncaught exception, so I intend to make sure the first load has to succeed for the server to start and after that it just logs any errors.
Thank you for merging the PRs 🙂


fix(challenge): Add solutions for OOP-challenges.

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Progress #12966

Description

Add solutions to improve coverage of npm test. This will make it easier to verify that changes to this section works.
Also fix tests that break when run outside of the browser environment.

Ref: https://github.com/freeCodeCamp/freeCodeCamp/issues/12966#issuecomment-277435038

LGTM!


:sparkles: Introducing AVNU

as I would like to publish all latest changes, I'm merging + fixing directly on main 👍


#[cfg(...)] flags don't work

The #[cfg(...)] flags don't work, which I think is because we don't set them in the build.rs file. I think we need to copy the relevant code from the cortex-m/build.rs file.
This affects armv8m-main because without #[cfg(armv8)] you don't get a SecureFault handler.

See https://github.com/rust-embedded/cortex-m-rt/pull/182

It looks like the cfg flag is now set properly:
https://github.com/rust-embedded/cortex-m-rt/blob/7c8778f678d444115d74fd4185f32671b67effdc/build.rs#L53-L55

Yup. Looks like I fixed it already.


curl[*]:x64-windows build failure

Host Environment

OS: Windows 7 x64 SP1
Compiler: Visual Studio 2019

To Reproduce
Steps to reproduce the behavior:
./vcpkg install curl[*]:x64-windows
Failure logs
C:\Users\***\Desktop\New folder (31)\vcpkg>vcpkg install curl[*]:x64-windows
The following packages will be built and installed:
  * c-ares[core]:x64-windows
    curl[brotli,c-ares,core,http2,mbedtls,non-http,openssl,sectransp,ssh,ssl,sspi,tool,winssl]:x64-windows
  * libssh2[core]:x64-windows
  * mbedtls[core]:x64-windows
  * nghttp2[core]:x64-windows
  * openssl[core]:x64-windows
  * openssl-windows[core]:x64-windows
  * zlib[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/8: mbedtls:x64-windows
Building package mbedtls[core]:x64-windows...
-- Downloading https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.16.3.tar.gz...
-- Extracting source C:/Users/***/Desktop/New folder (31)/vcpkg/downloads/ARMmbed-mbedtls-mbedtls-2.16.3.tar.gz
-- Using source at C:/Users/***/Desktop/New folder (31)/vcpkg/buildtrees/mbedtls/src/tls-2.16.3-6ae2246379
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/***/Desktop/New folder (31)/vcpkg/packages/mbedtls_x64-windows/share/mbedtls/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package mbedtls[core]:x64-windows... done
Installing package mbedtls[core]:x64-windows...
Installing package mbedtls[core]:x64-windows... done
Elapsed time for package mbedtls:x64-windows: 20.09 s
Starting package 2/8: zlib:x64-windows
Building package zlib[core]:x64-windows...
-- Using cached C:/Users/***/Desktop/New folder (31)/vcpkg/downloads/zlib1211.tar.gz
-- Using source at C:/Users/***/Desktop/New folder (31)/vcpkg/buildtrees/zlib/src/1.2.11-f690224aeb
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/***/Desktop/New folder (31)/vcpkg/packages/zlib_x64-windows/share/zlib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package zlib[core]:x64-windows... done
Installing package zlib[core]:x64-windows...
Installing package zlib[core]:x64-windows... done
Elapsed time for package zlib:x64-windows: 8.956 s
Starting package 3/8: openssl-windows:x64-windows
Building package openssl-windows[core]:x64-windows...
-- Downloading http://strawberryperl.com/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip...
-- Downloading https://www.openssl.org/source/openssl-1.0.2s.tar.gz...
-- Extracting source C:/Users/***/Desktop/New folder (31)/vcpkg/downloads/openssl-1.0.2s.tar.gz
-- Applying patch ConfigureIncludeQuotesFix.patch
-- Applying patch STRINGIFYPatch.patch
-- Applying patch EnableWinARM32.patch
-- Applying patch EmbedSymbolsInStaticLibsZ7.patch
-- Applying patch EnableWinARM64.patch
-- Using source at C:/Users/***/Desktop/New folder (31)/vcpkg/buildtrees/openssl-windows/src/openssl-1-c41872ef97
-- Downloading http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win32/nasm-2.14.02-win32.zip...
-- Downloading http://download.qt.io/official_releases/jom/jom_1_1_3.zip...
-- Copying openssl release source files...
-- Copying openssl release source files... done
-- Configure x64-windows-rel
-- Configure x64-windows-rel done
-- Build x64-windows-rel
-- Build x64-windows-rel done
-- Copying openssl debug source files...
-- Copying openssl debug source files... done
-- Configure x64-windows-dbg
-- Configure x64-windows-dbg done
-- Build x64-windows-dbg
-- Build x64-windows-dbg done
-- Installing: C:/Users/***/Desktop/New folder (31)/vcpkg/packages/openssl-windows_x64-windows/share/openssl-windows/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package openssl-windows[core]:x64-windows... done
Installing package openssl-windows[core]:x64-windows...
Installing package openssl-windows[core]:x64-windows... done
Elapsed time for package openssl-windows:x64-windows: 10.18 min
Starting package 4/8: openssl:x64-windows
Building package openssl[core]:x64-windows...
-- Installing: C:/Users/***/Desktop/New folder (31)/vcpkg/packages/openssl_x64-windows/share/openssl//usage
-- Performing post-build validation
-- Performing post-build validation done
Building package openssl[core]:x64-windows... done
Installing package openssl[core]:x64-windows...
Installing package openssl[core]:x64-windows... done
Elapsed time for package openssl:x64-windows: 1.531 s
Starting package 5/8: libssh2:x64-windows
Building package libssh2[core]:x64-windows...
-- Downloading https://github.com/libssh2/libssh2/archive/42d37aa63129a1b2644bf6495198923534322d64.tar.gz...
-- Extracting source C:/Users/***/Desktop/New folder (31)/vcpkg/downloads/libssh2-libssh2-42d37aa63129a1b2644bf6495198923534322d64.tar.gz
-- Applying patch C:/Users/Admi***nistrator/Desktop/New folder (31)/vcpkg/ports/libssh2/0001-Fix-UWP.patch
-- Using source at C:/Users/***/Desktop/New folder (31)/vcpkg/buildtrees/libssh2/src/3534322d64-e9146b9288
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/***/Desktop/New folder (31)/vcpkg/packages/libssh2_x64-windows/share/libssh2/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package libssh2[core]:x64-windows... done
Installing package libssh2[core]:x64-windows...
Installing package libssh2[core]:x64-windows... done
Elapsed time for package libssh2:x64-windows: 57.98 s
Starting package 6/8: nghttp2:x64-windows
Building package nghttp2[core]:x64-windows...
-- Downloading https://github.com/nghttp2/nghttp2/archive/v1.39.2.tar.gz...
-- Extracting source C:/Users/***/Desktop/New folder (31)/vcpkg/downloads/nghttp2-nghttp2-v1.39.2.tar.gz
-- Using source at C:/Users/***/Desktop/New folder (31)/vcpkg/buildtrees/nghttp2/src/v1.39.2-d44e9e13e6
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/***/Desktop/New folder (31)/vcpkg/packages/nghttp2_x64-windows/share/nghttp2/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package nghttp2[core]:x64-windows... done
Installing package nghttp2[core]:x64-windows...
Installing package nghttp2[core]:x64-windows... done
Elapsed time for package nghttp2:x64-windows: 26.16 s
Starting package 7/8: c-ares:x64-windows
Building package c-ares[core]:x64-windows...
-- Downloading https://github.com/c-ares/c-ares/archive/9f1fdbf5dd633f81352fac0d6bc0d0c4d45be459.tar.gz...
-- Extracting source C:/Users/***/Desktop/New folder (31)/vcpkg/downloads/c-ares-c-ares-9f1fdbf5dd633f81352fac0d6bc0d0c4d45be459.tar.gz
-- Using source at C:/Users/***/Desktop/New folder (31)/vcpkg/buildtrees/c-ares/src/c4d45be459-24e25a63ee
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Performing post-build validation
-- Performing post-build validation done
Building package c-ares[core]:x64-windows... done
Installing package c-ares[core]:x64-windows...
Installing package c-ares[core]:x64-windows... done
Elapsed time for package c-ares:x64-windows: 1.374 min
Starting package 8/8: curl:x64-windows
Building package curl[brotli,c-ares,core,http2,mbedtls,non-http,openssl,sectransp,ssh,ssl,sspi,tool,winssl]:x64-windows...
-- Using cached C:/Users/***/Desktop/New folder (31)/vcpkg/downloads/curl-curl-curl-7_66_0.tar.gz
-- Using source at C:/Users/***/Desktop/New folder (31)/vcpkg/buildtrees/curl/src/url-7_66_0-905cf351d9
CMake Error at ports/curl/portfile.cmake:50 (message):
  sectransp is not supported on non-Apple platforms
Call Stack (most recent call first):
  scripts/ports.cmake:94 (include)

Error: Building package curl:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: curl:x64-windows
  Vcpkg version: 2019.09.12-nohash

Additionally, attach any relevant sections from the log files above.

C:\Users\***\Desktop\New folder (31)\vcpkg>vcpkg update
Using local portfile versions. To update the local portfiles, use `git pull`.
No packages need updating.

C:\Users\***\Desktop\New folder (31)\vcpkg>git pull
Already up to date.

C:\Users\***\Desktop\New folder (31)\vcpkg>

Additional context
Looks like the port is trying to build sectransp which is apple only

Hi @kdschlosser, thanks for reporting this issue!
You should not use the command .\vcpkg installl curl [*] , because curl's feature sectransp only works on osx.

Yes I did figure that out.. The x86 is also effected by this.. You would think that using the * would install the components for the platform it is running on if the * is supplied. it would make sense wouldn't it?
another thing USE_HTTP_ONLY defaulting to ON??!?!?
I could understand it being set to on if no ssl was specified and also no other protocol. But to have the user have to specifically add the non-http is a bit strange. because even if they specify using ssh and SSL but do not add the non-http the SSL and the ssh are not going to work.

@kdschlosser I've already removed feature non-http with curl.
Please update vcpkg and try again.
Thanks.

I appreciate the work on this... and here is the but... There is a slew of build options available. what is accounted for is a very small amount.
I do not know how vcpkg works with respect to building dependencies. this is some of the dependencies that curl can have and the dependencies of the dependencies. it is kind of a twisted mess actually.
curl -----------------------
zlib
libcares
nghttp2
bearssl
libssh2
idn (windows)
ipv6
sspi (windows)
winssl (windows) requires sspi
mbedtls
openssl
openldap
win32ldap
gssapi
nss

nss -----------------------------------
zlib

mbedtls --------------------------------
zlib

nghttp2 ------------------
zlib
libxml2
libevent
libcares
jemalloc
jansson
-------------------------

libevent -------------
zlib
openssl
-----------------------------------------

libxml2 -----------------------------------
iconv
zlib
liblzma

some are optional and others are not. because of the use of configure and perl with some of the libs it makes it extremely difficult to nail down all of the possibilities. so This list is a partial list as I do not have all of the platforms that are supported readily available to me. The list only shows some of the possibilities and how nested it is. There are many more options and dependencies.
Here are some possible road bumps if they have not been accounted for already.
if i wanted curl to compile using nghttp2 and I want to have nghttp2 compile with libxml2 support is there a way to make that happen through the command line for building curl? or would I have to make all independent calls to each of the deps and have them compile with specific options I set?
say you have lib1 and lib2 and both of them use lib3 as a dep. lib3 has a series of options that have the ability to be set. if i want to compile lib1 and have options a, b, and c set in lib3 and then for lib2 i want to have options d, e and f set for lib3 is that something that can be done using a single vcpkg command?
if I am not able to set the options for lib2 through the command for lib1 or lib2 would I have to compile lib3 with options a, b, and c then compile lib1 then remove lib3 and compile it again with opeions d, e and f and then compile lib2?
I do not know if vcpkg has been written to forward parameters to dependent packages.. and if it is not I would think it better to compile lib3 having it's parameters passed to it when building the parent lib.
when a lib has a dep and that dep gets compiled does it get installed into the system? or is it only compiled for the purposes of being a dependency?
The curl library is a fantastic use case example for things like this because of how nested the dependencies and optional dependencies are. There are so many possible build combinations that a sandbox environment for the build almost becomes a necessity so the build can be "clean" and nothing else can effect the outcome. there are many "auto detection" portions of the build scripts that can influence the compilation in a manner that may not be wanted and tracking this down with a complex build setup as this one can be quite daunting.
Here is another scenario.
If i had a lib installed and it is setup a way that I use the most it would be inconvenient to have to recompile that lib if some other options need to be specified because it is a dep in something else I want to compile. then I would have to compile the lib once again to revert it back to the way I had it originally. It would be more so if it takes a long time, openssl for example.
I did not come across anything in the docs about these kinds of things. I do not know how they get handled. or if a deps options can be specified from a parents command

@kdschlosser I will take a look.

if i wanted curl to compile using nghttp2 and I want to have nghttp2 compile with libxml2 support is there a way to make that happen through the command line for building curl? or would I have to make all independent calls to each of the deps and have them compile with specific options I set?

In this case, you need change curl feature nghttp2 depdenecy to libxml2[nghhtp2](if it's exist).

say you have lib1 and lib2 and both of them use lib3 as a dep. lib3 has a series of options that have the ability to be set. if i want to compile lib1 and have options a, b, and c set in lib3 and then for lib2 i want to have options d, e and f set for lib3 is that something that can be done by using 2 commands, one to compile lib1 and another to compile lib2?

Same as above. vcpkg will automatically detect the features that need to be installed and join the list to install, I think it is not necessary to execute multiple installation commands.
All port dependencies point to the libraries installed in vcpkg, so recursively guarantee that the port's dependency chain is correct.
The only thing we can't solve is:
Suppose that port B depends on port A, and port C depends on port A and port B. We cannot choose to use the feature of port B when building port A, and do not choose the feature of port B when building library C. Since port C is generated only once, there is a conflict in it.

If i had a lib installed and it is setup a way that I use the most it would be inconvenient to have to recompile that lib if some other options need to be specified because it is a dep in something else I want to compile. then I would have to compile the lib once again to revert it back to the way I had it originally. It would be more so if it takes a long time, openssl for example.

This scenario is unavoidable because previously installed libraries did not come with some features, and libraries that need to be installed now depend on some of its uninstalled features.

The only way I can think about compiling deps that have a diferent set of options then the installed version would be a sandbox environment.
Is there an option to have openssl compiled using JOM?

@kdschlosser Not yet, but you can open a PR to add support with jom.


Feature: Improve Keyboard Accessibility for Notification Icon

Type of feature
🍕 Feature
Current behavior
In relation to #358, the website's notification icon is currently rendered using a div element, which presents accessibility challenges as it is not interactive by default, causing difficulties for keyboard users to access and interact with it.
While navigating through the website using the keyboard, I noticed that the notification icon was not included in the navigation flow, due to its use of a div element.

Suggested solution
Change the div element to a button element.
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[X] I agree to follow this project's Contribution Docs

.take


Citations as nouns

I see that in many places, citations are used as nouns. For example:

There are many software engineering curricula out there, that try to define
which tasks a software engineer should be able to perform. A recent example
highlighting some aspects in more detail than here is [@Landwehr2017].
The software skills outlined here are required to make research software adhere
to the FAIR principles. [@ChueHong2014] defines different levels of research
software reusability and the extent to which the software engineering skills
need to be applied to reach them.

Citation are then shown as numbers. I think this is strange (but a very minor detail). I like thinking in the Wikipedia citation style, where citations are colored superscripts, kind-of next to the text, instead of part of the sentences.
Instead, referring to the authors makes the sentences complete:

A recent example highlighting some aspects in more detail than here is given by Landwehr et al. [@Landwehr2017].

so we need a decision here.

@MakisH using @Landwehr2017 instead of [@Landwehr2017] produces this:

A recent example highlighting some aspects in more detail than here is Landwehr et al. [32].

Here is what pandoc does under-the-hood:

@Landwehr2017 :arrow_right: \textcite{Landwehr2017}
[@Landwehr2017] :arrow_right: \autocite{Landwehr2017}


[parser] Add configuration for minimum trackable time

Resolves #20

Wonderful feature.
We should have a look on how configuration is propagated within the application however.  I wouldn't put that on this MR however.


Allow more than one comment type to let jinja remove more strings.

Use case: I'd love to have jinja be able to use more than one comment type such as:
<!-- / -->
and
{# / #}
And ideally the ability to define more.. but I'd take even one additional comment type.
The ability to strip out blocks of comments from generated output in multiple ways is very valuable.
comment_start_string and comment_end_string should probably optionally accept a list of strings?
I'd write the patch myself but I find the lexer regex code difficult to mind around.

Solved short term by writing a jinja extension! But would still be nice to have the removal of <!-- and --> comments as a default option.


Firefox Wrapper & Chromium have a very limited mime type list

Issue description
Both firefox-wrapper and chromium seem to rely on the OS to get a list of extensions to mime types. On firefox-wrapper and chromium on nixos-17.09, neither browser can guess the mime type of an xlsx file.
xdg knows about the extension, but clearly neither browser consults that.
$ xdg-mime query filetype ~/Downloads/foo.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Steps to reproduce
Here is a small jsfiddle that can be used to show that the file upload form element returns a type for a pdf file but not an xlsx.
https://jsfiddle.net/q89vbo4q/31/
Copying /etc/mime.types from an ubuntu system to /etc/mime.types on my nixos system works around this issue for firefox but not chromium. Any thoughts from the people who know packaging firefox and chromium intimately?
Technical details

system: "x86_64-linux"
host os: Linux 4.9.86, NixOS, 17.09.3159.c665fcca9e7 (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.16
channels(root): "nixos-17.09.3159.c665fcca9e7"
channels(bkolera): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

I don't have a DE and so I have never used files associations but it seems pretty straightforward: just add more mime types here and here

That list appears to be the list of mime types that are linked to being
opened by a web browser. Say when you xdg-open a html file in a terminal or
click a file in your file browser.
This is a little different, isn't it? The information the browser needs is
information for a linking of all file extensions and mime types, not just
the mime types that are setup to be opened by a browser. The thing is, my
xdg-mime query shows that the system does know what which mime type an xlsx
is (and xdg-open knows how to open it with libre office) but the browser
just cannot find this information from NixOS (firefox is looking at
/etc/mime.types at least and I'm not sure where chromium is looking).
This is an issue for anyone in NixOS Chrome or firefox uploading files to a
web application which does some kind of javascript checking of the file
type before uploading if the type of file isn't something a browser cares
about like images/html/txt/pdf/etc. It may well be because I do not have a
DE either and the browsers are expecting to be able to talk to some other
file or api that isn't present / populated on my pure XOrg + XMonad system.
If we don't have any ideas, I may setup a separate setup with GNOME 3 or
something and see if that makes any difference. I'm not actually sure
whether the other DEs use xdg entirely or whether they mix in their own
stuff for file extensions.
We need to figure out where the browsers source this information and
whether it's configurable enough to weave in from Nix. If no one has any
ideas, I can do the detective work in the gecko/chromium code bases if
people want.
As per https://help.ubuntu.com/community/AddingMimeTypes, the mime.types
file has lines that look like the the following (and seems to be a fairly
large list and not tied to file-program associations [I got a mime.types
file off a ubuntu server and it still had xlsx even without any office
apps]). Given that that article seems to suggest that there are multiple
unrelated sources of this information (/etc/mime.types vs  /usr/share/mime/)
I guess that it's not surprising that FF and Chromium are different for
sourcing this list from the system.
application/x-python-code                       pyc pyotext/x-python
py
On Tue, 20 Mar 2018 at 06:12 Michele Guerini Rocco<EMAIL_ADDRESS>wrote:

I don't have a DE and so I have never used files associations but it seems
pretty straightforward: just add more mime types here
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/firefox/wrapper.nix#L89
and here
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/chromium/default.nix#L44
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/37366#issuecomment-374355682,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJt3bWjNwhO3CsnpJBraMCuCcHSH4IKks5tgBEWgaJpZM4Sv2Qm
.

I'd recommend closing this ticket. Relying on the browser to do mime type detection was flakey on pretty much every operating system so we just removed it entirely and went for a simple extension check.


Meetup sticky dock cannot be collapsed

Issue:
When I click the Attend button on the dock, it expands to show more details but then I cannot get the dock to collapse unless I refresh the page (or click Confirm).
Collapsed:

Expanded:

Expected:
Either add a Collapse or Cancel button to collapse the dock or enable collapse by clicking anywhere on the dock's header.

There used to be one, but we lost it during the astro -> nuxt migration. definitely a regression

@MrSunshyne I created a PR.


Prepare release for Cdn ga

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

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


Make libmdbx SWIG compatible

I've tried to bind libmdbx to python using swig with no success since mdbx.h contains not all nesessary definitions such as MDBX_env.
Can you make mdbx.h suitable to use with SWIG to produce correct output files?
When i tried to call the mdbx.create_env(env) from python i got:
TypeError: in method 'mdbx_env_create', argument 1 of type 'MDBX_env **'
But there is no way to obtain the MDBX_env ** type from as they are not imported by SWIG.

MDBX_env, MDBX_txn, MDBX_cursor and so on - are the internal structures and MUST NOT be defined outside libmdbx.
You should operate only opaque pointers to ones, no more.
Please read aboud opaque pointers in SWIG. For instance #1, #2.


[App]: ctrl+c feature on plots not working

Current Behavior
Pressing Cmd+C (on Mac) when hovering over a figure no longer shows the actual numbers. It just shows all the run names.
This is a duplicate of https://github.com/wandb/wandb/issues/6372 which was closed and I am unable to reopen it.
Expected Behavior
Previously, pressing Cmd+C (on Mac) would copy paste all the numbers
Steps To Reproduce
No response
Screenshots
No response
Environment
OS:
Browsers:
Version:
Additional Context
No response

Hi @albertfgu,
Thank you for bringing this to our attention again, we will review the previously bug report for this one and will keep you posted.

Hello @albertfgu ,
I see that the issue still persists, it is not copy/pasting the expected data so we revisit the bug report and will update you again once we received more information.


Addition of Ed25519 support

I've included selections and test cases for supporting Ed25519. My reasoning for only including Ed25519 and not Ed448 is that the later requires inclusion of support for cSHAKE XOFs. I did start writing test cases and requirements for cSHAKE, but if we were to include that, it would only be a stop-gap measure. It's best to include support for the full SHA-3 family of hash functions in one go rather than to implement a piece-meal approach. This should be left to a future version of the NDcPP.
I have discussed this approach with @dundiddat, and we are both in agreement that this would be the best way forward.

@dundiddat Do you have time to review these changes, #272 ?


Installing new components with SimpleITK Elastix #457

Hi,
Ive done the SuperBuild for SimpleITK - Elastix and want to play around with different parameters. For example, I want to use the FullSampler as ImageSampler. However, when running I get the following error in the error log
Error:
FullSampler(index 1) - This component is not installed!
ERROR: error occurred while creating ImageSampler 0.
itk::ExceptionObject (0x85addb0)
Location: "unknown"
File: /home/bugger/bin/build_simpleelastix/Elastix/Core/Kernel/elxElastixMain.cxx
Line: 827
Description: itk::ERROR: ElastixMain(0x8338ad0): The following component could not be created: FullSampler
ERROR:
One or more components could not be created.
How can I install this (and other) components?
EDIT: Just installed and used Elastix without SimpleITK inbetween. Even there I get the same error message. Not unusual behaviour of course. But even more curious now how to install additional components

SimpleelElastix by default doesn't use the FullSampler component. You can manually enable the desired sampler by changing the CMake flag in SimpleElastix/SuperBuild/External_Elastix.cmake by changing the line -DUSE_FullSampler:BOOL=OFF to -DUSE_FullSampler:BOOL=ON.
I'd expect the same result for Elastix compilation.


ROX-25197: Fix kube proxy pod retrieval

Description

TODO
User-facing documentation

[ ] CHANGELOG update is not needed
[ ] Documentation is not needed

Testing

[ ] inspected CI results

Automated testing

[ ] modified existing tests

How I validated my change

[ ] Test pass in aks
[ ] Test pass in gke

/test ?

/test aks-qa-e2e-tests
/test eks-qa-e2e-tests

/test aks-qa-e2e-tests
/test eks-qa-e2e-tests


Scikit-learn API vs Classic (Training) API different results?

lightgbm v 3.1.1
The AUCs do not match:
Scikit-learn API:
In [22]: md = lgb.LGBMClassifier(num_leaves=512, learning_rate=0.1, n_estimators=100)

In [23]:

In [23]: %time md.fit(X_train, y_train)
CPU times: user 32.1 s, sys: 171 ms, total: 32.3 s
Wall time: 2.05 s
Out[23]: LGBMClassifier(num_leaves=512)

In [24]:

In [24]: y_pred = md.predict_proba(X_test)[:,1]

In [25]: print(metrics.roc_auc_score(y_test, y_pred))
0.7300012836184978

Training API:
In [27]: dlgb_train = lgb.Dataset(X_train, label = y_train)

In [28]: dlgb_test = lgb.Dataset(X_test)

In [29]:

In [29]: param = {'num_leaves':512, 'learning_rate':0.1, 'verbose':0}

In [30]:

In [30]: %time md = lgb.train(param, dlgb_train, num_boost_round = 100)
[LightGBM] [Warning] Auto-choosing row-wise multi-threading, the overhead of testing was 0.001201 seconds.
You can set `force_row_wise=true` to remove the overhead.
And if memory is not enough, you can set `force_col_wise=true`.
CPU times: user 29.2 s, sys: 188 ms, total: 29.4 s
Wall time: 1.86 s

In [31]:

In [31]: y_pred = md.predict(X_test)

In [32]: metrics.roc_auc_score(y_test, y_pred)
Out[32]: 0.7237905736238571

Full code with data download here:

import pandas as pd
import numpy as np
from sklearn import preprocessing
from scipy import sparse
from sklearn import metrics

import lightgbm as lgb

d_train = pd.read_csv("https://s3.amazonaws.com/benchm-ml--main/train-0.1m.csv")
d_test = pd.read_csv("https://s3.amazonaws.com/benchm-ml--main/test.csv")
d_train

d_all = pd.concat([d_train,d_test])

vars_cat = ["Month","DayofMonth","DayOfWeek","UniqueCarrier", "Origin", "Dest"]
vars_num = ["DepTime","Distance"]
for col in vars_cat:
  d_all[col] = preprocessing.LabelEncoder().fit_transform(d_all[col])

X_all_cat = preprocessing.OneHotEncoder(categories="auto").fit_transform(d_all[vars_cat])
X_all = sparse.hstack((X_all_cat, d_all[vars_num])).tocsr()
y_all = np.where(d_all["dep_delayed_15min"]=="Y",1,0)

X_train = X_all[0:d_train.shape[0],]
y_train = y_all[0:d_train.shape[0]]
X_test = X_all[d_train.shape[0]:(d_train.shape[0]+d_test.shape[0]),]
y_test = y_all[d_train.shape[0]:(d_train.shape[0]+d_test.shape[0])]

## Method 1 - sklearn API

md = lgb.LGBMClassifier(num_leaves=512, learning_rate=0.1, n_estimators=100)

%time md.fit(X_train, y_train)

y_pred = md.predict_proba(X_test)[:,1]
print(metrics.roc_auc_score(y_test, y_pred))

## Method 2 - orig lightgbm API

dlgb_train = lgb.Dataset(X_train, label = y_train)
dlgb_test = lgb.Dataset(X_test)

param = {'num_leaves':512, 'learning_rate':0.1, 'verbose':0}

%time md = lgb.train(param, dlgb_train, num_boost_round = 100)

y_pred = md.predict(X_test)
metrics.roc_auc_score(y_test, y_pred)

Hello @szilard !
The issue is that params in two methods are not exactly the same.
Default objective function in "Classic (Training) API" is regression. While for the scikit-learn API you use LGBMClassifier class which has default objective binary (for your data).
Simply add "objective": "binary" to your params that are passed to standard API.
param = {'num_leaves':512, 'learning_rate':0.1, 'verbose':0, 'objective': 'binary'}

It will result in the same AUCs: 0.7300012836184978.

Hello @szilard !
The issue is that params in two methods are not exactly the same.
Default objective function in "Classic (Training) API" is regression. While for the scikit-learn API you use LGBMClassifier class which has default objective binary (for your data).
Simply add "objective": "binary" to your params that are passed to standard API.
param = {'num_leaves':512, 'learning_rate':0.1, 'verbose':0, 'objective': 'binary'}

It will result in the same AUCs: 0.7300012836184978.

Oh, fantastic, thanks @StrikerRUS for quick reply and clarifying the issue. So, my bad, sorry about that (I'm mainly an R person, but now experimenting a little bit more with the python API). Thanks again and cheers!

Oh, fantastic, thanks @StrikerRUS for quick reply and clarifying the issue. So, my bad, sorry about that (I'm mainly an R person, but now experimenting a little bit more with the python API). Thanks again and cheers!

No problem! Feel free to post new issues about Python-package if you find something is unclear there. Cheers!

No problem! Feel free to post new issues about Python-package if you find something is unclear there. Cheers!


Update command breaks docker from working

Issue Summary
Created a custom zip/tgz file withyarn build and tried to upgrade a docker install of ghost(5.14.2) to it (5.15.0) with ghost update --zip .../../ to the custom one.
It upgrades without a problem, but when trying to start ghost back up I get some weird errors as shown further down.
Why is the directory structure on the docker instances still the same as in the older 4. versions of Ghost?
How can I upgrade without changing to the old structure?
Please let me know where the problem lies so I can fix it.
My guess is that the update command was'nt rewritten to work with the new directory structure introduced in ver. 5
Steps to Reproduce

Run Ghost as Docker and docker exec -it <Container> bash into it.
From there go to /var/lib/ghost and examine the directories
As you can see the directory structure is not nearly identical to the new 5. Versions
Create a zip/tgz with yarn build on your local 5.15.0 instance and copy it to the docker
Run ghost update --zip .../../ inside the docker and watch the log afterwards
As you can see, the update command broke everything.

Ghost Version
5.15.0
Node.js Version
14.20
How did you install Ghost?
According to the doc as docker
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
user@user-OptiPlex:~/Dokumente/webtest$ sudo docker-compose logs -f
Attaching to lfg-ghost
lfg-ghost    | node:internal/modules/cjs/loader:959
lfg-ghost    |   throw err;
lfg-ghost    |   ^
lfg-ghost    |
lfg-ghost    | Error: Cannot find module '/var/lib/ghost/current/index.js'
lfg-ghost    |     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
lfg-ghost    |     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
lfg-ghost    |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
lfg-ghost    |     at node:internal/main/run_main_module:17:47 {
lfg-ghost    |   code: 'MODULE_NOT_FOUND',
lfg-ghost    |   requireStack: []
lfg-ghost    | }
lfg-ghost    | node:internal/modules/cjs/loader:959
lfg-ghost    |   throw err;
lfg-ghost    |   ^
lfg-ghost    |
lfg-ghost    | Error: Cannot find module '/var/lib/ghost/current/index.js'
lfg-ghost    |     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
lfg-ghost    |     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
lfg-ghost    |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
lfg-ghost    |     at node:internal/main/run_main_module:17:47 {
lfg-ghost    |   code: 'MODULE_NOT_FOUND',
lfg-ghost    |   requireStack: []
lfg-ghost    | }
lfg-ghost    | node:internal/modules/cjs/loader:959
lfg-ghost    |   throw err;
lfg-ghost    |   ^
lfg-ghost    |
lfg-ghost    | Error: Cannot find module '/var/lib/ghost/current/index.js'
lfg-ghost    |     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
lfg-ghost    |     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
lfg-ghost    |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
lfg-ghost    |     at node:internal/main/run_main_module:17:47 {
lfg-ghost    |   code: 'MODULE_NOT_FOUND',
lfg-ghost    |   requireStack: []
lfg-ghost    | }

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Hello again 🙂 I believe this problem arises from the .tgz you're building. I've posted some workarounds in https://github.com/TryGhost/Ghost/issues/15523#issuecomment-1266362936

Hi @daniellockyer ,
thanks for your quick response.
I migrated to the newest version and re-build the .tgz archive.
Here is a link to the .tgz in case you want to take a look at it (was to big for attachment).
When I run the update command as node user in docker after copying the archive I get the following output:
/var/lib/ghost $ ghost update --force --zip /var/lib/Ghost-5.17.2.tgz

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org

Process manager 'systemd' will not run on this system, defaulting to 'local'
✔ Checking system Node.js version - found v16.17.1
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking memory availability
✔ Checking free space
✔ Checking for available migrations
✖ Checking for latest Ghost version
A SystemError occurred.

Message: Archive file does not contain a Ghost release.

Debug Information:
    OS: Alpine Linux, v3.16.2
    Node Version: v16.17.1
    Ghost Version: 5.17.1
    Ghost-CLI Version: 1.23.1
    Environment: production
    Command: 'ghost update --force --zip /var/lib/Ghost-5.17.2.tgz'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.


Release AMI-2016-08-22

Upgrade Weave Net to version 1.6.1 and Weave Scope to version 0.17.1
Update base AMI to version 2016.03.g

@errordeveloper PTAL

LGTM


[@supabase/ssr] Documentation for createServerClient & createBrowserClient

Improve documentation
Link

createServerClient
createBrowserClient

Describe the problem
Function names are pretty much self-explanatory but as I was reading through the implementation, both createServerClient and createBrowserClient have some conditional logic based on whether they're running on a browser, which I found to be surprising.
Describe the improvement
Add docs to clarify difference between functions and consequences of using them in the wrong env (e.g. what happens when createBrowserClient is used in server-side components and vice-versa).
Additionally:

If the functions aren't meant to be used outside their envs, log a warning or raise an error.
If it's okay to use either function in either env, explicitly state in docs.

Additional context
n/a

Happy to submit a PR with proposed changes once I understand the crossed-env usage caveats (mainly createBrowserClient on server-side, since createServerClient with cookies() on client-side will naturally fail due to "(...) importing a component that needs next/headers (...)".

I'm also wondering if there are any issues with initialising just once:
import { createBrowserClient } from "@supabase/ssr";
import { env } from<EMAIL_ADDRESS>export const createClient = (): any =>
createBrowserClient(
env.NEXT_PUBLIC_SUPABASE_URL,
env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
{
db: { schema: env.NEXT_PUBLIC_POSTGRES_DATABASE_SCHEMA },
},
);
export const browserClient = createClient();


Ability to add rows when using the csv editor

I think the only way to add csv rows currently would be to toggle back to the older editor mode
cc: @timwis

You should be able to right-click on a row and select "Insert row below/above" - does that not work for you?

Amazing.  I think handsontable has an option that keeps an empty row at the bottom, which would be a more obvious experience. I think I disabled that because it was injecting an empty line in the diff, but maybe I'm remembering wrong. Here's a question though: would you have thought to right-click if you wanted to add a column?

Definitely don't want to mess with the diff. Hard to say on the last question, in general I assume web tools aren't responsive to that behavior (same with things like double clicks though which do appear on some tools). I think it's fine to leave right now, I might do some impromptu user testing to see if others have the same issue and maybe we could add some helper text/buttons/etc.


Empty images uri

Hi Bart!
As written in the README, image URLs require auth.

Image requests themselves don't require authentication, but obtaining the image URLs through, for example, release data does.

However it is not clearly specified which type of auth. Providing a key and a secret while instanciating Disconnect does not seem to be enough as images URLs are always empty.
I tried setting the Authentication header via curl as well and same result.
Is it really mandatory to setup OAuth to get images URLs or am I doing something wrong ?
Thanks!

Providing a key and a secret while instanciating Disconnect does not seem to be enough as images URLs are always empty.

You need to provide your user token then. Key/secret are for OAuth calls.
See https://github.com/bartve/disconnect#discogs-auth

@bartve I guess it was just some sort of API hiccup since I'm now getting them properly with just Key/secret. Thanks anyway, closing this! ;)


Contact fields

Can we change the Contact: Relationship to Sailor field to a picklist, please?
Values would be as follows:

spouse
partner
parent
other family
friend
other

It is also missing the field "Sailor's Ship Email"

I think that might not be possible. It's a pretty significant change to the package. Certainly I understand the instinct. At some point we made the choice that we wanted a text field instead of a picklist and we might just be stuck with that decision...
Could you clarify what you mean about missing Sailor's Ship Email?

If it isn't possible, it isn't possible!
One of the processes in place requires a Sailor Ship Email field on the
Contact object, presumably one that gets filled out with info from a
converted Lead.
I can take a screenshot in the morning if that would help?
On Thu, Feb 25, 2021, 8:22 PM Michael Kolodner<EMAIL_ADDRESS>wrote:

I think that might not be possible. It's a pretty significant change to
the package. Certainly I understand the instinct. At some point we made the
choice that we wanted a text field instead of a picklist and we might just
be stuck with that decision...
Could you clarify what you mean about missing Sailor's Ship Email?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SFDO-Community/OmbudsmanCloudCare/issues/134#issuecomment-786343409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASO6ESFFFIKCSLEH4NTKRRLTA3ZUXANCNFSM4YHQD7RA
.

Yes--it would help. Not sure if the "process in place" is one that's in the package or one that is part of "the TR Special." If the former, then I have a suspicion you might have found yet another field that we've already got in the package but has escaped the permissions updates that @Nickers3 and I are working on. If the latter, then it's probably just a formula field we'd want/need to add to the package (that looks through the Sailor__c relationship to that Sailor's email field).

  This is a SS of the production org
 SS of the sandbox where I added the field

@lauraetzler @mkolodner sadly we cannot change field types.  We could create a new field and depreciate the old one, but for orgs already up and running they would need to migrate over to the new field.
If you think the picklist is the better approach for all, it is something we could consider.
I'm not seeing the Sailor's Ship Email field in the packaging or in our unpackaged metadata so I think that field was an add elsewhere.

The good news is that if you do want to create a new Picklist field and deprecate the original field, you have only a few subscribers using the package today. This would be much more difficult to coordinate later when there are more subscribers.


feat: RPC proxy

Needs #1499
Closes #1501
Adds in the rpcsrv proxy.
Starts an instance of the rpcsrv proxy

Usage: glaredb rpc-proxy [OPTIONS] --cloud-api-addr <CLOUD_API_ADDR> --cloud-auth-code <CLOUD_AUTH_CODE>

Options:
  -b, --bind <BIND>                        TCP address to bind to [default: <IP_ADDRESS>:6444]
      --cloud-api-addr <CLOUD_API_ADDR>    Address of the GlareDB cloud server
      --cloud-auth-code <CLOUD_AUTH_CODE>  Authorization code for communicating with Cloud
  -h, --help                               Print help

Internally this uses the same auth mechanism as in pgsrv, so credentials that work for the postgres stuff will also work for this.

proper diff here: https://github.com/GlareDB/glaredb/compare/sean/rpc...sean/rpc-proxy

@f0ssel gonna merge this to try to get it in before the terraform stuff. Hopefully image build finishes by then...


Changed logging HTTP status codes

This PR fixes the issue discussed in #68.
Previously we're logged also good status codes.

thanks :100:

released as 3.2.1

Thanks!! :)


Cancel placed orders

expect the function of cancel placed orders implement soon.

I am working on a major release that will include this feature in it. Approximately two weeks.


refactor(win32drv): multiple display support

Fixes: #254 #255 #256
Code-reviews are welcome
Co-Authored-By: wrgallo

I don‘t think having maximum display count limit is acceptable. Also, the window class should be reused as possible because windows ATOM object have maximum count limit.
For keyboard support improvement, I think https://github.com/lvgl/lv_drivers/pull/258 is simpler than this PR and add mutex for improve the reliability.
As an experienced Windows C++ application developer, I want to provide a better solution than this PR.
Kenji Mouri


Convert most modules with zero module imports to typescript.

The modules that are converted are "utility" modules that don't depend on other modules. The remaining ones are:

schema.js: I think for this one, I am probably going to refactor the code so that we can use a typescript type guard.
For keydown_util.js, I need to look into one minor detail.
Rest of them are webpack related files that we can hold off on for now.

Testing plan: Lint, node tests, and using git grep occasionally to verify the types.

Merged, after fixing that commit message issue.  Thanks @priyank-p!


Update CakePHP.gitignore for Composer

Add the Composer vendor folder to the list, commented out by default. For more information see http://book.cakephp.org/2.0/en/installation/advanced-installation.html.

Thanks for this! Is there any reason not to just put the rule in by default rather than commenting it out?

I left it commented out by default because not all PHP developers are using a package manager (like Composer) and may wish to check in their vendor plugins stored in this folder, however those might be more appropriate for the /app/Plugins/ directory.
Granted, as of Cake 3 Composer becomes the officially supported method for installation after which the vendor directory will most-likely always be commented out by default.


add ext-ldap and ext-sysvsem to static builder, add PHP_EXTENSION_LIBS to enhance extensions

-snip-

I threw a couple very small changes together here, if you want me to split those up into different pr's, just let me know
I'll see to implement named workers next week

it is possible that the default selection for --with-libs will not compile at the moment, because libwebp does not properly include its libwebpmux dependency in libwebp.pc, so imagick depending on libwebp gets unresolved extenal symbols to MUX methods.

this should work in combination with #241 once the spc imap branch is merged
definitely works after https://github.com/crazywhalecc/static-php-cli/pull/214 is merged

drafted until linux c++ extension support is merged in static-php

Might have to rerun the failed checks, they should work on spc master now.


Get rid of TopLevelConstructorExportDefs in the IR.

Another thing I found while formalizing the IR ...
Exports of Scala constructors can be directly encoded as top-level static functions instead, since what they did was creating a new instance inside of the desugared body anyway. Therefore, this commit gets rid of them at the IR level, by moving their desugaring from the ClassEmitter all the way back to the compiler.
The only piece of observable semantics we lose by doing so is that a constructor export def did set the prototype of the function to $c_LTheClass.prototype, indirectly allowing JS code to use x instanceof ExportedCtor to perform a Scala instance test. However, this "feature" was never documented, nor tested.

Maybe we should just stop lying and say we allow exporting constructors and say factories instead?

Do you mean, in the docs, say that @JSExportTopLevel on a Scala class exports a factory function, rather than a constructor? That would probably make sense, indeed.


Expose generatePath

I need this so I can build up parameterized URLs outside of a React component, such as in a saga.

I know that the generatePath.js file says that this function is public API, but I am fairly certain that that is only because it was copied from matchPath.js.
As far as the question of whether or not it should actually be public API goes, I am not sure. I suppose since matchPath is already public API, it isn't too crazy to expose this as well.

As a reminder, this was added by #5209 to allow <Redirect> to use parameters. It does seem useful as a general utility function, particularly for other downstream routing components folks would like to build.

@pshrmn done.

Can this be merged?

Thanks!

Is there a way to use master branch of the code?

when will this be included in the released versions?

When it's released.

FYI I just created a PR to update react-router-config to use this new functionality to support stuff like:
let routes = {
  path: "/",
  component: Root,
  routes: [
    {
      path: "/:id",
      redirect: "/home/:id"
    }
    {
      path: "/home/:id",
      component: Home
    }
  ]
}

https://github.com/ReactTraining/react-router/pull/6170


Crossbeam version about log4rs

Today，cargo audit reports this issue. I find crossbeam had developed to 0.5.0 in crate.io=. Thus , is there any plan to upgrade this crate?
D:	 RUSTSEC-2018-0009
Crate:	 crossbeam
Version: 0.3.2
Date:	 2018-12-09
URL:	 https://github.com/crossbeam-rs/crossbeam-epoch/issues/82
Title:	 MsQueue and SegQueue suffer from double-free
Solution: upgrade to: >= 0.4.1

The title doesn't express this, but this is a security vulnerability tracked by the rust sec advisory database  in crossbeam > 0.4.1

Sure, should be an easy PR.

@sfackler Please publish a new version.


Timesheet - 19/04/2021 - Justin N.

Task 1
Write Projects API tests
Proof of Work

https://github.com/thenewboston-developers/Website-API/pull/82

Time Spent
1 hour

Total Time Spent
1 hour
Account Number
3f9b32ffde20179abd0df8a201e1d2ec8e407f62c93bc9e76c110c0d26ad1593

Approved

Approved


Starting SpaceChem makes Steam unresponsive

Steam just hangs when I click Play on SpaceChem and it's completely unresponsive for as long as I let it run, I need to Force Quit. Here's the Force Quit report:
https://aww.moe/nyp1vh.txt

Hi,
Please open a Terminal, and try the following:
cd Library/Application\ Support/Steam/SteamApps/common/SpaceChem/SpaceChem.app/Contents/Resources
./SpaceChem.bin.osx

What happens then?
If the game is "working", then the game should launch and work but mouse cursor focus will be messed up. That's normal.
If the game starts & then crashes, please go have a look in ~/.local/share/zachtronic industries/spacechem/crashes. There should be some .zicrash files there, which are .zip files containing crash reports. Of interest is the exception.txt file in the most recent.
Also paste whatever happens in the terminal after ./SpaceChem.bin.osx.
Thanks!

here's exception.txt
http://pastebin.com/zmBNnHht


docs: update google analytics plugin message to past tense

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[x] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[x] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Changed the deprecation message for the plugin from future to past tense, reflecting that the plugin became useless on July 1, 2023
Test Plan

Test links

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/
Related issues/PRs

Thanks


Reduce API surface of tagged wrapped hash types

Recently we made it so that wrapper types created with hash_newtype were not general purpose hash types i.e., one could not easily hash arbitrary data into them. We would like to do the same for tagged wrapped hash types.
In hashes do:

Create a new macro sha256_tag that does just the tag/engine stuff out of the sha256t_hash_newtype macro.
Deprecate the sha256t_hash_newtype macro.

In bitcoin do:

Use a combination of sha256_tag and hash_newtype to create tagged wrapped hash types.

Note that we do not add private helper functions engine and from_engine to the tagged wrapper types as we do for legacy/segwit in sighash. Can be done later if wanted/needed.
Fix: #3135

Good idea, can do.

Done all in a single commit now, re-wrote PR title and description.
FTR I'm a bit concerned that since we slightly switched gears (to be more conscious of deprectating not breaking) half way through a massive overhaul of hashes the deprecated since is going to imply that deprecated things can continue to be used as in the last release - with so many changes to hashes I'm not confident that that is the case.

All docs suggestions implemented, apologies for the sloppy PR.

In the commit message and deprecation notice you say sha256_tag but the actual macro name is sha256t_tag.

Unrelated to this PR:

We should really figure out how to make the engine method that produces the tagged hash engine constant. (But this is hard to do and fine to leave for now.)
I wonder if we should make the hash_newtype macro produce a private method for converting from the underlying hashtype. So then we could use that instead of "casting" hashes, and get a bit of type safety.

I wonder if we should make the hash_newtype macro produce a private method for converting from the underlying hashtype. So then we could use that instead of "casting" hashes, and get a bit of type safety.

That sounds easy enough, I threw it on my todo list.

Force push is just fix to commit log of the first patch.

It does not appear that you force-pushed.

Woops

We should really figure out how to make the engine method that produces the tagged hash engine constant. (But this is hard to do and fine to leave for now.)

After these changes I think Tag::engine() is quite reasonable. We should make sure it's (also) an inherent method though.

I wonder if we should make the hash_newtype macro produce a private method for converting from the underlying hashtype. So then we could use that instead of "casting" hashes, and get a bit of type safety.

Oh, I thought this would be go against our goal of stabilizing primitives but I've just realized it actually doesn't as long as we don't expose it somewhere by reexporting the type. It'd also make sense to newtype the engine.

I put the perf docs back in.

FYI "successfully ran local tests" today (and all last week) is running a degraded version of local tests due to #3195. This is why CI is now broken on master despite my running local CI on every merge commit.


Bump Python interpreters

ssia

coverage: 100.0%. remained the same
when pulling c61e0511b2f2026f9119a8ba0ffcb2e8960c2c23 on bump-pythons
into 5fd5ae8303a865d35bfe1a05d8d5bed32d4678a1 on main.


[AutoPR] imagebuilder/resource-manager

Created to accumulate context: imagebuilder/resource-manager

(message created by the CI based on PR content)

Codecov Report

Merging #4935 into master will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4935      +/-   ##
==========================================
+ Coverage   48.74%   48.82%   +0.08%
==========================================
  Files        6603     6603
  Lines      184910   184982      +72
==========================================
+ Hits        90137    90321     +184
+ Misses      94773    94661     -112

Impacted Files
Coverage Δ

...sdk-tools/devtools_testutils/mgmt_settings_fake.py
100% <0%> (ø)
:arrow_up:

...ompute/v2019_03_01/operations/images_operations.py
32.93% <0%> (+18.56%)
:arrow_up:

...te/azure/mgmt/compute/compute_management_client.py
66.85% <0%> (+19.42%)
:arrow_up:

...azure/mgmt/compute/v2019_03_01/models/image_py3.py
100% <0%> (+44.44%)
:arrow_up:

...te/v2019_03_01/models/image_storage_profile_py3.py
100% <0%> (+50%)
:arrow_up:

...mt/compute/v2019_03_01/models/image_os_disk_py3.py
100% <0%> (+64.28%)
:arrow_up:

Continue to review full report at Codecov.

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


Call to undefined function.

Using your own example, this is what I get:
Fatal error: Uncaught Error:
Call to undefined function Z38\MurmurHash\gmp_init() in vendor/z38/murmurhash/src/Murmur3F.php:117 Stack trace: #0
vendor/z38/murmurhash/src/Murmur3F.php(22): Z38\MurmurHash\Murmur3F::init() #1
temp.php(38): Z38\MurmurHash\Murmur3F->__construct() #2 {main} thrown in vendor/z38/murmurhash/src/Murmur3F.php on line 117

I would really like to use your implementation of murmurHash3 because it's the only one I can find using x64 128.
Please let me know if this is easily correctable. Thanks.

I've managed to solve the issue. Even though I had gmp installed it seems that brew had linked the wrong installation of php and it wasn't picking up gmp. But have it all under control now so this can be closed. Thanks.


Add tooling to QnA blade in Composer to support Follow-up prompt authoring

Feature Request
Currently, the tooling on the QnA blade in Composer only supports the authoring of alternate phrases but not the ability to author follow-up prompts.
Describe the solution you'd like
The .qna file format does currently support follow-up expressions and I've hand-jammed them into my local .qna file in my Composer project folder as a test and they do render correctly in the emulator so the only thing missing is the tooling in Composer that would allow me to enter the follow-up prompt particulars for a given qna pair and then persist those values in the correct format in the local .qna profile file.  As I said, I've manually inject follow-up prompts and tested it and everything would work from that point on if there were tooling that allowed me enter a follow-up prompt and persist it in the local .qna file.
Follow-up prompts could be tooled and launched in the same way alternate phrases are currently where a link becomes visible as I fly over qna entries
-Russ

@vivekkshankar @cwhitten be aware of this

@vivekkshankar @cwhitten be aware of this


Log-in Not Working

Description: User can't log-in after restoring the wallet with the pass phrase. After entering the password correctly user gets "pending" message but never gets to the main menu.
Steps to reproduce: /
Expected result: /
Actual result: /
Additional info: The problem is on Google Chrome, system - win 11; Restored the wallet without issues on Opera

If possible we can set up up input fields of the seed to always write everything in lower case, even if the input is an uppercase.