[breaking change][dart2js] Stop minifying Invocation.memberName in noSuchMethod

Change Intent
class Foo {
  void noSuchMethod(Invocation i) => print(i.memberName);
}

void main() {
  dynamic foo = Foo();
  foo.bar;
}

Ordinarily, this program will print Symbol("bar") with dart2js, as expected. When compiled with --minify, however, it will print, e.g. Symbol("gB") (or whatever minified name is chosen).
This change will stop --minify from affecting the result.
Justification
The language spec mandates the behavior of the Invocation that is generated by noSuchMethod forwarders and passed to noSuchMethod. In particular, it specifies that memberName is the name of the noSuchMethod-forwarded method. (Note that this is the name as it appears in the source code, not the compiled output.)
Making this change improves our spec conformance and has the added benefit of causing several nSM-reliant SDK tests to start passing on minified dart2js configurations.
Impact
There's unlikely to be any impact to the semantics of programs. In order to observe the change in behavior, one would need to rely on the value of Invocation.memberName in a noSuchMethod when building with --minify.
Note that the minified name would have changed frequently already, and there's not much you can do with the resulting symbol in Dart.
@sigmundch points out that some users may be relying on --minify to obscure method names which may leak internal details. IMO, it's poor security to depend on minification for this, but in any case, only noSuchMethod-forwarded names can leak, so if developers are avoiding nSM, there's no issue.
Mitigation
Unless we add a flag for this (which seems like overkill), I don't think there is actually a way to mitigate impact if it occurs.
Change Timeline
ASAP
Associated CLs
https://dart-review.googlesource.com/c/sdk/+/338947

fine by me

@vsmenon: In general, each nSM forwarder will have a single minified name replaced with the original identifier. In practice, this is zero to very little code size increase because (1) that's not very much in proportion to the program and (2) people tend to avoid using nSM. Apps we looked at were either unaffected or had insignificant size increases. The Flute benchmark actually decreased in size due to an interaction with how we minify .call selectors.

thanks - lgtm

Given the minimal impact to code size, LGTM.


Basic Dynamic Programming Problems

this pr is wrt https://github.com/fnplus/interview-techdev-guide/issues/442
added

longest common subseq
longest common substr
longest increasing subseq

Thanks for contributing!


fix: correct the kube-proxy cluster-cidr arg for ko

This PR is going to fix #19350 .
/language ko

/assign

Thanks for PR.
Checked Upstream PR(#19358 ).
Upstream PR must merge before this PR merge.
/lgtm
/hold

/lgtm

I checked upstream pr.
/unhold
/assign @gochist
@gochist this pr approve plz.

/approve


add test that shows IN query bug with spring query

There seems to be a bug with $in queries via Spring Data repository query, e.g.:

@Query("{'other' : {$in: ?0 }}")

Thanks, will take a look

Thanks, it was a problem between Long and Integer (typical Spring problem, I don't know if it's not a performance killer in real app ?)


[QOL] Increase sidebar scrolling speed and allow changing on which side of the screen it is on

Default sidebar scrolling speed is very slow, as instructed I set mine to delta*50 and it's much better, since precision is not very important  in this case I would like to suggest adjusting default value to something higher (50 seems good for me).
Also I would like to ask for the ability to change on which side of the screen the sidebar is, since I'm using two monitor setup and browser is on my left monitor using the menu can be annoying because it's very thin. (Although this is not very important)

Extract this into your dynmap/web/css folder to get the menu on the right side (GWM 0.3.x only). Make sure to do a Ctrl-F5 to see the results. css-left-world-sel.zip


Typechecking Partial<> works differently for generic types

TypeScript Version:  2.1.1 (what's running on the playground)
Code
This works
interface Data {
    a?: "a"|"b",
    b: number,
    c: "a" | "b"
}

type Patch = Partial<Data>
function copyFields(target: Data, source: Patch): Data {
    for (let id in source) {
        target[id] = source[id];
    }
    return target;
}

function makesrc(): Data { return {b: 1, c: "a"}}

/*1*/copyFields(makesrc(), {d: "d"}); //Should (and does) give an error
/*2*/copyFields(makesrc(), {a: "d"}); //Should (and does) give an error
/*3*/copyFields(makesrc(), {c: "d"}); //Should (and does) give an error

//I don't want to specify all the source properties
/*4*/copyFields(makesrc(), {b: 2}); //Should not (and doesn't) give an error
/*5*/copyFields(makesrc(), {a: "b"}); //Should not (and doesn't) give an error

But the generic version doesn't
interface Data {
    a?: "a"|"b",
    b: number,
    c: "a" | "b"
}

function copyFields<T>(target: T, source: Partial<T>): T {
    for (let id in source) {
        target[id] = source[id];
    }
    return target;
}

function makesrc(): Data { return {b: 1, c: "a"}}

/*1*/copyFields(makesrc(), {d: "d"}); //Should (and does) give an error
/*2*/copyFields(makesrc(), {a: "d"}); //Should (and does) give an error
/*3*/copyFields(makesrc(), {c: "d"}); //Should (BUT DOES NOT) give an error

//I don't want to specify all the source properties
/*4*/copyFields(makesrc(), {b: 2}); //Should not (and doesn't) give an error
/*5*/copyFields(makesrc(), {a: "b"}); //Should not (BUT DOES) give an error

I expected no change in type safety in the generic version.

Error in nightly.

Workaround. Specify type T:
/*3*/copyFields<Data>(makesrc(), {c: "d"});
/*5*/copyFields<Data>(makesrc(), {a: "b"});

duplicate of https://github.com/Microsoft/TypeScript/issues/12633, fixed by https://github.com/Microsoft/TypeScript/pull/12640. should be working as intended in TS 2.1.4

Thanks! Sorry for reporting the duplicate. I found it hard to find the right keywords to search for.


Build Parameters not populating

VSTS Extension you are using
TFS 2017
Where are you running it?
On-premise TFS 2017
Version of Extension/Task
2.10.2
Expected behavior and actual behavior
The build parameters are not populating because the build artifacts are in another project. When we hardcode the correct path to the project it works fine. I would be cool to have an option to select which project path to use.
Steps to reproduce the problem
Set up a build in one project
Set up a release definition in release manager in another project
Add the generate release notes task to the release notes definition
Map the release definition to the artifact of the build in the other project
Run the release definition and the generate release notes task

Hi
I'll try to look into this over the next week or so, I need to refresh myself on how the task works and we might be able to do something about this.

thanks sounds good

Any luck on this change?


option to remove m2ts links from showing up

Since Stremio cannot handle m2ts links, it would be great if there was an option to stop them from showing up. Not sure if Torrentio can see whether a link m2ts or not.

Tho some player can play them, so atm I don't plan to exclude them.

Could it be an option tho? Like a tick box when setting up torrentio. We can include/exclude if we want. Just like we can exclude HDR etc if we want to.


How to filter ModelSelect2Widget queryset with a request data?

I use django_tables2 with django_filter according to django_tables2 tutorial:
#views.py
from django_filters.views import FilterView
from django_tables2.views import SingleTableMixin

class FilteredCarListView(SingleTableMixin, FilterView):
    table_class = CarTable
    model = Car
    template_name = 'template.html'
    filterset_class = CarFilter

def get_queryset(self):
	return self.model.objects.filter(owner_id=request.user.id)

And now I want to have a filter's field and its ModelSelect2Widget with the same filter as in get_queryset() above. Something like this:
queryset = Car.objects.filter(owner_id=request.user.id).
For filter's field I've found this decision (I guess it is not DRY):
# filters.py
from .models import Car
from django_select2.forms import ModelSelect2Widget
def get_cars(request):
	return Car.objects.filter(owner_id=request.user.id)

class CarFilter(django_filters.FilterSet):
	car = django_filters.ModelChoiceFilter(
		queryset = get_cars,
		field_name='car',
		widget = ModelSelect2Widget(
		model = Car,
		queryset = Car.objects.filter(owner_id=request.user.id)
		search_fields=['car__icontains'])

But how to limit choises in ModelSelect2Widget to display current user's cars only?

Hi @kabrachups
Thanks for reaching out. You are already on a good track. I haven't used django_tables2 before, but I believe the following code should work:
import django_filters
from django_select2 import forms as select2

from . import models

class CarWidget(select2.ModelSelect2Widget):
    queryset = models.Car.objects.all()

    def filter_queryset(self, request, **kwargs):
        """
        Limit results to Car's owned by the current user.

        If the current user is not authenticated, return empty queryset.
        """
        if not request.user.is_authenticated:
            return super().filter_queryset(request, **kwargs).filter(
                owner_id=request.user.id
            )
        return self.queryset.none()

class CarField(django_filters.ModelChoiceFilter):
    widget = CarWidget

    def get_queryset(self, request):
        """
        Limit results to Car's owned by the current user.

        If the current user is not authenticated, return empty queryset.
        """
        if request.user.is_authenticated:
            return models.Car.objects.filter(owner_id=request.user.id)
        return models.Car.objects.none()

class CarFilter(django_filters.FilterSet):
    car = django_filters.ModelChoiceFilter(
        widget=CarWidget,
    )

Let me know if that works for you and if you have any further questions.
Best
-Joe

It does work! )))
Just one simple correction:
.filter_queryset(request, **kwargs)
to
.filter_queryset(request, term, queryset, **kwargs)
Thank you a LOT!

Perfect, happy it worked :)

Sorry to reopen this, but I'm trying to set-up full text search using a TrigramSimilarity class.  Here's how I'd do it from the command line:
from django.contrib.postgres.search import TrigramSimilarity
term = 'John Smith'
Author.objects.annotate(
    similarity=TrigramSimilarity("name", term), # `name` is the model field name, `term` is the search term.
).filter(
    similarity__gt=0.3,
).order_by("-similarity")

I tried following the pattern above, but it required asearch_fields parameter in the s2forms.ModelSelect2Widget Class, which overrode everything else.
I'm afraid I'm not too good at Class inheritance; I'm trying to cargo-cult what you've got here and it simply isn't working... :-)


perfectScrollbar('update') is not smooth

perfectScrollbar('update') is not smooth. The scrollbar is directly move to the final place without moving on Chrome, Firefox, Edge, IE11.
Note : I have a similar problème with touch on Window tablet. The scroll is not enough smooth when I touch the screen.

