ws_js: return c.closeErr when closed during read

Return the close error when the WebSocket is closed (when running in WASM).
Previously, when the WebSocket connection is closed by the server, Read always returns net.ErrClosed, which prevents the correct handling of a close error with certain close status codes.
This might not be the best way to fix this, however we have been using this patch in production since June and it appears to resolve the issue and makes it possible to implement logic depending on the close code.

I am unable to reproduce the test failure locally (when running CI=1 go test ./... to actually run the WASM tests, and adding debug logs to make sure the test is actually running):
> CI=1 go test ./... -v -run TestWasm
?       github.com/coder/websocket/internal/bpool       [no test files]
?       github.com/coder/websocket/internal/errd        [no test files]
?       github.com/coder/websocket/internal/test        [no test files]
?       github.com/coder/websocket/internal/test/assert [no test files]
?       github.com/coder/websocket/internal/test/wstest [no test files]
?       github.com/coder/websocket/internal/test/xrand  [no test files]
?       github.com/coder/websocket/internal/util        [no test files]
=== RUN   TestWasm
=== PAUSE TestWasm
=== CONT  TestWasm
    conn_test.go:367: Running WASM tests # <- debug log inside TestWasm
--- PASS: TestWasm (8.10s)
PASS
ok      github.com/coder/websocket      8.969s
testing: warning: no tests to run
PASS
ok      github.com/coder/websocket/internal/xsync       (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/coder/websocket/wsjson       (cached) [no tests to run]

It looks like a possible issue starting Chrome in CI? https://github.com/coder/websocket/pull/505/checks#step:4:102

According to an announcement from GitHub, ubuntu-latest started switching to Ubuntu 24.04 on December 5th: https://github.com/actions/runner-images/issues/10636
Ubuntu 24.04 uses more strict AppArmor policies which may have broken (or now requires) sandboxing for Chrome?
The runner executed with Ubuntu 24.04.1: https://github.com/coder/websocket/pull/505/checks#step:1:4


[requires.io] dependency update on master branch

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   71.68%   71.68%
=======================================
  Files           1        1
  Lines         113      113
  Branches       36       36
=======================================
  Hits           81       81
  Misses         22       22
  Partials       10       10

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 30b8150...207c436. Read the comment docs.


Thanks

Hi, please see this example: https://github.com/chillerlan/php-qrcode/blob/main/examples/image.php

Thanks it works.
Is it possible to at a image, like a logo in the QrCode?

I had it planned at some point but didn't yet bother to implement it.


feat: Support for registering strategies to generate custom scalars

Codecov Report

Merging #1487 (5aeb4fb) into master (a3e63a8) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1487      +/-   ##
==========================================
+ Coverage   99.18%   99.27%   +0.08%
==========================================
  Files          88       91       +3
  Lines        6849     6865      +16
  Branches     1203     1205       +2
==========================================
+ Hits         6793     6815      +22
+ Misses         29       26       -3
+ Partials       27       24       -3

Impacted Files
Coverage Δ

src/schemathesis/__init__.py
100.00% <100.00%> (ø)

src/schemathesis/graphql.py
100.00% <100.00%> (ø)

src/schemathesis/specs/graphql/nodes.py
100.00% <100.00%> (ø)

src/schemathesis/specs/graphql/scalars.py
100.00% <100.00%> (ø)

src/schemathesis/specs/graphql/schemas.py
100.00% <100.00%> (ø)

src/schemathesis/extra/pytest_plugin.py
100.00% <0.00%> (+5.00%)
: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 a3e63a8...5aeb4fb. Read the comment docs.


Unable to create a UBUNTU machine.

Describe the bug

I'm trying to create a LINUX machine as shown in the image above, but I'm getting an error.
My device is a macbook m1pro.
To Reproduce
orb create ubuntu

result: create 'ubuntu': make rootfs: download metadata: GET download status: 502 Bad Gateway
orb create --arch amd64 ubuntu new-ubuntu

result: create 'new-ubuntu': make rootfs: download metadata: GET download status: 502 Bad Gateway
Expected behavior
Successfully creating a linux machine
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.4.3
Commit: 75d38a2c2d9a2b42d64378a8f50f31d4d566df10 (v1.4.3)
System info:
macOS: 14.3.1 (23D60)
CPU: arm64, 10 cores
CPU model: Apple M1 Pro
Model: MacBookPro18,3
Memory: 32 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-02-24T14-38-17.555027Z.zip

Screenshots and additional context (optional)
No response

When I run the command 'orb create --arch amd64 ubuntu new-ubuntu', I am also getting the following error.
create 'new-ubuntu': make rootfs: download metadata: start GET https://cdn-images.orbstack.dev/images/ubuntu/mantic/amd64/default/20240223_07:42/incus.tar.xz: Get "https://sgp1lxdmirror01.do.letsbuildthe.cloud/images/ubuntu/mantic/amd64/default/20240223_07:42/incus.tar.xz": net/http: timeout awaiting response headers

Same problem

wget https://sgp1lxdmirror01.do.letsbuildthe.cloud/images/archlinux/current/arm64/default/20240224_04:18/incus.tar.xz
--2024-02-24 19:59:15--  https://sgp1lxdmirror01.do.letsbuildthe.cloud/images/archlinux/current/arm64/default/20240224_04:18/incus.tar.xz
Resolving sgp1lxdmirror01.do.letsbuildthe.cloud (sgp1lxdmirror01.do.letsbuildthe.cloud)... <IP_ADDRESS>, 2400:6180:0:d0::10f8:6001
Connecting to sgp1lxdmirror01.do.letsbuildthe.cloud (sgp1lxdmirror01.do.letsbuildthe.cloud)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2024-02-24 19:59:16 ERROR 502: Bad Gateway.

It works well now
thank you

We've switched to a CDN to fix these types of issues going forward.

me too


Glowing checkboxes

Description
Added checkboxes with icons like wifi, bluetooth etc as seen in mobile phones. Also added the toggle buttons. Added glowing effect to when feature is on, like when wifi is turned on.
No dependencies.
Fixes #89

feature add

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Explain the Testing instructions
It has been manually tested. To test run the html file in any browser.
Test Configuration:

Operating system: any
Version: any latest version, done in Windows10
Text-editors used: VS Code

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@arpit456jain u can merge it


Add Search Weekly Challenges page

In the page, there would be dropdowns for year, month and week.
On selecting week, it would show tabbed container with two tabs i.e. "Task 1" and "Task 2" show the task details.

@manwar Please assign this task to me. Also, can you please draft something on the paper concerning this task, it is not very clear in my mind. for instance, what will be beneath the dropdowns for year, month and week before selecting the week?

On first landing on this page, there would just three dropdowns and they are linked.
So on selecting year, it would populate the month dropdown for the selected year.
And on selecting month, it would populate the week dropdown for the selected year and month.
One select the week from the dropdown then a tabbed container would become visible and each tab would contain a task.
For prototype, just have 3 dropdowns with fixed data.


[WIP] update note encryption

Update masp_note_encryption to latest zcash_note_encryption
Note the API has changed, which uses PaymentAddress as a field of Note rather than g_d and pk_d. This means there is a functional change: BorshSerialize/BorshDeserialize has to (de)serialize the 11 byte diversifier instead of the 32 byte g_d. This seems like a better idea anyway.

This PR is left intentionally unfinished for some future time (perhaps never) depending on whether the API changes affect future development. If so, then this PR can be a starting point, otherwise, it does not appear to have much value.


interactive: Add interactive mode to LDAP and OpenID IdPs

Demo: https://asciinema.org/a/7yja2V2Y9ZBaLjqiE9LT89CuX

@vkareh did you want to squash before merging?

Nah, the commits are already atomic and tested independently


delay fixing until scroll value is reached

was wondering if I could delay the header from attaching to the window until the user has scrolled say 100px, maybe something to do with scrollTop > 100 ?? not sure how to add this condition to scrollToFixed function

I recently had this same need and was able to use the marginTop function to accomplish it.
Fiddle: http://jsfiddle.net/jenpapa/by7uetvy/1/
$(document).ready(function() {
  $('#cart').scrollToFixed({
    marginTop: function() {
      var fix_at_me_top = $('#fix_at_me').offset().top;
      var scrollpos = $(window).scrollTop();
      if (fix_at_me_top <= scrollpos) {
        return 0;
      }
    }
  });
});


fix prettyPrint()

I just did what @kyontan did in his PR but without conflicts

closed as a duplicate


Make YELLOW yellower

Reduced red brightness from 50% to 10% in YELLOW tuple to actually get yellow light.
(Second try :dancer:)

Thanks!


[Interface] DNS description incorrect

https://github.com/pirate/wireguard-docs/blob/master/README.md#dns-2
Currently it is described as if the setting will be somehow pushed/shared with peers. This is not the case. Instead, DNS servers listed in this key will just be populated on the local interface.

Aha good to know, does wg do DHCP at all to assign IPs when clients have a range in AllowedIps, or do clients all self-assign their own?

wg doesn't do any dhcp itself. The config file only configures your local wg interface, and how your local wg client views other peers (this is why configs on both sides need to agree on settings, and settings local to each peer are what that peer actually uses to filter/route traffic)

And it is missing the case that you can add a searchdomain.
See parsing of the go-client:
https://git.zx2c4.com/wireguard-windows/tree/conf/parser.go#n231
case "dns":
				addresses, err := splitList(val)
				if err != nil {
					return nil, err
				}
				for _, address := range addresses {
					a, err := netip.ParseAddr(address)
					if err != nil {
						conf.Interface.DNSSearch = append(conf.Interface.DNSSearch, address)
					} else {
						conf.Interface.DNS = append(conf.Interface.DNS, a)
					}
				}

Override DNS for Specific Domains
For example, if the resolver’s IP address is <IP_ADDRESS>, and the domain name is internal.example.com, you might normally use the following DNS settting:
DNS = <IP_ADDRESS>, internal.example.com


2022-02-15 equity dashboard chart data update

Equity dashboard stats updates in this PR may be reviewed on staging - here.
After reviewing, if all looks well, approve and merge this Pull Request.
If there are issues with the data:

Note concerns or issues here by commenting on this PR
Work with Triston directly to resolve data issues
Alert the COVID19 site team in Slack (in the Equity page channel)

Repulling...


R-Shiny quickstarter should pull libraries from NEXUS

analog to #27
http://exchange.sonatype.com/details?extension=5135491292

as this is a massive fix (needs nexus image change to install plugin) we defer this from v1


Obfuscator problems

when it's enabled at guild wars launch, freezes game at character select screen
shows obfuscated mercenary names in add dialog, but normal name when added to party

shows unobfuscated name in guild hover

Will sort, ta

https://github.com/HasKha/GWToolboxpp/commit/478d21726910fa483b11bf05c19bb598784472d0


fix: config fetcher called twice

Motivation and Context

Config fetcher Subscribe method was called twice, because of init config channel, therefore it was calling 2 requests to control panel at the same time (also logging twice, that is how I noticed).
Logs
{"level":"debug","time":1701182852460,"caller":"controlplane/configfetcher.go:85","msg":"No new router config available, received nil router config, trying again in 10 seconds","hostname":"cosmo-router-7598cf9d5b-6wbmt","pid":1,"component":"@wundergraph/router","service_version":"0.39.0"}
{"level":"debug","time":1701182852523,"caller":"controlplane/configfetcher.go:85","msg":"No new router config available, received nil router config, trying again in 10 seconds","hostname":"cosmo-router-7598cf9d5b-6wbmt","pid":1,"component":"@wundergraph/router","service_version":"0.39.0"}
{"level":"debug","time":1701182853064,"caller":"controlplane/configfetcher.go:85","msg":"No new router config available, received nil router config, trying again in 10 seconds","hostname":"cosmo-router-7598cf9d5b-6wbmt","pid":1,"component":"@wundergraph/router","service_version":"0.39.0"}

Notice mainly first two logs called almost at the same time

Plus small fix to logs to include pollInterval instead of hardcoded value as it can be changed.

[ ] Tests or benchmark included
[ ] Documentation is changed or added on https://app.gitbook.com/
[x] PR title must follow conventional-commit-standard

Hi @voslartomas, thank you for the PR. We did a refactoring in https://github.com/wundergraph/cosmo/pull/318 which addresses the issue.


DBZ-6982 Provide configuration option to exclude extension attributes from a CloudEvent

@rkudryashov Applied, thanks a lot! Could you please provide a separate PR with docs update? Thanks

@jpechane thanks, I'll update docs later this week


Derive Arbitrary impls for a bunch of chain and network types

Motivation
We need Arbitrary impls to write proptests for internal and external network protocol messages.
Solution

Derive Arbitrary impls for a bunch of chain and network types
Add proptest Strategy impls for u32 and full datetimes

The code in this pull request has:

[x] Documentation Comments
[x] Enables Unit Tests and Property Tests

Review
Anyone can review, as long as they understand proptests.
Related Issues
Split off #2160
Follow Up Work
Rest of #2160

I think the macOS sync_large_checkpoints_mainnet failure was caused by #2172 or #2154, and it should be fixed by #2181 or #2182.
I don't think it's related to this PR, because this PR only changes proptests.
https://github.com/ZcashFoundation/zebra/pull/2179/checks?check_run_id=2635749551#step:10:644

The zebra-chain::primitives module has been a place for cryptographic primitives such as the signature schemes and the proof types, rather than 'utils' or other base types. Sometime like Amount got its own module. Should we have a top-level arbitrary module for things like this?

@teor2345 The zebra-chain::primitives module has been a place for cryptographic primitives such as the signature schemes and the proof types, rather than 'utils' or other base types. Sometime like Amount got its own module.

These particular strategies are serialization-specific and consensus-critical, so I put them in serialization::arbitrary.

@jvff this should be ready to merge if you want to use it in the #2178 tests


util/log: stop syncing writes excessively

PR: https://github.com/cockroachdb/cockroach/pull/58995
From release notes:

The parameter buffered-writes for file sink configurations has been added. It is set to true (writes are buffered) by default; and set to false (i.e., avoid buffering and flush every log entry) when the auditable flag is requested. [#58995][#58995] {% comment %}doc{% endcomment %}

Closed by #10273.


Timeouts and intervals not clearing up on live server reload in development environment

I have noticed that intervals and timeouts set with Meteor.setInterval() and Meteor.setTimeout() are not being cleared on server side upon live reload. To demonstrate this behaviour I created a test project here: https://github.com/bomb-on/meteor-tests (relevant piece of code) and also attaching a screen recording to possibly make it more clear.
Essentially, if I create an interval or a timeout in my server code and add a logging line to see when each of them is bing triggered, upon live reload I still see the log lines from previous run.
This is not happening if I remove jorgenvatle:vite-bundler package. In that case, I don't see log lines from the previous run.
I observed this behaviour only in development environment and with version 2.0.1 as well as 3.0.0-meteor3.next.10 of this package.
Although this is not happening in production environment, during the development it can be quite annoying if I set a lot of them and even trigger rate limits in case I'm fetching data from a remote server and save my code very often.
Thanks for looking into this and let me know if I can assist in any way with helping to solve this :)
https://github.com/user-attachments/assets/73a58ac3-a4ac-4562-abf5-aa8e978334d2

Few people suggested me to try to reproduce this with Meteor 2, and I can confirm that I'm observing the same behaviour with Meteor 2.16 and following packages:
$ cat .meteor/release
<EMAIL_ADDRESS>
$ meteor list
ecmascript                0.16.8* Compiler plugin that supports ES2015+ in all .js files
es5-shim                  4.8.0* Shims and polyfills to improve ECMAScript 5 support
hot-module-replacement    0.5.3* Update code in development without reloading the page
jorgenvatle:vite-bundler  1.12.13* Integrate the Vite.js bundler with Meteor
meteor                    1.11.5* Core Meteor environment
server-render             0.4.1* Generic support for server-side rendering in Meteor apps
shell-server              0.5.0* Server-side component of the `meteor shell` command.
standard-minifier-css     1.9.2* Standard css minifier used with Meteor apps by default.
standard-minifier-js      2.8.1* Standard javascript minifiers used with Meteor apps by default.
static-html               1.3.2* Define static page content in .html files
typescript                4.9.5* Compiler plugin that compiles TypeScript and ECMAScript in .ts and .tsx files
webapp                    1.13.8* Serves a Meteor app over HTTP

$ cat package.json
{
  "name": "intervals-test",
  "private": true,
  "scripts": {
    "start": "meteor run",
    "test": "meteor test --once --driver-package meteortesting:mocha",
    "test-app": "TEST_WATCH=1 meteor test --full-app --driver-package meteortesting:mocha",
    "visualize": "meteor --production --extra-packages bundle-visualizer"
  },
  "dependencies": {
    "@babel/runtime": "^7.23.5",
    "meteor-node-stubs": "^1.2.7",
    "meteor-vite": "^1.10.4"
  },
  "meteor": {
    "mainModule": {
      "client": "client/main.js",
      "server": "server/main.js"
    },
    "testModule": "tests/main.js"
  },
  "devDependencies": {
    "vite": "^4.5.3"
  }
}

Going to paste easily reproducible steps from Meteor Forums, just to have it in a single place:

Create new Meteor project, e.g.

$ meteor create repro --minimal --release 3.0.1  // or --release 2.16
$ cd repro

Replace the content of server/main.js with following code:

import { Meteor } from 'meteor/meteor';

Meteor.startup(() => { test() });

const test = async () => {
  console.log('Processing data');
  Meteor.setTimeout(test, 2 * 1000);
};

Run your app:

$ meteor

Change the "Processing data" string in your console.log() line, save it, and observe in logs that after live reload you will see only new string printing out. Change the string multiple times and observe that after saving the file, you’ll always see only the latest string printing out in logs.

Stop your Meteor app.

Add jorgenvatle:vite-bundler package and its dependencies:

$ meteor npm install vite@4 meteor-vite -D
$ meteor add jorgenvatle:vite-bundler

Create a minimal vite.config.js file in the root of your project (optional, just to avoid Vite’s warning printing out):

import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [],
  meteor: {
    clientEntry: 'client/main.js',
  },
});

