[5.5] Fix Database Collection Fresh for deleted records

When requesting a fresh() database collection, if any item has been deleted in a way that the collection itself is not aware, fresh() will fail with undefined offset
1) Illuminate\Tests\Integration\Database\EloquentCollectionFreshTest::test_eloquent_collection_fresh
ErrorException: Undefined offset: 1

/var/www/forks/framework/src/Illuminate/Database/Eloquent/Collection.php:162
/var/www/forks/framework/src/Illuminate/Support/Collection.php:833
/var/www/forks/framework/src/Illuminate/Database/Eloquent/Collection.php:134
/var/www/forks/framework/src/Illuminate/Database/Eloquent/Collection.php:163
/var/www/forks/framework/tests/Integration/Database/EloquentCollectionFreshTest.php:53

The problem is because $model->exists will only return false if we use the same collection to delete the records. When deleting the records without the collection's knowledge, $model->exists will still return true, but $freshModels will not have that record.

I really needed this fix on 5.4


How to use feathers client to upload multipart data

The article only explains how to send files as multipart via a simple form. However then i don't have any authentication(because the authentication header is missing). I want to be able to still use feathers client like app.service("uploads").create({uri:mynewUpload}). Is that even possible? Because the feathers client will likely not support multipart requests. Hence either one is encoding the data on the client OR use a simple form, but then loses all feathers mechanisms(no hooks, no authentication etc.). Isn't that right?

I managed to do this now without the feathers service, using this:
var form = new FormData();
    form.append('uri', $("#uri")[0].files[0]);
    if($('#myCheckbox:checked').val()) form.append('myCheckbox', true);
    form.append('anotherAttribute', XXXXXX);
    $.ajax({
      //TODO: Put it somehwere and make it dynamic
      url: "http://localhost:3030/uploads",
      method: "POST",
      dataType: 'json',
      data: form,
      beforeSend: (xhr) => {
        xhr.setRequestHeader('Authorization', this.api.get('token'));
      },
      processData: false,
      contentType: false,
      success: result => {

      },
      error: function(er){}
    });

Sorry for the late answer, but yes, the feathers client is json only. As stated on the guide you should use something else to do the uploading, that means you have to manually set the Authorization header like you did there.
I have another example using superagent:
import request from 'superagent'

request
    .post('/api/upload')
    .set('Authorization', token)
    .set('Accept', 'application/json')
    .attach('uri', file)  // see https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications
    .on('progress', e => {
        setUploadProgress(e.percent) // show a progressbar or something
    })
    .end(function (err, res) {
        if (err || !res.ok) {
            console.log('error', arguments)  // :(
        } else {
            console.log('success!')  // done! :)
        }
    })


Take theme preview image out of repository

This one:

It's git so it'll stay forever unless a shallow clone is done but eh.. shrug.

For https://github.com/oh-my-fish/oh-my-fish/issues/216#issuecomment-168670422


Feature request: Support for preact/compat

Is your feature request related to a problem? Please describe.
If we try to use preact/compat with @stitches/react it throws an error:
DOMException: Failed to execute 'createElement' on 'Document':
The tag name provided ('.sxp3sgw') is not a valid name.

Describe the solution you'd like
Just work out of the box 📦, as other tools do

We are working on a "stitches/preact" package as well. The react one won't just work with preact because it has some react-specific behaviours for ref forwarding.
OOC what do you mean "other libraries do"? Does styled components or emotion work with preact out of the box?

Styled Components works without problems using preact/compat as alias for react.
I created a demo with NextJS + preact/compat + styled-components & stitches for comparison:
https://codesandbox.io/s/nextjs-preact-styled-components-s6ngt

Hmm, interesting, I wonder how they're able to to forward ref and still be compatible with Preact 🤔 /cc @jonathantneal

I am going to look into the issue further, to see what the cause is, and if it is indeed related to forwardRef. If that’s the case, then I can understand the appeal to release a Preact version.
Fun fact: before forwardRef was introduced to support polymorphism in React, Stitches worked with Preact out of the box, without even the need for preact/compat.

it worked out of the box (and incredibly great) on 0.0.3-canary.4, just tested upgrading to 0.1.0-canary.20 and it stopped working.

To my understanding, it may be caused by the creation of an element through Object.setPrototypeOf and not React.createElement as seen in https://github.com/modulz/stitches/blob/canary/packages/react/src/index.js#L22.
Normally this function would be replaced with Preact's createElement but since Stitches just create the result of the ?createElement from React, it's only possible to use React and not Preact.

Yes. At first, the beta of this library used a regular object to work with React and Preact out-of-the-box, without any compat. However, supporting polymorphism correctly required React.createRef, while the change that made it in only upgraded the object $$typeof of the object.
In a future release, it may be better to switch to React.createRef, since cross-compatibility out-of-the-box is no longer an option.

#580 might help with this, see comment on using React.createElement, and comment on using React.forwardRef.
Also, I think you might mean React.fowardRef not React.createRef (createRef just returns "an immutable object with a single mutable value" source code)

In a future release, it may be better to switch to React.createRef, since cross-compatibility out-of-the-box is no longer an option.

We did make this change in the v0.2.x release, and this change remains in the v1 release, so I will close this. If there is a regression, tho, please do report it!

New to preact ( using it in Deno with Fresh ).
Did I miss where this gotcha/papercut was mentioned on the stitches website?


[tool_crash] ProcessException: Failed to find "C:\Users\seyed.jdks\corretto-17.0.6\bin\bin\java" in the search path. Command: C:\Users\seyed.jdks\corretto-17.0.6\bin\bin\java, OS error code: 0

Command
flutter create p

Steps to Reproduce

...
...
...

Logs
ProcessException: Failed to find "C:\Users\seyed.jdks\corretto-17.0.6\bin\bin\java" in the search path. Command: C:\Users\seyed.jdks\corretto-17.0.6\bin\bin\java, OS error code: 0
#0      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:118:7)
#1      ErrorHandlingProcessManager.runSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:714:24)
#2      _runSync (package:flutter_tools/src/base/error_handling_io.dart:590:14)
#3      ErrorHandlingProcessManager.runSync (package:flutter_tools/src/base/error_handling_io.dart:713:12)
#4      _DefaultProcessUtils.runSync (package:flutter_tools/src/base/process.dart:377:51)
#5      Java.version.<anonymous closure> (package:flutter_tools/src/android/java.dart:139:44)
#6      Java.version (package:flutter_tools/src/android/java.dart:179:5)
#7      Java.version (package:flutter_tools/src/android/java.dart)
#8      CreateCommand.runCommand (package:flutter_tools/src/commands/create.dart:510:41)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1350:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:294:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:112:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)

[✓] Flutter (Channel stable, 3.16.2, on Microsoft Windows [Version 10.0.19045.2728], locale en-US)
    • Flutter version 3.16.2 on channel stable at F:\flutter_windows_3.10.1-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9e1c857886 (10 weeks ago), 2023-11-30 11:51:18 -0600
    • Engine revision cf7a9d0800
    • Dart version 3.2.2
    • DevTools version 2.28.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at F:\flutter_windows_3.10.1-stable\sdk
    • Platform android-33, build-tools 30.0.2
    • Java binary at: C:\Users\seyed\.jdks\corretto-17.0.6\bin\bin\java
    ✗ Cannot execute C:\Users\seyed\.jdks\corretto-17.0.6\bin\bin\java to determine the version

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] IntelliJ IDEA Ultimate Edition (version 2022.2)
    • IntelliJ at F:\IntelliJ IDEA 2022.2
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.3345.108

[✓] VS Code, 64-bit edition (version unknown)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.80.0
    ✗ Unable to determine VS Code version.

[✓] Connected device (4 available)
    • 22101320G (mobile) • 6ba59e0c • android-arm64  • Android 13 (API 33)
    • Windows (desktop)  • windows  • windows-x64    • Microsoft Windows [Version 10.0.19045.2728]
    • Chrome (web)       • chrome   • web-javascript • Google Chrome 121.0.6167.140
    • Edge (web)         • edge     • web-javascript • Microsoft Edge 121.0.2277.98

[!] Network resources
    ✗ A cryptographic error occurred while checking "https://github.com/": Connection terminated during handshake
      You may be experiencing a man-in-the-middle attack, your network may be compromised, or you may have malware
      installed on your computer.

! Doctor found issues in 4 categories.

Flutter Application Metadata
No pubspec in working directory.

Hello @seyed0123
This is a duplicate of https://github.com/flutter/flutter/issues/139180, which was already just fixed in https://github.com/flutter/flutter/pull/139614 and has been nominated for cherrypicking into stable at https://github.com/flutter/flutter/issues/139699.
Kindly upgrade to the latest version of flutter stable (3.16.9).
Closing from here. If you still face this issue after upgrading to the latest version of flutter stable, kindly leave a comment below with the crash log and the updated output of flutter doctor -v and I will reopen this.
Thank you


(WIP)refactor(patient): abstract patient and related person to person type

fix https://github.com/HospitalRun/hospitalrun/issues/179
I'm going to leave this here for now considering it's a large change and I'm still new to pouch db and database structure so I would love to receive some feedback on the design patterns if anyone has any!
Changes proposed in this pull request:

create base person type and update structure and tests to match

Although the tests aren't working patient creation and related person addition is working with the abstractions in place and the preview is available. Still need to doublecheck, fix tests and refactor some things


Decouple dialects from shared static registration.

Decouple dialects from shared static registration.
This is necessary to merge https://github.com/google/iree/pull/919 because upstream the registration targets register dialects with static initialization.
We should probably go through and cleanup our registration across iree-opt, iree-tf-opt, python bindings, iree-translate, etc. to get some consistency, but this will at least allow us to move forward.

I think Kokoro fetches the merge commit not the head commit, so going to have to test this locally instead

(and therefore I'm submitting it anyway)


creating a graphics device RdotNet

Hi,
I want to create graphics device but not want to use any graphics library from dotnet just want to utilize RDotnet sources. is it possible?
could you help me?
Thanks

you can directly use dev.new() or plot() or any R side functions.
i tested and found the cairoDevice looks nice. you can have a try.

Is it possible to get Vector graphics information (DrawLine, DrawRectange, DrawEclipse, DrawPath etc. ) to create interactive canvas graphics or SVG?


Ravel text parameters to ensure they are vectors

I hit this when trying to open a project in current dir using:
      ]cider.openproject .

As an aside, when opening the cider project itself it re-installed the dependencies and I ended up with a different build list than what is in the repo.
aplteam-CommTools-1.4.1 was marked as principal, but not in my build list, and it shouldn't be as far as I can tell from the dependency file.


support system

