error installing gulp-sass in windows

npm -v : 3.8.6
node -v : v6
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

<EMAIL_ADDRESS>install G:\projects-2016\janagap\node_modules\node-sass
node scripts/install.js

Cannot download "https://github.com/sass/node-sass/releases/download/v3.6.0/win32-x64-48_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via
  npm config set proxy http://example.com:8080

<EMAIL_ADDRESS>postinstall G:\projects-2016\janagap\node_modules\node-sass
node scripts/build.js

Building: C:\Program Files\nodejs\node.exe G:\projects-2016\janagap\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\Program Files\nodejs\node.exe',
gyp verb cli   'G:\projects-2016\janagap\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed     at F (G:\projects-2016\janagap\node_modules\which\which.js:63:19)
gyp verb which failed     at E (G:\projects-2016\janagap\node_modules\which\which.js:72:29)
gyp verb which failed     at G:\projects-2016\janagap\node_modules\which\which.js:81:16
gyp verb which failed     at G:\projects-2016\janagap\node_modules\isexe\index.js:44:5
gyp verb which failed     at G:\projects-2016\janagap\node_modules\isexe\windows.js:29:5
gyp verb which failed     at FSReqWrap.oncomplete (fs.js:117:15)
gyp verb which failed  python2 Error: not found: python2
gyp verb which failed     at F (G:\projects-2016\janagap\node_modules\which\which.js:63:19)
gyp verb which failed     at E (G:\projects-2016\janagap\node_modules\which\which.js:72:29)
gyp verb which failed     at G:\projects-2016\janagap\node_modules\which\which.js:81:16
gyp verb which failed     at G:\projects-2016\janagap\node_modules\isexe\index.js:44:5
gyp verb which failed     at G:\projects-2016\janagap\node_modules\isexe\windows.js:29:5
gyp verb which failed     at FSReqWrap.oncomplete (fs.js:117:15)
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which failed Error: not found: python
gyp verb which failed     at F (G:\projects-2016\janagap\node_modules\which\which.js:63:19)
gyp verb which failed     at E (G:\projects-2016\janagap\node_modules\which\which.js:72:29)
gyp verb which failed     at G:\projects-2016\janagap\node_modules\which\which.js:81:16
gyp verb which failed     at G:\projects-2016\janagap\node_modules\isexe\index.js:44:5
gyp verb which failed     at G:\projects-2016\janagap\node_modules\isexe\windows.js:29:5
gyp verb which failed     at FSReqWrap.oncomplete (fs.js:117:15)
gyp verb which failed  python Error: not found: python
gyp verb which failed     at F (G:\projects-2016\janagap\node_modules\which\which.js:63:19)
gyp verb which failed     at E (G:\projects-2016\janagap\node_modules\which\which.js:72:29)
gyp verb which failed     at G:\projects-2016\janagap\node_modules\which\which.js:81:16
gyp verb which failed     at G:\projects-2016\janagap\node_modules\isexe\index.js:44:5
gyp verb which failed     at G:\projects-2016\janagap\node_modules\isexe\windows.js:29:5
gyp verb which failed     at FSReqWrap.oncomplete (fs.js:117:15)
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (G:\projects-2016\janagap\node_modules\node-gyp\lib\configure.js:401:14)
gyp ERR! stack     at G:\projects-2016\janagap\node_modules\node-gyp\lib\configure.js:356:11
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:117:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "G:\projects-2016\janagap\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd G:\projects-2016\janagap\node_modules\node-sass
gyp ERR! node -v v6.0.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
Build failed
<EMAIL_ADDRESS>G:\projects-2016\janagap
`-- (empty)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i" "gulp-sass" "-D"
npm ERR! node v6.0.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     G:\projects-2016\janagap\npm-debug.log
npm ERR! code 1

Node 6 is not supported.. Please download grade.
On 30 Apr 2016 10:51 AM, "Robert Janagap"<EMAIL_ADDRESS>wrote:

npm -v : 3.8.6
node -v : v6
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated
into npm and is now out of date with respect to npm
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
<EMAIL_ADDRESS>install G:\projects-2016\janagap\node_modules\node-sass
node scripts/install.js
Cannot download "
https://github.com/sass/node-sass/releases/download/v3.6.0/win32-x64-48_binding.node
":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
<EMAIL_ADDRESS>postinstall
G:\projects-2016\janagap\node_modules\node-sass
node scripts/build.js
Building: C:\Program Files\nodejs\node.exe
G:\projects-2016\janagap\node_modules\node-gyp\bin\node-gyp.js rebuild
--verbose --libsass_ext= --libsass_cflags= --libsass_ldflags=
--libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\Program Files\nodejs\node.exe',
gyp verb cli
'G:\projects-2016\janagap\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed at F
(G:\projects-2016\janagap\node_modules\which\which.js:63:19)
gyp verb which failed at E
(G:\projects-2016\janagap\node_modules\which\which.js:72:29)
gyp verb which failed at
G:\projects-2016\janagap\node_modules\which\which.js:81:16
gyp verb which failed at
G:\projects-2016\janagap\node_modules\isexe\index.js:44:5
gyp verb which failed at
G:\projects-2016\janagap\node_modules\isexe\windows.js:29:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:117:15)
gyp verb which failed python2 Error: not found: python2
gyp verb which failed at F
(G:\projects-2016\janagap\node_modules\which\which.js:63:19)
gyp verb which failed at E
(G:\projects-2016\janagap\node_modules\which\which.js:72:29)
gyp verb which failed at
G:\projects-2016\janagap\node_modules\which\which.js:81:16
gyp verb which failed at
G:\projects-2016\janagap\node_modules\isexe\index.js:44:5
gyp verb which failed at
G:\projects-2016\janagap\node_modules\isexe\windows.js:29:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:117:15)
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which failed Error: not found: python
gyp verb which failed at F
(G:\projects-2016\janagap\node_modules\which\which.js:63:19)
gyp verb which failed at E
(G:\projects-2016\janagap\node_modules\which\which.js:72:29)
gyp verb which failed at
G:\projects-2016\janagap\node_modules\which\which.js:81:16
gyp verb which failed at
G:\projects-2016\janagap\node_modules\isexe\index.js:44:5
gyp verb which failed at
G:\projects-2016\janagap\node_modules\isexe\windows.js:29:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:117:15)
gyp verb which failed python Error: not found: python
gyp verb which failed at F
(G:\projects-2016\janagap\node_modules\which\which.js:63:19)
gyp verb which failed at E
(G:\projects-2016\janagap\node_modules\which\which.js:72:29)
gyp verb which failed at
G:\projects-2016\janagap\node_modules\which\which.js:81:16
gyp verb which failed at
G:\projects-2016\janagap\node_modules\isexe\index.js:44:5
gyp verb which failed at
G:\projects-2016\janagap\node_modules\isexe\windows.js:29:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:117:15)
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set
the PYTHON env variable.
gyp ERR! stack at failNoPython
(G:\projects-2016\janagap\node_modules\node-gyp\lib\configure.js:401:14)
gyp ERR! stack at
G:\projects-2016\janagap\node_modules\node-gyp\lib\configure.js:356:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:117:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe"
"G:\projects-2016\janagap\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
"--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags="
"--libsass_library="
gyp ERR! cwd G:\projects-2016\janagap\node_modules\node-sass
gyp ERR! node -v v6.0.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
Build failed
<EMAIL_ADDRESS>G:\projects-2016\janagap
`-- (empty)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program
Files\nodejs\node_modules\npm\bin\npm-cli.js" "i" "gulp-sass" "-D"
npm ERR! node v6.0.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node
scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm
installed.
npm ERR! If you do, this is most likely a problem with the node-sass
package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! G:\projects-2016\janagap\npm-debug.log
npm ERR! code 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/1509

<EMAIL_ADDRESS>has been released.


chore: Add Helm chart to PR template

Signed-off-by: Tom Kerkhove<EMAIL_ADDRESS>
Add Helm chart to PR template

@tomkerkhove we should have a similar note in charts PR template, to propagate the changes back to the core.

@tomkerkhove we should have a similar note in charts PR template, to propagate the changes back to the core.

Good point, I'll do that ASAP

Good point, I'll do that ASAP

@tomkerkhove we should have a similar note in charts PR template, to propagate the changes back to the core.

Done in https://github.com/kedacore/charts/pull/122

@tomkerkhove we should have a similar note in charts PR template, to propagate the changes back to the core.

Done in https://github.com/kedacore/charts/pull/122


Track dev-0.4 branch

The goal of the 0.4 version is to correctly implement the HTTP protocol, version 1.1 and implement automatic HTTP header handling

Features implemented so far:

In case a client supports only a HTTP version other than HTTP/1.1, the server will refuse the request with a 426 Upgrade Required response code if the HTTP version is lower than 1.1 and will ignore any Upgrade requests for any other greater version
Implement multithreading: When a new TCP connection is opened, move it into a new thread. This also fixes a bug that made it impossible to read data from more than 1 connection simultaneously, effectively lowering the max number of simultaneous open connections to 1
Add a variant for every official non-deprecated HTTP status, alongside an Other for unofficial status codes (be careful with this, since some HTTP clients might return an error for unofficial status codes)

That was a grave error right there. A force-push was mandatory

TODO: Give the user the ability to use middleware similar to those in Express.js

More changes:

Responses are now chunked by default
Add ability to read the body of a Request (if any)
Send Date header by default (impossible without time dependency)

Just some minor typos


Helper functions for DT

Helper functions and utilities/QoL changes should include:

A way to set the number of x nodes directly in Box, instead of being forced to set dx, which doesn't make too much sense for DT.

Extend the function compute_params to compute all the relevant parameters as currently done in the constructor of calc. This will add modularity and make life easier for other functions.

Implemented in 6dcbaa04ca6b2c6d0660f450e49905e3e6c9f0ef

Is currently unnecessary, I would like to keep computte_params as part of the public API for usage with breathers.


itpfile grompp issue

Problem confirmed

I can see the issue. The itpfile was removed as an input port on the grompp calculation in error. I will reinstate this.
However there are no CLI params to grompp that have the name of the file, instead they embed it into the topology file and if you switch on restraints then it is referenced from here. This leaves the dilemma of how to get the name. We could for simplicity just add an itpfile param to the grompp CLI exec and then document it, or we would have to go parsing around the topol and mdp to work out if we need to include the file.


