Question: Why the iso_url variable is set in two different files (Makefile and debianXX.json)?

Hi,
I don't understand why the iso_url is set at two different places:
In the Makefile, and pass to the -var option:
DEBIAN78_AMD64 ?= http://cdimage.debian.org/cdimage/release/7.8.0/amd64/iso-dvd/debian-7.8.0-amd64-DVD-1.iso
DEBIAN78_I386 ?= http://cdimage.debian.org/cdimage/release/7.8.0/i386/iso-dvd/debian-7.8.0-i386-DVD-1.iso
DEBIAN77_AMD64 ?= http://cdimage.debian.org/cdimage/archive/7.7.0/amd64/iso-dvd/debian-7.7.0-amd64-DVD-1.iso
DEBIAN77_I386 ?= http://cdimage.debian.org/cdimage/archive/7.7.0/i386/iso-dvd/debian-7.7.0-i386-DVD-1.iso
DEBIAN76_AMD64 ?= http://cdimage.debian.org/cdimage/archive/7.6.0/amd64/iso-dvd/debian-7.6.0-amd64-DVD-1.iso
DEBIAN76_I386 ?= http://cdimage.debian.org/cdimage/archive/7.6.0/i386/iso-dvd/debian-7.6.0-i386-DVD-1.iso
DEBIAN75_AMD64 ?= http://cdimage.debian.org/cdimage/archive/7.5.0/amd64/iso-dvd/debian-7.5.0-amd64-DVD-1.iso
DEBIAN75_I386 ?= http://cdimage.debian.org/cdimage/archive/7.5.0/i386/iso-dvd/debian-7.5.0-i386-DVD-1.iso
DEBIAN6010_AMD64 ?= http://cdimage.debian.org/cdimage/archive/6.0.10/amd64/iso-cd/debian-6.0.10-amd64-CD-1.iso
DEBIAN6010_I386 ?= http://cdimage.debian.org/cdimage/archive/6.0.10/i386/iso-cd/debian-6.0.10-i386-CD-1.iso

[…]

$(VIRTUALBOX_BOX_DIR)/$(1)$(BOX_SUFFIX): $(1).json $(SOURCES)
    rm -rf $(VIRTUALBOX_OUTPUT)
    mkdir -p $(VIRTUALBOX_BOX_DIR)
    $(PACKER_CMD) build -only=$(VIRTUALBOX_BUILDER) $(PACKER_VARS) -var "iso_url=$(2)" $(1).json

