Notice: unserialize(): Error at offset 0 of 2 bytes in /opt/phpci/PHPCI/Model/Project.php line 100

Hello,
Here is the steps to reproduce:

create a Remote URL project
save
build
re-open the project settings
set the type to GitLab and URL to<EMAIL_ADDRESS>save

The screen shows the following message:
PHPCI
Sorry, there was a problem
Notice: unserialize(): Error at offset 0 of 2 bytes in /opt/phpci/PHPCI/Model/Project.php line 100

If i do these steps I can regain access to the proper view:
update project set type = "remote" where id = 1;
There seems to be an issue when handling the GitLab type

Notice: unserialize(): Error at offset 0 of 2 bytes in /usr/share/nginx/html/phpci/PHPCI/Model/Project.php line 100
Same issue.

same problem today
Notice: unserialize(): Error at offset 0 of 2 bytes in /www/hosted-phpci/releases/20160427152035/PHPCI/Model/Project.php line 100

Anyone know how to resolve this problem?
What is the cause?

Apparently it has been fixed on May 28th by @timhovius . You might need to locate the push and pull the required files.

Any news? I have tried @timhovius fixes, but no luck. I can view project's page, but when building it, it gives me:
E_NOTICE: unserialize(): Error at offset 0 of 2 bytes
Exception: Notice: unserialize(): Error at offset 0 of 2 bytes in /home/dev/web/phpci.dev.nextidea.com.br/public_html/PHPCI/Model/Project.php line 100
E_WARNING: array_key_exists() expects parameter 2 to be array, null given
Finished processing builds.


feat: defer running of typewriter effect until page is loaded

Description

Defer running of typewriter effect until page is loaded
How has this been tested?

Preview the typewriter effect

Types of changes

[x] New feature - feat
[ ] Bug fix - fix
[ ] Refactor - refactor
[ ] Test - test
[ ] Other(s):

Remarks

N/A

/rebase

/rebase


Column quoting behavior. read-csv vs read-csv-supplier

Hi ! I've had a minor issue parsing column headers out of a CSV file (which I admit, has some columns which are unnecessarily double quoted) and I'd just like to know if the following is expected:

Reading a simple string:

(ch/read-csv "\"ID\",\"Name\"")
=> (["ID" "Name"]) ;; This is fine, wrapped in a seq or otherwise

Reading the following contents out of a CSV file:

# contents of debug.csv
"ID","Name"

(def supp (ch/read-csv-supplier (io/resource "csv/debug.csv")))
(.get supp)
=> ["\"ID\"" "Name"]

Why are (only) the first column's double quotes escaped ? It seems like the :quote option being \" by default is working well for the rest of the columns, just not the first one.

That is a great question - we are going to track it down.

It is indeed an issue with the BOM !! Thanks for the tip. I also couldn't reproduce the issue with a new file created with Emacs. The differences (debug.csv being the one with BOM and debug2.csv the one without):
$ file debug.csv
debug.csv: Unicode text, UTF-8 (with BOM) text, with no line terminators

vs
$ file debug2.csv
debug2.csv: ASCII text, with no line terminators

And the binary output of both:
$ hexdump -C debug.csv
00000000  ef bb bf 22 49 44 22 2c  22 4e 61 6d 65 22        |..."ID","Name"|
0000000e

vs
$ hexdump -C debug2.csv
00000000  22 49 44 22 2c 22 4e 61  6d 65 22                 |"ID","Name"|
0000000b


backport andrew ie changes

Convert the test example to non-anonymous lists
Support easily disabling subscriptions
Fix up helm tests

/lgtm


How about using the TFLiteSwift-Vision library on iOS lite examples

Hi, I'm an iOS developer, and I'm interested in projects using TensorFlow Lite on iOS.
First of all, thanks for the practical iOS TFLite example projects for each specific domain. It was really helpful to me.
Motivation
I usually have implemented various pre/post-processing for specific-domain on iOS in my free time. I found that there are duplication implementations(like pre-processing) between Vision example projects. So I made a library for the domain-specific implementation called TFLiteSwift-Vision, and I think other developers who want to use the common TFLite model on iOS can use it easily without copying a bunch of pre-processing codes into their projects.
Here[^1] is the detail of the motivation and library's goal, and the following is the part of the library.

Usage
// import the library
import TFLiteSwift_Vision

// initialize the vision interpreter
let options = TFLiteVisionInterpreter.Options(
  modelName: "mobilenet_v2_1.0_224",
  inputRankType: .bwhc, // if it is pytorch model, use `.bchw`
  normalization: .scaled(from: 0.0, to: 1.0)
)
var visionInterpreter = try? TFLiteVisionInterpreter(options: options)

// inference
guard let output: TFLiteFlatArray = try? self.visionInterpreter?.inference(with: uiImage)?.first
	else { fatalError("Cannot inference") }

// postprocess
let predictedIndex: Int = Int(output.argmax())
print("predicted index: \(predictedLabel)")

Benefit

As you can see in the PRs[^2], we can reduce the 80% average of pre-processing codes
Don't need to re-implement the general pre-processing
Generalized the pre-processing for Vision

Features