when i install it on ubount, it failed. the erro is like that:
checking host system type... configure: error: can not guess host type; you must specify one
Traceback (most recent call last):
File "", line 1, in
File "/home/graph-convnet-tsp/data/pyconcorde/setup.py", line 174, in
'build_ext': build_ext,
File "/home/xiong/anaconda3/lib/python3.6/site-packages/setuptools/init.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/home/xiong/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/xiong/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/xiong/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/xiong/anaconda3/lib/python3.6/site-packages/setuptools/command/develop.py", line 38, in run
self.install_for_development()
File "/home/xiong/anaconda3/lib/python3.6/site-packages/setuptools/command/develop.py", line 140, in install_for_development
self.run_command('build_ext')
File "/home/xiong/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/xiong/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/graph-convnet-tsp/data/pyconcorde/setup.py", line 115, in run
build_concorde()
File "/home/graph-convnet-tsp/data/pyconcorde/setup.py", line 99, in build_concorde
_run(cwd, "build/concorde")
File "/home/graph-convnet-tsp/data/pyconcorde/setup.py", line 76, in _run
subprocess.check_call(cmd, shell=True, cwd=cwd)
File "/home/xiong/anaconda3/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'CFLAGS="-fPIC -O2 -g" ./configure --prefix /home/graph-convnet-tsp/data/pyconcorde/data --with-qsopt=/home/graph-convnet-tsp/data/pyconcorde/data ' returned non-zero exit status 1.
building concorde
----------------------------------------
ERROR: Command errored out with exit status 1: /home/xiong/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/graph-convnet-tsp/data/pyconcorde/setup.py'"'"'; file='"'"'/home/graph-convnet-tsp/data/pyconcorde/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

I also have a issue when i run"pip install -e .", the error is as follows.
KeyError: 'Windows'
qsopt is missing, downloading
----------------------------------------

Command "C:\Users\mac\Anaconda3\python.exe -c "import setuptools, tokenize;file='C:\cygwin64\home\pyconcorde\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" develop --no-deps" failed with error code 1 in C:\cygwin64\home\pyconcorde\

How to fix it?

Thanks @jackpickford1643 for the assistance!
I will close this issue for now, but please let me know if the problem persists.

Thanks @jackpickford1643 for the assistance!
I will close this issue for now, but please let me know if the problem persists.


x/tools/go/loader: fails to load packages that contain XTest files that use vendored imports

What version of Go are you using (go version)?
go version go1.7.1 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
What did you do?

Create a directory that contains a vendor directory (mkdir -p foo/vendor/test.com)
Create a vendored package (echo 'package bar' > foo/vendor/test.com/bar.go)
Create a Go test file in the directory that imports a vendored package (echo 'package foo_test; import _ "test.com/bar"' > foo/foo_test.go
Use loadcfg.ImportWithTests("./foo") to specify the package should be imported
Call loadcfg.Load() to load the packages

Full Go test that reproduces the issue:
package main_test

import (
    "io/ioutil"
    "os"
    "path"
    "testing"

    "golang.org/x/tools/go/loader"
)

const (
    bar = `package bar`
    foo = `package foo; import _ "test.com/bar"`
    foo_test = `package foo_test; import _ "test.com/bar"`
)

func TestRepro(t *testing.T) {
    wd, _ := os.Getwd()
    tmpDir, _ := ioutil.TempDir(wd, "")
    defer func() { os.RemoveAll(tmpDir) }()

    ioutil.WriteFile(path.Join(tmpDir, "foo.go"), []byte(foo), 0644)
    barDir := path.Join(tmpDir, "vendor", "test.com", "bar")
    os.MkdirAll(barDir, 0755)
    ioutil.WriteFile(path.Join(barDir, "bar.go"), []byte(bar), 0644)

    loadcfg := loader.Config{}
    loadcfg.ImportWithTests("./" + path.Base(tmpDir))
    // succeeds if non-test file imports vendored package
    if _, err := loadcfg.Load(); err != nil {
        t.Errorf("Error loading package without test")
    }

    // add test file that imports the vendored directory
    ioutil.WriteFile(path.Join(tmpDir, "foo_test.go"), []byte(foo_test), 0644)

    loadcfg = loader.Config{}
    loadcfg.ImportWithTests("./" + path.Base(tmpDir))
    // fails -- only change was adding a test file that imports the same vendored package
    if _, err := loadcfg.Load(); err != nil {
        t.Errorf("Error loading package that contains test that imports vendored library")
    }

    loadcfg = loader.Config{}
    loadcfg.Cwd = tmpDir
    loadcfg.ImportWithTests(".")
    // succeeds with test file if Cwd is set to the directory that is at the same level as the "vendor" directory
    if _, err := loadcfg.Load(); err != nil {
        t.Errorf("Error loading package after Cwd is set")
    }
}

What did you expect to see?
The loadcfg.Load() call should succeed without errors
What did you see instead?
The loadcfg.Load() call returns the following error:
 could not import test.com/bar (cannot find package "test.com/bar" in any of:
        /usr/local/go/src/test.com/bar (from $GOROOT)
        /Volumes/git/go/src/test.com/bar (from $GOPATH))

Notes from investigation

This works correctly if the current working directory is at the same level as the "vendor" directory
The behavior appears to be correct for non-test files -- if step 3 in the repro steps is replaced with echo 'package foo; import _ "test.com/bar"' > foo/foo.go, then this works
This behavior only exists for external test files (package name *_test) -- if step 3 in the repro steps is replaced with echo 'package foo; import _ "test.com/bar"' > foo/foo_test.go, then this works

Seems to be an issue with how the vendor directory is processed, but the behavior of XTest files should match the behavior of non-test and same-package test files (especially since the built-in Go commands like go build and go test handle this correctly).

More concretely, this causes tools that use loader (for example, errcheck and varcheck) to fail when run on projects that have a layout that match the scenario described in this issue.

Since support golang.org/x/tools/go/loader is now deprecated, I'll go ahead and close this issue. Sorry that we never addressed it!


Typo in README.md file

It reads:
"The location is obtained when the component mounts by default. If you want to prevent this and get the location later, set the suppressLocationOnMount to true and use the getLocation function returned by the hook to trigger the geolocation query manually."
That should be getPosition

Thanks @zzynx very good catch! :) fix incoming


Stop reordering columns in merlin.models.xgb.dataset_to_xy

Fix issue where TIS is returning incorrect predictions due to data passed in incorrect order

rerun tests

rerun tests

rerun tests

thank you very much for the review @karlhigley! was able to merge it now that the CI is up and running 🙂


Float.significant sometimes isn't accurate due to extra .0

Follow up to what I mentioned in #11319
The standard library's Number#significant allows one to preserve X amounts of significant digits, while discarding the rest. The internal logic of which, first converts the results to an float, and then the final result after computation back to the input type.
However, with a float, it can get problematic; because X.0 numbers have two significant figures. If I want to reduce it to a single significant digit, I'd expect to just get X.
But due to the aforementioned logic, you just get the same X.0, since the output value is again, a float.
Examples:
1.0.significant(1) # => 1.0
2.0.significant(1) # => 2.0
3.0.significant(1) # => 3.0
4.0.significant(1) # => 4.0

Unfortunately, there really isn't a easy way to resolve this due to the nature of floating-point numbers.

Could you clarify what's your expected behavior?

I guess... What's your use case? Where is this code used in your case?

Why not call to_i in that case?

If the number fluctuates, it's impossible to actually know whether to call to_i.

I guess... What's your use case? Where is this code used in your case?

CLDR number formatting. I know neither what number would be given, nor how many significant digits to preserve; just that it needs to be formatted a certain way depending on the parameters given.

If the minimum/maximum amount of significant figures allows for it yes. For instance these patterns:

Pattern
Number
Formatted number

@@###
1234.567
1234.6

@@@@
314.15
314.2

@@@@@
314.15
314.15

You can find some more examples in the specs of the library I'm working on here:
https://github.com/syeopite/lens/blob/master/spec/cldr/number-patterns_spec.cr#L282-L331

Is there any case where a formatted value will end up with ".0" at the end?

Unfortunately yes.

Pattern
Number
Formatted number

@@
1
1.0

@@@@@
1.1
1.1000

@@@@@
314
314.00

...but that would be a breaking change and we can't do that.

That's understandable. I guess I'll implement this as part of the library I'm working on then. Thanks for the help!

Yes, to implement this behavior numerically is impossible. You might be able to do some fancy analysis and return an integer instead but that'll have loads of edge cases. The only way to actually have the behavior I talked about above, is to perhaps just convert the entire method to a string operation; which again, is a rather large breaking change.
The issue should just be closed.


Activate main BRIT server

At present the BRIT system is using only the backup addresses. It is now time to activate the main BRIT server.

Progress on the BRIT server today:

Created 1 redeemer wallet (501 keys)
Created new matcher-key.asc with new password
Got the BRIT server on multibit.org able to run on localhost:7070

To do:

Integrate with apache httpd to expose dropwizard service
Test out IRL with MBHD using the new matcher key

Note that because we've changed the PGP key other people won't be able to talk to the matcher service until we put out beta 9. This is probably a good thing whilst we fiddle with it.

Sorry I mean beta 8, not 9.

The BRIT server on multi bit.org is now live.
It includes the redeemer2.txt addresses.
Log from MBHD on creation of a new wallet:
[2015-03-24 15:49:28,497] DEBUG [safe-fixed-create-wallet-0] o.m.h.b.s.FeeService - Creating FeeService with matcherURL: https://multibit.org/brit
[2015-03-24 15:49:28,498] DEBUG [safe-fixed-create-wallet-0] o.m.h.b.s.FeeService - Performing exchange with matcher ...
[2015-03-24 15:49:28,594] DEBUG [safe-fixed-create-wallet-0] o.m.h.b.s.FeeService - Payer request:
1
55a6886f3cdc1a8bb2a73295479aaf6c9b61881e
e4bc46da69f9c8453f0fd98667c5f9c1
not-present

[2015-03-24 15:49:29,291] DEBUG [safe-fixed-create-wallet-0] o.m.h.b.s.FeeService - Attempting to post 642 bytes to URL https://multibit.org/brit
[2015-03-24 15:49:30,037] DEBUG [safe-fixed-create-wallet-0] o.m.h.b.s.FeeService - Matcher response (encrypted):
SNIP
[2015-03-24 15:49:30,042] DEBUG [safe-fixed-create-wallet-0] o.m.h.b.s.FeeService - Matcher response (decrypted):
1
1427212169857
1M8VDb7Pe81CEcmVbZf2AJQQx6Nushgcqq
14p28aTP5LzCnaSnbex1s2JtN79jC8Ddq7
1AWA3cDXkb1NsTYsAo3gZs66qTjNFDsMeZ
1ErCCTiHjrTFEwsEJrgLrXuidvASbjz1tq

The updated links.txt file on multibit.org:
[brit@hamburg142 store]$ cat links.txt
4bbd8a749179d65a5f1b0859684f53ba5b761714<PHONE_NUMBER>223<PHONE_NUMBER>222
55a6886f3cdc1a8bb2a73295479aaf6c9b61881e<PHONE_NUMBER>857<PHONE_NUMBER>857

