Understanding TCP/IP: A Clear and Comprehensive Guide to TCP/IP Protocols

Dostálek, L. & Kabelová, A. Understanding TCP/IP: A Clear and Comprehensive Guide to TCP/IP Protocols. 2006.
Reading list: https://blog.syafiqhadzir.dev/Readings
Milestones

[ ] Introduction to Network Protocols

[x] ISO OSI
[ ] TCP/IP
[ ] Methods of Information Transmission
[ ] Virtual Circuit

[ ] Network Monitoring Tools

[ ] Packet Drivers
[ ] MS Network Monitor
[ ] Ethereal
[ ] Homework

[ ] Physical Layer

[ ] Serial Line
[ ] Modems
[ ] Digital Circuits
[ ] LAN

[ ] Link Layer

[ ] Serial Line Internet Protocol
[ ] Compressed SLIP
[ ] High-Level Data Link Control Protocol
[ ] Point-to-Point Protocol
[ ] Frame Relay
[ ] Local Area Networks
[ ] Wireless Local Area Network
[ ] Fixed Wireless Access

[ ] Internet Protocol

[ ] IP Datagram
[ ] Internet Control Message Protocol
[ ] Fragmentation
[ ] Optional Entries in the IP Header
[ ] ARP and RARP Protocols
[ ] Internet Group Management Protocol
[ ] Multicast and Link Protocol

[ ] IP Address

[ ] Network: First Period of History
[ ] Network: Second Period of History
[ ] IP Addresses in the Intranet and Special-Use IP Addresses
[ ] Unnumbered Interface
[ ] Address Plan
[ ] Over 254 Interfaces in a LAN

[ ] Routing

[ ] Forwarding and Screening
[ ] Routing
[ ] Handling Routing Tables
[ ] Routing Protocols
[ ] Neutral Exchange Point

[ ] IP Version 6

[ ] Next Headers of IP Version 6 Datagram
[ ] ICMP Version 6 Protocol
[ ] IP Addresses
[ ] Windows 2003

[ ] Transmission Control Protocol

[ ] TCP Segments
[ ] TCP Header Options
[ ] Establishing and Terminating a Connection with TCP
[ ] Determining the Connection State
[ ] Response Delay Techhniques
[ ] Window Technique
[ ] Network Congestion

[ ] User Datagram Protocol

[ ] Fragmentation
[ ] Broadcasts and Multicasts

[ ] Domain Name System

[ ] Domains and Subdomains
[ ] Name Syntax
[ ] Reverse Domains
[ ] Resource Records
[ ] DNS Protocol
[ ] DNS Query

[ ] Telnet

[ ] The NVT Protocol
[ ] Telnet Protocol Commands
[ ] Example of Windows NT Client Communication
[ ] Example of UNIX Client Communication

[ ] File Transfer Protocol

[ ] Architecture
[ ] Active Mode of FTP Protocol Communication
[ ] Passive Mode of FTP Protocol Communication
[ ] FTP Commands
[ ] Proxy
[ ] Return Codes
[ ] Abnormal Terminations of Data Transfer
[ ] Anonymous FTP

[ ] Hypertext Transfer Protocol

[ ] Client-Server
[ ] Proxy
[ ] Gateway
[ ] Tunnel
[ ] More Intermediate Nodes
[ ] Uniform Resource Identifier
[ ] Relative URI
[ ] The HTTP Request
[ ] The HTTP Response
[ ] Other Header Fields
[ ] Cookie

[ ] Email

[ ] Email Architecture
[ ] Mail Message Format
[ ] MIME
[ ] SMTP
[ ] ESMTP
[ ] POP3
[ ] IMAP4
[ ] Mailing Lists

[ ] Forums

[ ] Message Format
[ ] NNTP Protocol

[ ] Lightweight Directory Access Protocol

[ ] Protocol Principle
[ ] Data Model of LDAP Directory
[ ] LDAP Protocol Data Units
[ ] Server Programs
[ ] Client Programs
[ ] Lightweight Directory Interchange Format

As per 11:41, 7 March 2022,
Introduction_ISO-OSI.pdf


x/crypto : bytepad function is not safe

Go version
1.23 (all)
Output of go env in your module/workspace:
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\...\AppData\Local\go-build
set GOENV=C:\Users\...\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\calvip\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\...\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.22.3
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\.....\AppData\Local\Temp\go-build939558769=/tmp/go-build -gno-record-gcc-switches

What did you do?
Static analysis of the x/crypto/sha3/shake.go function
What did you see happen?
The code
func bytepad(input []byte, w int) []byte {
// leftEncode always returns max 9 bytes
buf := make([]byte, 0, 9+len(input)+w)
buf = append(buf, leftEncode(uint64(w))...)
buf = append(buf, input...)
padlen := w - (len(buf) % w)
return append(buf, make([]byte, padlen)...)
}
and in particular
padlen := w - (len(buf) % w)
is not working properly when len(buf) % w == 0, causing an undesired padding.
The function appear to work only if the length of the input + length of the letfencoding is not a multiple of w already.
What did you expect to see?
leftEncode([]uint8("12345678"),10)  // leftencode should be 2 bytelong that summed with 8 is 10
shoud return a 10 bytes result, not a 20 bytes result.

Related Issues and Documentation

x/crypto/sha3: cSHAKE initialization misbehaves for extremely (unrealistically) large `N` or `S` #66232

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

CC @golang/security

@paocalvi's analysis seems right to me.
Here's a reproducer for cSHAKE-128:
	s := []byte(strings.Repeat("x", 168-7))
	fmt.Printf("S=%s\n", s)
	cs := sha3.NewCShake128(nil, s)
	h := cs.Sum(nil)
	fmt.Printf("%x\n", h)
	// Output: 430d3ebae1528304465f3b6f2ed34a7b931af804afe97d0e2a2796abf5725281
	// Expected output: 2cf20c4b26c9ee7751eaa273368e616c868e7275178634e1ecdbac80d4cab5f4

https://go.dev/play/p/RQRAsLybuBg
The 161-byte customization string ensures that the length of the bytepadded initial block will have a length equal to cSHAKE-128's rate (168 bytes).
Expected output taken from this random js implementation. Someone should probably verify it against the reference implementation, though.

Very unfortunate that neither our tests nor Wycheproof caught this.


SvelteKit Error: "SyntaxError: Cannot use import statement outside a module"

Steps for Reproduction
Create a basic SvelteKit demo app:
npm create svelte@latest bug-demo

Select: Skeleton project (Barebones scaffolding for your new SvelteKit app)
Select: Yes, usingTypeScript syntax
Ignore final options, just press [Enter]
Follow steps to complete:
Next steps:
  1: cd bug-demo
  2: npm install
  3. npm install quill@rc

Edit file: /src/routes/+page.svelte

Start web app with npm run dev
Open browser, localhost:5173
Expected behavior:
Quill editor shows.
Actual behavior:
Error occurs:
3:10:23 PM [vite] Error when evaluating SSR module /src/routes/+page.svelte: failed to import "quill"
|- D:\Dev\bug-demo\node_modules\quill\quill.js:1
import Quill from './core';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:77:18)
    at wrapSafe (node:internal/modules/cjs/loader:1288:20)
    at Module._compile (node:internal/modules/cjs/loader:1340:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at cjsLoader (node:internal/modules/esm/translators:345:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:294:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)

Platforms:
Edge: Version 122.0.2365.52 (Official build) (64-bit)
Windows Version 23H2 OS Build 22631.3155
Version:
2.0RC2
What's strange that I cannot explain is that SvelteKit uses Vite for most of its bundling, etc. (which uses Rollup internally).  But, in a simple Vite test (much like above), a basic Vite setup using just a plain Svelte web page works. It's only when the SvelteKit moving parts are involved.
I've not used any CJS modules with my Sveltekit project so I've not seen this before. I know ESM is preferred for Vite and SvelteKit.

I think the quilljs package.json should state type = module if it uses imports

Similar error when used in jest (testing library), after trying to upgrade to 2.0.0-rc.2
   Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

   /node_modules/quill/quill.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import Quill from './core';
                                                                                ^^^^^^

    SyntaxError: Cannot use import statement outside a module

    > 1 | import Quill from 'quill';

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1728:14)

Same error running this in a pnpm monorepo.

Fixed the bundle format in 2.0.0-rc.3

I can confirm my issue is fixed with 2.0.0-rc.3 .
I also had to add this configuration if someone come across this.
package.json
"jest": {
    "transformIgnorePatterns": [
      "[/\\\\]node_modules[/\\\\](?!quill|lodash|parchment).+\\.(js|jsx|mjs|cjs|ts|tsx)$",
      "^.+\\.module\\.(css|sass|scss)$"
    ]
  }

Closing as resolved.

This is still a problem in v2.0.2
Facing the same issue when running the test yarn test.
I have replicated the issue at https://github.com/gitneeraj/test-quill-rte Please help!!

@gitneeraj did you try my solution?

@gitneeraj did you try my solution?

I've tried, is not working


⚠ ClamAV has degraded performance

In 0d05b36, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 46 ms

Resolved: ClamAV performance has improved in 9dc156d.


Add paratext

@narimiran is this ok to merge?

Yeah, sorry, I don't know how/why did I skip it when it was submitted.


Update README with new logo banner

Reason/Context
This is to replace the old AsyncAPI logo in this repo's README with the banner attached below that represents the new branding.
Here are a few guidelines for this change as well:

Make sure you are using Markdown syntax only
Be sure to remove the old logo as well as the old title of the repo as this image will replace both elements
Make sure you link this image to the website: https://www.asyncapi.com
If there is any description text below the repo title, let's make it left-aligned if it isn't already, so as to match the left-alignment of the content in the new banner image