I found a solution to my problem. I use :
this.myElementwithScrollBar().animate({ scrollTop: scrollTopValue }, 750);
this.myElementwithScrollBar().perfectScrollbar('update');
I have now a smooth effect. It is working very well.

Hi Suzanne,
I am using


Fix generate bugs

Bug fixed:

Images not set when used randomized clients
Use same pair of CL-VL when one is set and the other not

Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)

Testing
Requires testing

[x] Yes
[ ] No

In case you checked yes, did you write tests?

[ ] Yes
[x] No

Codecov Report
Base: 90.81% // Head: 90.82% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (b754f52) compared to base (af63c7a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #241   +/-   ##
========================================
  Coverage    90.81%   90.82%
========================================
  Files           71       71
  Lines         3954     3958    +4
========================================
+ Hits          3591     3595    +4
  Misses         272      272
  Partials        91       91

Flag
Coverage Δ

unittests
90.82% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

cli/cli_utils.go
85.49% <100.00%> (ø)

cli/sub_gen.go
95.63% <100.00%> (+0.08%)
:arrow_up:

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

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


Change screen about planning to file an answer to stronger language

In stead of asking them if they are planing to file an answer it should be more along the lines of "you should file an answer and here's why" then link to MADE screen.

made edits here, will wait on final approval from an SME before closing


'Go to Definition' or F12 for .py AND .robot does not works  (works only for .py OR .robot)

Describe the bug
'Go to Definition' (or F12) for python (.py) AND robot (.robot) keywords does not work.
Either  'Go Definition'  works for python (.py)
Either  'Go Definition'  works for robot keywords (.robot)
To Reproduce
I've installed
Visual Studio Code version 1.32.1
Robot Framework Intellisense 2.5.0
Steps to reproduce the behavior:

Open .py file
Open .robot file
Set parameters in /home/user/.config/Code/User/settings.json
"rfLanguageServer.includePaths": [
"/*.robot",
"/*.py"
]
Click on 'Go to Definition' (or F12)  for .py
Click on 'Go to Definition' (or F12)  for .robot

Expected behavior
Step 4. 'Go to Definition' (or F12)  for .py is OK
AND
Step 5. 'Go to Definition' (or F12)  for .robot is OK
ISSUE current behavior
Either F12 works for .py but issue with .robot
or F12 works for .robot but issue with .py
Environment (please complete the following information):

VSCode version: 1.32.1
Extension version: Robot Framework Intellisense 2.5.0
OS: Linux x64 4.4.136-4

Extension output:
Please include the extension output with debug logging turned on.

Add setting "rfLanguageServer.logLevel": "debug"
Select View -> Output -> Robot Framework Intellisense Server
Reproduce the issue

Additional context
3. In /home/user/.config/Code/User/settings.json i also put
"rfLanguageServer.includePaths": [
"/*.robot",
]
or
"rfLanguageServer.includePaths": [
"/*.py",
]
I have same issue.
Either F12 works for .py but issue with .robot
or F12 works for .robot but issue with .py

My collegues have the same issue. Could you support us ? Thanks in advance

Having same issue.
For any python class based keywords, not autocompleting or showing definition is not working
Guessing, since the location of the python file is in dist location, this extension is not scanning the PYTHONPATH location for the py file, which is imported by the ROBOT ?

I believe your configuration is incorrect. If you use pattern /*.py or /*.robot, it will only match files in your root directory (/). If you want to include all .py and .robot files in the workspace, you can use the **/*.robot pattern.
There is a limitation that the extension can only parse files (robot or python) that are in the current workspace. So if you have opened a directory /some/my/dir only files in /some/my/dir and its sub-directories can be parsed by the extension.

Hi,
So, if I want to use python seleniumLibrary installed locally, I need to import it on my vscode workspace? Is there a way to do that without install a python virtual env on my workspace (have a link from the workspace to my local python site-packages)?


changing the value of "action" does not change "lockstate"

Hi,
when triggering the lock through a new value in "action" the "lockstate" is not change and the command is not transferred to the lock.

Any idea why this is the case?

Thanks for reporting the issue. Could you please change your instance to debug and provide the log ?

I am on V0.9.9 and I have both, Bridge and Web API set up.
`

nuki2.0
2019-05-08 21:32:07.813
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:54:45.869
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:38:55.003
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:38:24.985
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:35:25.159
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:34:54.938
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:31:54.685
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:28:54.783
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:26:24.905
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:25:54.516
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:24:54.772
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:24:24.578
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:23:54.463
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:22:24.633
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:21:54.377
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:21:24.357
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:20:54.281
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:20:24.361
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:19:54.104
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:18:54.252
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:18:24.527
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:18:05.209
info
Callback attached to Nuki Haustür.

nuki2.0
2019-05-08 20:18:03.966
info
Listening for Nuki events on port 9076.

nuki2.0
2019-05-08 20:18:03.927
info
starting. Version 0.9.9 in /opt/iobroker/node_modules/iobroker.nuki2, node: v8.15.1

nuki2.0
2019-05-08 20:18:03.857
info
States connected to redis: <IP_ADDRESS>:6379

nuki2.0
2019-05-08 20:17:58.171
info
Adapter stopped und unloaded.

nuki2.0
2019-05-08 20:17:58.162
info
Adapter stopped und unloaded.

nuki2.0
2019-05-08 20:13:09.671
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:12:39.676
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:10:09.748
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:09:50.607
info
Callback attached to Nuki Haustür.

nuki2.0
2019-05-08 20:09:49.447
info
Listening for Nuki events on port 9076.

nuki2.0
2019-05-08 20:09:49.437
info
No Nuki Web API token provided.

nuki2.0
2019-05-08 20:09:49.430
info
starting. Version 0.9.9 in /opt/iobroker/node_modules/iobroker.nuki2, node: v8.15.1

nuki2.0
2019-05-08 20:09:49.356
info
States connected to redis: <IP_ADDRESS>:6379

nuki2.0
2019-05-08 20:09:43.638
info
Adapter stopped und unloaded.

nuki2.0
2019-05-08 20:09:43.631
info
Adapter stopped und unloaded.

nuki2.0
2019-05-08 20:08:24.615
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:07:54.501
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:06:54.732
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:06:24.487
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:04:54.527
warn
Connection settings for bridge incorrect with ID 257086755! No connection established. See debug log for more details.

nuki2.0
2019-05-08 20:03:55.376
info
Callback attached to Nuki Haustür.

nuki2.0
2019-05-08 20:03:54.130
info
Listening for Nuki events on port 9076.

nuki2.0
2019-05-08 20:03:54.093
info
starting. Version 0.9.9 in /opt/iobroker/node_modules/iobroker.nuki2, node: v8.15.1

nuki2.0
2019-05-08 20:03:54.039
info
States connected to redis: <IP_ADDRESS>:6379

nuki2.0
2019-05-08 20:03:46.022
info
Adapter stopped und unloaded.

`

Thanks for the log. I won't be able to fix this until this weekend. Please go back to stable version 0.9.5, which should work fine.

Thanks for the quick replies! Let me know once you´re done I´m happy to test it out.

I will, thank you very much for your support.

Could you please change your instance to debug and post the debug details as well?

Please install current latest release v0.9.10 from Github via SSH:
iobroker url https://github.com/Zefau/ioBroker.nuki2
iobroker upload nuki2

I installed the v0.9.10 and the problem is gone! Thanks!
Would you still like to have the debug details?

No, that's ok. Thanks for the issue and your support.

I've the same problem, with v1.0.1.
Update in Sec: 20
If I restart the adapter, the state will getting right.

Can you please provide the log including a lock action that has been applied to your lock?
Please also post a screenshot of your current settings as well as the result when calling http://<bridgeIp>:<bridgePort>/callback/list?token<token> (https://developer.nuki.io/page/nuki-bridge-http-api-190/4#heading--callback-list).

2019-08-14 11:23:34.064 | debug | Received payload via callback: {"deviceType":0,"nukiId":xxx,"mode":2,"state":3,"stateName":"unlocked","batteryCritical":false}

Port 8080 ist zu niedrig und wahrscheinlich auch besetzt? Wundert mich, dass der Adapter aber trotzdem 51988 nutzt.
Sieht aber sonst gut aus. Der Payload wird ja offensichtlich über den Callback empfangen? Payload sieht auch korrekt aus.
Nach dem Log-Eintrag Received payload via callback kommt nichts mehr?

Nope

Ja

Bitte mal die aktuelle Version v1.0.2 von Github installieren. Da wird nun mehr im Debug-Log ausgegeben, um den Fehler einzugrenzen.

nuki2.0
2019-08-14 12:45:18.606
warn
Connection settings for bridge incorrect with ID<PHONE_NUMBER>! No connection established. See debug log for more details.

Das Objekt "lastAction" wird direkt aktualisiert.
"lockState" dagegen, bleibt, wie es ist.

Bitte schick mir das komplette Log, damit ich den Fehler eingrenzen kann.

https://cryptobin.co/ mit Passwort

Wie kann ich dir hier eine Nachricht schicken?

<EMAIL_ADDRESS>

Done

hast du auf v1.0.2 geupdated?
iobroker url https://github.com/Zefau/ioBroker.nuki2
iobroker upload nuki2

Ja, habe ich, aber er aktualisiert tatsächlich erst wieder nach dem Neustart, des Adapters.
Bin aber jetzt auch erstmal unterwegs und evtl. erst wieder spät am Rechner.

Frag mich nicht, was sich wie geändert hat, aber heute scheint alles richtig angezeigt zu werden.

Theoretisch könntest du den Fall schließen, wenn du der Meinung bist, es wäre erledigt.

 Nur, wenn ich die Tür via Schlüssel, Knopfdruck, oder App schließe, wird der Wert aktualisiert.

@philoxio @senger1985 I would appreciate if you could verify this issue on the new version v2.0.0 of this adapter. As of now, it is a release candidate and not 100% stable.
See https://github.com/Zefau/ioBroker.nuki2/issues/18#issuecomment-533825482 and https://forum.iobroker.net/post/304268.
Thanks in advanced

Should be fixed with nuki-extended v2.0.0


Crash when changing a collection thats filtered and bound to tableview