The relevant snippet of the brit-server.log on multi bit.org:
DEBUG [2015-03-24 15:49:29,620] org.multibit.hd.brit_server.resources.PublicBritResource: Processing payer request payload of length 642 bytes
DEBUG [2015-03-24 15:49:29,620] org.multibit.hd.brit_server.resources.PublicBritResource: Creating Matcher response
DEBUG [2015-03-24 15:49:29,856] org.multibit.hd.brit.dto.PayerRequest: Parsed OK
DEBUG [2015-03-24 15:49:29,857] org.multibit.hd.brit_server.resources.PublicBritResource: Decrypted payer request BRIT walletId: 55a6886f3cdc1a8bb2a73295479aaf6c9b61881e
DEBUG [2015-03-24 15:49:29,857] org.multibit.hd.brit.dto.PayerRequest: Serialised walletToEncounterDateLink =
55a6886f3cdc1a8bb2a73295479aaf6c9b61881e<PHONE_NUMBER>857<PHONE_NUMBER>857
DEBUG [2015-03-24 15:49:29,857] org.multibit.hd.brit_server.resources.PublicBritResource: Decrypted matcher response, number of addresses: 4
DEBUG [2015-03-24 15:49:29,859] org.multibit.hd.brit_server.resources.PublicBritResource: Encrypted matcher response, size: 160 bytes
DEBUG [2015-03-24 15:49:29,859] org.multibit.hd.brit_server.resources.PublicBritResource: Matcher response produced of length 160 bytes

I've added in a test in MBHD CoreServicesTest that creates a new wallet and does a BRIT exchange for real against multibit.org. This will insert BRIT wallet ids into the links.txt that are artifacts but I suggest we don't worry about them for the moment. It's a good test of the uptime of the BRIT server on multibit.org.
There are lots of refinements we can do but this gives us baseline functionality.
Awaiting review and closing.

Hmm, not sure that using Travis to verify uptime of BRIT is a good idea. What about setting up an IFTTT channel to conduct basic monitoring where we have a test wallet and verify the response?

It's just a unit test.
I just wanted a proper test that it actually works.

If it reaches out to the wider network it's actually an IntegrationTest and should have @Ignore set for Maven builds.
I've set up the site monitoring so we can track the BRIT server uptime and I'll test this is working tonight.

Yeah that's all very well Gary but BRITs not much use if it doesn't actually perform a BRIT exchange IRL.
We didn't have any test that the client and server could talk to each other correctly and I spent all day today setting it up.

I'm not objecting to the test - that's good work mate and needed. I'm only pointing out that you're introducing a dependency on an external server into the build process which makes it less reliable. What if Travis blocks access to multibit.org?
Renaming it to an IntegrationTest makes it clear that it requires special treatment and marking it with @Ignore ensures that Maven isn't affected but the test remains viable within an IDE.

Ok no worries.

I've renamed the test to BRITExchangeIntegrationTest and created a new package for it:
org.multibit.hd.integration
It's marked as "Ignore"

Verified working.
Closing.


[Feature]: Request LoRA support for Aria

🚀 The feature, motivation and pitch
Model AriaForConditionalGeneration does not support LoRA, but LoRA is enabled. Support for this model may be added in the future. If this is important to you, please open an issue on github.
Alternatives
No response
Additional context
No response
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

This model isn't managed by vLLM repo. Please open an issue at rhymes-ai/Aria instead.


Code tidy up, reusable methods added to Client-svc-commons class

Code tidy up, reusable methods added to Client-svc-commons class
@waldekmastykarz  this is prerequisite to the folder rename command and almost any new command that uses client.svc service.

Adds Client-svc-commons class. Three reusable methods added in the class where the added getCurrentWebIdentity  is used with almost every command that uses client.svc.

Usage
@example:
const clientSvcCommons: ClientSvcCommons = new ClientSvcCommons(cmd, this.debug);

clientSvcCommons.getCurrentWebIdentity(args.options.webUrl, this.siteAccessToken, this.formDigestValue).then((identityResp: IdentityResponse) => { ...

Adds Utils.getServerRelativePath(webUrl: string, siteRelativePath: string = "") to the utils class.
The method will return server relative path.

Usage
   *  @example
   * // returns "/sites/team1"
   * Utils.getServerRelativePath("https://contoso.sharepoint.com/sites/team1");
   * @example
   * // returns "/sites/team1/Shared Documents"
   * Utils.getServerRelativePath("https://contoso.sharepoint.com/sites/team1", "/Shared Documents");
   * @example
   * // returns "/sites/team1/Shared Documents"
   * Utils.getServerRelativePath("/sites/team1/", "/Shared Documents");

This is used on multiple places, also to be used in the folder rename command I am working on and can be reused for many other commands that require to get serverRelativePath.

Folder and Property Bag commands refactored according the change. Testes by me. All worked as expected.

Coverage remained the same at 100.0% when pulling f0125a41ac9be966d6a817b903b5874bad54d731 on VelinGeorgiev:client-svc-commons-class into 86f8635396eb643e8a3b8016fd2d0d2cfc9c9d37 on SharePoint:dev.

Thanks for the cleanup! Merged manually. 👍


Document location of the fat jar to download

Resolves #21

Gonna merge this as-is since it's a simple doc bit


feat: add //install target for installing the Aspect CLI on the system

Related to aspect-build/silo#329
This target will be used to build and install the Aspect CLI for the Homebrew formula.

 Bazelisk does it by using go build formula line. I opted to use Bazel to do the build. So, I needed a way to get the binary to a specified location. The formula will provide it to us.
In terms of other patterns, Bazel has shell scripts that build and install artifacts.

One thing that may not be clear from the PR is that the install script when run by Homebrew will copy the files to the Homebrew location not /use/local/bin. I added the default so that one could test the install locally.

FYI. This is what the Homebrew formula looks like, right now.

Moving this PR to silo.

I'm sorry, I was in a hurry with that comment as well and didn't check what repo this PR is against.
I think it's great to have the PR here actually, because we can use it to rehearse how the copybara process works when external contributors send us fixes.


Create View Command

Closes #105
Added view command for users to view details of specific people in the application

LGTM


Crash report - Index 1 is out of bound

Error (*errors.errorString): Index 1 is out of bound
Stack:
goroutine 1 [running]:
github.com/github/hub/commands.(*Args).InsertParam(0xc2080112d0, 0x1, 0xc208081d38, 0x4, 0x4)
	/var/folders/r7/cp0y2kgs15l6yc67v8_jy1j80000gn/T/go/src/github.com/github/hub/commands/args.go:95 +0x170
github.com/github/hub/commands.transformCheckoutArgs(0xc2080112d0, 0x0, 0x0)
	/var/folders/r7/cp0y2kgs15l6yc67v8_jy1j80000gn/T/go/src/github.com/github/hub/commands/checkout.go:102 +0xd5b
github.com/github/hub/commands.checkout(0x6826a0, 0xc2080112d0)
	/var/folders/r7/cp0y2kgs15l6yc67v8_jy1j80000gn/T/go/src/github.com/github/hub/commands/checkout.go:36 +0x40
github.com/github/hub/commands.(*Command).Call(0x6826a0, 0xc2080112d0, 0x0, 0x0)
	/var/folders/r7/cp0y2kgs15l6yc67v8_jy1j80000gn/T/go/src/github.com/github/hub/commands/commands.go:46 +0x189
github.com/github/hub/commands.(*Runner).Call(0xc20802b120, 0x6826a0, 0xc2080112d0, 0x0, 0x0, 0x0)
	/var/folders/r7/cp0y2kgs15l6yc67v8_jy1j80000gn/T/go/src/github.com/github/hub/commands/runner.go:88 +0x54
github.com/github/hub/commands.(*Runner).Execute(0xc20802b120, 0x0, 0x0, 0x0)
	/var/folders/r7/cp0y2kgs15l6yc67v8_jy1j80000gn/T/go/src/github.com/github/hub/commands/runner.go:80 +0x1e4
main.main()
	/private/tmp/hub-lKNcwz/main.go:12 +0x40

Runtime:
GOOS: darwin
GOARCH: amd64

Done while doing a git checkout -t from a private repo

This bug is fixed in https://github.com/github/hub/commit/2884da15b2a73097d5b51dc40aa047e1ef2ec56b. We'll make a new release soon.

This bug will be fixed in v2.2.1. Closing.


Simple names to complete drop-down

Signed-off-by: Isaac (.ike) Levy<EMAIL_ADDRESS>tiny translation addition

Thanks, I've added these two to Pootle as well.


Avoid use of global endpoint

Expected Behavior
The code samples should follow best practices and avoid use of the global endpoint for queries.
Instead of: /content/graphql/global/endpoint.json ->  /content/cq:graphql/wknd/endpoint should be used.
Actual Behavior
Current samples were created prior to the creation of project specific endpoints and use the global endpoint.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem

@godanny86 & @davidjgonzalez  I think we can close this issue now since persisted queries are used and project-specific endpoint vs global endpoint..

Team, closing this as we have removed to '/content/graphql/global/endpoint.json'


Add description and keywords to package configuration

Improves the package's visibility on npm.

👍 nice polish


pi 4 the nespi4 case with Recalbox 7.0.1 does not turn off the pi power

i have a new pi 4 just week old with your nespi4 case, i putty in and ran the cmd for recalbox. it updated and rebooted, but when i push the button to turn it off (th  power button depressed) it does shutdown recalbox but the fan continues to run on the pi4 and the pi4 doesn't cut power off :(.  so i have to pull the power plug and plug it back in very annoying :), but if you need any config files or for me to try anything pls let me know.

hmm seems to be working suddenly which is very weird i haven't changed anything just thought i would let you know

I'm having this exact issue and haven't found anyone else talking about it! It's very frustrating. It seems the times it actually does power off the Pi and fan it tries to reboot (seemingly) and then finally shuts off. This can't be good for the RPi if it's actually powering down mid-boot.
I'm using an SSD (obvs, that the point of this case).

I also have this exact issue.  I'm using the superpi4 case, but using the retropie version of the scripts, and I have the fan installed too.
Three items to be clear on.
The power button on the case, the led on the case, and the led on the raspberry pi board (which you can just see shining through the case near the SD card slot).
So....
power button ON, and then the led on the case and the board come on.  Everything booting up. Fine.
switch the power button OFF, and you can see the kill emulation station in effect, and the shutdown happening, and the case led switches off...but the fan continues, and the board led is still lit.
Never used to happen on my pi3+ - it all worked perfectly.
I'll keep experimenting, and will post up if I discover the answer.


Move homepage logo to separate file

Embedding the logo caused some performance issues, hopefully this helps.
@XhmikosR could you test this?
https://deploy-preview-32209--twbs-bootstrap.netlify.app/

Nevermind, there's still this issue: https://github.com/twbs/bootstrap/pull/31761#issuecomment-700395676


⚠ Bofrost.at has degraded performance

In ad7062a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1301 ms

Resolved: Bofrost.at performance has improved in 8c652f1 after 15 minutes.


[Bug] Completion case depends on the default formatter

Hi,
I think I found a minor bug. Here's how to reproduce it:

in the preferences => SQL Editor => SQL Formatting set the formatter to "Default formatter" and keyword case to lower, or database.
when you type "SELECT" and hit space in an editor, it's converted to lowercase (as intended).
now choose an external formatter that sets the keyword case to uppercase.
format your file with ctrl+alt+F. All keywords should now be uppercase.
now type "SELECT" followed by a space. It will be converted to lowercase.
as a workaround, choosing "default formatter" then setting keyword case to lower produces the expected behaviour, even after setting the formatter back to an external one.

I guess the fix is just to set the "Keyword case" drop-down list visible no matter which formatter is selected.
Btw, thank you for the awesome software dbeaver is!

Good point 👍


FYPO:0004069 is this right?

ID 	FYPO:0004069
Ontology 	fission_yeast_phenotype
Term name 	abolished phosphorylation of RNA polymerase II C-terminal domain serine 2 residues
Definition 	A cellular process phenotype observed in the vegetative growth phase of the life cycle in which the phosphorylation of the serine residue at position 2 within one or more copies of the heptapeptide repeat (YSPTSPS) of the C-terminal domain of RNA polymerase II does not occur.
Matching synonym 	decreased phosphorylation of RNA polymerase II CTD serine 2 residues
Comment 	We recommend noting which protein(s) were used in the assay when annotating to this term.
Synonyms
abolished phosphorylation of RNA polymerase II C-terminal domain serine 2 residues during vegetative growth
decreased phosphorylation of RNA polymerase II CTD serine 2 residues
phosphorylation of RNA polymerase II C-terminal domain serine 2 residues abolished

oops, no, synonym should've been edited
fixed behind the scenes but hasn't made today's release, so will be in Canto later

edit file: ec573cf46f49a1761abd3178e305d5f2da962eed

finally got the fix into a release: d1930c4357aa284188282fdcee8cef321d6e20cd


Fixes 1194

Fixes #1194
"taxon_id" and "scientific_name" are required columns by EBI.
The EBI submission code now requires them instead of allowing them to be nullable.
EBI submission was uploading all the samples in the sample template. It now filters the samples to only upload the samples that are in the prep template, which is the correct thing to do (the other samples in the prep template may get uploaded in another EBI submission - i.e. different PreprocessedData).

:+1: if tests pass ...

Coverage increased (+0.04%) to 79.13% when pulling 03f073158bbd9b5953743330692ff29137b80537 on josenavas:issue-1194 into e49253141aec794865ecac9d94c2c3246d2d36c0 on biocore:master.

@wasade any other comment? If not, can you merge?


With the lazy-plugins plugin enabled I lose all my custom key bindings.

The issue
With the lazy-plugins plugin enabled I lose all my custom key bindings.
The HotKey config is ignored by Obsidian, and HotKeys are set to defaults - in the UI, not the config file. This only happens with lazy-plugins enabled.
For example: my custom key binding for ⌘B (on OSX)  reverts back to the default to editor:toggle-bold, whilst my configuration file (on disk) remains the way I have configured it.
It is clear that the Hotkeys config file is just not being used by Obsidian when lazy-plugins is enabled.
With the plugin enabled

My configuration file does NOT change, it remains configured as "editor:toggle-bold": [],
The binding in the settings' Hotkeys panel is labeled as Toggle bold.

With the plugin disabled

My Hotkey configuration works again.

Expected behaviour
Hotkeys remain the same with the plugin enabled.
Additional
I have not yet tried changing the Hotkey config in the UI, to see if that the overwrites my custom config with defaults.

Can you manually install version 1.0.10 (just copy the main.js and manifest.json files into your .obsidian/plugins/lazy-plugins/ folder).
I'm wondering if the change suggested by Obsidian team actually does stop some plugins from working correctly.

Install v1.0.10
Set Hotkey plugin to be Instant load type
Restart Obsidian 2 times just to make sure everything is set correctly.
Test the hotkeys

Are you talking about the built-in Obsidian hotkeys functionality, or are you talking about a community plugin?
I can confirm that I do not lose my hotkeys configuration using this plugin, and I can't see any way at all that this plugin could affect your hotkeys.
Let me know, thanks

Are you talking about the built-in Obsidian hotkeys functionality, or are you talking about a community plugin?
Yep. I am talking about the in-built Obsidian hotkeys.

Can you manually install...
I will try to do this soon-ish.

Welp, to add to the confusion it actually appears to be non-deterministic, for example I can not repro with ⌘B (toggle-sidebar) 100%  of the time , and my other mappings like ⌥⌘J (for a plugin), or ⌥⬆ (move-line-up) disappear. In fact it seems non-deterministic which key mappings disappear - oh, actually it also looks like some of the slots for plug-in hotkeys completely disappear too, not always though. BUT the config file itself stays unmolested.
NOTE: I am noticing the disappearing binding/plug-in hotkeys when restarting Obsidian; which I was obviously doing a lot of to test start-time improvements.
I have also tried with a single key-bindings and just lazy installed in a clean Vault and it doesn't happen (as often??). The Vault where the problem exists has ~1000 notes, quite a few plug-ins installed and many re-bindings of keys. And vim-mode enabled with the obsidian-vimrc which modifies keybindings too.
I am currently on Sonoma 14.6.1, M1. Obsidian 1.6.7.

I recommend you have a look through the Lazy Loader code; all it does is call the built-in Obsidian functions enablePlugin and disablePlugin. I find it hard to imagine how that could affect hotkey mappings, and I certainly don't experience that on my own vault of 5000 notes and 40+ plugins.
I'm not saying it doesn't cause a conflict - it indeed may be causing this somehow - I just can't imagine how it could be doing that.
If you manage to track down the cause please let me know :)

No worries, totally understand.
As there’s very little value for me here I probably won’t deep-dive.

This issue looks like it was an issue with the toggle-list plugin that was spotted by Obsidian and they disabled that plugin; see: https://github.com/thingnotok/obsidian-toggle-list/issues/36 I have also submitted a PR for that plugin and I have tested my repo case (above) and lazy now seems to work without issue. I will now have a look to see if it saves any load time for me.
This plug-in would have exacerbated that bug, because it changes the plugin load order.
It did seem like it was effecting more than just CMDs, but I've not looked in to that.

Brilliant - thank you so much for following up on that. It's good to know it wasn't the Lazy plugin :)


