Investigate if pruning works correctly

It seems that the metrics last_pruned_effects_checkpoint metric always is 0 on our test node and also on some validator nodes of partners. We need to check if the pruning logic gets correctly executed.
Is the function prune_checkpoints correctly called?
This is the config used:
authority-store-pruning-config:
  num-latest-epoch-dbs-to-retain: 3
  epoch-db-pruning-period-secs: 3600
  num-epochs-to-retain: 1
  max-checkpoints-in-batch: 5
  max-transactions-in-batch: 1000

Just started running with using the authority-store-pruning-config above:
nohup ./target/release/iota-node --config-path fullnode.yaml > logs.rs 2>&1
...
2024-12-23T14:32:29.981798Z  WARN typed_store::rocks: very slow batch write elapsed=1.158617829 db_name="checkpoint"
2024-12-23T14:32:29.981830Z  WARN typed_store::rocks: very slow batch write elapsed=1.159495468 db_name="epoch"
2024-12-23T14:32:29.981980Z ERROR iota_metrics::thread_stall_monitor: Thread stalled for 0.95815125s. Possible causes include CPU overload or too much blocking calls.
2024-12-23T14:32:29.982130Z  WARN typed_store::rocks: very slow batch write elapsed=1.159264895 db_name="epoch"
2024-12-23T14:32:29.982260Z  WARN typed_store::rocks: very slow batch write elapsed=1.159700339 db_name="epoch"
2024-12-23T14:32:30.112807Z  INFO iota_core::checkpoints::checkpoint_executor: Checkpoint execution took 1.495551615s
2024-12-23T14:32:30.113013Z  INFO iota_core::checkpoints::checkpoint_executor: Finished syncing and executing checkpoint 1055000

@muXxer
Not sure I understand this metrics address, shouldn't it be a remote server IP there?
My full config:
cat testnet/fullnode.yaml

# Update this value to the location you want Iota to store its database
db-path: "/root/db/testnet"

# For ipv4, update this to "/ipv4/X.X.X.X/tcp/8080/http"
network-address: "/dns/localhost/tcp/8080/http"
metrics-address: "<IP_ADDRESS>:9184"
# this address is also used for web socket connections
json-rpc-address: "<IP_ADDRESS>:9000"
enable-event-processing: true

genesis:
  # Update this to the location of where the genesis file is stored
  genesis-file-location: "/root/testnet/genesis.blob"

# Update this to the location of where the migration file is stored
migration-tx-data-path: "/root/testnet/migration.blob"

authority-store-pruning-config:
  num-latest-epoch-dbs-to-retain: 3
  epoch-db-pruning-period-secs: 3600
  num-epochs-to-retain: 1
  max-checkpoints-in-batch: 5
  max-transactions-in-batch: 1000

p2p-config:
  seed-peers:
    - address: /dns/access-0.r.testnet.iota.cafe/udp/8084
      peer-id: 46064108d0b689ed89d1f44153e532bb101ce8f8ca3a3d01ab991d4dea122cfc
    - address: /dns/access-1.r.testnet.iota.cafe/udp/8084
      peer-id: 8ffd25fa4e86c30c3f8da7092695e8a103462d7a213b815d77d6da7f0a2a52f5

Checking the latest logs, for the last 3 minutes this is the only log getting produced:
2024-12-24T06:27:46.266146Z  INFO iota_core::authority::authority_store_pruner: scheduling pruning for checkpoint 5295673
2024-12-24T06:27:46.268028Z  INFO iota_core::authority::authority_store_pruner: scheduling pruning for checkpoint 5295674
...
2024-12-24T06:29:28.164275Z  INFO iota_core::authority::authority_store_pruner: scheduling pruning for checkpoint 5305610
2024-12-24T06:29:28.164980Z  INFO iota_core::authority::authority_store_pruner: scheduling pruning for checkpoint 5305611
2024-12-24T06:29:28.165745Z  INFO iota_core::authority::authority_store_pruner: scheduling pruning for checkpoint 5305612

After 18hrs:
du -hs ~/db/testnet/
42G     /root/db/testnet/


all java file deleted

after rename
all java files are removed and
doesn't recovery
in android/app/src/main/java/com/projectName
react info

System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
Memory: 1.99 GB / 7.95 GB
Binaries:
Node: 12.10.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.11.3 - C:\Users\guhyeon\AppData\Roaming\npm\npm.CMD
SDKs:
Android SDK:
API Levels: 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28
Build Tools: 19.1.0, 20.0.0, 21.1.2, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.0, 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.2
System Images: android-19 | ARM EABI v7a, android-19 | Intel x86 Atom, android-19 | Google APIs Intel x86 Atom, android-22 | Google APIs Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom, android-25 | Google APIs ARM 64 v8a, android-25 | Google APIs ARM EABI v7a, android-25 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom
npmPackages:
react: 16.8.1 => 16.9.0
react-native: 0.61.2 => 0.61.2

same bug in my project

Without -b tag there is a bug, try run the command with -b, it should solve your problem for now.

after rename
all java files are removed and
doesn't recovery
in android/app/src/main/java/com/projectName
react info

System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
Memory: 1.99 GB / 7.95 GB
Binaries:
Node: 12.10.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.11.3 - C:\Users\guhyeon\AppData\Roaming\npm\npm.CMD
SDKs:
Android SDK:
API Levels: 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28
Build Tools: 19.1.0, 20.0.0, 21.1.2, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.0, 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.2
System Images: android-19 | ARM EABI v7a, android-19 | Intel x86 Atom, android-19 | Google APIs Intel x86 Atom, android-22 | Google APIs Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom, android-25 | Google APIs ARM 64 v8a, android-25 | Google APIs ARM EABI v7a, android-25 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom
npmPackages:
react: 16.8.1 => 16.9.0
react-native: 0.61.2 => 0.61.2

In my case IOS and Android builds are gone! This is a serious problem!

Without -b tag there is a bug, try run the command with -b, it should solve your problem for now.

Even using -b option my MainActivity.java, MainApplication.java and SplashActivity.java was removed

Same problem here, even with -b parameter.

I have the same problem

Yeah, also the repo is very outdated, last release was more than 1 year ago...
I wondering if the maintainer is willing to hand it over to somebody else to maintain it...

Same bug here

same

same

Any update on this issue?

Please use a latest version.
Also provide a command which you run.

@vomchik
Oh I was using 2.4.1.
It works well on 2.6.0 latest.
Thank you 👍

Fixed in v2.6.0


Update path to latest pkg:test location

https://github.com/dart-lang/sdk/blob/561dc79a7b6d09b0af09a82cdeaf30c425ad6422/pkg/kernel/pubspec.yaml#L17-L18
RE https://github.com/dart-lang/sdk/commit/561dc79a7b6d09b0af09a82cdeaf30c425ad6422

Why does this file even have dev_dependencies like this? They're incomplete and can't be used... What are they accomplishing?

🤷♂

I'm going to change them to any.
https://dart-review.googlesource.com/c/sdk/+/99204

Fixed in https://github.com/dart-lang/sdk/commit/f6573719721e28ffeb5f020d3bfb05d473891d1b


chore(lvs/lvol): add trace message before zeroing super

This is useful to trace how long zeroing takes.
Also use write_zeroes variant that is now available which is much simpler.

bors merge

bors merge


.projectile missing from projectile root markers

This commit reduces the number of projectile root markers which is cool and great: https://github.com/hlissner/doom-emacs/commit/9b25582be1c9f0ace2e3ed161705e66943ba4587
But it also removes the .projectile root marker: https://github.com/bbatsov/projectile/blob/0f5018fd7e7b3a1d224d3aa96edff0b40306e79f/projectile.el#L327
I can't tell if dropping that was intentional or not but it seems like something that's worth keeping since it's the default recommended in projectile's docs.
Thoughts?

It mentions .projectile at the bottom of this section and elsewhere https://projectile.readthedocs.io/en/latest/projects/#file-markers

This is a duplicate of #1974.
The removal of .projectile was indeed intentional. See https://github.com/hlissner/doom-emacs/issues/1974#issuecomment-546977542 for an explanation. Sorry for the inconvenience!

ok, thanks!


Implement indices.reload_search_analyzers

Implements: https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html
Main work is in commit: https://github.com/elastic/elasticsearch-net/commit/0b1aca060e67760190e2e8110eab92acaa70ce6b

Manually backported


incorrect struct declaration on Invoice.go

FixedVa field's data type doesn't match with the actual type returned from the API. it should be bool instead of string
{
    "id": "61a471689f4902d08fbcd4cf",
    "external_id": "61a47168d9ffb776b9cbffc1",
    "user_id": "5f068bcd891e3a13988cf8e5",
    "status": "PENDING",
    ...
    "fixed_va": true // <----- api returns bool type of data for this particular field
}

fix integration test

sorry, I won't have time to fix this.
just FYI, refer to the get invoice sample response in the doc https://developers.xendit.co/api-reference/?bash#get-invoice
or try the API on staging env. the API response doesn't match with the struct definition on the go.

@novalagung this issue has been fixed in PR #79


WebLogic: generic container no longer starts

I've prepared Dockerfile with app extending 12212-generic image, I've also used "container scripts" from 12212-domain sample and it worked with HEAD at Jun 15 '17, but after checking out to master 16 Aug '17 it didn't work anymore. I've tried setting env options in "domain.properties" but still server is exiting before even starting, I think relevant error is:
<Aug 17, 2017 7:58:14 AM GMT>    Enter username to boot WebLogic server:<Aug 17, 2017 7:58:14 AM GMT>    <Server is running in Production Mode and the System Console to read the password securely from the command line was not found. The System Console is not present if stdin, stdout, or stderr is redirected when starting WebLogic Server.>
Am I missing something here? I didn't saw information in any readme about setting extra credentials to boot server.

Please try the 12213-domain image the problem has been fixed.

i have the problem too,the follow is what i do:
docker pull store/oracle/serverjre:8
cd docker-images/OracleWebLogic/dockerfiles
sh buildDockerImage.sh -v 12.2.1 -g
cd docker-images/OracleWebLogic/samples/1221-domain/
docker build -t 1221-domain --build-arg ADMIN_PASSWORD=welcome1 --build-arg ADMIN_NAME=WL_AdminServer .