According to https://github.com/ReactiveKit/ReactiveKit/issues/59 I bind my filtered collection to a new collection, which is further bound to a tableview:
let entries: CollectionProperty <[String]> = CollectionProperty([....])
let filteredItems: CollectionProperty <[String]> = CollectionProperty([])

entries.filter{ randomString in
...
}.bindTo(filteredItems)

filteredItems.bindTo(tableView) {
....
}

Ehen I change the filter condition and call the entries.filter(..).bindTo part, it correctly filters my items. But after I add or remove an item from the entries collection. The application crashes with an NSInternalInconsistencyException:
2016-06-29 11:43:06.979 reactivetableview[5047:4369665] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'attempt to delete row 19 from section 0 which only contains 9 rows before the update'

Thanks for reporting this, I'll investigate.

Hey @kh0r, I can't seem to find a way to reproduce this. Could you provide any additional details? For example, exact operations that you're doing to the array.

I uploaded a sample project for easy reproduction: https://github.com/kh0r/reactivekit-tableview

Hi @kh0r, thanks for the sample project!
I've investigated this and the issue seems to be in the sample project itself. You're establishing multiple bindings. Each time you call filterCollection() you create one additional binding. Because of that, same changes are being propagated multiple times.
When I save the disposable and dispose is before establishing of a new binding, it works correctly.
  var bindingDisposable: Disposable? = nil

  func filterCollection(){
    bindingDisposable?.dispose()
    bindingDisposable = entries.filter{ randomString in
      return self.showAll || randomString.hash%2 == 0
    }.bindTo(filteredItems)
  }

I should probably update the documentation to make a note of such use case.
Hope this helps!

Ah, that makes sense. Thank you very much!
Awesome work btw!


Bugs in obtaining control location

Godot version
4.0-beta8
System information
win10
Issue description
The obtained position is displayed incorrectly

Steps to reproduce

Minimal reproduction project
Not applicable

HBoxContainer controls the button's positioning. And IIRC some functions need a one frame delay before they work - this is probably a combination of both these things.
Also you were asked to provide MRPs, so don't be surprised if this is closed with zero action.

But I don't use beta 8. There has never been such a problem before. The beta 8 has just been launched

If you say this worked with beta 7, you should have said so in the OP. My point about MRP still stands, though

如果你说这适用于beta 7，你应该在OP中这么说。不过，我对MRP的观点仍然成立。

To be exact, projects that should be started from 5 have never encountered such problems. Since 8, such problems have occurred. According to your ideas, the delay has been added. I found that the variable initialization variable behind the delay statement is not available in the upper node. Alas, it has to be modified again


'Thread Leak' for multiple requests to

I periodically search the network for new / updated Chromecasts by invoking
chromecasts = pychromecast.get_chromecasts()
However, every time a number of new threads are created and never released starving the system of resources after a while.
I can go down the 'callback' route, but I thought I'd report it as this behaviour is not documented.

Does this (disconnecting) have an effect on anything that is playing on a device, or anything I am controlling in code?

Does this (disconnecting) have an effect on anything that is playing on a device, or anything I am controlling in code

Obviously when disconnected, you loose ability to control and listen to events until you reconnect but it should not stop the device itself. If you initiate something in your code and disconnect, the device will keep playing it until end of stream.
At least this is who it worked for me.


Export functionality no longer available in data view

Good morning Petar.  Did you remove the export functionality in data-views intentionally or is it a bug?

@pwachara export works normally for me. Maybe trick is that dataset need to have fields marked "exportable": true - if there is no exportable fields, "export" button is not rendered.

Thanks Perak.  It worked!


Custom SearchBox on O365 Suitebar - Base CSS class hiding this in responsive mode

Hi Team,
We have hidden the Enterprise search box in our SP site collection and introduced the custom search box in the same position using SPFx extension & CSS. This is working perfectly fine in desktop mode. But, in responsive mode for screen resolutions below 1024px - Default SP css class ".s_b_beed2cf1" is hiding this with the style overflow:hidden. We can overide this style - But, as per the Microsoft best practices, we cannot override this css class and leads to non-compliance. We hope this is a product bug - Even after removing the enterprise search box using the PS command provided by MS - why the css class is not respecting the command that is being executed. Can you please let us know the work around here.
Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Site

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

 If so, that's unsupported.

Hello @tseward , We are not manipulating the suite bar, we have just created a custom search box using the Fabric control in the SPFX extension (header) and used CSS to position our own custom search box in the place of OTB Enterprise search box.
Now, All is working fine in desktop mode. But, in responsive mode for screen resolutions below 1024px - This custom search box getting hidden with the base css class definition.
So, we feel that the PS script that is responsible for hiding the enterprise search box should actually take care of this base css class definition also to make overflow:hidden removed.
Thanks,
Bhanu

@tseward

@bhanuchintha I would recommend opening this feedback up via a support case on admin.microsoft.com since this isn't a doc-related issue but rather a product one. That being said, using CSS overrides like you are do fall under the unsupported category.
I would look into the OOTB controls/options you have with the enterprise search (i.e. using the PnP Search v4 webparts, creating a custom search results page which the top search bar can be configured to point at).

@tseward  Thank you very much for the contribution and sharing this explanation. @bhanuchintha Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed here to close it.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Disable reusing previous chunks when re-running alignment

Description
Disable reusing previous chunks when re-running alignment. This was casing an error because the input to this step is non-determinsitic and cdhitdup requires all reads from the input to be present in the cdhit_cluster_sizes file.
Version

[X] I have increased the appropriate version number in https://github.com/chanzuckerberg/idseq-dag/blob/master/idseq_dag/init.py. Guidelines here: https://github.com/chanzuckerberg/idseq-dag/blob/pr-template/README.md#release-notes
[X] I have added release notes for my new version to https://github.com/chanzuckerberg/idseq-dag/blob/master/README.md#release-notes
[X] I will push a git tag after merging in the form vX.Y.Z

Tests

[x] I have verified that the pipeline still completes successfully:

[ ] for single-end inputs
[x] for paired-end inputs
[ ] for FASTQ inputs
[x] for FASTA inputs.

[x] I have validated that my change does not introduce any correctness bugs to existing output types.
[x] I have validated that my change does not introduce significant performance regressions or I have discussed with the team that the benefits of the change are substantial enough that we're comfortable accepting the size of the measured performance penalty.

Thank you for tracking this down and mitigating it @morsecodist !!! This looks like a new problem, we had previously ensured the input to this step was deterministic. What is the source of the non-determinism here? Is there a plan for a follow-up PR that makes things deterministic again, so that we can have the benefit of lazy chunk rerunning? It would be great if we could save the cost of recomputing chunk results when a sample fails in the middle of the expensive alignment step, that was one of the key motivators for doing the chunking in the first place :) Thank you!

My previous comment was resolved offline, thanks!


WRN-14979: Fix ui-test to use async test

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[x] 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
@wdio/sync was depreacted on node 16.
Resolution
Fix ui-test TC to use async mode
Additional Considerations
There are intermittent TC fail, but this is to be resolved separately from this issue.
"stale element reference: element is not attached to the page"
Links
WRN-14979
Comments
Enact-DCO-1.0-Signed-off-by: Jeonghee Ahn<EMAIL_ADDRESS>

It works fine


Feedback on the troubleshooting guide

First off, this is an awesome document!  It contains great details on what to look for and what to do when encountering issues.  I have some feedback that I think would made the documentation even better.

Consider moving the "Failure to create three COM ports" before the "Check the TAP-Windows adapter configuration" section.  I've helped lots of Azure Sphere students who had connectivity problems.  9 times out of 10, the COM ports were not correctly installed.  By asking the reader to look at the COM ports before looking at the TAP driver details, you'll likely save them some frustration and time.

Add more details to the COM ports section.  Many times when the COM ports are not correctly configured (FTDI driver not correctly installed) the devices show up under the "Other devices" folder in the device manager.  You should consider adding hints to look there for the COM ports if they are not in the correct location.  I've also seen the case where the FTDI drivers had to be installed twice on each port before it was correctly installed.  You should considering mentioning that.

Thanks for listening  . . .

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

ID: 859e405c-bdf9-0012-e6f8-706968193b40
Version Independent ID: d5a03e55-b23b-2144-0045-492dca006b02
Content: Troubleshooting for Azure Sphere installation and setup
Content Source: AzureSphere/articles/install/troubleshoot-installation.md
Product: azure-sphere
GitHub Login: @pennyo
Microsoft Alias: azurespheredocs

@bawilless Thanks for the feedback! Those are great suggestions for things, and we'll add them to our backlog.

Yo tuve la siguiente experiencia, realice la desinstalación, al volver a instalar este me marco erro al finalizar "azure sphere device communication service failed to start...." La solución en mi caso fue la siguiente.

Durante la instalación note que se creaba un nuevo adaptador de red de tipo "Tap-Windows Adapter V9" pero con el nombre Ethernet 1... en este punto actualice el nombre por Azure Sphere y le di continuar a la instalación en el botón de reintentar, la instalación finalizo de forma satisfactoria.
Al reclamar el dispositivo este volvió a marcar error , la solución fue la siguiente, tuve que setear la dirección IP (<IP_ADDRESS>) de forma manual en el apartado de TCP/IPv4 del adaptador "Azure Sphere".
Adjunto referencia donde viene esta especificación del adaptador de red para "Azure Sphere"
https://docs.microsoft.com/en-us/azure-sphere/network/ports-protocols-domains

Listo con esto resolví ambos problemas de comunicación e instalación para el uso de mi Tarjeta.
Yo tengo la MT3620

@bawilless We updated the troubleshooting docs in the last release to incorporate much of your feedback above. Thank you for the suggestions!


Use cluster_cpus_list to detect clusters for ARM

On newer kernels (6.x+) a separate topology node exists to express the list of cpus associated with each cluster. The cluster topology node explicitly refers to cores that share some resources (e.g. cache) as opposed to 'core_siblings', which only indicate they are on the same physical package.
This distinction is relevant on 6.x, where some devices may have all their cores on a single physical package but cores do not all share the same resources on that package. In these cases, the existing logic incorrectly reports that there is a single cluster (because all cores are siblings), even though not all cores share the same resources.
Test: Verified on ARM64 Android device that has multiple clusters, where core_siblings reports all cores are siblings.
Test: Added mock hardware tests, verified pass on ARM64 hardware.

