Explain the magic of Finder examples

Cyril showed me how to put into Finder:
#(1 2 3) . 3 . 3

and it found me the #indexOf: message (among others). This is very cool, and would be great to have an explanation (especially since #indexOf: is not documented in the Collections chapter.

From the text of Finder / Examples:
Use an example to find a method in the system.

   'a'. 'b'. 'ab'       will find the message #, for strings concatenation
   2. -2                will find the message #negated
   3. 6                 will find the message #factorial
   20. 10. 15. 15       will find the message #min:max:

It works on collections too:

   {2. 4. 5. 1}. 5. 3   will find the message #indexOf:
   {2. 5. 1}. 5. true   will find the message #includes:

An example is made up of the following two or more items separated by a period:

	receiver. answer
	receiver. argument1. answer
	receiver. argument1. argument2. answer
	etc...

For example, type: 3. 4. 7. into the search box and click <Search>

Take care on separating spaces because of floating point numbers.

 	3.4.7      will find nothing, it is interpreted two numbers, 3.4 and. 7
	3. 4. 7    will find you the message #+

The examples array should contain one object for the receiver, one object per expected argument and then a final object with the expected result.

In other words
 - a unary method example expects an array of input objects #( receiver ) and an expected result
 - a binary method example expects an array with two input objects #( receiver argument ) and an expected result
 - a keyword method example expects an array with at least two elements  #( receiver argument1 argument2 ... ) and an expected results

The method finder will take the input objects (receiver and arguments) and perform their permutation to be able to find more results.
Then, it will lookup in the receiver's hierarchy the approved and forbidden methods to run on the hierarchy and run them on the permutation of objects.

Receiver and arguments do not have to be in the right order.

Alternatively, in this bottom pane or in the Playground, use #findMethodsByExampleInput:andExpectedResult: directly to find a method in the system.  Select this line of code and choose "print it" or "inspect it.

	MethodFinder new findMethodsByExampleInput: #( 1 2 ) andExpectedResult: 3.

It is useful when you want to look for computed objects:

	MethodFinder new
		findMethodsByExampleInput: {'29 Apr 1999' asDate}
		andExpectedResult: '30 Apr 1999' asDate.

This will find the message #next.

	MethodFinder new
		findMethodsByExampleInput: {'30 Apr 1999' asDate}
		andExpectedResult: 'Friday'.

This will find the message #dayOfWeekName

The Method Finder is not trying all methods in the system so if it will find nothing, a method with requested behavior may still exist.

Additionally, this should go in beginners section.


sdl rails

Will there be any progress soon on this feature since SDL3 was pre-released a few months ago?
Thanks for the amazing work on FreeRDP @akallabeth

@AkechiShiro if I find time, currently bugfixing and improving speed of the 3.x series


ENYO-5639: Fix Button and IconButton styling of image-based icons

Checklist

[X] I have read and understand the contribution guide

[X] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[x] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
When using an image-based icon for Button or IconButton, the focused and disabled state isn't apparent because the image's opacity isn't adjusted.
Resolution
Update styling rules for Button and IconButton to restore color and set opacity for the internal Icon to give it the same visual appearance for both font icons and image icons when focused and disabled.

How about a QA sampler for the case?

Fair point! I added a somewhat generalized one to Spotlight to test this scenario but can be extended later if we want.


[Super AI] Create Script to search for testset leakage on Trainset

Description:
We want to make sure our selected testset is not overlapped with trainset. We can search for testset leakage on OSCAR by using retrieval model (ex. https://arxiv.org/abs/2005.14165)
Instructions:

Experiment how to search for test set leakage on OSCAR trainset

Deliverables:

Notebook
Scripts

Update
Checklist:

Input: Huggingface dataset in #124 format and evaluation dataset in huggingface format
Output: Huggingface dataset in the same format

Final workflow:

Load each evaluation dataset in #182 in memory
Search for contamination from the huggingface dataset (we can use mC4 for now and switch to our PantipOSCAR dataset when #174 is finished)
Remove contaminated dataset and save to huggingface dataset in the same format


supporting NameIdentifier

supporting ClaimType.NameIdentifier in addition to JwtClaimTypes.Subject in IdentityServerAuthenticationService

@MovGP0,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

solves issue #1758

Our design is that we require you you to issue the proper sub claim. Closing.


Elastic 3d

Add 3D elastic deformation by applying the same x-y deformation field to each z slice. padding_mode="reflection" to avoid strange border effects like here:

The same deformation is applied to each sample in batch.

Cool! I will take a closer look tomorrow :).


Fix typo in license URL

Fixes a typo in the license comments URL in one file.
Signed-off-by: Steve Winslow<EMAIL_ADDRESS>

Found it during a license scan using a tool called Fossology. It is an automated tool but requires a fair bit of manual effort for reviewing / clearing scan results, so not particularly easy to drop into an automated build process.
I'm currently running and clearing scan results for Jaeger as well as other CNCF projects, and I'll be sharing the results with Jaeger maintainers. Just came across this one during that process and figured it was an easy fix  :)


use specific values for bulkactionmodel icon

Signed-off-by: Hanqiu Zhang<EMAIL_ADDRESS>Issue: https://github.com/open-cluster-management/backlog/issues/12656
Updates:

Removed default value warning for bulkactionmodel
Set icon=warning for most of the bulkactionmodel (detach/delete/uninstall/hibernate/resume)
Only the followings are not set with any icons:

bulk.title.updateReleaseImage
manageClusterSet.form.modal.title
bulk.title.selectChannel
bulk.title.upgrade
bulk.title.import

Screenshots:

/hold

more screenshots:

/unhold


feat!: Rename Register and cleanup definitions

Renames Register to ElementId, and adds two wrappers Bit and Qubit to use where appropriate.
Since we are doing a breaking change, I moved the related definitions to a new file to keep things clean.
BREAKING CHANGE: Register renamed to ElementId, Qubit and Bit
BREAKING CHANGE: Moved some definitions from ::circuit_json to ::register
BREAKING CHANGE: Bumped MSRV to rust 1.75

I had to bump the minimal rust version to 1.75, since it was required by derive_more.
That one's almost one year old, so it shouldn't cause problems.


[HVSXROAD] Crossroads of the Elements - Sysop access to all users

Module Information

Identifier [HVSXROAD]
Module Name [Crossroads of the Elements]
Version [1.00j]

Describe the bug
All users have sysop level access in the game "sys" commands. E.g., SYS GOTO, SYS UPDATE, SYS BECOME, etc...
To Reproduce
Steps to reproduce the behavior:

Create new user account
Load Crossroads
Issue the "sys" command

Expected behavior
Only users with "sysop" keys or role should have the ability to run sysop commands.
Screenshots
N/A
Software Information:

OS: [Fedora 32 and CentOS 8]
Telnet Client [Linux telnet, Telix under DOSBox]

Currently both haskey() and hasmkey() Ordinals return true for every key, regardless if the user has it.
I'm working on a Branch right now which sets default keys for new users and properly evaluates the keys assigned to a user.
PR pending.

Excellent.  As soon as this is implemented, I'm ready to replace by BBS. :)
I'm happy to test.


Update docs to reference the latest k8s codegen version

Signed-off-by: Margo Crawford<EMAIL_ADDRESS>

Release note:

@margocrawf https://deploy-preview-1045--pinniped.netlify.app/docs/reference/api looks broken.


Data layer: Issue with large number of files

Add a large number of files to your repo (2k+) and enable the data layer. After that, start the dev server . This error will happen and you are unable to work with tina
 IO error: /Users/logananderson-forestry-mac/dev/tinacms/tina-cloud-starter-large/.tina/__generated__/db/000004.log: No such file or directory
Error [WriteError]: IO error: /Users/logananderson-forestry-mac/dev/tinacms/tina-cloud-starter-large/.tina/__generated__/db/000004.log: No such file or directory
    at /Users/logananderson-forestry-mac/dev/tinacms/tina-cloud-starter-large/node_modules/levelup/lib/levelup.js:216:23
✨  Done in 4.01s.

Here is a script you can use to generate the files
for i in range(2500):
    f = open(f"post-{i}.mdx", "w+")
    f.write("""---
title: Vote For Pedro
author: content/authors/pedro.md
date: "2021-07-03T20:30:00.000Z"
excerpt: >-
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
  incididunt ut labore et dolore magna aliqua. Praesent elementum facilisis leo
  vel fringilla est ullamcorper eget. At imperdiet dui accumsan sit amet nulla
  facilities morbi tempus.
---

This is a test
""")

fixed with https://github.com/tinacms/tinacms/pull/3041


Responsiveness on 'Remote Provider' page.

Current Behavior
 Remote provider capabilities & extensions were recently included in the Meshery UI's preferences, however, there is a responsiveness issue that needs fixing, primarily in mobile view. See attached image.
Expected Behavior
 A responsive site that accounts for the mobile view of this new page. Here's a possible solution [in Figma]. (https://www.figma.com/file/SMP3zxOjZztdOLtgN4dS2W/Meshery-UI?type=design&node-id=29694%3A19485&mode=design&t=mElCikdb8NjkLBBo-1)
Screenshots/Logs
What we have:

What we could have:

Environment

Host OS: Mac Linux Windows
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Rexford74 please assign.

@Rexford74 please assign.
Done! Please let me know when you have some time on your hands so I can point out the other issues on desktop that you have to fix. Thanks.

@leecalcote @Rexford74 Can I work on this issue?

Hello @Rexford74 I’ll like to work on this. Can you assign to me.

Hello, I would also like to work on this!

Thank you! Assigning in chronological order...

found this in good first issue , hey can i work on this issue

No progress to date. Assigning to next volunteer: @ChenemiKen

Hi @leecalcote , @Rexford74 . Please help review my pull request for this issue. Thanks.

can i work on this?

@leecalcote Can you please assign this issue to me?

@shreycmd and @siddharthbaleja7 and I do a way to contribute here is to review the open PR listed above. Your comments in line in the PR…

@leecalcote I'd love to work on this issue. Can you please assign this issue to me?

Hi @leecalcote , @Rexford74 . Kindly review my pull request for this issue. Thanks

@leecalcote Can i work on this issue? If it is still unresolved.

Is this issue resolved ? It seems to be looking fine on my end for mobile view? @Rexford74 @leecalcote

The low contrast issue needs to be addressed.

@leecalcote Can i work on this issue? If it is still unresolved.