run the container
 docker run -d --name wlsadmin --hostname wlsadmin -p 7001:7001 1221-domain

###got the error
Enter username to boot WebLogic server:<Apr 19, 2019 1:45:41 PM GMT> <Error> <Security> <BEA-090782> <Server is running in Production Mode and the System Console to read the password securely from the command line was not found. The System Console is not present if stdin, stdout, or stderr is redirected when starting WebLogic Server.>

why don't you resolve the problem, i don't want to use 12213.

1221 is not a supported version of WebLogic, I am about to retire all the unsupported images and samples.
Monica

ok ,i know ,i will try <IP_ADDRESS> again ,thanks.


Rewrite Middleware to its own repo?

I feel that eventually the Rewrite middleware should be in its own repo. It has gotten to the point where it is almost on the scale of Routing, and with the inevitable extensions that will be added, it will grow more.
Just a thought.

It's fine where it is for now.


fix(Analysis/NormedSpace/OperatorNorm): muddled norm and nnnorm

This is a lemma about nnnorm, but it seems one of the arguments was forgotten.

Thanks!
bors r+


re #1506 Enabling Maven version enforcer plugin in LangChain4j :: Integration :: Azure OpenAI module.

Issue
#1506
Change
Resolved verion conflicts and enabled Maven version enforcer plugin in LangChain4j :: Integration :: Azure  OpenAI module.
Tests
mvn clean test passed

@PrimosK looks good to me, but perharps @jdubois and @agoncal would like to contact azure-ai-openai owners so it can be fixed there?

On our side, @JonathanGiles is probably the best person to ping on this matter - Jonathan, do you have time to review this?

Pinging @srnagar and @mssfang

@PrimosK looks good to me, but perharps @jdubois and @agoncal would like to contact azure-ai-openai owners so it can be fixed there?

The proposed dependency resolution in this pull request is intended as a temporary measure to enable the Maven enforcer plugin ASAP, preventing further conflicting dependencies from being added. If/when azure-ai-openai will be updated to a conflict-free version, the block within <!-- DEPENDENCY CONFLICT RESOLUTION FOR AZURE-AI-OPENAI (START) --> can be removed ...
Please note that this is just a suggestion...


[Feature Request][Dashboard] - Add Custom Headers to UI

It's possible to start a new session with a webhook AND provide custom headers for that webhook via webhooks[].customerHeaders property
No way to set it in Dashboard tho, need to add it

in 2024.9.1 :crossed_fingers:


The numbers on top-left graph not begin displayed in bubble graph

I am utilizing the apexcharts library to create a custom bubble graph.
However, I've encountered an issue where the numbers in the top-left corner are not being displayed, despite the presence of values in that area.
Could this be due to a configuration oversight on my part?
stackblitz demo

Thanks for reporting, fixed it. A new version is on the way


Food

I hope you're doing well!
I wanted to share that I’m currently building an updated and functional
version of the BringApp food vendor clone app, and I’m documenting each
step in a guide on Medium. This series walks through the entire development
process, from initial setup to advanced features, so anyone interested can
follow along.
The first post, titled "Building an Updated BringApp Food Vendor Clone App
with Flutter – Part 1: Seller App Setup,"
@.***/building-an-updated-bringapp-food-vendor-clone-app-with-flutter-1-seller-app-setup-796607d0f0d1>
is already live, and I’ll be publishing additional parts soon to complete
the series.
Feel free to check it out, and let me know if you have any questions or
feedback!
KojoArmah @.***>, 8 Mar 2023 Çar, 20:34 tarihinde şunu
yazdı:

—
Reply to this email directly, view it on GitHub
https://github.com/taydinadnan/BringApp-Delivery-service-app/issues/6,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOVZYXQGF7HWM5FN7WJG45TW3DNMFANCNFSM6AAAAAAVUFPKTE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


NaN column not preprocessed properly

Missing values must be missing in the same location both left and right sides
Dropping the column fixed the issue, but this should be possible to be dropped in backend or maybe raise a more descriptive exception which informs the user about the actual column for example.

Assigned this to the 2023-03 milestone since an experiment today with the published version of Cobra shows this issue is not yet fixed in (merged into) the main branch.


Does Luma support e-ink or e-paper modules?

Does Luma support e-ink or e-paper modules?

There are no specific display drivers for any e-ink/paper displays, however, if there is a Linux framebuffer support for them, then you could use this driver: https://luma-core.readthedocs.io/en/latest/device.html#luma.core.device.linux_framebuffer


PDF Image rendering leaves blank bands

Steps to reproduce
Create a PDF from an HTML page as follows:
   private async generateReport(page: any, searchID: number,  path: string) {       await page.setViewport({ width: 1280, height: 2000 });       console.log('Navigate to Report with URL=' + navUrl);       //Navigate to the reports, wait for the page to load, and save as pdf       await page.goto(navUrl, {waitUntil: 'networkidle0'})         .catch( (err: any) => { throw new Error('could not navigate to reports page; ' + err.message); });       console.log('convert html to PDF and save to ' + path);       await page.pdf({path: path, format: 'Letter'         , preferCSSPageSize: true         , margin: { top: 20, left: 10, right: 10, bottom: 10 }         , landscape: true}).catch( () => { throw new Error('pdf generator failed'); });   }
The Html page template is produced by angular. The general structure is as follows:
(git - Won't let me put html as code sub curly braces)
{table}    {thead}myHeader Definition{/thead}    {tfoot}myFoot Definitions{/tfoot}    {tbody}       {div *ngFor="Iterate over row content div style set to display:block}          {tr}{td}             {angular-custom-contentTemplate-directive/}          {/td}{/tr}       {/div}    {/tbody}  {/table}  {div}     {google map(agm)}  {div}
The map image comes out with a blank band.

Tell us about your environment:

Puppeteer version:  "_id"<EMAIL_ADDRESS>Platform / OS version: mac 10.13.6
Node.js version: 10.12.0

What is the expected result?
Expect to get more wisiwig output of the html rendered page.
What happens instead?
Get odd blank spots in the report, despite setting the page break avoid for the {div display:block}
Particularly disturbing is the band on the last image.

Filed issue = https://bugs.chromium.org/p/chromium/issues/detail?id=915389


Can not compile the example in Arduino UNO R4 WiFi board.

It show these errors:
Documents/Arduino/libraries/mWebSockets/src/base64/../platform.h:33:4: error: #error "Unsupported platform"
error "Unsupported platform"
Documents/Arduino/libraries/mWebSockets/src/base64/Base64.cpp:9:12: fatal error: pgmspace.h: No such file or directory
include <pgmspace.h>

Try master branch.

Yes, I downloaded the library from Arduino manager before, so it compiled failed. After I used the newest code from GitHub, it works now. Thank you.


swift examples dont compile due to error with boringSSL pod

hi,
the swift example doesnt compile due to error with boringSSL pod
./Pods/BoringSSL/include/openssl/module.modulemap:1:20: Redefinition of module 'openssl'
the installation:
Installing !ProtoCompiler (3.0.2)
Installing !ProtoCompiler-gRPCPlugin (1.0.2)
Installing BoringSSL (7.0)
Installing Protobuf (3.2.0)
Installing gRPC (1.0.2)
Installing gRPC-Core (1.0.2)
Installing gRPC-ProtoRPC (1.0.2)
Installing gRPC-RxLibrary (1.0.2)
Installing googleapis (0.0.1)
Generating Pods project

applies to Speech-gRPC-Streaming sample as well as the stickynotes demo

In Xcode 8.3 framework declarations need to have the same filename as Framework. BoringSSL pod only names it modulemap.modulemap.
So solution is to change
Pods/BoringSSL/include/openssl/module.modulemap
to
Pods/Target Support Files/BoringSSL/BoringSSL.modulemap.

thanks!

This did work for me without changing module.modulemap: https://github.com/GoogleCloudPlatform/ios-docs-samples/issues/4#issuecomment-244462318

kirualex, can you explain more about the solution? I saw the Pods/Target Support Files/BoringSSL/BoringSSL.modulemap is auto generated.


Nexus 4 flashing screen in landscape mode

I've a Nexus 4 smartphone, with Android 5.1.1.
After opening the app, if I rotate the smartphone in landscape mode, the application's screen starts to flash for about 30 seconds and I have to kill it.
Obviously, it doesn't appen with other apps.

I can't reproduce since i don't own a nexus 4. however could you test the update coming in the next few days and tell me if the behavior persists ?

@yassirh sure! :+1:

Any news ?

I'm sorry, in December I was forced to change my smartphone (it was my company's phone) and the new one is based on iOS.


archive/zip: add support for appending files

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
1.6.2
What operating system and processor architecture are you using (go env)?
mac
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
I found that the archive/zip package release realization is uncompleted.
I want to append a dir or some files into an exists zip file without unzip it, but the functions are not supported.
What did you see instead?
I use the exec.Command to call zip -r command in the system. may be is not the good way.
I hope the next version archive/zip will support it.

The proposal #14386 switches the object format to be using zip files and requires the ability to append to files. Currently the proposal seems to indicate that it will use some internal logic to handle appending to zip files.

@james-tech for starters here is something that might solve the problem for you https://github.com/rsc/zipmerge by @rsc.

There is a fork of std/zip by @rogpeppe that supports this. Some discussion on the initial implementation is here: https://groups.google.com/forum/#!topic/golang-dev/ZSubqlF2G4k

Any news on if/when this can be included?

@alecha, any news would be posted here. There is no news. If @rogpeppe or others wish to contribute this to the standard library, they're welcome to.

Following up on Russ' comment in the linked email thread, it would be preferable if any suggested API allowed replacing and deleting existing files (since the appending central directory record can simply omit references to "deleted" files). True deletion would require rewriting the entire ZIP file, so there is no need for a new API for that.

I'm working on this and I have two proposals. First, adding new method func OpenAppender(name string) (*Writer, error) for simply appending to zip.
This gets rid of EOCD and writing new entry from that.
Second, adding new method func (w *Writer) Copy(f *File) error to zip.Writer for coping file without recompressing. This is the same as that implemented in zipmerge (by @rsc).
I think that deleting and replacing should be realized on the user side using suggested API.
For example, deleting file is bellow.
.
.
.
zw := NewWriter(w)
for _, f := range rc.File {
    if _, ok := delMap[f.Name]; ok {
        continue
    }
    zw.Copy(f)
}

In the replacing case, comparing header then copy or write.
I believe that these can cover most cases.

Assuming that the API isn't concerned with true deletion, one possibility is to mimick that of libzip. Adapted for Go:
// Append appends a file with the specified name to the end of the archive.
// If overwrite is true, any file with the specified name is overwritten.
func (rc *ReadCloser) Append(name string, w io.Writer, overwrite bool) *Writer

// Replace replaces the file at the specified offset.
func (rc *ReadCloser) Replace(offset int64, w io.Writer) *Writer

// Delete marks the file at the specified offset as deleted.
func (rc *ReadCloser) Delete(offset int64) *Writer

Marking as proposal, so this goes through the appropriate process.

It seems awfully strange for a type named ReadCloser to have methods like Append, Replace, and Delete.
Currently archive/zip has a seekable reader and a streaming writer.  This proposal is about adding some mechanism that permits modifying an existing zip file.  I don't see how starting with zip.Reader or zip.Writer makes much sense from an API perspective.  I think we need a clearer API proposal.

I'm not entirely familiar with the details of zip file operations, but can we consider a Replace operation to be the composition of a Delete and Create (at least from an API perspective)?
@ianlancetaylor

I don't see how starting with zip.Reader or zip.Writer makes much sense from an API perspective.

If the changes were to be minimally invasive, then possibly adding a new ModifiyWriter type
type ModifyWriter struct {
	File []*File
	Comment string
	Writer
	// contains filtered or unexported fields
}

to mirror the structure of Reader allows the usage of file offset information to perform append, replace, and delete. The usage of the API would then be very similar to how it is for Reader, except we can do more operations.
Something of the form:
mw, _ := zip.OpenWriter("testdata/readme.zip")
for _, f := range mw.File {
	n, _, := f.DataOffset()
	mw.SetOffset(n)
	mw.Delete()
	w, _ := mw.Create(“another_file.txt”)
        w.Write([]byte("The file body"))
}

I'm not entirely familiar with the details of zip file operations, but can we ...

A good API proposal here will need to both consider Go API norms as well as consideration for how zip files work. It'd be worth researching the zip format a bit first. Notably, the TOC is at the end. We'd need an API that lets you open something, do some reads, do some mutations (tracking the TOC changes while appending to the file), and then let you do the final Close (writing the new TOC footer).
We might be able to reuse the Writer type if there were a new constructor for it, but we don't have any appending+io.ReaderAt type (WriterReaderAt?), so you might need to define such an interface first. It'd need to clarify that it writes to the end.
But then we never reuse the TOC space, or fill in any other holes from deleted files, if that's desirable. If that's going to be a goal, we need a different read+writer type.

There is a golang lib which mange it it. But it is not maintains and it has some memmory leak.
It could be a starting point: https://github.com/juju/zip

At one point I thought I wanted this, but I don't remember why. Does anyone want this? Maybe it is fine in external packages instead of stuffing it into the standard library.

Declined for now. Seems like the API we'd need to add wouldn't necessarily be worth it, considering the low number of potential users. Let's see this happen outside of the standard library first.


Possible problem populating redis

I did some tests by doing find() and noticed that it starts creating SET's in redis with no TTL.
So I am worried this would at some point with big databases completely saturate the redis instance, as these sets are never cleaned, they persist forever

it is creating sets to keep relations between cached queries and record ids. They are managed manually. So For example if record XYZ is cached for 5  mongo queries, the relation between this record is kept inside that set.
Assuming now, that the record XYZ will change due to some DB update, we now in which queries the previous state of that record was cached - so  as it is no longer valid, we can clear cache for all those 5 results.
Thats a simple example of how this project is using sets, and why it does not need the ttls there. Maybe maybe - in case of millions of records would be good to implement there 'removing set' once it is empty. That is a field for improvement here :)

That sounds like a good idea for future improvement! But as far as I know, redis will auto remove the set as soon as it gets empty.
I do not have much time to verify that but
according to the logic that I've implemented one year ago The flow should handle clearing the sets out of the box.

So if the event is done, and it was handled by mongoose, then the  clearCacheForRecordCallback will be executed.

Inside that function, you have a call for clearing all related keys + the SET itself

I'm not 100% sure, but it should clear the sets once the data has change. But your solution might be implemented as well as a secondary lvl for redis memory optimization (of course in case If the current one have some gaps)

closing due to inactivity.


Execution failed for task ':flutter_aepedgebridge:packageDebugResources'.

Hi Team,
I was trying to update my Gradle to 8.2.2 using AGP assistant and getting this error for AEP packages. I have a namespace variable in build.gradle file.
android {
    namespace 'com.example.xxxx'
    compileSdkVersion 34
    ndkVersion flutter.ndkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }
}