chore(main): release 4.2.1

:robot: I have created a release beep boop
4.2.1 (2024-07-13)
Bug Fixes

prevent husky from failing (b7101de)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v4.2.1
:sunflower:


Bug 2041999: inject trusted CA to operand deployment

This PR allows the operator to inject trusted CA(s) into ExternalDNS (operand) containers.
What's inside

New flag to pass the name of the configmap containing the CA (cmd/external-dns-operator/main.go)
New controller to copy this configmap from the operator into the operand namespace (pkg/operator/controller/ca-configmap/)
Updated desired ExternalDNS deployment. Mounts the trusted CA file now (pkg/operator/controller/externaldns/pod.go)
Updated RBAC files (configmaps resources)
New pkg/operator/controller/utils package for things used in all the controllers, mainly for EventCollector used in all the controllers' tests (pkg/operator/controller/utils/, pkg/operator/controller/utils/test/)
New doc for the proxy support (docs/proxy.md)

/bugzilla refresh

/retest

/assign @Miciah

/assign @arjunrn

/retest

Thanks!
/lgtm


[IT-2124] Add a Cost Category for Program Codes

Replace our CUR ETL lambda with Cost Category rules. The purpose of the lambda is simply to collate our CostCenter and CostCenterOther tags, along with a fallback account mapping, into a single meaningful value. This can also be done with Cost Categories, which would allow us to use Cost Explorer for auditing/inspecting the resulting data.
The included rules were built using the online rules builder and copying the resulting JSON. Automatically updating the rules when program codes change will be challenging, but might be possible using a custom CloudFormation macro.

This approach would let us remove the cost reporting lambda entirely, obsoleting https://github.com/Sage-Bionetworks-IT/lambda-cost-reports/pull/7


Removed Attribution section on Code of Conduct that contained broken links

Removed Attribution section on Code of Conduct that contained broken links

Hi Mat, I would leave the section and just remove the dead links as we discussed.


clean up code

adds:

poetry for dependency management, tracking and virtual environments for a more controlled runtime
one more type annotation
cleaner code in general
proper project structure
threw an unlicense on there because it is assumed that it is under the public domain
a readme

WARNING: This code actually doesn't work. see line 25 and 146 of snek/__main__.py for more information.

gee ty :skull: :bow:


Add support for providing a default line-height for each font-size

This PR adds support for providing a default line-height for each font-size utility by allowing you to use a [fontSize, lineHeight] tuple in your config instead of just providing a fontSize value:
// tailwind.config.js
module.exports = {
  theme: {
    fontSize: {
       // Will embed no line-height value
      sm: '12px',

       // Will use `font-size: 16px` and `line-height: 24px`
      md: ['16px', '24px'],
    },
  },
}

.text-sm {
  font-size: 12px;
}

.text-md {
  font-size: 16px;
  line-height: 24px;
}

I've ensured that the fontSize utilities are positioned before the lineHeight utilities in the generated CSS, so even if you configure a default line-height for a particular font-size utility, you can still override it with a line-height utility:
<!-- Will still be `line-height: 1`, even though the default line-height for `text-md` is `24px` (as per the example config above) -->
<div class="text-md leading-none">

This is a purely additive change and no defaults have changed. We will probably update the defaults to include sensible line-height values in the next breaking release (2.0), likely many, many months away.

It does feel like to me that this should be a separate plugin, now fontSize does either one or two things and unless one includes the differentiation in the modifier name it doesn't show in the class-name.

Could come in handy this by default, as long as the lineHeight utilities can supersede, should be fine. +1

It does feel like to me that this should be a separate plugin, now fontSize does either one or two things and unless one includes the differentiation in the modifier name it doesn't show in the class-name.

I think in practice you would only ever use one approach or the other for your entire config, and never mix and match. You'll always be able to slap a line-height utility on top to override the default either way 👍

@adamwathan I'm super excited that you added this because we have been bikeshedding how we wanted to do this for our design system and now we don't have to 😄
Do you have any thoughts about doing something similar for font-weight? Our design system has a few font-sizes (xl, 2xl, 3xl, 4xl) that should only ever be used in combination with .font-medium, so we'd like to make that the default for those sizes to reduce the chance of making a mistake.
I'd be happy to work on adding this if it's something you'd be interested in.

@HeroicEric  No reason you can't just add it in your stylesheet. This is what I do for letter-spacing:

@responsive {
    .text-xs { letter-spacing: 0; } /* 12px */
    .text-sm { letter-spacing: -0.006em; } /* 14px */
    .text-base { letter-spacing: -0.011em; } /* 16px */
    .text-lg { letter-spacing: -0.014em; } /* 18px */
    .text-xl { letter-spacing: -0.017em; } /* 20px */
    .text-2xl { letter-spacing: -0.019em; } /* 24px */
    .text-3xl { letter-spacing: -0.021em; } /* 30px */
    .text-4xl { letter-spacing: -0.022em; } /* 36px */
    .text-5xl { letter-spacing: -0.022em; } /* 48px */
    .text-6xl { letter-spacing: -0.022em; } /* 64px */
}

@tailwind utilities;

thanks @BrandonSurowiec I'd rather have it as part of the Tailwind config though.


explicit lm weightings disabling not working as intended

For CH the following config works:
prepare.ch.weightings=no
but this fails (and should not!) for
prepare.lm.weightings=no

After the dropwizard change this fails again. A configuration of:

prepare.lm.weightings: no

results in:
java.lang.IllegalArgumentException: weighting false not supported
Related to #lm


Blish Hud Crashing while trying to insert Arena.net API key

Haven't played Guild Wars in a week or two and when I tried to run it with blish like i always do it crashed. Noticed there was a new verison so i got that and its still crashing but only when i try to insert my api key

Apparently things arent owrking right now becuase End of Dragons imminent release. Disregard.

Hey!  Glad you were able to figure it out.  Just FYI:
Yes, there is a known issue with some modules and the Guild Wars 2 API currently being down in prep for the EoD release.
If you wanted to continue to use Blish HUD in the meantime, please remove any of the following modules from your modules folder until either the API comes back up (in ~48 hours):

StreamOut
EventTable

Remove them from this folder: \Documents\Guild Wars 2\addons\blishhud\modules
There is a new version of both of these modules which resolves this issue.  Once you've deleted them from your modules folder, you can download the latest version from the repo safely once you launch Blish HUD again.  👍


Ui change of the notification

Description

It doesnt match the ui of the page
Steps to Reproduce
Its in the main page
Expected Behavior
No response
Actual Behavior
No response
Screenshots
No response
Additional Information
No response
What browser are you seeing the problem on?

[X] Firefox
[X] Chrome
[ ] Safari
[ ] Microsoft Edge

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

@HimangshuSharma01 can you show me a sample one's that you want to change this.

@HimangshuSharma01 can you show me a sample one's like screenshot that you want to change this.


Play with materialize

It would be neat to experiment with different ways of integrating with https://github.com/MaterializeInc/materialize, inputs, outputs, processors, etc. There's a few different combinations here so ideally we want to be able to describe the generally neatest approach.

I have been doing the same. I agree that it's a compelling combination.
Also it can work with cockroachdb perhaps, and not just Postgresql, but i haven't tested it.

cc @danthegoodman1

Yeah I love what materialize is doing. One thing I wish to improve would be their outputs, I think combining benthos to empower their output selection would be ideal. Right now a simple redpanda (Kafka compatible) stream to stick outputs in benthos is the most efficient way I've tested.

I wonder if there is even a case to support basic operations such as AVGs, SUMs, etc. as a processor?

Also I was thinking for integration you could just use the sql_insert or sql outputs, since materialize supports in memory tables as well
This would obviously grow memory since there is not built-in TTL, but maybe a cron can be run to compact it (maybe even a benthos input could be cron...)


lib/bundle/installer: Set preinstall variable to true/false

Assigning preinstall to the return value of puts meant that it was nil when we used it in cls.install, which did not equal true in the cls.install method when we tried to use it (but as it was provided, it was not overridden by the default value true).  This makes sure that in the success case (when cls.preinstall succeeds, we print a green message), preinstall is true and in the inverse case preinstall is negative.

This meant that while we printed "Installing", nothing was actually installed because preinstall was nil which is falsey, so we never called install_change_state! to do the actual installation.

My first attempt at fixing this problem was the wrong approach, even though it technically fixed the problem. 😴

Before:

$ brew bundle --file=./Brewfile-test
Installing k9s
Homebrew Bundle complete! 1 Brewfile dependency now installed.
$ k9s --help
zsh: command not found: k9s

After:

$ brew bundle --file=./Brewfile-test
Installing k9s
Homebrew Bundle complete! 1 Brewfile dependency now installed.
$ k9s --help
K9s is a CLI to view and manage your Kubernetes clusters.
[...]

Fixes https://github.com/Homebrew/brew/issues/11817.

Thanks for the quick fix @issyl0 💖


Issue with placement groups

I tried to upgrade my cluster to have more than 10 nodes which seems not to be possible because all nodes created by this solution is added to single placement group and Hetzner only allows 10 server to single group.
As a workaround I do a little bit rearranging of my nodes using Hetzner's cloud console, but I think that's not a most intuitive solution because it also requires shutdown those servers which you want to move to another placement group.
One solution could be that somehow we are able to define separated placement groups for different node pools (master and worker pools).

Hi, thanks for pointing out about the 10 servers per group limit! I wasn't aware of it as I have only created small clusters so far. I will add support for creating one group per pool as you suggested. Perhaps tomorrow if I can.

Done in v0.5.1. Now each node pool gets its own placement group and I have added a validation that limits each pool to max 10 nodes. Existing clusters won't be affected by this change unless you replace a node pool, in which case the new node pool gets a separate placement group. I'm closing this for now since it's done but please reopen if you find any issues with this change. :)


run az aks get-credentials --resource-group aksrg --name aks  error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks get-credentials
Errors:
The command failed with an unexpected error. Here is the traceback:
cannot import name 'map_azure_error_to_cli_error' from 'azure.cli.command_modules.acs._helpers' (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\acs\_helpers.pyc)
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 556, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/__init__.py", line 515, in load_arguments
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 313, in load_arguments
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/commands.py", line 104, in load_arguments
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 125, in arguments_loader
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
  File "importlib\__init__.py", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\jiasi\.azure\cliextensions\aks-preview\azext_aks_preview\custom.py", line 105, in <module>
    from ._helpers import (
  File "C:\Users\jiasi\.azure\cliextensions\aks-preview\azext_aks_preview\_helpers.py", line 7, in <module>
    from azure.cli.command_modules.acs._helpers import map_azure_error_to_cli_error
ImportError: cannot import name 'map_azure_error_to_cli_error' from 'azure.cli.command_modules.acs._helpers' (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\acs\_helpers.pyc)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks get-credentials --resource-group {} --name {}

Expected Behavior
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.34.1 *

Extensions:
aks-preview 0.5.70

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

Additional Context

route to CXP team

@dannysijia I am unable to reproduce this issue and the command worked fine in my environment. Can you please try updating your aks-preview version.

@dannysijia Please let me know if you need any further help on this issue.


Automate release process

Automate release builds of SkyEye using GitHub Actions, Publish a binary for every release to main.

Should investigate https://github.com/wixtoolset for the windows build

As of #160 we now build a static EXE, so we just gotta zip up the EXE and upload it somewhere, no MSI needed.


Fix the movement of the prompt indicator when filtering

Feature request:
Prompt moves as the number of items changes when characters are entered.
before

after

Please feel free to close this P-R if you don't like this changes.
BTW, thanks for your amazing application.

Thanks for PR! How about putting the space just befor :
Filter processes (  2/306):
Filter processes (2/306)  :
To me the later looks better or what do you think?

Thank you for reviewing! Either's fine. In the latter, the number (306) is shifted, but is this alright?
Filter processes (306/306):
↓
Filter processes (10/306) : foo
↓
Filter processes (1/306)  : foo

Looks good to me!

I merged this one since it is better than current behavior but if you could make that change and create pull request that would be awesome. =)

Thank you!


Convert afalgtest

I can't build this; can someone test?

test/afalgtest.c: In function 'test_afalg_aes_128_cbc':
test/afalgtest.c:55:10: warning: implicit declaration of function 'TEST_ptr' [-Wimplicit-function-declaration]
     if (!TEST_ptr(ctx = EVP_CIPHER_CTX_new())
          ^
test/afalgtest.c:56:13: error: expected ')' before 'return'
             return 0;
             ^
test/afalgtest.c:81:1: error: expected expression before '}' token
 }
 ^
test/afalgtest.c:53:9: warning: unused variable 'ret' [-Wunused-variable]
     int ret = 0;
         ^
test/afalgtest.c:52:27: warning: unused variable 'decf' [-Wunused-variable]
     int encl, encf, decl, decf;
                           ^
...

It builds now.  And runs, in many config options :)


Trojan:Win32/Skeeyah.l (false positive?!)

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

[ ] Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
[ ] Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
[x] Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
[x] Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
[x] Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Just downloaded Atom and tryied to install after the new windows update (Windows 10 Version 1703 x64 KB4023057).
Steps to Reproduce

Just install

Expected behavior: Open Atom normally
Actual behavior: Trojan:Win32/Skeeyahh.l detected by Windows deffender, cannot be installed.
Reproduces how often: 100%
Versions
Atom: 1.35.1
Windows 10 Version 1703 x64 KB4023057
Additional Information
I can't install Atom package so I can't debug it. I can put the node.dll in except files but I thought it was better show the issue.

I had the same problems he did. can't install atom 1.35.1 (Win 10 Pro 1809  x64 OS build 17763.379)

You didn't mention which version of Atom you installed, but for reference here are the SHA512 hashes for both versions:

x86: 58B66E2585312643B4BFF858E3C64FA21D72E0B35BA38E1097F40BC5ED5B4C2E126D727000BED2D4803A9F1BFF76C698270F0A2EDF838C46CC5FDD3B11570A23
x64: 841E38D88CADEA44126F7BBFF2BDC302A02182F85977389B786A0F23B061D3EC9CE9EBDF086C29C18955F6E92692DA142AF6284947E0CA69C1A46AAE6B7A6156

Assuming the node.dll file on your computer matches that it's a false positive from your AV vendor that you should contact them about as we have no control over that. You can try whitelisting that file to work around the issue in your AV software.
If the hashes don't match then there is likely something else on your computer that is infecting random .dll files on your system to attempt to spread itself.
Thanks for reaching out!


The command line is too long error when building the master branch

hi everyone  I am trying to build godot with mingw in windows platform the  command I used is
"scons paltform=windows use_mingw=yes  generate_bindigns=true" eventhough i tried to replace the version ie bits with 32 and 64 it didn't make any change so I surfed github for this issue and found a link that is
"https://github.com/marynate/godot/commit/0355208f44b3387c4cc43be35d32b25a67a2b5b6"
but this topic is so old and it date back to 2015
I am currently stuck on this issue that command line is too large and I know that this error doesn't arrises on the visual studio compiler how ever I switched form unity to godot because of low end pc so i cannot install visual studio and its tolls , I am stuck so hoping for hlep
the image below shows my error
thanks in advance