@leecalcote @Rexford74 In my system , responsive is working well,In previous comment you talk about low contrast,can you specify which contrast you are talking about.


Error mocking mongoose schema with ts-mockito: “find() is not a function”

I am running typescript with ts-node. I am trying to run a test with mocha and chai. I also tried my test with jest. Basically most of the test runs fine. But when I attempt to mock my mongoose schema model object, I get the error mockThread.find is not a function. Odd thing is when I hover over or dot on the mock object I can see all the mongoose query methods including find. This failure occurs only when the test runs. If I remove the mock and just run my test it succeeds.
import { mock, when, instance } from "ts-mockito";
import { expect } from "chai";
import request from "supertest";
import app from "../../src/app";
import { isJSONString } from "../testHelper";
import { ThreadSchema } from "../../src/repo/models/thread";
import mongoose, { Model, DocumentQuery, Document } from "mongoose";
const Thread = mongoose.model("Thread", ThreadSchema);
describe("Test whether result is array and json stringifyable.", () => {
it("Should return the error", done => {
let mockThread: Model<Document, {}> = mock<Model<Document, {}>>(Thread);
// I've tried adding and removing the typing info above but that did nothing
when(mockThread.find()).thenReturn(
new DocumentQuery<Document[], Document, {}>()
);
request(app)
.get("/threads")
.expect(200)
.end(function(err, res) {
expect(isJSONString(res.body)).to.equal(true);
expect(Array.isArray(res.body)).to.equal(true);
done();
});
});
});
I run the test with this command mocha --require ts-node/register test/**/*.ts

I face the same error with generic objects (no mongoose involved):
I have an RPClient that I retrieve an object Outgoing from. In Outgoing, I have a method
getServerHandles() that I want to return fakes.
client = mockito.mock(RSPClient);
outgoingMock = mockito.mock(Outgoing);
mockito.when(outgoingMock.getServerHandles()).thenReturn(Promise.resolve([serverHandle]));
mockito.when(client.getOutgoingHandler()).thenReturn(outgoingMock);

If I now have another class A that tries to retrieve the server handles
client.getOutgoingHandler().getServerHandles()

A runs into the same error:
TypeError: client.getOutgoingHandler(...).getServerHandles is not a function

First make sure that you are using an instance of the mock not the mock itself,
You need to create an instance of the mock not the mock itself
mockito.when(client.getOutgoingHandler()).thenReturn(instance(outgoingMock));

@dice14u thx for the quick response.
Did not try that yet, I'll get back to ts-mockito when writing the next tests and try to substitute sinon.
If that was my error, it would maybe be a great idea to include this hint in the error?


Update to Node.js v16

Do we have update here @hkusu ?

@kairusds @paolorevillosa Updated to node16 and released this action as v1.0.2,
https://github.com/hkusu/apk-info-action/releases/tag/v1.0.2

@kairusds @paolorevillosa Updated to node16 and released this action as v1.0.2,
https://github.com/hkusu/apk-info-action/releases/tag/v1.0.2

thank you


Allow setting the time of a point manually.

Point can be specified as either a number of nanoseconds, a python
datetime object (with or without timezone) or a string in ISO datetime
format.
If a time is not specified, the Helper sets the time at the time of
assembling the point fields so that multiple unique points with the same
tags can be committed simultaneously without them failing to add due to
all being assigned the same automatic time by the InfluxDB server.
This fix is based upon the discussion in #130 but also includes the
outstanding items for it to be merged. I'm happy to receive suggestions
for further ways to add test coverage to this change.
This also fixes #264 and fixes #259.

Hi @grundleborg!
I've just opened a PR for the exact same feature. I didn't see that yours already existed, and didn't think to check because I had already told @aviau that I would work on this feature a few weeks ago. Had I seen this PR I would have discussed it with you beforehand.
I've taken a slightly different approach as the one in your PR & #130 that avoids a few issues:

Assigning a default time in _json_body() will result in a race condition where the points will have a very similar and possibly even identical timestamp, meaning in some cases #264 can still occur

Instead, I've done this at point-creation which also has the benefit that the default timestamps are more accurate

By rolling your own timestamp conversion, you duplicate some logic in line_protocol.py for handling timestamps

Take a look and let me know what you think :smiley:. Maybe @aviau can also weigh in.

@matt-snider no problem, and quite happy for yours to be merged instead if it handles things more robustly. I needed the feature right away so couldn't wait for someone else to implement it, and I thought I might as well send a PR in since I didn't know how long it would be before anyone else actually dealt with it (and the original PR where the discussion was happening didn't seem to be going anywhere fast).

Yep, I understand, especially considering the original PR was opened nearly a year ago...
The important part is that we get this feature merged! :smile:

Thank your for your contribution!

Hi @aviau, did you even take a look at my PR? As I mentioned, I don't think this accurately solves #264.

It does. You are setting a time when the point is created.

Correct me if I'm wrong but won't all points receive approximately the same timestamp, as they are generated only when _json_body() is called. So depending on how quickly the loop runs, the precision used, etc, they may end up being sent over the wire with an identical timestamp.

The timestamps were originally equivalent because InfluxDB was setting one when receiving the batch. I don't know how quickly _json_body() runs but I wouldn't expect timestamps to be the same. We can also move the timestamp generation to when the user creates the point from the serieshelper.

This is exactly the approach I took because it results in more accurate timestamps and rules out any chance of accidental loss of data (i.e. due to a race condition).
Look I'm not advocating my approach over @grundleborg 's just because I want to have my code merge or anything like that. But if we're implementing automatic timestamps, shouldn't they be accurate to some degree? What about the case where I'm using a batch size (e.g. 500) and those points now all end up with the timestamp generated immediately before being sent?


Form gets confused once two payment modifiers use the same payment processor

When having two payment modifiers that use the same payment processor, the selection form does not seem to react to clicks on the second of those modifiers. The data however is saved server side.
I guess the problem is that the is_active method of PaymentModifieruses the payment_provider namespace instead of it's own identifiert to find out if it is active.

Has this been fixed now with the patch in cookiecutter-django-shop?

OK, got it!


Ridge Racer V, PS2, 8BitDo Pro2

BlueRetro firmware version
1.8.1
BlueRetro firmware specification
HW1
BlueRetro firmware variant
System specific
BlueRetro hardware type
External adapter dongle (1 port only)
Manufacturer
Chinese, 2 different builds , same problem
System used
Sony PlayStation 2
Bluetooth controller brand & name
8BitDo Pro2
What is problem? (only list ONE problem per report)
When you get into a race, the accelerator (X button) is pressed and held by the BlueRetro firmware, not physically.
The car redlines, then for some reason, X button stops working altogether.
The game isn't playable.
I chose manual and confirmed you can change gears up and down.
What did you expect to happen?
That the buttons keep working once a race starts
Attach files like logs or Bluetooth traces here
No response

I tried this game with OPL and it worked fine for me.
Can you retry with latest v1.9 beta?
https://github.com/darthcloud/BlueRetro/actions/runs/6437347093

Feel free to reopen if you retest and still have the issue.


switch api url by build mode

Pull Request Test Coverage Report for Build 92

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.14%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/page/time_table_page.dart
0
2
0.0%

Totals

Change from base Build 86:
0.0%

Covered Lines:
1

Relevant Lines:
715

💛  - Coveralls


Allow method binds to take Object subclasses as arguments

Using some new C++ features, this PR adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some of the invalid includes mentioned in #53295 to be removed. Second, helper methods in Tree, whose sole purpose was to cast arguments to TreeItem *, are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
Fixes #21160, closes #20538, supersedes #57169

That's pretty cool! There might be quite a few other occurrences of bindings where return types or arguments have been limited to Object *, Node * or Control * when they could be more specific (I'd suggest searching for them with regex on the class reference XML), but it's probably better to wait for the Variant change to be approved and merged before changing further bindings in a follow-up PR.

@akien-mga; Just to be clear, you recommend that OP do not change any more bindings in this PR?

Does this mean that we can bind LineEdit as the type of the method I changed in #48920? Awesome! But yes, it's probably best to get the Variant changes in first before we start changing things around the engine.