Download the image file:
github-repobanner-eventgateway.png.zip

Banner preview
Please note that this is only a preview of the image, the contributor should download and use the above zip file

/gfi design


Do not depend on the HAVE_STRLCAT and HAVE_STRLCPY preprocessor definitions.

While checking whether the system provides the strlcat and strlcpy
functions, using an autoconf-style check to determine their availability
does not seem to be a good idea. This is because the code is also
used with SwiftPM, which does not have a similar feature test.
Instead, we should directly check the availability of these functions
in the system.
Given that strlcpy and strlcat are not standard C functions,
we should check whether the system is macOS, Linux with Bionic or
Musl libc, or glibc version 2.38 or later. This patch adds the necessary
checks in the header file so that SwiftPM can use these checks as well.
Fixes #5012

@swift-ci test

Hi there, I'm wondering if there are any updates regarding this change landing. I'm a little out of my depth wrt the discussion of multiple techniques of implementing the conditional checks required, but it sounds to me that there is some consensus on a preferred solution that would require a new capability of SwiftPM. If that is true, is there an issue or discussion of to spec out this new capability? If someone were able to volunteer some guidance, I may even be able to pitch or implement such a change.
I'm interested in using swift-corelibs-foundation as a package dependency instead of using the binaries within the toolchain so that I can more easily debug issues by stepping into the source. I believe this is aligned with the project and work group's goal of minimizing this compatibility layer over time, since it will help people debug issues, find inconsistencies, and contribute changes to swift-foundation.

Hi there, I'm wondering if there are any updates regarding this change landing. I'm a little out of my depth wrt the discussion of multiple techniques of implementing the conditional checks required, but it sounds to me that there is some consensus on a preferred solution that would require a new capability of SwiftPM. If that is true, is there an issue or discussion of to spec out this new capability? If someone were able to volunteer some guidance, I may even be able to pitch or implement such a change.

This change was landed, in effect, in some other PRs I believe. The current state is:

The CMake build sets HAVE_STRLCAT/HAVE_STRLCPY for platforms that define this symbol by performing the most accurate check (actually looking for the existence of the symbol). This means that the CMake build sets this correctly always
In the source code, a few platforms have explicitly set these values unconditionally for their platform (like WASM IIRC) which will affect both CMake and SwiftPM builds and ensure this is always correct regardless of the build system for that platform
SwiftPM unfortunately does not yet have the capability to check for the existence of the symbol, so the best it can do is make a best effort attempt (enabling/disabling on a per-platform basis), which is "good enough" for our uses of the SwiftPM build (at-desk building of this project on main supported platforms)

If you're hitting build failures related to this, I'd be interested to know your build setup (which platform/SDK, which build system - CMake or SwiftPM, etc.)

I'm interested in using swift-corelibs-foundation as a package dependency instead of using the binaries within the toolchain so that I can more easily debug issues by stepping into the source. I believe this is aligned with the project and work group's goal of minimizing this compatibility layer over time, since it will help people debug issues, find inconsistencies, and contribute changes to swift-foundation.

A word of caution here: the SwiftPM build of this project is intended to be used for development of this project but not as a stable dependency for other projects. Other projects need to use the Foundation from the toolchain so that everybody "agrees" on which Foundation to use. If your project imports Foundation from a package dependency and uses another package dependency that also imports Foundation from the toolchain, you will end up with "two Foundations" that are not compatible with each other. You can definitely use the SwiftPM build as a dependency for small test projects to debug issues (I often use it as a dependency for a small CLI that I can use to test out reported problematic code) but using it as a dependency for a full project with a tree of dependencies (especially in any production use cases) is not supported and likely will not work due to the "two Foundations" problem. Hopefully that clears this up a bit just to make sure you don't accidentally end up in unsupported territory 🙂.

I confirmed that this patch is no longer necessary, as the relevant PR has already landed in #5113. Closing this.


Introduce plugin system

separated plugin engine into it's own package
https://github.com/palessit/slate-pen


Segment tree

I want to add basic question of segment tree.
Please assign this issue to me @rahulsain and add required labels for hacktober fest.

Add at least 4 5 ques in one PR


feature request: open/quick peek symbol while browsing search field

Thanks for a great extension!
It would be useful if I wouldn't have to press enter to go into the result, but instead see the results while browsing in the search field with up/down arrows.
It is a bit problematic when I don't know which method is the correct one. Now if I press enter on the incorrect method, I have to open the search field again and type in the keyword again, and scroll and find the result again.

I directly change the local file and implement the peek logic. You may check it and replace it with your installed version of .vscode/extensions/kbysiec.vscode-search-everywhere-2.1.0
https://github.com/xzbdmw/vscode-search-everywhere-local


Support for the new HTTP API lambda proxy resp. Payload v2.0

This pull request provides support for the new HTTP API lambda proxy resp. Payload v2.0.
As mentioned in the official document:
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html

Sorry about the low activity, I've been unable to allocate time towards this project. I'll prioritize getting PR's merged and push a new release as soon as possible.

I understand how hard it can be to find time to work on these things. I have a local workaround which is working for now.
Thanks for you good work.


There is no configuration in VSCode settings.json to enable imports

Bicep version

Describe the bug
There is no VSCode setting to enable the extensibility features, please add some setting and documentation about how to configure this, for example as shown below:

Additional Information
Take a look at:

https://github.com/Azure/bicep/blob/main/src/vscode-bicep/src/language/constants.ts
https://github.com/Azure/bicep/blob/main/src/vscode-bicep/package.json#L70-L115

Details here on what properties need to be set in bicepconfig.json:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-config#enable-experimental-features
Your bicepconfig in the bottom right looks correct. You may need to restart VS code (or close all bicep-associated files) for the changes to take effect.

I restarted VS Code (and closed all bicep-associated files) but unfortunately the changes did not take effect and the issue continues to reproduce after performing these steps

I discussed the issue with @shenglol and he mentioned that the bicepconfig.json need to be in the same directory level as the bicep file being compiled. This mitigates the problem locally; however it has a negative effect on the user experience.
Consider the following:

The method by which these configurations are set (bicepconfig.json) is not the convention for VSCode extensions (settings.json)
A Bicep user may be attempting to work on a file during an exploration and the information relating bicepconfig.json is not readily available)

It is odd that there are two separate ways to configure the extension (bicepconfig.json and settings.json) and it would be

I agree with all three of your points, but those are the same considerations that led Bicep to standardize on the bicepconfig.json file.
The approach that we've adopted wrt Bicep configuration is that a Bicep file should not be compiled differently based on which tool is being used. A common user experience involves authoring Bicep templates in VS Code (which compiles and lints via the language server) and then deploying those same templates via the az CLI (which compiles via the Bicep CLI). Currently, the VS Code settings.json file is only used to configure how the language server works (e.g., should "paste as Bicep" (which has no equivalent in the CLI) be enabled?) and does not impact how Bicep templates are compiled.
In general, most users shouldn't need to use a bicepconfig.json file, but where they do, the configuration is specific to a template or project. For example, a user may employee different registry aliasing configurations in different projects, or even within a single project, an experimental feature may only be enabled for a subset of templates.

We discussed this and want to keep things separated the way they are now, but we would like to pursue #9902 as a way of avoiding parts of this issue in the future. Closing for now, but happy to continue the discussion.


Authentik login not working: Login Error: User state: Unauthenticated

After following the advanced guide in the docs with a traefik reverse proxy and Authentik as the IdP, it just shows "Login Error: User state: Unauthenticated" on the Webpage and no errors are shown in the container logs.
Running latest version 0.24.0
Management logs show this:
2023-10-25T12:53:19Z INFO management/cmd/management.go:419: loading OIDC configuration from the provided IDP configuration endpoint https://auth.xy/application/o/netbird/.well-known/openid-configuration 2023-10-25T12:53:19Z INFO management/cmd/management.go:424: loaded OIDC configuration from the provided IDP configuration endpoint: https://auth.xy/application/o/netbird/.well-known/openid-configuration 2023-10-25T12:53:19Z INFO management/cmd/management.go:426: overriding HttpConfig.AuthIssuer with a new value https://auth.xy/application/o/netbird/, previously configured value: https://auth..x.de/application/o/netbird/ 2023-10-25T12:53:19Z INFO management/cmd/management.go:430: overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value https://auth.xy/application/o/netbird/jwks/, previously configured value: https://auth.xy/application/o/netbird/jwks/ 2023-10-25T12:53:19Z INFO management/cmd/management.go:435: overriding DeviceAuthorizationFlow.TokenEndpoint with a new value: https://auth.xy/application/o/token/, previously configured value: https://auth.xy/application/o/token/ 2023-10-25T12:53:19Z INFO management/cmd/management.go:438: overriding DeviceAuthorizationFlow.DeviceAuthEndpoint with a new value: https://auth.xy/application/o/device/, previously configured value: https://auth.xy/application/o/device/ 2023-10-25T12:53:19Z INFO management/cmd/management.go:446: overriding DeviceAuthorizationFlow.ProviderConfig.Domain with a new value: auth..x.de, previously configured value: auth..x.de 2023-10-25T12:53:19Z INFO management/cmd/management.go:456: overriding PKCEAuthorizationFlow.TokenEndpoint with a new value: https://auth..x.de/application/o/token/, previously configured value: https://auth..x.de/application/o/token/ 2023-10-25T12:53:19Z INFO management/cmd/management.go:459: overriding PKCEAuthorizationFlow.AuthorizationEndpoint with a new value: https://auth..x.de/application/o/authorize/, previously configured value: https://auth..x.de/application/o/authorize/ 2023-10-25T12:53:19Z INFO management/server/telemetry/app_metrics.go:161: enabled application metrics and exposing on http://<IP_ADDRESS>:8081 2023-10-25T12:53:19Z INFO management/server/account.go:778: single account mode enabled, accounts number 0 2023-10-25T12:53:20Z INFO management/server/account.go:945: 1 entries received from IdP management 2023-10-25T12:53:20Z INFO management/server/account.go:974: warmed up IDP cache with 0 entries 2023-10-25T12:53:20Z INFO management/cmd/management.go:247: running gRPC backward compatibility server: [::]:33073 2023-10-25T12:53:20Z INFO management/cmd/management.go:279: running HTTP server and gRPC server on the same port: [::]:443