Expected Behaviour
The build should pass without any error.
Actual Behaviour
Build is failing with the below error in Android Studio:
Namespace not specified. Please specify a namespace in the module's build.gradle file like so:
android {
namespace 'com.example.namespace'
}
If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
In VS Code:
> Package Name not found in /Users/amiaman/.pub-cache/hosted/pub.dev/flutter_aepedgebridge-3.0.0/android/src/main/AndroidManifest.xml, and namespace not specified. Please specify a namespace for the generated R and BuildConfig classes via android.namespace in the module's build.gradle file like so:
       android {
           namespace 'com.example.namespace'
       }

3

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 4s
Exception: Gradle task assembleDebug failed with exit code 1
Reproduce Scenario (including but not limited to)
Try to update the build.gradle from 7.4.2 to 8.x.x
Steps to Reproduce
Platform and Version
Platform - Android
Version - API 32
I believe the package name should be moved to namespace field in build.gadle file for the pakages.

@amitaman, we don't yet support Gradle 8 or namespaces. It is on our backlog, but no ETA yet. The project is open source though, so feel free to make the needed changes yourself.

Hi @ahmyr thanks for the reply. Can you please confirm what is the latest Gradle support is there for AEP. Also want to know is the AEP packages having a support of iOS 17.

Hi @amitaman the namespace support for Android has been released with aepsdk_flutter plugins version 4.0.1.
It should resolve this error.

Closing this ticket, please log a new one if you have more questions.


Is this really necessary? Don't like it for two reasons:

ideally the widgets in selfdrive/ui/qt/widgets/ are generic and don't know anything about our UI or UIState
there's now a special Params API just for the, so if you're working on UI code, now you need to know this diverging API (with nothing enforcing it)

agree. closed


Lock coffee-script-source

This should be only temporary
v1.12 was causing Jekyll tests to fail
https://github.com/jekyll/jekyll/pull/5661#issuecomment-267381479

Ugh Why are we testing against Ruby 1.9?

@jekyllbot: merge +bug

/cc https://github.com/jashkenas/coffeescript/issues/4403

@pathawks is this still necessary?


Is it possible to add a spectator list?

Is it possible to add a spectator list?

Is it possible to add a spectator list?

yes infact an external method on how to do this has already been uploaded to unknown cheats as of yesterday

Is it possible to add a spectator list?

yes infact an external method on how to do this has already been uploaded to unknown cheats as of yesterday