My take on this was #42060, @reduz was not happy with implementation because that would require using VARIANT_OBJECT_CAST(Object) for each class.
So yeah... I confirm this would be useful, even from the user perspective (I'd also remove specific casts from the Goost module in two places (https://github.com/goostengine/goost):

https://github.com/goostengine/goost/blob/e9bfff141053c93432855b16f8bdef00dca76ff1/core/types/linked_list.h#L185-L193
https://github.com/goostengine/goost/blob/eb27535042f8c89f6f81acc192909baabc0e939d/core/math/geometry/2d/poly/poly_node_2d.h#L112-L117

Therefore, this PR supersedes #42060 as well.

VARIANT_ENUM_CAST could probably even be removed with the same technique, but using std::is_enum. That change should go in a separate PR if it's desired, though.

Would still be good if @neikeq gives it a review

Second, helper methods in Tree, whose sole purpose was to cast arguments to TreeItem *, are no longer necessary.

Why were they needed? Is it because of DEFVALs?

Second, helper methods in Tree, whose sole purpose was to cast arguments to TreeItem *, are no longer necessary.

Why were they needed? Is it because of DEFVALs?

Because you could not bind methods with Object derivatives as arguments/return value with ClassDB before this PR. So we use Object everywhere even if there is a way narrower type expected, and then cast and check inside of every method. I guess whoever made Tree just added a wrapper to save a few lines.

Yeah, see https://github.com/godotengine/godot/pull/57205/files#diff-73e583f1bfffebc5e30a925726bf40f32d72daaea940bf229e71479e98f8d1f7R339 - prior to this PR the only types that could be used in bindings were Object *, Control * and Node * because they had dedicated operators implemented in Variant (and this made Variant depend on node.h and control.h).

Ah, I see. I never realized we were using only those 3 object types in method signatures.
This looks fine then. Both PtrToArg (for ptrcall) and GetTypeInfo (for bindings generators) already handle this.

There might be quite a few other occurrences of bindings where return types or arguments have been limited to Object *, Node * or Control * when they could be more specific (I'd suggest searching for them with regex on the class reference XML)

So I had a look at occurrences for type="Object" in the class reference XML (rg -g'*.xml' 'type="Object"'), here's what I found.
Normal method bindings
Some cases that could be improved easily with the new feature:

#57351
#57355
There might be more in physics code specifically, I didn't look in depth but there's a number of getters returning Object and some might be actually always handling CollisionObject2D/3D (albeit via their RID).

Virtual methods
Virtual methods are bound with GDVIRTUAL* macros and those don't seem to support types more specific than Object *. I don't know if this can be improved. Here's an example:
scene/gui/control.h
301:    GDVIRTUAL1RC(Object *, _make_custom_tooltip, String)

(This could return Control * in theory.)
PropertyInfo
I found a few under-specified object types for some signals declared like this:
scene/gui/base_button.cpp
506:    ADD_SIGNAL(MethodInfo("pressed", PropertyInfo(Variant::OBJECT, "button")));

This can be worked around via a stringly typed hint in PropertyInfo like this:
ADD_SIGNAL(MethodInfo("pressed", PropertyInfo(Variant::OBJECT, "button", PROPERTY_HINT_RESOURCE_TYPE, "BaseButton")));

(Even though it's not a Resource type but a Node here.)
This is used throughout the engine for signals and properties to specific their actual type in the bindings.
Might be worth looking into to see if a solution similar to the one used here could make it possible to detect these types properly without having to rely on manually specified strings.

This would be nice to implement in 3.x, if that doesn't break compatibility.

I'm not sure if this can be implemented in 3.x, since if constexpr is a C++ 17 feature, and 3.x uses C++ 14. I couldn't get this to compile with a regular if statement, but maybe that could be worked around by using a constexpr bool first, and then testing that.

@Xrayez I tried briefly to make this work on 3.x with a constexpr bool, but the compiler unfortunately didn't cooperate. I don't have any major projects with Godot ongoing, so I'd prefer to focus on 4.0 as much as possible. I can continue to try and get this working on 3.x if you want me to, but it may be most efficient for goost to use your VARIANT_OBJECT_CAST macro instead.

No worries, since it's possible to workaround, it's not a big deal. Sometimes I do forget to cast custom objects, though (just like VARIANT_ENUM_CAST).


[stable/node-local-dns] make prometheus scraping optional

There are cases where prometheus endpoints are continuously being scraped by services like Datadog
We need the option to be able to turn them off as this can increase costs on custom metrics by Datadog
Currently, the chart allows you to enabled serviceMonitor and skip the Promethues annotations from the service, but this can cause an error when service monitor CRD is not installed in the cluster.

Cool, pull requests welcome 🙂


Failed to process target - context deadline exceeded - ERR_NAME_NOT_RESOLVED

Therer are 2 errors coming in the Output :

[screener] (ERR) Failed to process target https://www.aa/aa: error capturing screenshot for https://www.aa/aa: error navigating to https://www.aa/aa/: context deadline exceeded
even tho https://www.aa/aa exists and is giving the output when we run normally
AND

[screener] (ERR) Failed to process target https://www.xx/xx/x: error capturing screenshot for https://www.xx/xx/x: error navigating to https://www.xx/xx/x: navigation failed: net::ERR_NAME_NOT_RESOLVED
even tho https://www.xx/xx/x exists and is giving the output when we run normally

Hi @jhammond2012
Thank you reporting this. A fix has been pushed and build is now passing. Can you confirm?
go install github.com/root4loot/screener@cad7bb59b371ccf7494702b4ff5a48a23c1b8326

go install github.com/root4loot/screener@cad7bb59b371ccf7494702b4ff5a48a23c1b8326

Installed using: go install github.com/root4loot/screener/cmd/screener@latest
and seems everything working for now
so closing this comment
will reopen if any issues
Regards

Shamim

Exerything was working good suddenly this error pop up :

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7bac06]

Hm. Let me look into this. Get back to you shortly.

@jhammond2012 spotted the issue and should now be fixed. Sorry for the inconvenience. Can you confirm again?
If updating with @latest does not help then try:
go install github.com/root4loot/screener/cmd/screener@cd6c7ae5ca4a6ff09cc453d6b09d6cbaac653810

It seems like the error still exists :

Also I got :
[screener] (ERR) Failed to process target https://....: error capturing screenshot for https://....: error navigating to https://.../: context deadline exceeded

@jhammond2012 The output suggest you are not running the latest version.
Based on the segfault, you are running v0.0.0-20241016145244-cad7bbS9b371 but the patched version should be v0.0.0-20241016174605-cd6c7ae5ca4a
It is likely that you have two binaries installed. Did you move the screener binary at some point? The following command should point to /home/kali/go/bin/screener. It could be that your GOBIN is not correctly set up.
which screener


x/tools/gopls: support markdown in completion items

What version of Go, VS Code & VS Code Go extension are you using?

Go 1.19.4
VSCode 1.74.0
Go extension 0.36.0

Describe the bug
Go 1.19 introduced a lot of new additions to doc comments, in particular, a syntax to add hyperlinks to the text. The hyperlinks render correctly when hovering the entity with the cursor, but not in autocomplete.
package foo

// Just says [hello].
//
// [hello]: https://en.wikipedia.org/wiki/Hello
func Hello() string {
    return "hello"
}

Screenshots or recordings
The VSCode extension correctly renders the hyperlinks when hovering the function declaration:

And it also correctly renders the hyperlinks when hovering the function calls:

However, in autocompletion, the new hyperlink syntax disappears, and we read instead the raw syntax formatting:

The autocomplete box should also render the hyperlinks.

It is possible to change gopls to provide this new behavior:

CompletionItem.Documentation is presently a string, but should be a MarkupItem (or at least accept MarkupItem)
Gopls has to look at the client's optional SignatureHelpClientCapabilities.SignatureInformation.DocumentationFormat list to see if the client prefers markdown to plaintext. (as vscode does)
And if so, convert the documentation to markdown (as is already done for Hover).
(it's probably not quite this simple...)

Getting this done is dependent on some existing CLs getting approved first. (and prioritization, of course, but it looks worth doing)


Feature: Psbt fee checks

Closes #2061
This is a WIP draft of the new API explained in #2061.
I hope this is a starting point for discussions on the shape of the API.
TODO:

[ ] Write tests once the API has settled.

Also, I keep getting these annoying errors in rust-analyzer and I can't figure out how to configure RA to make them go away.
Anyone know what's going on? (The terminal never complains, cargo check, cargo test, build whatever are all fine... it's just RA)

I have learned to live with those rust-analyzer errors. Also interested in seeing if anyone else has a solution for those.

It's also not obvious which direction this ratio goes, nor how the "value" is determined in a multi-output transaction, so I think people are likely to use this incorrectly.

I think this is the biggest issue. Since "fee rate" is a concept that 99 out of 100 devs will understand without much explanation, but this new "fee ratio" concept being "the fee in satoshis divided by the total value in satoshis of all outputs including change if any" is a new concept... and because of that, it's hard to grasp what's a "very large" number for that.
I myself had to run some scripts on a local indexed set of transactions and got medians, means, and distributions of fee ratio before I came to the conclusion of 10x being high enough to reduce false positives.
Going back to genesis, in general people sent larger BTC amounts (when you include change, even moreso) and fees were usually fixed at 0.0001 BTC until around 2017. So fee ratio averaged out to about 0.03 ish.
In more recent times, there's a lot more variance, but the median is still around 0.1 and the mean is around 0.3 (meaning if the sum of outputs is 0.1 BTC, your fee is 0.03 BTC)
When I looked into outliers, I found that 10.0 and above tend to jump up to 90.0, 120.0, etc. (I think the famous over-pay from the other day was a fee ratio of about 150.0) and there were not a lot of instances of txes in the 10.0 - 50.0 range.

That said, I think that maybe this can be fixed with better documentation. The point of this new code is not to represent some sort of network phenomena, but rather to prevent fat-fingered sends of large fees (usually stemming from forgetting / clobbering the change output somehow).
I am still open to removing the fee ratio part, but I'd like to hear some other opinions about it before I remove it.

If this is, as stated, just fat-finger protection then I don't think we need the added complexity of a fee ration - just pick a sane default for the max fee rate.

Removed Ratio
Use FeeRate for fee rate
Rebased on master

Removed the new internal functions and instead use the existing fee() method.

Any comments on https://github.com/rust-bitcoin/rust-bitcoin/pull/2064#discussion_r1336670709 this?
"An absurdly high fee rate of 6250000 sats / kwu"
vs
"An absurdly high fee rate of 25000 sats / vByte"
Considering sat/vByte is the accepted unit right now..... I think using the latter would be better.
Thoughts?

I have very little preference, but agree that "sat/vbyte" is probably better and more familiar.
I'd also like to stick a .00 onto the number, basically as a PSA that "1 sat/vbyte" is not actually the minimum possible fee and that feerates are not discretized in terms of feerates. This has been a mildly annoying confusion ever since mempool websites became popular.

I was reviewing while you force pushed so I might have commented on old state.

I'm going to add tests later today.

Maybe tomorrow. heh.

Looking good man, can you re-write the PR description please (since there is not a descriptive commit log on the patch we are relying on the PR description for context on this work).

Updated the main post.

FWIW I rekon this is ok to go in before release although it is not explicitly mentioned in the release tracking discussion.


Splitting input reference file

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

The full test on the farm took less than 2 hours to finish after splitting:
https://tower.nf/orgs/sanger-tol/workspaces/github-ci/watch/1idBZO6ooa0B5D
This time completely depend on the longest reference sequence, which is 1/3 of the whole fasta files.
19 sequences in total in the fasta file, split them into 8 files by putting the small sequence together.


Crashes when loading create blocks

https://mclo.gs/kL42jPZ crash report
i made a creative world, placed an andesite casing, and it crashed

using the latest version for sodium v4, v5 is incompatible with create

Does downgrading to Fabric API 0.88.1 fix this?

Downgrading to Fabric API 0.88.1 worked for me.
Had the same problem, many transparent Create blocks (glass trapdoor, copycat panel...) would crash the game.
Current versions:
Fabric API 0.88.1
Create 0.5.1.d
Sodium 0.4.10
Indium 1.0.21

Closing (Indium 1.0.21 is incompatible with Fabric API 0.89+)


Create deliverable/artefact templates

[ ] SWOT template
[ ] Strategic Plan
[ ] Strategic Objectives
[ ] Balanced Score Card


commander move most orb subscriptions to uORB::Subscription

Requires https://github.com/PX4/Firmware/pull/12040 before merging.

Ready for review and testing.

Tested on Pixhawk 2 Cube V3:
Modes Tested
Position Mode: Good.
Altitude Mode: Good.
Stabilized Mode: Good.
Mission Plan Mode (Automated): Good.
RTL: Good.
- Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoin activate RTL and see landing behaviour.
- Notes
No issues noted, good flight in general.
Logs
https://review.px4.io/plot_app?log=bd5eb15e-df7f-449b-b098-2ffe1988a015
https://review.px4.io/plot_app?log=4ee85f3d-6458-4e40-a232-7ade181f4cb7

Tested on Pixhawk 4 Mini v5
Modes Tested

Position Mode: Good.
Altitude Mode: Good.
Stabilized Mode: Good.
Mission Plan Mode (Automated): Good.
RTL (Return To Land): Good.

Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoint then trigger RTL and see landing behavior.
Notes
No issues noted, good flight in general.
Logs

https://review.px4.io/plot_app?log=02511448-7dcd-4eed-8d86-ab291171f213
https://review.px4.io/plot_app?log=85282397-d80a-4660-b969-40470362860b

Tested on Pixhawk Pro v4
Modes Tested

Position Mode: Good.
Altitude Mode: Good.
Stabilized Mode: Good.
Mission Plan Mode (Automated): Good.
RTL (Return To Land): Good.

Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoint then trigger RTL and see landing behavior.
Notes
No issues noted, good flight in general.
Logs
https://review.px4.io/plot_app?log=8b7e2582-148b-4972-964e-120f7703feac


Why doesn't Redux have a complete solution for solve itself own problem?

Hello everyone.
I have deepest studied React and Redux and now come up an question.
We have to add Reselect and redux-thunk in our project, for example. But, I don't understand yet the real reason for I add these vendors too.
May we add all these improvements directly into Redux? Otherwise, new vendors will born.
Thank you

Adding things into core that not everyone needs or wants doesn’t make a lot of sense. It will bloat the core and lead to larger bundle sizes for all consumers. Thunks were originally baked into redux but got split out later into their own module.
One of the strengths of redux is its modularity and that it doesn’t prescribe how you have to write your selectors or how you want to handle asynchronous tasks.

Exactly. Redux is intentionally small so as to not be prescriptive about how you build your app. Handling side effects, like async, is unique to an application's needs. We don't want to include anything that forces you to use a certain structure counter to those needs.
https://redux.js.org/docs/introduction/CoreConcepts.html

Yep. Redux was deliberately built as a small extensible core and designed to promote an ecosystem of addons.  See my ReactBoston talk on the Redux ecosystem for more information, as well as my post The Tao of Redux, Part 1: Implementation and Intent.

Hi @johanneslumpe  @timdorr @markerikson
Make a sense for me now
Thank you so much for your feedback guys.


Update metrics-tolerance.md

@frachkid : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Properly capitalise GitHub link

currently the generated link says "Login with github"; it'd be nicer if it said "Login with GitHub". this pr makes it so.

Unfortunately, I think I'm against this. If there are presentation-level concerns such as this, I think it should be left to the application. Here's how we do it in carnvial.
You'll also notice that that code is an example where end-users are relying on the plugin's name ("github") being stable. It's unfortunate we don't have type-level safety for that, but it does indicate that a change like this has wider impact (i.e. risk) than we might think.
WDYT @jferris ?

alright, i understand
it's a shame, because the i currently grab out the auth list by calling apLogin on all the plugins in authPlugins master, and it comes back nicely for the GoogleAuth2 one, that is in yesod; and it means i don't need to hardcode the list
(i have exactly the same sitation with the dummy login).
but i can accept not changing it; given that it is a breaking change. it's not a huge deal.

Yeah, I wish we had thought to use "GitHub" originally. Unfortunately, I think the compatibility concerns are too much friction for me right now. Thanks for understanding.


@include() Not Working

I tried including a blade file in the same folder inside the layouts folder but it flags an error

The Error

Ok, i was able to fix this with  @include('store::layouts.flashMessage')
I just added the module name instead of @include('layouts.flashMessage')


[Bug] Alignment issue when going back from launching the app

Description
Press the back button after launching the app and observe alignment issue on page load
Steps to reproduce the behaviour:

Important Details

Version: Cloud
OS: Win10
Browser: Chrome
Environment: Deploy preview (7304)

@haojin111 Can the bottom bit marked in the screenshot also be looked into?

The first app card does not have the three dots ...


Different output of 'openssl enc' by using OpenSSL_1_0_2-stable and OpenSSL_1_1_0-stable

When using OpenSSL_1_0_2-stable
# echo 'someTextIWantToEncrypt' | ./apps/openssl enc -base64 -e -aes-256-cbc -nosalt -pass pass:mySecretPass
Got the following output:
KPkBkGJ9bs4YHvh24xz7m9jTlYWm1LcIFcWR0DwY4PU=
But when using OpenSSL_1_1_0-stable
# echo 'someTextIWantToEncrypt' | ./apps/openssl enc -base64 -e -aes-256-cbc -nosalt -pass pass:mySecretPass
Got the following output:
qEVrLSGgA7/aGJtlsiR6v24fMwQCIIkFl4jBJgA+gso=
Please help check.

What  happens if you add -md md5 to the command?

@levitte , got the same output by adding  -md md5
The output is:
KPkBkGJ9bs4YHvh24xz7m9jTlYWm1LcIFcWR0DwY4PU=

Good.
The reason you get a difference is that the default hash algo used to process the password has changed.  In pre 1.1.0, it was md5.  In 1.1.0, it was changed to sha256.  The -md option is used to specify the desired hash algo explicitely.

@levitte Thanks for your explanation!

https://www.openssl.org/docs/faq.html#USER3


Added new provider

Added new provider alekberg.net

This is just test code, we don't intend to build a full list of providers here.
Are you having other issues with the DoH support?  Please report an issue if you are.


BPL-1 SDLC Wiki Page

User Statement
As a Software Engineer, I want access to a Wiki page for documenting the Anansi project's software development life cycle (SDLC) so that others can quickly understand the goals of each iteration.
Engineering Response
We will create a new space in the repository wiki for presenting information related to our development life cycle.
Technical Breakout
I opted for creating one SDLC page describing the development process and another Iteration Planning page for documenting each Iteration Plan.
Acceptance Criteria

[x] A space briefly describing the SDLC being used for Anansi development is made available in the repository wiki
[x] A space describing Iteration 1 goals is made available in the repository wiki
[x] A space describing Iteration 2 goals is made available in the repository wiki

The SDLC page was created here and the Iteration Planning page was created here.


Load up to 300 projects fron the openclimateaction endpoint

There are over 100 projects in the list now, we can avoid having to implement pagination by loading them all in one go

Both PR's live now @andrew! 🙏 Didn't know it was limited to a 100 when omitted. :-) Thanks!


Git user name and password only configured when registry repo does not exist

In particular, https://github.com/cenotelie/cratery/blob/main/src/services/index/git.rs#L121-L122 are only called when https://github.com/cenotelie/cratery/blob/main/src/services/index/git.rs#L105-L107 fails. However if we have a remote repo that we can clone successfully on first start it will never do the user name/email configuration and subsequent git push operations will fail with git complaining that it doesn't know who we are.
I think this could be sorted by moving lines 121-122 into just before https://github.com/cenotelie/cratery/blob/main/src/services/index/git.rs#L97. This would then also properly update the settings if someone changed the env variables for the user name and email.  But maybe I am missing something? As it stands at the moment, I need to manually go into the running container and fix-up the git config (or do it as part of the image build, which feels even more wrong).
Happy to submit a PR if you agree with the assement/suggested change?

Hmm, that is actually a bit more complicated. The git configuration can only be done when there is a git repo (as it stores the configuration in the checkout, not the global config), but the initialisation will push the newly git-init'ed repo to the remote (if a remote is configured), so it will need to have the username/email configuration done by that point. So my thought of moving it to after all the git things are done is not going to work either. Possibly it might need to be structured differently to disentangle creating a repo, pushing it, and configuring changes.

@woutersl thanks! This seems to have solved the issue I was facing.


Initial Backend Commit

Initial Laravel App
This pull request adds initial files and configurations required to set up a laravel app. The app is designed to serve as the backend for our current project and will handle the server-side logic required to power our frontend components.

@idoko-emmanuel don't we already have that PR #70

@Ghostscypher, I had instructed him to open one I see how his behaves with Codacy too... We are still using yours so just keep on building

An experimental duplicate


Cut release-1.19 branch

The k/k branch has been created, we should create a similar one for perf-tests repo

/assign @wojtek-t

Done.
Opening a revert of the PR above.


Make --irods-package-version optional with --use-static-image by providing a strong default of "latest release"

This may require changes to how --irods-package-version works. The package version for iRODS packages include information such as the build number and the platform (in some cases). The end user (i.e. myself) would probably prefer to just enter the release number and have the system work out the rest (e.g. 4.3.0 vs 4.3.0-1~focal).
Because of this, the build arguments for the static images as well as the iRODS package version argument. It will be difficult to work out which build number to use if we ever release more than 1 per platform.

It will be difficult to work out which build number

can it somehow ping/gather the 'latest' from the truth of packages.irods.org?

I suppose we could, yes.
Would it be worth providing the ability for the user to specify a build number other than the latest one?
If not, then the difficulty is avoided because we can just gather the info from packages.irods.org or even hard-code the info in the environment.
If so, having a system that can both derive and allow one to specify may prove difficult with respect to the static images since conditionals are not a thing in Dockerfiles. Would require some rethinking on the current approach.

yeah, we could ignore the build number requested for the static ones - you get the latest.   if you're looking to build your own images... sure, we'll listen.


Lag Spikes

Describe your bug here.
During songs the game will lag for a split second but for no reason. Causing you to miss notes when you did press keys. Doesn't happen on 0.5.2h. Really annoying to happen on a RHYTHM GAME.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I didn't touch anything, I wasn't modding. New build. Game just lags.

This seems to happen to me, you and @ZeitHeld, so it isn't a personal issue, that's the best I can tell you about this.


credentials

the credentials are correct but it says that are wrong

Bad API request, use POST request, not GET

https://pastebin.com/api/api_login.php?api_user_password=_________&api_dev_key=___________________&api_user_name=___________

the credentials are correct but it says that are wrong

I test the parameters in the url using curl, and it works fine, ant solution here?

I test the parameters in the url using curl, and it works fine, ant solution here?

Dont use it anymore...


Fix typo / information mismatch in README

Since the input for birthdate is new Date(1991, 11, 24), the logs should read 1991-11-24 and not 1991-12-24.

Thanks for the PR!
The month in a javascript date starts at 0 for January, 1 for febuary and so on. So the original log is correct.

Wow, I should really know better than to have missed that!
Thank you for your gracious answer, @excitement-engineer.


Tweak DiagnosticEngine's 'aka' logic to only kick in for typealiases.

Previously we had more ad hoc logic that tried to decide if it was worth desugaring a type based on its structure. Now we instead look for a typealias that might actually benefit from desugaring, and if we don't find one we won't show the 'aka' note.
(This will be used for #8987.)
Some of the output involving function types gets a lot wordier from this, but I'm not convinced that's the wrong thing to do. The mismatch might be within a typealias!

@swift-ci Please test

@swift-ci Please test Linux

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - a487b9699a4bbde3b4cb6d0462a5e356915652e8
Test requested by - @jrose-apple

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - a487b9699a4bbde3b4cb6d0462a5e356915652e8
Test requested by - @jrose-apple

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - a487b9699a4bbde3b4cb6d0462a5e356915652e8
Test requested by - @jrose-apple

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - a487b9699a4bbde3b4cb6d0462a5e356915652e8
Test requested by - @jrose-apple

@swift-ci Please test macOS


Performing the operation "Assign managed entities to the specified SLA Domain. The assignment event runs synchronously." on target "".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): Y
Invoke-WebRequest : {"message":"Resource with managed ID VirtualMachine:::3xxxx
xxx-vm-xxx not found"}
At C:\Users\xxx\Documents\WindowsPowerShell\Modules\Rubrik\<IP_ADDRESS>\Private\Submit-Request.ps1:15 char:42

...  -response (Invoke-WebRequest -Uri $uri -Headers $header -Method $met ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

It sounds like this could be due to vSphere not refreshing after this VM was provisioned. Was this a new VM?

Yes this was the case where a new VM was created but Rubrik was not refeshed.
Thanks

Can the Sync-RubrikTag have a parameter to limit to either a local SLA domain or remote SLA domain?

@leeapps Sounds reasonable. Can you submit an issue (and potentially a PR) addressing this request? I'm going to close this issue as it appears to be resolved.


Can't it be used in the class component

Can't it be used in the class component?

See https://github.com/codemotionapps/react-native-dark-mode/issues/27#issuecomment-559917799


Smart car controller

The car can be controlled by the terminal commands using the MQTT broker to be controlled manually as well as make it drive autonomously
:ballot_box_with_check: Definition of Done checklist

[ ] Meaningful title and valuable description in pull request
[ ] Code change tested manually if not covered by automated tests
[ ] Pull request linked to one or more issues/stories
[ ] Acceptance criteria of the linked stories satisfied
[ ] Code change comprehended by those who approved it
[ ] State of target branch maintained or improved after the code change

Oh, I misinterpreted your mail 😅 I thought you meant I should remove both gitignore and .DC_Store files. I'll try to change it now
Hämta Outlook for Androidhttps://aka.ms/AAb9ysg

From: Dimitris Platis @.>
Sent: Thursday, May 5, 2022 6:04:20 PM
To: DIT113-V22/group-15 @.>
Cc: Alaa Taleb @.>; Assign @.>
Subject: Re: [DIT113-V22/group-15] Smart car controller (PR #31)
@platisd commented on this pull request.

In .gitignorehttps://github.com/DIT113-V22/group-15/pull/31#discussion_r866076369:

@@ -1,70 +0,0 @@

-## C++ stuff
You shouldn't remove this 😅
—
Reply to this email directly, view it on GitHubhttps://github.com/DIT113-V22/group-15/pull/31#pullrequestreview-963611806, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AV26LJQADNAFX2ZHGJA2MUTVIPWQJANCNFSM5VFMXF5A.
You are receiving this because you were assigned.Message ID: @.***>

My thought was that we keep the first one since it was the first assignment and the second one is what we should use when integrating with the app. Should we just keep one of the files?
Hämta Outlook for Androidhttps://aka.ms/AAb9ysg

From: Dimitris Platis @.>
Sent: Thursday, May 5, 2022 9:42:46 PM
To: DIT113-V22/group-15 @.>
Cc: Alaa Taleb @.>; Assign @.>
Subject: Re: [DIT113-V22/group-15] Smart car controller (PR #31)
@platisd commented on this pull request.

In arduino/smartcar/SmartCarController.inohttps://github.com/DIT113-V22/group-15/pull/31#discussion_r866255596:

@@ -0,0 +1,262 @@
+#include

Why are there two arduino files?
—
Reply to this email directly, view it on GitHubhttps://github.com/DIT113-V22/group-15/pull/31#pullrequestreview-963871611, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AV26LJRY2OPWL6AVAERLHNLVIQQDNANCNFSM5VFMXF5A.
You are receiving this because you were assigned.Message ID: @.***>

You shouldn't have any code that's not used, so please remove any dead code and make sure all code is built/verified on CI.

Ok, I'll do that. Thank you so much for the feedback.
Hämta Outlook for Androidhttps://aka.ms/AAb9ysg

From: Dimitris Platis @.>
Sent: Thursday, May 5, 2022 11:32:39 PM
To: DIT113-V22/group-15 @.>
Cc: Alaa Taleb @.>; Assign @.>
Subject: Re: [DIT113-V22/group-15] Smart car controller (PR #31)
You shouldn't have any code that's not used, so please remove any dead code and make sure all code is built/verified on CI.
—
Reply to this email directly, view it on GitHubhttps://github.com/DIT113-V22/group-15/pull/31#issuecomment-1119066615, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AV26LJXNZZ2OUV3NFYTAVN3VIQ47PANCNFSM5VFMXF5A.
You are receiving this because you were assigned.Message ID: @.***>

I think I've completed all the requested changes. Is there anything I need to do?

Looks good.


node 'assert' errors snapshot tests

Thanks @dmitriiabramov! This is now a part of https://github.com/facebook/jest/pull/3217


Rollback

The Backup feature is enhanced such that it can export settings, mappings, templates, and aliases in addition to documents.

A Rollback feature is implemented to restore settings, mappings, templates, and documents of a specific DB version.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:


Migrate to django-prices 2.1

Closes #4337, fixes #4636, fixes #4378.
TBD

[x] Rebase
[x] https://github.com/mirumee/django-prices/pull/90;
[x] Release of django-prices 2.1

Dashboard 1.0

[x] Update product form
[x] Update product variant form

GraphQL

[x] Fix accidental refactor of inputs
[x] Deprecate invalid naming in the graphql types

Pull Request Checklist

[ ] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] Database migration files are up to date.
[ ] The changes are tested.
[x] GraphQL schema and type definitions are up to date.
[ ] Changes are mentioned in the changelog.

Here is the report for bb87c0ca5a267b2f76714a8837a9ba04d1c48f0d (NyanKiyoshi/saleor @ django-prices/migrate/2.0)
Base comparison is b76eaeedff0e9996a119fd537aada7e45685585d.
No differences were found. (click me)

# api.benchmark checkout
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  add billing address to checkout     	         34	         34	             20
  add shipping to checkout            	          7	          7	              0
  checkout payment charge             	         14	         14	              0
  complete checkout                   	          6	          6	              0
  create checkout                     	         48	         48	             24

# api.benchmark homepage
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  retrieve main menu                  	          5	          5	              0
  retrieve product list               	          4	          4	              0
  retrieve secondary menu             	          5	          5	              0
  retrieve shop                       	          2	          2	              0

# api.benchmark product
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  product details                     	         13	         13	              3

# api.benchmark variant
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  retrieve variant list               	         15	         15	              8

A lot of the money logic really needs refactoring as it was never meant to be able to handle multiple currencies. Overall, it should be able to handle having different currencies, e.g. the storefront owner changed the default currency. But it is not meant to be achievable.
For now we only want to upgrade to the latest django-prices to fix a blocking bug (#4378) and once we get the time for it, we will implement proper multi-currency support, which shouldn't depend on the settings' default currency.

@NyanKiyoshi you're right, a lot of code will have to be refactored for multi-currency support. I think the hardest part will be sorting and filtering stuff. And of course checking if values in sum has the same currency - or catching exception.


add documentation

Something to generate API docs from. It's very hard to read the code otherwise. Besides, we can use it to define doctests, as I understand.

Originally posted by @uniqueg in https://github.com/elixir-cloud-aai/ga4gh-sdk/pull/13#pullrequestreview-2155118075

While adding documentation in the code, I figure we could also address this along with it: https://github.com/elixir-cloud-aai/ga4gh-sdk/pull/13#discussion_r1663330492

I also agree that providing documentation should be done continuously, with every proposed code change (as well as tests).


Disable twin desired property update test #1132

Currently, after service API version change to "2019-07-01-preview", the device client no longer receives twin desired property updates over amqp/amqpws. These tests are disabled against the following tracking issue: https://github.com/Azure/azure-iot-sdk-csharp/issues/1132

/azp run


chore: bump lagoon-core chart version

Do not merge.

This was just testing workflow cancellation failures with no changes.


sunshine: Update links

GitHub repo moved over the @LizardByte

[x] I have read the Contributing Guide.

/verify


CustomPickerLocation crashes if closed within 2 seconds after movement

If movements are made on the map and then widget is closed within 2 seconds, flutter crashes. If closed after 2 seconds, it works fine. This is the error I get:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: setState() called after dispose(): _AnimatedCenterMarker#40cb6(lifecycle state: defunct, not mounted)
Seems like the problem is raised from this part in osm_flutter/lib/src/widgets/picker_location.dart:
Timer createTimer() => Timer(const Duration(seconds: 2), () {
        setState(() {
          isMoving = false;
        });
      });

Disposing the controller did not help.

i will do hotfix for that


No Invoice and no possibility to made Rating

Q
A

Bug report?
[ ]

Feature request?
[ ]

Support request?
[ X ]

Hello Cocorico.  Can you help or advise.  After Booking as Accepted and Paid and Time of Booking passed, Asker can See invoice in Payments block as Payments Done , but Offrer don’t see anything. Also this no possibility to Rate and Write Comments (Asker and Offrer don't see this buttom). Is it Error, or I didn’t turned on something in config.

Hello @igorcherry
In the installation guide section cron you will see all the cron you need to enabled.
For your issue the Bookings validation cron php app/console cocorico:bookings:validate --env=dev should fix it.
You can of course execute the command manually.

Thank you a lot, it was really topic with Crons


ASC-1072 Source functions for system-tests gating

This commit adds the sourcing of the functions.sh script in order to
ensure that the RPC_RELEASE and RPC_PRODUCT_RELEASE environment
variables are set prior to the execution of any system-tests for gating.
(cherry picked from commit 7d82da8f3c7dd09c5419223af9961ac470bd73f4)
Issue: ASC-1072

Thank you for submitting a pull request to this project!
Once all check jobs have passed and the pull request has received a
sufficient number of reviews, the repository's gate jobs can be triggered by
adding a comment of :shipit: to this pull request.
When the gate jobs have completed successfully, this pull request will get
merged automatically.


More test-cases

Just focused on my usage of KECCAK_256 - should add more test-cases and for more variants

just added all Nist test-vectors - should be enough for now


NOT WORKING

hi, i've been using older versions for awhile no problem. I installed newer version of inkscape and the extension v2.4. when i click on the extension 2 days ago there was an error but no gcode file. now i reinstalled them both. when i click on the extension nothing happens...

Take a look at my issue: https://github.com/JTechPhotonics/J-Tech-Photonics-Laser-Tool/issues/76
Might help close this one.
Inkscape version: 1.1.2 on MacOS 10.12.6

long path was the problem. folder in folder in folder... goes like this lol

long path was the problem. folder in folder in folder... goes like this lol


Allow configuration of AWS Asset RemovalPolicy to prevent accidental deletion

I had added a Dynamo DB to my sst config, used it in the app including writing some data.  In the process of my work I had to checkout a prior version which caused sst to destroy the DB, so I lost data (only a couple of records so just a minor inconvenience).
AWS CDK allows one to configure the removal policy for assets, to avoid the risk of inadvertant deletion.  This does introduce some complications in terms of naming conflicts, and does potentially leave one needing to adopt an existing resource rather than creating a new one.
This may therefore be beyond the scope of SST and in the realms of backup/restore policies, even when in dev environments.

Do you mean on a per resource basis as opposed to on the entire app? https://github.com/sst/ion/blob/dev/examples/aws-api/sst.config.ts#L7

Do you mean on a per resource basis as opposed to on the entire app? https://github.com/sst/ion/blob/dev/examples/aws-api/sst.config.ts#L7

Aah, I'd not spotted that as an option.  The docs suggest this is around behaviour during an explicit sst remove, whereas I experienced this during a deploy (because I'd checked out an earlier commit whilst working on a bug). Those options for remove are presumably to give an option to 'detach' oneself from SST and leave all the resources in place?
It's easy to get into a mindset that deploy 'adds' resources, rather than removes them, which is what caught me out.  I'd forgotten that I'd added Dynamo between the dev head and the commit I checked out.
In some ways, during deploy, a warning that you are removing storage resources (S3, Dynamo) requiring confirmation (and a --force/yes flag for CI) would seem like a useful behaviour, and/or an explicit removal policy per resource (so the config can define whether its ok to remove or not) would be more robust, especially if the default is to retain.
As an aside, could you then re-add the resource and have it adopted back, or would this just create a name conflict and you'd either have to rename anyway or manually import rather than have SST manage the resource?

 We'll have some docs on this moving forward. It'll be the same process when you migrate from SST2 to Ion.
You can set retain on a per resource basis as well: https://www.pulumi.com/docs/concepts/options/retainondelete/, you can pass this in to a Bucket for example through the opts https://ion.sst.dev/docs/component/aws/bucket/#constructor

Closing for now.


Upgrade Hugo to v0.22

https://github.com/spf13/hugo/releases/tag/v0.22
Thanks!

Thanks for your contribution.


code block does not work with theme

In the default theme, if I insert the following text:
```clojure
(println "Hello world!")
```
it renders as a code block.
  (println "Hello world!")

When I try to enter such code in laurel theme, it does not work.

@fredguth this is an issue in Logseq, not caused by the theme. In logseq there is an issue when pasting codes into code block. Please exit edit mode and paste your code directly into the code editor directly instead.

I am new to logseq, what do you mean by exit edit mode and paste in code editor directly?

https://user-images.githubusercontent.com/584378/142096687-aee45380-d17f-429f-90af-fb74adb111aa.mp4
Like this

I am not sure if we are talking about the same problem.   When I try using the quote, it appears as all quotes are in the same place. If I change the theme, I see that I pressed quote many times:
https://share.getcloudapp.com/bLudlqRQ

Have you tried the same steps to reproduce for other themes? I think theme is not the root issue though.


Define an index.css

Hi @mrmrs!
Some cool tools like npm-css and postcss-import require a index.css to import as node modules, what do you think to add this file to all tachyons?
A SUITCSS example with component-grid.
If you need some help let me know :smile:

Sounds like a good idea. Pull request(s) for this would definitely be welcome.
Sent from my iPhone

On Aug 13, 2015, at 10:22 AM, Filipe Linhares<EMAIL_ADDRESS>wrote:
Hi @mrmrs!
Some cool tools like npm-css and postcss-import require a index.css to import as node modules, what do you think to add this file to all tachyons?
A SUITCSS example with component-grid.
If you need some help let me know
—
Reply to this email directly or view it on GitHub.

Ops! Didn't see you already defined the style at packages.json. That takes care of the import so my suggestion doesn't make much sense, my bad.
Sorry to bother, thanks for the attention.


[FEATURE] keepalive on listen variables

Description of the requested feature
A keepalive property on deflisten that would make the variable continue to get updated even when not used in any windows.
Proposed configuration syntax
(deflisten var
  :keepalive true
  `command`)

Additional context
Currently variables defined with deflisten which aren't used in any open window don't get updated (which is good most of the time). But this can cause problems: a side bar (which stays closed more often than) with a workspace display (updates rarely) doesn't keep up with the last focused workspace if it is closed, and shows an outdated value when opened. A work around for this is to use the variable in an hidden (0px width/height) window that stays open.

I'd recommend just making whatever script you're using have a way to read the current value (i.e. which workspace is focused) immediately, in addition to listening to changes. that way, your value will be accurate on startup of eww, too.


undefined method `log' for nil:NilClass

Hi,
I have a sinatra app and try to log some messages in the controller, here is some sample code:
get '/foo' do
   logger.info('foo')
end

I am using Trinidad as the application server. And here is the exception I got from the stacktrace.
Error: Couldn't handle error: response committed
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `log' for nil:NilClass
	at JRuby::Rack::ServletLog.write(file:/Users/oou/.rvm/gems/jruby-1.6.6/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/jruby/rack/servlet_log.rb:18)
	at Rack::CommonLogger.log(/Users/oou/.rvm/gems/jruby-1.6.6/gems/rack-1.4.1/lib/rack/commonlogger.rb:39)
	at Rack::CommonLogger.call(/Users/oou/.rvm/gems/jruby-1.6.6/gems/rack-1.4.1/lib/rack/commonlogger.rb:22)
	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:258)
	at Rack::BodyProxy.close(/Users/oou/.rvm/gems/jruby-1.6.6/gems/rack-1.4.1/lib/rack/body_proxy.rb:17)
	at JRuby::Rack::Response.write_body(file:/Users/oou/.rvm/gems/jruby-1.6.6/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/jruby/rack/response.rb:111)
	at JRuby::Rack::Response.respond(file:/Users/oou/.rvm/gems/jruby-1.6.6/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/jruby/rack/response.rb:50)
Error: Couldn't handle error: response committed
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `log' for nil:NilClass
	at JRuby::Rack::ServletLog.write(file:/Users/oou/.rvm/gems/jruby-1.6.6/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/jruby/rack/servlet_log.rb:18)
	at Rack::CommonLogger.log(/Users/oou/.rvm/gems/jruby-1.6.6/gems/rack-1.4.1/lib/rack/commonlogger.rb:39)
	at Rack::CommonLogger.call(/Users/oou/.rvm/gems/jruby-1.6.6/gems/rack-1.4.1/lib/rack/commonlogger.rb:22)
	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:258)
	at Rack::BodyProxy.close(/Users/oou/.rvm/gems/jruby-1.6.6/gems/rack-1.4.1/lib/rack/body_proxy.rb:17)
	at JRuby::Rack::Response.write_body(file:/Users/oou/.rvm/gems/jruby-1.6.6/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/jruby/rack/response.rb:111)
	at JRuby::Rack::Response.respond(file:/Users/oou/.rvm/gems/jruby-1.6.6/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/jruby/rack/response.rb:50)

Thanks,
Owen

I am running other environment other than development.

unfortunately, had no luck reproducing this :
-- config.ru :
require 'rubygems'
require 'bundler/setup'
require 'sinatra'

set :run, false
set :environment, :production

get '/foo' do
  logger.info('foo')
  'foo'
end

run Sinatra::Application

-- Gemfile :
source :rubygems

gem 'sinatra', '1.3.2'
gem 'jruby-rack', '1.1.3'

gem 'trinidad', '1.3.2', :require => nil

used the same 1.4.1 version of rack, could you provide more details about your application ?

Closing this, looks like 90285d1 don't closed it automatically


Fixes 2 little issues in dev around the TextField default values

Issues in dev (and 1.10 i think)

When you 1st create e.g a page that has a text field that has a default value. If you input a non empty string and publish, then the default value is used (not your input). The 2nd time it's ok.

Idem but leaving the input empty, then the default value is used, ok, but if it's a token, the token itself is returned, it is not resolved. The 2nd time it's ok.

Note: To allow default values tokenization, a 2nd TextField driver has been added that runs after (because of a Core dependency in Orchard.Fields) the original.
Fixes

In the original driver i've re-integrated field.Value = viewModel.Text;.

In the 2nd driver, if the default is not null and the value is equals to the default, then the default is tokenized. if it's not a token, the same value is returned by the tokenizer. Note that if the default is not null, because of 1., here the field value can't be null, but i've kept a null check on it.

There is another issue when you add a field to a content type, TextField appears 2 times in the list box. There is an open PR #6520 by @infofromca that will fix it.
Best.

Can you target it for 1.10? The default value feature is totally unusable right now. Have you tried with the other fields?

@sebastienros as i remember, for comparison i've tried the input field that was working for the default values (Here we are talking about content type fields, not dynamic forms element fields).
I'll try other fields this night, and target 1.10.
Best.

@sebastienros
Here the other content fields where i've tried default values. I've used tokens for the fields that tokenize their default value.

Input field ok.
LinkField ok.
BooleanField ok. It's a special case where the user always input a value implicitly. So, here the default value is used if the content item is new (no draft and no published version).
NumericField ok. But here the default value is used only if the field is not Required. Maybe useful to only check if the value is leaved empty, as for the TextField.
DateTimeField ok and here also, the default value is used only if the field is not Required. Maybe because when required we don't want to use the default value in case it's not a valid dateTime. But this can be checked as done for a regular user input.

I will target 1.10 but let me know if i've to update other fields regarding the interaction between th Required option and the use of the default value.
Best.

If you can fix the Required issue please do so. But it's time to sleep also.

I agree!

@sebastienros
Anyway, when Required the field can't be left empy because there is client validation (it's not an option as with dyn forms). So, this PR can be left as it is and only needs to target 1.10.
Best


Test.watch not working

I'm submitting a ...  (check one with "x")
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

Current behavior
Test.watch script works only for the first time. Any change after the start will end up in an error.
Expected behavior
Watch files and run tests.
Minimal reproduction of the problem with instructions
Steps to reproduce:

clone repository
run npm run test.watch
make a change in any file
you will see an error message: 404 not found.

Please tell us about your environment:

Angular Seed Version: bdce1ef

Node: node --version = v6.9.4

OS: Windows 10

+1 - I am observing the same issue. Repeated tests during start.deving do work.
Chrome 56.0.2924 (Windows 7 0.0.0) ERROR: '(SystemJS) XHR error (404 Not Found) loading http://localhost:9876/base/dist/dev/app/home/home.component.spec.js
	Error: XHR error (404 Not Found) loading http://localhost:9876/base/dist/dev/app/home/home.component.spec.js
	    at XMLHttpRequest.wrapFn [as _onreadystatechange] (http://localhost:9876/base/node_modules/zone.js/dist/zone.js?ab03b4d15db0adaeada6236a504a0823156c8a72:1039:29) [<root>]
	    at Zone.runTask (http://localhost:9876/base/node_modules/zone.js/dist/zone.js?ab03b4d15db0adaeada6236a504a0823156c8a72:151:47) [<root> => <root>]
	    at XMLHttpRequest.ZoneTask.invoke (http://localhost:9876/base/node_modules/zone.js/dist/zone.js?ab03b4d15db0adaeada6236a504a0823156c8a72:345:33) [<root>]
	Error loading http://localhost:9876/base/dist/dev/app/home/home.component.spec.js'

@Cselt fixed the issue in https://github.com/mgechev/angular-seed/pull/1828.


Add more action for rules, like delete, default and so on

currently, we only support replacing the airflow operator param name and replace the default value of parameter, but some time we may need to remove the parameter not supported by the dolphinscheduler.
So we need some config more general
before
name: DummyOperator
description: The configuration for converting Airflow DummyOperator to DolphinScheduler Shell task.

migration:
  module:
    src: airflow.operators.dummy_operator.DummyOperator
    dest: pydolphinschsduler.tasks.shell.Shell
  parameter:
    - src: task_id
      dest: name
    - src: bash_command
      dest: command
      default: echo 'Airflow DummyOperator'

after
name: DummyOperator
description: The configuration for converting Airflow DummyOperator to DolphinScheduler Shell task.

migration:
  module:
    src: airflow.operators.dummy_operator.DummyOperator
    dest: pydolphinschsduler.tasks.shell.Shell
  parameter:
    - src: task_id
      action: replace
      - name: name
    - src: bash_command
      action: replace
      - name: command
        default: echo 'Airflow DummyOperator'
    - src: addition
      action: delete

fix by #30


postgis plugin not loaded anymore

Hi there,
While running kosmtik, I got this error:
[Error: Could not create datasource for type: 'postgis' (searched for datasource plugins in '/home/ybon/Code/js/kosmtik/node_modules/mapnik/lib/binding/lib/mapnik/input')  encountered during parsing of layer 'landuse_gen0' in Layer]

There is a postgis.input in the directory printed in the error message:
leonardo:~/C/m/riverboat (master !=) ll /home/ybon/Code/js/kosmtik/node_modules/mapnik/lib/binding/lib/mapnik/input                                                                   2s 989ms
total 29M
41648608 4,0K drwxr-xr-x 2 ybon ybon 4,0K 17 juin  11:36 ./
41648606 4,0K drwxr-xr-x 4 ybon ybon 4,0K 17 juin  11:36 ../
41624914 972K -rwxr-xr-x 1 ybon ybon 971K 28 oct.   2021 csv.input*
41624915  12M -rwxr-xr-x 1 ybon ybon  12M 28 oct.   2021 gdal.input*
41624916 244K -rwxr-xr-x 1 ybon ybon 242K 28 oct.   2021 geobuf.input*
41624917 1,1M -rwxr-xr-x 1 ybon ybon 1,1M 28 oct.   2021 geojson.input*
41624918  12M -rwxr-xr-x 1 ybon ybon  12M 28 oct.   2021 ogr.input*
41624919 584K -rwxr-xr-x 1 ybon ybon 581K 28 oct.   2021 pgraster.input*
41624920 560K -rwxr-xr-x 1 ybon ybon 557K 28 oct.   2021 postgis.input*
41624921 168K -rwxr-xr-x 1 ybon ybon 167K 28 oct.   2021 raster.input*
41624922 164K -rwxr-xr-x 1 ybon ybon 162K 28 oct.   2021 shape.input*
41624923 1,6M -rwxr-xr-x 1 ybon ybon 1,6M 28 oct.   2021 sqlite.input*
41624924 540K -rwxr-xr-x 1 ybon ybon 540K 28 oct.   2021 topojson.input*

So to try to understand what's going on, I've tried to run node-mapnik tests, and here is what I see on the console:
Mapnik LOG> 2022-06-18 10:47:50: Problem loading plugin library: /home/ybon/Code/js/node-mapnik/lib/binding/lib/mapnik/input/postgis.input (dlopen failed - plugin likely has an unsatisfied dependency or incompatible ABI)

I did not change anything as far as I can remember on my kosmtik install since last time I used it (successfully), but time has passed, so I may have updated some system package that breaks something for mapnik, but with those logs I don't how where to investigate.
I then tried to reinstall kosmtik from scratch, but I end up with the same error.
Any clue how to debug this ?
Thanks a log in advance :)
Yohan

Try this:
$ python
>>> import ctypes
>>> ctypes.CDLL('/home/ybon/Code/js/node-mapnik/lib/binding/lib/mapnik/input/postgis.input')

I pulled that from https://github.com/mapnik/node-mapnik/wiki/Troubleshooting#the-specified-module-cannot-be-found. It might needed updated to latest python in case something changed with python 3. Either way, the idea here is that python has better error reporting and should show what is actually wrong with the dynamic library/loadable module on your system. My hunch is the same as yours: updating some system package impacted the plugin. When compiling the node-mapnik libraries we made every effort to statically link as many libraries as possible, so that there would be no breakages if the system changed. But the postgis plugin depends on SSL, which requires openssl, which was too much to statically link.

Thanks Dane for the tip!
In [2]: ctypes.CDLL('/home/ybon/Code/js/node-mapnik/lib/binding/lib/mapnik/input/postgis.input')
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
Input In [2], in <cell line: 1>()
----> 1 ctypes.CDLL('/home/ybon/Code/js/node-mapnik/lib/binding/lib/mapnik/input/postgis.input')

File /usr/lib/python3.10/ctypes/__init__.py:374, in CDLL.__init__(self, name, mode, handle, use_errno, use_last_error, winmode)
    371 self._FuncPtr = _FuncPtr
    373 if handle is None:
--> 374     self._handle = _dlopen(self._name, mode)
    375 else:
    376     self._handle = handle

OSError: libcrypt.so.1: cannot open shared object file: No such file or directory

So I installed libxcrypt-compat (I'm on arch), and it worked again, yay :)
One more beer I own you, ha ha! :)


Fetch: get response body in case of 5xx response

In case of 5xx response, exception.Message contains nothing useful:

The server is based on Akka-Http, and handler is as following:
val route: Route =
    handleExceptions(exceptionHandler) {
        path("account") {
            post {
                entity(as[AccountDto]) { account =>
                complete(...a Future that can fail...)
            }
        }
} ~ ...

val exceptionHandler = ExceptionHandler {
    case e: Exception =>
        extractUri { uri =>
            println(s"Request to $uri could not be handled normally: ${e.getMessage}")
            complete(HttpResponse(StatusCodes.InternalServerError, entity = e.getMessage))
        }
}

In short, what I need is get the following response body in case of 5xx response:

Is it possible?

@Zaid-Ajaj Thank you! I ended up with this function:
module Fetch =
    let fetch url (init: RequestProperties list) : JS.Promise<Response> =
        promise {
            let! resp = GlobalFetch.fetch(RequestInfo.Url url, requestProps init)

            match resp.Status with
            | 200 -> return resp
            | 500 ->
                let! respText = resp.text()
                return! raise (exn (respText))
            | _ ->
                let! respText = resp.text()
                return! raise (exn (sprintf "Http error from server occured while making request to %s: %s" url respText))
        }


⚠ Bofrost.be has degraded performance

In 781385b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1626 ms

Resolved: Bofrost.be performance has improved in 13c4e44.


⚠ AnimeBytes has degraded performance

In dd9c673, AnimeBytes ($AB) experienced degraded performance:

HTTP code: 200
Response time: 1853 ms

Resolved: AnimeBytes performance has improved in fdefe69 after 6 minutes.


igmpproxy: 0.3 -> 0.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/pali/igmpproxy/releases.
meta.description for igmpproxy is: "A daemon that routes multicast using IGMP forwarding"
meta.homepage for igmpproxy is: "https://github.com/pali/igmpproxy/"
meta.changelog for igmpproxy is: "https://github.com/pali/igmpproxy/releases/tag/0.4"
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4 with grep in /nix/store/ppp07b4vb6k4qk8ra9amr1gzqcjpffki-igmpproxy-0.4
found 0.4 in filename of file in /nix/store/ppp07b4vb6k4qk8ra9amr1gzqcjpffki-igmpproxy-0.4

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
igmpproxy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ppp07b4vb6k4qk8ra9amr1gzqcjpffki-igmpproxy-0.4 \
  --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 igmpproxy https://github.com/r-ryantm/nixpkgs/archive/e62ea07dfe3961c33f2cf60f6614de6f9b9b537d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ppp07b4vb6k4qk8ra9amr1gzqcjpffki-igmpproxy-0.4
ls -la /nix/store/ppp07b4vb6k4qk8ra9amr1gzqcjpffki-igmpproxy-0.4/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 run on x86_64-linux 1

1 package built:

igmpproxy

Maintainer pings
cc @sdier for testing.

@ofborg build igmpproxy igmpproxy.passthru.tests


Home: "Listen Live" button link

On the "Listen Live" button that shows on the Home page during meetings, we currently use a general link to the media player. The Board Chair has mentioned there's an issue with this because the general media player shows video streaming suggestions instead of the meeting Agenda, and this has caused concern from the public.
Example:

Omar may have found a solution. If it sounds feasible to you to implement it, we'd like to make it a high priority.
Possible solution:
It looks like the live meeting link from InSite uses the GUID for the meeting in the player. We can get this from the API as shown below and generate the link that would be used for each meeting.
System and safety GUID: B0A322B8-71C3-4197-8719-E9C3E8980D95
9 AM
http://metro.granicus.com/mediaplayer.php?event_id= B0A322B8-71C3-4197-8719-E9C3E8980D95
Construction GUID: 985A2FD9-06D6-4EB0-A384-27779F62AE01
10:15 AM
http://metro.granicus.com/mediaplayer.php?event_id=985A2FD9-06D6-4EB0-A384-27779F62AE01
Executive Management GUID: 3DEE4755-B576-4BCD-93BE-39FB381BAF81
11:30 AM
http://metro.granicus.com/mediaplayer.php?event_id=3DEE4755-B576-4BCD-93BE-39FB381BAF81
Examples:

@shrayshray - this seems like a possible solution. We'll need to build out the functionality to scrape/import the GUID (which we currently do not do). Otherwise, adding the link itself should not be a heavy task. As you suggest, we'll make this issue top priority for November.

@shrayshray, we have code ready to implement this enhancement. A couple questions:
(1) Is there any chance that a current event will not point to one of these custom-built links? For instance, five minutes before a meeting, when the "current meeting" view shows, will those meetings have appropriate links? I am concerned that, instead, the user might see something like this: http://metro.granicus.com/mediaplayer.php?event_id=AC0C87D8-4C4C-4006-A3F1-5CC2AB7A8675
If so, then we can show the generic link, until the custom link returns what we expect. Does that seem like a reasonable solution for you?
(2) I'd like you to see this enhancement before we deploy it to production. I can hardcode some "current events" on the staging server, and you and Omar can take a look. Is there a good day and time when we can test this? Any time on Monday should work for me.

@reginafcompton
(1) There is always a chance for something unexpected :) -- I think it makes a lot of sense to do what you suggest, and show the generic link until the custom link returns what is expected. It makes sense to also use the generic link when there are multiple meetings scheduled for the same time slot, like there were this morning.
(2) Sounds good! How about 11am PT/1pm CT on Monday?

@shrayshray sure, we can do 11am PT/1pm CT on Monday. Basically, I'll hardcode some current events, and then, you can see if it's what you expect. I'll have something up at 11am your time, and I'll send an email to confirm, too.
I'll use the generic link for multiple events, as you suggest.

Closed by #239


Allow users to use CSV based formats for rules

Description
Our rules can be simplified into a simple format, which is the node to match against and what actions to run when this node is found. Using this concept, our rules can be written in a simpler CSV format to allow users to easily add replacements they have.
Solution idea(s)
One simple format can be:
Namespace/Class/Node/ActionType/ActionName/ActionValue

Sticking with JSON based rules- can reopen if needed


Suggestion: change browserlist package version from caret (^) to tilde (~)

I initially noticed on the homepage that it is using browserlist 1.4.0, but somehow didn't notice the caret sign and submitted an issue.
Now I'm wondering isn't better to use the tilde sign, so that once browserlist has a minor update, it's  also required to rebuild/update the site? Browserlist changelog tells they are following semver and if browser stats are updated there will be a minor change.

Thanks! 👍


when people join in the middle of a song oh dear

When someone joins in the middle of a song it does not mute their audio in Twlio, which works very poorly

When someone joins in the middle of a song it does not mute their audio in Twlio, which works very poorly


Can't outpaint/inpaint, error messages in webui batch interface

Hello,
I've successfully installed the plugin, and can generate images, but I'm unable to outpaint, inpaint or use img2img.
I see 2 issues, but I don't know how they're related or what the fix is.
First, when I attempt to outpaint or inpaint the image that I've generated does not load in the image or mask previews. The screenshot below is what I see. I'm guessing the correct path to the created image isn't set, but I can't find where to change it.

Second, I get the errors below in the SD webui batch interface when I hit the generate outpaint button. I'm not sure if this is related to the fact that I can't see the images in the preview above, or separate issue.
Has anyone run into this, or know what the solution is?
Traceback (most recent call last):
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\base.py", line 78, in call_next
message = await recv_stream.receive()
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\anyio\streams\memory.py", line 114, in receive
raise EndOfStream
anyio.EndOfStream
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Stable Diffusion WebUI\modules\api\api.py", line 145, in exception_handling
return await call_next(request)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\base.py", line 84, in call_next
raise app_exc
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\base.py", line 108, in call
response = await self.dispatch_func(request, call_next)
File "C:\Stable Diffusion WebUI\modules\api\api.py", line 110, in log_and_time
res: Response = await call_next(req)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\base.py", line 84, in call_next
raise app_exc
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\gzip.py", line 26, in call
await self.app(scope, receive, send)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call
raise exc
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\routing.py", line 718, in call
await route.handle(scope, receive, send)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\fastapi\routing.py", line 237, in app
raw_response = await run_endpoint_function(
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\fastapi\routing.py", line 165, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\Stable Diffusion WebUI\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\Stable Diffusion WebUI\modules\api\api.py", line 363, in img2imgapi
p.init_images = [decode_base64_to_image(x) for x in init_images]
File "C:\Stable Diffusion WebUI\modules\api\api.py", line 363, in
p.init_images = [decode_base64_to_image(x) for x in init_images]
File "C:\Stable Diffusion WebUI\modules\api\api.py", line 59, in decode_base64_to_image
if encoding.startswith("data:image/"):
AttributeError: 'NoneType' object has no attribute 'startswith'

I meet this problem too.
But I notice that your selected area must be a square instead of rectangular when you use inpaint/outpaint.

Unfortunately I have my selected area set to a fixed 512x512, but that doesn't make a difference. It's almost like the inpaint/outpaint function doesn't have the correct path for the generated images, but I can't find a setting for that. I can see the txt2img generated images in the appdata\roaming sub-folders.
I don't know if it's related, but I also get a popup error the first time I generate a new image after loading everything. It still generates the image, and the popup doesn't occur after that on additional image generations.


Update statement block execution

Hello,
I'm doing a simple UPDATE on a table and it is getting stucked on Exec command.
I simplified the code to this, and the problem is also happening:
func update() {
	fmt.Println("updating")

	_, err = db.Exec("update CONNECTION set w_first_name=:1 where w_doc=:2", "test", "test")
	if err != nil {
		fmt.Println(err)
	}

	fmt.Println("updated")
}

I tried with prepared statments, and transactions. If I execute the same statement on SQLPlus, it works.
Enabling LOG with oci8.Driver.Logger = log.New(os.Stdout, "oci8 ", log.Ldate|log.Ltime|log.LUTC|log.Llongfile) show nothing.
Is it a known BUG on the driver, or maybe a problem in my env?
I can do inserts and queries without problems..

My database connection is also simple:
oci8.Driver.Logger = log.New(os.Stdout, "oci8 ", log.Ldate|log.Ltime|log.LUTC|log.Llongfile)

	log.Println("starting database connection")
	db, err := sql.Open("oci8", fmt.Sprintf("MY_USER/MY_PASS@MY_HOST:1521/MY_SERVICE"))
	if err != nil {
		log.Fatalf("error on open db connection: %s", err)
		return
	}

	if db == nil {
		log.Fatalf("error on open db connection: %s", err)
		return
	}

Does the db.Exec give an error? If so, what is the error? Did you make sure the table is setup correctly and there is a w_doc set to test?

The db.Exec never returns, it got stucked in this call, so it never give the error.
The table is correct.. The same command (copy, pasted and altered just the params) works on sqlplus.
I'm testing this right now, and I saw it works some times, when I change:
where w_doc=:2
to where w_doc like :2
It would be a error on my statement, but why is it stucking?

Try the full table name, with the schema/user.
If that doesn't work, try with context timeout set.

I had already tried the timeout context. The exec is stopped and I got the timeout error from the context. However the data is not updated.
I tried now the SCHEMA.TABLE format.. and got the same problem.

I guessing the problem is a transaction blocking the data on database.. I will look for that.

Ok. If you think it is an issue with go-oci8 please provide a full example, Go code with SQL create, insert, update, etc.

Its was a transaction locking my data. Tks by the support.

Welcome, glad you got it figured out :)


pinocchio: 2.6.11-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository pinocchio to 2.6.11-1:

upstream repository: https://github.com/stack-of-tasks/pinocchio.git
release repository: https://github.com/ros2-gbp/pinocchio-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: 2.6.10-1

Closing and reopening to kick the GitHub jobs.


Support of http proxy in option

In node-fetch, we can pass a http.Agent with custom proxy settings in options with node-https-proxy-agent.
So maybe we can set http/https proxy settings in option from NotifmeSdk or read from environment variables like http_proxy and https_proxy, then all providers just read this option and pass it to node-fetch.
ref:
https://github.com/bitinn/node-fetch/issues/79
https://github.com/bitinn/node-fetch/issues/195

Ok, I'll look into it.

@KeanuPang You can now pass a NOTIFME_HTTP_PROXY env variable. If it's set, it'll create a node-https-proxy-agent.
https://github.com/notifme/notifme-sdk/pull/34
https://github.com/notifme/notifme-sdk/releases/tag/v1.6.0

It's great works, I love this library notifme. Thank you.

@KeanuPang
Thanks, I'm glad to hear that.
If I may ask, could you tell me how you use this lib? (context, providers...) It's useful to know in order to improve it ;)