And directly in the .json file (for example: https://github.com/boxcutter/debian/blob/master/debian78.json#L168).
Regards,
Guillaume

Since the .ISO hashes are baked into the .json files, it doesn't need to be listed in the Makefile. Perhaps the thinking is that we'll add the hashes to the Makefiles, a la https://github.com/boxcutter/windows/blob/master/Makefile, so we could build with a different .ISO, such as http://cdimage.debian.org/cdimage/release/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso

Ok thx @rasa.


Fix typo in docs/user-guide/data-ingestion.md

What this PR does / why we need it:
Fixes a minor typo in the documenation.
Does this PR introduce a user-facing change?:

NONE

Thanks @SwampertX


GPII-2865: network policies yamls

Implement network policies as kubernetes objects
Note that this PR builds on top of https://github.com/gpii-ops/gpii-infra/pull/122 and only shows the delta on top of that other base PR.

We should know exactly what are the ports used for and if they need to be accessed and what from > (clients vs cluster nodes).
Chart exposes these:
           - name: couchdb
             containerPort: 5984
           - name: epmd
             containerPort: 4369
           - containerPort: 9100

@stepanstipl - Do you think the rspec tests (eg https://github.com/gpii-ops/gpii-infra/blob/03e3d4aa72b77ef0c9e0e080e28a68b5a582c87d/gcp/live/dev/spec/network_spec.rb), or some resultant test report from that execution might satisfy your statement?

@stepanstipl

We should create a default rule per namespace blocking all traffic. (And not relly on imho very strange behavior that traffic is allowed until there's actually a policy applied to the pod.)

There are some default rules that are already deployed here:
https://github.com/gpii-ops/gpii-infra/blob/f3ce8cb9822cb2444b4c3ee262cb2e4d0ff93bc2/gcp/modules/administration-tasks/administration-tasks/templates/networkpolicy.yaml

@stepanstipl

we should first specify intention based on understanding of what each of the ports are used for, implement network policies (which we can review based on the intent) and then potentially implement test to test those policies

I disagree with this. Writing the tests first allows for TDD-style:

Write the test.
See that it fails.
Write the implementation.
See that the test passes.

This "guarantees" that the tests are correct and that the implementation is the minimum needed to make the tests pass.
This is one reason why I'm fine with keeping the details (port NNNN is the Foo port for component Bar) in the tests rather than in the implementation. Someone looking to change the behavior will start by modifying the test.

@stepanstipl

we should first specify intention based on understanding of what each of the ports are used for, implement network policies (which we can review based on the intent) and then potentially implement test to test those policies

I disagree with this. Writing the tests first allows for TDD-style:

Write the test.
See that it fails.
Write the implementation.
See that the test passes.

This "guarantees" that the tests are correct and that the implementation is the minimum needed to make the tests pass.
This is one reason why I'm fine with keeping the details (port NNNN is the Foo port for component Bar) in the tests rather than in the implementation. Someone looking to change the behavior will start by modifying the test.

We need to differentiate here - the tests don't test that the rules are correct, but rather that they are in effect. IMHO those are two different things.
Couple of examples where this is not sufficient:

Above is a good example - tests would probably pass, but the policies are way too open - whole <IP_ADDRESS>/24 range is allowed. We don't test access from the nodes, we don't tests access from any other pods but the gpii namespace and more.
Another example - imaging adding a port and policy allowing traffic for that. The tests would still pass, as they only tests couple of static ports, but not whether there's nothing more open. Yet still potentialy sensitive port would be exposed.
Last one - the tests do not differentiate whether the traffic should be really allowed from clients, other nodes or both.

The tests only test that the policy is in effect, not that it's correct. Therefore I would like to see, and this can be very simple, list of ports and what needs to access those and why.


Error listening for ICMP packets: listen ip4:icmp : socket: too many open files

when ping many ip address，appear this issure。

You need to increase your open file limit, here's a guide how to do that in linux: https://www.tecmint.com/increase-set-open-file-limits-in-linux/


Coverpkg doc (Issue #25) plus other helpful info

Added explanation of how to use the coverpkg flag, codecov example, and links to coverage issues with goveralls and codecov. Overall my hope is that people will see this tool as a reliable way to get coverage considering how many inconsistencies there are with other tools (and general confusion around golang code coverage).

@cdennison thank you sooo much!!! 😄


Fix condition for patching

This was inverted.

This script creates the file though? With the current state of things, it will never actually get created.

The patching is done in potentially 2 steps, the first step is replacing node, the second is patching any binaries if FHS isn't used. The first already creates this file, so we know the first step has already been done:
https://github.com/msteen/nixos-vscode-server/blob/57f1716bc625d2892579294cc207956679e3d94c/pkgs/auto-fix-vscode-server.nix#L132


Fix issues found by mypy checks

PR #127 for issue #57 added checkmypy build task and CI job. That job found issues that need to be resolved.
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:4: error: Skipping analyzing "pyqir.parser._native": module is installed, but missing library stubs or py.typed marker
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:4: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:607: error: Incompatible types in assignment (expression has type "QirType", variable has type "None")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:608: error: Incompatible return value type (got "None", expected "QirType")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:940: error: Incompatible types in assignment (expression has type "List[QirInstr]", variable has type "None")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:941: error: Incompatible return value type (got "None", expected "List[QirInstr]")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:950: error: Incompatible types in assignment (expression has type "QirTerminator", variable has type "None")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:951: error: Incompatible return value type (got "None", expected "QirTerminator")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:962: error: Incompatible types in assignment (expression has type "List[QirPhiInstr]", variable has type "None")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:963: error: Incompatible return value type (got "None", expected "List[QirPhiInstr]")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:998: error: Incompatible types in assignment (expression has type "QirType", variable has type "None")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:999: error: Incompatible return value type (got "None", expected "QirType")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:1028: error: Incompatible types in assignment (expression has type "List[QirParameter]", variable has type "None")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:1029: error: Incompatible return value type (got "None", expected "List[QirParameter]")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:1037: error: Incompatible types in assignment (expression has type "QirType", variable has type "None")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:1038: error: Incompatible return value type (got "None", expected "QirType")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:1046: error: Incompatible types in assignment (expression has type "List[QirBlock]", variable has type "None")
/home/runner/work/pyqir/pyqir/pyqir-parser/pyqir/parser/_parser.py:1047: error: Incompatible return value type (got "None", expected "List[QirBlock]")
/home/runner/work/pyqir/pyqir/pyqir-evaluator/pyqir/evaluator/_nonadaptiveevaluator.py:5: error: Skipping analyzing "pyqir.evaluator._native": module is installed, but missing library stubs or py.typed marker
Found 18 errors in 2 files (checked 10 source files)

Hi @idavis, you can assign me.


ENYO-1129: Accessibility: Readout text when focus on moonstone compon…

…ents
According to TV UX for accessibility, it should read label out when
spotlight focused.  The label can be read when control has webkit focus,
so add tabindex='0' and set webkit focus in onSpotlightFocused.
https://jira2.lgsvl.com/browse/ENYO-1129
Enyo-DCO-1.1-Signed-off-by: Jaewon Jang<EMAIL_ADDRESS>

This PR is related to https://github.com/enyojs/enyo/pull/1148.
When control has spotlight, screen reader will read aria-label.


Missing aar file for 1.3.0 in Maven Central

Summary
The aar for version 1.3.0 is missing on Maven: https://repo.maven.apache.org/maven2/com/google/maps/android/android-maps-utils/1.3.0/
The checksum files appear, but not the aar file itself.
On the other hand the aar file does exists for v3:
https://repo.maven.apache.org/maven2/com/google/maps/android/android-maps-utils-v3/1.3.0/
Expected behavior
aar should be present on Maven central for stable version too
Observed behavior
aar is only present for v3 variant of the library

Thanks for reporting. I'm working on publishing 1.3.1 to address this.

1.3.1 has been published and should have the appropriate aar files attached. Please use that version instead.


[C#][FlightRPC] incompatible with java client for empty record batches

An error has been found when one sends an empty record batch from C# server and tries to read it with the java client.
From investigation the java client requires the protobuf tags to be sent in the message even though it is empty. Java code can be seen here:
https://github.com/apache/arrow/blob/master/java/flight/flight-core/src/main/java/org/apache/arrow/flight/ArrowMessage.java
Line 257-301 (the error is that it wont accept a null body for a record batch)
Normal functionality of gRPC is to exclude the entire tag if an object is empty, example code from generated csharp:
if (DataBody.Length != 0)
{ output.WriteRawTag(194, 62); output.WriteBytes(DataBody); }
To fix this so the csharp version is compatible with the java client requires a non empty flight data body must be sent or at least the tag of the body.
Reporter: Alexander / @Ulimo
Related issues:

[C++][FlightRPC] Missing protobuf data_body should result in default value of empty bytes, not null (is related to)
[Java][FlightRPC] FlightData deserializer should accept missing fields (is related to)

Note: This issue was originally created as ARROW-10939. Please see the migration documentation for further details.

Closing this issue as the problem seems to have been identified as being on the Java (and C++) sides.


Distributing ngdocs for use in pf.org

Checking in the following additional 'dist/doc' directories:
dist/docs/css
dist/docs/js
dist/docs/grunt-scripts
dist/docs/partials
These artifacts will be utilized by pf.org v2 to show angular-patternfly ngdoc partials within the new pf.org site.

LGTM


Draft Prototype UML diagram and plan the basic mathods, most significant functions of each classes

start considering the UML


FAST-Simulink Rapid Accelerator mode

I am having issues trying to run the 'openloop.m' Simulink example in rapid accelerator mode. (runs fine in normal mode).
Initially I received an error due to the use of the 'mexPutVariable' function within the s-function. I commented out the lines that use this function (lines 207-245 in FAST_SFunc.c) and set the variables that were being output within the Simulink model workspace. The Simulink model will now build/compile and run but it only completes for very short simulations. It gets stuck for longer simulations, for example, it will get 20 seconds into a simulation and then hang. No error messages are output. Everything works fine in normal mode.
Have you tested the s-function for use in Simulink's rapid accelerator mode/for code generation?
Any help is much appreciated!
I am using MATLAB 2020b and Windows 10.

Which version of OpenFAST are you running?

I am using version 2.5.0

We have not done much testing with the Simulink accelerator mode.  I'm not familiar with it or what it does.


[BUG REPORT]

Buttons Relation
responsive bug in mobile
Bug Description
As u can see in the image exist a left margin that in mobile view push to the right the page.

Expected Result
Left margin should be removed. The page must be centered
Additional Information
No response
Images
No response

Related to #78

closing as duplicate


Add explicit statement in README.md for installing the required version of PyTorch

Fixes #47
Installing the (nightly) 2.5.0 version of PyTorch first before the other dependencies are installed. Otherwise, the current stable version of PyTorch (2.4.1) is installed by default.
To avoid that scenario, I am adding an explicit pip statement to install the PyTorch 2.5.0 nightly version first before anything else.

Left a comment on the issue, but we already have this in warning. We can bump the toml depedency to be >2..5 once it this version is officially released. The RC is in process of being pushed


Add file connector helpers

Add some file connector helpers:

[ ] Download file

always into inbox

[ ] Upload file

Configure location and filename pattern to pick up files to upload
Configure service endpoint / Ginger Node Name
Configure protocol http(s) / (s)ftp

[ ] Rename file

Configure read location / filename pattern and write location filename template

[ ] Zip files

Configure read location / filename pattern and write location filename template

[ ] Clean up location

Configure location to clean up and filename pattern

[ ] Add standard file upload endpoint

always into inbox
trigger process if configured filename pattern matches

Depends on #25


Add more info on how code gets into prod

We can base this on the info in https://github.com/deptofdefense/dds/blob/master/howto/website_deploy.md

@ptzimmerman hey pete! since jordan is gone wondering if you have info about what this issue is about? just a documentation thing for current site?

I think this is great documentation to include in our release of v2. Tagging @jhackshaw-dds and myself here.


requests.exceptions.ConnectionError

when running for large-sccale image download, one might come up with an requests.exceptions.ConnectionError
Error message:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='t0.tiles.virtualearth.net', port=80): Max retries exceeded with url: /tiles/a12020330203220030.png?g=854&mkt=en-US&token=your_token(Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff69bf7ecf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
44%|███████████████████████ | 11394/26174 [15:14<19:45, 12.47it/s]
Potential solution:
add request status check and random sleep

when running for large-sccale image download, one might come up with an requests.exceptions.ConnectionError
Error message:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='t0.tiles.virtualearth.net', port=80): Max retries exceeded with url: /tiles/a12020330203220030.png?g=854&mkt=en-US&token=your_token(Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff69bf7ecf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
44%|███████████████████████ | 11394/26174 [15:14<19:45, 12.47it/s]
Potential solution:
add request status check and random sleep

Notice not to put your token in your issue. I just modified it for you.
Please put your config. I will reproduce your error and fix it.

when running for large-sccale image download, one might come up with an requests.exceptions.ConnectionError
Error message:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='t0.tiles.virtualearth.net', port=80): Max retries exceeded with url: /tiles/a12020330203220030.png?g=854&mkt=en-US&token=your_token(Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff69bf7ecf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
44%|███████████████████████ | 11394/26174 [15:14<19:45, 12.47it/s]
Potential solution:
add request status check and random sleep

Notice not to put your token in your issue. I just modified it for you.
Please put your config. I will reproduce your error and fix it.

Here is the config I used:
project:
name: DE_wastewater
workspace: ./DE_wastewater
project_time: 2020-07-21
task: segmentation
osm:
api: ohsome
url: https://api.ohsome.org/v1/elements/geometry
bboxes: [5.872,47.270,15.038,55.057]
tags:

{'label': 'wastewater', 'key': 'man_made', 'value': 'wastewater_plant'}

timestamp: 2019-10-20
types: polygon
image:
img_api: bing
img_url: http://t0.tiles.virtualearth.net/tiles/a{q}.png?g=854&mkt=en-US&token={token}
api_token : ''
zoom: 17

Fixed. See ff3a50da9db2fd90637226a02eda4e6f939a8790.
If it works, please close the issue.

thanks, the issue is fixed


Test edits

To test GitHub Actions.

trigger

trigger

‼

‼

‼

‼

💥

💥

💥

https://github.com/auxesis/hugo-gh-actions/suites/850933167/artifacts/9695299


Propagate the authority pseudoheader

Motivation:
We should be sending the ":authority" pseudoheader, somehow this was missed when doing the stream state machine.
The strategy for propagating the authority will be to:

Use any override value set on the client transport, otherwise
Use the value provided by a name resolver (if any), otherwise
Derive a value from the target address.

Modifications:

Add client config allowing the authority to be overridden
Add authority to the name resolver interface
Propagate the authority through to the stream state machine
Add a percent encoder, as the authority should be percent encoded
Remove hostname from the client TLS config and use the authority instead. This is generally a usability win as clients generally won't have to set this value themselves.

Result:
Authority is set automatically, and can be overridden if necessary.

API breakage is expected and okay.


Question: How is Microsoft Ensuring WinUI 2.x and WinUI 3.x Code is in Sync

I've seen a few times examples where things are fixed in WinUI 2.x/Windows yet the issue occurs again in WinUI 3.x or vice-versa. Managing two code bases with changes that need to apply to both is extremely difficult to do manually. How is Microsoft managing this? My concern is if some automated tools/checks aren't in place we are going to have lots of mismatches in code for the next 1+ year as WinUI 2.x and WinUI 3.x are supported simultaneously. This is going to be very frustrating and time-consumer for developers in the edge cases.
Examples:

https://github.com/microsoft/microsoft-ui-xaml/pull/2046#issuecomment-660726114
https://github.com/microsoft/microsoft-ui-xaml/issues/477#issuecomment-648758771

I'm sure there are several more cases.

I'd hope they'd have a converter that takes the code, find and replace the name spaces and put them in WinUI 3.

@robloo we are doing a semi automated merge from WinUI2 (at certain points like stable release or pre-release commits) to WinUI3 branch before each WinUI3 preview. Both trains are moving so there is going to be some delay between a fix going into Winui2 and it showing up in WinUI3 (in the next preview).

Glad to hear this is somewhat automated.
I'm assuming WinUI 3.x is considered the main code and all WinUI 2.x changes by the community are fed into it before a major release (in an automated way). WinUI 3.x changes useful for WinUI 2.x are then cherry picked manually as they are needed.
If so, adding the version of WinUI 2.x pulled in for each WinUI 3.x release should be enough going forward.

I'm going to close this as the version of WinUI 2.x used for the WinUI 3.0 preview is added (pictured below). I'm also glad there is a somewhat 'automated' method of syncing changes -- although I suspect it's not perfect like all things. Regardless, I can't think of any benefit keeping this issue open.


Term metadata changes in the Substantive Editorial Errata category (review required)

Section 3.2 of the TDWG Vocabulary Maintenance Specification indicates that some errors could potentially compromise the usefulness or accuracy of systems based on the vocabulary. In that situation, the Maintenance Group should initiate a public comment period and seek an Executive decision prior to initiating the change.
I would construe this category to include changes to normative parts of the documentation or term definitions that could have a significant impact on how the terms are used.
This issue is a placeholder for tracking proposed term changes that fall into this category.

The following proposed changes probably fall into this category and are numbered in a Google doc (with commenting enabled).
14, 15, 16, 17, and 18


Camera panning

See #23 for context.
Essentially, have players control a camera in addition to their characters. The camera can move at any point, meaning that we should actually be caching the results of the raytrace. It should also be modified to have a max view distance (i.e. using Ray.intensity). The rendering function also happens to be position-agnostic, meaning that it really doesn't care where you're rendering in the dungeon. Literally all that's needed for this to work is a variable in the dungeon to keep track of camera location, and commands to modify said variable.

f735ab5cce10f9ee4742b6c85f527414d91bc398 partially implements this through Dungeon.render_origin.

4365f4febeb06668b75ecab72fa92312b49ec3da guarantees that a 9 × 9 view is always possible.


Notification bar above full-screen Announcements.

@aleffert pl review.

Just fix those two things and we're good to merge. :+1: Though it'd be great to have a screenshot in the PR.

I'll add one in the morning, and we can merge it tomorrow

@aleffert please check.

@ehmadzubair looks good. The subtle difference in the white backgrounds between the navigation section and the switch section will probably need to be fixed, but we'll do a polish pass with design later.


[Event request] report 11000012 "SEPA ISO20022 Pain 01.01.03" OnBeforeDownloadHandler

Report 11000012 "SEPA ISO20022 Pain 01.01.03" creates a SEPA file and downloads it immediately. Some of our customers do not want the generated file to be downloaded immediately. Instead they want the file to be saved somewhere in order for someone else to submit it to the bank. We would like an event to be added just before the line below that contains a stream of the output file. This would allow us to save the file. The line below should not be executed if the event handles the output file.
FileMgt.DownloadHandler(ServerTempFileName, '', '', '', ExportFileName);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 42232.


6.1.0版本iOS 模拟器依然不支持

6.1.0版本iOS 模拟器依然不支持
怀疑是不是因为我的电脑是老电脑
xcode是13版本导致的
是不是xcode 14就支持模拟器
Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/92/hrf0k2k13zg1w102xhq1p6480000gn/T/flutter_tools.HmavsX/flutter_ios_build_temp_dirIcmwlX/temporary_xcresult_bundle

    /Users/zz/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/ios/Classes/VideoViewController.mm:4:9: fatal error: 'AgoraRtcWrapper/iris_engine_base.h' file not found
    #import <AgoraRtcWrapper/iris_engine_base.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    error: the following command failed with exit code 1 but produced no further output
    CompileC /Users/zz/Library/Developer/Xcode/DerivedData/Runner-gnbqlsjefsbevucbfnoywmqrtxza/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/agora_rtc_engine.build/Objects-normal/x86_64/TextureRenderer.o /Users/zz/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/ios/Classes/TextureRenderer.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'agora_rtc_engine' from project 'Pods')
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order
    /Users/zz/Documents/Projects/Flutter/xx/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'AgoraIrisRTC_iOS' from project 'Pods')
    /Users/zz/Documents/Projects/Flutter/xx/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'AgoraIrisEventFlutter_iOS' from project 'Pods')
    /Users/zz/Documents/Projects/Flutter/xx/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'AgoraRtcEngine_iOS' from project 'Pods')

    Result bundle written to path:
    	/var/folders/92/hrf0k2k13zg1w102xhq1p6480000gn/T/flutter_tools.HmavsX/flutter_ios_build_temp_dirIcmwlX/temporary_xcresult_bundle

Lexical or Preprocessor Issue (Xcode): 'AgoraRtcWrapper/iris_engine_base.h' file not found
/Users/zz/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/ios/Classes/VideoViewController.mm:3:8

Lexical or Preprocessor Issue (Xcode): 'AgoraRtcWrapper/iris_video_processor_cxx.h' file not found
/Users/zz/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/ios/Classes/TextureRenderer.mm:2:8

Could not build the application for the simulator.
Error launching application on iPad Pro (12.9-inch) (5th generation).

Which flutter SDK version you used?
Our integration test is run on xcode 13 and it works fine, I think you can try running flutter clean first.

/Users/zz/Documents/Projects/Flutter/xx/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'AgoraRtcEngine_iOS' from project 'Pods')