I searched and didn’t find it :( can you please give me a link? Thanks in advance.

Is it possible to add a spectator list?

yes infact an external method on how to do this has already been uploaded to unknown cheats as of yesterday

I searched and didn’t find it :( can you please give me a link? Thanks in advance.

https://www.unknowncheats.me/forum/counter-strike-2-a/595247-spectator-list.html

yo did anyone know how to ?


sp.next_track() :  Not available for the current user

Hi everyone,
i'm implementing a simple application with spotipy.
I want skip to the next track or pause, but i've this error in output:
spotipy.client.SpotifyException: http status: 403, code:-1 - https://api.spotify.com/v1/me/player/next:
Not available for the current user
My code is here:
`import os
import spotipy
import spotipy.util as util
from json.decoder import JSONDecodeError
username = 'myUserCode'
client_id = 'xxxxxxxxxxxx'
client_secret = 'xxxxxxxxxxxxx'
redirect_uri = 'https://www.xxxx.com/'
scope = 'user-modify-playback-state'
try:
token = util.prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri)
except (AttributeError, JSONDecodeError):
os.remove(f".cache-{username}")
token = util.prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri)
sp = spotipy.Spotify(auth=token)
current = sp.next_track()`

@AlessandroMinervini
One thing you might check:
https://developer.spotify.com/documentation/web-api/reference/player/skip-users-playback-to-next-track/

If the user making the request is non-premium, a 403 FORBIDDEN response code will be returned.


4.0 update

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/extensions/NavigationView.md
:warning:Warning
View
Details

docs/.template.md
:white_check_mark:Succeeded

docs/Nuget-Packages.md
:white_check_mark:Succeeded
View

docs/animations/Blur.md
:white_check_mark:Succeeded
View

docs/animations/CompositionAnimations.md
:white_check_mark:Succeeded
View

docs/animations/Fade.md
:white_check_mark:Succeeded
View

docs/animations/ImplicitAnimations.md
:white_check_mark:Succeeded
View

docs/animations/Offset.md
:white_check_mark:Succeeded
View

docs/animations/Rotate.md
:white_check_mark:Succeeded
View

docs/animations/Saturation.md
:white_check_mark:Succeeded
View

docs/animations/Scale.md
:white_check_mark:Succeeded
View

docs/breadcrumb/toc.yml
:white_check_mark:Succeeded

docs/controls/Expander.md
:white_check_mark:Succeeded
View

docs/controls/MarkdownTextBlock.md
:white_check_mark:Succeeded
View

docs/controls/UniformGrid.md
:white_check_mark:Succeeded
View

docs/controls/WebView.md
:white_check_mark:Succeeded
View

docs/controls/datagrid_guidance/customize_autogenerated_columns.md
:white_check_mark:Succeeded
View

docs/controls/datagrid_guidance/datagrid_basics.md
:white_check_mark:Succeeded
View

docs/controls/datagrid_guidance/editing_inputvalidation.md
:white_check_mark:Succeeded
View

docs/controls/datagrid_guidance/group_sort_filter.md
:white_check_mark:Succeeded
View

docs/controls/datagrid_guidance/keyboard_navigation_selection.md
:white_check_mark:Succeeded
View

docs/controls/datagrid_guidance/rowdetails.md
:white_check_mark:Succeeded
View

docs/controls/datagrid_guidance/sizing_options.md
:white_check_mark:Succeeded
View

docs/controls/datagrid_guidance/styling_formatting_options.md
:white_check_mark:Succeeded
View

docs/docfx.json
:white_check_mark:Succeeded

docs/extensions/LogicalTree.md
:white_check_mark:Succeeded
View

docs/extensions/VisualTree.md
:white_check_mark:Succeeded
View

docs/gaze/GazeInteractionLibrary.md
:white_check_mark:Succeeded
View

docs/graph/AadLogin.md
:white_check_mark:Succeeded
View

docs/graph/PeoplePicker.md
:white_check_mark:Succeeded
View

docs/graph/PlannerTaskList.md
:white_check_mark:Succeeded
View

docs/graph/PowerBIEmbedded.md
:white_check_mark:Succeeded
View

docs/graph/ProfileCard.md
:white_check_mark:Succeeded
View

docs/graph/SharePointFileList.md
:white_check_mark:Succeeded
View

docs/helpers/CameraHelper.md
:white_check_mark:Succeeded
View

docs/helpers/PrintHelper.md
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/knownissues.md
:white_check_mark:Succeeded
View

docs/resources/images/Graph/PlannerTaskList.png
:white_check_mark:Succeeded
View

docs/resources/images/Graph/PowerBIEmbedded-Permissions.png
:white_check_mark:Succeeded
View

docs/resources/images/Graph/PowerBIEmbedded.png
:white_check_mark:Succeeded
View

docs/services/Bing.md
:white_check_mark:Succeeded
View

docs/services/Facebook.md
:white_check_mark:Succeeded
View

docs/services/Linkedin.md
:white_check_mark:Succeeded
View

docs/services/MicrosoftGraph.md
:white_check_mark:Succeeded
View

docs/services/MicrosoftTranslator.md
:white_check_mark:Succeeded
View

docs/services/Twitter.md
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

docs/extensions/NavigationView.md

Line 10: [Warning] The content part of NOTE/WARNING/CAUTION/IMPORTANT/NEXT syntax is suggested to start in a new line.

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


Add JsonValidator

fix #287

Codecov Report

Merging #291 (73a2e74) into main (d333067) will decrease coverage by 0.03%.
The diff coverage is 95.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #291      +/-   ##
==========================================
- Coverage   97.91%   97.87%   -0.04%
==========================================
  Files          53       54       +1
  Lines        5995     6083      +88
  Branches       43       44       +1
==========================================
+ Hits         5870     5954      +84
- Misses        125      129       +4

Impacted Files
Coverage Δ

src/input/input_abstract.rs
100.00% <ø> (ø)

src/input/input_python.rs
98.00% <77.77%> (-0.47%)
:arrow_down:

src/errors/line_error.rs
96.38% <84.61%> (-2.19%)
:arrow_down:

pydantic_core/core_schema.py
100.00% <100.00%> (ø)

src/errors/kinds.rs
89.51% <100.00%> (ø)

src/input/input_json.rs
96.29% <100.00%> (+0.12%)
:arrow_up:

src/input/shared.rs
100.00% <100.00%> (ø)

src/validators/json.rs
100.00% <100.00%> (ø)

src/validators/mod.rs
99.64% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Add readOnly setting for switch and slider components

Would be really nice to have a switch that is display only.  This is useful to show state where the user can't modify the state directly.  Example:  let's say I have a Kaleidescape system and am playing a movie.  One of the attributes is whether the movie is a color movie or black/white.  Would be nice for the user to add that to his display - but it's obviously not an editable item.
While I can get around it by using a text label - for binary type of items, the switch UI is much nicer and easier to understand.  If we could add a 'configuration.editable' attribute (that defaults to true), then I can create a UI switch to represent this correctly..

I guess doing read only components would not only apply to the switch but also the slider.
In your description for the color vs black/white the flag would be static (readOnly: true) for that switch. That's probably a good start, I'm wondering if that's enough or if we should include "dynamic" read only mode (a switch or slider) might sometimes be read only, sometimes not. Doing it from the start should allow a more consistent API for both cases.

I'm always in favor for more control on the UI.  Ideally you'd want to do both - have it as a configuration option (set and forget) and have it as an API option (setDisabled callback).  You can implement those as two distinct separate items or try to get both done at the same time.  Really dependent on your schedule..

Sounds like a duplicate, see #28

lol - didn't event realize I already asked this.  Closing...


[Bug]: polybar only registers one click on awesome wm

Checklist

[X] I have read the appropriate section in the contributing guidelines
[X] I believe this issue is a problem with polybar itself and not a misconfiguration on my part
[X] I have searched for other open and closed issues that may have already reported this problem
[X] I have checked the known issues page for this problem.
[X] I have followed the debugging guide to narrow down the problem to a minimal config.

Steps to reproduce

log into awesomewm and have polybar load up with a script
click on the polybar (powermenu, clock etc.)
now you cant click anything in polybar again

Minimal config
[bar/yes]
monitor = ${env:MONITOR}
width = 100%
height = 28

modules-left = xwindow
modules-center = date
modules-right = pulseaudio memory powermenu
tray-position = right

[module/date]
type = internal/date
interval = 1
time = %H / %M
time-alt = %H/%M/%S
format-prefix = " "
format-prefix-foreground = ${colors.foreground}
format-underline = #0a6cf5
label = %date% %time%

Polybar log
notice: Parsing config file: /home/qube/.config/polybar/config
error: Invalid value for "bar/yes.monitor", using default value (reason: Environment var ${MONITOR} does not exist (no fallback set))
* Loaded monitor DP-2 (1920x1080+1920+0)
* Bar geometry: 1920x28+1920+0; Borders: 0,0,0,0
notice: pulseaudio: using default sink alsa_output.pci-0000_0b_00.3.analog-stereo
* Starting application
* Starting module/xwindow
* Starting module/date
* Starting module/pulseaudio
* Starting module/memory
* Starting module/powermenu
* Entering event loop (thread-id=1)
* Eventqueue worker (thread-id=7)
* Configured DPI = 96x96
notice: Loaded font "Terminus:size=14" (name=Terminus, offset=1, file=/usr/share/fonts/misc/ter-u14n.otb)
notice: Loaded font "TerminessTTFNerdFont:pixelsize=13" (name=TerminessTTF Nerd Font, offset=1, file=/usr/share/fonts/TTF/Terminess (TTF) Nerd Font Complete.ttf)
* Bar window: 0x2000002
* Activating tray manager
* Tray window: 0x2000006
error: tray: Failed to put tray above 0x2000002 in the stack (XCB_MATCH (8))
warn: Systray selection already managed (window=0x0c00006)
* Deactivating tray manager
* module/xwindow: Rebuilding cache
* module/date: Rebuilding cache
* module/pulseaudio: Rebuilding cache
* module/memory: Rebuilding cache
* module/powermenu: Rebuilding cache
* Redrawing bar window
* module/xwindow: Rebuilding cache
* module/memory: Rebuilding cache
* module/memory: Rebuilding cache
* module/memory: Rebuilding cache
* module/memory: Rebuilding cache

Expected behavior
click on polybar, preferrably on the clock or the powermenu and be able to click again to shut down the pc for example
Actual behavior
click on the polybar and an action happens, but after that no inputs are registered on polybar and the xwindow module shows the name of the polybar in itself (polybar-name-display)
Window Manager and Version
awesome v4.3
Linux Distribution
Arch Linux with 5.16  Kernel
Polybar version
polybar 3.5.7

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

Additional Context / Screenshots

See Known-Issues

thank you


Unable to install ACS AEM Commons 6.0.12 on AEM Cloud

Required Information

[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: AEM Cloud,
[ ] ACS AEM Commons Version:  6.0.12
[ ] Reproducible on Latest? yes

Expected Behavior
Unable to install latest ACS Version on AEM Cloud , it shows dependency errors
Actual Behavior
It should install with the dependencies.
Steps to Reproduce
_Upgrade the ACS Version to 6.0.12 and deploy via pipeline, it will fail with below errors
"unresolved dependecies" message [0], which is then causing the failure [1].
Please resolve the missing dependencies, and then rerun the pipeline.
[0]
Error while assembling launcher: Package has unresolved dependencies: adobe/cq650/servicepack:aem-service-pkg:6.5.10
[1]
Container failed during run: build-image. No retries remaining.
failed to run step ID: build-image: exit status 2
_
Links
Links to related assets, e.g. content packages containing test components

This is unfortunately a regression of https://github.com/Adobe-Consulting-Services/acs-aem-commons/commit/3698e61eb0761af377c56636a7e75c914e2be416. Will look into it.

@kwin thank you so much for acknowledgement  , we are migrating to cloud and its stuck due to  which was fixed with 6.0.12 ..and that failed to deploy, so we are stuck again.

@davidjgonzalez  @kwin is it ready to use?

@Abhishek-F-Secure just cut v6.0.14 with @kwin's fix!

@davidjgonzalez many thanks , that worked like charm


[CHORE] Use current date in prod/test

CHORE
Objective:

use current date in both prod/test
use inferred date if running the batch reconciliation, or on dev/local

merging to the parent branch (not main) to avoid rebasing twice


Preventing duplication of patients at data entry

At the time of data entry fields used for deterministic matching ie: PHN, NIC, Telephone number, Driving license, Passport number must be immediately checked for 1) exact matches 2) pattern matching and prompt to choose from the list of matches if its the same person.

Pattern

Now there will be a warning if a duplicate phn or NIC is entered into the client edit window. BUT, THIS WILL NOT PREVENT SAVING THE DETAILS.
If you need to prevent saving the values, please raise it as another issue.
Telephone number duplication was not attempted as there can be anyway duplications.
The algorithm to convert new and OLD NIC was also NOT done.

The changes are available in the demo version. After passing quality control, changes can be added to the production version.


[FLINK-27246][TableSQL/Runtime][1.16] - Include WHILE blocks in split generated java methods

What is the purpose of the change
Unchanged backport of https://github.com/apache/flink/pull/21393
This PR fix issue reported in https://issues.apache.org/jira/browse/FLINK-27246 that was caused by JavaCodeSplitter not rewriting "while" statements that was leading to Java compiler not able to compile code due to to big methods.
Proposed change, enhance JavaCodeSplitter by replacing IfStatementRewriter.java with BlockStatementRewriter.java.
The new BlockStatementRewriter.java can rewrite both IF/ESLE statements and WHILE blocks including nested statements.
The BlockStatementRewriter works in two steps. First step extracts blocks from IF/ELSE branches and WHILE bodies to separate methods. This step is executed by new class BlockStatementSplitter.
The second step, groups statements (single lien statements, IF/ELSE and WHILE statements) into groups and extract them to new methods. This step is executed by new class BlockStatementGrouper .
An example of rewritten code:
BEFORE:
public class Example {

      int b;
      int c;

      public void myFun(int a) {

          int counter = 10;
          while (counter > 0) {
              int localA = a + 1000;
              System.out.println(localA);
              if (a > 0) {
                  b = a * 2;
                  c = b * 2;
                  System.out.println(b);
              } else {
                  b = a * 3;
                  System.out.println(b);
              }
              counter--;
          }
      }
  }

AFTER executing BlockStatementRewriter:
public class Example {

      int b;
      int c;

      public void myFun(int a) {

          int counter = 10;

          while (counter > 0) {
              myFun_rewriteGroup1(a);
              counter--;
          }
      }

      void myFun_rewriteGroup1(int a) {
          myFun_whileBody0_0(a);
          if (a > 0) {
              myFun_whileBody0_0_ifBody0(a);
          } else {
              myFun_whileBody0_0_ifBody1(a);
          }
      }

      void myFun_whileBody0_0(int a) {
          int localA = a + 1000;
          System.out.println(localA);
      }

      void myFun_whileBody0_0_ifBody1(int a) {
          b = a * 3;
          System.out.println(b);
      }

      void myFun_whileBody0_0_ifBody0(int a) {
          b = a * 2;
          c = b * 2;
          System.out.println(b);
      }
  }

Brief change log

Include WHILE blocs in Java cod splitter logic.
Add BlockStatementRewriter, BlockStatementSplitter and BlockStatementGrouper  class,
Remove IfStatementRewriter class

Verifying this change
This change is already covered by existing tests, such as

Flink-brach-sql-test
Flink-tcpds-test
Junit test - JavaCodeSplitterTest

This change added tests and can be verified as follows:

BlockStatementRewriterTest.java
BlockStatementSplitterTest.java
BlockStatementGrouperTest.java

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

@flinkbot run azure

@flinkbot run azure

bug fix https://github.com/apache/flink/pull/21871 has to be added here

bug fix https://github.com/apache/flink/pull/21871 was added to this PR


Using multiple GPU

Everything seems well when I run on 1 GPU，to improve the speed，I'm trying to run on 3 GPU by set -a 0,1,2.But I got the errors:

And the following still running,such as :Searching for template for : ****(my sequence)
How can I solve this?
Thanks for your help.

Hi, we don't parallelize the model itself in JAX over multiple GPUs, so running with more than one GPU will not help in terms of speed. I recommend running on a single GPU especially if that works.

Hi, we don't parallelize the model itself in JAX over multiple GPUs, so running with more than one GPU will not help in terms of speed. I recommend running on a single GPU especially if that works. See also #66 and #30.

Thanks for your answer.


shared/util: More snap handling logic

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

jenkins: test this please

should be good to go


iron/ruby dev: native gem build fails with "asm/types.h: No such file"

This gem is a transitive dependency and appears to depend on some kernel modules according to the readme  The actual error is
linux_inet_diag.c:53:23: fatal error: asm/types.h: No such file or directory

bundle install build output:
Installing raindrops 0.15.0 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/bin/ruby -r ./siteconf20160418-7-a17kji.rb extconf.rb --use-system-libraries
checking for mmap() in sys/mman.h... yes
checking for munmap() in sys/mman.h... yes
checking for mremap() in sys/mman.h... yes
checking for linux/tcp.h... no
checking for getpagesize() in unistd.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_io_blocking_region()... yes
checking for GCC 4+ atomic builtins... yes
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling linux_inet_diag.c
linux_inet_diag.c:53:23: fatal error: asm/types.h: No such file or directory
compilation terminated.
Makefile:237: recipe for target 'linux_inet_diag.o' failed
make: *** [linux_inet_diag.o] Error 1

make failed, exit code 2

If I try to modprobe inet_diag I get
modprobe: can't change directory to '/lib/modules': No such file or directory

I managed to fix this by installing linux-headers, which provides the missing header file.
https://pkgs.alpinelinux.org/contents?repo=main&page=2&arch=x86&branch=edge&name=linux-headers


Toy mc no dep

Merge back into main.

Can we delete the "obsolete" and "old" directories?

Can we delete the "obsolete" and "old" directories?

Si.


Add rule for FormInterface that privates are no longer allowed (#730)

Adds a check for all FormInterface implementing classes that private variables are no longer allowed
See #730 for context and discussion

I found the Drupal issue about the serialization issue.
https://www.drupal.org/project/drupal/issues/3110266#comment-15388060
But seeing the time it takes to fix this on the Drupal side of things, is this still the route the code should have been, specially if the serialization is interchangeable what the current direction is, then it should be correct in the first place.

This actually effects anything using DependencySerializationTrait, so it can be made more generic.

Tested on local projects, great addition.
Got stuck on writing tests and never completed a new commit

Thanks for getting this started @MakerTim !


Allow to set the background color with bgcolor

Implements https://github.com/holoviz/hvplot/issues/636
@droumis FYI I have noticed that the converter __init__ signature does not include this kind of plot options passed down to HoloViews. Perhaps they should be added to the signature to later be included in some API reference docs.

@droumis FYI I have noticed that the converter init signature does not include this kind of plot options passed down to HoloViews. Perhaps they should be added to the signature to later be included in some API reference docs.

Yep, I think it would help most for discoverability via auto-complete


The animation is not on the correct armor color

The animation is not on the correct armor color. 1.19.3 fabric

It seems intended works

Still an issue in 1.20.1


[envoy] Support TLS in Scalar Envoy chart

Description
This PR adds TLS support in the Scalar Envoy chart.
In this update, users can configure TLS in both downstream and upstream connections respectively.
[Client] ---(downstream connections)---> [Envoy] ---(upstream connections)---> [ScalarDB/ScalarDL]

Related issues and/or PRs

https://github.com/scalar-labs/scalar-envoy/pull/28

I updated the Scalar Envoy to support TLS both downstream and upstream connections.

https://github.com/scalar-labs/docs-internal-orchestration/pull/14

I updated the document that is related to this PR. You can see the usage of this new feature and the getting started guide.

Changes made

Add new values to configure the TLS configurations.
Mount key/cert file to use TLS connections between client and Envoy in the Deployment manifest.

Checklist

[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation to reflect the changes.
[x] Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
[x] Tests (unit, integration, etc.) have been added for the changes.
[x] My changes generate no new warnings.
[x] Any dependent changes in other PRs have been merged and published.

Additional notes (optional)
N/A
Release notes
Support TLS configuration in the Scalar Envoy chart. You can enable TLS in both downstream (client - Envoy) and upstream (Envoy - ScalarDB/ScalarDL) connections.

I do not have access to the following documentation, so please give me some basic usage information. How does a user issue a certificate?

https://github.com/scalar-labs/docs-internal-orchestration/pull/14

If self-signed certificates are used, it is useful for users to have the ability to use cert-manager's Certificate resource in Helm Chart. If you use cert-manager's Certificate resource, cert-manager will automatically renew your certificates.

https://cert-manager.io/

Helm Charts that support cert-manager often provide this functionality as certManager.enabled field.

https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml#L2458-L2468

@superbrothers
Thank you for your review! 🙇♀

There are typos in the commit message and PR titles in all related PRs. Please fix them.

Supprt -> Support

Oh, I overlooked them. Thank you for pointing it out! I fixed them.

I do not have access to the following documentation, so please give me some basic usage information. How does a user issue a certificate?

https://github.com/scalar-labs/docs-internal-orchestration/pull/14

Ah, sorry. We added you with Read privilege to the repository.
Also, I just added you as a reviewer in that PR.
Could you please confirm whether you can see the document PR?

If self-signed certificates are used, it is useful for users to have the ability to use cert-manager's Certificate resource in Helm Chart. If you use cert-manager's Certificate resource, cert-manager will automatically renew your certificates.

https://cert-manager.io/

Ah, I see. We don't force users to use some specific kind of certificate. And, in the getting started guide, we use self-managed CA as a sample.
I think it would be better to provide cert-manager's Certificate resource if users use self-signed certificate so that users can reduce their operations.

Helm Charts that support cert-manager often provide this functionality as certManager.enabled field.

https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml#L2458-L2468

I will investigate cert-manager and update our helm chart to support it with certManager.enabled field in this PR.
Thank you for your suggestion!

I will investigate cert-manager and update our helm chart to support it with certManager.enabled field in this PR.

If each component is deployed in a different namespace, the configuration can be complex. If deployed in a single namespace, it is simple.
You can also address cert-manager support in a separate PR.

@superbrothers

I will investigate cert-manager and update our helm chart to support it with certManager.enabled field in this PR.

If each component is deployed in a different namespace, the configuration can be complex. If deployed in a single namespace, it is simple.

Thank you for your comment! Basically, we will deploy Envoy and ScalarDB/ScalarDL in the same namespace. So, I think we can make it simple.
However, I think we need some discussions, for example, we have to consider the security requirement in actual systems. I'm discussing it with our business/solution architect team.

You can also address cert-manager support in a separate PR.

I'm investigating and considering how to integrate cert-manager with our helm chart. But, I think it takes a bit of time.
So, I will do it in another PR.


Adding workflow for creating documentation issues

Signed-off-by: Vacha Shah<EMAIL_ADDRESS>Description
Adding workflow to automatically create issues in documentation-website repo when a needs-documentation label is added to a PR.
Issues Resolved
#374
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #403 (d66b92b) into main (7ec926b) will not change coverage.
The diff coverage is n/a.

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

@@            Coverage Diff            @@
##               main     #403   +/-   ##
=========================================
  Coverage     84.01%   84.01%
  Complexity      911      911
=========================================
  Files           130      130
  Lines          3879     3879
  Branches        359      359
=========================================
  Hits           3259     3259
  Misses          458      458
  Partials        162      162

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 7ec926b...ab35faf. Read the comment docs.


Add summary to parts

This stores a truncated plain text summary of the body content under the body field on parts, ready for displaying to users in search results.
This will require re-representing guides in Publisher, but won't require re-indexing.
https://trello.com/c/szgqkAGr/1263-generate-part-summaries-at-index-time

General question: do we have HTML in elasticsearch for part bodies at the moment?  Could that cause problems (search queries matching against HTML tags and attributes, eg)?

Part bodies aren't HTML yet, but this would make them HTML.
That's a good point, I didn't consider it. Do you think we should strip the HTML tags from the body content too?

Yeah, I'm wary about storing HTML in a searchable field.  What was the rationale for getting the text/html body, rather than the govspeak body (which also exists?)

I made that change 👍
I copied the parser we use for indexable content, which also uses the HTML content rather than govspeak.

Aside from generating some clickbait-y digests, I think this is ready for re-review :)

You must pay the charge if you use the Dartford Crossing between 6am and…

https://www-origin.staging.publishing.service.gov.uk/api/search.json?filter_link=/pay-dartford-crossing-charge&fields=parts


Rewrite "Upgraded core to use Cypress 11" section

Fixes https://github.com/plone/volto/issues/3979

@sneridagh does this need to be backported?


Implement Path type for routing

Maintains a list of asset IDs and an end-to-end trading function
For Path of length 1, list of asset IDs: [asset1, asset2] and trading function is the original trading function
We’ll want a Path.extend(&self, trading_function: TradingFunction) -> Path method that puts the next asset ID into the list and composes the trading functions together
Stub struct

struct Path {
    asset_ids: Vec<asset::Id>,
    trading_function: TradingFunction,
}

impl Path {
    pub fn start(&self) -> asset::Id {
        // return first element
    }

    pub fn end(&self) -> asset::Id {
        // return last element
    }
}

impl PartialOrd for Path {
    // comparison should return `None` if start and end asset IDs don't match
    // otherwise compare by price
}

Closed via https://github.com/penumbra-zone/penumbra/pull/1854 !


Remove yarn dependency

Changes current behavior (require warn, try yarn, warn if yarn is missing, use npm) to just using npm
Use npm in test scripts too
Update 'mismatched version' error message to also use npm

This PR doesn't change yarn being used to build Anchor itself.
Addresses #2881

(will do, I just need to get around to it)


cask: rename Hbc module to Cask.

CC @reitermarkus you should be able to see the test failure from here. I'll
make it so you can push to this PR; would you be able to finish it off with
what you were suggesting? Thanks!

[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?
[x] 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.

[x] Have you successfully run brew tests with your changes locally?

Example test failure: https://travis-ci.org/Homebrew/brew/jobs/424680969#L364


Leila test

Naming Rules
Name your PR like this: ISSUENUMBER-TITLE-YOURNAME
Description
Write a summary of your change. Explain why you have made it.
Related to
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #1
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

Hi Leila, do any of these points need to be added to a wiki page? e.g. the checklist?


Remove side effect from array.some callback

some method callback is supposed to be side-effect free. Also, findIndex is now well supported

The index variable is declared outside of the callback and modified inside the callback

Oh I thought you meant _getTerminalObjectIndexById has a side effect. I wouldn't call .some setting some value outside it's callback a problem, it's basically the same thing as doing it with a for loop. Regardless, the code looks better with your changes so thanks slightly_smiling_face

It's a problem it you want to tree-shake the code and expect calls to some to be side-effect free


How to colorise tildes on empty lines at the bottom so that they appear again?

On most colour schemes the tildes after EOF are visible, but not with this theme. Is there a way to get them to appear?
I tried :hi NonText guifg=blue for example, but nothing seems to have changed.

The highlight group you are looking for is EndOfBuffer you can change this to something else as an example:
require("nightfox").setup({
  groups = {
    all = {
      EndOfBuffer = { link = "Conceal" },
    }
  }
})

If you dont see any change, make sure to clear nightfox's cache file with NightfoxClean. In the example above I am linking the highlight group EndOfBuffer  to another highlight group called Conceal. You can link it to any other highlight group you want or you could define the fg instead.
  require("nightfox").setup({
    groups = {
      all = {
        EndOfBuffer = { link = "bg4" },
      },
    },
  })

In this example I am setting the foreground color to use the 4th background color defined in the color palette. (see palette for more information and options)
Let me know if you have any questions.


Should adjust line spacing at session detail screen

Kind (Required)
Improvement
Overview (Required)
I think that should adjust line spacing at session detail screen.

Links
none

🙋♂

Assigned 👍


fix(bin): adjust bin file after changes to signature of index.js

closes #3

Coverage remained the same at 100.0% when pulling 14f43f6995af2d135568e76f8cce0bf9f28e20e3 on bin-file into 523cb10af43a3984cf2a584b7740a059ee1460e0 on master.


[builder] Failed at consolidation step

Failed at consolidation step with tiledb.cc.TileDBError: [TileDB::Reader] Error: Incorrect unfiltered tile size allocated. [logs]
12 of 13 consolidation processed completed successfully.
The failed consolidation was for: file:///census-build/2023-08-28/soma/census_data/homo_sapiens/ms/RNA/X/normalized

Fix is in place. Will wait until Monday's scheduled run to confirm success before closing out this issue.

2023-09-04 build was successful, so closing this issue.

2023-09-12 build failed again with same error (logs). So not likely caused by disk space.

[ ] Share the following with TileDB at https://czi-sci.slack.com/archives/C013K0JB8F8/p1694537135163599?thread_ts=1694533729.655039&cid=C013K0JB8F8

tiledbsoma.show_package_versions() as used by the process doing the consolidation
re-run with "config.logging_level": 5 in the Ctx config and send me that

https://github.com/single-cell-data/TileDB-SOMA/issues/1670

A single, ad hoc builder run succeeded on consolidation (with level 5 tiledb log level in place), but this did not reproduce the error. Running second attempt of consolidation for just homo_sapiens/../X/normalized.
Saved pre-consolidated fragments on this volume at 2023-09-12/soma.pre_consolidate/census_data/homo_sapiens/ms/RNA/X/normalized  in case they are of use for future investigation.
Should proceed to plan B: adding tiledb log level to builder so we can catch debug on subsequent run. Proposing this (untested) change, which adds ability to override any tiledb config defaults in the builder by accepting json as a config param.

Running second attempt of consolidation for just homo_sapiens/../X/normalized.

This also succeeded, fwiw.

erroenous close

per single-cell-data/TileDB-SOMA#1670 a fix is likely forthcoming in TileDB core 2.17.2

@ebezzi @atolopko-czi - this seems to have disappeared.  If you agree, can we close?

Yeah, I haven't seen it in a while. Let's close!


Bump node version to latest LTS version (14.5.0)

update both the pom.xml and the CI workflows.  Also bump the frontend-maven-plugin to the latest version 10.0.3

PR: #69


add .use() API method

Adds the app.use() API method. Relies on https://github.com/yoshuawuyts/barracks/pull/58 to be merged first.
This patch only adds sugar around the existing hooks. It doesn't add new functionality, but makes it so multiple hooks can be registered without leaking details about the hooks API to consumers.
In practice this means that if say you want to add a logger, time travel and hot module reloading utilities, prior to this patch the API would be:
const TimeTravel = require('choo-time-travel')
const Hmr = require('choo-hmr')
const Log = require('choo-log')
const choo = require('choo')

const timeTravel = TimeTravel()
const hmr = hmr()
const log = log()

const app = choo({
  initialState: function () {
    // something similar is needed for hmr, not a thing yet
    return hmr.initialState
  },
  onStateChange: function (data, state, prev, caller, createSend) {
    log.onStateChange(data, state, prev, caller, createSend)
  },
  onAction: function (data, state, name, caller, createSend) {
    log.onAction(data, state, prev, caller, createSend)
    timeTravel.onAction(data, state, prev, caller, createSend)
  },
  onError: function (err, state, createSend) {
    log.onError(err, state, createSend)
  }
})

app.model(timeTravel.model)

const tree = app.start()
document.body.appendChild(tree)

With this patch it would become:
const TimeTravel = require('choo-time-travel')
const hmr = require('choo-hmr')
const log = require('choo-log')
const choo = require('choo')

const timeTravel = TimeTravel()
const app = choo()

app.use(timeTravel)
app.use(hmr())
app.use(log())

app.model(timeTravel.model)

const tree = app.start()
document.body.appendChild(tree)

The goal here is to prevent leaking specifics of the (by necessity) quite complicated hooks API spilling over into consumer land; providing a neat way to append multiple hooks onto the same application.
The alternative approach to .use() would be to provide a separate package that can combine multiple handlers into a single handler (like .use() does under the hood), but I feel it would be so commonly used it'd be cleaner to add it to the API directly and create guides and docs for using it.

But I understand there might be concerns with adding .use(). @shama posted the following in https://github.com/yoshuawuyts/choo/issues/152#issuecomment-232224893:

Plugins by their nature are convenient and is why every framework implements an API for it. But my goal has been to try something different then what everyone else currently does. I want to see if a client side ecosystem can be built without peer deps.

I feel that peer deps are a legitimate concern, and can definitely become the source of upgrading pains. That said, peer deps do provide a very attractive tradeoff: they remove boilerplate and make it so that application level code becomes front and center, rather than being clouded by the intricacies of hooking up generic functions to framework specific APIs.
I sincerely hope we can get any sort of plugins in the ecosystem to have any sort of complicated core functionality live in a separate package, with a choo specific wrapper available for convenience. I'm not sure what the best approach for this is, but I'm sure we can figure it out and then write it down for others to follow (like we've started to do with designing for reusability).
I hope this makes sense, and y'all can see where I'm coming from for adding .use(). Keen to hear your thoughts! This would be a minor patch btw. Thanks! :sparkles:

Backlog:

https://github.com/yoshuawuyts/choo/issues/152

Prerequisite for:

https://github.com/yoshuawuyts/barracks/pull/50
time travel plugin

This looks a lot easier to use. I'd say :+1: though @shama's point is compelling. I'd love to hear his thoughts on how we could accomplish the above points without plugins...seems like a matter of tradeoffs

Added a little warning message to both the plugins and API section, I hope it conveys the message clearly enough:

As far as I can see, if this update is added I could still work with the old way right? I mean passing the hooks directly to the choo() function would still be possible, and the use function is just syntactic sugar then?

@YerkoPalma yeah, that's correct - though I reckon in a major patch we might want to remove that - having a single API feels better than having multiple ways of doing things

Then this plugin system is good to me. When we talk about it in the roadmap discussion, I was thinking in more invasive plugin system, bad idea :smile:
But this system doesn't introduce dangerous changes, we shouldn't have to be worried about because

Doesn't actually change the hook system, just use it
If it add peer dependencies, they woudl be added with the actual system anyway, so, again, no big difference

So, IMHO there are more pros than cons in this PR :+1:

Alright, going to go ahead and merge this as it stops choo being broken because of the bump in barracks8.1.0 (https://github.com/yoshuawuyts/choo/pull/195). I'm still really keen to hear thoughts on this; as peer dependencies are one of the largest problems with frameworks and we should try and minimize the impact they can have. But I think that this patch smooths out a lot of cool new use cases, and not implementing .use() would cause problems down the road.
Hope everyone can understand; still def wanna keep discussing how to minimize peer dep issues. Cheers! :sparkles:

I'm not super sure there is an awesome way around peer deps with plugins.  Either you have to list a peer dep and hope you don't install incompatible plugins or you don't list the peer dep and hope to hell the user reads the README and they install what they need along side.

@toddself aye, yeah peer deps are a sad story - think the best approach is reduce the need for them, and mostly limit them to stuff like tooling, so that even if something breaks at worst it's a bit of tooling that does a sad.
Published this patch as<EMAIL_ADDRESS>✌


rails s + guard jasmine fails to run tests

If I run guard at first:
23:24:52 - DEBUG - Notiffany: gntp not available (Please add "gem 'ruby_gntp'" to your Gemfile and run your app with "bundle exec".).
23:24:52 - DEBUG - Notiffany: growl not available (Unsupported platform "linux-gnu").
23:24:52 - DEBUG - Notiffany: terminal_notifier not available (Unsupported platform "linux-gnu").
23:24:52 - DEBUG - Notiffany: libnotify not available (Please add "gem 'libnotify'" to your Gemfile and run your app with "bundle exec".).
23:24:52 - DEBUG - Command execution: which notify-send
23:24:52 - DEBUG - Command execution: {"ALTERNATE_EDITOR"=>"false"} emacsclient --eval '1'
23:24:52 - DEBUG - Notiffany: emacs not available (Emacs client failed).
23:24:52 - DEBUG - Notiffany: tmux not available (:tmux notifier is only available inside a TMux session.).
23:24:52 - DEBUG - Notiffany: file not available (No :path option given).
23:24:52 - DEBUG - Command execution: which notify-send
23:24:52 - DEBUG - Notiffany is using NotifySend to send notifications.
23:24:52 - DEBUG - Notiffany is using TerminalTitle to send notifications.
23:24:53 - DEBUG - Command execution: hash stty
23:24:53 - DEBUG - Guard starts all plugins
23:24:53 - DEBUG - Hook :start_begin executed for Guard::Jasmine
23:24:53 - INFO - Guard::Jasmine starts Jasmine Gem test server on port 8888.
23:24:56 - INFO - Waiting for Jasmine test runner at http://localhost:8888/
23:24:56 - INFO - Run all Jasmine suites
23:24:58 - INFO - Finished in 1.05 seconds
23:24:58 - INFO - 11 specs, 0 failures
23:24:58 - DEBUG - Command execution: notify-send Jasmine suite passed 11 specs, 0 failures
> [#781bee75cda2] in 1.05 seconds -t 3000 -h int:transient:1 -i /home/quolpr/.rvm/gems/ruby-2.3.3/gems/notiffany-0.1.1/images/success.png -u low

23:24:59 - DEBUG - Hook :start_end executed for Guard::Jasmine
23:24:59 - INFO - Guard is now watching at '/home/quolpr/projects/my_project'
23:24:59 - DEBUG - Start interactor

And then bin/rails s:
=> Booting Puma
=> Rails 5.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.7.0 (ruby 2.3.3-p222), codename: Snowy Sagebrush
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://<IP_ADDRESS>:3000
Use Ctrl-C to stop

I get an error after spec file save:
23:25:20 - DEBUG - Interactor was stopped or killed
23:25:20 - DEBUG - Hook :run_on_modifications_begin executed for Guard::Jasmine
23:25:20 - INFO - Run Jasmine suite spec/javascripts/lib/mention_searcher_spec.coffee
23:25:36 - ERROR - An error occurred: Unable to access Jasmine specs at http://localhost:8888/?spec=MentionSearcher. Connection refused
23:25:36 - DEBUG - Command execution: notify-send Jasmine error An error occurred: Unable to access Jasmine specs at http://localhost:8888/?spec=MentionSearcher. Connection refused -t 3000 -h int:transient:1 -i /home/quolpr/.rvm/gems/ruby-2.3.3/gems/notiffany-0.1.1/images/failed.png -u normal

23:25:36 - DEBUG - Start interactor

If I run bin/rails s at first:
=> Booting Puma
=> Rails 5.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.7.0 (ruby 2.3.3-p222), codename: Snowy Sagebrush
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://<IP_ADDRESS>:3000
Use Ctrl-C to stop

And then guard:
23:29:58 - INFO - Guard::Jasmine starts Jasmine Gem test server on port 8888.
23:30:01 - INFO - Waiting for Jasmine test runner at http://localhost:8888/
23:30:01 - INFO - Run all Jasmine suites
23:30:03 - INFO - Finished in 1.05 seconds
23:30:03 - INFO - 11 specs, 0 failures

23:30:04 - INFO - Guard is now watching at '/home/quolpr/projects/my_project'

Rails got killed:
* Restarting...
=> Booting Puma
=> Rails 5.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
A server is already running. Check /home/quolpr/projects/my_project/tmp/pids/server.pid.
Exiting

Rails 5.0.1
Guard version 2.14.1
Guard::Jasmine version 2.1.0
Guardfile:
guard :jasmine, console: :always do
  watch(%r{spec/javascripts/spec\.(js\.coffee|js|coffee)$}) { 'spec/javascripts' }
  watch(%r{spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$})
  watch(%r{spec/javascripts/fixtures/.+$})
  watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{m[1]}_spec.#{m[2]}" }
end

Gemfile:
source 'https://rubygems.org'

ruby '2.3.3'

git_source(:github) do |repo_name|
  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
  "https://github.com/#{repo_name}.git"
end

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.1'
# Use postgresql as the database for Active Record
gem 'pg', '~> 0.18'
# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for stylesheets
gem 'sassc-rails', '~> 1.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Bootstrap beautiful select
gem 'select2-rails', '~> 4.0'

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

# Authentication system
gem 'devise', '~> 4.2'
# Authorization system
gem 'pundit', '~> 1.1'
# Bootstrap support
gem 'bootstrap-sass', '~> 3.3'
# Forms made easy!
gem 'simple_form', '~> 3.4'
# Make controller more tiny
gem 'responders', '~> 2.3'
# Image processing
gem 'paperclip'
# AWS File storage
gem 'aws-sdk', '~> 2.3'
# Some scss helpers
gem 'bourbon', '~> 4.2'
# A modern JavaScript utility library delivering modularity, performance & extras.
gem 'lodash-rails', '~> 4.17'
# Paginator for Ruby webapps
gem 'kaminari', '~> 1.0'
# PgSearch builds named scopes that take advantage of PostgreSQL's full text search.
gem 'pg_search', '~> 2.0'
# Is needed for seed & testing
gem 'faker', require: false
gem 'factory_girl_rails', require: false

# Date & time pickers
gem 'momentjs-rails', '~> 2.9'
gem 'bootstrap3-datetimepicker-rails', '~> 4.17'

# Geo jquery autocompelete
gem 'geocomplete_rails', '~> 1.7'

# Url validation
gem 'validate_url', '~> 1.0'

group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug', platform: :mri

  # All for testing
  gem 'rspec-rails'
  gem 'database_cleaner'
  gem 'spring-commands-rspec'
  gem 'shoulda-matchers'
  gem 'capybara'
  gem 'ci_reporter_rspec'
  gem 'faker', require: true
  gem 'factory_girl_rails', require: true

  # DB table annotation
  gem 'annotate'

  # Shim to load environment variables from .env into ENV in development.
  gem 'dotenv-rails'

  # Easily switch current user
  gem 'switch_user'

  # A Jasmine runner for rails projects that's got you covered in both the terminal and the browser
  gem 'guard-jasmine'
end

group :development do
  gem 'listen', '~> 3.0'
  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
  gem 'spring'
  gem 'spring-watcher-listen', '~> 2.0'
  # Static analyzer
  gem 'rubocop', '~> 0.47.1', require: false
  gem 'brakeman', require: false
  gem 'scss_lint', require: false
  # Page livereload
  gem 'guard-livereload', '~> 2.5', require: false
  # Help to kill N+1 queries and unused eager loading
  gem 'bullet'
  # Preview email in the default browser instead of sending it
  gem 'letter_opener'
end

group :test do
  # Code coverage
  gem 'simplecov', require: false
  # PhantomJS driver for Capybara
  gem 'poltergeist'
  # Auto open report files generated with specs
  gem 'launchy'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

With the help of https://github.com/jasmine/jasmine-gem/issues/272 I found the problem:

It looks like this is due to the default Puma configuration that rails writes out. By enabling the tmp_restart plugin, when Jasmine tries to start up another rack server which will detect Puma, it will cause the other server to try to restart, but then detect that another server is running and not start.
Because of this, I don't think there is anything that Jasmine can do to fix this. If you remove (or comment out) the line in your config/puma.rb that enables the tmp_restart plugin, you should no longer see this issue.
Hope this helps. Thanks for using Jasmine!

So I changed config/puma.rb:
# Allow puma to be restarted by `rails restart` command.
plugin :tmp_restart

To:
# Allow puma to be restarted by `rails restart` command.
plugin :tmp_restart unless Rails.env.development?

Maybe it will be a good idea to add this issue to Readme, due to puma is default gem for rails 5?


Scoped target_link_libraries() commands for libsinsp

Migrated 'sinsp' CMake target_link_libraies() commands to the scoped PRIVATE / PUBLIC / INTERFACE signature.  This is to minimize the potential for symbol conflicts in applications that use the library.

What type of PR is this?
/kind cleanup

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build
/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:
Migrates libsinsp target_link_library() commands to the scoped PRIVATE / PUBLIC / INTERFACE signature to reduce the likelihood of symbol conflicts in projects that use the library.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

b3ca4bf Scoped target_link_libraries() commands for libsinsp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Welcome @mprzybylski! It looks like this is your first PR to falcosecurity/libs 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mprzybylski
Once this PR has been reviewed and has the lgtm label, please assign lucaguerra for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

20f0a31 Update sinsp taget_link_library() commands...
4a480d2 Migrate stdc++fs to new sinsp linking scheme.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

LGTM label has been added.  Git tree hash: 40e422fa54dfc5a76429d002adf30b9691dd75da

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, mprzybylski
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

before merging it, I would like to test it on Falco, I will take a look ASAP thank you!
/hold

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, jasondellaluce, mprzybylski
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/unhold


Correct your docker URLs

Please man, correct your Docker URLs. I've tried to use one of your docker images but the address was wrong.
So instead of docker run -it --rm -d -p 8888:8080 tomcat:6.0.53-jdk6 I needed to use docker run -it --rm -d -p 8888:8080 andreptb/tomcat:6.0.53-jdk6. Don't forget that the tag tomcat is already binded to the official tomcat docker hub (https://hub.docker.com/_/tomcat/)
Ty.

Thanks!


fix(externalServices): adjust token auth address

Description
adjust the url config name of the auth address for the external services
Why
Currently the external calls will fail due to a missing auth url
Issue
Refs: #180
Checklist

[x] I have performed a self-review of my changes
[x] I have successfully tested my changes
[x] I have added comments in the default values.yaml file with helm-docs syntax ('# -- ') if relevant for installation
[x] I have commented my changes, particularly in hard-to-understand areas

LGTM but could you please provide the according backend change?

@evegufy the change was introduced with: a542f14


Current date not selected

Help today date not auto selected

Your logic looks right, can I see the xml for the day view?

Sorry my project has been deleted 😅, i forgot not backup


data envelope was being modified by a reducer. Fix and update tests

Added deepFreeze(action) to reducer tests to avoid this error in future
Fixes #64

@recurser @NullVoxPopuli can you try this branch and see if it fixes your issue?

@devvmh I'll get onto testing this first thing in the morning - appreciate the quick turnaround here!

OK, merging. I can publish any time but I'd like to merge #63 at the same time if possible.


Feature Request: Infinite scrolling

Great component, would it be possible to add infinite scrolling?
In my case I'd need it cause I'm downloading pics from the web but I want to add more to the grid only if the users scrolls to the bottom.
Thanks

@steipete maybe we just need one API to reload the datasource metadata only ? As reloading the entire grid will force the destruction/creation of all the cells and the grid will scroll to top.
So with the API, only the contentSize of the scroll will change and the new cells will be lazy loaded as usual.

The grid no longer scrolls to top with reloadData. Apple's cocoa API doesn't do that either, this are usually two different operations you want to call.

True.
Checkout the new segmentedControl in demo1 (in develop branch for now); reloadData works fine.

Also, the component now inherits from UISrollView; so you can set yourself as it's scrollViewDelegate and catch all the scrolling events.


[NEW DEVICE] dlq Device Type - Already supported in other forks and Tuya IoT Platform!

Hi,
Could you please add this device type to your plugin? Its a circuit breaker and the only function that should appear in Homebridge is its ability to function exactly similar as a switch.
It's already working in other forks. Here you have additional information, in case it's needed, of when I originally requested its support, with all the logs, responses, etc.
Device (dlq) not showing in Accesories, but detected in log and works in Tuya IoT Platform
deviceType clkg is not showing in homekit
Thanks in advance.

Please post the result of the steps under "How to check whether the api this library uses can control your device".
Without this it is hard for me to help you with regards to this specific issue.

Thanks for your reply @milo526.
Your plug-in was the first I've tried when I got my Tuya breaker and, since I couldn't get it to work, I started looking for others.
Running the test doesn't return any device from my account; yet the official Tuya Plugin detects, adds and make my device available to Hombrebridge (and functional!), just by adding the device category I mentioned before.
How could it be possible that the device doesn't get picked up by the test; yet it works with that other one? Is it because they use the Tuya IoT Platform (I have to create a project, access id, etc.) vs. your plugin that tries ot call the API to interact with the announced device directly?
Thanks again for your help!

The official tuya plugin uses a different API than that this plugin uses, which means that for their plugin you will need to do a lot more setup work but also gain a lot more support.
I am unable to add support for new devices to their plugin.
I'm sorry but it seems like my plugin will not be able to help you, please look for another plugin that uses the full API instead of the home assistant API (such as the "other fork" you linked previously).


Typo fix: fix some word error

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

@NickrenREN review and add tag for these commits

@angao Please squash your commits. No need to have multiple commits for simple typos.

@dims Seems we need to enable #154 ASAP when it's ready. Several PRs are addressing typos.

/ok-to-test

@dixudx we need to address this comment in 154 - https://github.com/theopenlab/openlab-zuul-jobs/pull/200#discussion_r185769602


feat(JOML): migrate chunkview and tests cases

Migrate chunkview as post refactor with : https://github.com/MovingBlocks/Terasology/pull/4326

I wanted to test with JS (for FlowingLiquids) but cannot start a world...

I wanted to test with JS (for FlowingLiquids) but cannot start a world...


Let GLTF labeled assets be accessed by their names

What problem does this solve or what need does it fill?
Most of my GLTF assets contain multiple scenes - they are catalogs of objects. It's cumbersome to have to look up scenes in "named_scenes", it would be nice if I could simply load the named scene (using the name I assign in Blender) as a labeled asset. I realize there's an issue because names can collide, but I think there's a simple solution.
What solution would you like?
The solution is to use prefixes. A material named "Foo" will have a label "Material.Foo".
For scenes, we could either use "Scene.", or alternatively since loading scenes is so common, make scenes the exception that don't require a label. So the "SmallWoodenTable" object in "carpentry.glb" would either be "carpentry.glb#Scene.SmallWoodenTable" or "carpentry.glb#SmallWoodenTable".
Of course, there's still a possibility of collisions, but people will quickly learn not to author assets that have name collisions.
What alternative(s) have you considered?
Currently I'm dereferencing the asset and then looking up in named_scenes, but this requires a whole extra system to peek inside the asset once it's loaded. Not ideal.
Using numbered scenes, e.g. "Scene0" is a total non-starter because the numbers aren't stable.

duplicate of #10715


Do not use deprecated bufferResults()

@robertpustulka could you please release this as a new release? :bow:

Codecov Report

Merging #1 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master       #1      +/-   ##
============================================
- Coverage     98.27%   98.24%   -0.04%
  Complexity       21       21
============================================
  Files             2        2
  Lines            58       57       -1
============================================
- Hits             57       56       -1
  Misses            1        1

Impacted Files
Coverage Δ
Complexity Δ

src/ORM/ResultSet.php
98.18% <100.00%> (-0.04%)
20.00 <0.00> (ø)

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 d23af96...8f3094f. Read the comment docs.

Thanks!

@ravage84 https://github.com/robotusers/cakephp-chunk/releases/tag/0.1.2 live


Complete Migration steps worded incorrectly.

This line under "Complete the Migration"
After the migration is done, right-click the VM > Stop migration. This stops replication for the on-premises machine, and cleans up replication state information for the VM.
Should instead read:
After the migration is done, right-click the VM > Stop Replication. This stops replication for the on-premises machine, and cleans up replication state information for the VM.

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

ID: 2b83e320-c9a0-204c-dca5-b0ed60ce2470
Version Independent ID: 8862ff67-2c6e-cb8f-3f8c-2c1f51a37f68
Content: Migrate VMware VMs agentless Azure Migrate Server Migration - Azure Migrate
Content Source: articles/migrate/tutorial-migrate-vmware.md
Service: azure-migrate
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@corporateg Thank you for bringing this to our notice , will correct the document accordingly.

@corporateg Thank you for the feedback, a PR has been raised to incorporate the feedback into the document. Once reviewed and approved, the document would reflect the changes. Thanks

@corporateg Thanks for the feedback, PR has been raised and post review the changes would go live this week. Closing this issue , feel free to revert back if you have any further queries.


Git spr is not reporting the branch names in the Github PR that it would do earlier.

Earlier:

Now after spr update to latest:

I also see a message on git spr u:
⚡  git spr u
error: unable to fetch remote branch info, using defaults> git rev-parse --show-toplevel
> git fetch
> git rebase origin/main --autostash

Can you advice?

The naming pr branches has changed in the latest version.
Old version used to be: pr/<user_name>/<local_branch>/
New approach: spr/<remote_branch>/
This does mean that migrating from 12 -> 13, new prs will be created and the old ones need to be manually closed.
Hope this helps.

@ejoffe thanks a lot for quick reply.
How can we know branch names. The main reason I ask is we can have a person working on multiple branches at the same time and would be waiting for the reviews. Once a PR for a particular branch is shipped, the person might want to go to that branch to commit the PR using: git spr merge -c 1.
Earlier, I could look at the local branch name like TemporalFixes in the above screenshot and navigate to that branch and commit my PRs.

Unfortunately this is no longer possible. The person will now have to know which pr belongs to which branch.
The reason for this change is to make it easier and possible to share prs across users and branches.
Personally in our workflows we end up using very little branches. 95% of the time everyone works on a single branch, just keep stacking and merging. There are some exceptions where a new branch is created, but those are usually very short lived.

I see. I was able to workaround a bit and get hold of the branch. Little painful but not a blocker.

and then

One idea you might be able to try is to write a github bot (or maybe there is one out there) that labels the prs with the local branch.


Getting an error when starting the local website

When running yarn dev in examples/doc I'm seeing
ReferenceError: Slugger is not defined

How should I fix this?
Thanks!

Would you mind upgrade nextra-theme-docs to the latest version? It should have been fixed.

@shuding That worked. Thanks!