8 Run your app:
$ meteor

Do the same thing as in step 4 above, but this time observe that after changing the string in console.log() and saving the file, you will see the old string and the new string printing out in logs. Change the string multiple times and save your file after each change and observe that after multiple live reloads you’ll see the string from each and every change still printing out in logs.

Thanks for the very detailed report.
It is an issue I've been struggling to find a good solution for. The Vite dev server is spawned as a child process of Meteor when you start Meteor in development mode. When Meteor restarts, the web server instance appears to be restarted before there's enough time for signaling Vite to shut down gracefully. With Vite still running as a background process, the old Meteor instance likely can't fully shut down.
It is possible to just run Vite and Meteor as separate processes though. There's a bit of extra configuration necessary for Vite to get this to run reliably, but should probably lead to some better performance once you've racked up a few server restarts.
The Meteor and Vite processes need some sort of communication - mostly just to retrieve the current host and port from Vite so it Meteor can inject the Vite client code into your app's HTML template.
I'll try to have a closer look at better ways of dealing with this as soon as I have the chance. In the meantime I can follow up with you with an example config you can manually run the two processes separately which should fix the issue you're seeing.
Do share your thoughts if something comes to mind. 👍

Had a closer look at it this morning. It appears to be an issue with the way meteor-tool handles event listeners registered with process.on(<exitCode>, ...) within Atmosphere packages.  We register some listeners to gracefully shut down Vite when Meteor is terminated, but it appears to have an opposite effect since Meteor appears to only call the most recently registered listeners before being terminated prematurely.
Made some changes to avoid the use of those listeners, which has resolved a majority of the string-along processes. There might still be a process or two that isn't caught if the dev server is hit with a lot of restarts within a few seconds, but the issue should be mostly resolved now. I'll have a final release ready for you sometime this week. 👍

This should now be fixed with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Let me know how it goes! 🤞


Use BitMask instead of BitFlags for data model encoding of bitmaps