this is for the one who try to build this and facing my error
godot-cpp can't be compiled with the mingw even with diretx headers yes thats true the problem is in the windows that windows maximum command line is 8k but this godot cpp exceds upto 17k i heard that it is normal in linux again it is not the fault of mingw it is the issue of windows vs build tools works fine and successfully generated from here i am closing my issue

P.S never mind of my English and this is my first issue on the github yayyyyyyyyyyyyy............


[MATLAB] Consider lowering the minimum CMake version requirement for building the MATLAB interface

Describe the enhancement requested
As discussed in this comment thread, the MATLAB interface currently defines a relatively high minimum CMake version (i.e. cmake_minimum_required) of 3.20. For comparison, the C++ libraries define a minimum required CMake version of 3.5.
The minimum CMake version for the MATLAB interface was originally increased from 3.2 to 3.20 to work around some bugs in FindMatlab that were making development more challenging.
It may be worth revisiting this decision and doing a thorough investigation into whether there are any opportunities to lower the minimum required CMake version to ensure broader compatibility with older CMake versions.
This would be a good first issue for any community members who are interested in contributing to the MATLAB interface and would like to get some experience using CMake. This would involve building the interface against versions of CMake prior to 3.20 on Windows, macOS, and Linux, and seeing whether there are any issues that come up.
Component(s)
MATLAB

I don't believe I have the permissions to add additional labels to this issue. However, I think it would make sense to add the good-first-issue and/or good-second-issue labels to this issue.

I've added them.
FYI: The C++ implementation requires CMake 3.16 or later soon: #34921

Thanks for adding the labels and for pointing this out @kou!
Given this information, it probably wouldn't make sense to go any lower than 3.16 for the minimum required CMake version for the MATLAB interface since it depends on the CMakeLists.txt for the the C++ libraries.


Setting (non-us) keyboard layout

I am using Debian Sid and Cage 0.1.5
Within the Debian setup "de" (german) is set for keyboard layout.
Default XKBDEFAULT under /etc/default/keyboard is set to "de".
Config "dpkg-reconfigure keyboard-configuration" was set to "de".
~/.profile contains environment variable "export XKB_DEFAULT_LAYOUT=de"
(This last step/hint was found in Cage docu/wiki)
Shell uses the correct german keyboard layout
but Cage persists using the us layout.
How could I customize a non-us keyboard layout for Cage?
Or should I open a bug?

export XKB_DEFAULT_LAYOUT=de should be enough for Cage.
How are you starting Cage?

My (first) Cage application was freerdp2 in X11 and Wayland mode - syntax/start is with:
cage wlfreerdp -- /v:{rdp-ip}
or
cage xfreerdp -- /v:{rdp-ip}
In both cases keyboard does not change from "us" -
not in the freerdp authentication dialogue, nor in the rdp session itself.
I just installed/cross-checked the app xterm with
cage xterm
and keyboard was set succesfully to "de".
So the issue might (only?) be a freerdp related one...

I testet other apps now and export XKB_DEFAULT_LAYOUT=de /setting keyboard layouts worked fine with Cage until now.
The problem seems to be caused by xfreerdp. Their documentation tells something about a "keyboard layout detection"
https://github.com/FreeRDP/FreeRDP/wiki/Keyboard#keyboard-layout-detection
(I dont understand the purpose - why not using the system settings?)
Their process seems to rely on some fancy X11 infrastructure that is not presesent in a pure (X)Wayland\Cage config.
For me (and possible other users of freerdp) the following workaround allows the setting of an keyboard layout with freerdp in a wayland/cage environment:
 cage wlfreerdp -- /v:{rdp-ip} /kbd:0x{layout-id}
where layout-id is 0407 for german - other IDs could be find here:
https://github.com/awakecoding/FreeRDP-Manuals/blob/master/User/FreeRDP-User-Manual.markdown#keyboard-layouts


Self-signed certificate is broken

$ sudo dpkg-reconfigure ca-certificates
Processing triggers for ca-certificates (20141019ubuntu<IP_ADDRESS>) ...
Updating certificates in /etc/ssl/certs... unable to load certificate
140168073868960:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:150:
WARNING: StackStorm_Auto-Generated_Trusted_CA.pem does not contain a certificate or CRL: skipping
WARNING: Skipping duplicate certificate st2_root_ca.pem
WARNING: Skipping duplicate certificate st2_root_ca.pem

@ramelito Do you have more logs? I'll try to repro myself. If not, more logs would help.