Hi, can you share your setup.env or management.json (with secrets hidden)?

@chrisguen I also followed the Advanced setup How-To with Authentik as IDP today and get the same error:

The first check was to open the page of the Netbird user in the Authntik dashboard.

It showed a green bar for successful logins of the Netbird user.

Next, I opened the docker container logs of the container authentik-server-1.

It showed a few errors:INF auth_via=unauthenticated event=/application/o/token ...

Before these, there was a warning about a CORS setup needed, which was a sign that some domain name didn't match up.
I then remembered that I had to change the domain name of the Netmaker server.
Updating the domain in Authentik Provider field "Redirect URIs/Origins (RegEx)" as per https://docs.netbird.io/selfhosted/identity-providers#authentik instantly.

This contains a hopefully helpful list of steps that led me to find the issue in my case!
@chrisguen I also followed the Advanced setup How-To with Authentik as IDP today and get the same error:

The first check was to open the page of the Netbird user in the Authntik dashboard.

It showed a green bar for successful logins of the Netbird user.

Next, I opened the docker container logs of the container authentik-server-1.

It showed a few errors:
INF auth_via=unauthenticated event=/application/o/token ...

Before these, there was a warning about a CORS setup needed, which was a sign that some domain name didn't match up.
I then remembered that I had to change the domain name of the Netmaker server, because letsencrypt.org was getting tired of my repeated signature requests - DOH!!!
Updating the domain in Authentik Provider field "Redirect URIs/Origins (RegEx)" as per https://docs.netbird.io/selfhosted/identity-providers#authentik fixed it instantly.

As a suggestion, the error message "Login Error: User state: Unauthenticated" shown in the web browser in this case could be improved to ask the user to contact the admins of the SSO service to checkup on the error.

Thank you, it was a CORS issue on my side aswell. A better error message would help a lot.


Invalid value for "insideBoundingBox" parameter, expected float

When trying to query items using a bounding box I get the error mention in the title. Here is the log output for the request:
flutter: FINE: 2023-10-03 13:10:58.535531: Start disjunctive search: SearchState{indexName: explore-search, query: null, analytics: null, attributesToHighlight: null, attributesToRetrieve: null, attributesToSnippet: null, disjunctiveFacets: null, isDisjunctiveFacetingEnabled: true, facetFilters: null, facets: null, filterGroups: null, highlightPostTag: null, highlightPreTag: null, hitsPerPage: 100, maxFacetHits: null, maxValuesPerFacet: null, numericFilters: null, optionalFilters: null, page: null, ruleContexts: null, sumOrFiltersScore: null, tagFilters: null, userToken: OkYT6aU2soXxEaKEIaLdTb6D4MJ3, clickAnalytics: true, aroundLatLngViaIP: null, aroundLatLng: null, aroundRadius: null, aroundPrecision: null, minimumAroundRadius: null, insideBoundingBox: [32.466109565035794, -123.86958623649105, 40.082237181944286, -119.50530636527549]}

Looks like the problem is that SearchForHits defines a type of final List<double>? insideBoundingBox but the API expects a type of final List<List<double>>? insideBoundingBox. Considering SearchForHits is auto generated by the API definition I am not sure how this can be solved? @VladislavFitz ?

@aallam looks like there is an error in the API specification used to generate the client. Could you fix that?


rework new_file function

Current newfile function in pycubemini.py is linear in number of logs, this is bad.

Fixed by @yashika-batra, in her driver refactor #77


Centering Text on Display

Hello, I've setup screen width and size (240x135) in UserSetup.h and when I use setTextDatum as MC_DATUM it still doesn't center the text in the screen. Are there any function to center text or what should be the setCursor parameters so that text is always centered?

It seems to work perfectly for me.
Can you give an example of the code that doesn't work (ie what command are you giving to write your text)?

Hello, this is the code:
#define FF18 &FreeSans12pt7b
#define GFXFF 1
 tft.setTextDatum(MC_DATUM);
 tft.setTextColor(TFT_WHITE, TFT_BLACK);
 tft.fillScreen(TFT_MAGENTA);
 tft.setFreeFont(FF18);
 tft.drawString("Yellowtail 32", 160, 60, GFXFF);

The text "Yellowtail 32" is centered vertically, but not horizontally, so it's slightly spaced to the right.

Last line should be:
tft.drawString("Yellowtail 32", 120, 60, GFXFF);
change 160 to 120, (screen size is 240x135) so 120 is in middle of screen not 160.


Knapsack problem algorthm added to repo

Suggestions: Create a new directory for the same, Greedy Algorithms/Knapsack and add this file there. Delete the original file.

ok i will

@ekdnam sir, please check it now


Fix error message decoding.

Checklist

[x] Linked to Github Issue
[x] Unit tests added
[ ] Integration tests added.
[x] This change requires new documentation.

[x] Documentation has been added/updated.

Codecov Report
Attention: Patch coverage is 98.14815% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.69%. Comparing base (a478e89) to head (572070a).

Files with missing lines
Patch %
Lines

src/executor/contract.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #798      +/-   ##
==========================================
+ Coverage   88.68%   88.69%   +0.01%
==========================================
  Files         121      121
  Lines       35460    35512      +52
==========================================
+ Hits        31447    31499      +52
  Misses       4013     4013

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove unused deps

Codecov Report

Merging #226 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop    #226   +/-   ##
=======================================
  Coverage     92.3%   92.3%
=======================================
  Files           51      51
  Lines         1780    1780
  Branches       153     153
=======================================
  Hits          1643    1643
  Misses         118     118
  Partials        19      19

Continue to review full report at Codecov.

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


Particle housekeeping

A few housekeeping changes that distribute the various things in particle.py to separate submodules:

Separate particleset.py submodule
Separate particlefile.py submodule
New kernels submodule with kernels.advection to hold advection kernels
This leaves particle.py to only define the Particle types and the relevant utility methods for JIT (ParticleType)

PR looks good. Just had two questions about reordering some more:

Would it make sense to bundle all fileIO into one file? Also so that plotParticles.py can access it?
Would it be more intuitive for users and easier to add new kernels when we put the new kernels directory straight at the root of the repo, rather than within the parcels directory?


[CMT-981-1354] feat: add "people-of-yearn" "farrahmay" & "transcriptions" subfolder support

Description
This pull request adds support for People of Yearn subfolder under Articles
Fixed issue
Fixes #(issue)
Type of change

[X] Other

Resources

the en.md files there are placeholders

Pulled an transcription article onto the branch #1348 and ran it locally showed up just fine so seems to be working well.


Inputhandler refactoring for issue #4 and #8

Factored out private void ProcessOutputQueue() to new class ProcessScheduler plus IScheduler ...
... to make it testable (and more single responsible)
included the fix-failing-test branch
fix for a wrong test
named the three long running threads

Martin

Changes make sense!  Going to figure out if there is a good order to merge everything... hopefully should merge cleanly :)

To boldly go, where no one has gone before :-) Although there are many changes (I'm not quite familiar with git, sorry) the combined set should merge cleanly "This branch has no conflicts with the base branch".


Can't resolve 'single-spa-react/parcel'

I follow the docs to import the Parcel from single-spa-react/parcel, and it said: Module not found: Can't resolve 'single-spa-react/parcel'.
I use these codes to import the Parcel component:
import React from 'react';
import Parcel from 'single-spa-react/parcel'

const HelloParcel: FC = () => {
  return (
    <div>
      <Parcel
        config={() => import('../../../../apps/react-app/src/Hello')}
        wrapWith="div"
      />
      Hello Parcel
    </div>
  )
}

Am I missing any other steps? I am sure I have already installed the single-spa-react package.

What version of Webpack is your project using? That matters in how modules are resolved. See also: https://github.com/single-spa/single-spa-react/releases/tag/v3.0.0

Closing this as likely solved by the migration notes in the release notes that @filoxo linked to. Feel free to comment further or reopen if that's not the case.


Create a "Student Projects" category on Discourse

Summary
Create a "Student Projects" category on Discourse for students to share personal projects with other students, faculty, and alums
Background
It would be a good place to consolidate activity about project work. It also encourages people to share more about their personal projects by making a specific space for that topic.
Details
A sub-category of RIT Academic Life I think?
Outcome

More people learn and discover on-going student project work
We can solicit more people to help us with Imagine RIT :tada:

Closing as complete. This is now implemented:
https://fossrit.community/t/about-the-projects-category/77


brew: fix for systems having non-standard bash

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

This change allows brew to run on systems that have bash installed in non-standard location (like /usr/bin/bash)

Yeah, that patch looks good to me. Does bin/brew require bash?
@rwhogg Can you look over this patch?

There are a few bashisms in bin/brew, so yes it does require bash. Theoretically it might work with zsh or ksh but frankly I doubt it.
Here's the bash dependencies from the current-master version:
% checkbashisms bin/brew
possible bashism in bin/brew line 13 (alternative test command ([[ foo ]] should be [ foo ])):
[[ -n "$HOMEBREW_PREFIX" && "$HOMEBREW_PREFIX" != "$HOMEBREW_BREW_FILE" ]] \
  || HOMEBREW_PREFIX="/"
possible bashism in bin/brew line 17 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -L "$HOMEBREW_BREW_FILE" ]]
possible bashism in bin/brew line 28 (should be '.', not 'source'):
source "$HOMEBREW_LIBRARY/Homebrew/brew.sh"