Problem
BitFlags were designed for boolean flags for individual values.
However the spec has several types that are bitmapX with specific areas set as masks.
See #18300
Change overview
Use a BitMask class that derives from BitFlags but also adds support for setting bits based on masks.
Testing
Compile only and CI should validate. Change is mostly a noop, but changes such as #18300 can start using this.

@bzbarsky-apple ?


How to clean up the expired data of ES database regularly？

Hello, does the program come with cleaning up expired data?

This is a duplicate of https://github.com/exceptionless/Exceptionless/issues/592#issuecomment-619183269
You can configure Exceptionless to remove old event indices by setting an environment variable EX_MaximumRetentionDays to 7.
https://github.com/exceptionless/Exceptionless/blob/master/src/Exceptionless.Core/Configuration/AppOptions.cs#L53
Please let us know if you have any questions.


Optimize first stage of the program

Currently the page is queried every time it's mentioned. That means, that if a page is linked to, say, a thousand times, a request will be sent each time it happens. However, this is needed because of Wikipedia's redirect pages. I don't have a way of optimizing it yet, but solving this will increase overall speed.

One of ideas: store a separate table of urls, that will record which urls lead to which page (permalink). Obviously, a page about Russia will mostly be linked with /wiki/Russia, so no need to check it every time.
Algorithm: script should check the url that links to the page, check the database and, if the url is not present there, perform a request and get the permalink. If the url is in database, it should just get permalink already stored.

#4 might help reduce the size of database, especially if we're gonna have another table


Can mmdetection train on multiple gpus on Win10?

I can train mmdetection on only one gpu.

You can compile mmcv-full on windows with pytorch >= 1.7


Weather Converter

Hello,
Sorry if this isn't the right section to ask this question, but I couldn't find another way to contact you. Does this energy_plus_wrapper contain the functionality to allow me to call the Weather Converter that converts .EPW files into .CSV files?
Thanks so much.
Brad

Not yet: for now it's juste a simple wrapper around the "EnergyPlus"
command written around subprocess and optionaly docker. But if the weather
converter is available with the EnergyPlus installation, an auxiliary
wrapper can be easily implemented. If it is not, we could write a parser
ton convert these files by our own.
N. Cellier
2017-03-20 21:33 GMT+01:00 BradleyTran<EMAIL_ADDRESS>
Hello,
Sorry if this isn't the right section to ask this question, but I couldn't
find another way to contact you. Does this energy_plus_wrapper contain the
functionality to allow me to call the Weather Converter that converts .EPW
files into .CSV files?
Thanks so much.
Brad
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/celliern/energy_plus_wrapper/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACjzFHhim6luD7abXV48VWp3qFxvUklpks5rnuKLgaJpZM4Mi-g0
.


[BUG] Adding midi files does not work.

Even after I add midi files into the midi folder, it dosen't detect them in the transmitter
Mod version: 1.20.1-4.1.0-RELEASE-FORGE
Minecraft Version: 1.20.1
Forge Version: 47.2.20
Also trying to use it in a modpack.

Hello! Apologies for the slow reply, I was away from development for a couple months because I got married but hopping back into it now!
Have you tried restarting your game after adding the MIDI files to the folder? Sometimes MIMI struggles to detect new MIDI files until the game is restarted. It seems to be a randomly occurring issue that I can't reliably reproduce so it's hard to figure out what's causing it..


ValueError: --out_root=./my-copy-c4 contains ['train_small'] which cannot overlap with the requested splits ['train_small', 'val_small'].

I ran the below command to make a copy of C4 as mentioned in the documentation:
python ../llm-foundry-main/scripts/data_prep
/convert_dataset_hf.py --dataset c4 --data_subset en --out_root ./my
-copy-c4 --splits train_small val_small --concat_tokens 2048 --token
izer EleutherAI/gpt-neox-20b --eos_text '<|endoftext|>'
I receive the below mentioned error:
ValueError: --out_root=./my-copy-c4 contains ['train_small'] which cannot overlap with the requested splits ['train_small', 'val_small'].

Hello @NishaDeepak , if I understand the code properly, this means that /my-copy-c4 already has an existing subfolder called train_small. Can verify if that is the case, and if so delete that existing folder?

Hello @hanlint @NishaDeepak just chiming in, that response served to the correct that error for me. Just go in and delete the pre-existing "train_small" sub-folder and you should be all good.

Closing for now, but feel free to reopen if the error persists.


Factorio 0.15 release

Updates to make it work with Factorio 0.15.
Just needed to change some syntax in the locale files.
It's always good to keep your mod updated ;)
Seems to work like a charm here.

Thanks for the pull request
I haven't played Factorio since the beginning of 0.14


Possible to support EdgeDB?

I have my database use https://www.edgedb.com as I like their query language, query builders and schema. Its built on top of Postgres too.
I would love to try ChiselStrike but don't want to drop EdgeDB. Is it possible to support this use case?
Thank you.

ChiselStrike only supports SQLite and PostgreSQL right now and we don't unfortunately have plans to support other databases right now.
Looking at EdgeDB, there seems to be some overlap with ChiselStrike and EdgeDB so I would be interested to hear how you'd see the integration happening? You'd define entities as ChiselEntity, but how would that translate to EdgeDB?

Yes more I am thinking about it.
I feel like I want to build my own version of ChiselStrike on top of edgedb. So use its schema but have easy way to define routes etc.
Reason is that edgedb schema editor is just so great to use. For now I am trying both. EdgeDB shines in defining more complex relations between tables.

@nikitavoloboev We want to support more complex relationships in ChiselStrike schemas too, but just have not got around working on it beyond the simple ones. Is there something specific you're missing or is it an overall thing?
I haven't tried out EdgeDB's schema editor (will do that) but we have so far been operating under the assumption that it's easy to define schemas with just TypeScript.

How much does Chiselstrike depend on specifics of sqlite? Would it be possible in the future to support seamlessly switching in between databases and allow different developers to develop implementations for EdgeDB, MongoDB, GunDB i.e. like Prisma?


keep container running by everware in sync with github

as everware clones github repo X, user can add hook to the repo, so that upon every commit, everware pulls updates of X inside running container.
proof of the concept: https://github.com/pardeep-paxcel/PaaS-Docker

How would this work? We add a new handler that acts as a webhook for github to call?
Interesting idea.


Fix potentially overflow msg_namelen value in SupervisedSystemd

https://github.com/apache/kvrocks/blob/78f87c409348bbde6839ccf4d7bb2be207efbf5e/src/cli/daemon_util.h#L75
The value of msg_namelen may cause potentially overflow since notify_socket is not the real truncated one. So we need to use strlen(notify_socket) instead of strlen(su.sun_path).
Besides, some other code has been cleaned up.

@PragmaTwice Sonar Lint reports hotspot security due to using the stren function in daemon_util.h, but I guess it should be fine since the variable is always set the \0.

@PragmaTwice Sonar Lint reports hotspot security due to using the stren function in daemon_util.h, but I guess it should be fine since the variable is always set the \0.

This strlen is not introduced by me.

@PragmaTwice Sonar Lint reports hotspot security due to using the stren function in daemon_util.h, but I guess it should be fine since the variable is always set the \0.

This strlen is not introduced by me lol.

aha, yes i know. What I mean is to ignore this hotspot security report.


Fixes typos in README

Hey @nicklockwood, this PR fixes few typos I have found during reading through the lib docs. Thanks for your hard work! 🙏

Pull Request Test Coverage Report for Build 23

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 61.981%

Totals

Change from base Build 21:
0.0%

Covered Lines:
388

Relevant Lines:
626

💛  - Coveralls

Awesome, thanks!


When Mic gets disabled as an input device (not volume down OR disable Mic using its hardware switch) from windows sound settings and re-enables again, the game process cannot capture only the input stream and must restart the application. The solution might not be in blueprints but C++ instead.

Non-gameplay related issues, Engines and windows process issues


Improves performance while timing observerations.

Reduces operations by calculating duration in line.
Removes an allocation per observation.

So I have no problem with this, looks benign enough.
However my only question is why - sure, reducing an allocation is good, but I doubt it really had much of an affect. Did you run into a situation where this was causing harm? Just curious, approved on my end either way.

I didn't run into a situation where it was causing harm.  I ended up writing some code in another application which needed to do timing.  I reviewed how ASP.NET Core was doing it, and implemented it very similar to this.  I had noticed that we were creating the Stopwatch instance and figured it would be worthwhile to update too.
I also ran some performance testing using BenchmarkDotNet.

Neat 👍
Looks good, :shipit: (cc @Haacked )

Reducing allocations is always a good thing. :smile: I agree that there's probably no specific problem here, but it doesn't hurt to follow patterns the ASP.NET team are doing.


When will the dataset be opened to the public?

Since you have released your paper, looking forward to the dataset release! @xiaobiaodu
no avaliable download link found at https://xiaobiaodu.github.io/3drealcar/download.html

Hi, tranks for your interest in our dataset. Our code has been released. We are releasing our dataset.


Remove format button is not removing deleted/line through state

Clicking the Remove Format Button is not removing deleted/line through state.
Description
Windows 10
Chrome 95.0.1020.30 (Official Build) (64-bit)
How to reproduce?
https://alex-d.github.io/Trumbowyg/

Type anything in the editor.
Select a text part.
Click the Deleted state button.
Select the entire text (CTRL + A).
Click the Remove format button.

I have the same issue.
When I select a text "deleted" and I click on the Delete button or the Remove format button, nothing changes.

Go to https://alex-d.github.io/Trumbowyg/
Replace all the text by a random word
Select the word
Click the Deleted button
Select the word again
Click the Deleted button (no effect)
Select the word again
Click the Remove format button (no effect)

It's a known issue, a browser-level bug, and cannot be fixed easily.
Wait for Trumbowyg 3 :)


3.1.1 AudioServer is missing methods used in the bpm_sync demo

Godot version:
3.1.1
OS/device including version:
MXLinux 18
Issue description:
The changelog mentioned that the new audio features from 3.2 were backported but AudioServer is missing get_time_to_next_mix,get_output_latency and get_time_since_last_mix