cc @kimishpatel FYI

LGTM, can you include some kernel doc or commit which changes the behavior in the PR description or in the comments here for future reference? Thanks.

For posterity, here's the commit that introduced cluster_cpus. I should stress that this didn't really "replace" core_sibilings_list, so much as it "created a more specific node that identifies a true 'cluster'". We were using core_siblings_list before as a proxy, but if you take a look at the implementation you'll see that it's simply checking to see if they are on the same package and then marks them as a core sibling. There's no explicit guarantee that they share an internal system bus (though one might imagine that there are probably many examples of SoCs that have N-cores in a single cluster, on a single package).
That is why that we also retain the fallback path - if we cannot use the ACPI-defined clusters, at worst we'll still mirror the behavior we've always had and just assume we're on a chipset where the cores are in a single cluster as before.

Thank you @prashanthswami, very helpful.


Show notification if one specific traffic light of a timed light never changes to green

See also: #143

moved


Fix bug in which alternate divisors were not used

This commit updates the fizzbuzz_for_num method to start using the fizz_divisor and buzz_divisor parameters that were added to the method signature in 85ca623.
Verified the fix by running existing tests in test_fizzbuzz.py which were previously failing and now pass.

please, look carefully


Weird graphic when "pushing out" characters(tried with H)

If you enter a H in a textbox and then push it out with some character(Probably works with other characters than H) it will show a dot at the border of the text box.
Demo vid: https://www.youtube.com/watch?v=3duldMh7Ci8&feature=youtu.be

Oh hadn't seen that before, thanks!

Fixed in oeed/Silica@70f9092 (new-graphics-system), thanks!


feat(Gamut): Add docs/command for working with Gamut pre-publish

Title
Add docs and a watcher for working with Gamut locally using symlinks. Update GridFormField type to accept ReactNodes.
PR Checklist

[ ] Related to Abstract designs:
[ ] Related to JIRA ticket: WEB-676
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

Description

Allowing a node prop for a GridFormField labels allows for more flexible use.
One gotcha I couldn't figure out: Running Jest tests in the monolith with this set-up. In the current state, Jest throws an error saying

babel-jest: Babel ignores ../client-modules/packages/gamut/dist/index.js -
make sure to include the file in Jest's transformIgnorePatterns as well.

Merging your changes
When you are ready to merge to master and publish your changes, use the "squash and merge" button in GitHub, and follow the PR Title Guide to format your PR title and write your PR merge description.
IMPORTANT: If your PR contains breaking changes, please remember to follow the instructions for breaking changes!

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.4-alpha.0a4ff1.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ec3026bc0b1caf00630b778--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.4-alpha.c38e56.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ec3e8295f647bdaa5ff69cb--codecademy-styleguide.netlify.appDeploy Logs

Similar to Josh I think it's fine to have these instructions as a backup. I like that with the current workflow people mostly develop in isolation in storybook, then use the alpha versions to test integration with the applications. I see the convenience of symlinking though, so I don't want to discourage it if it helps speed up development in some cases.

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.4-alpha.5d4df4.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ec400d28cb584f5d0870fb8--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.4-alpha.06efea.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ec6c221014008fc7965bb4d--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.10-alpha.7e6d27.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ec6c576fbfdbe187dc0f477--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.10-alpha.9ac35d.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ec6cd0cd9b78791ce2a1638--codecademy-styleguide.netlify.appDeploy Logs


Help Deploying to Web Site

I've been using LiteDB on desktop apps for some while now, and I love it. I want to use it on a web site, which is something I admit to being a bit of a novice at doing.
I'm developing in VS2017. I've put the .dll in the bin folder, and the code can reference LiteDB OK. However, I have no clue at all how to create a connection string that references the database file on the server. I've Googled hundreds of references, but have never yet found an example of how to do it.
I'm sure this must be simpler than I'm making it - but can someone please tell me in simple steps how to deploy LiteDB onto a remote web site?

I think I answered my own question now....I used a direct reference to AppDomain.CurrentDomain.BaseDirectory which seems to be OK


homescreen_icon: Swap All-Messages icon from 'globe' to 'list'.

to match mobile's All Messages icon with the one found in web Zulip.
Previous Mobile:

Browser:

Update Mobile:

Fixes: #5303

@chrisbobbe @alya @gnprice

Thanks, @dootMaster!
One nit: the web app uses Font Awesome for this icon, and this PR would use Feather.
The difference is pretty small; the order of short and long lines is just reversed:
But we might as well use exactly the same icon while we're making this change.

I noticed the new list icon from the FontAwesome collection doesn't quite match the aesthetic of the rest of the icons. The lines are bolder. What do ya'll think?

One solution would be to to invert the old Feather list icon via the transformY in the style prop.

Here's what I came up with:

I did this by swapping back to Feather in the makeIcon function and passing in [(scaleY: -1)] to the transform inside the TopButtonGeneral component.

One solution would be to to invert the old Feather list icon via the transform in the style prop. I'm going to try it and post the result.

Huh, interesting! Sure, that seems fine.

Agreed -- @dootMaster, I'd be glad to see a version of this PR that does what you showed in that last screenshot :slightly_smiling_face:


DI-199 Create Performance tests

Link to JIRA Ticket

https://nhsd-jira.digital.nhs.uk/browse/DI-199

Description
This PR add two performance test profiles a stress test and a load test.
Noteworthy Changes

A stress test creating large quantities of change events upfront (around 20K CEs per minute)
A load test designed to simulate standard CE quantiess (around 4 CEs per minute)
A data collection part to pickup all data and put it to a s3 bucket

Type of change

New feature (non-breaking change which adds functionality)
This change requires a documentation update

Developer Checklist

[x] I have performed a self-review of my own code
[x] I have run the code formatting checks
[x] I have run the code quality checks
[x] New code meets standards agreed by the team
[x] Unit test code coverage is at or above 80%
[x] New and existing unit tests pass locally with my changes
[x] I have made corresponding changes to the documentation
[ ] I have cleaned down my environment (if created)

Code Reviewer Checklist

[ ] I have run the unit tests and they run correctly
[ ] I can confirm the changes have been tested or approved by a tester
[ ] I can confirm no remaining infrastructure is left over from this branch

fixed the load-test issue
getting an issue with the stress-test

I get this issue when I use to many users for my CPU to be able to handle. @rohith1122 If you turn down the number of users does it get rid of this issue?
In the performance pipeline which these tests are going to run from we could set the performance of the codebuild instance so we can scale so to not error when running the stress test. Or we can turn down the stress test as at the moment it is overkill roughly double the number of NHS UK pharmacies


Feat : Add a "contact" command

Here, the idea is to add a command from the list of options under help so that when customers have a request, they can type their email and their query.

Will you assign the work to me ?

Here, the idea is to add a command from the list of options under help so that when customers have a request, they can type their email and their query.

Will you do it ?

I am working on it.

✨ ok
On Thu, Oct 6, 2022, 7:48 AM Aswini Kalyan @.***> wrote:

I am working on it.
—
Reply to this email directly, view it on GitHub
https://github.com/TechSpiritSS/Terminal-Portfolio/issues/25#issuecomment-1269218818,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APHGMDV73NZUCNH6TFI42NLWBYZG5ANCNFSM6AAAAAAQ4U5RBU
.
You are receiving this because you commented.Message ID:
@.***>


ckw02 results in SPICE(INVALIDDESCRTIME)

The function ckw02 writes a segment of type 2 onto a C-kernel. Here are the inputs and returns:
    Inputs:
      int        handle = Handle of an open CK file.
      float      begtim = The beginning encoded SCLK of the segment.
      float      endtim = The ending encoded SCLK of the segment.
      int        inst   = The NAIF instrument ID code.
      string     ref    = The reference frame of the segment.
      string     segid  = Segment identifier.
      float[*]   start  = Encoded SCLK interval start times.
      float[*]   stop   = Encoded SCLK interval stop times.
      float[*,4] quats  = Quaternions representing instrument pointing.
      float[*,3] avvs   = Angular velocity vectors.
      float[*]   rates  = Number of seconds per tick for each interval.

    Returns: none

This function is failing on this unit test:
import cspyce as cs
import numpy as np
import os
import pytest

from gettestkernels import  TEST_FILE_DIR

@pytest.fixture(autouse=True)
def clear_kernel_pool_and_reset():
    cs.kclear()
    cs.reset()
    # yield for test
    yield
    # clear kernel pool again
    cs.kclear()
    cs.reset()

def cleanup_kernel(path):
    cs.kclear()
    cs.reset()
    if os.path.isfile(path):
        os.remove(path)  # pragma: no cover
    pass

ck2 = os.path.join(TEST_FILE_DIR, "type2.bc")
cleanup_kernel(ck2)
INST = -77702
MAXREC = 201
SECPERTICK = 0.001
SEGID = "Test type 2 CK segment"
ifname = "Test CK type 2 segment created by cspice_ckw02"
NCOMCH = 0
REF = "J2000"
SPACING_TICKS = 10.0
SPACING_SECS = SPACING_TICKS * SECPERTICK
RATE = 0.01
handle = cs.ckopn(ck2, ifname, NCOMCH)
init_size = os.path.getsize(ck2)
quats = np.zeros((MAXREC, 4))
av = np.zeros((MAXREC, 3))
work_mat = cs.ident()
work_quat = cs.m2q(work_mat)
quats[0] = work_quat
av[0] = [0.0, 0.0, RATE]
rates = [SECPERTICK] * MAXREC
sclkdp = np.arange(MAXREC) * SPACING_TICKS
sclkdp += 1000.0
starts = sclkdp
stops = sclkdp + (0.8 * SPACING_TICKS)
for i in range(1, MAXREC - 1):
    theta = i * RATE * SPACING_SECS * 1.0
    work_mat = cs.rotmat(work_mat, theta, 3)
    work_quat = cs.m2q(work_mat)
    quats[i] = work_quat
    av[i] = [0.0, 0.0, RATE]
begtime = sclkdp[0]
endtime = sclkdp[-1]
cs.ckw02(
    handle,
    begtime,
    endtime,
    INST,
    REF,
    SEGID,
    starts,
    stops,
    quats,
    av,
    rates,
)
cs.ckcls(handle)
end_size = os.path.getsize(ck2)
assert end_size != init_size
cs.kclear()
cleanup_kernel(ck2)