MQTT startet nicht

Guten Abend,
ich habe jetzt wirklich alle Anleitungen von hier durch aber leider ohne erfolg.
		# MQTT server hostname
mqttPort=8883						# MQTT server port (typically 1883 for unencrypted, 8883 for encrypted)
mqttUsername="NAME"						# username for user/pass based authentication
mqttPassword="meingeheimesPW"						# password for user/pass based authentication
mqttCA="/home/pi/MQTT/mqtt-ca.crt"			# path to server certificate for certificate-based authentication
mqttCert="/home/pi/MQTT/mqtt-client-phoniebox.crt"	# path to client certificate for certificate-based authentication
mqttKey="/home/pi/MQTT/mqtt-client-phoniebox.key"	# path to client keyfile for certificate-based authentication
mqttConnectionTimeout=60				# in seconds; timeout for MQTT connection
refreshIntervalPlaying=5				# in seconds; how often should the status be sent to MQTT (while playing)
refreshIntervalIdle=30					# in seconds; how often should the status be sent to MQTT (when NOT playing)
vielen Dank für die Hilfe

Please show the output of  tail -n 500 /var/log/syslog

I can confirm the problem with MQTT.
I installed a fresh system over the weekend and MQTT does not start on boot.
If I start the script manually everything goes fine.
I did however get an error message the first time I did a manual start. Apparently "paho-mqtt" was missing on my system. This was resolved by 'pip install paho-mqtt'. Is this something that can be included in the install script?
Is there any information I can provide regarding the problem with the script not starting on startup?

I just noticed that the MQTT service is not loaded by default.
Solution:

'pip install paho-mqtt' to install the missing MQTT Python package
mqtt

Enable MQTT service:

sudo cp /home/pi/RPi-Jukebox-RFID/misc/sampleconfigs/phoniebox-mqtt-client.service.stretch-default.sample /etc/systemd/system/phoniebox-mqtt-client.service
sudo chown root:root /etc/systemd/system/phoniebox-mqtt-client.service
sudo chmod 644 /etc/systemd/system/phoniebox-mqtt-client.service
sudo systemctl enable phoniebox-mqtt-client

From my point of view the explanation should be added to the README.md in the components mqtt dir and a requirements.txt added.
What do you think @MiczFlor, @ZyanKLee?


fix: fixed ci x2

:tada: This PR is included in version 1.0.1-beta.3 :tada:
The release is available on:

npm package (@develop dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Client Allocation Request for: johnchenyan

Client Allocation Questions
Core Information

Name: johnchenyan
Website / Social Media: https://nftbomb.org/
Region: Asia excl. Greater China
DataCap Requested: 30TiB
Addresses to be Notarized: f1rhpecsedmbwdmeqnzxwtc3j5euqx3gqbyf6umuy
Notary Requested: MRJAVAZHAO

@johnchenyan Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

@johnchenyan  Please provide the following materials.
if you are an organization, Please describe your organization, such as established time, business scale, social media accounts&follwers, the number of employees, users volumn and business license (could be sent by email,<PHONE_NUMBER>@qq.com); if you are an individual, please provide name, date of birth, working company and scale, employment certificate, social media accounts&follwers, and ID card (can be sent by email,<PHONE_NUMBER>@qq.com);
When did you start learning about Filecoin? Please give a description about the projects you have participated in ? What do you want to get from Filecoin? Any suggestions or expectations for the Filecoin Network?
Is there any law risk? What percentage of questions are yours?
How about your data volume, source and later planning? Please describe the type, format, source, storage capacity, publicity (and if data could be public, how can others retrieve it?) of the data to be stored in Filecoin.
In which area do you plan to store you data? How many miners do you want to find ? Please list the miner ID. How about the proportion of the storage for each miner? What are the requirements about miners? At last, please state your redundancy plan.
Do you agree to disclose transaction information? If you get DataCap, please make the transaction information public on the Issue in time.

hi，
We will send you the private information about the organization by email later and The following is our material：
Our organization has been deep in the NFT market for two years now, and it has quite a large scale. This is our Service website (https://nftbomb.org/) and Twitter (https://twitter.com/NFTBomb), with 69,000 followers
We started researching the FileCoin storage market last year and planned to store NFT files on the FileCoin network, so we sealed some CC sectors earlier this year. In order to enjoy the decentralized storage experience of the FileCoin network,
we wanted to apply for some DataCap, and contribute to the ecological development of FileCoin.
No legal risk.
We plan to spend these datacaps in one to three months, Mainly in the Asia Pacific region to store some pictures and audio that can mint NFT,  Of course, we will also try to store large-capacity videos to develop other video platform apps;
For retrieval, we're going to develop some retrieval platforms, and we're going to put the CID of the data on that platform
The public can retrieve files from this CID
We plan to find 2 or 3 miners (f01736786, etc.), each miner open storage and retrieval function, how much capacity each miner stores depends on the actual situation.
Contact us：twitter（https://twitter.com/NFTBomb） or<EMAIL_ADDRESS>Thank You ！

@MRJAVAZHAO
The organization information has been emailed to<EMAIL_ADDRESS>Please review it， thanks！

@MRJAVAZHAO
We are very happy to receive your email reply , We want to make some storage applications based on Filecoin.
Can you assign datacap to us?
Thanks from the bottom of my heart ！

Three more informations you should tell me.

The number of employees
The number of users
Do you agree to disclose transaction information? If you get DataCap, please make the transaction information public on the Issue in time.

Hi MRJAVAZHAO.

The number of employees is 50+
The number of users 20K+
Agree to disclose transaction information on the Issue in time！

Thanks！

Can you explain about that?

Sorry, the account was stolen and is being repaired

In this case, I can only assume that you do not have this social media account.
Twitter (https://twitter.com/NFTBomb), with 69,000 followers

I will allocate datacap to you after https://plus.fil.org/ being repaired, which has something wrong.

Thanks !!!
It's unfortunate that the Twitter account was stolen at this time,  crying !!!

Our telegram：https://t.me/NFTBombEn
You can check.

I can not approve this request. @dkkapur @galen-mcandrew @Kevin-FF-USA


adjust output to match that of cutechess

In order to ease transition for people who work with cutechess the rough output should look similar to that of cutechess.
Fishtest parses cutechess output like this: https://github.com/glinscott/fishtest/blob/be4894b010d7bdea2037cd54391dd70512bf44ac/worker/games.py#L813-L958
...how does OB do it?

Given that Openbench and fishtest can both now parse the output from fastchess, I'll view this as completed unless something else pops up. (Cutechess output needs to be enabled)


Node.js version

Describe the bug
Does this package have any specific requirements or compatibility regarding the Node.js version? I am using Node.js v20.12.2. When I run
npx @opendocsg/pdf2md --inputFolderPath=/Users/u8008006/pdf2md_input --outputFolderPath=/Users/u8008006/pdf2md_output
I get the following error:
TypeError: Promise.withResolvers is not a function
    at file:///Users/u8008006/node_modules/pdfjs-dist/build/pdf.mjs:5300:35
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
TypeError: Promise.withResolvers is not a function
    at file:///Users/u8008006/node_modules/pdfjs-dist/build/pdf.mjs:5300:35
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

TypeError: Promise.withResolvers is not a function
    at file:///Users/u8008006/node_modules/pdfjs-dist/build/pdf.mjs:5300:35
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)

Node.js v20.12.2

Desktop (please complete the following information):

OS: Montenary 12.6
Browser: Chrome
Version 125.0.6422.142 (Official Build) (arm64)

Additional context
The above command used to work for me. I had to uninstall and reinstall Java recently...not sure if this would be relevant.

Promise.withResolvers is available on Node 22, so you may wish to use that version instead. If you wish, you may file a PR to pdf2md that adds an engines param, to help better determine whether pdf2md can be used in a given environment.

Thank you @LoneRifle - using Node 22 worked! Thank you for your help.


psuedopause nightly release for now

pseudo-Pausing nightly release in the meantime to respond to https://github.com/guacsec/guac/issues/1298
CC: @sudo-bmitch
PR Checklist

[ ] All commits have a Developer Certificate of Origin (DCO) -- they are generated using -s flag to git commit.
[ ] All new changes are covered by tests
[ ] If GraphQL schema is changed, make generate has been run
[ ] If collectsub protobuf has been changed, make proto has been run
[ ] All CI checks are passing (tests and formatting)
[ ] All dependent PRs have already been merged

Might be easier to comment out the cron schedule completely

yea - makes sense, made the change


Add more explanation to the local deployment

This change is

Current dependencies on/for this PR:

main

PR #1456   👈

This stack of pull requests is managed by Graphite.


Missing note on VB.NET "AndAlso"

[Enter feedback here]
The documentation on "And" (https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/operators/and-operator) includes an important note about short-circuiting. The note helpfully points out that "And" does NOT short-circuit (though why it doesn't do this automatically is a puzzle), but "AndAlso" DOES short-circuit if the result can be determined from the first operand.
So my suggestion would be to add the same explanatory note to "AndAlso":
Note
In a Boolean comparison, the And operator always evaluates both expressions, which could include making procedure calls. The AndAlso Operator performs short-circuiting, which means that if expression1 is False, then expression2 is not evaluated.

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

ID: 9ac54ef5-eb91-1e47-ff54-2fe2012537d1
Version Independent ID: e6fd7f0f-819a-2d27-8331-be1e8ecc4d23
Content: AndAlso Operator - Visual Basic
Content Source: docs/visual-basic/language-reference/operators/andalso-operator.md
Product: dotnet-visualbasic
GitHub Login: @KathleenDollard
Microsoft Alias: kdollard

Thanks for pointing this out @abdekker
I agree with your proposal. I've added this to our backlog, and added the "up-for-grabs" label for any community contributor that would like to submit a PR for it.


Support for packages

.pkg files can be inspected with the pkgutil command.

Would be awesome to quickly inspect pkg files. 👍


Fixes #184. Added nvmeof option to Access Protocol list in create profile

Fixed #184.
Added the nvmeof Access protocol option to the create profile screen.

After creating the profile with nvmeof from the dashboard, it is listed in the profile list.

@wisererik @CongMinYin please review and merge.

Hi,
It’s OK. If you have nvme device in your machine, you can also try to create a volume by using this nvmeof profile.
If not, merge it please. I will pull and try later. Thank you.
Best regards.
Congmin Yin
From: Anvith KS<EMAIL_ADDRESS>Sent: Wednesday, September 11, 2019 5:28 PM
To: opensds/opensds-dashboard<EMAIL_ADDRESS>Cc: Yin, Congmin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [opensds/opensds-dashboard] Fixes #184. Added nvmeof option to Access Protocol list in create profile (#185)
Fixed #184https://github.com/opensds/opensds-dashboard/issues/184.
Added the nvmeof Access protocol option to the create profile screen.
[nvmeof-support]https://user-images.githubusercontent.com/19162717/64685177-2c08a580-d4a4-11e9-8590-29b012cee9d0.png
After creating the profile with nvmeof from the dashboard, it is listed in the profile list.
[nvmeof-profile-list]https://user-images.githubusercontent.com/19162717/64685250-493d7400-d4a4-11e9-80a2-c57088f9bf2c.png
@wisererikhttps://github.com/wisererik @CongMinYinhttps://github.com/CongMinYin please review and merge.

You can view, comment on, or merge this pull request online at:
https://github.com/opensds/opensds-dashboard/pull/185
Commit Summary

Fixes #184. Added nvmeof option to Access Protocol list in create profile.

File Changes

M src/app/business/profile/createProfile/createProfile.component.tshttps://github.com/opensds/opensds-dashboard/pull/185/files#diff-0 (4)

Patch Links:

https://github.com/opensds/opensds-dashboard/pull/185.patch
https://github.com/opensds/opensds-dashboard/pull/185.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/opensds/opensds-dashboard/pull/185?email_source=notifications&email_token=ADFE2YOBZODR5C3KDU3JEYDQJC2ZDA5CNFSM4IVRO752YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKVFGLQ, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADFE2YPJ7NP4EVMALB4LZQLQJC2ZDANCNFSM4IVRO75Q.

Hi, It’s OK. If you have nvme device in your machine, you can also try to create a volume by using this nvmeof profile. If not, merge it please. I will pull and try later. Thank you. Best regards. Congmin Yin

Sorry @CongMinYin but I do not have a nvm device. Please test this and let me know if there are any issues.


WIP: Add liveness/readiness probes for nsmd and vppagent-dataplane

Description

Add liveness/readiness probes for nsmd and vppagent-dataplane. The changes consist of:

Created /liveness and /readiness HTTP handlers for both components
Each component sets specific flags stating if its dependencies initialized okay or not
Updated the kube-testing description files to take into account these changes
Updated the Kubernetes configuration files to enable liveness/readiness probing

Motivation and Context

Related to #711
How Has This Been Tested?

[X] Covered by existing integration testing
[ ] Added integration testing to cover
[ ] Tested locally
[ ] Have not tested

Types of changes

[ ] 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)

Checklist:

[X] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@rdimitrov I've added a couple of checks in the PR description. It is somehow covered by the existing tests, it;s a new feature and we'll need to add something to the docs to reflect that this check is already something.

@rdimitrov Overall approach is nicer than what I had suggested, good job!
I am curious about the choice of initialDelay values :)

@edwarnicke Thank you, Ed! I really appreciate it! 👍
And related to the values, I set them more or less as a starting point. If it would've failed, I was going to increase it a bit.
I can do some basic measurement to get a rough idea of what does it take for each component to start. And based on that, experiment a bit to see if it makes sense to tune them better.

Updates:

Created a dedicated file in the docs/spec/ folder for documenting that feature
Added measuring of the boot time for both components (printed in logging=debug). Useful for debugging purposes, for example, if a liveness probe fails due to slow starting time.
Adjusted the timings, so the system is more stable. For example, the default value of timeoutSeconds is 1s was not enough as it was causing the liveness probe to trigger a fail and restart the container.


⚠ Jenkins Plugins Artifactory has degraded performance

In cefe6a0, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1326 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 56c2ded after 54 minutes.


ARROW-15591: [C++] Add support for aggregation to the Substrait consumer

13130

 Quality gate: Passed
10 Issues

 2 Vulnerabilities
 8 Code issues

Details


Issue with special characters in title bar

Just put Portuguese up but it looks like there's an issue on the homepage with the special characters in the page title:

@tangentfairy where are the languages files for non EN translations? I can only see en_US messages.po in all the workspace.

This is in CrowdIn and is automatically synced to production. We only store
the source language in the repository!
On Sunday, December 13, 2015, Jos<EMAIL_ADDRESS>wrote:

@tangentfairy https://github.com/tangentfairy where are the languages
files for non EN translations? I can only see en_US messages.po in all the
workspace.
—
Reply to this email directly or view it on GitHub
https://github.com/CoderDojo/community-platform/issues/815#issuecomment-164245699
.

--
Ursula Clarke Everett
Technical Lead @ CoderDojo Foundation
S: tangentfairy | T: @CoderDojo | @tangentfairy
--
Volunteer at your local Dojo and inspire the next generation of digital
creators!

Pledge to start a Dojo https://coderdojo.com/pledge-a-dojo/
How to volunteer at your local CoderDojo
https://coderdojo.com/get-involved/volunteer/
Read the CoderDojo Foundation Strategy
https://coderdojo.com/news/2015/08/07/the-coderdojo-foundation-strategy-20152016/

--
Hello World Foundation operating as the CoderDojo Foundation is a company
limited by guarantee not having a share capital with charitable status, CHY
20812. Registered in Dublin, Ireland, No 524255. Registered Office:
Dogpatch Labs, Unit 1, CHQ Building, Custom House Quay, Dublin 1, Ireland.

To explain further on this, if you go to https://crowdin.com/project/zen-community-platform/pt-PT and log in you'll be able to download the messages.po file, and then put it in web/locale/pt_PT/messages.po
Then you just make sure you don't check it in. Might be worth us adding any folder but the source languages to the .gitignore file

I'm looking at this for the hackathon

@CianMclennan I think @josmas is looking at it!

Yeah, we've talked about it; it's grand for the weekend, we can reevaluate tomorrow

While I'm not sure what the fix was – it may have been a bug in a dependency, or maybe someone specifically fixed it and never closed the issue – but this is no longer an problem, so I'm going to close this issue.

@DanielBrierton It may not be the case anymore, but I seem to recall that the problem occurred only when you are not logged in as a user. Some dependency that was not fully loaded or similar. It was tricky to reproduce because while on dev mode you are most likely logged in (and with no additional languages loaded). But might not be the case anymore.

@josmas I've tested the example above both logged in and logged out, and it displays correctly. @Wardormeur thinks it might have been an update to ui-router as we recently updated all our dependencies to the latest.

All the deps are now loaded too (dependancies.json) and the behavior for both dashboard and init-master were merged. Multiple possible reasons !


Update release announcement for v1.32

Udating with SIG feedback
Fixing last nits before the release day

/hold
I'm still adding content (will squash and rebase)

We have a specific way to mark work in progress
/retitle [WIP] Update release announcement for v1.32

We have a specific way to mark work in progress /retitle [WIP] Update release announcement for v1.32

I didn't want to add the [WIP] before the title as I planned to finish the updates in a single work session.
Also, I typically prefer to use the native draft PR function of GitHub
I'm done with changes now!
/retitle Update release announcement for v1.32
/unhold


Cannot reproduce with default parameters

result <mobilenet_cifar_rnn.pth> seems to be as same as the pre_trained weights...How can I get an obfuscated model?

For your problem, the reason could be that we use different pre-trained models with different weight distributions. However, you can still apply our method to your model by adjusting the parameters B_list and args.eps in controller_rnn.py (corresponding to $c$ and $\epsilon$ in figure 2 in the paper), which can be determined after you profile the weights distributions of your model. For more details about setting these parameters, you can check mask generator in section 3.1.


Migrate to common-gh-actions

GEMD Python PR
Description
This PR moves to using the common-gh-actions repo instead of locally defined actions.
PR Type:

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Maintenance (non-breaking change to assist developers)

Adherence to team decisions

[ ] I have added tests for 100% coverage
[ ] I have written Numpy-style docstrings for every method and class.
[x] I have communicated the downstream consequences of the PR to others.
[x] I have bumped the version in __version__.py

Reverted update to deploy.yml as per https://github.com/CitrineInformatics/common-gh-actions/pull/3


New package: HiroSystems.Chainhook version 1.6.2

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Program Files\chainhook\bin\chainhook.exe returned exit code: -1073741515

Automated error analysis suggests -1073741515 may mean STATUS_DLL_NOT_FOUND - possibly due to a dependency on Microsoft.VCRedist.2015+.x64 (or .x86).
(Automated response - build 885.)

Verify:


Support keep-in zone (constraint type)

These are useful for e.g., keeping the robot within the field perimeter.

Here's the equation for a general line constraint. Replace the = in ax + by = c with < or > for an inequality. The union of several of these will create a keep-in constraint.
Rearrange y − y₀ = m(x − x₀) where m = (y₁ − y₀)/(x₁ − x₀) into ax + by = c form.

y − y₀ = m(x − x₀)
y − y₀ = (y₁ − y₀)/(x₁ − x₀)(x − x₀)
(x₁ − x₀)(y − y₀) = (y₁ − y₀)(x − x₀)
(x₁ − x₀)y − (x₁ − x₀)y₀ = (y₁ − y₀)x − (y₁ − y₀)x₀
(y₀ − y₁)x + (x₁ − x₀)y = −(y₁ − y₀)x₀ + (x₁ − x₀)y₀
(y₀ − y₁)x + (x₁ − x₀)y = (y₀ − y₁)x₀ + (x₁ − x₀)y₀

ax + by = c where
  a = y₀ − y₁
  b = x₁ − x₀
  c = (y₀ − y₁)x₀ + (x₁ − x₀)y₀
    = ax₀ + by₀

ax + by = ax₀ + by₀ where
  a = y₀ − y₁
  b = x₁ − x₀


Avoid large over allocate buffer in sync reader

Which issue does this PR close?

Closes #2321
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

We should possibly do the same for the async reader

File an issue to follow😊


handleRequest res.socket is undefined

I'm trying to run it in browser with webpack and it breaks when it tries to execute this function due to res.socket being undefined:
function handleRequest(options, resolve, reject) {
  return https.get(options, function(res) {
    var certificate = res.socket.getPeerCertificate();

    if (isEmpty(certificate) || certificate === null) {
      reject({ message: 'The website did not provide a certificate' });
    } else {
      if (certificate.raw) {
        certificate.pemEncoded = pemEncode(certificate.raw.toString('base64'), 64);
      }
      resolve(certificate);
    }
  });
}

The function is executed and the callback returns this object as res:

{
  "_readableState": {
    "objectMode": false,
    "highWaterMark": 16384,
    "buffer": {
      "head": null,
      "tail": null,
      "length": 0
    },
    "length": 0,
    "pipes": null,
    "pipesCount": 0,
    "flowing": null,
    "ended": false,
    "endEmitted": false,
    "reading": false,
    "sync": true,
    "needReadable": false,
    "emittedReadable": false,
    "readableListening": false,
    "resumeScheduled": false,
    "destroyed": false,
    "defaultEncoding": "utf8",
    "awaitDrain": 0,
    "readingMore": false,
    "decoder": null,
    "encoding": null
  },
  "readable": true,
  "_events": {

  },
  "_eventsCount": 2,
  "_mode": "fetch",
  "headers": {
    "cache-control": "private, max-age=0",
    "content-length": "63895",
    "content-type": "text\/html; charset=UTF-8",
    "expires": "-1"
  },
  "rawHeaders": [
    "cache-control",
    "private, max-age=0",
    "content-length",
    "63895",
    "content-type",
    "text\/html; charset=UTF-8",
    "expires",
    "-1"
  ],
  "trailers": {

  },
  "rawTrailers": [

  ],
  "_fetchResponse": {

  },
  "url": "https:\/\/www.google.com\/",
  "statusCode": 200,
  "statusMessage": ""
}

Why isn't socket in res object?

You likely don't have access to the underlying socket in the browser.  Webpack might do some translation to allow you to use the https module in browser via XHR, but doesn't set the socket property because you wouldn't be able to use it anyways.

Thank you for the response. I guess it can't be used outside node enviroment...


oadp-1.0: Bump registry readiness probe timeout to 10s

Resolves oadp-1.0 azure periodic registry flakes
This is a feature pulled from https://github.com/openshift/oadp-operator/pull/710

/retest


Optional tor static builds

I need this for portable tor client. This also add optional static builds for openssl and libevent.

@offlinehacker so, is this PR correct w.r.t. your plan? Should it be merged or closed or fixed?

Well i left it open for so long as we don't have adapter for static builds.
On Jan 18, 2015 9:58 PM, "Michael Raskin"<EMAIL_ADDRESS>wrote:

@offlinehacker https://github.com/offlinehacker so, is this PR correct
w.r.t. your plan? Should it be merged or closed or fixed?
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/pull/4699#issuecomment-70425596.

Maybe it would be better to solve this by a stdenv adapter which would also set dontDisableStatic, --disable-dynamic and perhaps allowedReferences = [];, etc. It should be doable by adding a hook to set such things. Then I imagine one might define version of whole pkgs (not evaluated by default) where the default stdenv would be replaced by this modified one.


Check activity

Is this still a thing ? I thought it was a good idea and I have a couple of templates to share.

It is.


feat(category_theory): Top, nbhd x, CommRing

the category of (bundled) topological spaces
the category of neighbourhoods of a point
the category of commutative rings

I don't really know where to put things like this, so for now they are in an examples directory.
Advice appreciated, but I expect that it is actually better to put them alongside the material they are talking about.
One benefit of doing so is that we may be able to avoid introduce over and over again local notations for isomorphism: if you just set up the category you're talking about, you can reuse the general notion, and its notation.

Instead of these explicit constructions, wouldn't it be better to have standard way to construct these concrete categories. Something along the line:
def concrete_category (C : Type u → Type v)
  (hom : ∀(α β : Type u), C α → C β → (α → β) → Prop)
  (hom_id : ∀α (o : C α), hom α α o o id)
  (hom_map : ∀α β γ (oa : C α) (ob : C β) (oc : C γ) f g
    (hab : hom α β oa ob f) (hab : hom β γ ob oc g), hom α γ oa oc (g ∘ f)) :
  category (sigma C) :=
_

I'm working on this right now.

Sounds great! I better sleep, so I will look at what you have in the morning.

I don't know a lot about category theory, I'm especially bad with names. So if concrete_category is the wrong terminology, we can change it.

See https://en.wikipedia.org/wiki/Concrete_category: concrete categories are those that come with a distinguished faithful functor to Set (aka Types). In all you examples that is the case, but I don't think it follows from your definition.

forget is faithful:
https://github.com/leanprover/mathlib/pull/316/commits/24b7f42cf7db378b19f6fd98769e57c898ad004e#diff-6672e305f3be23b793edb1ff74abfaa5R52
I'm not sure of the other way round.

@johoelzl, this is very nice! I do have two concerns, however.
The first is that this may encourage us to overuse sigma types and subtypes at the expense of bespoke structures. In particular, the homs for a concrete_category here will always be a subtype, but I think we're going to want to talk about them in a custom bundled form.
In particular, we will want to put algebraic structures on many of these: for example:
instance : add_group { f : R \to S // is_ring_hom f }
instance : topological_space { f : X \to Y // continuous f } -- the compact open topology

Perhaps it's just fine to work with all of these as subtypes; my instinct had been to bundle them but I can't really point at a strong reason to do so.
My second concern is that often the morphisms are not just a function satisfying a proposition, but may contain extra data (although usually still subsingleton data after you've fixed the underlying function). This doesn't affect any of the basic examples, but I wonder if we'll want to e.g. talk about the category of topological spaces and homemorphisms between them, where it makes sense to specify as (singleton) data the inverse map as part of the morphism. One solution would be to make a parallel setup to concrete_category, which allows producing a Type, rather than a Prop, but also evidence that type is a subsingleton, as in:
/-- `concrete_category c h _ _` constructs a concrete category from a class `c` and a morphism
predicate `hom`. `c` is usually a type class like `topological_space` and `hom` is `continuous`. -/
structure concrete_category' {C : Type u → Type v}
  (hom : out_param $ ∀{α β : Type u}, C α → C β → (α → β) → Type v)
  (hom_ss : ∀{α β : Type u}, Π X Y f, subsingleton (@hom α β X Y f)) :=
(hom_id : ∀{α} (ia : C α), hom ia ia id)
(hom_comp : ∀{α β γ} (ia : C α) (ib : C β) (ic : C γ) {f g}, hom ia ib f → hom ib ic g → hom ia ic (g ∘ f))
attribute [class] concrete_category'

instance {C : Type u → Type v}
  (hom : ∀{α β : Type u}, C α → C β → (α → β) → Type v)
  (hom_ss : ∀{α β : Type u}, Π X Y f, subsingleton (@hom α β X Y f))
  [h : concrete_category' @hom @hom_ss] {α β : Type u} (X Y f) : subsingleton (@hom α β X Y f) :=
hom_ss X Y f

instance {C : Type u → Type v} (hom : ∀{α β : Type u}, C α → C β → (α → β) → Type v) (homss)
  [h : concrete_category' @hom @homss] : category.{(max (u+1) v) (max u v)} (sigma C) :=
{ hom   := λa b, Σ p : a.1 → b.1, (hom a.2 b.2 p),
  id    := λa, ⟨@id a.1, h.hom_id a.2⟩,
  comp  := λa b c f g, ⟨g.1 ∘ f.1, h.hom_comp a.2 b.2 c.2 f.2 g.2⟩ }

I also wondered whether it would be better to build custom bundled structures. Of course, the uniform approach is nice for generalization (there is a book "Abstract and Concrete Categories", and it presumably contains some nice theorems about concrete categories). But somehow a bare sigma feels so low-level. Would it make any sense to replace it with a generic bundled structure? I guess it's basically the same thing...
Even before putting algebraic structures on hom sets, there are some more basic amenities which will always be useful. In my homotopy theory library I define a bundled structure Top and then provide

a has_coe_to_sort coercion to the underlying type
a topological_space instance giving the topology on the underlying type of X : Top
a has_coe_to_fun coercion for a morphism giving the underlying map of types

These are really convenient because they let me write things like (X Y : Top) (f : X ⟶ Y) (x : X) (u : set Y) (hu : is_open u) (h : f x ∈ u). Even where there's no actual "category theory" happening, this is often a nicer way to write out theorems about topological spaces.
Would it be possible/work well to provide these three instances using a sigma type or generic bundled structure? The second one might be the trickiest--can the class that we're defining an instance of be a variable? (Like instance (c : Type \to Type) : c (sigma c) := ..., with the coercion for sigma c already defined.)

I'm usually not a fan of defining new types using sigma and subtype. But I see this case different, Top is only used to embed topological_space into categories. We can write a lot of boilerplate code to just do this. Or we use the generic setup.
I think users don't want to interact with the topologies in the form X : Top. One wants to work with {α : Type u}, [topological_space α], .... Of course, X : Top is needed as an object in a category. For me Top has two purposes:

to derive facts about topological_space using some categorical construction
to construct more complicated categorical spaces

We have the option to write a lot of (meta) infrastructure to convert between both views, or we stick to the simple solution and use sigma and the concrete_category type class. We can also rename the later one to simple_concrete_category to indicate that this is the simplest form to embed a type class into the category framework.
For your example: We can move hom_ss into concrete_category itself, and also instead of having hom in Type v we could experiment with Sort x.

@johoelzl, what do you think of @rwbarton's suggestion that with bundled classes and coercions you can write things like:
(X Y : Top) (f : X ⟶ Y) (x : X) (u : set Y) (hu : is_open u) (h : f x ∈ u)
(Notice the \hom arrow in (f : X ⟶ Y).)
This is a very succinct way of saying that you want a continuous map f, and seems very nice to me.

I think a lot depends on whether you are thinking about "all topologies on a set X", or "X as a topological space". I agree that in the first case the bundled form just gets in the way. However, I also suspect that we're almost done with the theory of "all topologies on a set X"!

Maybe one disadvantage of the bundled approach is that it becomes harder to mix hypothesis. If you want to talk about a finite topological space, before it just meant adding in [fintype X], but with the bundled approach that might be harder to do? Or say you want to add some hypothesis like T1 or T2. And then you want to start mixing several of those hypothesis. I'm not sure if we want to define categories for all possible combinations, and all the forgetful functors between them.
I really like @rwbarton's example. I hope it will scale.

tldr: I want both views (bundled/external vs unbundled/internal), but to have a simple way to translate between both. Also I would focus on the unbundled/internal view as things are usually much easier and better supported. Using sigma and subtype allows us to translate easily without a lot of boilerplate code.
It comes down always to the same problem: bundled vs unbundled. Category theory of course requires bundling, so that we can actually setup categories. And it always depends on which level one wants to work, i.e. "internally": seeing topologies as the "environment" and working on points and functions, or "externally": working on them as objects.
I want it to be as easy as possible to switch between both of these views. And I think using sigma and subtype for this makes it easier. It is very easy to provide a setup for these (standard) constructions, and if people have more complicated needs (e.g. more data in their morphisms) they still can write down special structures. And structures have a clear advantage if you need to bundle more things together, they provide you with a lot of nice setup for inheritance. etc.
But as @jcommelin said, the problem with bundling is that it is very inflexible. If you want to talk about a subcategory you need to start setting up all your coercions etc again. So now Top is setup, next would be Hausdorff, Top*, Regular, CompactTop etc. Which all actually have the same hom-set, just different subset of objects. And we need appropriate coercions between all of them. Setting this up for type classes is already annoying, but redoing it for the bundled structures feels like a waste of time.
We can support this adding infrastructure, like automatically creating structures from a set of type classes, and structure's for the corresponding Hom-predicates, the corresponding coercions etc. But to get this right is a big task and it usually is often clashing with the rest of the interface, or it need to be integrated into the elaborator.
Another problem is that it is really hard to get this right is rewriting modulo coercions. For example lets assume that in a certain category we have a rule: x ∘ G ∘ H = F ∘ x. But now you are in a subcategory and actually working on (↑x ∘ ↑G) ∘ ↑H. Now, in an unbundled approach these are just functions and no coercions are necessary. Of course, we need to solve the coercion problem anyway as it is already annoying with ints and reals etc. And at some point we need a better solution. But currently it is slowing down some proof work.

Okay! I think I am sold on the "use sigma types by default, when people
need structures for a good reason, they can write them" approach.
I'm happy with this PR being merged as is --- is there anything I should
add at this point?
On Fri, Sep 7, 2018 at 6:00 PM Johannes Hölzl<EMAIL_ADDRESS>wrote:

tldr: I want both views (bundled/external vs unbundled/internal), but to
have a simple way to translate between both. Also I would focus on the
unbundled/internal view as things are usually much easier and better
supported. Using sigma and subtype allows us to translate easily without
a lot of boilerplate code.
It comes down always to the same problem: bundled vs unbundled. Category
theory of course requires bundling, so that we can actually setup
categories. And it always depends on which level one wants to work, i.e.
"internally": seeing topologies as the "environment" and working on points
and functions, or "externally": working on them as objects.
I want it to be as easy as possible to switch between both of these views.
And I think using sigma and subtype for this makes it easier. It is very
easy to provide a setup for these (standard) constructions, and if people
have more complicated needs (e.g. more data in their morphisms) they still
can write down special structures. And structures have a clear advantage
if you need to bundle more things together, they provide you with a lot of
nice setup for inheritance. etc.
But as @jcommelin https://github.com/jcommelin said, the problem with
bundling is that it is very inflexible. If you want to talk about a
subcategory you need to start setting up all your coercions etc again. So
now Top is setup, next would be Hausdorff, Top*, Regular, CompactTop etc.
Which all actually have the same hom-set, just different subset of objects.
And we need appropriate coercions between all of them. Setting this up for
type classes is already annoying, but redoing it for the bundled structures
feels like a waste of time.
We can support this adding infrastructure, like automatically creating
structures from a set of type classes, and structure's for the
corresponding Hom-predicates, the corresponding coercions etc. But to get
this right is a big task and it usually is often clashing with the rest of
the interface, or it need to be integrated into the elaborator.
Another problem is that it is really hard to get this right is rewriting
modulo coercions. For example lets assume that in a certain category we
have a rule: x ∘ G ∘ H = F ∘ x. But now you are in a subcategory and
actually working on (↑x ∘ ↑G) ∘ ↑H. Now, in an unbundled approach these
are just functions and no coercions are necessary. Of course, we need to
solve the coercion problem anyway as it is already annoying with ints and
reals etc. And at some point we need a better solution. But currently it is
slowing down some proof work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/leanprover/mathlib/pull/316#issuecomment-419356593,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdLBIrX_Bheqa9JaS1CyEC88HkKWEEZks5uYieHgaJpZM4Wa0dp
.

Everything looks good to me.
I hope your next step is: add adjoints and limits, then we can lift some nice constructions :-)

Limits are being polished as we speak. Adjoints may be a bit longer; if
someone wants to scoop me on that, please do!
On Fri, Sep 7, 2018 at 7:43 PM Johannes Hölzl<EMAIL_ADDRESS>wrote:

Everything looks good to me.
I hope your next step is: add adjoints and limits, then we can lift some
nice constructions :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/leanprover/mathlib/pull/316#issuecomment-419384939,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdLBNIh02xBWoMLnEDNNJ9BXO0dTYo9ks5uYj-4gaJpZM4Wa0dp
.

@rwbarton, @johoelzl, I'm trying out Reid's suggestion now. It seems to work quite nicely.

I've made a PR based on Reid's suggestion, at https://github.com/leanprover/mathlib/pull/325.


More Red - Cable remove and place issue.

Mod Name
More Red (Owner: Commoble)
This issue occurs when only Valkyrien Skies, addons, and the mod I have specified are installed and no other mods

[X] I have tested this issue and it occurs with only Valkyrien Skies, addons, and the mod I have specified

Minecraft Version
1.18
Mod Loader
Forge
Issue description
Minecraft Version is 1.20.1 (I could not choose it from the dropdown)
Issue 1: The cable works like a charm, but is not removable. Not in Survival and not in creativ.
Issue 2: The "free wire", that connects two or more posts, are not placable on assembled ships.
Hope that helps
Issue reproduction
like in the description
Logs
no logs avilable

For those who need a quick Redstone fix on their ships: The mod "Redstone Pen" works fine.


feat: Add gutter option to usePopoverState

It removes the unstable_ prefix from the gutter option on usePopoverState and its derivatives (useTooltipState, useMenuState).
Does this PR introduce a breaking change?
No! But it removes the unstable_gutter option.

Codecov Report

Merging #442 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #442      +/-   ##
==========================================
- Coverage    95.3%   95.29%   -0.01%
==========================================
  Files          94       94
  Lines        1426     1424       -2
  Branches      446      445       -1
==========================================
- Hits         1359     1357       -2
  Misses         67       67

Impacted Files
Coverage Δ

packages/reakit/src/Popover/PopoverState.ts
84.61% <100%> (ø)
:arrow_up:

packages/reakit/src/Menu/MenuState.ts
100% <100%> (ø)
: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 efaa95e...79a5ee2. Read the comment docs.


Unable to launch Wireshark  in both Putty and the mininet-vm

this the error message
mininet@mininet-vm:~$ wireshark &
[1] 925
mininet@mininet-vm:~$ qt.qpa.xcb: X server does not support XInput 2
failed to get the current screen resources
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 0 (Success) on X server "localhost:10.0"
after 366 requests (366 known processed) with 0 events remaining.
please help !

I am trying to solve this issue too. I am able to run xterm or xeyes but cannot open the wireshark. If someone could help It would be nice


change date_part return types to f64

date_part currently  returns i32 which might lose some information, e.g.
❯ select date_part('second', timestamp '2000-01-01T00:00:00.1');
+--------------------------------------------------------+
| datepart(Utf8("second"),Utf8("2000-01-01T00:00:00.1")) |
+--------------------------------------------------------+
| 0                                                      |
+--------------------------------------------------------+
1 row in set. Query took 0.000 seconds.

while postgresql returns double precision
willy=# select date_part('second', timestamp '2000-01-01T00:00:00.1');
 date_part
-----------
       0.1
(1 row)

is it recommended to follow postgresql's return type?
if it is preferred, perhaps we could do a separate pr to deal with this
change it to double precision
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
perhaps we could consider return decimals instead to align with extract to return decimal. postgres doc mentions this:
For historical reasons, the date_part function returns values of type double precision.
This can result in a loss of precision in certain uses. Using extract is recommended instead.

https://www.postgresql.org/docs/current/functions-datetime.html
Additional context
Add any other context or screenshots about the feature request here.

@waitingkuo may I try this?

@waitingkuo may I try this?

sure, please try it~

@waitingkuo the problem is  date_part calls for arrow::compute::kernels::temporal::second which is i32, and they dont have millisecond support. Do you think its good idea to implement milliseconds by ourselves?

@comphead
arrow-rs uses chrono-rs to extract these date parts. Chono-rs does have nanosecond while arrow-rs doesn't have.
We could extend arrow-rs to support nanosecond and then get back to this issue.
I think adding nanosecond support in arrow-rs is a good start issue. If you're interested in, I'm happy to help you to figure out the codes to modify. Basically, you could follow the second's logic to do so
https://github.com/apache/arrow-rs/blob/master/arrow/src/compute/kernels/temporal.rs#L723-L764
I could help to send a pr to arrow-rs as well

cc @alamb

@waitingkuo thanks for the details, let me try to add the ticket and PR to arrow-rs.

Related arrow-rs ticket https://github.com/apache/arrow-rs/issues/2995

@waitingkuo the https://github.com/apache/arrow-rs/issues/2995 merged, should we wait for next arrow-rs version? How it usually happens?

@comphead thank you. i think we need to wait for 27.0.0 . 26.0.0 is just fixed. It normally released 1 or 2 times a month

waiting for #4199


wrong context-ehr-patient requirement

Definintion of the problem
Inferno started throws error The following capabilities required for this scenario are missing: context-ehr-encounter in the 3 EHR Practitioner App sequence.
Our solutions uses SMART on FHIR v1 and it doesn't support launch/encounter scope. That is why there is no context-ehr-encounter in the capability statement.
ONC says

Since "Encounter" is not a USCDI v1 data class or data element, ONC will not test Health IT Modules for support for "context-ehr-encounter" SMART on FHIR® Core Capabilities described in the standard adopted at § 170.215(a)(3).

The desired behavior
Inferno doesn't make it compulsary to have context-ehr-encounter in the SMART on FHIR v1 app launch.

We will address this issue. context-ehr-encounter should only required when using US Core 5.

The problem seems to be solved. Thanks

We will leave this issue open until we do a realease which includes the fix.


Can not load Mxnet trained model

Description
Can not load a pre trained Yolo model from Mxnet. I have a param file and a symbol.json. MxModel seems to fail to handle the params file. If interested I might be able to share the model private on request.
The model was trained in a mxnet/gluoncv python environment.
Debugging the code I can see the key value is stages.0.0.0.weight which is supposed to be split by ":" which obviously fails.
Error Message

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
	at ai.djl.mxnet.engine.MxModel.loadParameters(MxModel.java:201)
	at ai.djl.mxnet.engine.MxModel.load(MxModel.java:119)
	at ai.djl.repository.zoo.BaseModelLoader.loadModel(BaseModelLoader.java:142)
	at ai.djl.repository.zoo.ModelZoo.loadModel(ModelZoo.java:162)
	at com.itth.okra.axle.AxleDetectorMxnet.(AxleDetectorMxnet.java:29)
	at com.itth.okra.axle.AxleDetectorMxnet.main(AxleDetectorMxnet.java:42)

How to Reproduce?
I try to load the model with following code:

         Criteria criteria = Criteria.builder()
               .setTypes(Image.class, DetectedObjects.class) // defines input and output data type
               .optDevice(Device.cpu())
               .optTranslator(new YoloTranslator(new Builder()))
               .optModelUrls("file:///tmp/mxnet") // search models in specified path
               .optModelName("model")
               .build();
         final ZooModel model = ModelZoo.loadModel(criteria);

Environment Info
djl: 0.8.0
mxnet-engine: 0.8.0
mxnet-native-mkl: 1.7.0

Hi, can you share the model or the code to obtain the model? I can try to rerpoduce that.

The script the model was learned with train_yolo3.py:
https://drive.google.com/file/d/10zALbFJdKn2-9NXJbVzQsSnQ8_Bm1irq/view?usp=sharing
The trained model model-0000.params:
https://drive.google.com/file/d/1Eaj062TBRrBS4rIkKLsctiE5DKe_3kqr/view?usp=sharing
The json file of the model model-symbol.json:
https://drive.google.com/file/d/1gGH6zdCFlQXHVKPVn1mMCYePvrTsQyxN/view?usp=sharing

@thhart Do you know which mxnet version you are using to train the model (pip package)? Is that MXNet 1.7 or MXNet 1.5 (or lower?)

Name: mxnet-cu102
Version: 1.7.0
Summary: MXNet is an ultra-scalable deep learning framework. This version uses CUDA-10.2.
Home-page: https://github.com/apache/incubator-mxnet
Author: None
Author-email: None
License: Apache 2.0
Location: /usr/local/lib/python3.8/dist-packages
Requires: requests, graphviz, numpy

After trying to load this model in python, I got the following issue:
AssertionError: Parameter 'darknetv30_conv0_weight' is missing in file: yolo/model-0000.params, which contains parameters: 'stages.0.0.0.weight', 'stages.0.0.1.gamma', 'stages.0.0.1.beta', ..., 'yolo_outputs.2.anchors', 'yolo_outputs.2.offsets', 'yolo_outputs.2.prediction.weight', 'yolo_outputs.2.prediction.bias'. Please make sure source and target networks have the same prefix.For more info on naming, please see https://mxnet.io/api/python/docs/tutorials/packages/gluon/blocks/naming.html

It seemed some of the layers weight are not saved.
There is something you can do, try to follow the steps:
http://docs.djl.ai/docs/mxnet/how_to_convert_your_model_to_symbol.html#how-to-convert-your-gluon-model-to-an-mxnet-symbol
To save your model into a Symbol compatible way

Cool, thanks for checking, I was under the consumption the net was already hybridized but in fact it wasn't. So I converted now and it is loading. Sorry not have checked carefully.
However now I run into an other problem the layers not feeded well. I have changed the criteria like this:

Criteria criteria = Criteria.builder()
               .setTypes(Image.class, DetectedObjects.class) // defines input and output data type
               .optDevice(Device.cpu())
               .optTranslator(new YoloTranslator(
                     YoloTranslator.builder()
                           .optSynsetArtifactName("synset.txt")
                     .setPipeline(new Pipeline())
                     ))
               .optModelUrls("file:///tmp") // search models in specified path
               .optModelName("yolo3_darknet53")

This is the error I receive:

Exception in thread "main" ai.djl.engine.EngineException: MXNet engine call failed: MXNetError: Error in operator darknetv30_conv0_fwd: Shape inconsistent, Provided = [32,3,3,3], inferred shape=(32,608,3,3)
at ai.djl.mxnet.jna.JnaUtils.checkCall(JnaUtils.java:1808)
	at ai.djl.mxnet.jna.JnaUtils.cachedOpInvoke(JnaUtils.java:1785)
	at ai.djl.mxnet.engine.CachedOp.forward(CachedOp.java:135)
	at ai.djl.mxnet.engine.MxSymbolBlock.forward(MxSymbolBlock.java:178)
	at ai.djl.nn.Block.forward(Block.java:117)
	at ai.djl.inference.Predictor.predict(Predictor.java:117)
	at ai.djl.inference.Predictor.batchPredict(Predictor.java:157)
	at ai.djl.inference.Predictor.predict(Predictor.java:112)
	at com.itth.okra.axle.AxleDetectorMxnetDjl.(AxleDetectorMxnetDjl.java:38)
	at com.itth.okra.axle.AxleDetectorMxnetDjl.main(AxleDetectorMxnetDjl.java:48)

This is the image (608x608) loading:

         final ZooModel model = ModelZoo.loadModel(criteria);
         Predictor predictor = model.newPredictor();
         final File input = new File("/tmp/sample.jpg");
         BufferedImageFactory factory = new BufferedImageFactory();
         DetectedObjects detection = predictor.predict(factory.fromImage("sample.jpg");
         for (Classification item : detection.items()) {
            System.err.println(item.getClassName() + ": " + item.getProbability());
         }

I can take a look too, is seemed like the input shape are not YoLo network looking for. What is the shape for your input? Usually during the training we do normalize and resize the image. 608 seemed to be the upper limit for the model, maybe you can do Resize() in the pipeline to resize it to some value between 320 - 608.
Can you send me the model files again, I can help discover that in the meantime

BTW, we do have some pretrained gluoncv yolo model in DJL. You may want to take a look. Some tricks we do for hybridization is, before we do the export, we do a forward with a dummy image (nd.ones((1, 3, size, size)), and use the size as the standard image size to feed. I assume you are doing something similiar

You can also find the script that was used for the model zoo yolo models at https://github.com/awslabs/djl/blob/master/mxnet/mxnet-model-zoo/src/main/scripts/exportYolo.py

Hi Lanking, sorry for this late answer but I checked meanwhile an alternative approach with YoloV5. With this I achieved inference over an Onnx bridge (1.5.1).
This is working very good already, however DJL is a more sophisticated framework of course and I am convinced support for YoloV5 might be a good progress and enhancement for it. Maybe the built in Onnx support in DJL could be the key also. The only bottleneck I see is probably the output layer parsing but this should not be too hard. I have ported this into Java however I I am not aware of internal DJL structures. Maybe your YoloV3 version might be of use but I don't know  the differences in the input/output layers.
Albeit I have a solution  I could offer testing capabilities and share my small code to test if you are interested, otherwise feel free to close this issue.
BR
Thomas

@thhart Hi Thomas, we do have ONNX Runtime support: http://docs.djl.ai/onnxruntime/onnxruntime-engine/index.html
Could you please try it out? This should work with the majority ONNX model designed for Deep Learning
Thanks

Using following code produces the error below, maybe a simple input encoding problem? Any hint? YoloTranslator looks the same as in my solution by the way but did not get this far yet...
         Criteria<Image, DetectedObjects> criteria = Criteria.builder()
               .setTypes(Image.class, DetectedObjects.class) // defines input and output data type
               .optDevice(Device.cpu())
               .optTranslator(new YoloTranslator(YoloTranslator.builder().optSynsetArtifactName("synset.txt").setPipeline(new Pipeline())))
               .optModelUrls("file:///home/th/dev/itth/okraLearn/yolov5/") // search models in specified path
               .optModelName("axle-model-20201102-1024.onnx")
               .optEngine("OnnxRuntime")
               .build();
         final ZooModel<Image, DetectedObjects> model = ModelZoo.loadModel(criteria);
         Predictor<Image, DetectedObjects> predictor = model.newPredictor();
         final File input = new File("/opt/axle/images/JPEGImages/20200928-115130997-6.jpg");
         BufferedImageFactory factory = new BufferedImageFactory();
         DetectedObjects detection = predictor.predict(factory.fromImage(HelperImage.scaleImage(ImageIO.read(input), 1024, 1024)));
         for (Classification item : detection.items()) {
            System.err.println(item.getClassName() + ": " + item.getProbability());
         }

Exception in thread "main" ai.djl.engine.EngineException: ai.onnxruntime.OrtException: Error code - ORT_INVALID_ARGUMENT - message: Unexpected input data type. Actual: (N11onnxruntime17PrimitiveDataTypeIaEE) , expected: (N11onnxruntime17PrimitiveDataTypeIfEE)
	at ai.djl.onnxruntime.engine.OrtSymbolBlock.forward(OrtSymbolBlock.java:102)
	at ai.djl.nn.Block.forward(Block.java:117)
	at ai.djl.inference.Predictor.predict(Predictor.java:117)
	at ai.djl.inference.Predictor.batchPredict(Predictor.java:157)
	at ai.djl.inference.Predictor.predict(Predictor.java:112)
	at com.itth.okra.axle.AxleDetectorOnnxDjl.(AxleDetectorOnnxDjl.java:34)
	at com.itth.okra.axle.AxleDetectorOnnxDjl.main(AxleDetectorOnnxDjl.java:44)
Caused by: ai.onnxruntime.OrtException: Error code - ORT_INVALID_ARGUMENT - message: Unexpected input data type. Actual: (N11onnxruntime17PrimitiveDataTypeIaEE) , expected: (N11onnxruntime17PrimitiveDataTypeIfEE)
	at ai.onnxruntime.OrtSession.run(Native Method)
	at ai.onnxruntime.OrtSession.run(OrtSession.java:288)
	at ai.onnxruntime.OrtSession.run(OrtSession.java:231)
	at ai.onnxruntime.OrtSession.run(OrtSession.java:200)
	at ai.djl.onnxruntime.engine.OrtSymbolBlock.forward(OrtSymbolBlock.java:99)
	... 6 more

I should add I feed the model with normalized floats.

I haven't seen this before
N11onnxruntime17PrimitiveDataTypeIaEE
N11onnxruntime17PrimitiveDataTypeIfEE

I will take a look

Sure, but how to feed data or influence the conversion when using your framework image input chain as above?

Looks like BaseImageTranslator is feeding INT by default, maybe worth to check overwriting...

@thhart You can use the pipeline to add a ToTensor method.
Like we tried here: https://github.com/awslabs/djl/issues/238#issuecomment-716803931

Got it working, need some NMS (non max supression) still, is there something available already in DJL for DetectedObjects?

Please check following PR:
https://github.com/awslabs/djl/pull/272
Tested successful with custom trained network.


Update for Version 2.0.0

Game has new update which broke MGSHDFix

I can confirm. HDFix is completely borked regardless of "Resolution setting" set in the new menu.

I should be able to have a proper look this weekend. It looks like based on quickly looking at the log results that it's mostly resolution and window management stuff that's broken by the update.

I should be able to have a proper look this weekend. It looks like based on quickly looking at the log results that it's mostly resolution and window management stuff that's broken by the update.

I don't know how to modify it myself but yes. It's only resolution and window management. The update also made the windowed mode option bugged (it resets everytime you reset the games)

also if you can add the option in the ini file to change the mouse sensitivity for mgs2 like mgs3 that would be awesome! thanks by your hard work!!

@emoose @Lyall Just to note for the update, it appears Konami has added 32MB intro logo textures to both MGS2 & MGS3, which far surpasses the old 16MB texture buffer size limit that was previously expanded w/ MGSHDFix via https://github.com/Lyall/MGSHDFix/pull/39

I'd assume that might mean that they've backported the TextureBufferMalloc stuff which prevented #39 from being implemented in 2

Patiently waiting and looking forward to your update. Do you think it would also be possible to also make the new internal resolution feature actually work past the monitor's max resolution ?  They've basically just natively implemented a feature that your mod had the entire time. I'd love to push some crazy 8K IR to clean up all aliasing left in the game, and have it downsample to my 1080p monitor. I'd normally force SGSSAA via Profile Inspector on old games, but sadly it doesn't work with DX11

@emoose @Lyall Just to note for the update, it appears Konami has added 32MB intro logo textures to both MGS2 & MGS3, which surpasses the old 16MB texture buffer size limit that was previously expanded for MGS3 w/ MGSHDFix via #39
I'd assume that might mean that they've backported the TextureBufferMalloc stuff which previously prevented #39 from being implemented in MGS2 (and likely upped the vanilla limit from what it was before.)

Looks like they updated the 9 calls to malloc with the 128MB limits.
METAL GEAR SOLID3.exe+66B33 - B9 00000008           - mov ecx,08000000 { 134217728 }
METAL GEAR SOLID3.exe+66B38 - FF 15 E22D8300        - call qword ptr ["METAL GEAR SOLID3.exe"+899920] { ->ucrtbase.malloc }
METAL GEAR SOLID3.exe+66B3E - 48 8B F8              - mov rdi,rax

Is it still worth offering a customizable size @ShizCalev?

Patiently waiting and looking forward to your update. Do you think it would also be possible to also make the new internal resolution feature actually work past the monitor's max resolution ? They've basically just natively implemented a feature that your mod had the entire time. I'd love to push some crazy 8K IR to clean up all aliasing left in the game, and have it downsample to my 1080p monitor. I'd normally force SGSSAA via Profile Inspector on old games, but sadly it doesn't work with DX11

Yes, I've just added that as a new feature in the update. You can run the game at an arbitrary internal resolution now.

Since this update is so big I've put up a version for people to test first before removing the pre-release tag.
https://github.com/Lyall/MGSHDFix/releases/tag/v2.3
If you try this, please let me know if it works okay for you. If you run in to any issues, remember to post your MGSHDFix.log file here and I can see what went wrong.

Game doesn't seem to start without the skiplauncher option set to true, but other than that seems to work at the moment

Game doesn't seem to start without the skiplauncher option set to true, but other than that seems to work at the moment

Is this with MGS2 or MGS3? Also you copied over all files from the v2.3 zip right? It now comes with 2 ASI loader DLLs, one for the launcher and one for the games.

MGS2, sorry, and yes all files copied over

MGS2, sorry, and yes all files copied over. even the readme cause im lazy

Have you removed d3d11.dll from the game folder, if you had an old version of the fix installed?

I did not do that, thought i did. Alright well that seems to fix that issue

I did not do that, thought i did. Alright well that seems to fix that issue

I'll add a note about that to the release notes for v2.3. No doubt it'll catch more people out!

MGS3 works like a charm with  the new patch, and choosing higher internal resolutions work without a hitch(tried 8k).
With MGS2 tho, its as if the game isnt downscaling/outputting to the correct output res, so you cant see everything. an example(this should be outputting to 1440p, with an internal res of 4k):

MGS3 works like a charm with the new patch, and choosing higher internal resolutions work without a hitch(tried 8k). With MGS2 tho, its as if the game isnt downscaling/outputting to the correct output res, so you cant see everything. an example(this should be outputting to 1440p, with an internal res of 4k):  MGSHDFix.log

Just to confirm I am seeing that on my end. I'll look into it. Thanks everyone for the feedback so far!

Just tried out the new patch, made sure to delete d3d11.dll before copying over the new files. Just about everything works correctly for me, playing at native 1440p, thank you! Here are some notes:
-For MG1/MG2 and MGS3, when choosing "End game" in MG1 or MG2 or "Return to Main Menu" in MGS3, the game will just close and the launcher will not re-open, even if "skip launcher" is set to false. This is not the case in MGS2, where the launcher will come back up.
-Make sure in the launcher options to set all the resolution options to DEFAULT. Otherwise, it can interfere with what MGSHDFix is trying to do and result in a very strange looking output, it will almost appear as though the image is interlaced. After doing that, MGSHDFix worked perfectly.

konami logo (and etc) skip doesn't seem to work, that's the only issue i've had so far though

konami logo (and etc) skip doesn't seem to work, that's the only issue i've had so far though

This is working for me on MGS2 and MGS3. It's not supposed to work for MG1/MG2.

Make sure to write down people have to have everything set to default because using the upscalers with each other, Interlaces images like crazy.
anyway i will say visual quality between my adjusted mode 1440p vs this is very uhh. well Top is Konami Bottom is mod.
https://imgur.com/a/lMqJY0c I dunno Maybe it looks better on a 4K monitor.
Weirdly i think their adjusted looks better cause its slightly sharper, Will be using the mod for borderless window'd anyway

Make sure to write down people have to have everything set to default because using the upscalers with each other, Interlaces images like crazy. anyway i will say visual quality between my adjusted mode 1440p vs this is very uhh. well Top is Konami Bottom is mod. https://imgur.com/a/lMqJY0c I dunno Maybe it looks better on a 4K monitor. Weirdly i think their adjusted looks better cause its slightly sharper, Will be using the mod for borderless window'd anyway

I think image quality appears higher on the Konami version because they implemented FSR, which takes effect when you change the upscaling method from "Original" to "Adjusted" in the launcher. On the other hand, the top image appears more aliased, maybe turning on the adjusted upscaling method disables the built-in MSAA in the game?

konami logo (and etc) skip doesn't seem to work, that's the only issue i've had so far though

This is working for me on MGS2 and MGS3. It's not supposed to work for MG1/MG2.

apologies for not saying what games i was testing, but it was indeed MGS2/3, i don't have MG1/2 installed

I think image quality appears higher on the Konami version because they implemented FSR, which takes effect when you change the upscaling method from "Original" to "Adjusted" in the launcher. On the other hand, the top image appears more aliased, maybe turning on the adjusted upscaling method disables the built-in MSAA in the game?

A couple texture modders (myself included) have noted that enabling FSR causes mipmaps to act as if the screen is rendering at a higher resolution, making textures appear "sharper", to the point of a fault.
These shots are WITHOUT MGSHDFix
1080p with no FSR:

1080p WITH 4k upscaling/FSR enabled

I think image quality appears higher on the Konami version because they implemented FSR, which takes effect when you change the upscaling method from "Original" to "Adjusted" in the launcher. On the other hand, the top image appears more aliased, maybe turning on the adjusted upscaling method disables the built-in MSAA in the game?

It's not really higher image quality, a couple texture modders (myself included) have noted that enabling FSR causes mipmaps to act as if the screen is rendering at a higher resolution, making textures appear "sharper", to the point of EXTREME overshapening when using high res mods.

That explains a lot, thank you. The oversharpening does look really bad. That explains the "aliasing" I was seeing, just noise introduced from sharpening.

That explains why its sharper, Yeah i prefer the oversharpen effect, TAA, DLSS and Depth of field, and motion blur and Anything designed to blur the screen is the bane of my existence I want to play video games not simulate damaged eye sight. like i would 100% rather play the bottom image there.

I just tried the new update and it fixed the ultrawide issue so thank you! What I noticed is that the quality looks really bad when i set it up to 5120x1440 when last time it used to look better

I just tried the new update and it fixed the ultrawide issue so thank you! What I noticed is that the quality looks really bad when i set it up to 5120x1440 when last time it used to look better

Make sure you go into the game's launcher settings and set all resolution options to Default/Original.

A bit of a feature request for the new version, would it be possible to have the correct splashscreens & loading screens load in based off your MGSHDFix resolution?
Ie, konami made it so that a 4k loading & splash screen is loaded in when your upscaler is set to 4k, 1080p versions of them all when set to FHD, 720p ones when set to original, ect.

Here's all the loading screens & splash screens modified with their resolution written on them to make it easier to debug. ♥
Misc.zip

I just tried the new update and it fixed the ultrawide issue so thank you! What I noticed is that the quality looks really bad when i set it up to 5120x1440 when last time it used to look better

Make sure you go into the game's launcher settings and set all resolution options to Default/Original.

Yes! This definitely works thank you!

this pre release, the mouse movement in mgs3 sometimes is very buggy, in some areas the mouse cant rotate freely the camera, ejem in the ponizovje wharehouse after the fear battle. and in the section in the cave before the pain battle.

Deleted d3d11.dll from my game files before installing MGSHDFix v2.3 and now the game is actually rendering at native 1440p and borderless windowed works again! Thank you so much Lyall! <3

Hello, using test version 2.3 (never tried any previous one) the launcher doesn't seem to honour any of the settings of the 'MGSHDFix.ini' file, like skip intro or windowed mode. Options seem correctly applied in-game though.
I tried MG1/MG2, MGS2 and MGS3 and it's the same.

Deleted d3d11.dll from my game files before installing MGSHDFix v2.3 and now the game is actually rendering at native 1440p and borderless windowed works again! Thank you so much Lyall! <3

Same !  thanks! i had a black stripe on the right of my screen and thanks to the 2.3 no more problem.

MG2's resolution appears to be broken, causing a black bar on the right of the screen.
Settings as below:
`;;;;;;;;;; General ;;;;;;;;;;
[Output Resolution]
; Enter your chosen output resolution.
; You can leave these at 0 if you want your desktop resolution used instead.
Enabled = true
Width = 1920
Height = 1080
Windowed = false
Borderless = true
[Internal Resolution]
; Set internal rendering resolution.
; You can leave these at 0 if you want the resolution to be same as your output resolution.
Width = 0
Height = 0
[Launcher Config]
; If enabled will skip the launcher app and run the game directly
; (options like game language & button style will need to be configured below)
SkipLauncher = true
; CtrlType: PS5, PS4, XBOX, NX, STMD, KBD
CtrlType = PS5
; Language (may depend on Region setting): EN, JP, FR, GR, IT, PR, SP, DU, RU
Language = EN
; Region (MGS3 only): US, JP, EU
Region = EU
; MSXGame (MG1/MG2 only): which MSX game to launch, MG1 or MG2
MSXGame = MG2
; MSXWallType (MG1/MG2 only): which wallpaper style to use (0 to 6)
MSXWallType = 6
; MSXWallAlign (MG1/MG2 only): orientation of game screen (L, R, or C for center)
MSXWallAlign = C`

MGS2 works fine for me, but MGS3 isn't working with the DPI scaling on my machine.  I have scaling set to 200% and MGS3 renders at double the size and cuts off most of image.  If I switch my DPI scaling back to 100%, it shows up fine.  Using default settings from a fresh install of the game and the mod.

MGS2 works fine for me, but MGS3 isn't working with the DPI scaling on my machine. I have scaling set to 200% and MGS3 renders at double the size and cuts off most of image. If I switch my DPI scaling back to 100%, it shows up fine. Using default settings from a fresh install of the game and the mod.

ohhh, this explains why using 125% scaling on my 1440p monitor is cutting some of the image. ill make the game be the one to set the scaling and see if it still getting cut.

MGS2 works fine for me, but MGS3 isn't working with the DPI scaling on my machine. I have scaling set to 200% and MGS3 renders at double the size and cuts off most of image. If I switch my DPI scaling back to 100%, it shows up fine. Using default settings from a fresh install of the game and the mod.

To fix that:
Open regedit, go to
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
Add a new string w/ the name of the full path of MGS3.exe, and add HIGHDPIAWARE as the value.

Is there a way to force window centering ?

https://github.com/Codeusa/Borderless-Gaming
you can do that with borderless gaming :>

Thanks for the suggestion, but to use it I should set the output to 1080p in the .ini, so the remaining 120 pixels will display the desktop, whereas using an output of 1200p fills in with black. That's why I'd prefer a centering method within MGSHDFix.
Besides it's a paid app on steam now, and I don't think I'll have enough usage of it to justify the purchase.

Besides it's a paid app on steam now, and I don't think I'll have enough usage of it to justify the purchase.

https://github.com/Codeusa/Borderless-Gaming/releases/tag/9.5.6
It's still available for free right here, actually. The steam version is just if you want to support the dev's work.

Well I tried it and it doesn't work as I was hoping for : the window is stretched out to fit the screen instead of being centered.
So I searched around and found this one : https://westechsolutions.net/sites/WindowedBorderlessGaming/
This time centering works but as expected the top and bottom parts display the desktop, so not ideal.
Well, as long as MGSHDFix doesn't forcibly center the internal window within the output, this will have to do. And I still can have a black image behind the game if that's really annoying.
Thank you for taking the time to help me (and indirectly pointing me to a viable solution !).


Support of new React api (16.6.0)

https://github.com/facebook/react/releases/tag/v16.6.0
Some new api being introduced, specially React.memo and React.lazy
Will be good to add support for the new api. Could sent a PR, but wondering if it already exists internally at Facebook

We are discussing potential solutions. We don't have any kind of support for it yet.

I think this definition would work for lazy:
declare function lazy<P, T: React$ComponentType<P>>(() => Promise<T>): T
The other part is to have support for dynamic imports as string => Promise<T>
Next, this definition of Suspense should work:
declare class Suspense extends React$Component<{| fallback?: React$Node, children: React$Node |}> {}

I haven't looked into Suspense much, but I have looked into lazy, memo, and forwardRef (still not supported). My main focus right now is getting flow ready to check these functions.
The trouble with typing something as just a React$ComponentType is that ComponentType doesn't keep around sufficient information to check the defaultProps of a component, which is extremely frustrating to developers. Furthermore, HOCs that return ComponentType will erase information about default props. The same would be true if we tried to bake in better support for refs today.
For more concrete examples:

Ref types today are insufficient for forwardRef
HOCs erase defaultProps
HOCs erase ref types

I will go into more detail in a blog post when we get closer to releasing these changes.

I think the magic defaultProps handling is backwards anyway - if you declare a class as
extends React.Component<Props>

then that class should match ComponentType. I think defaultProps shoul modify how the class accesses props internally, rather than override Props externally. That might be hard to change at this stage, though.

@jbrown215 I'd say that we don't really need defaultProps in function components for which memo is added. Default params in destructuring do its job just fine.
const Component = ({ a = 1, b = 2 }: { a?: number, b?: number }) => {
}

@TrySound: Even so, people do rely on defaultProps for functional components today. Making sure this change isn't breaking is one of my goals.


XIVY-3535 Use new user API in HtmlDialogDemo

HtmlDialogDemo has a deprecation warning: https://jenkins.ivyteam.io/view/Scrum Master/job/ivy-core_test-rcptt-windows-ci/job/master/101/artifact/test/designer-rcptt/target/results/images/  8.png
Build: https://jenkins.ivyteam.io/job/ivy-project-demos/job/feature%252FXIVY-3535_htmlDemo/

Looks good


Update version: klinker24.google-calendar-desktop version 1.7.1

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115072&drop=dogfoodAlpha

@wingetbot run


Give users the option to not display the total balance on the homescreen

What would you like?
Since adding the multi-token display the total balance is displayed on the home screen instead of in the side menu. This can be problematic if showing someone else the app will inevitably lead to showing others your total balance.
As a potential solution we should add a toggle in settings to hide the total balance amount on the home screen.
Why is this needed?
We have moved from the balance display from the home screen to the side menu and back again; now some users have feedback that displaying their total balance makes them less comfortable showing others Valora.

Closed by #4413 & #4431


Including respective header files in source files must use full directory

to include "math.h" in "math.c", it must be "#include "../include/maths.h" " instead of "#include <maths.h>"
should fix this, just because

fixed, had to add "-Iengine/include" into the compiler arguments


Button/IconButton: add "inverse" color option to Button and IconButton

As addressed in this slack thread, we would like to add a "dark" IconButton. To expand that further from today's Syntax meeting, we should have this for Button as well.

lgtm, thank you @zprong !!!!


Hello, I would have a Question.

I am modifying ImGui by myself. How much chance does this lower my risk of getting caught?
For example ;
ImGui::Checkbox | ImGui::Chi
ImGui::Button | ImGui::But
Would It Benefit Me?
I am waiting for your ideas.

It won't.

I used to use it like this. I have now updated the imgui version.
https://cdn.discordapp.com/attachments/616700990556733461/688327054877262038/Ekran_Alnts.PNG

because imgui is not exclusive to hacking it will probably not get detected (ever).
learn how the compiler works, changing function names won't do anything. the assembly output will be exactly the same.

I used to use it like this. I have now updated the imgui version.
https://cdn.discordapp.com/attachments/616700990556733461/688327054877262038/Ekran_Alnts.PNG

honestly, looks as trash.

the padding is inconsistent
the text is very close to clipping outside the bubble boxes (text needs to be verically centered)
the icons are of different sizes.

i do like the color scheme though, if you somehow centered the text verically and maybe horizontally then it could work.

Actually I Designed This Menu According To Customers' Desires But Your Ideas Satisfied Me.

I assume your question has been answered.


[BUG] The filter box of the vm list is not filtered correctly

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Go to Virtual Machines
Enter a character in the filter box and vm will be displayed even if no virtual machine has this character in its name

Expected behavior

vm list will be filtered correctly
Log

Environment:

Harvester ISO version:
Installation Mode: ISO/app-mode
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

@WuJun2016
all of columns is searchable by default, if we don't add the search: false for columns.
do we need to set columns to be unsearchable by default?

duplicate of https://github.com/rancher/harvester/issues/661

state is running with i.  The search result is expected.


Update Set-SPOTenant.md

updated Usefindpeopleinpeoplepicker parameter,  removed non security email text

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[vcpkg baseline] [itpp] Fix include directory

Relate to https://github.com/microsoft/vcpkg/pull/16309
Fix the failures:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FFT_INCLUDES (ADVANCED)
used as include directory in directory E:/vcpkg/clean/vcpkg/buildtrees/itpp/src/b46d048fa7-9444ef0e36/itpp
used as include directory in directory E:/vcpkg/clean/vcpkg/buildtrees/itpp/src/b46d048fa7-9444ef0e36/itpp

/azp run

Merging this without a full CI success due to infrastructure issues.