These were added after 3.1.1, if they are being backported you should find them in 3.1.2.

I don't plan to backport those unless there's a really strong demand; IMO backporting the first batch of new audio features from 3.2 was a mistake, as such features typically take a few iterations to mature and that's why they're developed in the master branch.
If there's a lot of demand for having those in 3.1.x I can reconsider, but as 3.2 is just around the corner, I don't think spending time figuring out what to backport safely for these features is worth the effort.

I was about to report this too. Found it through https://docs.godotengine.org/en/latest/tutorials/audio/sync_with_audio.html but I should have checked my version first :-/
Waiting for 3.2 :-) ... downloaded 3.2-beta4 from https://downloads.tuxfamily.org/godotengine/3.2/


New assertion matcher "toHaveBeenCalledOnceWith"

Clear and concise description of the problem
Currently there is no way to test whether a spy is only called once with certain arguments but both assertions are essential.
This currently requires two assertions:
expect(spy).toHaveBeenCalledWith(...args) and expect(spy).toHaveBeenCalledOnce().
I argue this case is so common that there should be a matcher included by default for this.
Suggested solution
Add a new default assertion matcher "toHaveBeenCalledOnceWith" which combines the checks of toHaveBeenCalledOnce and toHaveBeenCalledWith:

checks the spy has been called once
the provided arguments match
The matcher should throw on error when there are less than two arguments.

Alternative

Use expect.extend per project
Add a more universal way to combine multiple assertion matchers

Additional context
There is an existing matcher for Jest via jest-extended.
I am willing to submit a PR for this if accepted.
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Yeah, it looks nice to have. We'll have toHaveBeenCalledAfter/Before soon https://github.com/vitest-dev/vitest/pull/6056, so toHaveBeenCalledExactlyOnceWith is the last one missing from https://jest-extended.jestcommunity.dev/docs/matchers/Mock


Add Arbie logo to Readme

Closes #9

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   36.36%   36.36%
=======================================
  Files           4        4
  Lines          44       44
=======================================
  Hits           16       16
  Misses         28       28

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 a98a5d0...2a6dec5. Read the comment docs.


Listen also on the ssl port 465

Also use the SSL port for clients to deliver emails.
Added tests to verify tls strength and authentication.
See #618

@tomav could you review it?

LGTM, thanks

@johansmitsnl That's great thanks.


New Byfron Client Causes Issues

The new Byfron client, somewhat expectedly, causes quite a few issues:

Reshade support seems to be broken.
F11 and Alt + Enter no longer function in exclusive fullscreen. (Also noticing horrible screen tearing that wasn't happening before.)
Probably more; haven't looked much.

This link should prompt Roblox to install the new client: (You have to paste it into the address bar manually.)
roblox-player:1+launchmode:app+channel:zwinplayer64
I'm expecting Reshade support to just be removed, seeing as the new client's purpose is to prevent it from working.

I already addressed these problems in v2.2.0. I'm the person who first discovered these problems. ZWinPlayer64 is a selectable channel in the Installation menu. Having ReShade enabled forces you to use the non-Byfron client.

I just checked and exclusive fullscreen still works fine, Alt+Tabbing to another window makes it exit fullscreen as expected.


[old] fix GFT use of single dataset in multiple flags

problem
due to changes in https://github.com/NYCPlanning/data-engineering/pull/826, when a single dataset is used in multiple flags, we're applying the results of one flag to all of them
screenshot of int_flags_all grouped by flag_id_field_name
shows identical counts for different flags despite their use of different geometries

changes

add tests to primary output green_fast_track_bbls to ensure the results vary for different flags' use of nyc_historic_buildings
add a lot to the pilot projects as Buffer Test to ensure results vary for different flags' use of nyc_historic_buildings
add and use seed column variables.flag_variable_type to be a unique id for a dataset's use in a flag

so that flags can be correctly computed, rather than only using variables.variable_type

example of new seed column variables.flag_variable_type

flag_variable_type
flag_id_field_name
variable_type

hr_nyc_historic_buildings
historic_resources
nyc_historic_buildings

hra_nyc_historic_buildings
historic_resources_adj
nyc_historic_buildings

shr_nyc_historic_buildings
shadow_hist_resources
nyc_historic_buildings

tests
A test failing (via warning) here showing that the number of lots flagged for historic_resources is the same as those flagged for historic_resources_adj. this should not be true because historic_resources_adj covers a larger area by definition
Pilot project test failing before fix and [passing after] fix.
screenshot of Buffer Test pilot project lot and nearby geometries related to nyc_historic_buildings
shows a lot that only touches buffers related to Shadows Historic Resources. but due to the bug, this lot has a Yes value for other flags which use a common source dataset (nyc_historic_buildings)

closing in favor of approach in #868


[FEAT]: Per Workspace AIs

What would you like to see?
I want a feature where I can say which AI should be used in a workspace. For example, one private workspace with Llama3 and one coding workspace with CodeLlama or similar.

This is already a feature. Open any workspace's settings and go to "Chat settings" and you can do this.


wheelzoom npm package

Hey there,
I love this script! Thanks for sharing!
Are there any plans for hosting it on npmjs.org? A npm package of this would be awesome!

Done!  Thanks


⚠ Processors has degraded performance

In ee44373, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 91 ms

Resolved: Processors performance has improved in 0d063d8.


Missing Golang Versions

Examples:
uniseg latest version is v0.4.4 (since Feb 2023):
But in deps.dev this version doesn't exist
Same with<EMAIL_ADDRESS>https://pkg.go.dev/github.com/mattn/go-runewidth?tab=versions
https://deps.dev/go/github.com%2Fmattn%2Fgo-runewidth
And more

Thanks for the report. I can confirm the issues with those two modules, and they should be now fixed. There's some ongoing work in progress to make sure we don't have further inconsistencies.

We believe the underlying issue that caused these versions to be missing has been fixed. Please let us know if you find more inconsistencies in our data.


Dependencies: package publisher 0.11

As far as I know this is safe to roll out. 0.11 unlocks the capability to publish python wheels which I especially care about for bridged providers (AWS, GCP especially).
LMK if this is good to go or we need a pilot run.
@pulumi/providers

Per @guineveresaenger this is blocked until every provider has received bridge update to 3.59.0 and correspondingly pulumi/pkg update to 3.81.0 or above or it will break them.

Closing in favor of the approach in https://github.com/pulumi/ci-mgmt/pull/570 where we can go provider-by-provider to do piecemeal updates.


Cleanup, re org repo dir structure and remove travis file

Syntax check should be fixed by https://github.com/ceph/ceph-build/pull/582

@alfredodeza @andrewschoen anything against this refactor? :)

I'd like to wait on this, because this breaks ceph-installer :(

There's a lot in here. The conservative changes like the Travis CI and .gitignore things could go into a smaller, safer PR

@ktdreyer right, let me push a separate PR for both Travis and gitignore.


MapPrototypes

maybe it's hardcore and it will have to be moved to PostDeploy, but it's still waiting for your verification

I transferred the same logic as in EqptBase, but the same problem appears, I will try to come up with something, but so far only a change in the MapBase table comes to mind

replaced by https://github.com/dk1a/wanderer-cycle2/pull/49


refactor(protocol): remove unnecessary field from events

@cyberhorsey Please take a look at this PR. I feel like the change may impact the Bridge backend.

@dantaik i will make relayer and bridge changes


spawner.py fails to parse when multiple gpu types in same node

Where a slurm compute node has multiple gpu types, as in my example below, the parser fails.
sinfo -a --noheader -o '%R %F %c %C %G %m %l' returns:
gpu-private 1/0/0/1 16 8/8/0/16 gpu:turing:1,gpu:ampere:3 257595 infinite
This fails in lines 131-134 of spawner.py which makes an assumption there is only 1 GPU type.
            try:
                gpus_gres = gpus.replace("(", ":").split(":")
                gpus_total = gpus_gres[2]
                gpu = ":".join(gpus_gres[0:2]) + ":{}"

gpus_total then becomes "1,gpu" and fails an integer check.
The easiest fix here is to split on commas first and then loop through the different types of GPU, but that will likely throw up more things to deal with further down the line.

The same issue also causes an issue with nodes that might have some MIG enabled GPUs for example too:
res-gpu-small 2/1/0/3 64 28/164/0/192 gpu:ampere:6(S:0-1),gpu:1g.10gb:28(S:0-1) 385411 infinite
This partition will not cause the parser to fail entirely as it will split on the colon that replaces the opening bracket, but the 1g.10gb type GPUs will just be ignored by the parser.

Hi,
Thanks for the feedback. Indeed multiple GPUs is not currently supported.
I'll fix the parsing for those cases but I'll keep the limitation of a single kind of GPU per partition (i.e., the user cannot choose from the UI the kind of GPUs to use or select a mix of multiple kinds of GPUs).
If you feel like proposing something to support multiple kind of GPUs selection from the UI, we can discuss it and a Pull Request is welcomed.

I made PR #105 which should fix the parsing issue you encounter.

I'm closing this issue: PR #105 fixed the parsing issue, and there is already and issue opened for multiple GPUs support (see #97)


[Messenger] Dark mode implementation

Greetings!
First and foremost, great piece of software, just started using it and no complaints so far!
So, for Messenger there is no official Dark Mode, however, there are extensions, like this one which can enable it in a beautiful way.
Is there any possibility of implementing this?
Thanks in advance.
Afonso Ramos

@AJRamos308 thanks for the praise, it is very much appreciated! :)
Franz does not interfere with the content of the services and I'm not sure if that will ever change. At the moment there is no extension mechanism planned... sorry to disappoint!
Best,
Harry


Incorrect application's requests.

Describe the bug
An application makes requests to the http://localhost:5000/api/login, but:

csp blocks it because, i access an app via internal ip, such as <IP_ADDRESS>:5000
i don't have bulwark locally, that's why request to http://localhost is useless.

for deploying i use docker-compose 1.28 (latest)
.env file as default.
Steps to Reproduce
Steps to reproduce the behavior:

deploy via docker-compose on a remote machine
access an application across the web via remote IP
try to login
See error

Also i tried to change .env file providing prod url as ip of the remote machine. but it didn't work. issue is similar to number 443? but i DO NOT NEED access the application via "localhost" url locally...

@lizzmack101 thanks for submitting the bug.  This might be related to https://github.com/helmetjs/helmet/issues/237 as default-src is mandatory with Helmet.  We will take a look.

@lizzmack101 thanks for submitting the bug.  This might be related to https://github.com/helmetjs/helmet/issues/237 as default-src is mandatory with Helmet.  We will take a look.

thanks for fast csp fix, i'd like to mention, that the problem of incorrect address to request - is present too.
Also, as i see in docker bulwark logs after deployment, is that the last action is like the following, and i suppose, that this could be a problem, because it doesn't see an .env file in root dir of the application:

Hope this will help to understand, what i mean.

thanks for fast csp fix, i'd like to mention, that the problem of incorrect address to request - is present too.
Also, as i see in docker bulwark logs after deployment, is that the last action is like the following, and i suppose, that this could be a problem, because it doesn't see an .env file in root dir of the application:

Hope this will help to understand, what i mean.

thanks for fast csp fix, i'd like to mention, that the problem of incorrect address to request - is present too.
Also, as i see in docker bulwark logs after deployment, is that the last action is like the following, and i suppose, that this could be a problem, because it doesn't see an .env file in root dir of the application:

Hope this will help to understand, what i mean.

@lizzmack101  you are correct and this is a separate issue that we are investigating.  It looks like we are missing two process.env variables in our .env file instructions.  As you can see in the following code we have written:
const serverPort = process.env.PORT || 5000;
const serverIpAddress = process.env.IP || '<IP_ADDRESS>';

If we do not provide the PORT and IP it'll set default values (localhost).  Could you try adding two additional process.env variables to your .env to see if it fixes the issue?
PORT: "5000"
IP: "<IP_ADDRESS>"

thanks for fast csp fix, i'd like to mention, that the problem of incorrect address to request - is present too.
Also, as i see in docker bulwark logs after deployment, is that the last action is like the following, and i suppose, that this could be a problem, because it doesn't see an .env file in root dir of the application:

Hope this will help to understand, what i mean.

@lizzmack101  you are correct and this is a separate issue that we are investigating.  It looks like we are missing two process.env variables in our .env file instructions.  As you can see in the following code we have written:
const serverPort = process.env.PORT || 5000;
const serverIpAddress = process.env.IP || '<IP_ADDRESS>';

If we do not provide the PORT and IP it'll set default values (localhost).  Could you try adding two additional process.env variables to your .env to see if it fixes the issue?
PORT: "5000"
IP: "<IP_ADDRESS>"

So, I added to .env IP PORT lines,
IP=<IP_ADDRESS>
port=5000
but logs inside a container - still doesn't see .env  file. Nothing changed in this case. See following screen:

After that, i do cp of .env inside a container "bulwark":

restart containers

but the application still enforces "localhost" url at login request

After this, I go inside the "bulwark" container and edit .env like this:

againt restart,

and still localhost request at login page:

So, I added to .env IP PORT lines,
IP=<IP_ADDRESS>
port=5000
but logs inside a container - still doesn't see .env  file. Nothing changed in this case. See following screen:

After that, i do cp of .env inside a container "bulwark":

restart containers

but the application still enforces "localhost" url at login request

After this, I go inside the "bulwark" container and edit .env like this:

againt restart,

and still localhost request at login page:

@lizzmack101 Thank you for your patience.  We've been working behind the scenes to attempt to resolve this issue.  The main cause of this bug was due to the fact that Angular had http://localhost:5000 hardcoded in the environment files.  We have modified the application scripts to dynamically update Angular's environment with the correct API URL.  This fix has been pushed to the develop branch and will be available in a week or two in the main branch.  If you would like to test the fixed code, please checkout the develop branch and let us know.  That would be greatly appreciated.
We have updated the README with the latest changes.    Essentially, we have an additional environment variable for the server address:
MYSQL_DATABASE="bulwark"
MYSQL_PASSWORD="bulwark"
MYSQL_ROOT_PASSWORD="bulwark"
MYSQL_USER="root"
MYSQL_DB_CHECK="mysql"
DB_PASSWORD="bulwark"
DB_URL="<IP_ADDRESS>"
DB_ROOT="root"
DB_USERNAME="bulwark"
DB_PORT=3306
DB_NAME="bulwark"
DB_TYPE="mysql"
NODE_ENV="production"
DEV_URL="http://localhost:4200"
SERVER_ADDRESS="http://localhost"
PORT=5000
JWT_KEY="changeme"
JWT_REFRESH_KEY="changeme"
CRYPTO_SECRET="changeme"
CRYPTO_SALT="changeme"

Additionally, we have created the script npm run config to dynamically update Angular environment based on server_address and port.  Additional information can be found here.
We look forward to hearing back from you!


IOU - No loading state when click cancel in the money request details page and page closes abruptly

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to URL https://staging.new.expensify.com/
Log in with any account
Click FAB button -> Request money
Enter an amount -> Request (3 times)
Open Details
Click Cancel one money request

Expected Result:
When hit cancel should see a loading state and details page should not close abruptly
Actual Result:
After canceling the money request, the details page closes abruptly.
Workaround:
unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.2.25-0
Reproducible in staging?: y
Reproducible in production?: n
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/200668598-1bdc423c-155a-4417-bed5-193e72e63bdc.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

This is the expected behavior since cancel/decline money requests are now optimistic! See https://github.com/Expensify/App/pull/11720. Closing this issue!


Ability to get a copy of a Array 2D

Could it be possible for you to add the possibility to Clone() an array?
Here is my use case:
I have a Scriptable Object with an Array2DBool.  However, I use these transformation methods at runtime and I would like to only update a copy of my instance of Array2DBool but right now it also updates my scriptable object which I don't want to.
Thank you for this cool tool!

Same here, I've been looking for ways to make a deep copy; right now, only way I could get to work was to create a method which creates a regular 2D array (e.g. int[,] newArray) as an intermediate clone by iterating the entire Array2D, and then you can use that array to set any instances of array2D with the cloned values.

Hello, thanks for your comments :) I will look into it. It'll probably end up in having to implement some interface on the Array2D's to make it clonable. I will implement for the basic Array2Ds that exist in the plugin, and if you have arrays of custom types, you'll probably just have to implement this interface on your custom type to be able to copy an entire array.
I'm thinking of the System.ICloneable interface to stay the more generic possible (MSDN).
What do you think?

I am not well versed enough to recommend a proper implementation path I think :) but it sounds about right?
and about shallow vs. deep copy, I was under the impression that a shallow copy of the array A would be creating another array B which is actually referencing the same elements in memory (i.e. modifying an element of array B would also modify the same element of array A as they are referencing the same place in memory); a deep copy would create a new array B where each element has the same value as A initially, but each element is actually on a new spot in memory, so modifying one does not affect the other.
I might be way off tho

Hello, I apologize for the delay!
I've been working on it a few hours today, I hope you will find it easy to use.
Basically I've added an implementation for ICloneable on Array2D, so all you have to do on any Array2D is to call the Clone() method to get a fresh copy.
If your Array2D is an array of reference types (complex objects of yours), it simply must implement ICloneable.
It then should work without a hitch.
Please note that for your current code to support this update, your custom Array2D's will have to implement the following method:
Array2D<T> Clone(CellRow<T>[] cells)
You can have a look at the existing implementations for the base types to see an example, like for ints:
protected override Array2D<int> Clone(CellRow<int>[] cells)
{
    return new Array2DInt() { cells = cells.Select(r => new CellRowInt(r)).ToArray() };
}

It should just be a matter of copy/pasting this code and changing the types to yours.
Also, your custom CellRow classes will now have to have a default parameterless constructor, and a copy constructor that takes their base class as an argument, like this (still for ints):
[System.Serializable]
public class CellRowInt : CellRow<int>
{
    /// <inheritdoc/>
    [UsedImplicitly]
    public CellRowInt() { }

    /// <inheritdoc/>
    public CellRowInt(CellRow<int> row)
        : base(row) { }
}

Again, nothing complicated, you should just have to copy/paste this and change the types.
Please let me know if you have any question or feedback, I've made sure it worked on my use cases but yours could be more complex and I cannot foresee every situation 😃 Cheers!


[boost] Update to version 1.66.0

Works well.
However they haven't checked VS 15.5, so we'll see the unsupported compiler warning again.

However, x86-windows-static doesn't want to be compiled. Closing for now.


Implement GDX Web Analytics

Implement tracking code
Coordinate with GDX team to get the dashboard setup

Clecio, Hannah, Kim, Charles

@wadeking98 Is this testable at this time, ie, is the dashboard setup, or can we just close this?

@wadeking98 Check my last comment. 👆


openHMD opengl example wrong display

Hi, I tried to run the opengl example but it displays on my computer screen and not in the oculus rift. Are there any options or configuration to select the correct the display ?
The sensors work well. I have a nvidia gtx 970 and I'm using the HDMI port on the graphic card.

I guess that it starts where you have the terminal running, you need to move the window to the hmd display

The problem is that there isn't any hmd display, the oculus is not in extended mode but in direct mode I think.

is your monitor connected to the dedicated gpu (nvidia) or to the igpu? Also are you on windows(if so do you have oculus drivers?)?

I see this behaviour with a dedicated GPU on Debian.

Everything is connected to the dedicated GPU, I don't have graphic in my CPU. I'm on Linux Ubuntu 16

So there is no logic in OpenHMD to dictate where it is launching, this is currently determined by the application.
People have made setups with SDL2 detecting screens and automatically launching on the right display when in extended mode, would be cool if someone could build that into our openglexample.
Otherwise direct mode through vulkan is currently the way to go (on linux).

Not to impose, but will there be a Vulkan example?

See also - https://github.com/OpenHMD/OpenHMD/issues/114


BenchmarkCI is incompatible with DiffEqBase