And it is resulting in this error:
Traceback (most recent call last):

  File ~/venv/lib/python3.10/site-packages/spyder_kernels/py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File ~/GitHub/pds-cspyce/unittests/untitled1.py:62
    cs.ckw02(

  File ~/GitHub/pds-cspyce/cspyce/cspyce2.py:1805 in ckw02
    return cs1.ckw02(handle, begtim, endtim, inst, ref, segid, start, stop, quats, avvs, rates)

  File ~/GitHub/pds-cspyce/cspyce/cspyce0.py:2196 in ckw02
    return _cspyce0.ckw02(handle, begtim, endtim, inst, arg5, arg6, nrec, arg8, quats, avvs, arg11)

ValueError: SPICE(INVALIDDESCRTIME) -- ckw02 -- The second d.p. component of the descriptor is invalid.  DCD(2) = 3.0000000000000E+03 and STOP(NREC) = 3.0080000000000E+03

According to CSPICE, if begtime is greater than start[0] or endtime is less than stop[MAXREC-1], the error SPICE(INVALIDDESCRTIME) is signaled by a routine in the call tree of this routine. However, the SpiceyPy version of this test has the same values for all four of these variables, and the test passes.

When I look at the documentation for this function, I see:

    If `begtim' is greater than start[0] or `endtim' is less than
   stop[nrec-1], the error SPICE(INVALIDDESCRTIME) is
   signaled by a routine in the call tree of this routine.

Looking at the arguments of the function, I see that the begin time and end time are 1000.0 and 3000.0, respectively.  The first element of the start array is 1000.0, as expected, but the final element of the end array is 3008.0, which is out of range.
I think there is an off-by-one error, and all the arrays need to be one shorter.

Shortening all the applicable arrays (those with a length of 201 in any dimension) does not fix the problem.
However, if I change begtime and endtime from this:
begtime = sclkdp[0]
endtime = sclkdp[-1]

to this:
begtime = starts[0]
endtime = stops[-1]

The function runs into the same error described in Issue #141:
ValueError: SPICE(ZEROQUATERNION) -- ckw02 -- The quaternion at index 201 has magnitude zero.

I have no idea if this counts as progress or not.

for i in range(1, MAXREC - 1):
should be
for i in range(1, MAXREC):
you are never setting the last elements of the arrays.
And unfortunately the error message is confusingly giving you Fortran
indexing rather than Python/C indexing and is off by 1.
On Wed, Aug 16, 2023 at 1:47 PM esimpsons3ti @.***>
wrote:

Shortening all the applicable arrays (those with a length of 201 in any
dimension) does not fix the problem.
However, if I change begtime and endtime from this:
begtime = sclkdp[0]
endtime = sclkdp[-1]
to this:
begtime = starts[0]
endtime = stops[-1]
The function runs into the same error described in Issue #141
https://github.com/SETI/pds-cspyce/issues/141:
ValueError: SPICE(ZEROQUATERNION) -- ckw02 -- The quaternion at index 201 has magnitude zero.
I have no idea if this counts as progress or not.
—
Reply to this email directly, view it on GitHub
https://github.com/SETI/pds-cspyce/issues/142#issuecomment-1681249528,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABC2LIJ4C4X44WMUYQX25GDXVUWULANCNFSM6AAAAAA3TAAXNA
.
You are receiving this because you were assigned.Message ID:
@.***>

This does not solve it either. It is still resulting in the same error with that change on my end.

The following works just fine when I run it.  Only changes are the update to begtime and endtime, and changing the upper limit of the loop.
import cspyce as cs
import numpy as np
import os
import pytest

from gettestkernels import  TEST_FILE_DIR

@pytest.fixture(autouse=True)
def clear_kernel_pool_and_reset():
    cs.kclear()
    cs.reset()
    # yield for test
    yield
    # clear kernel pool again
    cs.kclear()
    cs.reset()

def cleanup_kernel(path):
    cs.kclear()
    cs.reset()
    if os.path.isfile(path):
        os.remove(path)  # pragma: no cover
    pass

def test_again():
    ck2 = os.path.join(TEST_FILE_DIR, "type2.bc")
    cleanup_kernel(ck2)
    INST = -77702
    MAXREC = 201
    SECPERTICK = 0.001
    SEGID = "Test type 2 CK segment"
    ifname = "Test CK type 2 segment created by cspice_ckw02"
    NCOMCH = 0
    REF = "J2000"
    SPACING_TICKS = 10.0
    SPACING_SECS = SPACING_TICKS * SECPERTICK
    RATE = 0.01
    handle = cs.ckopn(ck2, ifname, NCOMCH)
    init_size = os.path.getsize(ck2)
    quats = np.zeros((MAXREC, 4))
    av = np.zeros((MAXREC, 3))
    work_mat = cs.ident()
    work_quat = cs.m2q(work_mat)
    quats[0] = work_quat
    av[0] = [0.0, 0.0, RATE]
    rates = [SECPERTICK] * MAXREC
    sclkdp = np.arange(MAXREC) * SPACING_TICKS
    sclkdp += 1000.0
    starts = sclkdp
    stops = sclkdp + (0.8 * SPACING_TICKS)
    for i in range(1, MAXREC):
        theta = i * RATE * SPACING_SECS * 1.0
        work_mat = cs.rotmat(work_mat, theta, 3)
        work_quat = cs.m2q(work_mat)
        quats[i] = work_quat
        av[i] = [0.0, 0.0, RATE]
    # begtime = sclkdp[0]
    # endtime = sclkdp[-1]
    begtime, endtime = starts[0], stops[-1]
    cs.ckw02(
        handle,
        begtime,
        endtime,
        INST,
        REF,
        SEGID,
        starts,
        stops,
        quats,
        av,
        rates,
    )
    cs.ckcls(handle)
    end_size = os.path.getsize(ck2)
    assert end_size != init_size
    cs.kclear()
    cleanup_kernel(ck2)

I have no idea how my fixes didn't work yesterday, but they're working now. Sorry for the unnecessary headache. These are passing now.


Can't login to xrdp when my installed raspberry kernel is higher than raspberrypi 5.10.103-v7+

xrdp version
0.9.21
Detailed xrdp version, build options
Sorry, I don't know if I used the correct terms in my topic (e.g. "kernel"), but this is what I see so far. I have several raspberries, but not higher than Raspberry 3, but I ran into problems every time when I want to use a fresh linux system image with a kernel higher than raspberrypi 5.10.103-v7+ (Linux r2 6.6.31+rpt-rpi-v7 for example did not work, but I also tried to run a system with a lower kernel number if I remembered correctly). It's always a pain in the neck and up to this point I simply cloned my raspberries with version 5.10.103 instead of reinstalling with a newer image just to avoid these xrdp config nightmare. I tried different solutions I found around the internet, but I can't get xrdp to work.
Operating system & version
Ubuntu 22.04
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
No response
What desktop environment do you use?
No response
Environment xrdp running on
No response
What's your client?
No response
Area(s) with issue?
Authentication
Steps to reproduce
Just install a fresh Raspberry Ubuntu OS higher than raspberrypi 5.10.103-v7+
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Anything else?
No response

@jk-85 - can you tell us exactly what is happening?
"ran into problems" is not giving us enough to go on.

Will give more info when I have enough time for it.

Late yesterday evening I did a workaround: I commented out the Xorg section in xrdp.ini and installed vnc instead and don't have to select vnc in the combo-box every time in the xrdp login-screen:

[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=<IP_ADDRESS>
port=-1
code=20

Thanks. That rules out a lot of probable causes.
Have a look also at this comment. The Glamor drivers in the kernel seem to be a bit buggy on the PI.

Thank, will visit your links soon!
I hade more time now, re-enabled the Xorg-section again and the logs show this:
/var/log/xrdp.log shows these new lines after typed in username and password into the xrdp login screen, but nothing happens, screen appears light blue (cursor is black  and I have to close it):
/var/log/xrdp.log:
[20240916-15:29:16] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20240916-15:29:16] [INFO ] sesman connect ok
[20240916-15:29:16] [INFO ] sending login info to session manager. Please wait...
[20240916-15:29:16] [INFO ] xrdp_wm_log_msg: login successful for user hubert on display 10
[20240916-15:29:16] [INFO ] login successful for user hubert on display 10
[20240916-15:29:16] [INFO ] loaded module 'libxup.so' ok, interface size 9456, version 4
[20240916-15:29:16] [INFO ] started connecting
[20240916-15:29:16] [INFO ] lib_mod_connect: connecting via UNIX socket

/var/log/xrdp-sesman.log:
[20240916-15:32:05] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 46220
[20240916-15:32:05] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240916-15:32:05] [INFO ] ++ created session (access granted): username hubert, ip ::ffff:<IP_ADDRESS>:12367 - socket: 12
[20240916-15:32:05] [INFO ] starting Xorg session...
[20240916-15:32:05] [INFO ] Starting session: session_pid 1515, display :10.0, width 1680, height 1050, bpp 24, client ip ::ffff:<IP_ADDRESS>:12367 - socket: 12, user name hubert
[20240916-15:32:05] [INFO ] [session start] (display 10): calling auth_start_session from pid 1515
[20240916-15:32:05] [ERROR] sesman_data_in: scp_process_msg failed
[20240916-15:32:05] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240916-15:32:05] [INFO ] Starting X server on display 10: /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20240916-15:32:15] [WARN ] Timed out waiting for X server on display 10 to startup
[20240916-15:32:15] [WARN ] Timed out waiting for X server on display 10 to startup
[20240916-15:32:19] [INFO ] Session started successfully for user hubert on display 10
[20240916-15:32:19] [INFO ] Starting the xrdp channel server for display 10
[20240916-15:32:19] [ERROR] There is no X server active on display 10
[20240916-15:32:19] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1516) exits to end the session
[20240916-15:32:19] [ERROR] A fatal error has occurred attempting to start the window manager on display 10, aborting connection
[20240916-15:32:19] [WARN ] Window manager (pid 1516, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[20240916-15:32:19] [INFO ] Calling auth_stop_session and auth_end from pid 1515
[20240916-15:32:19] [INFO ] Terminating X server (pid 1517) on display 10
[20240916-15:32:19] [INFO ] Terminating the xrdp channel server (pid 1521) on display 10
[20240916-15:32:19] [INFO ] X server on display 10 (pid 1517) returned exit code 1 and signal number 0
[20240916-15:32:19] [INFO ] xrdp channel server for display 10 (pid 1521) exit code 0 and signal number 0
[20240916-15:32:19] [INFO ] cleanup_sockets:
[20240916-15:32:19] [INFO ] Process 1515 has exited
[20240916-15:32:19] [INFO ] ++ terminated session:  username hubert, display :10.0, session_pid 1515, ip ::ffff:<IP_ADDRESS>:12367 - socket: 12

That's consistent with earlier reports linked above.
What's in ~hubert/.xorgxrdp.10.log?

Yeah, this really works with the pi 2 !!! Thanks a lot for this great responses and the support!

It seems that XRDP has compatibility issues with Raspberry Pi kernels newer than 5.10.103-v7+. This is likely due to changes in the newer kernel that XRDP hasn't fully adapted to yet.
A temporary solution is to either downgrade to the compatible kernel or try using ThinLinc, a remote desktop tool that works seamlessly on Raspberry Pi and doesn't face the same kernel version issues. ThinLinc provides a smoother remote access experience and might be a more stable alternative for your setup.

We have a fix now.


[fix](cluster key) fix cluster key update

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
for mow with cluster key, update may get:
mysql> update t2_cluster_key set b = 22 where c = 2;
ERROR 1105 (HY000): errCode = 2, detailMessage = Column has no default value, column=c

Release note
None
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall

run feut


Selective Sync

Does this app actually download any files to my local machine?
If not, then selective sync isn't necessary.  If so, then I would need to know if selective sync works with your app since my Dropbox would be bigger than my current hard drive.

@swt83 Basically, this app does not download each file until a user want to open the file. As an exception, a Files app will download an image file content to create the thumbnail.

Close this issue.


Remove async and await from function

fixed #5
I refered to https://github.com/GoogleChrome/puppeteer/issues/1916#issuecomment-368452496 .

already solved in other PR https://github.com/Everettss/puppeteer-har/pull/9


Pareto Network

Contract Address: https://etherscan.io/address/0xea5f88e54d982cbb0c441cde4e79bc305e5b43bc
About Page: https://www.pareto.network/#/about
Telegram: https://t.me/paretonetworkdiscussion

Hey @estebanmino it looks like the problem is with the length of our ticker symbol. We are at 6 characters, which was approved by coinmarketcap and others. Anyway we can suspend the 5 character restriction?

@estebanmino when PARETO and other erc20 or erc223 tokens are added manually into metamask the 6 letter ticker symbol is read from the contract just fine. It is also shown in the betaUI just fine. This test may have predated the proliferation of either of these things and may have an arbitrary limit. Please relax that rule for this merge or send the test itself up for deletion.

@chriswg thanks. I'll get an answer tomorrow.

@estebanmino awesome

@estebanmino are we good to go?


issue found on: auth/auth.go:72:1: paramTypeCombine

an issue has been detected in source code: ./auth/auth.go:72:1: paramTypeCombine: func(login string, password string, client ldap.Client) (bool, error) could be replaced with func(login, password string, client ldap.Client) (bool, error)

This issue has been fixed already.


use haproxy-systemd-wrapper, remove iptables

I propose to switch from the current custom haproxy reload script to haproxy-systemd-wrapper.
My motivations for this change are

Use an officially supported haproxy tool.
Removing iptables allows to run MLB unprivileged.
Using custom iptables calls along with calico may have side effects.
The HAPROXY_RELOAD_SIGTERM_DELAY hack does not work ( haproxy never starts ), and even after fixing it, old process with outdated configuration can live for minutes.
Despite the great approach from Yelp, I prefer the risk of dropping a few connections than having unreliable reloads.

Can one of the admins verify this patch?

If HAPROXY_RELOAD_SIGTERM_DELAY doesn't work, we should either fix that or just remove it.

HAPROXY_RELOAD_SIGTERM_DELAY is not the point here.
I will open a separate issue for it if this PR, which removes it, is rejected.
The question is about switching from the whole bash script to haproxy-systemd-wrapper

My only real concern with this PR is removing the iptables stuff. As much as I dislike the complexity, the "why do I occasionally see errors when reloading haproxy?" issue comes up more often than I'd like. AFAIK there are only 2 ways to work around this (excluding options such as putting another proxy in front), and this is the least complex of the 2 options.

Could we just trap the SIGHUP and forward it to the wrapper instead? Then we can keep the iptables stuff.

haproxy use a file descriptor for this http://git.haproxy.org/?p=haproxy-1.7.git;a=commit;h=b957109727f7fed556c049d40bacf45f0df211db
Delaying TCP syn should not be required, SO_REUSEPORT allows several programs to bind the same port.
The underlying problem is that the linux implementation, it distribute requests along all connected programs, not just the last connected one like in bsd implementation.
The old process can still receive incoming connections while draining, that's why a SIGTTOU signal is sent to it, to stop accepting new ones.
In this case, we may have connections accepted by the kernel, but rejected by the old haproxy, I guess these are the 0.25% dropped connections.
Ways to workaround:

put another haproxy in front, tcp only, to queue + redispatch dropped connections.
use iptables to temporary drop the SYNs (MLB uses this)
use tc to queue SYNs internally ( cf yelp article )
use the new ( linux >= 4.5 ) SO_ATTACH_REUSEPORT_CBPF and a bpf policy to mimic BSD behavior by only using the last connected haproxy instance ( never seen this yet )

With the exception of putting another proxy in front, AFAIK all of these are requiring running privileged, which is not always possible and unsafe.
IMO, having  tcp proxies which never reloads ( only use maps updated from the cli or DNS SRV, planned for haproxy 1.8 ) in front may be the best way to prevent all connection drops types and distribute traffic accross all "http" haproxy instances. This seems not possible to be part of MLB until it evolves to a mesos framework, but this is out of this PR's scope.

Interesting. We do something similar to haproxy-systemd-wrapper, here: https://github.com/mesosphere/marathon-lb/blob/master/marathon_lb.py#L664-L666
However, it looks like maybe we should just emulate the bahaviour in haproxy-systemd-wrapper instead (by trying the pipe). To me, this is preferable because it's a smaller change.

See #390 as an alternative to this.

@vixns how do you feel about 1.5.0 (and #390)? Has it solved the root cause for you?

seems ok, thanks


chore: post-releases clean-up

Description of changes
Closes https://github.com/FuelLabs/fuels-rs/issues/664.

Removes the previously committed binaries and JSON files outputted from forc;
Brings back the CI to its previous state where it installs forc and builds each test project from scratch;
Updates forc version to 0.30 and fuel-core to 0.13.2;

sorry for the mess!

No worries, it had to be done haha


img to pdf

Providing some descriptions would be helpful..

@shivshankar9 if no one is working on this issue can I start working on it 🥺  ❓


INPUT_MULTIPLAYER_ABORT_CALLBACK cleanup

Currently functionality is intended. Users should not rely on a change in source mode to control their game, bouncing back to the previous source mode is a convenience feature only.

The error is already thrown earlier (in initialization) per your recent changes; after this patch behaviour does not change, it just cleans up the codepath/legibility by removing some redundancy.


Create authorization for the security

We already have authentification with Spring Sercurity. We also need simple authorization.

Here is the entities and services class diagram: https://raw.githubusercontent.com/interseroh/report-cockpit-birt-web/master/src/main/resources/model/report-cockpit-birt.jpg

We still need following:

Add an example user "lofidewanto" into the database with the help of Flyway for following role: USER.

Add hasRole or UserInRole in the correct controller, see: http://www.baeldung.com/spring-security-expressions-basic

Flyway inserted, see Test (IT): MigrationDatabaseIT

hasRole: we need to use the reportName. For example: hasRole("salesinvoice"), see DatabaseLdapAuthoritiesPopulator

Open: I'm not sure whether we need Many-To-Many relationships between: Role and Report. At the moment only One-To-Many: https://github.com/interseroh/report-cockpit-birt-web/blob/master/src/main/resources/model/report-cockpit-birt.jpg

Roles are now checked and an exception occurs if the user do not have the needed role.
Now we only need a nice error message that informs the user of missing privilege.
@holgerhopf, implement an error handling that leads the user back to /reports with a message that he does not have the permission to see the report.

Works, I need to update the SQL scripts since you need ONE role for EACH report. See: https://github.com/interseroh/report-cockpit-birt-web/blob/master/src/main/resources/db/migration/V2__Add_users.sql
Still open just what @idueppe said: no error handling

Done

Hello Guys, sorry to bother you but, I'm trying to build this interesting  app, but looks like we missing this two classes:
UserRole
UserService
So where I can Find it ?

Those classes will be generated with the help of our generator: KissMDA: https://github.com/crowdcode-de/KissMDA
You can see here is our UML model which will be the based to generated the interfaces:
https://github.com/interseroh/report-cockpit-birt-web/tree/master/src/main/resources/model
Hope this helps.

Thank  you Dr. Jawa ! you already help a lot with this codes and thanks again  for your attention but here doesn't work.
Maybe its me doing something wrong... lol
Would like to ask you if could send this two files to my e-mail<EMAIL_ADDRESS>I'm so excited to run this app cuz I'm on this kind o challenge and I believe that it will demonstrate to my boss that works as well
Please...

@pacscam Could you please open a new issue ticket?
I could try to answer your questions in that new ticket. It's good to make it there so that we can learn and could make the thing better...


Switch to text area for linebreak support

Switching from  to  allows the user to create linebreaks, and also resize the text area. Has been tested to work with all attributes of <input>.
Demos

bruh why not my branch lol
its tnixandbloctans-finalfeatures

bruh why not my branch lol
its tnixandbloctans-finalfeatures

Because I want it to be added sooner

bruh why not my branch lol
its tnixandbloctans-finalfeatures

Because I want it to be added sooner

couple issues

if we add to the main svelte then cst might make<PHONE_NUMBER>86958 changes to your code meaning i have to scrap my entire branch
ill just add the changes to my branch too

bruh why not my branch lol
its tnixandbloctans-finalfeatures

Because I want it to be added sooner

couple issues

if we add to the main svelte then cst might make<PHONE_NUMBER>86958 changes to your code meaning i have to scrap my entire branch
ill just add the changes to my branch too

No
He will not make changes, and don't add it to your branch, because it isn't yours or tnix's change, It's my idea.

bruh why not my branch lol
its tnixandbloctans-finalfeatures

Because I want it to be added sooner

couple issues

if we add to the main svelte then cst might make<PHONE_NUMBER>86958 changes to your code meaning i have to scrap my entire branch
ill just add the changes to my branch too

No He will not make changes, and don't add it to your branch, because it isn't yours or tnix's change, It's my idea.

well i guess i should create a pull for my branch anyways

bruh why not my branch lol
its tnixandbloctans-finalfeatures

Because I want it to be added sooner

couple issues

if we add to the main svelte then cst might make<PHONE_NUMBER>86958 changes to your code meaning i have to scrap my entire branch
ill just add the changes to my branch too

No He will not make changes, and don't add it to your branch, because it isn't yours or tnix's change, It's my idea.

well i guess i should create a pull for my branch anyways

NO
I said it's my change and idea, you can't just add it to your own branch.

bruh why not my branch lol
its tnixandbloctans-finalfeatures

Because I want it to be added sooner

couple issues

if we add to the main svelte then cst might make<PHONE_NUMBER>86958 changes to your code meaning i have to scrap my entire branch
ill just add the changes to my branch too

No He will not make changes, and don't add it to your branch, because it isn't yours or tnix's change, It's my idea.

well i guess i should create a pull for my branch anyways

NO I said it's my change and idea, you can't just add it to your own branch.

**pull from my branch to the main branch

bruh why not my branch lol
its tnixandbloctans-finalfeatures

Because I want it to be added sooner

couple issues

if we add to the main svelte then cst might make<PHONE_NUMBER>86958 changes to your code meaning i have to scrap my entire branch
ill just add the changes to my branch too

No He will not make changes, and don't add it to your branch, because it isn't yours or tnix's change, It's my idea.

well i guess i should create a pull for my branch anyways

NO I said it's my change and idea, you can't just add it to your own branch.

**pull from my branch to the main branch

Ok, you can do that

Let's settle this, @Bloctans there's an option on your branch to sync changes from the main branch, you can just do that if this is merged.
I cannot decide whether it will be merged, since I'm not really part of the svelte team, wait for CST to make a decision.

Let's settle this, @Bloctans there's an option on your branch to sync changes from the main branch, you can just do that if this is merged.
I cannot decide whether it will be merged, since I'm not really part of the svelte team, wait for CST to make a decision.

i feel like im not gonna continue tnixandbloctans-finalfeatures so i turned it to a pull request

Let's settle this, @Bloctans there's an option on your branch to sync changes from the main branch, you can just do that if this is merged.
I cannot decide whether it will be merged, since I'm not really part of the svelte team, wait for CST to make a decision.

i feel like im not gonna continue tnixandbloctans-finalfeatures so i turned it to a pull request

(might continue in new branch later or after beta 6)

uh, @mdwalters, you pushed "delete pwa manifest" to this branch, undo please?

Deploying with    Cloudflare Pages
Latest commit: 7012ce9
Status:	   Deploy successful!
Preview URL: https://e6a6646c.meower-svelte.pages.dev
Branch Preview URL: https://joshatticus-patch-1.meower-svelte.pages.dev
View logs

Lmao finally

uh, @mdwalters, you pushed "delete pwa manifest" to this branch, undo please?
Edit: I did it myself

i shouldn't be allowed to touch repos

@CST1229

@tnix100 has confirmed this will be added in 1.4


Azure Firewall --protocol fix and Index Update script

Fixes #367.
Also, adds a simple script for updating the index.
python scripts/ci/update_index.py <URL to extension WHL> cc/ @yugangw-msft

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/Azure/azure-cli-extensions.git@AzureFirewall#subdirectory=src/$EXT&egg=$EXT"

@williexu, please also take a look at the index update script. It sorts the keys alphabetically, which is why for this commit the diff is so wonky.

@williexu fixed.


Switched to MongoDB

TODO
Multi key indexed target arrays. wtf??

With the above, move to a single collection https://mongoosejs.com/docs/discriminators.html
https://youtu.be/7jG3upDK4rY?t=1326

Update Docs
Add indexes:
User email
Org ID, all entities
opening Id for applicants
stage id for applicants
Opening name
LoginLinks on the user

Ensure all queries have ORG ID
TODO ensure that find one calls are being used properlly, especially the filters
TODO add shouldfetch to certain endpoints only if the user has an org
TODO add prod deployment settings
Mongoose validation
// TODO switch req.params to be object ids
Create separate issue for login events, not including them in this PR
TODO findonebyid and filters...?
TODO mongoose helper methods
TODO mongoose transactions
Create composite index on applicant opening and stage. Note that stage can be omitted to retrieve just the applicants in opening which is what we want
https://blog.allegro.tech/2021/10/comparing-mongodb-composite-indexes.html

Closed in favor of #754


CV2 seamlessClone error in demo_texture.py

I am running opencv 2.4.11 in a conda environment. The basic demo works fine. I just get this error when I run the latest demo_texture.py :
Traceback (most recent call last):   File "demo_texture.py", line 101, in <module>     texture_editing(prn, parser.parse_args())   File "demo_texture.py", line 76, in texture_editing     output = cv2.seamlessClone((new_image*255).astype(np.uint8), (image*255).astype(np.uint8), (face_mask*255).astype(np.uint8), center, cv2.NORMAL_CLONE) AttributeError: 'module' object has no attribute 'seamlessClone'

The issue was solved by updating from opencv2 to opencv3 :)
works great!


Allow image order to be changed when multiple images are selected

image widget should have a way to control images order,
in case you inserted multiple images.

solution should be a control over the images thumbnails
which allow reordering them
just like the "list" widget

Makes sense - our handling of multiple images is currently limited to media library integrations with services like Cloudinary and Uploadcare, so not certain exactly how it should look moving forward. May coincide with #2243.

In addition to re-ordering, it would be helpful to also be able to remove a single image from a selection of multiple images.
It would also be helpful to be able to add additional images to a selection.


Maker should not propose offers if insufficient funds

We had a few times the issue where the maker could not proceed with contract setup because he had insufficient funds.
This results in potentially hard to understand behavior: on the taker side the position just ends up being Failed and the logs say something like Maker did not respond within 30 seconds.
Ideally, the maker would not even propose offers if he has insufficient funds.

This project is unmaintained


Increased init-timeout to consume all messages to 60s

At the startup of ns4kafka, a thread is created to consume compacted topic (1thread per topic)
Process was timeboxed to 10s max.
Once init timeout is reached, exception is thrown but since it's inside a thread, it's not caught and kafkactl remains stuck in infinite waiting loop.
This fix doesn't remove the uncaught exception but :

better informs users of what's happening during startup,
as well as increase the timeout to process all messages to 60s by default


helper for communication disabled on member object

Is your feature request related to a problem? Please describe.
A helper method that indicates if a member's communication is disabled.
Describe the solution you'd like
A method in guild_member. something like is_communication_disabled()?!
Additional context
https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-structure

added to dev branch :)
it'll be in master some time very soon.