selectable input image type (UIImage, CVPixelBuffer, ..)
selectable bhwc sequence (.bwhc, .bcwh, .bwh, .bhw)
selectable color or gray option (channel of the input)
selectable normalization method (.scale(from:0.0, to:0.0), .meanStd(mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225]))
selectable resizing options (.scaleFill, .squareAspectFill, .customAspectFill(rect: CGRect))
automatically setup the input size and input type after loading the tflite model
supporting some input output types (Float32, UInt8 (for quantization)

Applying TFLiteSwift-Vision to other tensorflow/examples' iOS projects

domain
example name
iOS link
✅
PR
assignee
note

Vision
image_classification
README
✅
#26
@Seonghun23@tucan9389

Vision
digit_classifier
README
✅
#32
@tucan9389

Vision
gesture_classification
README
.
.
@tucan9389
cannot find tflite model

Vision
image_segmentation
README
✅
#40
@tucan9389

Vision
object_detection
README
✅
#22
@tucan9389

Vision
posenet
README
✅
#23
@tucan9389

Vision
style_transfer
README
✅
#30
@tucan9389

Vision
optical_character_recognition

Vision
pose_estimation
README
.
.
@tucan9389
the project was broken (21.09.13)

I don't know that TensorFlow Lite's goal and the TFLiteSwift-Vision library's goal are aligned, but I want to try and suggest the library into the tensorflow/examples community. And if I can, I want to try to contribute to this repo because the repo helped me a lot.
Thanks for reading. And If anyone has comments or feedback for the library, please let me know.
[^1]: [#3 issue] The reason why am I making TFLiteSwift-Vision
[^2]: [#17 issue]Support tensorflow/examples's lite/ios examples

cc/ @lu-wang-g

Hi @tucan9389
Sorry for the delayed response and thanks a lot for the contribution.
As an iOS wrapper like TFLiteSwift-Vision requires non-trivial maintenance effort in the future to adapt to changes in every new iOS releases, I don't think TFLite team currently has iOS engineering bandwidth to turn this into an official TFLite product. Therefore, I'd suggest you to continue keeping this as a community project, and host the samples in your TFLiteSwift-Vision repo.
I think there're several ways to get more TFLite iOS users to know about this library:

awesome-tensorflow-lite repo: You can send a pull request to add a link to TFLiteSwift-Vision in this repo.
Apply to the TF Community Spotlight program. If accepted, it will be highlighted in a tweet from the official TensorFlow account.

Besides, we are also working on a TFLite Vision Task APIs for iOS (code). It will be similar to the Task APIs on Android. Therefore, I'd recommend you to focus on image processing features (Normalization, Cropping etc.) that are currently available in the TFLite Support Library, rather than the use case based (image classification/object detection etc.) Task Library. With that, there will be a less overlap between TFLiteSwift-Vision and the official TFLite Task API for iOS, hence bringing more value to TFLite's iOS users.

TFL_NewModel(const void* model_data,
size_t model_size)
What should I do to load this method
    var data =  try! Data.init(contentsOf: URL.init(fileURLWithPath: modelPath))
    let bytes = [UInt8](data)

I had try to do this , but it crash


Sense Hat Diagram - locating I2C bus on test pads

I'm looking for the diagram of the sense hat, I would like to identify the test pads (under the board) associated with the I2C bus (if any).
I would like to add an I2C clock on it...
Someone could help in identifying the pads... or to locate the board diagram?
thanks

The full schematic is available here here:
https://www.raspberrypi.org/wp-content/uploads/2015/08/Sense-HAT-V1_0.pdf
https://github.com/raspberrypi/documentation/tree/master/hardware/sense-hat


Stop using per-namespace Policies, send to next-tier.

This allows users to configure the default behavior for a namespace using calicoctl profile commands, as well as install their own policies out of band of Kubernetes in a tier after the k8s policy tier.

LGTM


ReorderableList tag doesn't work on model classes

As the title says, I found that the tag ReorderableList is not working on non-primitive data types (on serialized model classes). Was that by design?

Whoops, sorry. I just saw that there's an older and still open ticket regarding this very same issue. https://github.com/dbrizov/NaughtyAttributes/issues/57
I'll just close this one. :)


scaling down to min replicas on deployment

Please provide us with the following information:

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
We're seeing unexpected behavior during deployments.
We are running in single revision mode on a minimum of 2 replicas with CPU based auto scaling enabled.
Deployments are done using azure cli command ´az containerapp revision copy´ where we update the image.
This works great for us as our system is used primarily during office hours, we scale out as needed and then back down to 2 replicas during nights and weekends.
As seen in the screenshots below this api is running on 7 replicas when a new version is deployed.
All traffic is routed to the new version at 9:36:45 but only on 2 replicas.
After almost 2 minutes we get 2 more replicas and after yet another 30 seconds we get 4 more.
Our assumptions were that the new version would continue on the same number of replicas as the previous version, but it looks like the scale state is lost on each deployment. This leads to lousy response times for a few minutes on each deploy as the new replicas are bombarded with traffic until they are scaled out again.
Is this the expected behavior?
These screenshots are from app insights during a deployment, they are all per second.
Requests per application version

Requests per replica

Replicas per application version

These screenshots are from azure metrics, slightly wider timeframe and per minute.
Average CPU per replica

Requests per replica

I found this reply from @ahmelsayed in another issue

Correct, each revision has its own scale meters/counters. The http counters are not inherent or shared between revisions, so it'll go through its own scaling flow. I agree that it'd work better if the new revisions come up with the scale counters of the previous revision

That comment refers to http counters but is it the same for cpu as well, I'm guessing it is?
You seem to agree that this is problematic, for us it's a blocker, is this on your roadmap to fix?

Hi Jonahs, thanks for bringing this issue up. I haven't seen this on our roadmap, but @ahmelsayed do you know anything?

Any feedback here would be greatly appreciated, this is a major blocker for us to start using container apps.
Ping @SophCarp, @ahmelsayed, @anthonychu, @BigMorty.

Hi @JonasSamuelsson thanks for your patience. We've made a made a work item for this issue (# 17577362) and the team is discussing how best to solve this issue.

Can confirm that this behaviour is surprising and also quite impactful on QoS for users of the app.
In my case the previous revision is running 20-30 replicas and then when a new deployment is made all traffic is diverted to to the sole replica of the new revision.
Given how awfully slow the replica scaling strategy is, traffic and latency doesn't recover for a very long time (6 minutes in my case)!
Having the ability to ensure new revisions start with the same number of replicas as the currently running revision would be very high on my list of "must haves" before comfortably putting real traffic through Container Apps.

Thanks for pinging on this agian, I have started a discussion with the team about it.
I understand how going from 20-30 replicas to 1 could impact an app, is setting your min replica count something you could do to help in the meantime?
Also, what are the scaling rule(s) you are using for your app?

We are working on a fix. ETA: May 2023.

Cloud Run has recently implemented this capability: https://cloud.google.com/run/docs/release-notes#April_10_2023

When deploying a new revision, Cloud Run now starts enough instances of the new revision before directing traffic to it. This reduces the impact of new revision deployments on request latencies, notably when serving high levels of traffic.

Interesting they don't say what they do about quotas or maxScale. I've seen customer set maxScale to the exact number of licenses they have and scaling beyond that number will have serious impact.

@torosent Any update on the state of this?

Hi. It's still being worked on but I don't have an ETA yet.

Ok, is there a new ETA?

Hi, any progress on this?

Do you have any status update on this?
Ping @torosent, @BigMorty, @anthonychu, @SophCarp.

Hi. This is fixed and rolled out to all regions.


fix: bug 1665 - check value length inside ENTER handler too

We were trapping long input values on the button handlers, but not Enter. Now check on keydown events as well

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ran Dotnet format

Description
Ran dotnet format.
Checklist

[ ] I discussed this pull request with Ultima or another developer before opening.
[x ] I read the contributing guidelines.
[ x] The changes in this pull request are tested.
[x ] The changes in this pull request build(dotnet build -c Release /warnaserror) with no errors.

Dotnet format was ran on the most recent push to Github, my fault.


feat: 1392 - added "select all" and "select none" actions for product lists

What

Added the "select all" and "select none" options for product list in multi-select mode.

Screenshots

none selected
all selected

Part of

#1392

Impacted files:

app_en.arb: added 3 labels (2 new actions, 1 previously not localized)
product_list_item_popup_items.dart: added 2 actions; minor refactoring
product_list_page.dart: added 2 actions

Codecov Report
Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 7.02%. Comparing base (4d9c7fc) to head (575e479).
Report is 466 commits behind head on develop.

Files with missing lines
Patch %
Lines

.../product/common/product_list_item_popup_items.dart
0.00%
11 Missing :warning:

...pp/lib/pages/product/common/product_list_page.dart
0.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5842      +/-   ##
==========================================
- Coverage     9.54%   7.02%   -2.53%
==========================================
  Files          325     415      +90
  Lines        16411   22767    +6356
==========================================
+ Hits          1567    1599      +32
- Misses       14844   21168    +6324

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

@monsieurtanuki Can you add "$s selected products", instead of just the number of selected products?

We have an unselected icon available in material symbols

We have an unselected icon available in material symbols

Initially I tried that one but it looked weird - like you're selecting a check box.
Can put it back, sure.

@teolemon Done.

None selected
All selected
One selected

Thank you @teolemon for your review!


README: highlight compilation instructions

It should be really easy to compile the Parameter Framework, so make it clear
how to compile and how to get help.
Signed-off-by: David Wagner<EMAIL_ADDRESS>

This pull request is now managed with CodeReviewHub. Refresh.


Scope not being applied

I installed and configured Landlord, and created a route to test if it was working. The use case is very simple: I have a User model and an Account model, where a User can have multiple Accounts. The Accounts table has a "user_id", and the Eloquent relationship is defined in both models as well.
// app/Http/routes.php
Route::get('test/{id}', function($id) {
    Landlord::addTenant('user_id', $id);

    return view('test')->with('accounts', App\Account::all());
});

// app/Account.php

namespace App;

use Illuminate\Database\Eloquent\Model;
use HipsterJazzbo\Landlord\BelongsToTenant;

class Account extends Model
{
    use BelongsToTenant;

    ...
}

When I access that route, I'm still getting the accounts for all the users. Debugbar shows the SQL query:
select * from `accounts`

Any ideas on what's missing?

I figured out from looking at other issues in the project that each model has to be configured with a protected $tenantColumns array or, alternatively, a default must be set by publishing the component's configuration file. I hadn't published that file and was unaware of the need to set that variable in each model, which is why it wasn't working.
I'd suggest adding this step to the documentation.


Unable to install plugin, throws 404 error presumably due to versioning issue

What happened?
When trying to install plugin Obsidian notifies with "Failed to install plugin 'Projects'".
Console shows that a Request failed, status 404 error is thrown.
Manually downloading and installing plugin works fine, with the caveat that Obsidian shows an update is available with version 1.16.1 despite most recent version on the repo being 1.16.0, as shown below. Attempt to update result in the same 404 error.

This suggests that Obsidian is looking for a version that doesn't exist, leading to the installation failure.
What did you expect to happen?
For the plugin to be installed/updated
How can we reproduce it (as minimally and precisely as possible)?
Steps to reproduce:

Open Obsidian
Ensure the Projects plugin isn't installed
Open Settings
Click on Community Plugins
Disable Restricted Mode
Search for the Projects plugin
Click on Install

Anything else we need to know?
Edited to add:
Seems caused by the version bump in the manifest from #617. Is this simply a matter of unfortunate timing on my part combined with a new release that's about to be released?
Plugin version
1.16.1
Obsidian version
1.3.5
OS
macOS

Thanks for reporting, I'm releasing right now and have yet to tag the release 😅

Haha, bad timing on my part it seems. I’ll close the issue.


和Bartender3貌似不兼容

装了小助手之后，图标没法隐藏了。Bartender中微信后面出现了黄色三角感叹号，提示：Bartender has not been able to control this Item.Please try restarting 微信.

me too


[Unsupported] Installing node-sass 4.9.3 on Node 12

NPM version (npm -v): 6.9.0
Node version (node -v): 10.16.3
Node Process (node -p process.versions):
{ http_parser: '2.8.0',
node: '10.16.3',
v8: '6.8.275.32-node.54',
uv: '1.28.0',
zlib: '1.2.11',
brotli: '1.0.7',
ares: '1.15.0',
modules: '64',
nghttp2: '1.39.2',
napi: '4',
openssl: '1.1.1c',
icu: '64.2',
unicode: '12.1',
cldr: '35.1',
tz: '2019a' }
Node Platform (node -p process.platform): linux
Node architecture (node -p process.arch): x64
node-sass version (node -p "require('node-sass').info"): throw new Error(errors.missingBinary());
npm node-sass versions (npm ls node-sass):
<EMAIL_ADDRESS>/home/apollinaire/PlatformCode
└──<EMAIL_ADDRESS>

Hello,
I'm trying to install meteor 1.10.2 who installs package<EMAIL_ADDRESS>who installs node-sass v4.9.3. I get the message
error: Command failed: /home/apollinaire/.meteor/packages/meteor-tool/.<IP_ADDRESS>ry7f.gueme++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm rebuild
--update-binary
Cannot download "https://github.com/sass/node-sass/releases/download/v4.9.3/linux-x64-72_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.

export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

If I go to https://github.com/sass/node-sass/releases?after=v4.12.0 in the 4.9.3 section, there is no 4.9.3 linux-x64-72
Do you know why, and how can this be solved ?
Thank you in advance !

Node 12 isn't supported by node-sass 4.9 https://github.com/sass/node-sass#node-version-support-policy

Sorry, I'm not very familiar with node etc, but the node version I have is
Node version (node -v): 10.16.3
Why have you tagged it ad node 12? Maybe it's me who haven't understood well :)
Thanks for you help

The "72" means it's running in a Node 12 environment. This is likely to do we meteor, but not something we can debug for you


TypeError: DiscordUnix._get_pipe_path() takes 0 positional arguments but 1 was given

  File "project_path/src/__main__.py", line 15, in main
    RPC = discordrpc.RPC.set_id(app_id=CLIENT_ID)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "project_path/.venv/lib/python3.11/site-packages/discordrpc/presence.py", line 33, in set_id
    return DiscordUnix(app_id)
           ^^^^^^^^^^^^^^^^^^^
  File "project_path/.venv/lib/python3.11/site-packages/discordrpc/presence.py", line 20, in __init__
    self._connect()
  File "project_path/.venv/lib/python3.11/site-packages/discordrpc/presence.py", line 218, in _connect
    pipe_path = self._get_pipe_path()
                ^^^^^^^^^^^^^^^^^^^^^
TypeError: DiscordUnix._get_pipe_path() takes 0 positional arguments but 1 was given

Try different version first, check whether the error is still the same

Same error, using example handbook, discordrpc version 4.0 Python 3.10 Ubuntu 22.04
Python 3.10 is listed as "supported" in https://pypi.org/project/discord-rpc/ from where I used the code.
NOT WHEEL.

Same error, using example handbook, discordrpc version 4.0 Python 3.10 Ubuntu 22.04

Linux-based OS has not been fully tested because I only tested it on a virtual machine and only some versions have been tested.

Python 3.10 is listed as "supported" in https://pypi.org/project/discord-rpc/ from where I used the code.

What I meant before was try a different version of Discord-RPC (maybe this is my fault for not providing a complete explanation). I'm sorry.

Proposed patch in #13

Thank you so much for your contributions. I will test the patch you provided as soon as possible. While waiting for the latest version update, you can try installing Discord-RPC using the repo that you have forked which already contains your patch and report to me if all functions (such as in the examples folder) run smoothly.

Proposed patch in #13

Thank you so much for your contributions. I will test the patch you provided as soon as possible. While waiting for the latest version update, you can try installing Discord-RPC using the repo that you have forked which already contains your patch and report to me if all functions (such as in the examples folder) run smoothly.

Yes, I tested it. And yes, it works.

Very great! Do all the functions work?
Also, Most likely I will release the latest version next week because I'm still busy right now.

Fixed on #13.


spinner and 15s added to map control

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] The code follows the code style and conventions of this project.
[ ] The change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

Description of the change
Spinner and 15s interval added to map control
...
Motivation for the change

...

@swetha571,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Import all external libraries on every sync

When building with jdk 10 compiler, bazel currently fails to include external dependencies in .jdeps files https://github.com/bazelbuild/bazel/issues/5723#issuecomment-437138252. Even with the bazel builder. The (not officially supported) vanilla builder doesn't even attempt to output dependencies in .jdeps files (https://github.com/bazelbuild/bazel/pull/6587).
This is a sledgehammer workaround of ignoring the working set and always including all external dependencies when importing a project (from https://github.com/bazelbuild/bazel/pull/6587#discussion_r232033852):

It might make more sense to just provide a way to disable the Intellij plugins' jdeps handling and use the full classpath.

The root cause of bazel failing to output dependencies to .jdeps files is known https://github.com/google/error-prone-javac/commit/9901a45ff63c1d7bc9263007147dc866272b7fdc so hopefully that fix will eventually find its way into bazel upstream. Making this hack temporary.

Cherry picked as https://github.com/uri-canva/intellij/commit/dce7e13a233ac30061691829fd4b4c6877bd4847 and pushed out with https://github.com/uri-canva/intellij/commit/1ae32c6170cc876eae8db1c6bcb310700785297b.


归档页面日志列表字体和整体大小、风格不一致

Problems(问题)
归档页面日志列表字体和整体大小、风格不一致，怎么改一下？

NexT Informations
Add the  ✔  sign before an item which is affected by this behavior.
NexT Version:

Master ✔
Latest Release
Old version -

NexT Scheme:

All schemes ✔
Muse
Mist
Pisces

Other Informations (Like Browser, System, Screenshots)

@wongxingjun dont understand u, write in English if not solved. If solved, close it please. Thank's!


fix(parser): allow line breaks between const and enum

https://www.typescriptlang.org/play/?ts=5.7.2#code/MYewdgzgLgUApmArgWwAQEFUG8C+Mg

.d.ts panel prints
declare const enum A {
}

Double confirmed with babel.

Your proposal isn't correct.
.d.ts panel prints
declare const enum A {
}

Double confirmed with babel in ast explorer.

Sorry I don't follow. Doesn't the .d.ts panel show that const (line break) enum is valid?

Your proposal isn't correct.
.d.ts panel prints
declare const enum A {
}

Double confirmed with babel in ast explorer.

Sorry I don't follow. Doesn't the .d.ts panel show that const (line break) enum is valid?

Oh sorry I confused myself.


Redo internal scheduling codes.

Never skip a job (removed concepts of 'epsilon' and 'scheduler
horizon')
Scheduler now has a simple pattern of sleeping until it's time to
execute a scheduled job, and queueing it at that time
Removed a bunch of apparently pointless code
Dropped concept af 'async' jobs

@brndnmtthws is there a ticket or something associated with this?

@Rob-Johnson
Hey Rob,
We have some internal JIRAs for these issues, but I'm not sure about here on GitHub. The tl;dr is that there are some known issues and limitations in how chronos does scheduling, and I feel the best way to resolve these issues is to fix the core scheduling code.
There's more work to come. This is still a work in progress. I can CC you on the follow up PRs if you'd like.

@brndnmtthws
That'd be good. I've been actively working on our fork at Yelp/chronos - such sweeping changes that come without warning make it difficult to make sure changes we make can be contributed back upstream. Saying that, It's promising that there is some effort being put into Chronos again.

As an update, we are no longer using Chronos at Yelp. We will be archiving our fork of Chronos.


Update cicd

Codecov Report
Patch and project coverage have no change.

Comparison is base (70ebc9a) 100.00% compared to head (60a45c2) 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##            master      #112   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           25        25
  Lines         2345      2344    -1
=========================================
- Hits          2345      2344    -1

see 1 file with indirect coverage changes

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


replace jquery-minicolors with coloris (#30055)

Backport #30055 by @silverwind
Get rid of one more jQuery dependant and have a nicer color picker as well.
Now there is only a single global color picker init because that is all that's necessary because the elements are present on the page when the init code runs. The init is slightly weird because the module only takes a selector instead of DOM elements directly.
The label modals now also perform form validation because previously it was possible to trigger a 500 error Color cannot be empty. by clearing out the color value on labels.

Is this backport necessary? Looks like it's not a bugfix.

I think it needs a clear roadmap about how to refactor. I ever wrote something in https://docs.gitea.com/contributing/guidelines-refactoring

Non-bug refactoring is preferred to be done at the beginning of a milestone, it would be easier to find problems before the release.

What I meant for at the beginning of a milestone is:

It should start at next milestone's beginning when the last release is overall stable (eg: after RC or after the first 1.22.1 or 1.22.2 with bug fixes)
It should start before the RC period, to avoid introduce unnecessary regressions.

However, since there are really a lot of frontend refactorings for 1.22 (especially when it was going into freezing time), so I think this time it is still better to merge some PRs back to 1.22, to make the future bug fixes easier to backport.

I think yes. We can backport some necessary to fix bugs easier but that needs case by case. I will not block this one if you think it's necessary.

I do think it's a necessary enhancement 😆

Can skip this one.


unable to setup independent setup via SSL

Description
In read.me described that user can independent setup and start reporting with https
https://github.com/zebrunner/reporting/blob/master/README.md
Steps to reproduce

git clone --recurse-submodule https://github.com/zebrunner/reporting.git && cd reporting && ./zebrunner.sh setup
Provide required details for https protocol
Start services ./zebrunner.sh start
https://hostname:port for secured protocol
Actual behavior reporting page is opened in browser  with https

**Expected behavior ** reporting page is not opened properly in browser  with https
[A clear and concise description of what you expected to happen.]

done. to test such scenarios should be tested:

http setup using CE
http setup of reporting independent
https setup using CE (only global nginx under ssl).
-> inside ./reporting/configuration/zebrunner-proxy/nginx.conf ssl related lines still commented!
https setup of reporting independent
-> inside ./configuration/zebrunner-proxy/nginx.conf ssl related lines uncommented! Also listen 80 ssl; declared

verified, fixed


could you make more detailed examples on AudioOutputStream and PullAudioOutputStream?

https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/f1b5a0eae885104b74ed8d8de98e8570aab3ab8d/quickstart/javascript/node/text-to-speech/index.js#L53
I suppose this demo here means adding the file path to the fourth arg
AudioOutputStream | PushAudioOutputStreamCallback | PathLike

The file output could be set at synthesizer level, which is shown in the demo codes
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/quickstart/javascript/node/text-to-speech/index.js#L23

And you can refer to this test case to see the usage of saving file of each synthesis request.


安装 依赖发生错误

启动
python crawler_booter.py --usage crawler
没有找到模块
[root@squid haipproxy-0.1]# python crawler_booter.py --usage crawler
Traceback (most recent call last):
File "crawler_booter.py", line 19, in
from scheduler import crawler_start
File "/root/haipproxy-0.1/scheduler/init.py", line 5, in
from .scheduler import (
File "/root/haipproxy-0.1/scheduler/scheduler.py", line 7, in
import click
ImportError: No module named 'click'
[root@squid haipproxy-0.1]#

pip install click 试试
如果用的是docker compose,那么就在requirements.txt中添加一行内容click==6.7

显示已经安装 程序找不到模块
[root@squid haipproxy-0.1]# pip install click
Requirement already satisfied: click in /usr/lib/python2.7/site-packages (6.7)
[root@squid haipproxy-0.1]# python crawler_booter.py --usage crawler
Traceback (most recent call last):
File "crawler_booter.py", line 19, in
from scheduler import crawler_start
File "/root/haipproxy-0.1/scheduler/init.py", line 5, in
from .scheduler import (
File "/root/haipproxy-0.1/scheduler/scheduler.py", line 7, in
import click
ImportError: No module named 'click'
[root@squid haipproxy-0.1]#

pip3 install click


Module path should be "github.com/JakeHL/Goid", not "github.com/jakehl/goid"

Background
Module path is inconsistent with go import path.
GO111MODULE=on, as doc said, import "github.com/JakeHL/Goid", then get this error:
go: finding module for package github.com/JakeHL/Goid
go: downloading github.com/JakeHL/Goid v1.1.0
go: found github.com/JakeHL/Goid in github.com/JakeHL/Goid v1.1.0
go: test1 imports
        github.com/JakeHL/Goid<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/jakehl/goid
                but was required as: github.com/JakeHL/Goid

Solution
Fix the module path:

Rename the module path to "github.com/JakeHL/Goid": https://github.com/JakeHL/Goid/blob/master/go.mod#L1

module github.com/JakeHL/Goid

Change the doc document to use import "github.com/jakehl/goid".

@JakeHL  Could you help me review this issue? Thx :p

More idiomatically, the repo path should be the lowercase version.

hey sorry, I've not touched this project in a little while and my go is a little Rusty. feel free to submit a PR or i can take a look later.

Hi @JakeHL thanks for considering the issue. Do you want it to go apply to the renamed repo, or to the existing non-idiomatic mixed-case repo name ?


Support .clang-tidy

.clang-tidy file is a great tool to have one, consistent place for all the checks - would be great if the action supported it out of the box.

This shouldn't be too difficult -- it might even work already!

according to the latest clang-tidy10 --help:
--config=<string>              -
                                   Specifies a configuration in YAML/JSON format:
                                     -config="{Checks: '*',
                                               CheckOptions: [{key: x,
                                                               value: y}]}"
                                   When the value is empty, clang-tidy will
                                   attempt to find a file named .clang-tidy for
                                   each source file in its parent directories.

So, maybe it could be made explicit by setting clang_tidy_checks input to a empty or zero-length string. I don't see the docs saying that the .clang-tidy file is automatically sought which kinda makes sense because it would collid with the -checks=  option.


[Performance] Reduce memory allocations for RCLCensorshipDetector

There should be no change in behavior for this PR.
The objective is to reduce the number of memory allocations and deallocations to perform the RCLCensorshipDetector test by replacing the internal map structure with a vector, and reduce O(N) complexity by customizing some algorithms.

I looked long and hard at the last commit.  This may have to do with me not being the sharpest tool in the bike shed, but I found the text of the code impossible to reason about in its current form.  I ended up replacing the std::pair<TxID, Sequence> with a small struct.  That struct replaced the name first with txid and second with seq.  Once I made that change I was able to reason about the code.
I'm now fairly confident the code is correct.  And, as you say, it is significantly more efficient.
I added an assert to the code and I've set that version running against the network.  If that assert does not fire in the next few hours my confidence that I understand the code will be further improved.  It's been running fine for a half an hour so far.
If you're curious you can view my changes, replacing pair with a custom struct, in the topmost commit here: https://github.com/scottschurr/rippled/commits/howard-CensorshiDetector.  Knowing that readability is in the eye of the beholder, I'm not gonna insist that this change be made.  But it sure helped me.
Still :+1:.

@nbougalis I'm working on a solution where the loop in propose is replaced by a generic algorithm: generalized_set_intersection and would look like:
        generalized_set_intersection(proposed.begin(), proposed.end(),
            tracker_.cbegin(), tracker_.cend(),
            [](auto& x, auto const& y)
            {
                x.seq = y.seq;
            },
            [](auto const& x, auto const& y)
            {
                return x.txid < y.txid;
            });
        tracker_ = std::move(proposed);

Similarly, check can be implemented in terms of remove_if_intersect_or_match:
        auto i = remove_if_intersect_or_match(tracker_.begin(), tracker_.end(),
                     accepted.begin(), accepted.end(),
                     [&pred](auto const& x) {return pred(x.txid, x.seq);},
                     [](auto const& x, auto const& y) {return x.txid < y;});
        tracker_.erase(i, tracker_.end());

I'm still working on the details of these algorithm.  But assuming the existence of these generic algorithms, is this a direction you could support?

Still :+1: from me.  Since you have the thumbs up from @nbougalis, it would be great to include some sort of unit tests for the new algorithms.  But that's not a requirement.  Thanks.


post /credentials

Hello guys.
I have a question regarding the POST /credentials request the mobile wallet sends to the agent.
I can see that a request with the following body example is sent
{
    "types": [
        "GuestCredential"
    ],
    "format": "jwt_vc_json",
    "proof": {
        "proof_type": "jwt",
        "jwt":"eyJ0eXAiOiJvcG..."
    }
}

And as a response the agent issues credential.
Any hint, where in the code are you generating the jwt (proof.jwt), are you using some library from the sphereon SDK for it?
I appreciate any help you can provide.

@ssi-vc-dev Hey! Hi! What are you trying to do exactly?
JWTs can be generated with any library as long as it supports the algorithm you want to use, Sphereon SDK has some utilities that can help. You could also use @web5/credentials.
Eventually you could also use more native libraries such as jose or even jsonwebtoken (altough I am not sure it supports the ones normally used for VCs)
If you are looking for a simple example, check this out. It is a PoC I am working on. Be patient or reach me out if you need help as It is not finished yet (no README at all).
Disclaimer:
I am not an Sphereon developer, but I am getting involved as I am diving into this subject!


How to use it?

Can you give an example how to use it?
i do
$formLogin->field($modelLogin, 'rememberMe')->checkbox(['class' => 'icheck'])
but no changes
Thank you

Found, class must be "i-check"

Hope, everything is ok now? :)
Please, reopen issue if not.


Implement outer/inner/right join logic when joining on a key

Currently only left join is implemented. This will make the join-on more consistent with its SQL counterparts

Inner join also now implemented. Need to broadly address SQL-style joins, there are several other issues


mvp

true

This issue used for marketing, see https://gist.github.com/brianzelip/34c7ae7fae90122c45d624fb20aa670b.


test(e2e): new E2E test scenarios (second iteration)

Closes #
Proposed Changes

Add new E2E test scenarios that cover the new flags & status codes.

Test Name
Description
Expected Output
Exit Status Code

E2E-CLI-017
KICS scan command with the -v (--verbose) flag should display additional informations in the CLI, such as 'Inspector initialized'...
match regex
50

E2E-CLI-018
KICS scan command with the --exclude-categories flag should not run queries that are part of the provided categories in this flag.
match regex
0, 40

E2E-CLI-019
KICS scan command with -p arguments as multiple paths should run a scan for all provided paths/files.
stdout
50

E2E-CLI-020
KICS scan command with the --exclude-categories flag should not run queries that are part of the provided categories in this flag.
stdout
0

E2E-CLI-021
KICS scan command  can returns different status code based in the scan results, for example: 0, 20, 30, 40, 50. This test will scan the same file (4 times) excluding different categories to get diferrent status code for each scan.
stdout
50, 40, 30, 0

E2E-CLI-022
KICS scan command with --profiling CPU and -v flags must display CPU usage in the CLI.
match regex
50

E2E-CLI-023
KICS scan command with --profiling MEM and -v flags must display Memory usage in the CLI.
match regex
50

I submit this contribution under the Apache-2.0 license.

@cxlucas and @rogeriopeixotocx where is the documentation about the outcomes errors codes? are them published to the clients?

Hi @rubensequeiracx, we can find this information here: https://docs.kics.io/develop/results


Cannot be used in the REPL

When trying the below example in the REPL, this error shows up:

<EMAIL_ADDRESS>(1:0): Expression expected (Note that you need plugins to import files that are not JavaScript)

<script>
	import { VirtualList } from 'svelte-virtuallists';

	const data = ['A', 'B', 'C', 'D', 'E', 'F' /* ... */];
</script>

<VirtualList class='mystyle' style='width:100%;height=600px' items={data}>
	{#snippet vl_slot({ index, item })}
		<div>
			Row: #{index} Item: {item}
		</div>
	{/snippet}
</VirtualList>

They modified Svelte 5 so packages now bundle TypeScript code instead of compiled JavaScript.
As a result, REPL will load the dependency and show an error because TypeScript is not installed.
A similar issue occurs when using PostCSS or related tools.
It's one of the reasons I remove the REPL example for the landing page...
If you know of an alternative, please share..

closing - not a bug, a REPL limitation at this point


Introspect-able update() (aka atomic map/reduce)

Atomic, introspective map
This is basically where you want to give 5 points to Gryffindor without using the Mongo native driver or writing a custom SQL query.
Currently you can take the approach of splitting the operation up into multiple queries.  This has two problems though: (1) it's slightly more inefficient and (2) you have to worry about transactions.
Here's how you'd do it today:

Note: this is not transactional, meaning Professor McGonagall could give 1000 more points to Gryffindor between the time you do the find()  and finish the save().  Basically, you'd overwrite all of Hermione's hard work with your 5 points.  You can see how this might have some unpleasant side effects in the real world.  See the proposed transaction spec for more information.

scary
House.findOneByName('Gryffindor').then(function (gryffindor) {
  if (!gryffindor) throw new Error('Uh oh, where\'d Gryiffindor go?');

  gryffindor.points += 5;
  gryffindor.save(function () {
    /* gryffindor now has 5 points more than it did when our findOne() call came back */
  });
});

BUT THATS NOT GOOD ENOUGH
better
With this approach, the operation is transactional, since it takes place in a single query.  This is good.
House.update({
  points: { '+' : [ 5 ] }
}).then(function () {
  /* 5 points have been added to gryffindor, no matter what */
})

Atomic, introspective reduce
One final example of using introspection, this time with a "reduce", and on a read operation rather than a write:
(i.e. { average: 'testScoreAverage' } )
// Students w/ a better-than-average test average
// (sorry for cheating w/ a cached average-- makes it easier to demonstrate)
Student.find({
  testScoreAverage: {
    '>' : { average: 'testScoreAverage' }
  }
})
.then(function () {
  /* 5 points have been added to gryffindor, no matter what */
})

Summary
We shouldn't focus on create declarative map/reduce functions for everything-- good transaction support is our catch-all.  Instead we should take care of the priority use-cases that we're resorting to native/raw SQL queries for today:
increment, decrement, batch create/update/destroy, and findOrCreate.
See:  https://github.com/balderdashy/waterline/issues/79

So is this in or not? it's unclear from this issue.


(#9): Add option for path

All PRs should be based on an issue
WHY?
See issue #9
WHAT?
Add option for path

[x] I have considered (and possibly added) tests
[x] I have updated the documentation

[Optional] Resolves #9

Coverage decreased (-2.06%) to 28.889% when pulling 9b52d056870f2d9e050a4c057accf1736a786ecd on feautre/path into c674972331372d81af42834964084ae249f56217 on master.

Coverage decreased (-2.06%) to 28.889% when pulling 73d7344fc5fe894a81a7cd31656e3e12df225664 on feautre/path into c674972331372d81af42834964084ae249f56217 on master.


Network_spec is not memoized anymore through let call

spec/integration/drs_rules_spec failed due to IP conflict that emerged
due to memoized network_spec. This caused duplicate IP in integration
tests vms.
New function call randomizes IP every time.
Still there are slim chances (1/(255*255)) of IP collision. To make
it truly collision free , we can maintain an IP pool per "it" block and use
this pool to get new IP from get_network_spec

Forward : Slack Discussion
I assume there must be an async call at some point in CPI code to vcenter to create a VM. So when vms are being created/powered on , they don’t have a IP yet. If I run query vm = @client.find_vm_by_ip(ip) in ip_conflict_detector.rb , it will return no vm as they are all in process of being powered on and that IP might not exist yet.
===> If all of this happens slowly IP conflicts are not detected,
===> But, if a testbed is fast and vms spawn quickly , this call query vm = @client.find_vm_by_ip(ip) in ip_conflict_detector.rb will start returning conflicting ip address vms
In nutshell , if  a testbed is slow we can quickly create vms with same IP address without ipconflict finding function ever getting to notice it.

Seems fine to me for now. Eventually I’d prefer this just be called network_spec with all of the unnecessary let(:network_spec)s removed. This is a good step in that direction.


ignite-cli: 28.3.0 -> 28.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ignite/cli/releases.
meta.description for ignite-cli is: All-in-one platform to build, launch, and maintain any crypto application on a sovereign and secured blockchain
meta.homepage for ignite-cli is: https://ignite.com/
meta.changelog for ignite-cli is: https://github.com/ignite/cli/releases/tag/v28.4.0
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 28.4.0 in filename of file in /nix/store/wz40ndsncd5n5nkj4myjq65w3hi7gy6i-ignite-cli-28.4.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

ignite-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wz40ndsncd5n5nkj4myjq65w3hi7gy6i-ignite-cli-28.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ignite-cli https://github.com/r-ryantm/nixpkgs/archive/51f04e6de0f6df0f6af47c35a242bcc96f612c8e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/51f04e6de0f6df0f6af47c35a242bcc96f612c8e#ignite-cli

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wz40ndsncd5n5nkj4myjq65w3hi7gy6i-ignite-cli-28.4.0
ls -la /nix/store/wz40ndsncd5n5nkj4myjq65w3hi7gy6i-ignite-cli-28.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

ignite-cli

Maintainer pings
cc @kashw2 for testing.

@NixOS/nixpkgs-merge-bot merge


Request - Triger notification when/if service get back online

Triger notification when/if service get back online is missing. Can`t find it.
would be nice if we get notification if it only was a "bug". "Like Uptime K have"
Love the "all in one" app you are making <3

I think its should be work fine.

can you give me more context about it?
ofcourse if you restart tianji manual, its will lost some data, because server status is saved in memory yet.

I also experience no "going back online" notifications.

looks weird, just for question, did you config any notification and assign to a monitor?

Yes, I have attached notification (webhook) to the service.

did you run test command before you real use it?
BTW, now up/down status is save in memory. so if we restart tianji, status will be lost


PWA File System Support

Add PWA File System API and fallback for non compatible browser like firefox.
This ponyfill seems a great solution

A bit difficult to implemant, and a bit useless

I don't really understand what you would like to implement and why. Maybe it is (unfortunately) a bit useless?


Refactor Gaia requests to utilize react-blockstack useFile

Summary
As mentioned in #299 by @njordhov - we want our applications to be as reactive as possible. We should use the useFile() function in react-blockstack to allow for that. We need to update any puts/gets to Gaia to utilize useFile()
Motivation
We want our code to be reactive, and useFile() allows for a familiar interaction with Gaia.
Describe alternatives you've considered
Continuing to just use put/get

I’ll do this as part of #298

would like some help on this if anyone is up to pair programming with me!

Closing - while this is going to be good for a long-term change, it's come to the point where using solely react-blockstack or majority react-blockstack for at least the near term may slow our dev process, as we're moving towards a release of 4/15.
We may have another new issue for this opened up down the line.


Move to ruff for linting

Thanks @samuelcolvin and @hramezani! Ping whenever you have requests or run into issues. Happy to do custom work to support Pydantic as an early adopter!


Next step in connecting libdispatch and foundation builds

Three small changes for building libdispatch and foundation together.
(1) Put libdispatch into PRODUCTS before foundation
(2) Pass path to swift down into libdispatch build
(3) Pass paths to libdispatch down into foundation build

LGTM modulo the SDK comment.

changed to --with-swift-toolchain & squashed

@swift-ci Please test

@swift-ci Please test

Awesome work, @dgrove-oss. Very excited to see this happen.
On a related note, I'm expecting to make a similar change soon that establishes a dependency between XCTest and Foundation. The pull request that will introduce the dependency is https://github.com/apple/swift-corelibs-xctest/pull/43, the corresponding change to the build script is https://github.com/modocache/swift/commit/a17c05b630b472a410a2b3a525c9878998c84ce1. Just a heads up!

LGTM.  I'm currently cherry-picking this commit into my binaries.
This is amazing, SO excited to have dispatch on Linux.

@gribozavr.  Hi, just pinging to see if this could be merged.  Looks like CI tests passed. Thanks!

@dgrove-oss Sorry for the delay!


fix: function parameter and argument separator parsing

Fix parsing of parameters and argument separator parsing by restricting usage to comma and new line
Should close https://github.com/SerenityOS/jakt/issues/966
Would like to hear points on:
https://github.com/feniljain/jakt/blob/f3bc872739fb3a165bd5c30ae0c8d062e6e9af1b/selfhost/parser.jakt#L1465-L1472

I have tried to add appropriate testcases, if you feel something's wrong, do point out!

Hello!
One or more of the commit messages in this PR do not match the Jakt code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

Just to be clear, I'm saying we should not restrict it to only comma and newline. A space should also be okay.

Oh, I misunderstood it the first time. Then I guess these changes are not needed so I will close this PR.


[Signshop] Signshops unlinked after server restart [Nether]

Describe the bug
Signshop at Nether will unlink at every restart or server crash.
To Reproduce
Steps to reproduce the behavior:

Build Signshop at Nether but not overworld
wait for server restart or server crash
Signshop unlinked.

Expected behavior
Every Signshop at nether will unlink chest
Username:
NoobJeffy
Server name (all applicable):
Atlas

closing as many signshops are now invalidated after reset and a fresh database is up.


gnu(8100)=2347

This took 1343.132 seconds to compute.

Thank you for submitting new gnu(n). We will recalculate it and add to the database if we get the same result.
Checklist for the reviewer:

[ ] reviewed checked and assigned labels "new (n<50000)" or "recomputation", if needed
[ ] reproducible value of gnu(n)
[ ] no essential runtime differences
[ ] correct arguments of command to store data
[ ] correct location of new line(s) in the data file
[ ] sufficient level of technical details
[ ] reviewed has assigned label "validated" after successful review

gnu(8100)=2347
GAP      4.8.3
GrpConst 2.5
Runtime: 939169 ms
Isomorphic groups eliminated
Validated on Linux server (AMD Opteron 6376 1400 MHz processor, 512 GB RAM)


Remove first paging iteration

This PR is removing the first iteration of paging, which was introduced in 5.1.0-alpha01. I think paging should live under a storex module inside the Store repo, but I think the paging artifacts should be versioned separately from Store. Will be able to focus on introducing the latest iteration of paging once Store 5.1.0 is stable. The latest iteration of paging is the one we shared at Droidcon NYC.

@digitalbuddha any concerns?


Wider bencmarks

I extended a number of benchmarks to more threads and got new stats:
...
  oath 10000:      OK (0.15s)
    47.1 ms ± 4.3 ms
  async 10000:     OK (1.37s)
    43.1 ms ± 607 μs
  streamly 10000:  OK (1.75s)
    237  ms ±  17 ms
  oath 100000:     OK (34.22s)
    5.000 s ± 185 ms
  async 100000:    OK (3.52s)
    477  ms ±  23 ms
  streamly 100000: OK (17.51s)
    2.345 s ± 183 ms

Why it is so?

Are you referring to 5.000s? In general when there are too many readTVars at the same time, the performance degrades

Yeah, to 5s. Got itю So, did oath lose the race to async with too many threads?

Yes


[AndroidX] Task :app:mergeDebugJavaResource FAILED when add plugin cordova-plugin-camera

Bug Report
Problem
What is expected to happen?
I cannot run cordova
What does actually happen?
Task :app:mergeDebugJavaResource FAILED
I tried to enable adnroidx but the error is still
Information

Task :app:compileDebugJavaWithJavac FAILED
C:\Users\I-w-I\Dropbox\mobile\mormit\platforms\android\app\src\main\java\org\apache\cordova\camera\CameraLauncher.java:42: error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
^
C:\Users\I-w-I\Dropbox\mobile\mormit\platforms\android\app\src\main\java\org\apache\cordova\camera\FileProvider.java:21: error: package android.support.v4.content does not exist
public class FileProvider extends android.support.v4.content.FileProvider {}
^
C:\Users\I-w-I\Dropbox\mobile\mormit\platforms\android\app\src\main\java\org\apache\cordova\camera\CameraLauncher.java:296: error: cannot find symbol
this.imageUri = FileProvider.getUriForFile(cordova.getActivity(),
^
symbol:   method getUriForFile(Activity,String,File)
location: class FileProvider
C:\Users\I-w-I\Dropbox\mobile\mormit\platforms\android\app\src\main\java\org\apache\cordova\camera\CameraLauncher.java:823: error: cannot find symbol
Uri tmpFile = FileProvider.getUriForFile(cordova.getActivity(),
^
symbol:   method getUriForFile(Activity,String,File)
location: class FileProvider
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\I-w-I\Dropbox\mobile\mormit\platforms\android\app\src\main\java\org\apache\cordova\file\AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors

Task :app:mergeDebugJavaResource FAILED

FAILURE: Build completed with 2 failures.
1: Task failed with an exception.

What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

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

2: Task failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugJavaResource'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
com.google.common.base.VerifyException (no error message)

Command or Code

Environment, Platform, Device

Version information

Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

This plugin does not support androidx because it's using the old android support libraries.
You may have luck by installing the cordova-plugin-androidx-adapter which does it's best to "upgrade" plugins that is using the old support libraries into the equivalent androidx libraries.

closing as duplicate of https://github.com/apache/cordova-plugin-camera/issues/405

I don't mind to hse the old library since all other codes are based on the old Android library too.
I think some parts of cordova-camera-plugin uses the android x, doesn't it?  because when I compile the code, the compile r says like cannot find "android.support.v4.content.FileProvider"
How could I fix this problem. I am now using Cordova 9.. Windows 10 64-bit.

If cordova-plugin-androidx-adapter didn't work, try using jetifier.
The problem is you can't use non AndroidX libraries with AndroidX libraries, as long as one of your plugins uses AndroidX, you'll need to update/patch all.
cordova-plugin-camera doesn't use AndroidX yet.

@theparitt  I may have incorrectly assume that you have AndroidX enabled. Can you confirm that you do? The mentioned errors is usually a side effect of having AndroidX enabled and trying to use plugins that uses the old support libraries, hence my assumption.

This plugin does not support androidx because it's using the old android support libraries.
You may have luck by installing the cordova-plugin-androidx-adapter which does it's best to "upgrade" plugins that is using the old support libraries into the equivalent androidx libraries.
I'll keep this issue open -- I think our next cordova-android major may drop support for the old support libraries. But I don't think that decision has been fully concluded yet.

Thanks @breautek, I faced the same issue and installed cordova-plugin-androidx-adapter then it worked!

This plugin does not support androidx because it's using the old android support libraries.
You may have luck by installing the cordova-plugin-androidx-adapter which does it's best to "upgrade" plugins that is using the old support libraries into the equivalent androidx libraries.
I'll keep this issue open -- I think our next cordova-android major may drop support for the old support libraries. But I don't think that decision has been fully concluded yet.

Excellent solution, it works


Off chain failure when Loop Out

Hi there,
I've set up a Lightning Node on Umbrel and using Terminal to manage my 6 nodes.
Lately I'm not able to Loop out from my channel and keep having the error "Unable to find a route for one or both off chain payments that meet the fee and timelock limits required".
I've set timelock delta to 40, cltv expiry to 5000, base fee 1000msats and feerate ti 1 ppm.
I've done this before but I don't know if there is something wrong with my configuration.
Not very tech savvy I'm using Umbrel GUI but I'm eager to learn.
Thanks in advance

Hey @Augmentedbt
Perhaps you should consider bumping your base fee and feerate to something closer to the network's average.
Here are 2 values I'd go with:

base fee: 5000msat
feerate: 1200ppm

of course you can tweak it according to your needs

Could you also provide some logs where Unable to find a route for one or both off chain payments that meet the fee and timelock limits required can be seen?

Could you also provide some logs where Unable to find a route for one or both off chain payments that meet the fee and timelock limits required can be seen?

How can I download the logs from GUI?

How can I download the logs from GUI?

If you have access to the machine running litd you can try and acquire logs from there

Thanks George. I ssh to my umbrel node and tried looking for the lit.logs directory but I cannot find it... Any suggestion on how to download logs from Windows CMD once logged into my umbrel?


Handle cache size less than file size (resolves #489)

Resolves #489

Confused by this, seems redundant to #501 ? Can we close?

This contains no commits by me so closing is ok with me. @arkal?

I think this is contained in my PR, so closing.
On Tue, Oct 20, 2015 at 7:00 PM, Hannes Schmidt<EMAIL_ADDRESS>wrote:

This contains no commits by me so closing is ok with me. @arkal
https://github.com/arkal?
—
Reply to this email directly or view it on GitHub
https://github.com/BD2KGenomics/toil/pull/506#issuecomment-149757041.
--
You received this message because you are subscribed to the Google Groups
"cgloud-jenkins" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to<EMAIL_ADDRESS>To post to this group, send email to<EMAIL_ADDRESS>To view this discussion on the web visit
https://groups.google.com/d/msgid/cgloud-jenkins/BD2KGenomics/toil/pull/506/c149757041%40github.com
https://groups.google.com/d/msgid/cgloud-jenkins/BD2KGenomics/toil/pull/506/c149757041%40github.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Update auto-launching ssh-agent for Windows

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases
What part(s) of the article would you like to see updated?
The Auto-launching ssh-agent on Git for Windows section of the article provides a bash script to automatically run ssh-agent when opening bash or Git shell, but these instructions do not work for Windows-native PowerShell.
Microsoft's documentation has 2 relevant articles that could be linked or quoted in the GitHub's documentation article.
Get started with OpenSSH for Windows article provides instructions on how to install both OpenSSH Client (providing ssh-agent command) and OpenSSH Server (providing ssh-keygen command) using a GUI and how to automatically start the OpenSSH Server service. Key-based authentication in OpenSSH for Windows article provides instructions on how to launch both Client and Server services from the PowerShell:
# Set the sshd service to be started automatically
Get-Service -Name sshd | Set-Service -StartupType Automatic

# Now start the sshd service
Start-Service sshd

ssh-keygen -t ed25519

# By default the ssh-agent service is disabled. Configure it to start automatically.
# Make sure you're running as an Administrator.
Get-Service ssh-agent | Set-Service -StartupType Automatic

# Start the service
Start-Service ssh-agent

# This should return a status of Running
Get-Service ssh-agent

# Now load your key files into ssh-agent
ssh-add $env:USERPROFILE\.ssh\id_ed25519

I believe this information should be included in the GitHub's documentation article.
Additional information
No response

Set the sshd service to be started automatically
Get-Service -Name sshd | Set-Service -StartupType Automatic
Now start the sshd service
Start-Service sshd
ssh-keygen -t ed25519# By default the ssh-agent service is disabled. Configure it to start automatically.
Make sure you're running as an Administrator.
Get-Service ssh-agent | Set-Service -StartupType Automatic
Start the service
Start-Service ssh-agent
This should return a status of Running
Get-Service ssh-agent
Now load your key files into ssh-agent
ssh-add $env:USERPROFILE.ssh\id_ed25519steps:

uses: actions/checkout@v3

uses: actions/cache/restore@v3
id: cache
with:
path: path/to/dependencies
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: /install.sh

name: Build
run: /build.sh

name: Publish package to public
run: /publish.shsteps:

uses: actions/checkout@v3

name: Build
run: /build-parent-module.sh

uses: actions/cache/save@v3
id: cache
with:
path: path/to/dependencies
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}steps:

uses: actions/checkout@v3

uses: actions/cache/restore@v3
id: cache
with:
path: path/to/dependencies
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: /install.sh

name: Build
run: /build-child-module.sh

name: Publish package to public
run: /publish.shsteps:

uses: actions/checkout@v3

uses: actions/cache/restore@v3
id: cache
with:
path: path/to/dependencies
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
fail-on-cache-miss: true

name: Build
run: /build.sh              - name: Setup Node.js environment
uses<EMAIL_ADDRESS>

@profojak Thank you for raising this issue! I'll get this triaged for review ✨  Our team will provide feedback regarding the best next steps for this issue - thanks for your patience! 💛


new lexer request: LilyPond

(Original issue 904 created by jan-warchol on 2013-09-13T15:03:37.540443+00:00)
GNU LilyPond is a program for engraving musical scores. It works like LaTeX, i.e. the music is written in a plain text format compiled by the program.
I know that some programs can highlight LilyPond code (for example Frescobaldi, which is written in Python), and that work could probably be reused, but as i've never worked on syntax highlighting before i don't know what exactly would be needed - please let me know and i'll try to help.

(Original comment by dscorbett on 2016-06-02T16:55:35.725645+00:00)
I started working on this lexer a few days ago.

I'm closing all requests for lexers/formatters without a patch/PR.


feat: Handle errors returning json

Handle errors returning json in the follow format:
{
  "status": "404",
  "errors": [
      ...
  ]
}

Ideally following the http://jsonapi.org/format/#error-objects

done in f7bd1a616fa9e1cc72ca5b17528b9ea8da5cfb5a


exp/lighthorizon: Correctly set Content-Type, plus JSONify errors

What
This sets the content-type at the right time and also makes error messages proper JSON.
Why
The headers can't be set after Write() is called on w.

@sreuland yess absolutely, the tech debt is building up :sob:


Dynamic Tables missing some functionality

First, I would like to thank you for a great contribution. This project is awesome!
After downloading source code, I was trying to use the "Button Example" dynamic table and noticed the Excel button does not generate an Excel file. However, in Colorlib site example, it works.
In addition, the Colorlib site example has another button - PDF (this button does not exist in github sample).
Is this an outdated DataTables sample?
github

Colorlib:

Thanks!
Elad

Thanks @AndreiCN.
I've just verified, still Excel button does not work and PDF button is missing with Chrome.
With IE and FF, Excel button is also missing.
I've downloaded latest version through "Download ZIP" button.

Did you find any fix for that ?@eladealad11
Thanks in advance.

@pallavidesai, unfortunately I didn't :|

@AndreiCN PDF button is still missing
@eladelad11 Did you find any work around?

@AndreiCN
I just found the work around by moving
<script src="../vendors/pdfmake/build/pdfmake.min.js"></script>
in front of
<script src="../vendors/datatables.net-buttons/js/buttons.html5.min.js"></script>
and it works now

Ok @young310, thank you for your contribution.

fixed it.


Store count data outside of plot JSONs

I think this should make the plots load a ton faster, as well as stave off crashing when you try to open the vega editor for the sample plot. (It's not like you can recompute log ratios within the Vega Editor, so there isn't any sense storing the count data inside the sample plot.)
This shouldn't require a ton of coding work. Just:

change up the python script to output the count data to a separate variable from the sample plot
change up the python testing utilities to get count data from that variable instead
change up the JS to take the count data as an RRVDisplay parameter, and set this.feature_cts according to that
change up the JS tests to set the count data accordingly as well

We might be able to take this a step farther, and actually load the count data (and compute log ratios, or just get the desired counts) entirely in a web worker. This would prevent the costs of loading that into memory from hitting the page, ideally.


Load balancer rule for ERS does not appear to be correct

Hi, I've noticed in testing that the ERS load balancer rule set in your documentation is missing a rule:

32<nr> TCP

This needed adding to our test system in order for enqueue replication to begin working.

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

ID: 26e557cc-43f2-8b0b-f310-d4622e882385
Version Independent ID: 65a25050-ce4e-50f9-247c-848ef18d70d2
Content: Azure Virtual Machines high availability for SAP NetWeaver on Red Hat Enterprise Linux
Content Source: articles/virtual-machines/workloads/sap/high-availability-guide-rhel.md
Service: virtual-machines-windows
GitHub Login: @MSSedusch
Microsoft Alias: sedusch

@centiqwan, Thanks for the feedback! We are currently investigating and will update you shortly.

@centiqwan thanks for pointing this out. I am assigning this issue to the document author to look further into it.

@rdeltcheva can you please update the article? Thanks

#reassign: @MicahMcKittrick-MSFT

@centiqwan - thanks for pointing out the missing rule.  It was added to the documentation. This issue can be closed.

@rdeltcheva, Thanks for updating the document.
Apologies for the delay on this, @centiqwan. We will close this out, but if you feel you need more information please just let us know. Thanks for sharing your feedback!


docs/quickstarts/aks: rephrase Kubernetes version note

AKS currently provides 1.18 (and other platforms 1.19). It's easy that
this note gets out of date so let's rephrase it so it's more generic.

fixed a typo in the commit message

fixed a typo in the commit message


When radar graph has ticks reversed, fill is the wrong way round in 2.9.1

Expected Behavior
The chart fill should start in the middle and end on the chart line.
Current Behavior
The fill starts at the edge and stops on the chart line.
Possible Solution
Unknown.
Steps to Reproduce (for bugs)
See https://codepen.io/hexydec/pen/jOOLRKv. When the same setup is run in v2.8.0 the fill is correct.
Context
Regretion in new version.
Environment

Chart.js version: 2.9.1
Browser name and version: Firefox Developer Edition, Chrome Latest
Link to your project:

Could be related to PR #6281, Using fill: start it works for me


Prefetch component

any plans on implementing Prefetch? This'd be pretty similar to preload so could be abstracted and reused. I could do a PR if you're interested

went ahead and created #65


Edge extension opening console in foreground

Is your feature request related to a problem?
I believe that since I downloaded Edge vscode extension, this pops up randomly.
I think it has to do with nodejs hint-configuration.
Either way, it's really getting on my nerves

Describe the solution you'd like:
Run it in the background
Describe alternatives you've considered:
Uninstalling the extension, but I can't for now.

Thanks for the report @AuracleTech! I've seen this recently too and it is annoying.
I don't think VS Code used to pop this into the foreground so something must have changed that we likely need to adapt to. This happens when we're trying to update webhint so we could at least make some adjustments to reduce the frequency of checks reduce the annoyance. Still, it'd be great if we could keep this from popping up altogether.
@codepo8 what do you think?

This has been worrying me that I've got a virus for days

This happens when we're trying to update webhint so we could at least make some adjustments to reduce the frequency of checks reduce the annoyance.

Obviously, doing it in the background is optimal, but how often does Webhint need to be updated?
(P.S. Can we add tags to this issue so it gets a higher SEO on Google, or at least add more keywords? I had to grep -rail my extensions to figure out who the culprit was. 😞)


Sorting cards with Scandic letters is broken

Description:
User has cards with names starting ÄÄ and ÄÖ and Air
They are sorted correctly on dashboard when language is FI
But sorting is broken if language is EN

Closing this issue since no users have commented this to be a problem.


Deployed app contains *.map files

The deployed app (from gh-pages) contains *.map files. Is that intentional? If not, they should be stripped out / not generated.
cc @kwalrath @kevmoo

Yeah, I can add --no-source-maps to the release options for dart2js.

Is there a scenario where we want to debug things?
I guess we can always rebuild the exact thing locally – so maybe good to get rid of.

I have a counter to that. Internally we actually release all the .map files, and host all the dart files when we release. We do this so that developers can debug the gallery if they want and see how things are working.
The primary goal is for this to help developers. It should have the best practices we know about, but I don't really want to put a lot of work to make it as slim n trim as possible as that is not the purpose of it. The purpose is to document/help/showcase the widgets to developers.

As Ted said (upon reflection) it doesn't cost anything to ship the .map
files – unless someone has the console open.
On Tue, May 1, 2018 at 9:33 AM Ted Sander<EMAIL_ADDRESS>wrote:

I have a counter to that. Internally we actually release all the .map
files, and host all the dart files when we release. We do this so that
developers can debug the gallery if they want and see how things are
working.
The primary goal is for this to help developers. It should have the best
practices we know about, but I don't really want to put a lot of work to
make it as slim n trim as possible as that is not the purpose of it. The
purpose is to document/help/showcase the widgets to developers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/angular_components_example/issues/80#issuecomment-385717044,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABCihQ-17uQLGtO8eQStrCuQfM8qjZwks5tuI5BgaJpZM4Ts4AK
.

Sure, that works for me, the problem is that the *.dart files aren't being published. Shouldn't they?

@kevmoo What would be the easiest way to let the .dart files be included when I build the gh-pages branch with peanut?

You need to tweak the build.yaml file – @natebosch understands the bits here, I think

You're explicitly configuring outputs from dart2js to not get filtered. What are the outputs that you want to keep from dart2js that are not .js or .js.map? Do we need to make the configuration more expressive to let you keep some other file while dropping the sourcemap files?
If you want instead to also keep .dart files you can add
      dart_web_compilers|dart_source_cleanup:
        options:
          enabled: false

Looks like you wanted to keep the dumpinfo - why do you want that in release builds? If you feel it's important you can file an issue on the build repo asking for configuration which allows you to retain dumpinfo while removing sourcemaps. We'd have to introduce a new configuration option.

I'd like it just so it's trivial to track dart2js output stats across
releases...
On Wed, Jul 25, 2018 at 12:30 PM Nate Bosch<EMAIL_ADDRESS>wrote:

Looks like you wanted to keep the dumpinfo
https://github.com/dart-lang/angular_components_example/pull/85 - why
do you want that in release builds? If you feel it's important you can file
an issue on the build repo asking for configuration which allows you to
retain dumpinfo while removing sourcemaps. We'd have to introduce a new
configuration option.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/angular_components_example/issues/80#issuecomment-407866773,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABCikbnhazMWeDaEaRFL_xqldGCedOLks5uKMdWgaJpZM4Ts4AK
.

Looks like you wanted to keep the dumpinfo - why do you want that in release builds? If you feel it's important you can file an issue on the build repo asking for configuration which allows you to retain dumpinfo while removing sourcemaps.

@natebosch We do want serve the source maps and original dart files too. For the gallery it is helpful even from the published release to make experimenting with the live examples easier. Probably not something that most projects would want to do though.

We do want serve the source maps and original dart files too.

SG, looks like you want
      dart_web_compilers|dart_source_cleanup:
        options:
          enabled: false

@natebosch I'm having some issues getting it working. I tried a slightly modified version of the options you posted:
build_web_compilers|dart2js_archive_extractor:
    release_options:
        filter_outputs: false
build_web_compilers|dart_source_cleanup:
    release_options:
        enabled: false

I'm not sure the build is invalidated when changing these options (that might need an issue filed) but after running pub run build_runner clean and then running my release build again I still don't have the  .dart sources available.

@nshahan do you have a PR open so I can try to repro?

oh, I just realized that the dart_source_cleanup needs to be disabled globally.
global_options:
  build_web_compilers|dart_source_cleanup:
    options:
      enabled: false

@natebosch That was it! And I didn't have to rebuild anything so no issue there. Thanks.


Fixed Thunderbird/RNP issue in OpenPGP_SignaturePacket::sign_data()

Fixed an issue in OpenPGP_SignaturePacket::sign_data() where the data was signed directly rather than signing the hash of the data (e.g. SHA256).
Since the intermediate hash isn't returned from signer callbacks, phpseclib is called to generate a duplicate hash during signing. This supports the MD5 and SHA variations, but not RIPEMD160 (which could be handled separately).
This change resolves the long-standing issue where Thunderbird (or other RNP-based projects) couldn't import keys or decrypt messages generated from OpenPGP-PHP.
Fixes #120

Summary by CodeRabbit

New Features

Enhanced the signing process by introducing a hashing mechanism for improved security and data integrity.

Bug Fixes

Addressed potential vulnerabilities related to the direct signing of concatenated data by ensuring a hashed string is used.

Yeah, that's exactly the issue (hash_head should be the pre-signed hash).
I see you fixed this with a better refactor where signers can return their own hash. That's much nicer.
Thanks!


Errors during installation

Describe the bug
Errors during installation caused by unresolvable requirement conflicts.
To Reproduce
I created a new, separate conda environment for each of the installation attempts decribed below with:
conda create --name=sfaira python=3.9. I am using conda-forge as this provides better support for apple M1 hardware, see details below.
I have tried installing all installation options listed here: https://sfaira.readthedocs.io/en/latest/installation.html

installation via pip: pip install sfaira --no-cache-dir
cloning the github repository and installing with pip install -e . --no-cache-dir
The above commands raise many errors, in particular tensorflow cannot be installed. So I just installed tensorflow prior to installing sfaira and repeated the installation via pip, i.e. conda install tensorflow then pip install sfaira --no-cache-dir.

I have attached logfiles for outputs from the installation processes 1. and 2. (for 3. the log file seems to be too large) to this issues in two separate files. I think the underlying problem is actually not tensorflow but conflicting version requirements about numpy (I think numba supports only 1.17 < numpy < 1.21 but some other packages require numpy > 1.21. This is only my best guess about the problems though, cannot say with certainty.
Expected behavior
Installation without running into errors or description of how to manually install the correct versions of required packages so that sfaira can be pip installed without installing its dependencies (--no-dependencies).
System [please complete the following information]:

OS: macOS Big Sur, Version 11.5.1 (20G80)
Language Version: Python 3.9
Virtual environment: conda-forge 4.10.3, see perhaps: https://conda-forge.org/

Additional context
Add any other context about the problem here.
sfaira_git.txt
sfaira_pip.txt

This is most likely related to the installation of linear algebra dependencies on apple M1 chips, we will assemble a separate installation instruction for that.

Just to avoid duplicate work: I will look into this now and keep you updated.

This might be a helpful starting point: https://github.com/scipy/scipy/issues/13409

It seems that I have now successfully installed sfaira and its dependencies. This statement comes with a bit of caution as I have so far only tested the installation by running sfaira create-dataloader but this worked without errors.
For completeness, I am on macOS Big Sur Version 11.5.1 (20G80) on M1 hardware and I am using conda-forge (4.10.3) and pip (21.2.4) to manage python packages. I am using conda-forge rather than regular miniconda as it (currently) provides better support for M1 hardware, see https://conda-forge.org/.
Some best guesses as to why the installation does not work out of the box:

Requirement version conflicts for numpy. In particular, when installing numba via conda, it requires numpy<1.21, however, cellxgene_schema (officially) requires numpy==1.21.2. My solution here was to install numba first (which installs a compatible version of numpy) and to then install cellxgene without its dependencies, which seems to work. Interestingly, pip install cellxgene_schema --no-deps installs version 2.0.0 but when installing pip install sfaira afterwards, cellxgene_schema is downgraded to 0.2.0, not sure if this is a bug/type or an actual requirement though.

pip install anndata is unable to build dependencies that are not already satisfied.

The solution that seems to work for me was to manually install as many dependencies as possible prior to installing cellxgene_schema, anndata, scanpy and sfaira. In particular:

Prior to any installation, I am setting up a new conda environment with conda create --name=sfaira python=3.9 and activate it once it is installed: conda activate sfaira.

Install as many packages as possible via conda: conda install numba tensorflow wheel click cython seaborn scikit-learn statsmodels pytables loompy natsort packaging xlrd=1 boltons zarr matplotlib openpyxl pyyaml pytest dask docutils ipython networkx pyarrow tqdm requests versioneer rich questionary flatten-dict conda-forge python-igraph leidenalg Note that you want to install networkx >=2.6.3 as you will otherwise get a runtime error saying that "gcd" cannot be imported from fractions, see https://github.com/ewels/MultiQC/issues/1413](https://github.com/ewels/MultiQC/issues/1413) . The above command should already take care of this (check via conda list networkx), otherwise upgrade via conda upgrade networkx.

Install remaining dependencies via pip: pip install owlready2 fuzzywuzzy obonet python-levenshtein switchlang cookiecutter crossref_commons

Install anndata and cellxgene-schema without their dependencies to avoid version conflicts, e.g. of numpy pip install anndata cellxgene-schema --no-deps

pip install scanpy (this installs some remaining dependencies.)

pip install sfaira


Installable package broken due to questionable code change in build

I haven't gotten to the bottom of "why", but in the package on npm, this snippet of code:
[...pixels]

Is compiled to:
[].concat(pixels)

And this appears to be breaking the output (I just get a blank png, regardless of input).
If I change my import to the following, the lib works fine:
import useNextBlurhash from "use-next-blurhash/src";

I think its because the code is not being compiled to target of es2015.


Upgrade LMAX Disruptor to version 4.0.0

@tomerarazy, I don't think this will work. See #1829 and LOG4J2-3595. We would appreciate it if you can submit a PR fixing the issue via the way described in LOG4J2-3595.

@tomerarazy, I don't think this will work. See #1829 and LOG4J2-3595. We would appreciate it if you can submit a PR fixing the issue via the way described in LOG4J2-3595.

If I understand the issue is backward compatibility with older Java versions, I don't mind taking a shot at this but I'm not familiar with the log4j (other than as a user) so I don't even know where to start looking on how different Java versions affect which code we're loading, can you please provide some pointers to where I can start looking?

I would prefer to use the trick I described in #1856.
In Disruptor 4.x two things changed:

EventHandler has new default methods that come from its previous sub-interfaces,
some sub-interfaces of EventHandler disappeared.

We can easily work with this, so that:

our code compiles with Disruptor 3.x,
users can use both Disruptor 3.x and Disruptor 4.x at runtime.

The details are in #1856.

I'm going to go ahead and apply this idea to main since that has a baseline requirement of Java 11 already.

Straightforward approach in main: https://github.com/apache/logging-log4j2/commit/9dcb10bf300432b353cb793a81d1202bce36ef77

Refer to this ticket.
https://github.com/LMAX-Exchange/disruptor/issues/467#issuecomment-1855643967


Add an Overview page to the Test section

The Test section should have an overview page explaining what the "test" phase is, similar to what we already have for the build section
This page should include a section about when the use of simulators are appropriate, and what the limits are. Generally we want to strike a balance between documenting this part of the workflow while encouraging people to move on to larger experiments on real hardware as quickly as possible

First pass completed in https://github.ibm.com/IBM-Q-Software/iqp-channel-docs/pull/804. Still need to clarify when the use of simulators are appropriate


Issue After Reboot

So, I will admit, I am on a very old 2009 iMac that is very slow.  I'm running El Capitan, and the system had a kernel panic, but this was unrelated to Keybase (it was a USB device I had installed).  This caused a sudden reboot while Keybase was uploading.
Now I'm getting this odd error repeatedly, something about EOF when I try to access the KBFS drive mounted.  So I'm sending you the logs.  On my own, I did stop the keybase service with keybase ctl stop and went into ~/Library/Application Support/Keybase and deleted the ./kbfs_* directories as well as ./Cache and then started the application back up.  This worked for a moment, but the utterly failed later on.
I then, thinking the kernel extension had become corrupted, uninstalled Keybase and reinstalled it from a fresh download.  This, also, did not work.  I'm trying a few other things but if it fails I plan to just completely rekey the machine as a new device.
my log id: ff02e933a0e8f11e012cc71c

This is the same bug as #12817, where there's a panic in the KBFS code after a sudden shutdown.  A fix is coming in the next release, and there's an experimental build linked here that should fix it.


thin-provisioning-tools: add symlinks for compatability

Previous version of thin-provisioning-tools  had a number of symlinks in the bin folder, after update to rust they are no longer there which breaks compatibility. This PR adds symlinks back.
https://github.com/NixOS/nixpkgs/issues/317018
Description of changes
Manually link the binary in the postInstall phase
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I can confirm that I am able to boot into a generation that is built from this PR.
I can also still boot into nixos-unstable (a71e967) with an overlay mimicing what this PR does.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1780

thx

you're welcome


Add File helpder to zod-form-data

This is kind of a weird one, that I just did the implementation of locally and figured could go in here as well.
Would definitely recommend double checking it's use cases, as the whole File thing is a bit dodgy with Remix at the moment :)
The CustomUploadHandler bit is also a bit different to document, as the dev can realistically convert the File to whatever they want after handling the upload

Thanks for the help!


Results of July 4th Not Updated

It seems that the test results of July 4th failed to be released. Is there anything wrong with the evaluation server? And how long do we need to wait for the results? It's discouraging that we cannot get feedback on time.

Hi, because the file size submitted by a team reached about 1G, which caused a delay in the test evaluation process. We will manually test this file, and the test results of the rest of the files will be sent to the player's mailbox within 1 hour, and the leaderboard will be updated.

Ok. Thanks for your kind response!

Hi, the update has been completed, now you can see the latest ranking!


Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle

Require cycle: node_modules/react-navigation-fluid-transitions/TransitionItem.js -> node_modules/react-navigation-fluid-transitions/Utils/index.js -> node_modules/react-navigation-fluid-transitions/Utils/getResolvedMetrics.js -> node_modules/react-navigation-fluid-transitions/TransitionItem.js
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
hi,
i have this error but everything works, what i need to do to silent this warning ?
thanks

This is not an error, but a warning - but I agree - should be fixed. Anyone?

Any update on this? I also got this warning in the console after installing the package.


[REST] /story/report

required
id
result:
success or fail
and update the database

@gmzrmks  i will assign to you another issue.

This function requires a registered user. There should be access_token check to retrieve user.
We don't request user_idf from user. Request access token and retrieve user from it.
Reporting mechanism does not check previous report of the user.
We should create a new relation table with two column, user_id,story_id
Each report also placed in table to check previous reports..

fixed https://github.com/bounswe/bounswe2015group7/commit/e4768db03bf999b27461cc9a29afc29b7ee915a8


Rubik cube visualisations

Initial Rubik cube visualisations.
The visualisations start from a solved cube and stop when you reach back to a solved state.
The RubikState allows for 12 types of move - one of 6 faces and 2 directions.
The tree is mapped onto a 4x4 grid which has 4 permanently unavailable moves at the corners. The other 12 moves are mapped to intuitive positions in the grid. i.e.  the moves U and U' (top clockwise and anti-clockwise) are mapped to the top two middle tiles.

The probabilities are solving the cube are all skewed to very small values, so I've added some basic mapping function which tries to spread out low values so you can see them in different colours.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-46 of 300 (84.67%)  changed or added relevant lines in 8 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-54.0%) to 12.41%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/examples/games/Faze.Examples.Games/Rubik/RubikNotationExtensions.cs
38
39
97.44%

src/examples/games/Faze.Examples.Games/Rubik/RubikCube.cs
103
105
98.1%

src/examples/games/Faze.Examples.Games/Rubik/RubikFace.cs
46
50
92.0%

src/libraries/Faze.Core/Faze.Core/TreeLinq/TreeExtensions.cs
0
5
0.0%

src/libraries/Faze.Engine/Faze.Engine/Simulators/GameSimulator.cs
0
9
0.0%

src/examples/games/Faze.Examples.Games/Rubik/RubikMove.cs
23
34
67.65%

src/examples/games/Faze.Examples.Games/Rubik/RubikState.cs
41
55
74.55%

Files with Coverage Reduction
New Missed Lines
%

src/libraries/Faze.Core/Faze.Core/TreeLinq/TreeExtensions.cs
1
54.7%

Totals

Change from base Build<PHONE_NUMBER>:
-54.0%

Covered Lines:
204

Relevant Lines:
1889

💛  - Coveralls


feat: added external partitioned Delta table

PR Checklist

[x] A description of the changes is added to the description of this PR.
[x] If there is a related issue, make sure it is linked to this PR. (close #122)
[x] If you've fixed a bug or added code that should be tested, add tests!
[x] If you've added or modified a feature, documentation in docs is updated

Description of changes
I added a small partitioned Delta table:

Table was created with delta-rs
I modified manually db-file to remove my local path (it starts from etc/... now)
I removed from _delta_log a location (from commitInfo) that contains my local path

(with assumption that deltalake, faker, pandas are installed)
pdf = pd.DataFrame([{"first_name": fake.name(), "age": random.randint(20, 75), "country": countries[random.randint(0, 2)]} for _ in range(30)])
write_deltalake("~/github/unitycatalog/etc/data/external/unity/default/tables/user_countries", data=pdf, partition_by="country")

@MrPowers Take a look, please!

I think that I should wait until #156 is merged, shouldn't I?

@ravivj-db Hello! May you take a look, please? I updated PopulateTestDatabase.java by adding an information about external partitioned Delta table. There are not unit-tests for that, but I tested it locally by deleting the db-file and run sbt populateTestDb.

Any reason why the db file changed in this commit ? My guess is create/update Dates.

Yes, create/update Dates and also I updated precision, scale and JSON types representation for the added table.

@SemyonSinchenko  there's one more ask. Thanks for being patient so far :). Can you add quickstart tests to tests/test_tutorial.py for reading metadata and contents of the table (using get and read)

This might require adding read functionality for Parquet Data Format in TablesCLI. If that's too much you can just add a test for getTable Metadata.

@SemyonSinchenko there's one more ask. Thanks for being patient so far :). Can you add quickstart tests to tests/test_tutorial.py for reading metadata and contents of the table (using get and read)

Done: commit

One of the tests is failing, can you please take a look ?

@SemyonSinchenko just read your message, I understand the complication with using TableRepository, and I agree with you that we can switch back to using Hibernate/TableDAO (I guess that's why we used them in the first place :)). I am really sorry about this back and forth.

@SemyonSinchenko just read your message, I understand the complication with using TableRepository, and I agree with you that we can switch back to using Hibernate/TableDAO (I guess that's why we used them in the first place :)). I am really sorry about this back and forth.

@ravivj-db Don't worry :)
I switched back to DAOs, do you want to take a final look again?

This is great! Thank you @SemyonSinchenko for adding this. huge help!


Migrate Digital Twins tests to TestProxy

API change check
API changes are not detected in this pull request.