I've noted that the compat requirements for BenchmarkCI are now misaligned with DiffEqBase with regards to (at least) using SetField.
I've got a PR towards BenchmarkCI that could fix this here https://github.com/tkf/BenchmarkCI.jl/pull/181 , but at the moment this blocks benchmarks running for #510

Flagging this for @seabbs after f2f conversation.

Closed by #524


Validation using custom scalar types

From your video MERN Stack & GraphQL - #7 Server-Side Validation, it seems that you don't approach the subject of using custom scalar types for validation.
There are already several packages that use that idea:

@okgrow/graphql-scalars
GraphQL Custom Types
...

What are your thought about it?

@audiBookning Sounds interesting, I didn't think about it. I like graphql-custom-types but I'm not sure if it plays nicely with Apollo. I'd wait to see if this pattern gets a wider adoption.

Thanks for the reply.

but I'm not sure if it plays nicely with Apollo.

I looked for your feedback, because i don't really see Custom Scalar types being used or mentioned very much. Which is strange given that the specs of graphql already have this feature since at least 2015:  facebook.github.io Scalars, more info also at graphql.org Scalar types
and also from what i can see, they are already implemented on Apollo Server 2 since the beginning: apollographql.com Custom scalars
The problem that could arise would be with Apollo Client. There is a rich issue about the matter: Support for custom scalars and its follow up from the apollo-feature-requests repo
TDLR from Apollo site:
'...Note that Apollo Client does not currently have a way to automatically interpret custom scalars, so there’s no way to automatically reverse the serialization on the client...'
I haven't tried yet, but it does makes one wonder nonetheless...

I like graphql-custom-types

The packages are nice, but one doesn't really need to be dependent of them. One could transpose your code used for validation with the Joi package to one's own GraphQLScalarType instance easily: apollographql.com Custom GraphQLScalarType instance. In particular see the Date as a scalar example.

I'd wait to see if this pattern gets a wider adoption.

Your doubts are likely similar to mine. But from what i gleaned, i does look like this should be the best practice to do validation (and much more) with Graphql on the server. There must be others considerations that i don't see at the moment...


I can't install the nvidia driver in 4.19.112-0062 kernel. like the issue "I am now relatively certain that the issue is related to the code '#include <sys/socket.h>' line28 in the '/usr/src/linux-headers-4.19.112-0062/include/linux/if.h' file, which references a user-space library. This issue seems similar to the one described in this GitHub issue: https://github.com/openzfs/zfs/issues/10601."

          I am now relatively certain that the issue is related to the code '#include <sys/socket.h>' line28 in the '/usr/src/linux-headers-4.19.112-0062/include/linux/if.h' file, which references a user-space library. This issue seems similar to the one described in this GitHub issue: https://github.com/openzfs/zfs/issues/10601.

In fact, there may be other problems with the kernel module that are preventing the installation of network card drivers and NVIDIA GPU drivers (basically, anything that relies on kernel header files). I would like to know if you can confirm this issue. When using Sage for inference, did you use only the CPU, or were there any GPU-related dependencies?
Originally posted by @intothesea in https://github.com/Soheil-ab/sage/issues/5#issuecomment-1783802412

Here is the install log.
Uploading nvidia-installer.log…

Discussed before here: https://github.com/Soheil-ab/sage/issues/5#issuecomment-1793475722


Shake unanswered rebus when Enter is pressed

Associated Issue: #67
Summary of Changes

Shake unanswered rebus when Enter is pressed
Tests

Pull Request Test Coverage Report for Build 331

6 of 7 (85.71%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 90.435%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/js/store.js
4
5
80.0%

Totals

Change from base Build 330:
-0.3%

Covered Lines:
140

Relevant Lines:
153

💛  - Coveralls


Bip39 passphrase must be normalized

Current implementation allows any unicode string as a passphrase, but the BIP39 spec states that it must be normalized to NFKD
Open for discussion: Should there be any additional limitations on the allowed passphrases? The above change will bring the SDK in line with the BIP39 spec, but it seems very common for wallets to limit the user to specifically ASCII characters, with a length cap of 100 characters. Should we follow suit, to avoid the situation where a user cannot recover a key on specific wallets?

In regards to choosing normalized unicode vs ascii: it's worth considering that unicode normalization isn't a trivial task. Java seems to have convenient functions for this, but C++ doesn't. IMO it would be hard to guarantee that normalization functions across all languages perform perfectly and deterministically for all edge cases... I understand now, having looked into the problem, why all wallets I've seen limit the user to ASCII only
@nikola-genov I see you've picked up this task - are you planning to normalize to NFKD, or limit to ASCII?

@SimiHunjan , @alittley , I think in order to be BIP-39 compliant the SDK should allow unicode passphrase and simply NFKD normalize it. SDK consumers (3rd party apps and wallets) may decide to limit the user to ASCII-only pass on their end, but the SDK should not impose such restrictions. What are your thoughts?

@rbair23 @lbaird thoughts on this?

@nikola-genov I think this seems reasonable.
My one concern is whether we can be confident that various libraries have 100% correct and consistent normalization. Unicode is a wide standard...

@alittley, this is a valid concern, however there's not much we can do about it - in order to be Bip39 compliant we must normalize.
Another possible issue is if someone has already used unicode passphrase with the current sdk, once that change gets released he'll no longer be able to recover his private key unless downgrading to a legacy sdk version.

I agree with @nikola-genov. If somebody has issues, he is going to downgrade and recover his passphrase.


Recommendation to fork for each data landing zone probably wont work in practice

According to the instructions when you deploy multiple data landing zones you should fork these so you can customise/change parameters config etc.  This allows you to update changes back/forward between forks and 'parent'
However the challenge with this approach is that a fork has to be in a different organisation from the parent,  if your doing multiple data landing zones within a single company then you probably wont have different github orgs for each one.
Shane

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

ID: c70c23d5-23dc-b88b-c50d-bbfe0dc23b45
Version Independent ID: c70c23d5-23dc-b88b-c50d-bbfe0dc23b45
Content: Provision cloud-scale analytics platform - Cloud Adoption Framework
Content Source: docs/scenarios/cloud-scale-analytics/manage-provision-platform.md
Service: cloud-adoption-framework
Sub-service: scenario
GitHub Login: @abdale
Microsoft Alias: hamoodaleem

Hi @ShaneOsborne
Sorry for the delay.
It is possibly create more than one fork on github org, for example:

Multiple forks will only work for an organization, not a personal GitHub account.
I will close the ticket, but feel free to re-open if additional clarification is needed.

#please-close


Upsert on bigquery poc

Experiment adding upsert on bigquery

Using 1: merge idea. This would require writing the whole data to a temp table (need to create the correct schemas), then merging onto the target table that you want to write on

Using 2: delete, and then write. For deletion you have to only delete the rows you wish to delete, which will not scale very well

For this, do a speed and cost analysis

Rough logic using Merge query:

create a temp table using the BQ API, then load your data into it
use a merge query to merge your target table with your temp table

CONS:

you will get hurt by cost. There is no way to filter the data on target_table. The whole thing will get scanned. This is not tenable for large scale data...

The other alternative is to be doing UPSERT, but this will hit you due to the filter conditions required for deletion. You'd need to be smarter, e.g. order by partition column, then see if you can find contiguous segments, and continue from that. This requires thought


How can I clone a Task

I want to create a Task object and retry it later if the Task failed. Is there any way I can do this?

I don't think so. While it is true that the inner raw Task is reference counted, it's only used to count the number of Wakers and Runnables currently pointing to the task. There is no way to clone a Task.
What's your use case here? I feel like there is a more sensible way to do what you're trying to do.

I want to use https://github.com/smol-rs/async-executor in a WASM/WASI library that is a single-thread environment. Each of the async functions inside the library is finally called a futures::channel::oneshot::Receiver to try to get a value, and later there will be a call to the library interface that sends a value through futures::channel::oneshot::Sender.
It works well now if there is only one async function. But if there are nested async functions (which are actually wrapped into a single Task), we will use multiple futures::channel::oneshot::Senders to send values multiple times. So far as I know, I can:

count the nested async functions manually and wait for all Senders to send values, and meanwhile using the Receivers block wait method (this is stupid and shall have no change to run if some Senders do not send values)
try to run the Task each time if one of the Senders want to send a value, use Senders try_recv method and save the receiving value if the task is not complete, if there is an error then return directly.

If I use the second method, I should get a Task "copy", to rerun it later.
So is there something I missed during the solution, or there is a better way to solve this?

Hmm, I might not be understanding this properly, but is there any reason why you can't use an MPSC channel instead of several cloned oneshot channels?

I use oneshot channels because I only need to receive a value once, these receivers are actually "reply callbacks with a UUID". I do not need to clone these oneshot channels because I can record received values (so I can get it later with UUID), what I what to clone is Task so that I can recall it later if failed

"Rerun a future if it failed" isn't the pattern for a Task. A Task is more of "pop a Future onto the heap so we can push it into a queue repeatedly and keep track of its state." Once the Future returns Ready, it's not meant to be restarted.
I would do one of two things here:
1). Just start a new task with the Future instead of cloning it.
2). Make your Futures more tolerant to failure. You said that this calls a UUID generator callback which can potentially fail? Try this:
loop {
    match generate_uuid().await {
        Ok(uuid) => {
            channel.send(uuid);
            break;
        }
        Err(e) => {
            log::error!("{:?}", e);
            // give other tasks a chance to run
            futures_lite::future::yield_now().await;
            continue;
        }
    }
}


Only call github.authenticate() when it's needed.

R: @gauntface
Otherwise, none of the gulp tasks will load if you don't have process.env.GITHUB_TOKEN set.

Changes Unknown when pulling a171e9fee13af0dd8960f2038fef2245860d13a5 on gh-authenticate-on-demand into ** on v3**.


Is there a way to redo a task every quarter?

Hi,
Is there a way to redo a task every quarter?
I see weekly, monthly and yearly. But our application needs to do a job every quarter.
Every 3.months?
Thanks,
Ben