creating MySQL linked service throws an error "'Server' cannot be null"

Describe the bug
Using the PowerShell to create MySQL linked service fails with error "'Server' cannot be null" when linked service is using the Key Vault (KV) for storing the the credentials. Looks like the new JSON payload version for MySQL linked service is not supported yet.  Using the old payload version and storing each property into KV seems to be working.
To Reproduce

create Azure Data Factory V2 my_test_df
create a JSON file c:\Test_MySQL.json
{  "name": "Test_MySQL",  "properties": {  	"type": "MySql",  	"typeProperties": {  		"connectionString": {  			"type": "AzureKeyVaultSecret",  			"store": {  				"referenceName": "AzureKeyVault",  				"type": "LinkedServiceReference"  			},  			"secretName": "MySql-connection-string",  			"secretVersion": ""  		}  	}  } }
run PowerShell to create the MySQL linked service

Set-AzureRmDataFactoryV2LinkedService -ResourceGroupName "" -DataFactoryName "my_test_df" -Name "Test_MySQL" -File "c:\Test_MySQL.json" -Force

the result is "Set-AzureRmDataFactoryV2LinkedService : 'Server' cannot be null."

Expected behavior
Not having error
Environment summary
Used PowerShell
az --version
azure-cli (2.0.44)
acr (2.1.3)
acs (2.3.0)
advisor (0.6.0)
ams (0.2.2)
appservice (0.2.2)
backup (1.2.0)
batch (3.3.2)
batchai (0.4.1)
billing (0.2.0)
cdn (0.1.0)
cloud (2.1.0)
cognitiveservices (0.2.0)
command-modules-nspkg (2.0.2)
configure (2.0.18)
consumption (0.4.0)
container (0.3.3)
core (2.0.44)
cosmosdb (0.2.0)
dla (0.2.1)
dls (0.1.0)
dms (0.1.0)
eventgrid (0.2.0)
eventhubs (0.2.2)
extension (0.2.1)
feedback (2.1.4)
find (0.2.12)
interactive (0.3.28)
iot (0.3.0)
iotcentral (0.1.0)
keyvault (2.2.2)
lab (0.1.0)
maps (0.3.1)
monitor (0.2.2)
network (2.2.3)
nspkg (3.0.3)
policyinsights (0.1.0)
profile (2.1.1)
rdbms (0.3.0)
redis (0.3.0)
relay (0.1.0)
reservations (0.3.1)
resource (2.1.2)
role (2.1.3)
search (0.1.1)
servicebus (0.2.1)
servicefabric (0.1.1)
sql (2.1.2)
storage (2.2.0)
telemetry (1.0.0)
vm (2.2.1)
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\bose.jankulovsk.azure\cliextensions'
Python (Windows) 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
Add any other context about the problem here.