Of course, this doesn't solve the issue of bash not being installed at all, but other than Android and Busybox-based machines I'm not aware of any such environment in widespread use.
:+1: from me.

Okay. Good to merge, Piotr.


[GLUTEN-3432][VL] Add support for CartesianProductExec

What changes were proposed in this pull request?
Added support for CartesianProductExec
CartesianProductExec with no join conditions in Spark will get converted to NestedLoopJoin in Velox.
CartesianProductExec with join conditions will not get converted to NestedLoopJoin in Velox in the current PR.
(Partially Fixes: #3432)
How was this patch tested?
Tested using unit tests
TODO: End to end testing with TPCDS dataset

Gentle ping!! @zhouyuan

@Surbhi-Vijay appreciated your help! The general framework looks good, will take a deep look this week.
it looks like there are some code style issue, some unit tests are also failing, could you please fix those issues?
thank, -yuan

I have fixed the formatting issue. Test cases are failing in reading file with data type timestamp issue. Do you know what might be the possible reason? I have not changed anything related to timestamp in the current PR.

To support Cartesian product with conditions, "Expression expression" should be added into "CrossRel" in algebra.proto file and then necessary supporting changes can be made.
message CrossRel {
  RelCommon common = 1;
  Rel left = 2;
  Rel right = 3;
  Expression expression = 4;

  substrait.extensions.AdvancedExtension advanced_extension = 10;
}

I see that Velox also maintains copy of  algebra.proto  files. If we change the CrossRel in gluten then the same should be changed in Velox as well.
The other way I could think of is to send conditions as string in the advanced_extension node. This can be sent as part of enhancement in the AdvancedExtensionNode.
public class AdvancedExtensionNode implements Serializable {

  // An optimization is helpful information that don't influence semantics. May
  // be ignored by a consumer.
  private final Any optimization;

  // An enhancement alter semantics. Cannot be ignored by a consumer.
  private final Any enhancement;
  ..............
  }

This condition string should be then parsed while converting substrait plan to Velox plan. Here the challenge would be convert this string to Velox expr.
Currently, I only see boolean flags getting passed in the AdvancedNodeExtensin enhancement. For example, isSMJ, isNullAwareAntiJoin etc.
@zhouyuan please let me know your thoughts on it. Also, should we take up supporting join conditions in the current PR?

To support Cartesian product with conditions, "Expression expression" should be added into "CrossRel" in algebra.proto file and then necessary supporting changes can be made.
message CrossRel {
  RelCommon common = 1;
  Rel left = 2;
  Rel right = 3;
  Expression expression = 4;

  substrait.extensions.AdvancedExtension advanced_extension = 10;
}

I see that Velox also maintains copy of algebra.proto files. If we change the CrossRel in gluten then the same should be changed in Velox as well.
The other way I could think of is to send conditions as string in the advanced_extension node. This can be sent as part of enhancement in the AdvancedExtensionNode.
public class AdvancedExtensionNode implements Serializable {

  // An optimization is helpful information that don't influence semantics. May
  // be ignored by a consumer.
  private final Any optimization;

  // An enhancement alter semantics. Cannot be ignored by a consumer.
  private final Any enhancement;
  ..............
  }

This condition string should be then parsed while converting substrait plan to Velox plan. Here the challenge would be convert this string to Velox expr. Currently, I only see boolean flags getting passed in the AdvancedNodeExtensin enhancement. For example, isSMJ, isNullAwareAntiJoin etc.
@zhouyuan please let me know your thoughts on it. Also, should we take up supporting join conditions in the current PR?

@Surbhi-Vijay thanks for the detailed info. There are actually some logic in the current hash join impls. I agree condition support can be added as the follow up.
for the timestamp unit tests - it may due to the velox rebase work as we are always rebasing with latest velox commit from meta repo.
thanks, -yuan

@zhouyuan Added condition support for CartesianProduct by adding Expression in CrossRel. This same CrossRel will be used in BNLJ with additional parameter joinType.

It looks like there's one related UT failed:
2024-01-03T10:55:23.9935883Z - inner join, one match per row using CartesianProduct *** FAILED ***
2024-01-03T10:55:23.9939389Z   Results do not match for Spark plan:
2024-01-03T10:55:23.9941425Z    CartesianProduct (N#496184 = n#496190)
2024-01-03T10:55:23.9943395Z   :- Scan ExistingRDD[N#496184,L#496185]
2024-01-03T10:55:23.9945262Z   +- Scan ExistingRDD[n#496190,l#496191]
2024-01-03T10:55:23.9946690Z
2024-01-03T10:55:23.9947404Z
2024-01-03T10:55:23.9948354Z    == Results ==
2024-01-03T10:55:23.9950124Z    !== Expected Answer - 4 ==   == Actual Answer - 3 ==
2024-01-03T10:55:23.9952175Z    [1,A,1,a]                   [1,A,1,a]
2024-01-03T10:55:23.9953912Z    [2,B,2,b]                   [2,B,2,b]
2024-01-03T10:55:23.9955644Z   ![3,C,3,c]                   [4,D,4,d]

For a sample query:  "select * from t1, t2, temp1 where t1.c1 = t2.c1"

@zhouyuan I have rebased again. This PR is complete from my side. If anything is remaining I will take it up in follow up PR.

@zhouyuan All the test cases have passed. If there are no concerns, can you please merge it?


Display the complete list of blog posts

Is your feature request related to a problem?
When navigating through blog posts—whether as a reader or the author—the All Posts link is a helpful way to access recent posts and explore them individually. However, I often find myself wanting a complete list of all posts to quickly get an overview of what's available without relying on paginated navigation.
Describe the solution you'd like
I'm not entirely sure if this is the best solution, but having a dedicated page that lists all blog posts in one place would be incredibly useful. This feature could be optional, as it might not be necessary for all users. Within the sidebar structure, it could function as a sub-entry under the All Posts section.
Describe alternatives you've considered
No response
Additional Context
No response

Thanks for the feedback, always appreciated :raised_hands:
I think there are 2 answers to the use case:

However, I often find myself wanting a complete list of all posts to quickly get an overview of what's available without relying on paginated navigation.

This feels to me more like an author feature, and I think this could be workaround right now using the postCount and recentPostCount options:
starlightBlog({
  // Use Infinity to show all posts during development
  recentPostCount: import.meta.env.DEV ? Infinity : 10,
  postCount: import.meta.env.DEV ? Infinity : 5,
});

Note that passing Infinity requires at least the version 0.16.1 of the plugin.
On a more general note, I think this would be a duplicate of https://github.com/HiDeoo/starlight-blog/issues/90. The idea in the future would be to expose all blog related data, e.g. Astro.locals.starlightBlog.posts or Astro.locals.starlightBlog.tags, etc. and then anyone could build a custom page with all the posts, tags, etc. they want.
As mentioned in the linked issue, this is something that will only happen after Starlight own route data is moved to Astro's locals object, which is a work in progress.
Hope this gives a "good enough" workaround for now, and a glimpse of what's to come in the future. Let me know if you have any other questions or feedback.

Thanks for your feedback and analysis HiDeoo 🙌

On a more general note, I think this would be a duplicate of https://github.com/HiDeoo/starlight-blog/issues/90.

That's a good point. I hesitated because the original issue seemed to focus more on the technical aspect, while I wanted to suggest a slightly different rendering option as well. However, both ideas are definitely aligned in spirit.

This feels to me more like an author feature[...]

Possibly! For now, I've set the "All posts" section to Infinity, as I think it's still useful for users given the relatively small number of posts. In the future, I'm considering adding a dedicated page that lists only the blog post titles. Alternatively, I might implement a rendering option within the same "All posts" page to display just the titles.
I'd say that allowing users to quickly browse through all posts or navigate in batches of 50, depending on their preference, can be useful to discover the content and the topics of a blog.


[question] What value to use for entity_id?

Can someone explain what the use of entity_id is? Can it have any value as long as the same is used for encryption/decryption? Does it have something to do with versioning?
Also the code sample in readme.md suggests that there is a 1-parameter overload of encrypt(bute[] plaintText). This example seems outdated.

Let me present an example, lets say a file1 is encrypted as file1.txt and file2 is encrypted as file2.txt and stored on a publicly accessible storage. An attacker could swap file1.txt and file2.txt to make the app think that file2 is actually file1. The entity id is meant to give an application identifier to the encrypted content, so that it doesn't depend on how the file is stored and if the file is swapped, the app will be able to detect that case.

Thanks! What will happen if I the entity_id supplied for decrypting is not equal to the one used for encrypting? Will an exception be thrown? If, instead,  data is returned, how do I detect the mismatch?

Yes an exception will be thrown. We don't throw a specific exception that id didn't match. It will currently throw a "could not decrypt" error

Thanks again, that's all I need to know


Steampowered Login Issue

Hello, when you log in, there is user information on the https://steamcommunity.com/ page. But when I request https://store.steampowered.com/, the login information does not appear. Is there a solution to this problem?

It's a different domain so cookies aren't shared. You'll have to implement something yourself for that.


HDRP underwater not working with MSAA

I was told to put this here by the Unity support contact for help determining a solution.
I have found that with the "MSAA Within Forward" option turned on in my HDRP settings asset, the underwater effect does not work.
First image is with "MSAA Within Forward" off, working as expected.
The second image is with "MSAA Within Forward" on, broken.

I wanted to see if this was a known limitation, or a bug that can be fixed.
A quick reply would be greatly appreciated so we know how to move forward, thanks!

Thanks. I was able to reproduce. We don't have a fix for this yet unfortunately. It is likely that MSAA is messing with a scene depth calculation. Will look further into this.

4.5 is released which solves this issue.


feat(community): support semantic hybrid score threshold in Azure AI Search

Support semantic hybrid search with a score threshold -- similar to what we do for similarity search and for hybrid search (#20907).

@baskaryan @hwchase17


Ministry Sign-Off to Response - Mandatory Criteria

As a Ministry user
I want to ensure my sign off approval is clearly documented
so that I can trace back when and whom approved a request

Assumptions & Scope
This is likely a high-priority ticket to address a gap in how we capture sign-off approvals. We want to ensure Ministry coordinators are clearly indicating whom has approved a request and when - it is too easy now for this to be missed in the current process.
What is IN scope?
Any transition from Ministry Sign-Off to Response
System generated comment update
What is NOT in scope?
Acceptance Criteria
Scenario 1: Ministry Sign-Off to Response

GIVEN a Ministry coordinator is on a request in Ministry sign-off
WHEN they update the state to response
THEN the change state modal will appear
AND there will be a space to upload a file
AND there will be a mandatory field for: Approver Name
AND there will be a mandatory field for: Approver Title
AND there will be a mandatory calendar picker for: Date Approved
AND the save change button will be inactive

Scenario 2: Save Active

GIVEN a Ministry coordinator is on the Sign-Off to Response Modal
WHEN they have entered information in the Approver Name/Title field
AND they have entered a date from the "Date approved" picker
THEN the save button will become active

Scenario 3: Save

GIVEN a Ministry coordinator is on the Sign-Off to Response Modal
AND the save button is active
WHEN they click save
THEN the modal will close and the state will update to response

Scenario 4: System Generated Comment

GIVEN a Ministry coordinator has updated the state of a request to response
WHEN the state change completes
THEN a system generated comment will indicate [user] has changed the state of the request to response. Approved by [approver name/title] on [date approved]

Scenario 5: System Generated Notification

GIVEN a Ministry coordinator has updated the state of a request to response
WHEN the state change completes
THEN a system generated notification will indicate [user] has changed the state of the request to response. Approved by [approver name/title] on [date approved]
Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)

Validation Rules? (If yes, list here)
Design
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/986540416
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

cc: @liseandtea - as discussed, and @lmullane as per my handover material to you.
Note @JHarrietha-AOT - we will need a design for this, but I am hoping we can get an estimate of effort in absence of design for now.

All AC pass. Closing this story.


fix: header message for already invited member of workspace

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/21193
PROPOSAL: https://github.com/Expensify/App/issues/21193#issuecomment-1617945832
Tests

Go to Settings => Workspaces => Select a Workspace => Members => Click Invite member button
Search an invited member of the workspace
Verify that header message is shown in format ${login} is already a member of ${workspace}
Search an Expensify service account, like<EMAIL_ADDRESS>Verify that header message Invalid email is shown
Go to Settings => Preferences => Language => Select Spanish
Repeat step 1 to 6 and verify corresponding header messages in Spanish

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Same as tests

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

@fedirjh I filled the checklists but I got some trouble to test on mobile(on the latest main branch). I'll try to update earlier tmr of my local time.

@fedirjh I just did a force push to rebase on the function component migration PR https://github.com/Expensify/App/pull/22646. I also completed the checklists. Please have another look at it, thanks 🙏

Tested! It is working well!!

🚀 Deployed to staging by https://github.com/pecanoro in version: 1.3.48-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.48-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/pecanoro in version: 1.3.49-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.49-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

I believe there was a missed case here, in https://github.com/Expensify/App/issues/25636 we fixed an issue where simply adding a capital letter to an already invited member wouldn't trigger the right error message.


Add a HASH part

Hi,
Having spent now a few months with bumpver for a project, I became frustated by the GITHASH part:
Because GITHASH forces a starting . then a hash, it is not possible to have a version that matches
both v2023.40.0 and v2023.40.0+1234. The former can be obtained with vYYYY.0W.INC0, the latter with vYYYY.0W.GITHASH. If one combines both with vYYYY.0W[.INC0][GITHASH], then trying to set a version to
v2023.40.0 will just omit the last .0, because it's the default value of optional .INC0. The resulting version v2023.40
is not semver compliant, and will break some tools (for example cargo)
I have added the HASH part, to be any hexadecimal hash.
This is useful to add a hash-like that may come from any checksum, vsc.
This allows patterns where a hash may be present or ommitted, such as vYYYY.0W.INC0[\+HASH] which can accept v2023.40.0 or v2023.40.1+abc123

I've renamed the part to HEXHASH, primarily to avoid this lint error: A001 variable "hash" is shadowing a python builtin.

As with the GITHASH part, I'm going to leave this undocumented. Ultimately I think this still needs some work to be populated automatically. As far as I can tell, this part can only be populated using --set-version, which defeats a large part of the purpose of bumpver.

Thanks for fixing the checks. I agree that this defeats partly the purpose of bumpver, or rather it makes a partial use of it in my case:

bumpver still sets the calendar part of things
That part is then combined with a git describe for the last part of the hash
And then we use set-version for bumpver to update the various files.
But thanks for adding this.

Fixed with 2023.1127


Version 0.8.1 error with page already visited

Hi @gi0baro
With version 0.8.1 an error was introduced when visiting an already visited page
TypeError: load() missing 1 required positional argument: 'filename'  return self.cached_get

def _fetch_dependency_source(self, filename):
    tpath, tname = self.templater.preload(self.tpath, filename)
    filepath = os.path.join(tpath, tname)
    tsource = self.templater.load(filepath)
    return self.templater.prerender(tsource, tname)

def reloader_get(self, filename, source):
    hashed = make_md5(source)

José

Fixed in master with ce501b9 and in 0.8.2 with d95e120


[r] Adjust SparseNDArray test to renamed soma_data method

This PR updates one test to refer to the now-renamed soma_data method (see #397 for original rationale).

Codecov Report
Base: 65.16% // Head: 66.82% // Increases project coverage by +1.65% :tada:

Coverage data is based on head (ad9cdfc) compared to base (5a3c417).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #634      +/-   ##
==========================================
+ Coverage   65.16%   66.82%   +1.65%
==========================================
  Files          64       64
  Lines        3376     3376
==========================================
+ Hits         2200     2256      +56
+ Misses       1176     1120      -56

Flag
Coverage Δ

python
74.82% <ø> (ø)

r
56.97% <ø> (+3.70%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

R/utils.R
50.00% <0.00%> (+2.08%)
:arrow_up:

src/include/tiledbsoma/arrow_adapter.h
59.22% <0.00%> (+8.73%)
:arrow_up:

R/SOMASparseNdArray.R
100.00% <0.00%> (+100.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Deployment - Creating new yml file and Updating old yml file

Executed build pipeline:

Executed build pipeline:


chore: get rid of all inline C annotations for LLVM

the LLVM backend cannot code generate inline c annotations, so we outline these into lean.h.
Reference for extern versus extern c semantics: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Difference.20between.20extern.20and.20extern.20c.3F/near/321191966
Peeled from https://github.com/leanprover/lean4/pull/2340 to enable LLVM for stage1+ builds.

@tydeu I've incorporated your suggested changes here.

@bollu I would have left version (and possibly internal) in the name for those extern symbols as that is part of the C version constant's name and the definitions are within a Version (or Internal) namespace in Lean. Otherwise, LGTM! 😄

@Kha I revert the changes in src/runtime/CMakeLists.txt

@Kha can we run a !bench on this PR to make sure that just this change does not lead to a change in perf?

!bench

Interesting, while the bot acknowledge my !bench with a rocket, it does not appear to have actually succeeded.  I will leave it @Kha then.

Oh, so the !bench did work, it just took much longer than I expected. Interesting. 🤔

Yes, because the queue is shared with mathlib4

@Kha I'm happpy to merge the PR from my end.


slapd fails to start - daemon: listen(ldap://ldap, 5) failed errno=98 (Address already in use)

Been working on this all afternoon, Im hoping I have something obviously misconfigured. I got it to work once and then on a restart I get this error when slapd tries to start and I havent been able to make it go away except by manual intervention.
version: '2.0'
services:
    ldap:
        image: osixia/openldap:1.2.0
        container_name: openldap
        restart: always
        command: --loglevel trace --copy-service
        volumes:
          - ./ldap/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom
          - ./ldap/slapd/database:/var/lib/ldap
          - ./ldap/slapd/config:/etc/ldap/slapd.d
        environment:
          LDAP_ADMIN_PASSWORD: "admin"
          LDAP_ORGANISATION: "Redhat Inc."
          LDAP_DOMAIN: "redhat.com"
          LDAP_TLS: "false"
          LDAP_TLS_ENFORCE: "false"
          LDAP_TLS_VERIFY_CLIENT: "never"
          LDAP_REMOVE_CONFIG_AFTER_SETUP: "false"
          LDAP_BACKEND: "hdb"
        hostname: ldap.redhat.com
        ports:
          -  "<IP_ADDRESS>:389:389"
          -  "<IP_ADDRESS>:636:636"

openldap_slapd_failed_to_start_1_debug.txt
openldap_slapd_failed_to_start_2_trace.txt
openldap_slapd_failed_to_start_3_trace_manual_start.txt
openldap_slapd_failed_to_start_4_docker_info.txt
Things I've tried:

rm -rf ./ldap/slapd/database ./ldap/slapd/config, no effect
try osixia/openldap:1.1.11, no effect
change LDAP_BACKEND to "hdb", no effect
remove "<IP_ADDRESS>" from port ranges, no effect
clean up a bunch of docker images and containers, no effect
attach to the running docker container and manually run the slapd command after it fails:

>docker exec -it 3308e177dd1b bash
slapd -h 'ldap://ldap  ldap://localhost ldapi:///' -u openldap -g openldap -d 256
5aa1a38e daemon: bind(9) failed errno=99 (Cannot assign requested address)
5aa1a38f slapd starting
5aa1a38f daemon: listen(ldap://ldap, 5) failed errno=98 (Address already in use)
5aa1a38f slapd stopped.

so it fails in the interactive shell but over in the running docker-compose shell I see openldap_slapd_failed_to_start_3_trace_manual_start.txt (look after all the sleeps while I was connecint bash and executing the slapd command). So it appears to work, though i haven't spent much time verifying functionality. Its complaining about my ldif syntax for some reason.
What am I doing wrong?

The issue seems to come from container hostname. I will investigate on that.
Thanks for reporting this issue.

yeah looks like if I remove hostname altogether it works

Anyone got this to work? I cannot get it work even after removing host name.

I confirm that I have the same problem when I'm using a fully qualified hostname or a domainname (but ok, with a simple hostname like 'ldap' without any domainname).

I have the same problem.. and I could see that in my /etc/hosts had two lines for the same hostname.
I put all in one line and works!
thanks men!

I also ran into this problem only when specifying a docker config domainname.
I was able to workaround this by overwriting the entrypoint to specify the arg to not mess with the /etc/hosts file, i.e:
{noformat}
ENTRYPOINT ["/container/tool/run", "--dont-touch-etc-hosts"]
{noformat}

Options are here:  https://github.com/osixia/docker-light-baseimage/blob/807519dc9ec668f3df8ebe5d273e7f1ec4b9fa2b/image/tool/run#L841

Hi - I commented domainname and hostname and got it working.


Write unit-test that shows incorrect handling of overridden id field.

Suppose that I've overridden id field on a Document with an arbitrary datatype (non-ObjectId) and created a default serializer for it:
class MyDocument(Document):
    id = StringField(primary_key=True, required=True)

class MySerializer(DocumentSerializer):
    class Meta:
        model = MyDocument

Currently, DRF-M handles this situation incorrectly. If I pass data={id: "SomeUniqueKey"} to MySerializer, it successfully stores id key-value pair in initial_data, but not in validated_data. Still, it successfully passes is_valid(), but does not create a value for id in me_data during recrusive_save() and fails mongoengine validation, when trying to create a model instance in instance = self.Meta.model(**me_data).
I have to do the following:

Write a unit-test that points to this incorrect behavior.
Fix this behavior.
Look into handling of field arguments more carefully, may be more bugs are hiding there.

Also, DocumentSerializer uses ReferenceField without care about type of referenced model id.
It can be adjusted on class level globally, but automagic will fail.

@qwiglydee  Ah, I didn't see that. Thanks for suggestion. Qwiglydee, while you're still here, I have a couple of design questions:

Are DynamicEmbeddedDocuments meant to work with normal EmbeddedDocumentSerializer, or should we create a specific EmbeddedDocumentSerializer subclass as in https://github.com/umutbozkurt/django-rest-framework-mongoengine/blob/master/rest_framework_mongoengine/serializers.py#L464?
Do we handle extra_kwargs for fields in automatically created EmbeddedDocumentSerializers? E.g. something like this:

class Kid(EmbeddedDocumentSerializer):
    foo = StringFIeld()

class Papa(Document):
    kid = EmbeddedDocumentField(Kid)

class PapaSerializer(DocumentSerializer):
    class Meta:
        model = Papa
        extra_kwargs={
            'kid.foo': {allow_blank: True}
        }


refactor: optimize the pendingBridgeCall structure

Summary by CodeRabbit

New Features

Enhanced PendingOutgoingBridgeCall message to include detailed annotations for better handling of non-liquid coins and rewards.

Tests

Added unit tests to verify the iteration logic for bridge calls not liquid by denomination.

Bug Fixes

Improved handling and assignment of non-liquid coins in various functions for more accurate processing.

mg


[stable/external-dns] Empty clusterIP does not attempt invalid update

What this PR does / why we need it:
This will prevent Error: UPGRADE FAILED: Service "my-external-dns" is invalid: spec.clusterIP: Invalid value: "": field is immutable
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): No known issue reported
Special notes for your reviewer:
clusterIP cannot be updated
The empty string is a valid value on installation, but not update.
Empty string is the default value, therefore only set clusterIP if a non-empty value is provided.

/ok-to-test

/lgtm

/lgtm


remove support for multiple <Editable />.

before the simplified @react-page/editor package, you had to manage <Editables /> and the Editor instance yourself. The simplified package makes it much easier and cleaner, but the old way is still possible and gives me some headache to support while refactoring.
In https://github.com/react-page/react-page/pull/864 i partly breaked the old way, but its still possible to do. But i fear that further development will be hindered by it.
so i would like to deprecated that officially and remove it later (version 2.x.x) and would like to hear if and why people are still using it to see if there is another solution.
Also i consider merging the multiple packages into one (core, ui, editor, renderer), as with tree-shaking and dynamic loading there is no reason anymore for multiple repos (Which makes development more annoying).

have to do this in 1.0.0.
i noticed that i had an unsolvable problem with the current package structure.
i will now merge editor core and ui into one package. it's totally possible to later allow to still customize the ui, but for now, i desparatly need to simplify and streamline things.

support for multiple editable is still supported by the data strucutre, but currently not by the components. I am still thinking whether to remove it from the data structure as well or keep it around

this is done in beta

this is done in beta


Thanks for the kamstrup 403 HA Add-on

Hi Golles,
I started using HA and during the holidays installed your Kampstrup 403 add-on. It worked perfectly right out of the box. I used an IrDA from AliExpress that worked great even with a 5 meter USB extention cable. The first time i was lazy and used the short tty/USB1 notation in the configuration.  And sure enough, at the first reboot i lost the connection.
Thanks for the thorough documentataion and the add-on!

I appreciate your message, thanks!


Update google-signin-status.html

seems to have little mistakes in the link adress

Ah, I haven't updated these samples to the newest google-signin release and the bower.json isn't set to old version correctly. So there might be more changes necessary. Thanks for reminding me.
Merging this for now and will look over it later.

Great job and amazing web components, thanks!
Pierre Alibert
CEO Smart-Virt**ual-View
5 rue des Etats Generaux
31130 Balma
www.smart-virtual-view.com
+33 7 77 03 80 92
2015-04-02 14:29 GMT+02:00 Gerwin Sturm<EMAIL_ADDRESS>
Merged #2 https://github.com/Scarygami/google-signin-samples/pull/2.
—
Reply to this email directly or view it on GitHub
https://github.com/Scarygami/google-signin-samples/pull/2#event-271650771
.


add group uuid as parameter for deviceview endpoint

Description
enable group_uuid as parameter to device view endpoint to be able to get list of device based on the insights group
FIXES:
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Codecov Report
All modified lines are covered by tests :white_check_mark:

Files
Coverage Δ

pkg/routes/devices.go
60.00% <ø> (+1.95%)
:arrow_up:

pkg/routes/query_params.go
90.47% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.


Isometric overlapping tiles have wrong priority

I have grass tiles of size { x: 64.0, y: 48.0 }

And I am trying to overlap them using grid size of TilemapGridSize { x: 64.0, y: 40.0 }

The problem is, that SW side of each tile is visible. Maybe this is wrong Z coord of each tile, which I can`t handle manually, because TilePos has only x and y.
P.S. On larger maps I have some rows that have desired priority, but don't understand why it happens.

Am I need to access to z-coord of tiles somehow, or is there a better approach?

Test project:
https://github.com/CiderSlime/bevy_test_2d/blob/master/src/plugins/map.rs

these are 3D iso tiles please look at the 3d iso example:
https://github.com/StarArawn/bevy_ecs_tilemap/blob/main/examples/3d_iso.rs

The 3D isometric example, in fact, is another one Tiled example. This can be of limited help when my level is procedurally generated.

The 3D isometric example, in fact, is another one Tiled example. This can be of limited help when my level is procedurally generated.

Sorry it took awhile to get back to you on this. The tiled example can help but you are right its not great.
The specific piece that is important is turning on y-sorting for isometric. This has a performance cost so please keep that in mind. You'll need to use these settings:
        .insert_resource(TilemapRenderSettings {
            // Map size is 12x12 so we'll have render chunks that are:
            // 12 tiles wide and 1 tile tall.
            render_chunk_size: UVec2::new(3, 1),
            y_sort: true,
        })


Feature: Job Detail Page

feat(jobsdetailpage): add mediator to jobsdetailpagecontainer
this removes the storemixin from the jobsDetailPageContainer. This uses the data from the datalayer.

Commit:
ab24b585a250923986e6ddc29bda280a034a93fd
feat: remove container component from jobdetail view
This removes the need for the container component at the jobdetailpage. This moves all state to the
data layer.

Commit:
0e98ba53556ba02ade3e7a437cef1cbc28ab9559

We started moving our stuff to plugins/jobs - would be awesome if you also could move everything "done" to that folder 👍

wrong button…

@Poltergeist and I paired on trying to remove JobTree from the breadcrumb, here is the branch ph/feat/job-detail-page-breadcrumb-rewrite-try.

@DanielMSchmidt and @Poltergeist. Was the removal simple? My initial idea on that was to give the job tree a list of jobs and leave it be.

@Poltergeist I cant also find the ticket to be able to move it back to in progress.

flicts!

@fabs @nLight Sorry, this one was actually in progress since the Breadcrumb is not yet working.

Right @Poltergeist. On the case that it was not working because the jobTree, I would not try to remove it, and have the mediator build it everytime it gets new jobs, and pass it down as before, so we can quickly achieve that one.

@Fabs we were pretty close to a good solution / refactoring, but errors don't show up on my machine (I think on every machine besides orlandos). I think once this issue is resolved we can finish the breadcrumbs in half a day max, there was not so much left

I implemented the Breadcrumbs, therefore I am closing this and taking the other branch 😇


The GlobalAssemblyCache can't be found on this object

When running the command ExportProjectContent I am getting an error stating the globalseemblycache can't be found on this object.
https://docs.microsoft.com/en-us/project-for-the-web/export-user-data-from-project-for-the-web#feedback

@ddarnley - thank you for submitting feedback.
I think the best way forward is if you open a service ticket so this can get resolved ASAP. Please keep us posted here on the resolution to feed whatever information you discover into the content.


pluginInitialize method does not override or implement method from supertype

I'm trying to use the Cordova notifications plugin within a MeteorJs Cordova integration. When meteor tries to build the notifications plugin I get the error below. Not sure of the reason for this error since the CordovaPlugin class clearly has a pluginInitialize method. Any pointers as to what the cause of this error would be greatly appreciated.
[javac]  ChromeNotifications.java:80: error: method does not override or implement a method from a supertype
[javac]  @Override

Likely the case is that the version of cordova-android that you're using is too old.

Given that we're not seeing this problem, the assumption is the solution is updating your version of cordova-android, as agrieve suggested.  As result, this issue will be closed.
If that doesn't resolve your error, please re-open the issue with additional details (including your cordova-android version).


⚠ Bofrost.es has degraded performance

In 14d9b61, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1341 ms

Resolved: Bofrost.es performance has improved in 8a67ec0 after 6 minutes.


Panning Not Working within iframe — Events Not Captured

I am encountering an issue when using it inside an iframe. Specifically, the panning functionality does not work as expected because the library is not capturing mouse events within the iframe. It appears that react-zoom-pan-pinch is only listening to mouse events from the parent window and not from the iframe.
Steps to Reproduce:

Create a react-zoom-pan-pinch setup inside an iframe.
Attempt to pan the content within the iframe by dragging the mouse.
Observe that panning does not work, and no events are captured.

Expected Behavior:
The panning functionality should work within the iframe, capturing mouse events inside the iframe and updating the pan state accordingly.

@manish-taygo did you just added non-passive event dispatches to solve this on your own?


[banuser] Check to see if reddit automatically sends modlogs message for sent for temporary ban ending

Check modlogs for potential auto unban for tempbantest7

Yes - reddit DOES automatically send unbanuser message.


sticky does not work

Even if isSticky: true the menu is not sticky, not even your own demo.

Hi, What browser are you using?

Vivaldi 2.11.1811.33 (Stable channel) (64-Bit) on macOS Version 10.14.6


Added clarification to Temporary workaround

Adobe cloud does not allow to configure HTTP headers via Nginx configuration

Solved through the internal PR


HSEARCH-1769 Fix NoSuchElementException error in SyncWorkProcessor

@gustavonalle (cc @Sanne) here is the fix I am thinking of.
I don't know how to properly test that situation. I walked the code for 1.5 hours and I cannot find the reason why an empty List arrives here. It might be due to a different problem?
To further track this down, I also added a log to be able to detect empty lists before they go to a different thread.
My changes pass the test suite. Not sure how much of that feature was covered though.
We can apply to master when you guys are happy.

@emmanuelbernard Looks fine

I've pushed it to 4.4, just added some unit tests to make sure that Iterator is sound and stays so in future ;)
Now porting to 4.5 and master..


IMPORTANT: A more stable and secure database

While the simple JSON database was great to get the project off and running at this point in time there is too much important data and back and forward communication between the server and the current JSON database.
available-videos.json, data-videos.json are too crucial to fail.
Im not the best at database design so if anyone is willing to give up some time to help me design and implement an improved database architecture it would be greatly appreciated.
Tasks

New and improved database architecture with a backup system
Implement database as PostgreSQL
Convert the current JSON data into Postgres

data-videos.json

videoID

video
originalVideoSrc
originalVideoType
path
{
"f734b23d-0d28-4b44-866a-675bac12cef5": {
"video": {
"originalVideoSrc": "https://i.imgur.com/eUEyzCf.mp4",
"originalVideoType": "video/mp4",
"path": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5.mp4",
"videoType": "video/mp4",
"download": "completed"
},
"thumbnail": {
"path": {
"1": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail001.jpg",
"2": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail002.jpg",
"3": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail003.jpg",
"4": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail004.jpg",
"5": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail005.jpg",
"6": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail006.jpg",
"7": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail007.jpg",
"8": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail008.jpg",
"9": "media/video/f734b23d-0d28-4b44-866a-675bac12cef5/f734b23d-0d28-4b44-866a-675bac12cef5-thumbnail009.jpg"
},
"download": "completed"
}
}
}

user-settings.json

videoPlayer

volume
muted
chromecast

download

compression

downloadVideoStream
trimVideo
downloadVideo
downloadUploadedVideo

confirmation

downloadVideoStream
trimVideo
downloadVideo

Current JSON Database Setup - Final Output
Depending if compression is true or false at user-settings.json compression data wont show at data-videos.json, available-videos.json, current-download-videos.json
user-settings.json

videoPlayer

volume | float
muted | bool
chromecast | bool

download

compression

downloadVideoStream | bool
downloadVideo | bool
trimVideo | bool
downloadUploadedVideo | bool

confirmation

downloadVideoStream | bool
trimVideo | bool
downloadVideo | bool

data-videos.json

videoID

Video

originalVideoSrc | string
originalVideoType | string
path | string
videoType | string
download |  float - > string

compression

path | string
videoType | string
download | float - > string

thumbnail

path

1 | string
2 | string
3 | string
4 | string
5 | string
6 | string
7 | string
8 | string
9 | string

download | float - > string

available-videos.json

folderID

info

title | string
inside-folder | string

content

folderID or videoID | content

or

videoID

Info

title | string
videoLink

src | string
type | string
compressdSrc | string
compressedType | string

thumbnailLink

1 | string
2 | string
3 | string
4 | string
5 | string
6 | string
7 | string
8 | string
9 | string

current-download-videos.json

videoID

video

download-status | string

thumbnail

download-status | string

compression

download-status | string


[DO NOT MERGE] Add lldb binary for linux and macos for wamr-ide

please unzip the .zip file before running wamr-ide

Is it necessary to store those files in git? I'd rather avoid having them in git history because of its size; don't we already publish them as release on Github? @cimacmillan


Fix broken Example app with updates on RN version and documentation

I fixed the broken user interface for ExampleApp. I performed RN upgrade to 0.42 only for ExampleApp. The auto-generated files after the upgrade remains in this commit (except for files which will be used locally). For Android side, @ghsdh3409 already submitted pull request #21 (now merged).
I added documentation for iOS background play. It does not require any changes in native code.
This will close #22, and close #6.

Please let me know if there is something wrong. I tested this by running ExampleApp on iOS device, but I want the reviewers to test it by oneself to confirm that it runs consistently just in case.

Oh, I just found out that there are conflicts. I'll check on this later.


Use inbuilt BLE

Re-add vector-bluetooth code + a bunch of extra error-handling and features

Removes need for an external Web Bluetooth pairing site as long as the device running WirePod has inbuilt BLE

To use, add "export USE_INBUILT_BLE=true" to the source.sh file

Can do an OTA update, authenticate a robot, and do onboarding. Onboarding can be done immediately or with the wake-up animation

Also: Add Version Info section to webroot, add check to make sure webroot and wire-pod are matched, inbuilt BLE can now run onboarding wake-up animation, better error-handling, add HTTP proxy for OTA update as Vector can't download from HTTPS source, use dropdown list for time zone

Awesome stuff, I remember seeing this in way back and when It disappeared I thought I had imagined it 😁


RandomGenerator constructor is not public in RandomGenerator

Hi, I am trying to start Level5 but my code breaks when i want to make RandomGenerator object.

import cs2030.simulator.Simulator;
import cs2030.simulator.RandomGenerator;

class Main5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int seed = sc.nextInt();
        int numOfServer = sc.nextInt();
        int numOfSelfCheckOut = sc.nextInt();
        int numOfQueue = sc.nextInt();
        int numOfCustomer = sc.nextInt();
        double lambda = sc.nextDouble();
        double mu = sc.nextDouble();
        double rho = sc.nextDouble();
        double pr = sc.nextDouble();
        double pg = sc.nextDouble();
        RandomGenerator rng = new RandomGenerator(seed, lambda, mu, rho);
    }
}

Is there anything wrong with it?

RandomGenerator should only be used inside Simulator.java. So, you can think of a way to use the rng only inside the simulator since the RNG.class file should also be stored in the same directory as Simulator.java

Import and use the random generator class within Simulator.java instead. You are trying to access the random generator outside of the folder it exists in when you package it as the Main classes are not packaged, which is why you have this error.

OH, thank you very much for the answer!
I was trying to generate all the arrival times in the main5.java :D


Add Subscription Modal

Changes

create Modal Wrapper Component
create Subscription Modal Body
fix the home view dependent on the user's role
fix the add room form such that student role is dependent on the teacher role.

Screenshots

Great code, just 2 comments.

Links should open in new tab
why so many changes to package-lock?


Please document what the keyvault resource should be when authenticating to AAD to ask for keyvault resource

I believe the key vault resource should be "https://vault.azure.net"

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

ID: f69f560f-c4f9-fff4-43b9-45ff1a477237
Version Independent ID: b04dcf69-45cd-bee1-2585-6c65153f021e
Content: Authentication, requests and responses
Content Source: articles/key-vault/authentication-requests-and-responses.md
Service: key-vault
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@bachoang
Thanks for your feedback! We will investigate and update as appropriate.

@bachoang The PR for the fix has been created and it will be merged soon. Thanks again for pointing this out, I am closing the issue based on this update, please let us know if there is something else that we can help you with.


maintenance: Bump pydantic to v2 and adapt breaking changes

Hello,
We were using this project but recently we migrated some other project to use pydantic v2 so I'm forced to do so on this one.
The most "controversial" ones could be the change of ref_block_num and ref_block_prefix  types to int on LinkedTransaction because it seems they were wrong and Array model validator raising ValueError instead of TypeError (pydantic v1 was allowing it but v2 does not)
I also seized the opportunity to group pyproject's dev dependencies into a single group.
Hope you can release a new version with these changes soon.
Thanks

Thanks for the updates, I will look into testing and cutting a release for this soon.

@robrigo, any news?


Clarify that changing Start Date requires a new pipeline to be set up

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1890
Originally created by @DouweM on 2020-03-26 22:38:16

The Connection Setup modal currently shows "Take note that changing non-date related settings of an existing configuration can result in overwritten or merged data", which is incorrect, since "start date" will be ignored if there was an existing run

View 4 previous comments from the original issue on GitLab


Continue logging in link fails

Some uses have reported that clicking on the "continue logging in" link does not work.
Steps to reproduce

Create an account (or change the email address of an existing account). This account must have the "email verified" flag off
attempt to log in. This should bring you to the account email verifier holding page
From your email program, click the email verification link. Do not click "Continue to {app name}"
Back in the Verify your email address service, click on the "continue logging in" link

Expected behaviour
Clicking on "continue logging in" will take the user first (and transparently) to Auth0, then to the application to finish logging in.
Actual behaviour
Clicking on "continue logging in" causes a file to download.

One way to avoid this is to remove the link. That approach raises the question: what should users do if they've verified through another channel?


e2e tests workflow update to use upstream pytorch

Similar to #1203 workflow update but now in e2e accuracy workflow.

Fixed in https://github.com/intel/intel-xpu-backend-for-triton/pull/1279


@conda-forge-admin, please add user @vemel

Additional comment:
You forgot to add yourself! :joy:
Sorry for the lack of input, I was unavailable for the past week. I'm just now getting caught up...

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @vemel in conda-forge/boto3-stubs-lite-feedstock#2.

Thank you!


Postgres queues: reduce the impact of racing by popping the queue 1 by 1

I like the new logic from PR #1355 and the postgres_persistence module can benefit from the same changes.

Pull Request Test Coverage Report for Build 4252

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 69.47%

Totals

Change from base Build 4246:
0.02%

Covered Lines:
12417

Relevant Lines:
17874

💛  - Coveralls

@mactaggart Can you please help review this PR? Thanks


Automatic Reload Services when Network unreachable

Hello, I've been using ferdi for quite some time now, on Macbook.
As I'm travelling a lot, im connecting - disconnecting from Wifi a lot.
seems like, whenever im opening my Mac from sleep mode - all the services get the Err Network unreachable error - with option to reload.
i'd like to suggest that whenever this error occurs, a context switch to a service will reload this one.
if succeed, try reload all services (as one network error = all network errors)
this might make the UX a little bit better.
Thanks for your great contributions.
Dan

I have the same issue on Windows. Each time I wake up from sleep, Whatsapp and Skype are disconnected and I have to manually reload them. Telegram however doesn't have this problem.
A deferred auto-reload every N seconds in case network is unavailable would be great.

What makes this issue nasty for nomadic users: I often don't even notice that Ferdi won't reconnect and thus miss messages. The setting "reload Ferdi after system resume" may be easily misinterpreted to cover network outages as well which it currently doesn't.


[BUG] In /src/App.js useStyles / makeStyles is depr.

Description
useStyles & makeStyles is deprecated in @mui 5
Remove this styling and add .css files instead.
Screenshots
No response

hey did you try using migration to tss-react

i think i can help in this. Let me know the how to contribute.

The styling could be moved to App.css instead.  I don't even know what tss-react is.  I am using MUI here.
I wanted to make compoment css for Drawer and the navigation.
If you want to work on it, go ahead.

you just want the makestyles css to work right ???

It's deprecated.. it can just be removed.  @mui/styles and @mui/material/styles are both deprecated, so they won't work.
The styling should ideally be moved to individual CSS files. These ones were for the Drawer component and the top navbar, exported from MUI as AppBar, Toolbar...
https://mui.com/material-ui/react-app-bar/https://mui.com/material-ui/react-app-bar/
https://mui.com/material-ui/react-drawer/

if you think tss-react could fix it, I am open to options here.

hey i have solved the issue of makeStyles but now it shows some useContext issue. Was it already there ??

@gbowne1

Not that I know of @itspunkaj .  Feel free to PR what you have.

No rush. Am not at my PC rn.  I can review when I get back.  I need to add the TÒDO issues today as well as there are missing some of the pages and their components.

okay


General: Deduce Addresses from PubKeys

Currently we deduce account addresses by hashing the DID string and using the result as the address. This is similar to how module accounts, identified by a string, are assigned an account address. However, since we have ed25519 public keys involved, we should use standard ed25519 Tendermint packages to deduce an address, especially so that the address always matches up with the public key! Without this change, the link between DIDs and accounts is not definite, and there are serious security implications that come with this.

Closed by #144


Loads endlessly in 1.21

Minecraft loads endlessly when trying to load the Animated Ore 0.4.1 Minecraft Resource Pack.

Hi, I tried to reproduce your problem on Minecraft 1.21 (vanilla) without any modifications and it loaded the resource pack normally. Are you using a modified Minecraft 1.21? If so could you send a screenshot of the modification folder?


Unable to build in Android Studio

I tried following these instructions, but they no longer worker work in the current version of Android Studio 4.1.1 on Ubuntu.
After selecting  the option to start a new project from source control, using https://github.com/cmusphinx/pocketsphinx-android-demo as the URL, it seemed to create the project successfully. However, the "Build" panel shows the error:
Failed to find target with hash string 'android-26' in: /home/chris/Android/Sdk

Presumably, this means it's missing the required Android version. However, your instructions said:
"Once the project is set up, your IDE will update and download all dependencies automatically."

Searching for this error message shows this type of error is somewhat common. However, none of the suggested solutions work for me. I've just installed Android Studio, so I have no cache to clear. And the solution to install the dependency via the SDK Manager doesn't work because there's no reference to an SDK Manager anywhere in Android Studio.
Do you still support Android Studio, or has this been deprecated? How else can I build the demo on Linux?

You need to figure out which sdk do you have installed. SDK manager is there in the Tools. For more update you can check:
https://developer.android.com/studio/intro/update
To open the SDK Manager from Android Studio, click Tools > SDK Manager or click SDK Manager  in the toolbar. If you're not using Android Studio, you can download tools using the sdkmanager command-line tool.
Probably you have android-29 instead of 26.

That's strange. I read an article saying the SDK Manager should be under Tools, but nothing called that was in my default Tools menu. Then I ran some recommended plugin updates, and now it's showing up.

It seems to have built now. However, there are two options to "run" the project. Should I run "app" or "wear"?

wear is for Watches and similar devices

Running neither app nor wear seems to have any effect.
Running gradle installDebug from the command line fails with the error:
com.android.builder.testing.api.DeviceException: No connected devices!

Even though I have an Android 10 device connected via USB.

Nevermind. I had enabled USB debugging, but because I enabled that while my phone as already connect, I apparently needed to disconnect and reconnect my phone for my computer to recognize it.

I was able to successfully install it via gradle installDebug and then run it from the application menu.
The only oddity is it appears to install two seemingly duplication applications, which use different icons.


Bug in Experience Page Read More Button

Read More Button Bug
The video explanation of the bug is here ####949
The text Read More text disappears on hovering

Go ahead @mruga7


Set GPG_TTY manually.

Not sure if this is needed, just trying to fix gpg-pinentry crashing the tmux server.
TODO: Test it.

Nah this doesn't seem to help.


Link to page subsections

https://gvisor.dev/docs/user_guide/filesystem/
I'd like to link to "Shared root filesystem", but it is missing an anchor target to use in a link. (A clicky copy link button would be nice too)

Yeah, it's not clear to me why some pages don't get anchors. There isn't anything we are doing specifically to add or not. Will look into it.

It looks like the header tags have fragments (id="whatever") but they aren't listed in the sidebar because docsy doesn't show the right hand page TOC if it's length is less that 200 characters.
I guess not showing the TOC when it's short is ok, but it would be nice to have clicky links on headers as you suggest. That's more intuitive than copying from the toc anyway.
I'll probably have to do it in Javascript since the pages are rendered via markdown and I won't have a lot of flexibility to add classes or whatnot to the tags and would need some JS anyway to implement the copy.