every 3.months will generate a crontab entry with 0 0 1 1,4,7,10 * COMMAND (Day 1 in Feb, May, Aug, Nov) so if that works for you then you're all set. Otherwise I'd just have the job run every month and let the job decide whether or not to perform based on the current date.

@javan According to the cron documentation:
'* * * 1,3,5,7,9,11 * *              Each minute in January,  March,  May, July, September, and November'
So wouldn't 0 0 1 1,4,7,10 * be Day 1 in Jan, April, July, October?
Just want to make sure I'm not missing something?
I'm trying to do quarters on first first day of Jan, April, July, October...so if so, every 3.months does exactly what i need.


gz_TEST: improve initial sim time test reliability

🦟 Bug fix
Improves reliability of a test added in #1801.
Summary
The test added in #1801 is a little flaky:

 https://build.osrfoundation.org/job/ignition_gazebo-ci-gz-sim7-homebrew-amd64/66/testReport/junit/(root)/CmdLine/SimtimeArgument/

I've added delays, which wasn't enough on its own. For some reason the test subscriber on macOS doesn't get any messages for the first 100 iterations or so. Increasing to 200 iterations was enough in most cases on my machine, so I increased to 500 just to be safe. To reproduce the issue, reduce the iterations to 100 and view the console output.
Checklist

[X] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[X] codecheck passed (See contributing)
[X] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

still flaky; it failed in one of the jammy actions:

https://github.com/gazebosim/gz-sim/actions/runs/4334098080/jobs/7567757268

The ABI failure is because there are new changes in gz-sim7 since this was last updated. Since it's pretty clear this doesn't actually break ABI, I'll go ahead and merge.


CheckBox is not shown as ADG Column

Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
Go to General Ledger from Select in Menu
Go to Voucher Type from Setups in Menu
File : com/dbz/modules/GL/dbzVoucherTypeSetup.mxml
I tried to change mx:CheckBox to s:Checkbox then data property is undefined in s:Checkbox,then i add data property but still it is not showing in ADG.
Then i revert s:Checkbox to mx:CheckBox

In theory, you should not be changing your MXML.  The MXML that worked in Flex should work in Royale.  Which checkbox were you using in Flex?

In Flex i was using mx:Checkbox and same in Royale

OK, I will get MX Checkbox to work


Repo-level IgnorePaths isn't merged for the binary_artifacts check

I found it wasn't possible to add an exemption using IgnorePaths, because it's never merged in the config.

So "IgnorePaths" only exists in repo config, and "Ignore Files" only exists in orgconfig. This was a conscious design deicision. It looks like L 282 was supposed to "merge" the repo config.
I think the bug was a result of the "org-repo-config" feature, the orc variable in mergeConfig().
Looking at it now, I think L282 should be removed, and given the patched lines you have added orc can be added with L284 and repoconfig with L287.

@jeffmendoza Can you post a code snippet of what you are proposing, I'm finding it hard to follow the line number changes you suggested?

Looks great. Thanks for finding this! I'll let you know when it is rolled out.

Thanks a lot @jeffmendoza . We were wondering actually about when a new release might be, given that the last release was last March? Is there a reason we couldn't have monthly releases say?

I'd be happy to do a release now. I've been meaning to go through the PRs and update whats-new.md
For monthly: no reason not to, we just need to see what we can use as a reminder/scheduling system to keep on top of them.

This is deployed to prod now.


Derive some useful traits

It is impossible to add them by user code and it is often handy to be
able to put things into containers or to debug-print them.
Furthermore, there's no real downside to deriving them.
Don't implement some trivial implementations of traits manually, as
deriving them will provide the same functionality (just saves some
code).

Hmm. The travis build seems to be broken due to missing .travis.yml file ‒ it tries to build it as ruby package.


In workflowrun, the status of apply-app step is failed, but app status in vela cli shows ready

apply-app step failed in workflowrun:

but app is running well from vela cli:

component log:

I create the workflowrun in velaux web page, the yaml looks like:
`- name: build-push-image-test
alias: build-push-image-test
type: build-push-image
description: ''
orderIndex: 0
dependsOn: null
properties:
context:
branch: main
git: github.com/FogDong/simple-web-demo
credentials:
image:
key: .dockerconfigjson
name:
dockerfile: ./Dockerfile
image: >-

kanikoExecutor: oamdev/kaniko-executor:v1.9.1
verbosity: info

name: apply-app-test
alias: apply-app-test
type: apply-app
description: ''
orderIndex: 0
dependsOn: null
properties:
data:
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: my-vela-app-ci-wkfl
namespace:
spec:
components:
- name: my-web-ci-wkfl
namespace:
properties:
image: >-

imagePullSecrets:
-
ports:
- expose: true
port: 80
type: webservice`

close


Bump to alpine 3.18

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[X] Application / infrastructure changes

What Is the Current Behavior?
Prefetch job is running on customized alpine image. Customized in a way that it forcefully exits after a given amount of time. That alpine version is 3.16.
What Is the New Behavior?
Alpine version is now 3.18
Does this PR Introduce a Breaking Change?

[ ] Yes
[X] No

Other Information
Alpine Release Page

@khauser I cannot merge this branch (protection rules) in case you're assuming I can.


Change Blue Heart, Blue Circle, Blue Square

Emojipedia: https://emojipedia.org/blue-heart, https://emojipedia.org/large-blue-circle, https://emojipedia.org/large-blue-square.
Change Blue Heart Like Google Design
Blue Heart Color Pallete #1671ba.

No thanks. Twemoji's heart colours were chosen to align with other colours in our colour palette (just like Google's blue was).

No thanks. Twemoji's heart colours were chosen to align with other colours in our colour palette (just like Google's blue was).

Unclosed Pull Request


Error when foyer is imported

Hello,
I am trying to use one of the examples in mosdef_slitpore, I followed the instructions to create the environment by the following steps,

I installed conda first
run conda env create -f environment.yml at the root folder.
run conda activate slitpore37 in the terminal
run pip3 install -e . to install the packages

But after all the steps, I still failed to run the first Python file to build the vapor and liquid box by using python GEMC_NVT_Psat_water_298K.py  . The problem is about importing foyer packages.
I tried to import the packages in the terminal one by one and I found I was not able to import the foyer package. The following are the details.
Python 3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03)
[GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> import mbuild
/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/mdtraj/geometry/order.py:25: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import parse_version
/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
  declare_namespace(pkg)
/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
  declare_namespace(pkg)
>>> from foyer import Forcefield
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/foyer/__init__.py", line 2, in <module>
    from foyer.forcefield import Forcefield
  File "/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/foyer/forcefield.py", line 37, in <module>
    from foyer.atomtyper import find_atomtypes
  File "/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/foyer/atomtyper.py", line 6, in <module>
    from gmso import Topology
  File "/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/gmso/__init__.py", line 2, in <module>
    from .core.angle import Angle
  File "/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/gmso/core/angle.py", line 6, in <module>
    from gmso.abc.abstract_connection import Connection
  File "/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/gmso/abc/abstract_connection.py", line 5, in <module>
    from gmso.abc.abstract_site import Site
  File "/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/gmso/abc/abstract_site.py", line 10, in <module>
    from gmso.abc.gmso_base import GMSOBase
  File "/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/gmso/abc/gmso_base.py", line 8, in <module>
    from pydantic.validators import dict_validator
ImportError: cannot import name 'dict_validator' from 'pydantic.validators' (/storage/programs/miniconda3/envs/slitpore37/lib/python3.9/site-packages/pydantic/validators.py)

Could you please tell me how to solve this problem?
I also tried to use pip3 install foyer  to install the package and the installation seems to be alright
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: foyer in /home/xxxxxx/.local/lib/python3.6/site-packages (0.7.6)

The I tried to run the default Python executable and import the package in the terminal,  but I got the following errors:
>>> from foyer import Forcefield
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/wenqiang/.local/lib/python3.6/site-packages/foyer/__init__.py", line 1, in <module>
    from foyer.forcefield import Forcefield
  File "/home/wenqiang/.local/lib/python3.6/site-packages/foyer/forcefield.py", line 14, in <module>
    import simtk.openmm.app.element as elem
ModuleNotFoundError: No module named 'simtk.openmm'

Could you please help me with this problem? I am trying to run the Psat_SPCE_298K example and I really need this to work.
Any help would be greatly appreciated!

Hi there, so, to answer your first question, I believe the conda install is pulling in wrong version of pydantic, you could try running conda install pydantic=1.9 and see if that would fix the issue (doing mamba install may be quicker if you have that set up locally).
On the second question about install foyer locally using pip, I believe the python version for that environment may be a bit too old (as I saw python3.6) and that may affect the installation of foyer dependency. So I would suggest update the python version for that environment if possible, and also make sure that all foyer dependency is installed (especially make sure the openmm version is >=7.7)

Hello,
Thank you very much for your quick reply! That is really helpful.
However, I still have one problem and one question. Could you please help me more?

For the first question, conda install pydantic=1.9 perfectly solved my problem. Thank you very much! However, when I tried to run the Python code, another error appeared.

  File "/storage/mosdef_slitpore/simulations/Psat_SPCE_298K/gomc/build_liq_vap_boxes/GEMC_NVT_Psat_water_298K.py", line 5, in <module>
    from mosdef_slitpore.utils import charmm_writer as mf_charmm
  File "/storage/mosdef_slitpore/mosdef_slitpore/utils/charmm_writer.py", line 10, in <module>
    from parmed.utils.six.moves import range
ModuleNotFoundError: No module named 'parmed.utils.six'

It looks like the problem is that the current parmed package does not have the module parmed.utils.six,  maybe I should also change the version of parmed, I found the page of this module, but I can not figure out which version it is. Could you please tell me how I should fix this error?

Thanks for the advice! I will try to upgrade python3 version. I have searched before but still failed to install openmm, since it seems that openmm  can only be installed by conda or compile from the source files, could you please tell me how I could install openmm for foyer dependency?

Thanks very much in advance!

Hi, the first issue is that parmed has dropped the utils.six module (in this PR specifically https://github.com/ParmEd/ParmEd/pull/1138), so you could try revert it back to an earlier version, but I don't know if other things may break (we might have a few breaking changes happened between then and now). For the second question, the easiest path forward is to update the python version and install openmm through conda. If you're worried about keeping everything in that original env, I would suggest cloning it to a new env, and update all the package there. The mosdef_slitpore is probably bit old so it definitely needs some update, I can try update in the coming days, but I can't promise a definitely timeline due to other commitments I currently have.

Hi, the first issue is that parmed has dropped the utils.six module (in this PR specifically ParmEd/ParmEd#1138), so you could try revert it back to an earlier version, but I don't know if other things may break (we might have a few breaking changes happened between then and now). For the second question, the easiest path forward is to update the python version and install openmm through conda. If you're worried about keeping everything in that original env, I would suggest cloning it to a new env, and update all the package there. The mosdef_slitpore is probably bit old so it definitely needs some update, I can try update in the coming days, but I can't promise a definitely timeline due to other commitments I currently have.

Hello,
Thank you very much for the quick reply!
Sorry to ask again but I am not experienced in conda or python environment. I think the easiest way maybe is to use parmed with lower version and to try whether it works. I found available packages on this page, and I used conda install -c omnia parmed=3.2.0 to install the lower version. And I got the following message:
Collecting package metadata (current_repodata.json): - done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - parmed=3.2.0 -> python[version='2.7.*|3.6.*|3.7.*']

Your python: python=3.9

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

The following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.27=0
  - feature:|@/linux-64::__glibc==2.27=0

Your installed version is: 2.27

I am not sure whether it is successful. And I tried to check the version with conda list,  and I found the version seems not to be changed with parmed                    4.1.0            py39h227be39_0    conda-forge. Could you please tell me whether I need to use a lower version of python executable too?
To install openmm and the environment thing seems to be complicated for me since I do not have much experience. I will try to use the slitpore37 environment first and hope it could work.
Thanks very much for the possible update of the mosdef_slitpore  program! I just need the example Psat_SPCE_298K, and I think the only step that I need the python environment is for the first step Psat_SPCE_298K/gomc/build_liq_vap_boxes to build the initial configurations. The following steps are all about the files to run GOMC. I would appreciate it very much if you have any suggestions.
Thanks very much in advance!

Hi, if you just need to build a configuration, the easiest way would be to keep thing as is and go into the file and comment out the GOMC portion (and the related import line), and if importing foyer Forcefield is giving openmm related issue, you can remove that for now.
import mbuild as mb
# from foyer import Forcefield
import sys
sys.path.append('../../../../')
# from mosdef_slitpore.utils import charmm_writer as mf_charmm

Water_res_name = 'H2O'
FF_file_water = '../../../../mosdef_slitpore/ffxml/pore-spce.xml'

water = mb.load('O', smiles=True)
water.name = Water_res_name
water.energy_minimize(forcefield = FF_file_water , steps=10**9)

FF_Dict = {water.name: FF_file_water }

residues_List = [water.name]

Fix_bonds_angles_residues = [ water.name ]

print('Running: filling liquid box')
water_box_liq = mb.fill_box(compound=[water],
                            density= 950 ,
                            compound_ratio = [1] ,
                            box=[3.0, 3.0, 3.0] )
print('Completed: filling liquid box')

print('Running: filling vapor box')
water_box_vap = mb.fill_box(compound=[water,],
                            n_compounds = [50],
                            box=[60, 60, 60])
print('Completed: filling vapor box')

# print('Running: GOMC FF file, and the psf and pdb files')
# mf_charmm.charmm_psf_psb_FF(water_box_liq,
#                             'Box_0_liq_water_30A_L_cubed_box',
#                             structure_1 = water_box_vap ,
#                             filename_1 = 'Box_1_vap_water_600A_L_cubed_box',
#                             FF_filename ="GOMC_water_FF" ,
#                              forcefield_files = FF_Dict,
#                              residues= residues_List ,
#                              Bead_to_atom_name_dict = None,
#                              fix_residue = None,
#                              fix_res_bonds_angles = Fix_bonds_angles_residues,
#                              reorder_res_in_pdb_psf = False
#                             )
print('Completed: GOMC FF file, and the psf and pdb files')

Can you try paste that in place of the GEMC_NVT_Psat_water_298K.py file, and run it with whatever parmed version you have?

My email<EMAIL_ADDRESS>if you want to send me more detail about what you're trying to do, I may be able to do a zoom/screen share session to do some troubleshooting/get your environment up to date (depends on how urgent you need to get this work).

Hello,
Thank you indeed for all the kind and detailed replies!
I tried to paste the code you provided and tried to run it. Unfortunately maybe because the last part in the mf_charmm.charmm_psf_psb_FF is commented, no output files are found.
Thank you very much for your email address! I will write email to you to ask for your help!

oh yes, sorry about that part, you can add a line
water_box_vap.save("water_box_vap.pdb", overwrite=True)

to anywhere after the box is created. It should write out a pdb file (other formats like mol2, xyz is also supported I believe).


If device info parameters are changed device info values are changed incorrectly.

Description:
When Device info parameters are changed, it changes device info values into null values. Therefore, do not change device info values if device info parameters are changed. Further application list response sends "SAME_APPLICATION_LIST" flag if app list is not changed. In the backend, it is not handled.
Affected Product Version:
IoTS 3.3.1
OS, DB, other environment details and versions:
H2, MySQL

This is fixed in the latest IoT release.


Update: XK72.Charles version <IP_ADDRESS>

- [X] Have you signed the Contributor License Agreement?

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Well, how are you finding packages that require InstallerType to be changed from msi to wix?

I'm finding all packages that have InstallerType MSI and then running an autoupgrade on them using YamlCreate


Allow picking a video or an image

We were using version 1.0.7, and with the following configuration, it would allow us to pick a video or an image from a single picker:
                android: {
                    enableImagePicker: !types || types.contains('image'),
                    enableVideoPicker: !types || types.contains('video'),
                    enableCameraSupport: true,
                    mxcount: 1,
                }

However, with version 2.0.16, i can open either the image picker or the video picker. The alternative I guess would be to open the file picker, but I don't really want to manage all possible media file extensions.
Any way this can be supported again?

No sorry, because native libraries had been changed in new version.


Automatic undervolting configuration?

It would be really nice for this tool to be able to load the system and tune the voltages appropriately like https://bbs.archlinux.org/viewtopic.php?pid=1141702#p1141702 does for older Intel CPUs.
Meanwhile, thanks a lot for the tool and the ebuild. It works great on my 51nb X210!

That looks interesting. When you say 'older Intel CPUs', does that mean it doesn't work for modern ones? Do you happen to know how it tests stability without locking it up as it would if you undervolt too much?

This is a delicate topic. From my experience the system will freeze while identifying the lowest undervolt. Moreover while my system was rock solid under full load (prime95) for hours, when I stopped the stress test the system froze. Undervolt should be tested under full load with minimum and maximum frequencies, during transients and also while idle.

Yes.
The aforementioned script never locked up anything for me, as it brings up the voltage as soon as the test load fails to verify its results.

It tests the CPU correctness for every frequency step (and configures the voltage offset for every step).

as erpalma mentioned, it is trickier to achieve this with modern CPUs. My guess is that we now control just the global voltage offset, not the voltages for each frequency.
A particular offset might be stable for 3.6GHz, 3.5GHz, but not for 3.3 GHz, etc. And the temperature also contributes to it. So an offset would have to be tested for all these frequencies (my processor report 33 possible frequencies with cat /sys/devices/system/cpu/intel_pstate/num_pstates) at high temperatures (e.g. if your processor goes from 3.6GHz to 400MHz while at 95C).
The link to the script is broken, but if I remember right, it added +5 at the end of the test to "ensure" stability, is that right?

On Sat, Feb 16, 2019 at 04:23:48AM -0800, nariox wrote:

The link to the script is broken, but if I remember right, it added +5 at the end of the test to "ensure" stability, is that right?

AFAIR it added 2, not sure what were the units though.
--
()  ascii ribbon campaign - against html mail
/\  http://arc.pasp.de/   - against proprietary attachments

The code for the script can be found on the net, for example here. https://searchcode.com/file/48898279/mprime-phc-setup


Code comment mistake

"VisualState to be triggered when the width is >=720 effective pixels"
Shouldn't this be 640 pixels?

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

ID: 06eec92b-e1ef-945f-bc1a-0fa3e23c77de
Version Independent ID: 50fbbe23-6e9d-d4a7-7242-b9e9c04fc0d2
Content: Responsive layouts with XAML - Windows UWP applications
Content Source: windows-apps-src/design/layout/layouts-with-xaml.md
Product: uwp
Technology: design
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Yes, I would agree. @liam-tuite you can submit fixes for these doc issues if you would like! Clicking the "edit" button on the doc page will take you to github where you can create a PR to fix these issues you've found. If you want to contribute that way we would be eternally grateful. :)


upgrade openapi to typespec library 0.41.0

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

I think specification/cognitiveservices/OpenAI.Inference/package.json also needs to be updated. It still references the old Cadl packages.


Add worling with multisig to the cookbook

What problem does your feature solve?
Currently, there's no entries in the cookbook on how to work with multisig
What would you like to see?

Creating multisig account
Signing transactions with multisig

What alternatives are there?
N/A

Hi @Ifropc , can I work on this please? I'm ready to work.


Allow aggregation of pipes into reusable components

Suggested by TH in point 3) of this comment.
For example:
auto pipe = (filter >>= transform)
A >>= pipe >>= B;

This is now implemented.


Update "php artisan serve" command to open in browser

I usually have small .bat file I copy from project to which does a PHP -S and opens the browser, but since discovering "php artisan serve" I missed automatically opening the site.
This PR adds that functionality for Windows and Mac. Unfortunately I don't know the command for linux, but that can be easily added to the array.
A bit less faffing when just wanting to run tutorials or test stuff quickly :)

Ah. Sorry that failed. Unfortunately I don't know enough amending PRs to know what to do next.

:-1: Laravel is not only for browser apps.

:-1: from me too.

Also, please fix the CS as highlighted by StyleCI.

Any reason for the close?