Issues with Powershell commandlets should be filed here:
https://github.com/Azure/azure-powershell


Fix cache incorrectly checking td_meta_type against DECORATION

Fixes #3
I reviewed the cache loading code for the GDExtension against the GDScript implementation, and the part on checking the td_meta_type stood out:
GDExtension:
if (td_meta_type == TerrainType::DECORATION && peering.empty())
    continue;

GDScript:
# Decoration tiles without peering are skipped
if td_meta.type == TileCategory.EMPTY and !peering:
    continue

Since td_meta_type returns the tile category type, it makes no sense to check again TerrainType::DECORATION. Since DECORATION = 3, any terrain with id 3 will match against this if statement and be prevented from adding a placement to their terrain cache. After correcting it to TerrainType::EMPTY, everything works.
As an aside, I don't know why TileCategory and TerrainType aren't separated in the GDExtension version and instead lumped together under TerrainType. Could this be for efficiency?

Oops, that's quite a blunder. I guess I never tested it with more than 2 terrain types :rofl:
I don't totally recall why the enums were merged together. It was probably because they weren't used as types but just compared to ints.


Are there any plans for a TUI version?

I really like WhatSie. But it is true that it has competitors in the Linux world.
There used to be https://github.com/normen/whatscli/ but it doesn't work anymore. I am thinking of something like this but for whatsapp.
And since WhatSie already has a rudimentary cli functionality, maybe, perhaps, this is something the developer would be interested in?
I don't intend to be ungrateful for this awesome free and open source piece of software. Just trying to poke the developers curiosity.

aww, whatscli died?

Sorry, No.
Not right now.


Does this library support Atom feeds?

It seems it does not support Atom feeds.

@ashishb We provide custom data parser, maybe you can try it to achieve the purpose you want!


[webportal]dedicated vc table add NodeList cloumn

Coverage increased (+21.1%) to 75.0% when pulling 80637bb6cfe2f2776f44fb33ab40fb3ae877bdcb on fenghj/dedicatedvc_cloumn into 6dc5bd91178063fb26665d2a4ece851d530e70f4 on master.


typo in capacity-inputs.js

Description
There is a typo in the following file which causes JavaScript errors on the client:
src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js
Details

Affected Component: Sunstone
Version: Observed in <IP_ADDRESS> and present on GitHub at time of writing

Additional context
Offending typo is on line 202:
if(element && element.TEMPLATE && element.TEMPLATE.TOPOLOGY && element.TEMPLATE.TOPOOGY.CORES) {
Should be:
if(element && element.TEMPLATE && element.TEMPLATE.TOPOLOGY && element.TEMPLATE.TOPOLOGY.CORES) {

Progress Status

[x] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

thanks to both, added to resolved issues 6.4.3, closing.


Update QUICHE from 6139e0819 to bfd723274

Update QUICHE from 6139e0819 to bfd723274
https://github.com/google/quiche/compare/6139e0819..bfd723274
$ git log 6139e0819..bfd723274 --date=short --no-merges --format="%ad %al %s"
2022-05-17 birenroy Fixes an Envoy continuous integration build error:
2022-05-17 fayang Deprecate gfe2_reloadable_flag_quic_flush_after_coalesce_higher_space_packets.
2022-05-17 bnc Move some tests into quic::test namespace.
2022-05-16 vasilvv Provide default implementation of quiche_command_line_flags.h
2022-05-16 bnc Do not call memcpy with nullptr in SimpleBuffer::Read() and Write().
2022-05-16 martinduke Have the test code get the original connection ID from the client instead of the server, to avoid a race condition with the server thread.
2022-05-16 birenroy Demotes INFO logs leftover from debugging.
2022-05-16 vasilvv Make default quiche_logging_impl more functional.
2022-05-16 bnc Lazy reserve in SimpleBuffer.
2022-05-16 vasilvv Add default implementation of quiche_test.h
2022-05-16 vasilvv Provide default implementation of QuicheThread.
2022-05-16 bnc Add tests for QuicheLowerCaseString.
2022-05-16 fayang Internal change
2022-05-16 quiche-dev QBONE bonnet: Print the QBONE region on /statusz.
2022-05-16 vasilvv Automatically generate lists of source targets on Copybara export.
2022-05-16 quiche-dev Deprecate --gfe2_restart_flag_alia_subdomains.
2022-05-16 vasilvv Provide default implementation of QuicheLowerCaseString.
2022-05-15 bnc Use QuicheTest or QuicheTestWithParam instead of ::testing::Test.
2022-05-15 bnc Do not include quiche_platform_impl headers from quic/platform/api.
2022-05-13 fayang Make time wait list aware of original server connection ID. Also, encrypt INITIAL termination packet with crypter using original server connection ID.
2022-05-13 vasilvv Add missing include headers in Balsa.
2022-05-13 vasilvv Switch array_output_buffer.h to use QUICHE_EXPORT_PRIVATE for consistency with other targets in spdy/core.
2022-05-13 bnc Remove {QUIC,QUICHE}PREDICT{TRUE,FALSE} macros.
2022-05-13 bnc Remove QUIC_NOTREACHED.
2022-05-13 bnc Add using directives to BalsaHeader to fix gcc compile error.
2022-05-13 bnc Add underlying type to Balsa enums.
2022-05-12 dschinazi Support draft-ietf-masque-h3-datagram-09
2022-05-12 quiche-dev Internal change
2022-05-12 bnc Move some QUICHE presubmit checks from individual files to METADATA.common.
2022-05-12 dschinazi Drop support for draft-ietf-masque-h3-datagram-00
2022-05-12 martinduke Access buffered CHLO in the correct place when the server changes the connection ID.
2022-05-12 bnc Remove always passing DCHECK.
2022-05-12 bnc Move quiche/common/balsa to quiche/balsa.
Signed-off-by: Ryan Hamilton<EMAIL_ADDRESS>Risk Level: Low
Testing: Existing
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

/assign @danzh2010

/assign @alyssawilk


Including CFList in LinkAdrReq when it's already in the JoinAccept

When I have a device that has CFList via JoinAccept enabled (US915), I can see that Router still proceeds with the routine of trying to send LinkAdrReq in response to the Data Frames.
This is redundant as if the device is already sending a Data Frame, you can assume it received the JoinAccept and the included Channel Mask.

Will fix

I can see that Router still proceeds with the routine of trying to send LinkAdrReq in response to the Data Frames.

Are you sure there's no need to change the device's DR/TX power? In this case ChMask shall also be present.

Be careful, as there is no way to provide the device's LoRaWAN specification version to the router, this will be a breaking change:
I have devices using the same profile (with ADR on) that are v1.0.2, v1.0.3 and v1.0.4. The v1.0.3/v1.0.4 parse the CFList and use the correct channel plan, but the v1.0.2 will ignore it (as per specification), for those the subsequent LinkAdrReq is useful.
1.0.2 regional parameters:

1.0.2 devices should have a LoRaWAN profile on Console that has CFList disabled in that case?
I guess it's not too bad of a thing to maintain for backwards compatibility, but if we are doing so, perhaps we remove the CFList toggle altogether.


Add the CommandReturn type.

The command system call will return a CommandReturn. CommandReturn is practically free to construct and contains methods that allow drivers to interpret the register values it contains.

@mcy for awareness.

I think this is a good design, especially when thinking about how the CommandReturn type is going to be used and applying the same reasoning with regards to checked vs. unchecked variants as here. I'm wondering: is it worth keeping the fn is_ methods around, when in the common case you're expecting a specific return variant anyways? I imagine for those rare cases a get_().is_some() should suffice too?

I'm wondering: is it worth keeping the fn is_ methods around, when in the common case you're expecting a specific return variant anyways? I imagine for those rare cases a get_().is_some() should suffice too?

I do not have a strong opinion either way. My only concern is if the compiler fails to optimize away the computations that get_() perform, but that seems unlikely to be an issue.

If you feel like they could be of use, then we can surely leave them in. Given they are exported across crate boundaries the compiler will still generate code for them, but I can imagine for the get_ methods the checks would be inlined anyways. LTO will take care of the code bloat. I'm also fine either way, just wanted to raise the question.

I pushed a commit that renames ReturnType to ReturnVariant.
I believe this PR is ready to merge.

I pushed a commit that renames ReturnType to ReturnVariant.
I believe this PR is ready to merge.


[5.7] Fix the replace placeholder methods for the the comparison rules (gt/lt/gte/lte).

This PR fixes #25481, basically the replaceMethod will check for the attribute if not present it will replace the placeholder with the passed value.

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


Fixed 2 ubsan errors

The PR fixes 2 errors reported by ubsan (undefined behavior sanitizer)
detected while running vim tests.
channel.c:4017:8: runtime error: null pointer passed as argument 1, which is declared to never be null
channel.c:3995:4: runtime error: null pointer passed as argument 1, which is declared to never be null

They are admittedly nitpicky as I am not aware of any
implementation where memmove(NULL, .., 0) would
cause problems in practise. Nevertheless, it's easy and
safer to fix.
Running tests with ubsan reports another error which
I did not fix as I do not see a simple way to fix
it and there is a comment in the code that acknowledge
that it is assumed that division by 0 returns infinity:
eval.c:4351:15: runtime error: division by zero

Codecov Report

Merging #4631 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4631      +/-   ##
==========================================
- Coverage   81.33%   81.33%   -0.01%
==========================================
  Files         111      111
  Lines      144958   144960       +2
==========================================
- Hits       117907   117902       -5
- Misses      27051    27058       +7

Impacted Files
Coverage Δ

src/channel.c
83.92% <100%> (-0.06%)
:arrow_down:

src/if_xcmdsrv.c
86.17% <0%> (-0.18%)
:arrow_down:

src/ex_cmds2.c
88.29% <0%> (-0.12%)
:arrow_down:

src/gui_gtk_x11.c
57.86% <0%> (-0.1%)
:arrow_down:

src/window.c
87.23% <0%> (-0.1%)
:arrow_down:

src/terminal.c
81.25% <0%> (ø)
:arrow_up:

src/ex_cmds.c
82.28% <0%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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


Duplicate entries for "bend"

There are duplicate entries for the word "bend". I don't have a physical copy to check if this is the case in the original book.

Thanks for your note. You are right, actually I didn't modify the original texts, so the issue (if it counts as issue) is from the source text!

What are the links for the source text?

APK


Scale self-register

Self registering scales, to enable easier usage through modules

Will we do the same with controllers and plugins as well? (controllers we would need to add a registration mechanism, but plugins already have one I believe)

Will we do the same with controllers and plugins as well? (controllers we would need to add a registration mechanism, but plugins already have one I believe)

Yeah, I think it would be good.

Closing, as it seems using self-registering does not work well with tree shaking