Well, this output is from Ubuntu box when i tried to update ca-certificates with st2_root_ca.crt i have downloaded from WebUI install page. So i dont think i have more logs. I have deleted /etc/ssl/st2/* certificates and start update-system to generate certificates once again, they are generated ok, but i still cannot to add them to Ubuntu, same error.

When you do ls -l /etc/ssl/st2, do you see a st2.key file and is > 0 bytes? We are talking about this on slack community. Feel free to signup stackstorm.com/community-signup.

Hi @ramelito!
Sorry you're running into issues. It looks like that we needed to push a small fix to get the proper SSL CA into the trusted cert store. That was pushed in https://github.com/StackStorm/st2workroom/pull/272.
Would you try re-running update-system and reporting back? Also, not a bad idea to manually delete /usr/local/ca-certificates/StackStorm_Auto-Generated_Trusted_CA.pem
Let us know how it goes!

Hi, @jfryman
Here is the output from update-system
Error: /Stage[main]/Profile::St2server/Ca_cert::Ca[stackstorm-ca]/File[stackstorm-ca.crt]: Could not evaluate: Could not retrieve file metadata for : Cannot find file: Invalid mount ''
Notice: /Stage[main]/Ca_cert::Update/Exec[ca_cert_update]: Dependency File[stackstorm-ca.crt] has failures: true
Warning: /Stage[main]/Ca_cert::Update/Exec[ca_cert_update]: Skipping because of failed dependencies
Notice: /Stage[main]/Profile::St2server/Ca_cert::Ca[stackstorm-ca]/Anchor[ca_cert::ca::stackstorm-ca]: Dependency File[stackstorm-ca.crt] has failures: true
Meanwhile file StackStorm_Auto-Generated_Trusted_CA.pem absent in /usr/local/ca-certificates/

@ramelito ok. Check this out. https://github.com/StackStorm/st2workroom/pull/273.  Tested this locally, and looks like it works. Would you confirm for me?

hi, @jfryman this time the cert smoothly installed
$ ls -l /etc/ssl/certs/stackstorm-ca.pem
lrwxrwxrwx 1 root root 50 дек.   1 12:29 /etc/ssl/certs/stackstorm-ca.pem -> /usr/local/share/ca-certificates/stackstorm-ca.crt
but python still does not recognize it
$ st2 auth admin
Password:
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:789: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)

@ramelito This is something we're still looking into, because as we know and understand, the CA is in the right place and being installed and registered by the OS. However, we're still getting errors.
In the meantime, if you'd like to disable those settings, take a look at this article that should get you going.
https://stackstorm.reamaze.com/kb/general/insecure-certificate-warning-when-using-cli


x/sys/unix: add *xattr functions on darwin.

OS X has own *xattr implementations.
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/setxattr.2.html#//apple_ref/doc/man/2/setxattr
Parameter is different, but we can make workaround for this.

Third-party implementations are already out: https://github.com/pkg/xattr/blob/master/syscall_darwin.go

Nice! But what about the symlink-safe variants Lgetxattr / Lsetxattr / Llistxattr etc ? It's just a matter of passing the XATTR_NOFOLLOW option to the underlying syscall.

Wow, awesome!
I noticed a test fails with EPERM on linux, i hit this recently, maybe related?
// https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/xattr.c?h=v4.17-rc5#n122 :
	// In the user.* namespace, only regular files and directories can have
	// extended attributes.

https://github.com/rfjakob/pkg-xattr/blob/LGet/xattr_test.go

@rfjakob exactly, that's what I just found out too :smiley:
From http://man7.org/linux/man-pages/man7/xattr.7.html:
       The file permission bits of regular files and directories are
       interpreted differently from the file permission bits of special
       files and symbolic links.  For regular files and directories the file
       permission bits define access to the file's contents, while for
       device special files they define access to the device described by
       the special file.  The file permissions of symbolic links are not
       used in access checks.  These differences would allow users to
       consume filesystem resources in a way not controllable by disk quotas
       for group or world writable special files and directories.

       For this reason, extended user attributes are allowed only for
       regular files and directories, and access to extended user attributes
       is restricted to the owner and to users with appropriate capabilities
       for directories with the sticky bit set (see the chmod(1) manual page
       for an explanation of the sticky bit).

I'll just drop the corresponding tests from the CL for now.

Ok - if you want to keep the tests, what I have done in pkg/xattr is to operate on a broken symlink, and check that we get EPERM for Lgetxattr and ENOENT for Getxattr.

@rfjakob nice, thanks. Will do that too for x/sys/unix then.


Roll Flutter Engine from 9dae7b708bda to 2e0bb5c052ac (28 revisions)

Roll Flutter Engine from 9dae7b708bda to 2e0bb5c052ac (28 revisions)
https://github.com/flutter/engine/compare/9dae7b708bda...2e0bb5c052ac
2023-08-02<EMAIL_ADDRESS>[iOS][A11Y] fix hittest with non-SemanticsObject (flutter/engine#44014)
2023-08-02<EMAIL_ADDRESS>Roll ANGLE from d61a50c155bd to d29f946d6180 (1 revision) (flutter/engine#44267)
2023-08-02<EMAIL_ADDRESS>Roll Skia from 6009cc6d7d80 to 514c66ce0471 (2 revisions) (flutter/engine#44268)
2023-08-02<EMAIL_ADDRESS>Revert "[Impeller] Support for rendering Android Platform Views into a HardwareBuffer backed texture." (flutter/engine#44262)
2023-08-02<EMAIL_ADDRESS>Roll Skia from c6577d328585 to 6009cc6d7d80 (2 revisions) (flutter/engine#44264)
2023-08-02<EMAIL_ADDRESS>Roll ANGLE from 11cef17b53ac to d61a50c155bd (1 revision) (flutter/engine#44261)
2023-08-02<EMAIL_ADDRESS>Roll Skia from 1c0bba7c1053 to c6577d328585 (2 revisions) (flutter/engine#44260)
2023-08-02<EMAIL_ADDRESS>Roll Dart SDK from 8ff03ebf7eaa to afbaf4216fc8 (1 revision) (flutter/engine#44259)
2023-08-02<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 3JSF6hXLRdAK1wUN1... to Hx7ap5qcoqRIknnnG... (flutter/engine#44258)
2023-08-02<EMAIL_ADDRESS>Roll ANGLE from a21631c02e45 to 11cef17b53ac (1 revision) (flutter/engine#44256)
2023-08-02<EMAIL_ADDRESS>Roll Skia from 6807d8b8a9d3 to 1c0bba7c1053 (1 revision) (flutter/engine#44255)
2023-08-02<EMAIL_ADDRESS>Roll ANGLE from 5d4b3645d0dc to a21631c02e45 (1 revision) (flutter/engine#44252)
2023-08-02<EMAIL_ADDRESS>Roll Skia from 6087a5224c6f to 6807d8b8a9d3 (2 revisions) (flutter/engine#44250)
2023-08-02<EMAIL_ADDRESS>Roll Skia from 6cb888889ad8 to 6087a5224c6f (1 revision) (flutter/engine#44249)
2023-08-02<EMAIL_ADDRESS>[Impeller] Give a fixed timeout for acquireNextImageKHR. (flutter/engine#44241)
2023-08-02<EMAIL_ADDRESS>Roll Dart SDK from 7c03426705da to 8ff03ebf7eaa (2 revisions) (flutter/engine#44243)
2023-08-02<EMAIL_ADDRESS>Roll Skia from 4deae93198f9 to 6cb888889ad8 (1 revision) (flutter/engine#44240)
2023-08-01<EMAIL_ADDRESS>[canvaskit] Enable CanvasKit to compute tight SkPicture bounds (flutter/engine#43361)
2023-08-01<EMAIL_ADDRESS>Roll Dart SDK from 197fc0d7fea2 to 7c03426705da (2 revisions) (flutter/engine#44237)
2023-08-01<EMAIL_ADDRESS>[Impeller] Support for rendering Android Platform Views into a HardwareBuffer backed texture. (flutter/engine#44087)
2023-08-01<EMAIL_ADDRESS>[web:a11y] add platform view role (flutter/engine#44188)
2023-08-01<EMAIL_ADDRESS>Roll Skia from 18cf818e044f to 4deae93198f9 (1 revision) (flutter/engine#44236)
2023-08-01<EMAIL_ADDRESS>Roll Skia from 58c031441cbb to 18cf818e044f (6 revisions) (flutter/engine#44234)
2023-08-01<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from g0dgOL2IlZQJCK4El... to 3JSF6hXLRdAK1wUN1... (flutter/engine#44233)
2023-08-01<EMAIL_ADDRESS>Roll ANGLE from b53d99d87e6a to 5d4b3645d0dc (1 revision) (flutter/engine#44231)
2023-08-01<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from lwCo6le6r0X-Srvx3... to KPSWBhOvG6piddBQG... (flutter/engine#44230)
2023-08-01<EMAIL_ADDRESS>Roll Skia from d53f7b880651 to 58c031441cbb (2 revisions) (flutter/engine#44229)
2023-08-01<EMAIL_ADDRESS>Remove extends JSTypedArray from JSUint8Array1 (flutter/engine#44175)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from lwCo6le6r0X- to KPSWBhOvG6pi
fuchsia/sdk/core/mac-amd64 from g0dgOL2IlZQJ to Hx7ap5qcoqRI
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
...

Commit queue failed; closing this roll.


Pin sequelize-3.23.4.

Unfortunately Sequelize is not following their semver promise and they've broken the behaviour of findAndCount with inclusions in their latest release (3.23.6). We want to update to the latest release which includes a security fix, but the changes have a non-trivial impact in our code, so we're pinning our Sequelize dependency to 3.23.4 which behaves as we expected it to until we have the opportunity to investigate further.

👍


Remove ActionbarSherlock

See https://github.com/androidannotations/androidannotations/issues/1376
Part of #12

/label task

Was done in PR #17


When trying to use with Silex

Hi,
When trying to use with silex and following https://github.com/KnpLabs/KnpMenu/blob/master/doc/03-Silex-Integration.markdown
I get the followinge error:
InvalidArgumentException in Container.php line 95: Identifier "autoloader" is not defined.

after adding
$app['autoloader']->registerNamespace('Knp\Menu', __DIR__.'/vendor/KnpMenu/src');

If I skip that line, and just add
$app->register(new \Knp\Menu\Integration\Silex\KnpMenuServiceProvider());

I get the followinge error:
ClassNotFoundException in KnpMenuServiceProvider.php line 18: Attempted to load interface "ServiceProviderInterface" from namespace "Silex".
Did you forget a "use" statement for "Pimple\ServiceProviderInterface"?

Thanks!

Hello,
What is your version of Silex ?

    "silex/silex": "~2.0@dev"; dev-master

Hello, everything working on Silex 2 and 3 from here. (btw ~2.0@dev is not the dev-master)
You don't need to register the lib by yourself: composer do it for you.

@Nek-
I will try again tomorrow when I am in front of the code.
So i won't need to do:
$app->register(new \Knp\Menu\Integration\Silex\KnpMenuServiceProvider());

I was trying to use these directions

You need to register KnpMenu inside Silex. But you don't need to register it inside autoloader if you're using composer.

The service provider available in the library is for Silex 1, not for the dev version of Silex 2.


How to scale across multiple servers?

Hi,
I am planning to use this awesome project in our standalone application.
The Problem:
The application is scaled out on multiple servers. How should I handle websockets in this picture (The sender may not be connected to the receiver) ?.
As far as I understand, common practice is to use a publish/subscribe broker like RabbitMQ, ActiveMQ, Redis and etc.
What is the recommended practice in terms of this project? I searched for samples but could not find any.
Any comment that would put me on the correct direction will also be appreciated.
Thnx

Scaling with websockets shouldn't be any different than with other protocols. Just put a load balancer in front of them :P I'm not sure what you mean by "The sender may not be connected to the receiver". Websockets are typically used for real-time traffic such as live updating chat, browser games, etc.

Hi @PhilipRoman
Thnx for your response. As far as I understand, connection structure of websockets differ from HTTP.
Since http is request/response based, usage of load balancers makes sense because the connection exists only until the response has been given. There is no need to reuse the exact same connection for two different http requests (although keep-alive may keep the same connection)
On the other hand, as far as I understand, for websocket communication the client opens up a connection to the server and reuses it. This connection is long lived and both the server and client use this single connection for communication.
For that reason, it seems that there is state in websocket interaction. There should be some statefull data on the websocket server for each open client connection.
When servers are horizontally scaled, there should be some mechanism to manage/distribute this state to handle server failover, scaling and etc.
For your load balancer suggestion, are you saying that we should configure load balancers with something similar to sticky sessions?
Maybe the following posts better explain my problem:
https://hackernoon.com/scaling-websockets-9a31497af051
https://medium.com/javarevisited/scaling-websockets-in-spring-services-27023f59868c
Thnx

Ah, now I see what you meant. Your solution will probably depend on how many users you expect to be in a single "group" that you want to broadcast updates to. The important question is - do you expect to have more users in such a "group" than a single server can handle? If no, then you can ignore all the pub/sub stuff and simply handle everything in-process (saving state to a database to be able to restart and migrate instances).
This was the solution I used. In my case, I was hosting a multiplayer game (with a soft upper limit of 100 users per lobby). Each server reports its current capacity to the load balancer. When a new user needs to be added (or a new lobby needs to be created) load balancer picks nearest server that has enough capacity. If a server crashes, becomes too laggy or some lobby exceeds the server's capacity, the saved lobby state is offered to the load balancer, which can re-assign it to another server and migrate existing connections seamlessly (although the clients can also auto-reconnect to a lobby token if needed so seamless connection migration is optional). But there is no communication between servers (aside from load balancing info).
If you are making something that has less latency requirements and more users per "lobby" than a single server can handle, pub/sub sounds like a good idea.
Either way, this library won't provide any features specific to load balancing, so it's up to you to implement it.

Hi @PhilipRoman
Thx for the clarification.


[🐞] SSG in fresh project not working

Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
When running SSG on a fresh qwik project, I immediately run into errors:
$ npm run build.server

✓ 34 modules transformed.
server/build/q-YWg4fP5u.css   3.68 kB
server/entry.ssr.js          18.62 kB
<EMAIL_ADDRESS>  21.16 kB
server/q-SuYaUqWW.js         84.01 kB
✓ built in 6.25s

Starting Qwik City SSG...
Missing client manifest, loading symbols in the client might 404. Please ensure the client build has run and generated the manifest for the server build.

Then three errors occur:
Error during SSG
Oe is not iterable (cannot read property Symbol(Symbol.iterator))
  Pathname: /
  Plugin: qwik-ssg
  File: /workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17552
[...]
  13 |      This is because the routeLoader$ was not exported in a 'layout.tsx' or 'index.tsx' file of the existing route.
      at V$ (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17552)
      at AsyncFunction.J$ (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17985)
      at AsyncFunction.Mi (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:10:5865)
      at AsyncFunction.B (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:10:5799)
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:10530
      at R (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:7:1604)
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:10399
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:8:4723
      at De (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:7:1524)
      at we (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:8:4716)
dist/index.html
Missing client manifest, loading symbols in the client might 404. Please ensure the client build has run and generated the manifest for the server build.
Missing client manifest, loading symbols in the client might 404. Please ensure the client build has run and generated the manifest for the server build.

Error during SSG
Oe is not iterable (cannot read property Symbol(Symbol.iterator))
  Pathname: /demo/flower/
  Plugin: qwik-ssg
  File: /workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17552
[...]
  12 |  Action.run() can only be called on the browser, for example when a user clicks a button, or submits a form.`)},Al=(t,...e)=>{const{id:n,validators:s}=ir(e,t);function o(){const r=sl(),i=rl(),c={actionPath:`?${X$}=${n}`,isRunning:!1,status:void 0,value:void 0,formData:void 0},$=jt(()=>{const a=i.value;if(a&&(a==null?void 0:a.id)===n){const f=a.data;if(f instanceof FormData&&(c.formData=f),a.output){const{status:p,result:m}=a.output;c.status=p,c.value=m}}return c}),l=lt(ul,"s_A5bZC7WO00A",[i,n,r,$]);return c.submit=l,$}return o.__brand="server_action",o.__validators=s,o.__qrl=t,o.__id=n,Object.freeze(o),o},ql=(t,...e)=>{const{id:n,validators:s}=ir(e,t);function o(){return Jt(jo,r=>{if(!(n in r))throw new Error(`routeLoader$ "${t.getSymbol()}" was invoked in a route where it was not declared.
  13 |      This is because the routeLoader$ was not exported in a 'layout.tsx' or 'index.tsx' file of the existing route.
      at V$ (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17552)
      at AsyncFunction.J$ (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17985)
      at AsyncFunction.Mi (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:10:5865)
      at AsyncFunction.B (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:10:5799)
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:10530
      at R (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:7:1604)
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:10399
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:8:4723
      at De (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:7:1524)
      at we (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:8:4716)
dist/demo/flower/index.html

Error during SSG
Oe is not iterable (cannot read property Symbol(Symbol.iterator))
  Pathname: /demo/todolist/
  Plugin: qwik-ssg
  File: /workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17552
[...]
  12 |  Action.run() can only be called on the browser, for example when a user clicks a button, or submits a form.`)},Al=(t,...e)=>{const{id:n,validators:s}=ir(e,t);function o(){const r=sl(),i=rl(),c={actionPath:`?${X$}=${n}`,isRunning:!1,status:void 0,value:void 0,formData:void 0},$=jt(()=>{const a=i.value;if(a&&(a==null?void 0:a.id)===n){const f=a.data;if(f instanceof FormData&&(c.formData=f),a.output){const{status:p,result:m}=a.output;c.status=p,c.value=m}}return c}),l=lt(ul,"s_A5bZC7WO00A",[i,n,r,$]);return c.submit=l,$}return o.__brand="server_action",o.__validators=s,o.__qrl=t,o.__id=n,Object.freeze(o),o},ql=(t,...e)=>{const{id:n,validators:s}=ir(e,t);function o(){return Jt(jo,r=>{if(!(n in r))throw new Error(`routeLoader$ "${t.getSymbol()}" was invoked in a route where it was not declared.
  13 |      This is because the routeLoader$ was not exported in a 'layout.tsx' or 'index.tsx' file of the existing route.
      at V$ (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17552)
      at AsyncFunction.J$ (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:17985)
      at AsyncFunction.Mi (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:10:5865)
      at AsyncFunction.B (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:10:5799)
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:10530
      at R (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:7:1604)
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:11:10399
      at file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:8:4723
      at De (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:7:1524)
      at we (file:///workspaces/qwik-ssg-test/server/q-SuYaUqWW.js:8:4716)
dist/demo/todolist/index.html
error during build:
undefined

If done the same steps with selecting Empty Project, only the third error will occur.
Reproduction
https://github.com/wtho/qwik-ssg-test
Steps to reproduce

Create fresh qwik project

$ npm create qwik@latest

> Where would you like to create your new project?
./

> Select a starter
Basic App (Qwik City + Qwik)

> Would you like to install npm dependencies?
Yes

Add SSG as described in docs

$ npm run qwik add static

> Ready to apply the static updates to your app?
Yes looks good, finish update!

Run the build and the errors will come in

$ npm run build.server

System Info
Used codespaces. `npx envinfo` output:

  System:
    OS: Linux 6.2 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (2) x64 AMD EPYC 7763 64-Core Processor
    Memory: 5.98 GB / 7.74 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 20.12.1 - ~/nvm/current/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 10.5.0 - ~/nvm/current/bin/npm
    pnpm: 8.15.6 - ~/nvm/current/bin/pnpm
  npmPackages:
    @builder.io/qwik: ^1.5.2 => 1.5.2
    @builder.io/qwik-city: ^1.5.2 => 1.5.2
    undici: * => 6.13.0
    vite: ^5.1.6 => 5.2.8

### Additional Information

_No response_

Like the error says, you need to run npm run build.client first or just run build which does both.

@wmertens Yes! That's it! Thanks!
Wouldn't have thought my error-message reading skills have degraded so much 😭😭


tsm.bad files after restart and .tsm missing

Just noticed that about a month worth of data is missing from one of databases.

Running on Raspberry Pi 4 4GB
Raspbian GNU/Linux 10 (buster)
InfluxDB shell version: 1.6.4
Shards are there:
id  database   retention_policy shard_group start_time           end_time             expiry_time          owners
--  --------   ---------------- ----------- ----------           --------             -----------          ------
356 smartshunt autogen          356         2021-11-08T00:00:00Z 2021-11-15T00:00:00Z 2021-11-15T00:00:00Z
360 smartshunt autogen          360         2021-11-15T00:00:00Z 2021-11-22T00:00:00Z 2021-11-22T00:00:00Z
370 smartshunt autogen          370         2021-11-22T00:00:00Z 2021-11-29T00:00:00Z 2021-11-29T00:00:00Z
380 smartshunt autogen          380         2021-11-29T00:00:00Z 2021-12-06T00:00:00Z 2021-12-06T00:00:00Z
390 smartshunt autogen          390         2021-12-06T00:00:00Z 2021-12-13T00:00:00Z 2021-12-13T00:00:00Z
400 smartshunt autogen          400         2021-12-13T00:00:00Z 2021-12-20T00:00:00Z 2021-12-20T00:00:00Z
410 smartshunt autogen          410         2021-12-20T00:00:00Z 2021-12-27T00:00:00Z 2021-12-27T00:00:00Z
420 smartshunt autogen          420         2021-12-27T00:00:00Z 2022-01-03T00:00:00Z 2022-01-03T00:00:00Z
430 smartshunt autogen          430         2022-01-03T00:00:00Z 2022-01-10T00:00:00Z 2022-01-10T00:00:00Z
440 smartshunt autogen          440         2022-01-10T00:00:00Z 2022-01-17T00:00:00Z 2022-01-17T00:00:00Z
450 smartshunt autogen          450         2022-01-17T00:00:00Z 2022-01-24T00:00:00Z 2022-01-24T00:00:00Z
460 smartshunt autogen          460         2022-01-24T00:00:00Z 2022-01-31T00:00:00Z 2022-01-31T00:00:00Z
470 smartshunt autogen          470         2022-01-31T00:00:00Z 2022-02-07T00:00:00Z 2022-02-07T00:00:00Z
480 smartshunt autogen          480         2022-02-07T00:00:00Z 2022-02-14T00:00:00Z 2022-02-14T00:00:00Z
490 smartshunt autogen          490         2022-02-14T00:00:00Z 2022-02-21T00:00:00Z 2022-02-21T00:00:00Z
500 smartshunt autogen          500         2022-02-21T00:00:00Z 2022-02-28T00:00:00Z 2022-02-28T00:00:00Z
510 smartshunt autogen          510         2022-02-28T00:00:00Z 2022-03-07T00:00:00Z 2022-03-07T00:00:00Z
520 smartshunt autogen          520         2022-03-07T00:00:00Z 2022-03-14T00:00:00Z 2022-03-14T00:00:00Z
530 smartshunt autogen          530         2022-03-14T00:00:00Z 2022-03-21T00:00:00Z 2022-03-21T00:00:00Z
540 smartshunt autogen          540         2022-03-21T00:00:00Z 2022-03-28T00:00:00Z 2022-03-28T00:00:00Z
550 smartshunt autogen          550         2022-03-28T00:00:00Z 2022-04-04T00:00:00Z 2022-04-04T00:00:00Z
560 smartshunt autogen          560         2022-04-04T00:00:00Z 2022-04-11T00:00:00Z 2022-04-11T00:00:00Z
570 smartshunt autogen          570         2022-04-11T00:00:00Z 2022-04-18T00:00:00Z 2022-04-18T00:00:00Z

But went to files directly it was like that:
-rw-r--r--  1 influxdb influxdb 15667654 Mar 20 23:10 000000003-000000002.tsm.bad
-rw-r--r--  1 influxdb influxdb      109 Apr 11 10:19 fields.idx

Also went from inmem to tsi1 but  no luck.
Any way to fix it?
Originally posted by @jeronimo in https://github.com/influxdata/influxdb/issues/14180#issuecomment-1095209544

Hello, has the problem of .tsm.bad been solved?

I've just had a very similar problem, with months of data missing and lots of tsm.bad files.  Very similar setup to jxder.  Any way to get the data back?

Any news on this issue? I seem to have the come across the same problem. Shards get missing apparently randomly, some are as old as 2 years, some just a few days. Renaming the *.tsm.bad files back to *.tsm sometimes helps, but then other shards are gone after restarting influxdb. I had influx running for ~2.5 years without this issue and now it suddenly started.

This might be related to 1.x 32bit issue - https://community.influxdata.com/t/regular-issues-compacting-tsi-files-very-high-load-cannot-allocate-memory/22206
Gave up and installed clean 2.x 64bit version.


Support for Bamboo 5.12

Hey,
will it be possible to use the plugin with Bamboo 5.12 or were there too many changes?
Thx in advance,
Susi

Hi Susi,
I haven't tested the latest release against 5.12. We just provided support for 5.8-5.10. We've had requests for ports to 5.11 and 5.12, but so for nobody has requested official support (provided funding) for us to port. We usually upgrade when there's a need internally or upon customer request. You are more than welcome to inquire regarding support if you need something right away. You are always welcome to make a pull request as well if you would like to provide the update. Otherwise, we usually cycle around the end of the year and upgrade internally and release.

Hey,
thanks for replying. We are an Open Source project so we know about funding needs ;) If you want you can contact me via email and send me a quote / how many funds you'd need to upgrade to 5.12.
Susi

Hi Susi,
We appreciate the support. I'll forward along a quote via email. Let me know if you have any further questions.
Thanks!

Hi,
Do you have any plan to extend support to latest bamboo version?
Thanks!
Marco

@onepremise do you know if there was any changes that could break support in 5.12 ?

Hi jurek7, I haven't tested a 5.12 deployment yet, so I can't really answer. I can say we've had some luck in the past deploying to the next release without having to update, but 5.10.3 to 5.12 might be to big of a jump. I would expect some minor regressions, but you are certainly welcome to try and let us know. You're welcome to inquire houghtonassociates.com for paid support at<EMAIL_ADDRESS>if you need something immediately. Otherwise, we also accept pull requests if you would like to update the plugin to support 5.12 yourself.


Install mina binary before calling it in the version linter

This PR fixes a bug where the current berkeley attempts to run the mina binary, even though it is not installed.

!ci-build-me

!ci-build-me

Wouldn't it be better to provide this logic in dump-mina-type-shape.sh ?

IMO no. The dump shape script should dump the shapes, and the version linter should lint the types. Moving stuff around to avoid a package install is anti-architectural.

!ci-build-me

!approved-for-mainnet


SQL queries not ordered correctly w/ MySQL as db backend

In https://github.com/django-silk/silk/blob/master/silk/views/sql.py#L23 the queries are ordered by start_time, which on mysql is defined as start_time datetime DEFAULT NULL.
Datetime without further specification has no microsecond precision in MySQL. As a result, the queries do not order correctly.
In our fork, I implemented a quick hack to address this by using the auto incrementing primary key for ordering.
I'm not sure what the level of MySQL support is and if this sort of change is a good idea for other platforms. Therefore not opening a PR, just opening this issue to track the bug.

@chrono You PostgreSQL & MySQL both seem to be the generally supported. The community around django-silk tend to use Postgres more than MySQL.
You are more than welcome to make a PR to address the start_time issue. If this could create breaking behavior then I can release it as a minor or major version.


Remove jest-jasmine2 from jest-cli.

Summary
Drops jest-jasmine2 from jest-cli. It doesn't seem to be used there, or be a peerDependency.

Test plan
Nothing should change.

This one is actually necessary; jest-jasmine2 is bundled by default with Jest but not loaded directly (loaded through require(config.testRunner).

Sorry about that.  Is is the same case with jest-environment-jsdom?

Yes, and jest-environment-node.