[✓] Flutter (Channel stable, 3.3.10, on macOS 11.7.2 20G1020 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.3.10 on channel stable at /Users/zz/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (12 days ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/zz/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • iPad Pro (12.9-inch) (5th generation) (mobile) • 1458A9E6-5B68-48D4-8D45-11F59BCC93BD • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)                                • macos                                • darwin-x64     • macOS 11.7.2 20G1020 darwin-x64
    • Chrome (web)                                   • chrome                               • web-javascript • Google Chrome 108.0.5359.124

Maybe you can try adding this config to your Podfile.
https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/issues/727#issuecomment-1202875328

谢谢 加了之后果然好了


Instant feedback of answer

Is there a feature available to show correct answer on submission of each answer.
It will be helpful for interactive learning so that user don't have to wait to complete all the question to get correct answers.

Not yet, but I would accept a PR implementing this feature.


Feature Request: How to forward some semi-dynamic requests while blocking network access

Background:
We ran into an interesting limitation the other day with our Jambox and Next.js setup, and wanted to get some insight / propose some options for what we think could unblock us.
The Next.js setup involves running two processes: An outer-shell reverse proxy that is a plain old express application (runs some middleware, fetches some data, etc) and then proxies to the second process which is Next itself. The express layer is running on port 3000 and the Next layer is running on port 3001.
Our Jambox config already forwards page requests to the underlying server running on port 3000, however we first run into an error about the proxied request to localhost:3001 not being cached.
We can add localhost:3001 to our forward config in the jambox.config.js file to get past this. However - Next is being a pain and running more servers behind the scenes to manage rendering the experiences (either via RSC or regular pages), and importantly these other servers are running on ports that are unknown to us.
If I launch the experience, and grab the localhost port that the underlying internal Next server is launching and put that in our forward config - it seems to start working - however, restarting the Next process will cause it to launch the process on a different port the next time so it's not consistently using that same port.
Ideas:
We were wondering if we could possibly support either:

Looser matches on the keys in the forward config (in our case, dropping the port), but still forward to the same port based on the target config

e.g.
module.exports = {
  forward: {
    'some-site.com': {
      target: 'localhost:3000'
    },
    // match requests for localhost with any port
    // actual syntax could change
    'localhost:{*}': {
      // RegEx-like syntax to use the capture groups in the `forward`ed origin
      target: 'localhost:{$1}'
    }
  }
}

Or, like #34, support a function for the forward config, which could allow for a lot more dynamic behavior if desired

I'll work on creating a simplified reproduction of the issue also!

Fixed in 0.1.1


How to use ModelSchema to create a dynamic model based from a exist Abstract Model?

Here is my scenario:
I want to create task table for every user, since each user may add this own dynamic fields.
def create_task_list(request):
    schema = ModelSchema.objects.create(name=f"task_{request.user.id}")
    # create common fields
    FieldSchema.objects.create(model_schema=schema, name="status", data_type="character")
    ...also create comma fields like create_datetime, user, update_datetime...
    # create user fields
    for field in request.POST['fields']:
        ...

How can I create an abstract model like
class TaskModel:
    status = models.CharField()
    create_datetime,

and use this model as a baseclass to create dynamic model like:
def create_task_list(request):
    schema = ModelSchema.objects.create(name=f"task_{request.user.id}", base_model=TaskModel)

    # create user fields
    for field in request.POST['fields']:
        ...

I reviewed the source code of dynamic-models, the factor will use the config.default_fields, but this will change behaviour for all dynamic models. But I only want the user's personal task to inherate TaskModel.


Firefox 102 ESR shows warning / option "notify_esr" has no effect

With the newest Firefox ESR Version we get an "browser out of date" warning.
Our config:
{required:{e:-2,f:-2,o:-2,s:-2,c:-2},insecure:!0,unsupported:!0,api:2021.11,reminder:0,reminder:168,newwindow:!0}
We tried the "notify_esr" option, but it seems to have no effect, the warning always shows:

notify_esr: true --> warning still shows
notify_esr: false --> warning still shows
notify_esr --> not set, defaults to false --> warning still shows

I would expect, if notify_esr is set to false, not to see the warning in Firefox 102 ESR.
Am i missing something or might this be a bug?


ShowIf not updating until inspector refreshes

I have a monobehaviour with an array of structs.
The struct has an enum and a float.
The float has a ShowIf attribute for when the enum is a certain value.
When changing the enum, the visibility of the float does not change until I select a different element and then reselect the original (refreshing the inspector).
ShowIf is the only attribute on the float.

Hi, thanks for reporting.
I have trouble re-produce this issue with the following setup:
public class Issue29 : MonoBehaviour
{
    [Serializable]
    public enum Toggle
    {
        Off,
        On,
    }

    [Serializable]
    public struct MyStruct
    {
        public Toggle toggle;
        [ShowIf(nameof(toggle), Toggle.On)] public float value;
    }

    public MyStruct[] myStructs;
}

https://github.com/TylerTemp/SaintsField/assets/6391063/6b18ea3c-d134-4e5d-8b6f-17b4ef96ff78
Unity: 2022.2.0f1
Can you share more so I can reproduce it? Maybe a small piece of example code?

Using your provided code, I get the same issue. I'm using 2022.3.20f1.
I did previously have NaughtyAttributes installed but it is not longer. Odin is also not installed.
https://github.com/TylerTemp/SaintsField/assets/15408031/fc3fb773-26b8-49ef-9232-d525a13cd801

I do manage to reproduce the issue. I both fresh-installed 2022.3.20f1, but on my company's computer (win10) it just works fine, and on my home PC(win11) the bug is there.
The C# reflection function just failed to report a correct value, that's a very weird issue.
Well, this issue seems to require more time to solve (((

Hi, @Gizzmicbob
Please check if it has been fix in 3.0.10

This issue is closed as fixed. If you still have this issue, please comment below and I'll open it.

Sorry, forgot to respond. From a brief look, it does appear to have resolved the issue. Thanks


Missing Save Button

The "Save Changes" Button is missing in the v0.10a-r1 from https://www.nexusmods.com/cyberpunk2077/mods/718?tab=files
Please look into this.

Duplicate of #12, #33, #53, and #69.


Source Map missing

Are you able to publish a new version with the sourcemap for dist/index.js included?
Thanks

v3.1.6 now includes the source map.


Update (functional) tests directory

Updated ./test/functional to:

use command line arguments to configure tests
use ctr.exe to find the layer path for images
use a client to interact with containerd directly

Moved out utilities and manifest from ./test/functional into ./test/testutil

better delineate between utilities and tests
factor out common code needed across functional and cri-containerd tests

Moved schema test from test/internal into internal/schemaversion,
and added test/testutil/manifest as an import dependency to get OS
version. Removed internal from github actions testing
Updated module paths to point to correct test folders

Why is this a draft PR?

Why is this a draft PR?

I am not sure if the code restructure will simplify things or make testing more difficult in the future, because of the potentially cyclic relationship between hcsshim tests and the tests dir.
Plus, I will likely start pulling things out of cri-containerd and move them into testutil as I come across them

@helsaawy could we break anything out of this draft that we definitely want and PR those?

in favor of #1351 and #1352


Tutorial upgrade to oscommerce <IP_ADDRESS>

Hi,
This tutorial is perfect: https://github.com/osCommerce/oscommerce2/commit/784144ad78c6d358da6b76570def4f2c9f94b0b7#diff-359215d6efaf57b13f3211407e3312f6L394
Do you have the tutorial for upgrade to the version <IP_ADDRESS> ?
Thank you.

Please check the releases notes here:
https://library.oscommerce.com/Online&en&oscom_2_3&release_notes


Translation: Galician

Hello!
I would like help translating Vienna to Galician. Could I try?
I'm an absolute newbie, so I would like to learn and help. I could also help with Spanish.

Thanks for volunteering ! Yes, you can try, it will be very appreciated.
The bad news is that we are currently changing things in our architecture, so it is not the best time to start a new translation.
The good news is that the new architecture will make translations much easier !
You can start anyway, but I suggest you only change one file for the time being, Localizable.strings :

learn a bit about Git and read these advices
checkout a new branch from master
in the lproj folder, duplicate one of the existing subfolders to a gl.lproj folder (gl is the code for Galicean). I don’t know if starting from the Spanish version to build the Galicean version is a good idea or not.
inside the new gl.lproj folder, modify the Localizable.strings file.

You will need a text editor supporting the UTF-8 encoding. I use TextWrangler, as it is free.
I will get back to you soon for the other parts of the translation.

Perfect!
Thank you so much!

I'm translating that file right now. Before reading your answer I had already translated other files...
https://github.com/leitinha/vienna-rss/tree/master/lproj/gl.lproj
(I dit not duplicate folders to know exactly what I've done)

@leitinha hi! For the Preferences window there are more strings files in the Interfaces/Preferencesfolder if you would like to translate those as well.
Thanks!


Error generating code: Failed at backend server stating — The model gpt-4-vision-preview does not exist

Error on backend: gpt-4-vision-preview does not exist or you dont have access to it.

Any idea how to resolve this error?

You need to buy at least 1$ of credit in https://platform.openai.com/account/billing/overview to enable the models for API usage.


Reward Model

Dear Author, If I don't want to train a reward model by myself, but directly use the value returned by some api as the reward value, which files should I modify? Thank you for your help in advance!

https://github.com/hiyouga/LLaMA-Factory/blob/3743b7420b823c5a56aef6100121d89b677ffb0e/src/llmtuner/tuner/ppo/trainer.py#L115

I understand roughly. Is it just a matter of training a random reward model as a placeholder and then calling the api in the line you mentioned?

sure you can


Data import between Zulip servers doesn't properly handle FillState

If you've exported data from an empty Zulip server and then import it into another empty Zulip server, you'll get the following exception when manage.py update_analytics_counts return: runs:
Traceback (most recent call last):
  File "/home/zulip/deployments/2019-11-22-09-58-06/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/home/zulip/deployments/2019-11-22-09-58-06/zerver/lib/db.py", line 32, in execute
    return wrapper_execute(self, super().execute, query, vars)
  File "/home/zulip/deployments/2019-11-22-09-58-06/zerver/lib/db.py", line 19, in wrapper_execute
    return action(sql, params)
psycopg2.IntegrityError: duplicate key value violates unique constraint "analytics_usercount_user_id_property_subgrou_0597562a_uniq"
DETAIL:  Key (user_id, property, subgroup, end_time)=(9, messages_sent:is_bot:hour, false, 2015-11-25 11:00:00+00) already exists.

The issue is that the RealmCount, UserCount, etc. analytics tables were imported, but the global FillState table that is supposed to keep track of which CountStat objects from analytics/lib/counts.py have been properly updated cannot be readily imported in the general case, precisely because it is global.  (The server we're importing into might be behind or more likely ahead of the server we're importing from, so there's no natural way to just copy the table).
There's a few things we can do to fix this:

[ ] In the common case where the new server is currently empty, we can just export and then import FillState from the old server, as a quick partial solution.
[ ] In the more general case, what we probably want to do is export FillState and then write a bit of code at the end of the import_realm to compare the old server's FillState to the new servers'.  We can then do some of the following:

[ ] If the old server is ahead, we can either delete any entries from the imported realm's analytics tables
[ ] If the new server is ahead, there are a few options.  The best is probably to extend the CountStat queries in analytics/lib/counts.py to support passing a Realm argument to process_count_stat, which would cause that logic to run for just the target realm, and then have a little loop catch up the newly imported realm.  Effectively, we'd need to support this alternative version of each of the queries we define:

diff --git a/analytics/lib/counts.py b/analytics/lib/counts.py
index 85761a8260..d924300cd8 100644
--- a/analytics/lib/counts.py
+++ b/analytics/lib/counts.py
@@ -296,6 +296,7 @@ count_message_by_user_query = """
     WHERE
         zerver_userprofile.date_joined < %%(time_end)s AND
         zerver_message.date_sent >= %%(time_start)s AND
+        zerver_userprofile.realm_id = %%(realm_id)s AND
         zerver_message.date_sent < %%(time_end)s
     GROUP BY zerver_userprofile.id %(group_by_clause)s
 """

I think the right way to arrange that is to change the structure a bit to make e.g. count_message_by_user_query into a function like this:
def count_message_by_user_query(realm: Optional[Realm]) -> str:
    if realm is None:
        realm_clause = ""
    else:
        realm_clause = "zerver_userprofile.realm_id = %%(realm_id)s AND"
    return """
    INSERT INTO analytics_usercount
        (user_id, realm_id, value, property, subgroup, end_time)
    SELECT
        zerver_userprofile.id, zerver_userprofile.realm_id, count(*),
        '%(property)s', %(subgroup)s, %%(time_end)s
    FROM zerver_userprofile
    JOIN zerver_message
    ON
        zerver_userprofile.id = zerver_message.sender_id
    WHERE
        zerver_userprofile.date_joined < %%(time_end)s AND
        zerver_message.date_sent >= %%(time_start)s AND
        {realm_clause}
        zerver_message.date_sent < %%(time_end)s
    GROUP BY zerver_userprofile.id %(group_by_clause)s
"""
```.format(realm_clause=realm_clause)

and doing the plumbing to support passing a `realm_id` through the flow.

I like that option because we may eventually have other uses for running these analytics update operations on a single realm, so the plumbing work we'd be doing would potentially have some future value as well.

@zulipbot claim

@zulipbot still working

@zulipbot claim

@zulipbot abandon


Leave as-is crashes - exit code 1

When choosing an existing version (leave as-is in the menu) the app crashes as Git fails to commit without any changes:
$ bump prompt --commit --tag --push --preid r

?
The current version in package.json is 0.2.0
How would you like to bump it? leave as-is (0.2.0)
ℹ package.json did not need to be updated
ℹ package-lock.json did not need to be updated
git commit --message "release v0.2.0" exited with a status of 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>bump: `bump prompt --commit --tag --push --preid r`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>bump script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/x/.npm/_logs/2019-11-15T11_33_15_429Z-debug.log
ERROR: "bump" exited with 1.

In this case, version 0.2.0 has already been released and I simply wanted to leave the version as-is during deployment to another location.
Suggested fix: If a user selects leave-as-is, all other operations should be bypassed (git etc.) - Maybe process.exit(0)?

Seems that this is still an issue:

I believe it's caused by the lack of checking which choice was made when selecting a version, as processing just continues here: https://github.com/JS-DevTools/version-bump-prompt/blob/19cce02575867c9173ed8314e53f1425747934b8/src/version-bump.ts#L61-L68
The versioning choice should be checked, and operations like git etc. should be skipped, in my opinion. Of course leave-as-is will always have such an issue with git as tags will always exist.. so the only option I believe is to skip these calls.

The "leave as is" option was added because some people wanted Version Bump Prompt to do all the other stuff that it normally does (update other files, git commit, tag, push, etc.) even if the version number didn't change.  That's why none of that stuff gets skipped when "leave as is" is selected.
I think the right workaround here is to add code to run "git status" first before running "git commit".  If "git status" indicates that there are no changed files, then "git commit" would be skipped.

Also good to check if the current commit is tagged, perhaps git describe --exact-match HEAD helps here. But perhaps this can be entirely avoided by checking the commit status, as you mentioned.


Upgrade json-schema-to-typescript

Link to reproduction
<EMAIL_ADDRESS>Environment Info
3.0.0-beta.95

Describe the Bug
Upgrading would drop 14 dependencies:
<EMAIL_ADDRESS>- 51 dependencies
https://npmgraph.js.org/?q=json-schema-to-typescript - 37 dependencies
Reproduction Steps
<EMAIL_ADDRESS>Adapters and Plugins
No response

Thank you! Closed by https://github.com/payloadcms/payload/pull/7938

wow! amazing! thank you for the super fast turnaround on this
the other one I was going to ask about was pinot + pinot-pretty. I think that they're probably responsible for about 1/3 of the dependencies in payload 3, which seems like quite a lot for a logging library. I don't have a specific recommendation on that, but wonder if there might be any lighter-weight alternatives?

wow! amazing! thank you for the super fast turnaround on this

No, thank you for bringing this to our attention! Also just dug around our package.json a bit more - managed to also decrease the total install size of the payload package + its dependencies from 123 MB to 34 MB. The leaner we keep this package the better!

the other one I was going to ask about was pinot + pinot-pretty. I think that they're probably responsible for about 1/3 of the dependencies in payload 3, which seems like quite a lot for a logging library. I don't have a specific recommendation on that, but wonder if there might be any lighter-weight alternatives?

This one will be trickier. Definitely a breaking change since we expose our logger, including the pino options, to our users. This will be especially bad for users that add their own pino transports. For example, I'm using a pino transport to automatically upload my logs to axiom.
An alternative logging library would also need to produce JSON logs (which is essential for being able to filter logs). + pino claims to have a very low performance overhead - would have to make sure an alternative library doesn't decrease speed in favor of dependency count.

An easier one to tackle might be https://github.com/bcherny/json-schema-to-typescript/issues/623. The author of that library was initially reluctant, but said if there was significant interest from others, they'd be open to making the change
I was also curious why pinned package versions are used as prefixing all packages with ^ may allow for better deduping

Also just dug around our package.json a bit more - managed to also decrease the total install size of the payload package + its dependencies from 123 MB to 34 MB.

Amazing!! Definitely tell your boss :laughing: Seriously I looked at all the CMS and payload was already the lightest and I think it can get even further ahead, which will be a great line in the release announcement

This one will be trickier...

Thanks for sharing! That makes sense. Maybe the easier thing then would be to see if pino/pino-pretty could remove their dependency on readable-stream

An easier one to tackle might be https://github.com/bcherny/json-schema-to-typescript/issues/623. The author of that library was initially reluctant, but said if there was significant interest from others, they'd be open to making the change
glob is responsible for 26 out of 37 dependencies for this library

Crazy! Hoping for that to be resolved soon. Lmk if I can help make a PR for this library, but I'd like to hear what the author has to say first regarding which glob library they prefer.
One thing we'll be looking into is replacing the react-select package from @payloadcms/ui - which is most of payload's admin panel. Looking at npmgraph, it's responsible for most of our total dependencies, which is insane given that it's just one single component.

I was also curious why pinned package versions are used as prefixing all packages with ^ may allow for better dedupin

We've experienced a lot of stability issues in our package.json due to carets. We've had packages we depend on release broken updates or make breaking changes (sometimes masked as bug fixes) in patch versions.
When this happened, fresh installs (or re-installs after deleting the lockfile) of payload just stopped working overnight—all because the caret pulled in the latest versions automatically.
To mitigate this, we've started specifying exact package versions to maintain better control over our dependencies. Well, we still face potential issues with peer dependencies of our dependencies, which we can't control, but this issue has been happening a lot less since.

Amazing!! Definitely tell your boss 😆 Seriously I looked at all the CMS and payload was already the lightest and I think it can get even further ahead, which will be a great line in the release announcement

Thank you! Yea a lot of effort has been put into keeping the core payload package as minimal as possible in 3.0. Users should be able to use it in any project they want without having to install a bunch of useless dependencies with it, and in any environment: classic servers, serverless, and in the future edge.
A good example that may be interesting for you given that you're a Svelte person: While payload's admin panel (payload + @payloadcms/ui + @payloadcms/next) is running on Next.js, you can simply install and run payload - which is the server-side of things - inside of a SvelteKit app.
And boom, you get all the benefits of running payload on the server and using its local API in the same app, without bloating your app with an entire "CMS".

Maybe the easier thing then would be to see if pino/pino-pretty could remove their dependency on readable-stream

We should definitely issue in their repo about this. The maintainer seems to be very conscious about performance and all that.
What could also be possible is utilizing an adapter pattern for the logging library, but that might be overkill and we haven't explored that yet

One thing we'll be looking into is replacing the react-select package from @payloadcms/ui - which is most of payload's admin panel. Looking at npmgraph, it's responsible for most of our total dependencies, which is insane given that it's just one single component.

That's great news! Yeah, that and deep-equal appears to be another big one, which can be replaced with either dequal or fast-deep-equal. I think qs could be replaced there as well. Here are some suggestions for that one: https://github.com/es-tooling/module-replacements/blob/main/docs/modules/qs.md. If there are others you wanted ideas for you could ask folks at https://chat.e18e.dev/

A good example that may be interesting for you given that you're a Svelte person: While payload's admin panel (payload + @payloadcms/ui + @payloadcms/next) is running on Next.js, you can simply install and run payload - which is the server-side of things - inside of a SvelteKit app.
And boom, you get all the benefits of running payload on the server and using its local API in the same app, without bloating your app with an entire "CMS".

Yeah, that sounds really interesting to explore! If you or anyone else were interested in talking about it at the Svelte Summit virtual conference in October, they're currently accepting ideas for talks for the next two weeks: https://www.sveltesummit.com/2024/fall (I don't see the deadline on the website, but believe it's Sept 14)

That's great news! Yeah, that and deep-equal appears to be another big one, which can be replaced with either dequal or fast-deep-equal. I think qs could be replaced there as well. Here are some suggestions for that one<EMAIL_ADDRESS>If there are others you wanted ideas for you could ask folks at chat.e18e.dev

Both deep-equal and qs are already replaced! (Be sure to check the beta (3.0) branch. main (= 2.0) still has those dependencies, but we're no longer concerned 2.0). In fact, we made the qs-esm library just to get rid of it hah. I think we probably got all the easy-to-replace, low-hanging fruit dependencies

Yeah, that sounds really interesting to explore! If you or anyone else were interested in talking about it at the Svelte Summit virtual conference in October, they're currently accepting ideas for talks for the next two weeks: sveltesummit.com/2024/fall (I don't see the deadline on the website, but believe it's Sept 14)

Sounds interesting, I'll bring this up with our in-house influencer @jmikrut !


When editor.hover.enabled is disabled, the editor hover window doesn't dismiss if triggered by ⌘K ⌘I

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.96.0
OS Version: MacOS 15.1

Steps to Reproduce:

Update to the latest VS Code Version (I know for a fact it didn't occur on the previous one)
Disable editor.hover.enabled in your settings
Trigger an editor hover using the keyboard shortcut ⌘K ⌘I
Navigate away from the line with the hover
When the setting is disabled, the hover will incorrectly persist on the screen. When it's enabled, or when it's disabled on older versions of VS Code, the hover will correctly dismiss when your cursor moves to another line.

Same here
Before updating:
https://github.com/user-attachments/assets/43e3740d-0abb-4d47-8a37-f8aacd9e0c91
After updating:
https://github.com/user-attachments/assets/76c50244-2967-489e-904b-5f19efdb8d3f

Hi thank you for filing this issue. I am very sorry you are seeing this regression. I have fixed this yesterday in the nightly release. To have the correct behavior on the latest nightly release you can download: https://code.visualstudio.com/insiders/


pull request for Ram Ayyala & Ashley Kasem

The last update is our submission for the assignment

switched to the other pull request from the branch


Incorrect error message "E282: Cannot read from ...." when the vim binary has been deleted

Steps to reproduce

Start vim
Delete the vim binary
In the running vim instance run :let f = system("ls /tmp")
The error message shown is E282: Cannot read from .... where .... is a temp file.  Really the problem is that the vim binary has been deleted, but that's not what the error message describes.

Expected behaviour
I expected an error message saying that the binary couldn't be executed.  It looks like errors are deliberately ignored at https://github.com/vim/vim/blob/master/src/misc1.c#L2320, but perhaps there should be some error checking?
I'll try to answer some obvious questions:

Why would you delete the vim binary?  This happens when I upgrade the Homebrew vim package, which is rebuilt every 50 vim patches.  This is something that I expect many Homebrew users do.
Why would you expect anything to work after deleting the vim binary?  I expected that a running vim instance would mostly work after the package was upgraded.  I understand that share/vim/vim82 will be missing, but I expected that I'd be able to continue editing the current file in a running vim instance.
Why should this be fixed?  Based on the error message I spent a lot of time trying to figure out what was wrong with the temporary directory that vim writes too, but the problem is nothing to do with the temporary directory.  If the error message had said something like vim is broken because the vim binary was deleted the problem would have been clear or even failed to execute ... would have been better.

Version of Vim
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 30 2022 15:10:27) Included patches: 1-4850
Environment
Operating system: MacOS
Terminal: iTerm2
Value of $TERM: xterm-256color
Shell: zsh
Using the latest vim packaged by Homebrew.
Logs and stack traces
No response

Hu? Why would it matter whether the currently executed binary has been deleted? For the system command it shouldn't really matter and it seems to work for me. I just did run a self-compiled vim --clean from the source repository, run :echo system('ls /tmp'), then did :echo v:progpath, manually deleted that binary from a second console, and re-run :echo system('ls /tmp') and it worked as expected.
| I understand that share/vim/vim82
Why would share/vim/vim82 be missing, if you remove the vim binary?

Thanks for the quick response!

Hu? Why would it matter whether the currently executed binary has been deleted? For the system command it shouldn't really matter and it seems to work for me. I just did run a self-compiled vim --clean from the source repository, run :echo system('ls /tmp'), then did :echo v:progpath, manually deleted that binary from a second console, and re-run :echo system('ls /tmp') and it worked as expected.

I don't understand why it fails - I would expect deleting the binary not to affect calling system() at all.
However, I've reproduced it with this sequence:
$ brew rm vim
$ brew cleanup vim
$ brew install vim
$ /usr/local/bin/vim -u NONE ~/tmp/test.md
# This works
:echo system('ls /tmp')

# Now break it
# In a separate terminal
$ brew rm vim
# Back in the running vim instance
# This fails
:echo system('ls /tmp')
:messages
Messages maintainer: Bram Moolenaar<EMAIL_ADDRESS>E282: Cannot read from "/var/folders/ks/3z88_1_515n3xwxk6y29_msh0000gn/T/vrn8M3Q/1"

# Now fix it
# In a separate terminal
$ brew install vim
# This succeeds
:echo system('ls /tmp')

# But it doesn't break when I try again?
# In a separate terminal
$ brew rm vim
# Back in the running vim instance
# This succeeds - why does it succeed this time?
:echo system('ls /tmp')

Normally I encounter this because Syntastic fails after I upgrade vim, which is annoying but harmless; IIRC I've also had a couple of instances where BufWritePre commands failed, making saving my modifications hard.
I've tried using dtruss to trace the system calls but I'm not familiar enough with MacOS system calls to understand the output and where it's going wrong :(

| I understand that share/vim/vim82
Why would share/vim/vim82 be missing, if you remove the vim binary?

Ah, that was unclear, sorry.  I meant that when the old package is removed, share/vim/vim82 will be removed, so editing a different filetype might not work properly.
Thanks,

one you run brew rm vim, what happened to that private directory /var/folders/ks/3z88_1_515n3xwxk6y29_msh0000gn/T/vrn8M3Q/?  is that also removed? If you re-create it manually, does it work then again?

Sorry about the slow reply.

one you run brew rm vim, what happened to that private directory /var/folders/ks/3z88_1_515n3xwxk6y29_msh0000gn/T/vrn8M3Q/? is that also removed? If you re-create it manually, does it work then again?

That directory is still there.  I tested by change it solely for the test vim instance:
$ TMPDIR="${HOME}/VIM-TMP" /usr/local/bin/vim -u NONE ~/tmp/test.md
# In a separate terminal where $TMPDIR=/var/folders/ks/3z88_1_515n3xwxk6y29_msh0000gn/T
$ `brew rm vim`
# Back in the running vim instance
:echo system('ls /tmp')
# I get this error message:
E282: Cannot read from "/Users/johntobin/VIM-TMP/vvOPkI6/1"
# Back in my other terminal this works
$ ls /Users/johntobin/VIM-TMP/vvOPkI6

The directory definitely isn't being removed.
Thanks,

I am not sure then. You would need to run this through a debugger and see where it breaks.

This issue could possibly be caused by syspolicyd. Try looking for error events in the Console while attempting to run a command from am unlinked vim. If it does trigger syspolicyd then it could be a malware protection mechanism - evil programs sometimes unlink themselves from the directory to make it harder to find out the root cause of their effects.

I just had this issue for like the 2nd time when trying to use :PlugInstall and it's because I had set shellcmdflag=-command in my ~/.vimrc. This command is specific to PowerShell. Mind you, I am doing this on Kali Linux. If you're not using PowerShell, it might cause issues. Maybe if you have a line in your ~/vimrc that is incompatible with your OS, throw it into ChatGPT and have it look it over to point out what could possibly be the issue. Hope this helps!


Publishing prototype: 0th draft of Hugging Face connector

To kickstart design and implementation of the Hugging Face integration, prototype a "Hugging Face model connector"
It should:

be constructable with a HF model hub repo id and optionally a version tag
__repr_html__ out the model card or other useful metadata in a notebook context
have a .download() or .stage() method that downloads the model contents to a default directory or a directory that you specify
be able to passed to the garden pipeline decorator to associate the pipeline with the model at pipeline publication time

Assumptions:

Acceptance Criteria
Given..., when..., then...

Closed by #298


Decentralized Chaos

Here's an idea: since it seems that chaosbot has completely fizzled out, I propose we make an Ethereum contract chaosbot with the ability to update itself.

update is not so easy to di with smart contracts. contracts are inmutable

also, they cost gas.

@llazzaro is right

Is it possible to somehow maintain a reference to the "current" contract somewhere mutable but still distributed and consensus based?


GEODE-7262: Split NC User Guide into language-specific editions

Picked up an extraneous commit - will close and reopen


Add distro setup instructions

This might not be something we can actually merge, but let me explain.
This grabs the flatpak website repo at build and copies over all images and the infos for distros/setups.
Then it renders them.
Cons:

We heavily depend on a different repo
Some of the pages are a bit wild
No translations

PopOS probably looks the worst:

Why do we need this? If this has the exact same Content as https://flatpak.org/setup/, we not just link there?

That's what we do right now.
There was talks about improving it, as it's hard to find distros over there. So this allows you to search and we sort some distros to the top.
This would also be the first step to be able to detect your distro (if the browser permits) and automatically show you the right instructions.
So right now we fear to loose newer users e.g. on Ubuntu in the process


Code | Pyramid Pattern 1

@aryashah2k Can I work on this issue??

@aryashah2k Can I work on this issue??
Github Email Id-<EMAIL_ADDRESS>Github Username- anjali-kundliya05
I'm a contributor from SWOC 2.0 so I want to contribute to your organization.

sure, I have sent an invite to join the org


Netlify do export failed

Curl error code is 55. I use Ubuntu 18.04 on desktop to develop WordPress locally

Hi @fauziabd - if you choose the ZIP deployment method, how large is your site? Netlify has a limit of 200MB on the free plan, I believe.
Offloading assets to a different CDN could be an option...

Only 16mb

hmm, so error 55 on cURL appears to be

CURLE_SEND_ERROR (55)

Failed sending network data.

Is this happening consistently at the same point in the deploy, or could it be a network connectivity issue?
I'm working on the next version of the plugin now and not yet at the point to do testing on Netlify, but will be aiming to make it easier to troubleshoot any issues

it's working 3 days ago, today when i want to deploy it's appear an error. i will figure out what's happening, since yesterday i change some setting in my ubuntu.

this is error log
2018-10-01 02:46:05 GuzzleHttp\Exception\RequestException: cURL error 55: SSL_write() returned SYSCALL, errno = 32 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Handler/CurlFactory.php:186 Stack trace: #0 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Handler/CurlFactory.php(149): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Handler/CurlFactory.php(102): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #3 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #4 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #5 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/PrepareBodyMiddleware.php(66): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #6 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Middleware.php(30): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #7 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/RedirectMiddleware.php(70): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #8 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Middleware.php(60): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #9 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/HandlerStack.php(67): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), Array) #10 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Client.php(277): GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #11 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Client.php(125): GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array) #12 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/GuzzleHttp/Client.php(131): GuzzleHttp\Client->requestAsync('POST', Object(GuzzleHttp\Psr7\Uri), Array) #13 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/StaticHtmlOutput/Netlify.php(35): GuzzleHttp\Client->request('POST', '/api/v1/sites/c...', Array) #14 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/library/StaticHtmlOutput.php(911): StaticHtmlOutput_Netlify->deploy('/home/fauzi/Doc...') #15 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/wp-static-html-output.php(147): StaticHtmlOutput_Controller->netlify_do_export() #16 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(286): wp_static_html_output_ajax('') #17 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #18 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #19 /home/fauzi/Documents/ctm/apps/wordpress/htdocs/wp-admin/admin-ajax.php(100): do_action('wp_ajax_wp_stat...') #20 {main} 2018-10-01 02:46:05 NETLIFY EXPORT ERROR 2018-10-01 02:44:34 STARTING EXPORT: STATIC EXPORT URL https://citumang.netlify.com 2018-10-01 02:44:34 STARTING EXPORT: VIA CLI?  2018-10-01 02:44:34 STARTING EXPORT: PLUGIN VERSION 5.8 2018-10-01 02:44:34 STARTING EXPORT: WP ADDRESS http://localhost:8080/wordpress 2018-10-01 02:44:34 STARTING EXPORT: WP HOME http://localhost:8080/wordpress 2018-10-01 02:44:34 STARTING EXPORT: WP SITEURL http://localhost:8080/wordpress 2018-10-01 02:44:34 STARTING EXPORT: WP URL http://localhost:8080/wordpress 2018-10-01 02:44:34 STARTING EXPORT: WP VERSION 4.9.8 2018-10-01 02:44:34 STARTING EXPORT: OS VERSION Linux fauzi 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 2018-10-01 02:44:34 STARTING EXPORT: PHP MAX EXECUTION TIME 600 2018-10-01 02:44:34 STARTING EXPORT: PHP VERSION 7.0.27 2018-10-01 02:44:34 STARTING EXPORT2018-10-01 02:44:34


Rollup

Pull Request (PR) description
PR to fix various issues
This Pull Request (PR) fixes the following issues

Fixes #760 (fix was somehow reverted later on, corrected this)
Fixes #1090
Improves #1065 (caused issue with ReverseDsc)

Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[x] Resource documentation added/updated in README.md in the resource folder.
[x] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Resource Testing Guidelines.
[x] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #1100 into dev will decrease coverage by <1%.
The diff coverage is 64%.

@@          Coverage Diff          @@
##             dev   #1100   +/-   ##
=====================================
- Coverage     92%     92%   -1%
=====================================
  Files        120     120
  Lines      13286   13296   +10
=====================================
+ Hits       12325   12330    +5
- Misses       961     966    +5


Collapsible modules and components refactor

How to test:

Run 'yarn start' to check behaviour from user level
Run 'yarn test' to check functional tests

The accordion refactor looks good and appears to have reverted back to a previous approach?
I'm happy to educated on this but the levels of abstraction in this seem to add complexity to creating components/modules. I guess my question is, what benefit is there to this approach? Would this make it harder for a developer work with?

The accordion refactor looks good and appears to have reverted back to a previous approach?
I'm happy to be educated on this but the levels of abstraction in this seem to add complexity to creating components/modules. I guess my question is, what benefit is there to this approach? Would this make it harder for a developer work with?

There are no design changes as part of this PR, only a bug fix to mend an issue with the Show/Hide all toggle.
The intention was to make it easier to create components and to start unit testing. The new AbstractComponent creates a scope for selecting DOM elements within its realm of responsibility only, a problem that has caused many bugs in the past.
The separation of modules & components to concisely define their responsibilities for single collapsibles and collapsible groups should make it clearer for other developers to understand code semantics and isolate code specifically for unit testing. This also introduces a uniform way of accessing the DOM rather than inconsistently using getElementsByClassName & querySelector reducing the potential for browser inconsistencies. There are also plans to start using TypeScript to further enhance this. Ben can give an update on this work.
Most simple components can be initialised from a module with a single line of code to attached all behaviours to DOM elements: dom.getElements('js-example-class-name').forEach(ExampleComponent.create). I can walk you through it if you come and grab me.

 collapsible.js

Codacy seems to have some issues, otherwise looks good to me

Github isn't allowing me to merge the PR as shane's commits weren't signed with a GPG key. I will have to look into how to fix this


Whether the client can control the recent access by itself when using the locality feature

We want to use locality, whether the client can control the nearest access by itself? For example, the client is deployed in region-a, and the server has region-a, region-b, and region-c. We enable nearby access by default, so that the client of region-a can access the server of region-a. But sometimes, the client of region-a wants to access the server of region-b.
At present, our design is that the http request is sent to the istio gateway, and then the istio gateway forwards it to the corresponding service. At this point, it can be said that the client is the gateway. Can the client control which region to access nearby?

This question is somewhat out of scope for Envoy, it's more about how you use Envoy in your deployment. Do you have a specific Envoy question that would help you with your goal?


Workflow process aim

@maityamit    created work flow, process ,aim

#81

@maityamit

@sanjaygupta972004 iwoc or JGEC Winter of code ?

@maityamit it is correct then please it marege and close issue

@sanjaygupta972004 iwoc or JGEC Winter of code ?

IWOC


How to tell what version of the WASI-SDK is installed?

E.g., is there a text file somewhere I can have users look at to tell me what they tried using? (Context: https://github.com/python/cpython/issues/113516).

Reading through the issue, I see what you mean. Usually it's apparent if the user shows the full path to Clang, e.g., /opt/wasi-sdk-20.0/bin/clang. But it seems reasonable to add a version file somewhere for this kind of situation.

Some kind of version.h header might be good idea


Assignment 05 -- 20 Feb 2024

Write only your student ID (Point: 10)
Study slide-1 and prove it by give link of your GitHub gist and Medium story. (Point: 40)
Study slide-2 in a notebook, share it as a gist, and provide the link here. (Point: 25)
Study slide-3 in a notebook share it as a gist and provide the link here. (Point: 25)

Student ID : 10220075

Slide 1 :
GitHub Gist : https://gist.github.com/alyssahanifadh/cf9852d79d51ec288fbf59dc5b4a7229
Medium story : https://alyssahanifad.medium.com/assignment-5-9d751769363d

Slide 2 :
GitHub Gist : https://gist.github.com/alyssahanifadh/d04daebc7e17cd8e6519b5e04fcab5b7

Slide 3 :
GitHub Gist : https://gist.github.com/alyssahanifadh/aa3663c4de809da5e08607c9d7b6313f

Student ID: 10220070

Slide-1:

GitHub gist: https://gist.github.com/audreyljhns-001/5f5fb5782746954eb5a69d6c1be17db5
Medium story: https://medium.com/@audreyljhns/assignment-5-1-f2d259f4eac8

Slide-2:

GitHub gist: https://gist.github.com/audreyljhns-001/d808c6c6b6602f198d2e846d8c283c63

Slide-3:

GitHub gist: https://gist.github.com/audreyljhns-001/c231e6fde9f7605404a265ca4198f32d

Student ID: 10220017
Slide 1

Github Gist: https://gist.github.com/shemrnd/1433f27c8e95a11267a55b0685a686e1
Medium Story: https://medium.com/@shemrnd/posting-github-gist-on-medium-story-d89ecf716155

Slide 2

Github Gist: https://gist.github.com/shemrnd/9e1b0a54fa65cf69a4e77a8db71803ab

Slide 3

Github Gist: https://gist.github.com/shemrnd/ae6e211738df085d969203e2db813f47

Student ID: 10220027
Slide 1

Github Gist : https://gist.github.com/AnnisaSW/1e9de844d2515d982c153508d1cb9b03
Medium Story : https://medium.com/@padipie/notebook-for-gist-dadb8369bbf8

Slide 2
Github Gist :https://gist.github.com/AnnisaSW/f4120044e7f1912bf98ad9592bf8730d
Slide 3
Github Gist : https://gist.github.com/AnnisaSW/cd758cf35e02ef39d21d790bc7acae9f

Student ID (10220002)
Slide 1

Github Gist --> https://gist.github.com/syazwanra/ef4278357a1c4b4893d90673e3795790
Medium link --> https://medium.com/@syazwanar24/sharing-jupyter-notebook-93504a86c9c8

Slide 2
Github Gist --> https://gist.github.com/syazwanra/094ee3588a08d2a1276a3ad8a0212ba4
Slide 3
Github Gist --> https://gist.github.com/syazwanra/14fc23ad1fed71ce931c96050b4cdfbd

Student ID: 10220003

SLIDE 1

Github Gist: https://gist.github.com/bernikes/afc07788c1f12e30edaa6dbd5b39087d
Medium Story: https://medium.com/@bernike_s/how-to-code-x-2-y-2-filled-contour-graph-on-jupyter-notebook-e11b888771b3

SLIDE 2

Github Gist: https://gist.github.com/bernikes/cd3d7ead60bd5b8d2f8187ce13db0dc0

SLIDE 3

Github Gist: https://gist.github.com/bernikes/3064570f5e92ee9510f5fdc910e2a37f

Student ID: 10220024
Slide 1

Github Gist: https://gist.github.com/almiracas/4b065ac82ce59a32621b61f19a2d62e0
Medium Story: https://medium.com/@almirachusnul/embed-gist-into-medium-story-d32ba8dd4371

Slide 2

Github Gist: https://gist.github.com/almiracas/be8af6178d381b6dbbf550526b18e20d

Slide 3

Github Gist: https://gist.github.com/almiracas/0cbf072140ff29ba171431dee37af3e4

Student ID: 10220061
Slide 1:

https://gist.github.com/darmoniaga/304c97dda645f058249d1d54fb3c1f95
https://medium.com/@darmoniaga/example-of-sharing-a-jupyter-notebook-on-github-gist-75158f37cac8

Slide 2:

https://gist.github.com/darmoniaga/bff4adee085b58e5db2fba29b239e55c

Slide 3:

https://gist.github.com/darmoniaga/651e8685db5b9a5c0919e8d6b60bab3f

Students ID: 10219022
Slide 1:

https://gist.github.com/alfans022/9dde3eca1c706c7bef4eac553fc21be3
https://medium.com/@alfans/spsf-assignment-5-1-175da784fee0
Slide 2: https://gist.github.com/alfans022/9ab8d2d7cc11b686631a532536ae6ace
Slide 3: https://gist.github.com/alfans022/35b0e504bbb91112ab37d0f0cf7a30e3


Bootstrap Webhook support

Summary

Adds support for building basic Webhooks for a resource. It works when installed with make package-install in local kind cluster.
The crossplane packaging system is actually the one creating and configuring the webhook when installed via package. It creates and mounts the certificates for authentication by kubernetes.

Checklist

[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[x] Update tests.

review notes: To test it out, try make package-install and then see if the webhook server logs something when installing the sample with make install-samples.


Add new homepage variant to search component

What

Add new 'homepage' parameter to search component. Apply class to search container if homepage is true.
Why

As part of the new homepage designs, we need a new variant of the search component with a different styled submit button.
Relevant Trello Card
Visual Changes

@patrickpatrickpatrick I noticed that the focus states on the text input and the button are different. Probably one to run by Monica but they should probably be the same.

I think we'll need to keep the black border on the search button in any case as the contrast of the light blue and the yellow would be a WCAG fail (I think). There's an issue to add the black border to the blue background search box focus state, it might be a good idea to do that now, hopefully it'd be a quick fix: https://github.com/alphagov/govuk_publishing_components/issues/1259

@patrickpatrickpatrick I noticed that the focus states on the text input and the button are different. Probably one to run by Monica but they should probably be the same.

I think we'll need to keep the black border on the search button in any case as the contrast of the light blue and the yellow would be a WCAG fail (I think). There's an issue to add the black border to the blue background search box focus state, it might be a good idea to do that now, hopefully it'd be a quick fix: #1259

There's a comment on the CSS that suggests that this has been deliberately because the contrast between the yellow and blue is high enough. I tested on https://webaim.org/resources/contrastchecker/ and this would seem to be the case for "Graphical Objects and User Interface Components"

Resolves issue #1259.


hw8 - added reaction part and bumped version number

Codecov Report
Patch coverage: 36.00% and project coverage change: -15.72 :warning:

Comparison is base (326c99e) 80.00% compared to head (1a1b055) 64.28%.

:exclamation: Current head 1a1b055 differs from pull request most recent head af5157f. Consider uploading reports for the commit af5157f to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #20       +/-   ##
===========================================
- Coverage   80.00%   64.28%   -15.72%
===========================================
  Files           2        3        +1
  Lines          90      140       +50
  Branches        6       12        +6
===========================================
+ Hits           72       90       +18
- Misses         17       49       +32
  Partials        1        1

Impacted Files
Coverage Δ

action_react/react.py
35.41% <35.41%> (ø)

action_react/main.py
67.79% <50.00%> (-0.63%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Virtualenv / python settings are ignored

Summary
On my macOS I'm trying to keep things tidy.
That is the reason why I installed virtualenv and virtualenvwrapper.
Python is installed via brew.
There is some configuration in VSCode to select Python's virtualenv in the settings.json:
"python.venvFolders": [
        "~/.virtualenvs"
    ],

This works perfectly fine and the information (Python-version & selected virtualenv) is shown in the statusbar,
but only if there's some different filetype than Ansible is selected
or the Ansible-extension is uninstalled or disabled.
With active Ansible-extension  the virtualenv-Configuration is completely ignored and I get (of course) errors like these:

Ansible-lint is not available. Kindly check the path or disable validation using ansible-lint

This is my statusbar with any other file but "Ansible":

This is my statusbar with a file of the type "Ansible":

Additionally / of course none of the other interesting features of the Extension "Ansible" is working:

autocompletion does not work
linting does not work

Extension version
v1.0.90
VS Code version
1.72.2
Ansible Version
ansible --version
ansible [core 2.13.5]
  config file = None
  configured module search path = ['/Users/ppu/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/ppu/.virtualenvs/ansible-runner/lib/python3.10/site-packages/ansible
  ansible collection location = /Users/ppu/.ansible/collections:/usr/share/ansible/collections
  executable location = /Users/ppu/.virtualenvs/ansible-runner/bin/ansible
  python version = 3.10.8 (main, Oct 13 2022, 09:48:40) [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
  jinja version = 3.1.2
  libyaml = True

OS / Environment
macOS 12.6, M1
ansible-lint --version
ansible-lint 6.8.2 using ansible 2.13.5
Relevant log output
No response

The error-messages about ansible-lint not found started with version v0.14.71.

So I'm now using
    "ansible.python.interpreterPath"<EMAIL_ADDRESS>    "ansible.python.activationScript": "~/.virtualenvs/ansible-runner/bin/activate",
    "python.venvFolders": [
        "~/.virtualenvs"
    ],

and it works:

I still have to say, I don't like it that much, because I now have to use configuration pointing to distinct Python versions in VSCode.

I'm not sure if this is related but I'm hitting errors today, whenever VS Code opens an Ansible .yml file.
Two popups in the lower right, whether using the pre-release version of the extension or not.
spawn C:\WINDOWS\system32\cmd.exe ENOENT
Source: Ansible (Extension)

Ansible-lint is not available. Kindly check the path or disable validation using ansible-lint
Source: Ansible (Extension)

VS Code:
Version: 1.72.2 (user setup)
Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075
Date: 2022-10-12T22:15:18.074Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.25217
Sandboxed: No

@robinmalik I'd guess this issue is different than my initial issue since you're apparently not using virtualenv but using Ansible in some container.
@yaegassy I still think the configuration with virtualenv and Python-Interpreter-Path could be more smooth, but I'd also be fine with closing this issue.

So I'm now using
    "ansible.python.interpreterPath"<EMAIL_ADDRESS>    "ansible.python.activationScript": "~/.virtualenvs/ansible-runner/bin/activate",
    "python.venvFolders": [
        "~/.virtualenvs"
    ],

and it works:
I still have to say, I don't like it that much, because I now have to use configuration pointing to distinct Python versions in VSCode.

I agree. Can't you just use the current activated virtualenv, by default? Or just ansible commands available in PATH by default?

You can directly choose the python environment with a single click now, similar to how to choose it in the python vscode extension.


start markdown

Hello
I
am
Sanjay
Kumar
Thakur

$ git init
Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/

[x] List syntax is required
[x] This item is complete
[ ] This item is not complete

first


Set namespace function and e2e test

Users currently have no way to set the namespace of all resources when using Config Sync with unstructured layout.
This function provides a way for users to easily set the namespace field.
Fixes GoogleContainerTools/kpt#683

cc @mortent @phani I made this function as a workaround for users to set namespaces until we decide on a longer term solution using kpt cfg or within Config Sync. PTAL

So this would just add namespace to all resources, regardless of whether they have cluster or namespace scope? That is not ideal, but I don't think it will create any serious problems. Have we verified what the behavior is in that case?

Yes this just adds a namespace to all resources. This may cause tools to give warnings that cluster scoped resources have a namespace specified. In such a case users can use the remove namespace fn, which removes namespace from a hardcoded list of resources which it knows should be cluster scoped (https://github.com/kubeflow/kfctl/tree/master/kustomize-fns/remove-namespace).


use defined variable for config places

I guess it makes sence to use the defined variable for config places, instead of list the config places again

thanks for the correction!  I appreciate it!


High contention on runtime feature check with "manually" created dispatcher threads

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: High contention on runtime feature check with "manually" created dispatcher threads
Description:
We have a use case where dispatcher threads are created after the instantiation of Envoy main server. Such threads cannot be registered to tls as Envoy main server already called "set" on tls. As such, when runtime features are checked (Runtime::runtimeFeatureEnabled, for instance), LoaderImpl::threadsafeSnapshot always take the slow path with a global lock, leading to degraded performance in our loadtests.
As easy fix seems to be optimizing LoaderImpl, which should be harmless for regular applications.

When are additional dispatcher threads created?  What is their purpose?
It would be good to have all threads have access to necessary TLS.  Do you have some profiles or more info to share?

Our code does the following. There is a long story for our design choice, but basically we use Envoy as our HTTP/2 client library at this point.

create a Envoy server via MainCommonBase (which creates tls and also calls tls->set
create dispatcher threads for sending HTTP/2 requests. These are not controlled by Envoy server, but shares the same runtime loader singleton.

When are additional dispatcher threads created? What is their purpose?
It would be good to have all threads have access to necessary TLS. Do you have some profiles or more info to share?


Some errors emitted by elm-make do not respect the --report=json flag

I am using Node 6.2.2, Elm 0.17.1
Some errors in elm-make do not respect the --report=json flag. The regular error messages are sent directly to stderr.
I admit total ignorance in Haskell, though one instance of the issue appears to be in the function printError in the BuildManager module. It must not be the only culprit because the syntax errors below are not included in printError.
Here are a few of the types of errors that create the issue:
This file uses 0.16 syntax
-- Main.elm
module Main where

-- Rest of file...

Executing elm-make --report=json Main.elm returns the message below rather than json.
 -- SYNTAX PROBLEM ----------------------------------------------------- Main.elm

I ran into something unexpected when parsing your code!

1| module Main where
               ^
I am looking for one of the following things:

    something like `exposing (..)` which replaced `where` in 0.17
    whitespace

This file misspells exposing as  Fexposing
-- Main.elm
module Main exposing (..)

import Html Fexposing (..)

-- Rest of file...

Executing elm-make --report=json Main.elm returns the message below rather than json.
-- SYNTAX PROBLEM ----------------------------------------------------- Main.elm

I need a fresh line to start a new declaration. This means a new line that
starts with stuff, not with spaces or comments.

3| import Html Fexposing (..)
               ^
I am looking for one of the following things:

    reserved word `as`
    reserved word `exposing`
    whitespace

This file tries to import an uninstalled module
-- Main.elm
module Main exposing (..)

import Unknown -- Some uninstalled module
import Html exposing (..)

-- Rest of file...

Executing elm-make --report=json Main.elm returns the message below rather than json.
I cannot find module 'Unknown'.

Module 'Main' is trying to import it.

Potential problems could be:
  * Misspelled the module name
  * Need to add a source directory or new dependency to elm-package.json

This is covered by https://github.com/elm-lang/elm-make/issues/98


NVMe controller will not reset

I have been trying to use this code for my own design with a microblaze on a zcu102. I have gotten it to build and run and I can read values from the device registers. I get values I would expect during nvme_create(). However, in nvme_ctlr_enable() the controller never comes back on. Have you seen this behavior at all?
It would also be helpful if you could let me know exactly how you chose the values for the following
MEM_BASE_M
MEM_BASE_PCI

I think those memory address values came from how I had memory mapped in my specific Vivado design, but I'm not 100% sure off the top of my head. I also think the commented-out values above them in params.h were left over from some experimentation with putting the data in the higher memory areas on the ZCU102 and masking out address bits in the hardware to allow the the 32-bit MicroBlaze to address them, or possibly from some experimentation with PAE. I'll take a deeper look at my design and try to figure it out for sure...
Talking of which, I've been meaning for a while to upload the Vivado hardware design I used with this, so now you've given me a good excuse to actually do that! I'll try to dig it out this week and add it to the repo, and hopefully it will be helpful.
I've also only ever tested this code with an Intel SSD 750 set to 4KiB blocks, so it's possible that other SSDs or block sizes might not work without modification.

Thank you for the feedback. I was integrating this with a different PCIe driver and I actually had a bug in there. The bridge wasn't getting enabled, so that would explain it. I can now successfully run the tests. I still think it would be helpful if you were to upload your hardware design for anyone else that might be trying to use this example.
Thanks for the implementation!


defaultLocale property is ignored

Describe the bug
When entering anything different than en as the defaultLocale in the i18n config object, it does not seem to work.
Occurs in next-i18next version
<EMAIL_ADDRESS>Steps to reproduce
Download the example from this repo and change defaultLocale to de(or anything other for that matter)
Open http://localhost:3000/ in the browser -> you should be redirected to http://localhost:3000/de
Expected behaviour
The browser should load the site with the proper i18n as defined in the config.
Screenshots
This is my next-i18next.config.js
module.exports = {
    i18n: {
        defaultLocale: "de",
        locales: ["de", "en"],
    },
    react: {
        useSuspense: false,
        wait: true,
    },
};

OS (please complete the following information)

Device: MBP 2018
Browser: Chrome 89.0.4389.114

The issue was that next.js is checking the Accept-Language header by itself. Once deactivated as described here the issue is gone.


Public Instances behind an internet facing load balancer don't have publicIpAddress in IMDS response.

[Enter feedback here]
I am trying to retrieve public-IP for a VMSS instance using IMDS service on Linux. The VMSS is attached to a backed of an internet facing Standard SKU load balancer and each instance is also assigned a Standard SKU public-IP. The IMDS response for networking information, contains private-ip, but not public-ip as I can view it from portal. Is there any recommendation to get that?
curl -H Metadata:true --noproxy "*" "http://<IP_ADDRESS>/metadata/instance/network/interface/0/ipv4/ipAddress/0/publicIpAddress?api-version=2019-02-01&format=text" - returns empty.
This works however for VMSS which aren't assigned to a backend pool of a load balancer.

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

ID: 3a241549-82c0-6895-b410-b107a57c7540
Version Independent ID: 5bab39b4-9ff3-5bd9-46d5-17ee009940e0
Content: Azure Instance Metadata Service - Azure Linux Virtual Machines
Content Source: articles/virtual-machines/linux/instance-metadata-service.md
Service: virtual-machines
Sub-service: monitoring
GitHub Login: @KumariSupriya
Microsoft Alias: sukumari

@amadav
Thanks for your Question! We are currently investigating and will get back on this.

We don't support Public Ip for standard SKU on IMDS. Only Public IP addresses with basic SKU are available when using instance metadata service IMDS. Standard SKU is not supported. Refer here

@KumariSupriya Hey thanks for providing the information.

@amadav Hope the provided information is helpful.
We will now close this issue. If there are further questions regarding this, please tag me in a comment. I will reopen it and we will continue the discussion.

What SKU's are public-ip's when I use
az vmss create -n MyVmss -g MyResourceGroup --image centos --public-ip-per-vm --vm-domain-name myvmss
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-networking#creating-a-scale-set-with-public-ip-per-virtual-machine


Add inquiry-form-header back into inquiry marko

https://www.pivotaltracker.com/story/show/171713285
New:

Current:

This will need to be controlled with an input property otherwise it will break the rolled up sites with the new company layout.

Could you give me an example of a site with the new company layout for me to test against?

This will need to be controlled with an input property otherwise it will break the rolled up sites with the new company layout.

@zarathustra323 Could you give me an example of a site with the new company layout for me to test against?

@Alixers505 Any company page on a rolled-up site. Waterworld, Laser Focus World, or Dental Economics

Header does not display on company right rail form:

Header does display on product content section: