Image not being created in screenshot?

Windows
NET version 7.0.10
Extent Reports 5.0.0
I am using the following code to generate a screenshot for a failed test, but no image is actually being created in the test report:
test.Fail("Screenshot", MediaEntityBuilder.CreateScreenCaptureFromPath("." + @"/extent.png").Build());

The file path, from the broken image, appears correct "Reports/2023/12Sep/extent.png", where the report is stored in "Reports/2023/12Sep/"
Is there a known reason why the screenshot image is not created?
(Apologies if this is not an appropriate place for this question.)

Can you check the HTML on the report for the image path using devtools? Try using "extent.png" directly?

Thanks anshooarora,
This is the image html from the report in dev tools:

When the code is changed to:
test.Fail("Screenshot", MediaEntityBuilder.CreateScreenCaptureFromPath("extent.png").Build());
The img html from the report in DevTools changes to

But the image still does not load.

I also can't find the image locally, when I search for it in File Explorer, it seems like it is not being created.

Thanks very much again anshooarora, that's exactly what I was misunderstanding. All working now.


Fix missing points

This fixes https://github.com/plotly/plotly.js/issues/2334 and related issues.
Turns out there was overflow in point-cluster, fixed in 3.1.5 https://github.com/dy/point-cluster/commit/bdda757def9481be00cb886298e48c0929ee5186
cc @etpinard @archmoj

Thanks @dy for the fix.
Once I tried this branch on Plotly.js, I was not able to spot any difference using the Before and After codepens.
Any suggestion that may help would be much appreciated.

Ah, I see. Well, point-cluster isn't good with half-transparent points - it just hides points that are overlapped by other points - if you have transparent points, then total transparency can be lost, as it is seen on the edges.
The original solution @mikolalysenko had in snap-points-2d was counting number of points in cluster and deriving transparency from that number (weights property). Afaik, that wasn't implemented in gl-scatter2d, but that's possible.
That feature is not yet in point-cluster, but actually a good improvement. Can be addressed in a separate issue.
This issue just fixes missing points.

Thanks very much @dy !
The problem described  https://github.com/plotly/plotly.js/issues/3405 (see https://codepen.io/etpinard/pen/Larwdp) doesn't appear to be fixed though (see https://codepen.io/etpinard/pen/KEeOyB, using @archmoj 's https://28893-45646037-gh.circle-artifacts.com/0/dist/plotly.min.js), some points appear to still be missing.
@archmoj could you confirm that I'm using the correct bundle in my https://codepen.io/etpinard/pen/KEeOyB codepen?

@archmoj could you confirm that I'm using the correct bundle in my https://codepen.io/etpinard/pen/KEeOyB codepen?

@etpinard That's the right bundle. I also tested your codepen with rebuilt regl-scatter2d bundle locally which displays a similar result after update.

I have to investigate. Not sure I even understand the issue, so some points are just not displayed?
Can we possibly reproduce test-case here?

so some points are just not displayed?

Correct.

Can we possibly reproduce test-case here?

Here's https://codepen.io/etpinard/pen/KEeOyB, going from N pts down to M pts using an update (here Plotly.react) call results in less pts than just plotting M pts.
@dy please let us know if you would prefer a pure regl-scatter2d reproducible example.

@etpinard not sure I can grasp the issue, it is whether works fine for me or I just don't get something.
That would be simpler, yes, to come up with reproducible bug as a test-case here (example https://github.com/gl-vis/regl-scatter2d/blob/master/test/index.js#L83-L100)

After clicking newPlot(N):

After clicking newPlot(M):

After clicking newPlot(N) then react(M):

That would be simpler, yes, to come up with reproducible bug as a test-case here

Sure :ok_hand: Not sure if I'll have time to get to it this week, but I'll try.

Ok, got it. I'll look at that today.

Hm. That is not what I have in the example:
After clicking newPlot(N):

After clicking newPlot(M):

After clicking newPlot(N) then react(M):

I get the same picture in Win10/Win7/Brave/Chromw.
Not sure what do I do wrong here. Is that reproducible on OSX?

@archmoj can you try to reproduce https://github.com/gl-vis/regl-scatter2d/pull/19#issuecomment-474824454 from https://codepen.io/etpinard/pen/KEeOyB ?
Thanks!

After clicking newPlot(N) then react(M):

I get the same picture in Win10/Win7/Brave/Chromw.
Not sure what do I do wrong here. Is that reproducible on OSX?

After newPlot(N) then react(M)  there are too many points in the graph!
From what I see on Windows+Firefox too many points were displayed.
And in MacOS/Ubuntu+Firefox/Chrome many points are missing!

@dy would you still be interested in bringing this PR to the finish line?
You mentioned a bug fixed in point-cluster module which is obviously a good thing to have.
And if you generate the new baselines, @etpinard we can proceed to merge this, right?

If we could add test-case here, that would be way easier for me to debug.
Not 100% sure that belongs here and not to plotly scattergl trace.
I was going to refactor this component back to gl-scatter2d, in a way similar to gl-text, to avoid updating batch mess, that seems to be more efficient to have a set of lightweight instances, providing we cache them. That would fix the points number difference issue.
As for this PR - pretty sure we can merge it.

that would be way easier for me to debug.

Absolutely, I'll try to replicate the debug in pure regl-scatter2d

As for this PR - pretty sure we can merge it.

Go for it.


[SPARK-31182][CORE][ML] PairRDD support aggregateByKeyWithinPartitions

What changes were proposed in this pull request?
1, impl aggregateByKeyWithinPartitions and reduceByKeyWithinPartitions
2, use aggregateByKeyWithinPartitions in RobustScaler
Why are the changes needed?
When implementing RobustScaler, I was looking for a way to guarantee that the QuantileSummaries in aggregateByKey are compressed at the map side.
(before merge and qurey, the QuantileSummaries must be compressed)
Then I only found a tricky method to work around (yet not applied), and there was no method for this.
previous discussions were here
Does this PR introduce any user-facing change?
Yes, add new methods for PairRDD
How was this patch tested?
added testsuites and existing ones

Test build #119982 has started for PR 27947 at commit 964b9f8.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24704/
Test PASSed.

Test build #119982 has finished for PR 27947 at commit 964b9f8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119982/
Test PASSed.

friendly ping @srowen

Naive question from a newbie: you are introducing new methods for PairRDDs, so would it make sense to also expose them in the Java API (as methods of JavaPairRDD)? Or is it generally expected that the Java API is updated separately?

Well, I think that's part of the issue here - if it's public you kind of need to support it everywhere and for a long time. I don't know if it's worth it but I've lost the thread on this PR and would have to recall the motivation.

I tend to close it, since I can always workaround it. Maybe it is not necessary.


Solver status turning infeasible when trying to optimize

I am trying to integrate both transcriptomic and metabolomic data into an E.coli model (Escherichia coli str. K-12 substr. MG1655, model iML1515). However, when using gim3e function, the solver becomes infeasible after the first slim_optimize, the one to obtain the penalty_bound_constraint.
I have changed the solver to cplex and the error that i get is:
cplex.exceptions.errors.CplexSolverError: CPLEX Error  1225: Numeric entry is not a double precision number (NaN).
This error comes from this line (144 if not mistaken):
model.objective = objective

However the origin of the error comes from:
# Penalty bound constraint
    penalty_obj = model.slim_optimize()

When trying to optimize the model after resetting the objective function, the solver status changes to infeasible, making variable penalty_obj equal to nan and so the constraint that is built after gets this value as an upper_bound.
My inputs are the ones requested:

a cobra model;
an expression profile obtained from the class ExpressionProfile with the model gene names as lines and conditions as columns;
a dictionary of medium metabolites. Metabolites names' matches the ones in the model.

I have already tried a less complex model, expression profile and fewer metabolites.
I uploaded a zip with 3 files:

info : a pickle file that contains 3 variables, the metabolomic data, and two expression profiles (the first one is the complete data and the second matches the first 200 entries);
iML1515: the model;
test.py : a simple python script that allows to reproduce the error. The model and info files should be in the directory. Pickle and cobra should be python packages in the environment aswell as the latest driven version (matched the devel branch on github).

Notes: Cplex solver was used but if the attempt to reproduce is done with glpk the infeasible error still happens. The python version was 3.8.5.
integrating_omics.zip

Thank you for the detailed description. I will take a look at the zip that you provided. In general, nobody has worked on driven in a while so I wouldn't necessarily expect it to work out of the box.

No problem, thank you for taking my problem into account. I know this probably does not make much sense but if the original metabolites are removed from  the model (via remove_metabolites()) and only the "TM_" ones remain, the solver is able to find a solution.

I've a similar issue coding a branch-and-price algorithm.
On model modification the exception 1225 is thrown, but changing some coefficients of the objective function creating the model avoid the error.
Unfortunately I need other values for that coefficients in the objective function.
So, it should not be a bug in my code.
I do not find any solution in the Cplex documentation.
I've asked a question with more details on stackoverflow: https://stackoverflow.com/questions/76627803/prevent-cplex-setting-to-nan-coefficients-of-problem-variables-exception-1225-i


Slides Data Binding Issue while looping slides

Ionic-slides data binding problem after first loop
http://codepen.io/emps/pen/MyNgjz?editors=1010
Slide A works ok by clicking ++ button but after first loop Slide A data binding to controller not working any more .. happens only with fist Slide that is Duplicated in slides
and if u loop back (refresh first the page) Slide E not working
latest Ionic v1

any ionic v1 team support ?

Duplicated slide not get updated with the original slide

i can fix the problem if i add vm.slider.updateLoop(); inside plusplus function but i think we need a real fix

This issue was moved to driftyco/ionic-v1#129


patch for race test in ci failing from no clang

Closing to archive. Issues found in this PR might be addressed formally now with existing Go profile tools


Signs of success

I had a meeting with the South African National Treasury yesterday and almost fell of my chair when a Treasury team member knew about babbage and what it is useful for. It was all thanks to the Open Spending work with Mexico.
Just wanted to let you guys know that the work you (and folks like @pudo) do has a wide impact. Very gratifying.

@longhotsummer that is great, thanks so much for the feedback!
Big kudos to @akariv @VictoriaVlad @cyberbikepunk and @DianaMPG who all worked really hard on the Mexico pilot!


OH changes

I've added tests and fixed the storybook for the changes I did last week.  The branch I was pushing to on Thursday is no longer there.  I am hoping that someone can take over from here and do whatever needs to be done.

@BMPMS-Telicent

The branch I was pushing to on Thursday is no longer there
It was merged into main to unblock @davec504

I'm aware of that @ACoolmanTelicent.  This is the 'complete' task - with testing, comments and storybook working.  I don't know what to do next and I am hoping someone else will take it from here as I'll do this process so rarely I will forget every time and will likely mess it up so best not to be involved.

I am hoping that someone can take over from here and do whatever needs to be done.

@BMPMS-Telicent Sorry I've lost context on this PR - is this for the floating edges ticket?

I am hoping that someone can take over from here and do whatever needs to be done.

@BMPMS-Telicent Sorry I've lost context on this PR - is this for the floating edges ticket?

It is the OntologyHierarchy ticket - resolving these issues:
https://github.com/Telicent-io/telicent-ds/issues/379
https://github.com/Telicent-io/telicent-ds/issues/376
(Vanessa's one) https://github.com/Telicent-io/telicent-ontology-app/issues/274
https://github.com/Telicent-io/telicent-ontology-app/issues/230
And now also
https://github.com/Telicent-io/telicent-ds/issues/367

and do whatever needs to be done

What specifically are you thinking of?
e.g.
Do you mean the task of merging this PR? (e.g. test and merge)?
Or is there known bugs/features?

and do whatever needs to be done

What specifically are you thinking of?
e.g. Do you mean the task of merging this PR? (e.g. test and merge)? Or is there known bugs/features?

This is the complete task with testing ready to merge which ticks all the tickets I attached.
The code submitted on Thursday was to test functionality ahead of Bhavi's meeting with Ian - thus the need for a release candidate.
I don't know how to merge/push/etc to OSS repos @ACoolmanTelicent and I'm hoping I don't need to as the only open source item that is my responsibility is this component and it's over my head.  I'd be really grateful if someone could take this on please.
I'd be exceed

@BMPMS-Telicent

I don't know how to merge/push/etc
Ah, just merge as normal (instructions for the future)

And ping me when you need to generate a new build until I fix that process


Update CHANGELOG-3.0.md

Hey. Thanks. I updated Elastic 3.0 and the CHANGELOG and fixed the typo as well.


OpenSCENARIO vehicle not following route

I am looking to have my vehicle (ego or otherwise) to follow a set of waypoints, which should be supported through the  tag and the waypoint following atomic behavior. For the life of me I cannot get the vehicle to start following the points however. It works fine with a pedestrian, but neither the ego nor another vehicle will drive unless I just turn on the autopilot.
With this specification, I expect the vehicle to rather erratically drive to try and reach these points but nothing happens:
<Sequence name="RoutingSequence" numberOfExecutions="1">
    <Actors>
        <Entity name="vehicle" />
    </Actors>
    <Maneuver name="FollowingRouteManeuver">
        <Event name="FollowsRoute" priority="overwrite">
            <Action name="FollowsRoute">
                <Private>
                    <Routing>
                        <FollowRoute>
                            <Route name="StraightRoute" closed="false">
                                <ParameterDeclaration />
                                <Waypoint strategy="fastest">
                                    <Position>
                                        <World x="-7.691344" y="-18.206945" z="4" h="-0.4" />
                                    </Position>
                                </Waypoint>
                                <Waypoint strategy="fastest">
                                    <Position>
                                        <World x="13" y="-20" z="0" />
                                    </Position>
                                </Waypoint>
                                <Waypoint strategy="fastest">
                                    <Position>
                                        <World x="15" y="-30" z="0" />
                                    </Position>
                                </Waypoint>
                            </Route>
                        </FollowRoute>
                    </Routing>
                </Private>
            </Action>
            <StartConditions>
                <ConditionGroup>
                    <Condition name="StartCondition" delay="0" edge="rising">
                        <ByValue>
                            <SimulationTime value="0" rule="greater_than" />
                        </ByValue>
                    </Condition>
                </ConditionGroup>
            </StartConditions>
        </Event>
    </Maneuver>
</Sequence>

I couldn't find any examples that use the Route follower. What am I missing here?
Ubuntu 18.04, Carla 0.9.6

Hi,
have you tried to use more than 5 waypoints? I think there was a restriction from CARLA's planning module that requires more than 5 waypoints.

Yes! That was the issue. Thank you.


Remove _ in formats

https://docs.soda.io/soda-cl/missing-validity.html
has

format
description

ip_address
Four whole numbers separated by .

ipv4_address
Four whole numbers separated by .

ipv6_address
Eight values separated by :

_ in format names should be replaced with space

Already implemented.


The Library crashes in the browser.

It seems like my build configuration is erroneous and is not bundling dependencies.
Working on it

Done. Fixed build script to include Culori in the bundle when building for the browser


[discussion] restructure project sources and crates

I was thinking about restructuring the way the project and code in a way that separates different parts of the code in different directories or even crates.
As an example, right now inside the gdnative-core crate all the handling of nativescript classes is right next to the types wrapping the GDNative core types.
GDNative by now has a number of extensions, NativeScript being only one of them!

So I am proposing to:

separate code in gdnative-core into core-type-wrappers, setup code and minimally generated code (Object and Reference)
create a separate gdnative-nativescript crate

contains procedural macros, Instance and user_data, all the init.rs code

This would mean it would easier to add support for the Networking, PluginScript, ARVR and video-codec extensions later on if that is wanted. Even if support for those extensions is not wanted, I think having this split will make the code structure more clear to discover, find code and decide where new code needs to live.

Feedback is more than welcome! I might have totally missed something and this restructuring is more disruptive than beneficial, or there are other ways to structure the code that are better.
So, let me know what you think!

I like the idea of making the bindings more modular! The build times would be much better if we don't have to rebuild gdnative-bindings every time because some little thing regarding nativescript classes changed.

For such a structure to be ergonomic, though, there is the problem of interdependence. We need to somehow make the setup macros aware of extension crates, as it's sometimes necessary to run code at init / terminate time for some features.
One example is the just-merged type tag implementation. With the current setup macro, users would have to provide a custom callback to call cleanup, should it be moved out of -core.
An arguably more useful example is godot-cpp's use of global type tags for casting (vs string comparisons used here). For this to work, we need to register global type tags for all binding types at init time. This is not a problem for the monolithic C++ bindings, but pretty tricky here with -core and -bindings separated.
Of course, we could add feature flags and / or even more #[doc(hidden)] pubs, but that will just complicate maintenance, without bringing much benefits that may come from "real" modularization.

While NativeScript is but one of the extensions, it does cover the vast majority of use cases. I tend to think that it's best to keep its use ergonomic, at least before support for the other extensions materialize.
That's said, if we can design a nice way to handle setup dependency (and maybe also remove some #[doc(hidden)] pubs on the way), I think this will be a very nice change to the bindings!

I think if we can design some protocol for the extension crates, it would be possible to combine the setup macros, removing the need to manually insert setup code in custom callbacks. A possible syntax could look something like:
#[macro_use] extern crate gdnative_core;
extern crate gdnative_bindings as bindings;
extern crate gdnative_nativescript;

// - snip -

gdnative_setup! {
    extensions {
        bindings,
        gdnative-nativescript,
    }

    init_callback as godot_nativescript_init;
    terminate_callback as godot_gdnative_terminate;
}

I think ideally the type-tag change should not require any special setup in other callbacks.
For example the NativeScript extension will call godot_nativescript_init at startup and godot_nativescript_terminate right before shutdown, so in theory there should be no need to such strong interdependence.
The call to godot_gdnative_init should always come before any other calls, and the godot_gdnative_terminate should always come very last. So it should be fine to just have other extensions access the GodotApi struct, but I might be missing something here of course.

If the above-mentioned situation is not accurate, then we should still be able to provide macros that set up those callbacks which also set up the appropriate shutdown code, a bit like the bracket pattern in Haskell?

Sure. I didn't realize that the macros that define nativescript init / terminate functions can also be moved to the new crate...
-bindings don't seem to get a init function though, so we'll need to stick to string comparisons for casts between bindings types.

it should be fine to just have other extensions access the GodotApi struct

It should be. Just a bit of personal preference there. It doesn't really matter!

macros that set up those callbacks which also set up the appropriate shutdown code, a bit like the bracket pattern in Haskell

Yeah. It's why I suggested to combine the setup macros, so such code can be automatically generated. But it seems like it isn't currently necessary.

I don't think this restructure will be a problem, now that it does not seem like there will be a lot of usability loss. If a future feature would require a hook in init, it could always be discussed at that later time, then.


accept stackdriver 'severity' tag as level

Stackdriver logs have a severity tag which is the log level equivalent (https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry). Adds support for it here, allowing humanlog to colorize them.

thanks Val! i'll cut a release tomorrow

I made a release, you can brew upgrade humanlog if you were using the homebrew tap.


Port UI

https://github.com/microsoft/vscode-remote-release/issues/1777

@mjbvz would you like to keep ownership of the Tunnel Service? I talked to Alex D, and if you don't want it then I would take it over. If you do want to keep it, could you review the tunnel service related files 😊?

@alexr00 It's all yours. I only owned it because the webview was the first consumer of tunnels

Thank you for the review!


Add option to trim directory names

I am using
/usr/local/bin/python3 -m osxphotos export \
	--update  --directory "{created.date} {place.name.city,} {place.country_code,}" \
		"/Users/synox/Pictures/Photos Library.photoslibrary" \
		"/Users/synox/Pictures/Apple-Photos-Exported"

Which leads to directory names like:

2020-12-23 Zürich CH
2020-12-23

The last one has no location, and therefore two leading spaces.
It would be great to trim them by default, or add an option.

Good suggestion.  The easiest would be to trim (str.strip() in python) both directories and filenames (or maybe all templates) as this is the most likely thing expected/desired by the user.  There could be cases where someone wants the leading or trailing space but I'd expect those to be a minority.
Another option would be to a '{strip}' template that if present in the template, strips all leading/trailing white space.
Finally, I could add a {place?} boolean template (currently working on adding more of these in issue #289).  This would allow you to achieve the desired result using this template:
--directory "{created.date}{place? ,}{place.name.city,}{place? ,}{place.country_code,}"
I'll think about what's the cleanest way to implement this.

Good suggestion.  The easiest would be to trim (str.strip() in python) both directories and filenames (or maybe all templates) as this is the most likely thing expected/desired by the user.  There could be cases where someone wants the leading or trailing space but I'd expect those to be a minority.
Another option would be to a '{strip}' template that if present in the template, strips all leading/trailing white space.
Finally, I could add a {place?} boolean template (currently working on adding more of these in issue #289).  This would allow you to achieve the desired result using this template:
--directory "{created.date}{place? ,}{place.name.city,}{place? ,}{place.country_code,}"
I'll think about what's the cleanest way to implement this.

After looking at the template code, it wouldn't be difficult to add a boolean version of every template value.  e.g. you could do this:
--directory "{created.date}{place.name.city? ,}{place.name.city,}{place.country_code? ,}{place.country_code,}"

After looking at the template code, it wouldn't be difficult to add a boolean version of every template value.  e.g. you could do this:
--directory "{created.date}{place.name.city? ,}{place.name.city,}{place.country_code? ,}{place.country_code,}"

Partial fix in release v0.39.5
I added a --strip option that, if set, will strip all leading and trailing whitespace from rendered strings.  This applies globally to all templates used in the export session.
I'll work on extending the boolean template options at a later time.

Partial fix in release v0.39.5
I added a --strip option that, if set, will strip all leading and trailing whitespace from rendered strings.  This applies globally to all templates used in the export session.
I'll work on extending the boolean template options at a later time.


OCPP: Vehicle connects but doesn't start charging

Describe the bug
A car is connected but doesn't start charging. It will sit indefinitely in "Waiting for vehicle" state until evcc is restarted - it will then immediately start charging as normal.
This bug happens rarely, but I've noticed it twice in the last few weeks. From my own analysis of the logs, it seems like it might be the vehicle or the charger themselves acting wrongly, but I'm not familiar enough with OCPP to be sure. It seems the charger sends the "EVDisconnected" message despite the vehicle remaining connected and then charging never resumes until EVCC is restarted.
Steps to reproduce

Connect vehicle to charger.
Charging doesn't start.

Configuration details
network:
  schema: http
  host: evcc
  port: 7070

interval: 30s # control cycle interval. Interval <30s can lead to unexpected behavior, see https://docs.evcc.io/en/docs/reference/configuration/interval/

log: debug
levels:
  site: debug
  lp-1: trace
  lp-2: trace
  cache: error
  db: error
  ocpp: trace
  flobz: trace

site:
  - title: Something
    meters:
      grid: grid
    residualPower: 0
    maxGridSupplyWhileBatteryCharging: 0

meters:
  - name: grid
    type: template
    template: huawei-smartlogger
    usage: grid

    modbus: tcpip
    id: 11
    host: <IP_ADDRESS>
    port: 502

  - name: pv
    type: template
    template: huawei-sun2000-rs485
    usage: pv

    modbus: tcpip
    id: 1
    host: <IP_ADDRESS>
    port: 502

chargers:
  - name: charger1
    type: template
    template: pulsarplus
    timeout: 2m
    stationid: charger1

  - name: charger2
    type: template
    template: pulsarplus
    timeout: 2m
    stationid: charger2

  - name: charger3
    type: template
    template: pulsarplus
    timeout: 2m
    stationid: charger3

  - name: charger4
    type: template
    template: pulsarplus
    timeout: 2m
    stationid: charger4

  - name: charger5
    type: template
    template: pulsarplus
    timeout: 2m
    stationid: charger5

  - name: charger6
    type: template
    template: pulsarplus
    timeout: 2m
    stationid: charger6

loadpoints:
  - title: Garage Charger 1
    charger: charger1
    mode: "now"

  - title: Garage Charger 2
    charger: charger2
    mode: "now"

  - title: Garage Charger 3
    charger: charger3
    mode: "now"

  - title: Garage Charger 4
    charger: charger4
    mode: "now"

  - title: Garage Charger 5
    charger: charger5
    mode: "now"

  - title: Garage Charger 6
    charger: charger6
    mode: "now"

vehicles:
  - name: blc
    type: template
    template: flobz
    title: blc
    url: url
    vin: VIN

  - name: sfr
    type: template
    template: flobz
    title: sfr
    url: url
    vin: VIN

Log details
Log, starting shortly before car connection. I've highlighted what seem to be the most important parts.
Docker container
Version
evcc version 0.126.2

Afaikt the WB finally goes into preparing:
from charger4: [2,"1801324390","StatusNotification",{"info": "","vendorId": "com.wallbox","vendorErrorCode": "","connectorId": 1,"errorCode": "NoError","status": "Preparing","timestamp": "2024-05-10T09:06:49Z"}]

As to why it doesn't start charging I don't now. For sure, the grid meter is already loaded, so PV mode wouldn't start it:
[site  ] DEBUG 2024/05/10 11:09:30 site power: 16594W


[Auth] research about

Audience
Scope
User Roles

Converting All micro-services clients Acces-Type in bearer-only which is particularly for web-services

Resource Server will default to verifying the iss claim as well as the exp and nbf timestamp claims.
Reference: 12.3.9 Configuring Validation
To validate aud you have to implement custom validator.

As we are using KeyCloak Adapter in rest-api and as Stackoverflow and KeyCloak QA so I decide to use
User roles verification at rest-api level
and scope and audience verification at micro-service level.

[ ] create a docx along with pictorial illustrations about the auth flow for both rest-api as a client and react-client


Add Asgardeo Android SDK error handling part to the documentation

Description:
Currently in the mobile-ui-sdks documentation it does not have the error handling part of the Android SDK. To give a good developer experience it is necessary to add this part to the documentation.

The changes are updated to the documentation
https://asgardeo.github.io/mobile-ui-sdks/


Added travis.yml file

I think we need to just merge this first, then subsequent merges will be built.
Used html proof just to check for 400's and bad links.

Forgot Gemfile. Oops. :)


Add GraphGym environment. Closes #87

Depends on https://github.com/symbench/GraphGym/pull/2

@umesh-timalsina merged the blocking PR in our GraphGym fork!


Turn on logging for deprecation notices by default

Description
Following up on #6705 , this turns on the feature by default.
Deprecation notices should not halt execution. These notices are here to notify the users that something will not work in the future. They should not be forced to fix it now.
This PR changes the following:

Turns on deprecation logging
Raise logger reporting threshold to 5
Use the env variable CODEIGNITER_SCREAM_DEPRECATIONS to temporarily throw deprecations in tests (for convenience rather than changing the config).

Related: #6764
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Why does this error occur?
1) CodeIgniter\Cookie\CookieStoreTest::testCookieDispatching
ErrorException: The CodeIgniter\Cookie\CookieStore::setCookie method is deprecated ().

/home/runner/work/CodeIgniter4/CodeIgniter4/system/Cookie/CookieStore.php:174
/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Cookie/CookieStoreTest.php:119
/home/runner/work/CodeIgniter4/CodeIgniter4/vendor/nexusphp/tachycardia/src/Expeditable.php:43
phpvfscomposer:///home/runner/work/CodeIgniter4/CodeIgniter4/vendor/phpunit/phpunit/phpunit:97

https://github.com/codeigniter4/CodeIgniter4/actions/runs/3343093343/jobs/5535960965

Why does this error occur?

I'm clueless! Maybe PHPUnit is trigger a deprecation warning? We know it parses docblock tags.

I didn't know this feature existed: https://phpunit.readthedocs.io/en/9.5/configuration.html#the-ignoredeprecatedcodeunits-attribute
Doesn't explicitly seem like it would actually trigger a deprecation though.

Why does this error occur?

Apparently, PHPUnit parses @deprecated tags when mocking a method:
https://github.com/sebastianbergmann/phpunit/blob/851867efcbb6a1b992ec515c71cdcf20d895e9d2/src/Framework/MockObject/MockMethod.php#L123-L130
When it detects the tag, it generates the @trigger_error() in a template:
https://github.com/sebastianbergmann/phpunit/blob/851867efcbb6a1b992ec515c71cdcf20d895e9d2/src/Framework/MockObject/MockMethod.php#L205-L216

I think this one has to get into 4.3 because of #6705. Is that ground for pushing on #6710 as well? When remains to be done here?

I think this one has to get into 4.3 because of #6705. Is that ground for pushing on #6710 as well? When remains to be done here?

I'm not sure what justification do you want for the increase in logged level. That's what remains here.

I don't think $threshold should be changed easily.

How about some way of supporting different environment-specific levels? Like if $threshold = null then: ENVIRONMENT === 'production' ? 4 : 9?

It seems good! I always change it to 9 in development.
-    public $threshold = 4;
+    public $threshold = (ENVIRONMENT === 'production') ? 4 : 9;


Description meta tag is included twice in the head tag

In the default layout the description meta tag is included twice.
First through the SEO plugin:
{% seo %}
Second hard coded in the head tag itself:
<meta name="description" content="{{ page.description | default: site.description | default: site.github.project_tagline }}"/>
This is duplicate information and causes the W3C HTML validator to generate a warning about it.

@benbalter I'm using this theme for my own personal website (hosted through GitHub Pages).
When will the change be available there? :-)


When call hack/make.sh inside a Docker dev container, gcc failed to run.

I'm following the  instructions to build a binary inside a Docker development container. When I call hack/make.sh, I see the following output:
---> Making bundle: binary (in bundles/1.10.0-dev/binary)
Building: bundles/1.10.0-dev/binary/docker-1.10.0-dev
# github.com/docker/docker/docker
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: fork/exec /usr/bin/gcc: cannot allocate memory.
It bothered me for two days. Then I fixed it. In my opinion, there should be some tips or solution in the instructions around the words "call hack/make.sh" . Could I finish it?
@moxiegirl

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@hsinko   could you please let me know how you fixed it? Would be helpful for us

The command is this
root@5f8630b873fe:/go/src/github.com/docker/docker# hack/make.sh binary

add swap space @skairali

Do you use the ECS ? I have got the same problem as @hsinko !

@hsinko  please add more info like
docker info
Your system uname related  info
and what intructions you did to reproduce such issue

root@iZ28quaz1hjZ:/# docker info
Containers: 55
Images: 52
Server Version: 1.9.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 162
 Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-32-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 1
Total Memory: 992.5 MiB
Name: iZ28quaz1hjZ
ID: 7M62:ZV5D:FIE3:BYG6:B27Z:6FRK:TF3J:I3VG:MTLG:JMKJ:2ZLP:UYX2
WARNING: No swap limit support

the instructions: Work with a development container
@HackToday

@hsinko  did you run with hack/make.sh binary  or with hack/make.sh ?

@HackToday  definitely run with bash hack/make.sh binary

@hsinko  not sure if you get you, you host only have memory with 1GB, right ?
During your run that build instruction, is that memory enough to do that job ?
Did you use simple loop to check your meory usage during run that make command ?

Seems just like gcc is too expensive on memory. Closing this. Feel free to open new issue.


tkinter error

Traceback (most recent call last):
File "C:\Users\User\Downloads\PySilon-malware-main\PySilon-malware-main\builder.py", line 391, in
root = Tk()
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\tkinter_init_.py", line 2459, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
C:/Users/User/AppData/Local/Programs/Python/Python313/lib/tcl8.6 C:/Users/User/AppData/Local/Programs/Python/lib/tcl8.6 C:/Users/User/AppData/Local/Programs/lib/tcl8.6 C:/Users/User/AppData/Local/Programs/Python/library C:/Users/User/AppData/Local/Programs/library C:/Users/User/AppData/Local/Programs/tcl8.6.14/library C:/Users/User/AppData/Local/tcl8.6.14/library
This probably means that Tcl wasn't installed properly.
#===============================================================#
Software terminated.

Give us a Star on Github, this would really help us grow!
https://github.com/mategol/PySilon-malware

Also, please don't send this malware using websites like
Workupload or googledrive because they will scan the malware
and keep track of it and other ocurrences, which will result
in more detections in the future, please send it to people in
a zip archive with a password, or use services like anonfiles

Thank You!
#===============================================================#
Press any key to continue . . .

add 266sebee on discord for help

Hey, just use the ModdedPysilon version, it covers every bug and it make sure your discord account never get banned.
Leave me a star if you like my project ;)


Can't use st.switch_page with st_pages

Is there a way to navigate to a specific page of the app with st_pages? I'd like to use Streamlit's st.switch_page, but it does not seem to work with st_pages.
Error message and simple example app below.
Error:
StreamlitAPIException: Could not find page: pages/details.py. Must be the file path relative to the main script, from the directory: project. Only the main app file and files in the pages/ directory are supported.

Traceback:
File "/Users/meghan/Desktop/project/pages/search.py", line 14, in <module>
    render()
File "/Users/meghan/Desktop/project/pages/search.py", line 12, in render
    st.switch_page("pages/details.py")

Simple repro:
app
 |
 +-- .streamlit/
 |  +-- pages.toml
 |
 +-- home.py
 |
 +-- pages/
 |  +-- details.py
 |  +-- search.py

.streamlit/pages.toml:
[[pages]]
path = "home.py"
name = "Home"

[[pages]]
path = "pages/search.py"
name = "Search"
icon = ":mag:"

pages/details.py:
from st_pages import add_page_title, show_pages_from_config
import streamlit as st

add_page_title()
show_pages_from_config()

def render():
    st.title("Details")
    if st.button("Search"):
        st.switch_page("pages/search.py")

render()

pages/search.py:
from st_pages import add_page_title, show_pages_from_config
import streamlit as st

add_page_title()
show_pages_from_config()

st.session_state.claim = None

def render():
    if st.button("details"):
        st.switch_page("pages/details.py")

render()

Figured this out, and posting the solution in case it's helpful for others:
Omitting a page from the pages.toml config in order to hide it from the sidebar won't work if you need to use that page for app navigation. The proper way to hide the page is to call
hide_pages(["<page name>"])


NPCs sometimes will remain in war mode for long term

NPCs sometimes will remain in warmode (statf_war flag) even though combat has ended, they have an empty attack list and they have no memory items for combat.
seems to happen sporadically and i cannot recreate it

I think this issues may be a part of our bug of "core saturation".

Set a possible fix to this, tho @Jhobean I do not think this can cause the problem you have because it's just a flag on the character which does not alter it's behaviour.

Work for me!  NPC do not stay in war mode

This appears to be fixed for me as well, i'll close it out since Jhobean also was able to confirm it.

I think this issue Is back...


Problem rendering texts in PopOS 22.04

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
My development environment

Compiled using cargo build --release --target x86_64-unknown-linux-gnu
When executing the generated binary on a computer with PopOS 22.04, the texts do not render, but every update of the app continues normally, it is even possible to see that the element was added to my table

My Cargo.toml
[package]
name = "costv"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced = { version = "0.12.1", features = ["lazy"] }
iced_core = "0.12.3"

[profile.release]
strip = true

What is the expected behavior?
This is the expected result

Version
crates.io release
Operating System
Linux
Do you have any log output?
No response

Having the same issue on Pop_os 22.04 but just with the counter example - v0.10 renders text fine but 0.12 and 0.12.1 just render everything as boxes


firpfb behavior

I just noticed an odd result when performing the same filtering operation through firdecim and firpfb.
I wanted to be able to adjust the output phase using a timing estimate from my signal, so first I tested the output of firpfb with a fixed phase (0).
From my understanding the output signals should be the same (as a polyphase filter is just a more efficient implementation of FIR filtering + decimation/interpolation). Then I noticed that the current implementation just subsamples the filter coefficients to form M filters and each output sample only uses 1 of them.
Am i missing something? Is this behavior unintended? If so, I can help here.
Keep up the good work!

PFBs do use only one phase (sometimes called filter arm) per output sample. That's what makes them efficient.
Are you saying that the output didn't look right?

Worked perfectly here after many experiments; some additional documentation would have been good though ;)

I'm not the author of liquid, but I have written a multirate DSP library for another language. Despite being fairly simple, It took me forever to understand polyphase filtering. I finally realized that it's almost impossible to describe them with static diagrams. If you want more info feel free to contact me.
I lied in my previous response. If you want to do arbitrary (non-rational) sample rate conversion, a good way is to pick the two phases that straddle the virtual phase that you want, use both of them to output two samples, and then linearly interpolate between those two outputs.

Thank you for your replies.
I set up a little test to get a better understanding of what I am dealing with.
const unsigned int M = 16;
...
firdecim_crcf C0_fir  = firdecim_crcf_create(M, C0, C0_len);
firpfb_crcf C0_pfb = firpfb_crcf_create(M, C0, C0_len);

For each block in float complex x[M]:
// FIR decimator - automatically deals with the entire block of size M
firdecim_crcf_execute(C0_fir, x, &y0);
// Polyphase filter - feed samples first, then execute
for (int i = 0; i < M; i++) firpfb_crcf_push(C0_pfb, x[i]);
firpfb_crcf_execute(C0_pfb, 0, &y1);

If I analyze both outputs of y0 and y1, I get the following (y0 top, y1 bottom):

I realized by taking a look at the code that the output of y1 is equivalent to using a subsampled filter, like this:
float C0_dec[C0_len / M];
for (int i = 0; i < C0_len / M; i++) C0_dec[i] = C0[i*M];
firdecim_crcf C0_fir2  = firdecim_crcf_create(M, C0_dec, C0_len/M);

Please tell me if there is something wrong with this code.
I know polyphase filtering uses only one phase/filter arm per each input sample, but at the output stage you should sum all the filter arms (which contain values computed with previous samples) to obtain the complete result: if you do not do this, you are simply discarding filter coefficients (as seen above). The output of firpfb_crcf_execute(C0_pfb, 0, &y1) is just the output of the first filter arm! (filter 0).
The efficient part comes from not having to compute samples that would be discarded on further decimation.
In fact, a similarly efficient implementation in software is to just avoid computing the dot product for each new sample and just compute it every M samples (which is in fact what firdecim is doing! but with a fixed phase of 0).

After reviewing this, I guess this is not the intended use of firpfb after all. I am a bit confused by the code and its purpose: the main issue I noticed is that all the M subfilters share the same input sample window to perform the dot product.
If they used different windows, I could simply manually sum the filter arms every M samples to obtain what I expected, like this:
for (int i = 0; i < M; i++) {
  firpfb_crcf_push(C0_pfb, x[i]);
  firpfb_crcf_execute(C0_pfb, i, &y0);
  out += y0;
}
out = 0;

However, the odd thing is that in firpfbch (the polyphase channelizer), each subfilter uses its own input sample window, which is what I expected here too (difference is the DFT instead of a simple sum).

Sorry for the chain of messages, but I think I finally understand what is going on.
If I am right, firpfb is used in liquid to implement the filtering structure defined in Multirate Digital Filters for Symbol Timing Synchronization in Software Defined Radios by Fredric J. Harris and Michael Rice.
This is not the usual polyphase filter by any means (the difference is that instead of M polyphase filters operating in parallel, only one filter is constructed with M set of weights: that explains the confusion in my last posts). This structure expects the filter coefficients to be an oversampled-by-M version of the desired response.
Now I am seeing what I expected at the output.
Thank you again for your work.


Add scrolled entry type

Render blank view for preview and outline.
REDMINE-17213

Coverage remained the same at 99.096% when pulling 424d9bd4a39ec981770b4053f118e7453ddc9149 on tf:scrolled-entry-type into 91507978d83da83fe1ead81a758b9ca37eb46468 on codevise:master.


Add documentation about AADSTS90094 issue

I am trying to use separate CI/CD account via office365-cli and there is a problem with
spo connect https://contoso.sharepoint.com
because the browser login stops to

AADSTS90094: The grant requires admin permission.

It would nice to have some guidance for situation like that in https://pnp.github.io/office365-cli/user-guide/connecting-office-365/#connect-using-the-default-device-code-flow
From security point of view it would be best if CI/CD account does not have admin rights but account could be used for certain common tasks with office365-cli.

We have some documentation about it, just in a different place. Have you seen https://pnp.github.io/office365-cli/concepts/authorization-tokens/#azure-ad-application-used-by-the-office-365-cli?

Closing due to inactivity. If the documentation I mentioned is insufficient, please feel free to respond/reopen the issue.


cannot satisfy -package-id base-<IP_ADDRESS>

To reproduce:

get the Miso sample-app built using cabal v1 https://github.com/dmjio/miso#begin
opening Main.hs will show on the first line:

<command line>: cannot satisfy -package-id base-<IP_ADDRESS>-BGkpKxWDclNH5NZN2wRc8Q
    (use -v for more information)

Are you running the version of hie built for GHC 8.6? You might want to check the logs to see if hie-wrapper has reported anything

@bubba It seems that is finds and uses GHC 8.6.5:
[neo@nixos:~/Sources/miso/sample-app]$ hie
2019-10-06 02:00:29.171952695 [ThreadId 4] - run entered for hie-wrapper(hie) Version <IP_ADDRESS> x86_64 ghc-8.6.5
2019-10-06 02:00:29.172522348 [ThreadId 4] - Current directory:/home/neo/Sources/miso/sample-app
2019-10-06 02:00:29.172773909 [ThreadId 4] - Operating system:linux
2019-10-06 02:00:29.174121417 [ThreadId 4] - Cradle directory:/home/neo/Sources/miso/sample-app
2019-10-06 02:00:29.174411245 [ThreadId 4] - Using plain GHC version
2019-10-06 02:00:29.203514306 [ThreadId 4] - Project GHC version:8.6.5
2019-10-06 02:00:29.20372019 [ThreadId 4] - hie exe candidates :["hie-8.6.5","hie-8.6","hie"]
2019-10-06 02:00:29.204604763 [ThreadId 4] - found hie exe at:/nix/store/n3mm6vw8lv6p92v13s16mddkgg8fr780-haskell-ide-engine-combined/libexec/bin/hie-8.6.5
2019-10-06 02:00:29.204921802 [ThreadId 4] - args:[]
2019-10-06 02:00:29.20504505 [ThreadId 4] - launching ....

2019-10-06 02:00:29.562763512 [ThreadId 4] - Using plain GHC version
2019-10-06 02:00:29.592506342 [ThreadId 4] - Run entered for HIE(hie-8.6.5) Version <IP_ADDRESS> x86_64 ghc-8.6.5
2019-10-06 02:00:29.592894057 [ThreadId 4] - Current directory:/home/neo/Sources/miso/sample-app

This is all I get in the hie.log:
2019-10-06 02:00:19.22843582 [ThreadId 12] - setTypecheckedModule: after ghc-mod
2019-10-06 02:00:19.228585468 [ThreadId 12] - setTypecheckedModule: Didn't get typechecked or parsed module for: "/home/neo/Sources/miso/sample-app/Main.hs"
2019-10-06 02:00:19.228627188 [ThreadId 12] - setTypecheckedModule: errs: ["<command line>: cannot satisfy -package-id base-<IP_ADDRESS>-BGkpKxWDclNH5NZN2wRc8Q\n    (use -v for more information)"]
2019-10-06 02:00:19.22874798 [ThreadId 12] - ghcDispatcher: top of loop
2019-10-06 02:00:19.228815036 [ThreadId 6] - <--2--{"result":[],"jsonrpc":"2.0","id":1}
2019-10-06 02:00:19.228875626 [ThreadId 6] - <--2--{"jsonrpc":"2.0","params":{"type":1,"message":"Got error while processing diagnostics: <command line>: cannot satisfy -package-id base-<IP_ADDRESS>-BGkpKxWDclNH5NZN2wRc8Q\n    (use -v for more information)"},"method":"window/showMessage"}
2019-10-06 02:00:19.228966758 [ThreadId 6] - <--2--{"jsonrpc":"2.0","params":{"uri":"file:///home/neo/Sources/miso/sample-app/Main.hs","diagnostics":[{"severity":1,"range":{"start":{"line":0,"character":0},"end":{"line":1,"character":0}},"source":"ghcmod","message":"<command line>: cannot satisfy -package-id base-<IP_ADDRESS>-BGkpKxWDclNH5NZN2wRc8Q\n    (use -v for more information)\n"}]},"method":"textDocument/publishDiagnostics"}
2019-10-06 02:00:21.748824884 [ThreadId 4] - ---> {"jsonrpc":"2.0","id":2,"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/neo/Sources/miso/sample-app/Main.hs"},"position":{"line":11,"character":42}}}
2019-10-06 02:00:21.749043955 [ThreadId 10] - ****** reactor: got message number:3
2019-10-06 02:00:21.749101676 [ThreadId 10] - reactor:got DocumentHighlightsRequest:RequestMessage {_jsonrpc = "2.0", _id = IdInt 2, _method = TextDocumentDocumentHighlight, _params = TextDocumentPositionParams {_textDocument = TextDocumentIdentifier {_uri = Uri {getUri = "file:///home/neo/Sources/miso/sample-app/Main.hs"}}, _position = Position {_line = 11, _character = 42}}}
2019-10-06 02:00:21.749169172 [ThreadId 10] - ****** reactor: top of loop
2019-10-06 02:00:21.749206485 [ThreadId 13] - ideDispatcher: got request 3 with id: IdInt 2
2019-10-06 02:00:21.749339419 [ThreadId 13] - ideDispatcher: top of loop
2019-10-06 02:00:21.749408102 [ThreadId 6] - <--2--{"result":[],"jsonrpc":"2.0","id":2}
2019-10-06 02:00:23.671097973 [ThreadId 4] - ---> {"jsonrpc":"2.0","id":3,"method":"shutdown","params":null}
2019-10-06 02:00:23.671305894 [ThreadId 6] - <--2--{"result":"ok","jsonrpc":"2.0","id":

We established on IRC the problem was trying to use h-i-e with a project which only builds with ghcjs. You need to use jsaddle in these situations so your project builds with normal GHC.

@mpickering Ok, but the only problem is that we have not established yet HOW to build it with jsaddle so it won't be very helpful for people reading this later.


fix(#97): accept validator case insensitive

Fix issue where accept validator return false if file extension is uppercase. Accept validator should be case insensitive.
Closes #97.

Hi @hackingharold Sorry to bother you, but is there any chance that we get this fix as soon as possible into a release? I'm asking because we have an issue in a production system and we would not like to exclude the validation.
Thanks a lot

Hi @nischi,
very well spotted, thanks for your contribution. Please see v18.1.2 for the latest release. 🚀


Support for interfaces with Pulse

Interfaces and Pulse
Currently, a Pulse definition cannot be hidden in a module and only its signature visible in an interface. This is not specific to Pulse: The DSL mechanism doesn't yet allow this.
As we start building more useful Pulse libraries, we need a way to have them work with interfaces.
One possibility:
The current implementation of splice_t doesn't check anything: it simply takes the well-typed program produced by the DSL checker and slaps it into the module.
Instead, when splicing in a let f : t' = e into the program, it could check if a val f : t exists, and if so, check that t' <: t
@mtzguido mentioned that instead of this, there could be a new tactic primitive for splicing in well-typed solutions to goals, which could handle this scenario smoothly.
We should also add syntax for writing Pulse signatures, for use mainly in interfaces, i.e., you could write
fn f (...)
 requires ..
 returns ...
 ensures ...

i.e., a fn without a body, where it gets elaborated to a val f ...

Fixed in #67 and #121.


Creating envelopes not based on ADSR construction

Hi,
I often use line~ or curve~ objects in Max/MSP to create envelopes for synths. The basic gist is that you ask these objects to go from origin > destination over a given amoutn of time. For my purposes I find this more intuitive than ADSR.
What would be the best way to go about this? I currently have something but it doesn't really do what I would expect. Just as a note, the following code is called within a loop where the context time is passed in as an argument as time.
const sig = new Tone.Signal(0); // just for clarity there is a signal defined

// and this b it happens inside of the loop where time is passed as time variable
sig.exponentialApproachValueAtTime(1, time, 0) //go to 1 now
sig.exponentialApproachValueAtTime(0, time+1, 1) // go to 1 over 1

Is this a valid strategy or should I be looking to do something like this another way?

Seems like a valid strategy. You can also take a look at linearRampTo, exponentialRampTo and targetRampTo. which might be slightly more similar to line~ API.


imphash edge case

Describe the bug
An edge case was discovered in the imphash calculation.
https://www.virustotal.com/gui/file/931d78c733c6287cec991659ed16513862bfc6f5e42b74a8a82e4fa6c8a3fe06/details
pefile.get_imphash and yara imphash are different.
pefile.get_imphash: de0e9a1c5146d0ccdbd2c591204b3397
yara imphash: bec78aac070fc1368d936b79b3b1bfbd
The reason for this is that “-” was not checked in the valid_function_name function.
static int valid_function_name(char* name)
{
  if (!strcmp(name, ""))
    return 0;

  size_t i = 0;
  for (char c = name[i]; c != '\x00'; c = name[++i])
  {
    if (!(c >= 'a' && c <= 'z') && !(c >= 'A' && c <= 'Z') &&
        !(c >= '0' && c <= '9') && c != '.' && c != '_' && c != '?' &&
        c != '@' && c != '$' && c != '(' && c != ')' && c != '<' && c != '>')
      return 0;
  }
  return 1;
}

To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:

OS: [e.g. iOS]
YARA version: [e.g. 4.3.0]

Additional context
Add any other context about the problem here.

same case
pefile.get_imphash: 4b316cfc18098761f4620e44d04c4d9f
yara imphash: d41d8cd98f00b204e9800998ecf8427e
https://www.virustotal.com/gui/file/db6a9934570fa98a93a979e7e0e218e0c9710e5a787b18c6948f2eedd9338984/details

MD5 ("") = d41d8cd98f00b204e9800998ecf8427e
I ran into this before as well, maybe imphash should return undefined for this case?

thank you for your support

thank you for your support


Zero Result

Hello @taspinar
Recently I run twitterscraper from my command line.
C:\Python27\Scripts\twitterscraper Telkomsel -o tweets.json
Unfortunately, resulting zero result. But if I add another keyword like Telkomsel mengecewakan resulting the tweet related keyword.
In the other hand, if I write
C:\Python27\Scripts\twitterscraper Trump -o tweets.json it runs very well.
Why it happens ?
This is weird, I checked Telkomsel on Twitter, sometimes it reloads and sometimes it stucks at all. Is it part of Twitter bug ?

Issue could not be reproduced.


[LIMINAL-25] Respond with 204 to favicon requests to python server

Added route /favicon.ico that returns http status code 204 No content
https://issues.apache.org/jira/browse/LIMINAL-25

Some clients request file favicon.ico when calling URLs, this request fails

LGTM
Please add unit test which verifies we get 204 for favicon request

@simlev any luck with unit test?

@aviemzur I added test.
There is a strange conflict now in the branch.


update scrypt to 0.8.6

allow pycryptodomex
remove pycrypto from test req.

Ok i will remove pycryptodomex from setup.py.

Codecov Report

Merging #61 into master will decrease coverage by 0.17%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage      61%   60.83%   -0.18%
==========================================
  Files          19       19
  Lines        1031     1034       +3
==========================================
  Hits          629      629
- Misses        402      405       +3

Impacted Files
Coverage Δ

graphenebase/bip38.py
77.5% <0%> (-3.02%)
:arrow_down:

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 66732ca...1461846. Read the comment docs.

The reason for this PR, is that i'm using conda and there is only a pycryptodomex package, which is the same as the pycryptodome, but allows parallel installtion of pycryto.

Thanks for the patch! next time, please send patches to develop


python3Packages.pyaftership: 21.1.0 -> 21.11.0

Motivation for this change
UPdate to latest upstream release 21.11.0
Change log: https://github.com/ludeeus/pyaftership/releases/tag/21.11.0
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 145490 run on x86_64-linux 1

2 packages built:

python38Packages.pyaftership
python39Packages.pyaftership


Layer geometry becomes editable when edit button clicked in the information panel

After I select a record from the table, when I click Edit button, the feature geometry becomes editable
Test app: https://holistic.mapsdevext.arcgis.com/apps/instant/manager/index.html?appid=c1c09555a4d24ab7982293fac9590af8
Test map: https://holistic.mapsdevext.arcgis.com/home/item.html?id=e443af6208f6482d8737c406bdbcb17d
Note: Seeing this behavior in polygon layers, not in point layer

@sarahmcdonald7

@azizaparveen ready to test tomorrow

@jmhauck it is not going to editing mode anymore but the selected polygon turns black, are you seeing the same thing?

@azizaparveen yes...that is the default. Could possibly override by setting various defaults on the editors supporting widgets. I can explore that if its desired. What would be a preferred symbol to use if we are going to override?

@jmhauck I am thinking of no fill symbol with just cyan outline

@azizaparveen makes sense. Looks like this is a change at 4.28 with 4.27 it was highlighted like we would like. Have followed up with Editor folks. I tried setting various props on the Editors supporting widgets but could not see a workable solution.

Related JS bug being resolved: https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/56151

@jmhauck the black symbol does not go away after unselect the feature or if click the clear selection button

@avezina even though they said it is resolved in js api, I still see black polygon in Manager, I tried in incognito mode, same result

@azizaparveen While this may be fixed in jsdev 4.28, it has not yet made it to the js 4.28 release candidate build, which is what devext Instant Apps are pointing to.
John pointed out that we can see dependencies here: https://devtopia.esri.com/WebGIS/arcgis-portal-app-templates/blob/master/instant/manager/package.json
"@arcgis/core": "^4.28.0-rc.0"
Let's test it again later or tomorrow.

This looks good in devext

@jmhauck I can see the geometry becomes editable again, here is a test app https://webapps.maps.arcgis.com/apps/instant/manager/index.html?appid=3d87d41fe1044985ad938ffedb285bf0.
@sarahmcdonald7

@chris-fox @avezina This was enabled again when we decided to go back on the adding of related records. Seemed like it would be weird to be able to add a record but then not modify it?  What would you like to do?

@jmhauck, in that scenario could we allow updating the related feature attributes but not its geometry?  I would lean towards this approach if we can and then we can think we want the UX to be for editing and creating geometry of features for the next release.

Ok, will do

Verified in devext


"site backup list" does not respect --element argument

"site backup list" shows all code, file, and db backups, regardless of input provided in the --element argument
this command should only show the given element(s)

Hi, @aaronbauman. I couldn't duplicate the issue. May I ask what the exact command you are using is and the output of your sites list?

terminus site backup list, not site backup get

Ah, my mistake and thank you. I have duplicated this issue.


Observing on textfield text changes different in 5.0

I want to preface this with the fact that I am not sure if this come from lack of knowledge or a bug in 5.0.
Pre swift 3, I had a custom textField class that handled some validation and I bound the text value so that each time the value changed the validation script fired:
//Bind Validation
self.textField.bnd_text
.observe{[unowned self] _ in self.validateTextField() }
.disposeIn(bnd_bag)

Upon upgrading to swift 3 and Bond 5.0 I have:
//Bind Validation
self.textField.bnd_text
.observeNext{[unowned self] _ in self.validateTextField() }
.disposeIn(bnd_bag)

However it seems that they function differently. I currently set the value of my text based on values in my model. In Swift 2.3 this would trigger the self.validateTextField() but now in Swift 3 (bond 5.0) the only way to trigger self.validateTextField() is by actually tapping into the textfield. Updating the textfield.text value doesn't seem to be caught by the observeNext.
Has there been a change in functionality or is this simply a lack of knowledge on my part? Any help would be greatly appreciated. Thanks!

Hmm, I don't think that setting textfield.text ever fired an event, but setting textField.bnd_text.value did. It's not possible to do that any more, although you could simulate it with a dummy binding:
Signal<String, NoError>.just("new value").bind(to: textField.bnd_text)

Make sure you import ReactiveKit (a Bond dependency).
You can even write it as an extension on DynamicSubject:
extension DynamicSubject2 {

  func set(value: Element) {
    Signal<Element, NoError>.just(value).bind(to: self)
  }
}

textField.bnd_text.set(value: "new value")

If you think that this is something that is widely used and should be part of the framework, let's add it as a todo for next version.

Ah yes sorry to be more clear. I was updating the bnd_text value with the following before and currently.
Driver.sharedInstance.nameF.bind(to: fNameInput.textField.bnd_text)
In Bond 4 this was triggering my validateTextField() but now is not.

This work-around seems to have the intended affect.
Driver.sharedInstance.nameF.bind(to: fNameInput.textField.bnd_text)
Driver.sharedInstance.nameF.observeNext
	{[unowned self] text in
		quickPrint("Observe Next Attempt")
		self. fNameInput.validateTextField()
	}
	.disposeIn(bnd_bag)

However it feels like it should work the way I described before and did work in previous version.
Thoughts @srdanrasic ?

Planning to make value settable again.

Implemented as explained here: https://github.com/ReactiveKit/Bond/issues/291#issuecomment-260435006.


Energenie

Not sure if this is the right place for this but I am wondering if anyone has any Energenie MiHome products? https://energenie4u.co.uk/mihome/the_range/ It works similar to Lightwave rf and it has an API https://mihome4u.co.uk/docs/api-documentation
Anyone be able to point me in the right direction for how I could write a plugin to support this?

Install Domoticz, add them as Coco GDR2 switches, use homebridge-eDomoticz plugin.

How did you get on with this? @cjsmith87

Is that right Marci? I set mine up as energenie in domoticz? Maybe I have set mine up wrong.
Sent from my iPhone
On 18 Sep 2016, at 22:19, TheChallinor <notifications<EMAIL_ADDRESS>wrote:
How did you get on with this? @cjsmith87https://github.com/cjsmith87

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/nfarina/homebridge/issues/728#issuecomment-247880966, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APQCAHFBZQ3w_WZHj56n14PhXipxX9TMks5qrarDgaJpZM4JaGmo.

@simonrb2000 I have a load of energenie sockets I'm currently adding to Homebridge using IFTTT maker channels but obviously the status does not sync. Does it with your solution?

Depends on generation of energenie hardware in play. For older green-button devices & dumb purple button devices tend to be able to just add as coco gdr2 and hit the ON button in Domoticz to trigger the learn. This is using rfxtrx433e. Same sockets are also CLI controlled via pyenergenie
The MiHome API requires cloud connection to MiHome site etc. Unnecessary if you have a USB transceiver... skip the MiHome hub and cloud entirely and run it all via homebridge & domoticz & homebridge-edomoticz

If sockets are dumb receivers you can only accurately reflect status if they're solely controlled by Domoticz. They don't transmit anything, just receive an on/off. Domoticz can't learn the energenie remote so can't tell when sockets have been activated by external means. I use an ATI TV AllInWonder remote to externally trigger things via Domoticz, thus for me everything stays in sync.

Thanks @PatchworkBoy
I'm using the Mi home adaptor plus x6 and 6 of the older green type sockets. If I can get them solely working in Homebridge then there won't be a need for the MiHome app.
Is the USB transceiver your referring to the Mi Home Gateway or something else?
Ive just setup on / off command using IFTTT Maker but if I can report status it would be better as at the moment the Home app on iOS 10 says they are on for a few second then reports them as off ( obviously as its one way communication with no status reporting ).

USB transceiver = RFXTRX433E = http://www.uk-automation.co.uk/rfxcom-rfxtrx433e/
Paired with Domoticz it supports a myriad of brands, switches, sensors etc.

Top 2 light switches are energenie sockets. Thermostat is a Siemens, temp probes are Dallas 1-wire sensors, plasma and amp switches are an energenie IR Pi hat that controls anything IR

So with my current setup I can connect the Mi Home Gateway with the domoticz & homebridge-edomoticz, set it up with Homebridge and away I go!
How is domoticz & homebridge-edomoticz to use?  Only stumbled on Homebridge 2 days ago and started coding with it.
Energenie are actually working on HomeKit support ( new hub I guess, hopefully sockets will remain the same ).

Energenie IR pi looks interesting. I have an SQ Blaster that controls everything in the living room but got nothing for upstairs. I might have to try that.. have one in each room I need IR. Most of my curtains are IR, blinds are RF.
@TheChallinor, I can't recommend a RFXCOM mentioned above enough. Amazing bit of kit.
@Marci, my energenie are the green button ones, they don't always seem to respond to domoticz when using the energenie, might try your suggestion. Yes they are dumb with no feedback but I exclusively use Domoticz to control them all (usually through Homebridge these days ;-) )
Sent from my iPhone
On 18 Sep 2016, at 23:20, TheChallinor <notifications<EMAIL_ADDRESS>wrote:
So with my current setup I can connect the Mi Home Gateway with the domoticz & homebridge-edomoticz, set it up with Homebridge and away I go!
How is domoticz & homebridge-edomoticz to use? Only stumbled on Homebridge 2 days ago and started coding with it.
Energenie are actually working on HomeKit support ( new hub I guess, hopefully sockets will remain the same ).

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nfarina/homebridge/issues/728#issuecomment-247884691, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APQCALd1nQ_8iXjjeSakiukn6HM4PHX7ks5qrbkLgaJpZM4JaGmo.

Anyone got a good guide on where to start with Domoticz and Linking to Energenie and Homebridge?
That can be phase 2 of the project I think!

Domoticz forums covers all.
Domoticz > Homebridge: https://www.domoticz.com/forum/viewtopic.php?f=36&t=10272


Plugin fails because of use of afterEvaluate

Build scan link
https://ge.micronaut.io/s/slhg65invj4t2
Plugin version
1.0.0-rc-06
Gradle version
7.4.1
Describe the bug
Applying the plugin to the root project fails with:
Caused by: org.gradle.api.InvalidUserCodeException: Cannot run Project.afterEvaluate(Action) when the project is already evaluated.
        at org.gradle.api.internal.project.DefaultProject.failAfterProjectIsEvaluated(DefaultProject.java:1067)
        at org.gradle.api.internal.project.DefaultProject.afterEvaluate(DefaultProject.java:1048)
        at com.autonomousapps.subplugin.ProjectPlugin.configureJavaLibProject(ProjectPlugin.kt:328)
        at com.autonomousapps.subplugin.ProjectPlugin.access$configureJavaLibProject(ProjectPlugin.kt:46)
        at com.autonomousapps.subplugin.ProjectPlugin$apply$$inlined$run$lambda$4.execute(ProjectPlugin.kt:108)
        at com.autonomousapps.subplugin.ProjectPlugin$apply$$inlined$run$lambda$4.execute(ProjectPlugin.kt:46)
        at org.gradle.api.internal.plugins.DefaultPluginManager$2.execute(DefaultPluginManager.java:258)
        at org.gradle.api.internal.plugins.DefaultPluginManager$2.execute(DefaultPluginManager.java:255)

Steps to reproduce the behavior:

git clone https://github.com/micronaut-projects/micronaut-core.git
cd micronaut-core
edit the root build.gradle to add the plugin:

plugins {
    id "io.micronaut.build.internal.docs"
    id "io.micronaut.build.internal.dependency-updates"
    id "io.micronaut.build.internal.version-catalog-updates"
    id "io.micronaut.build.internal.convention-quality"
    id 'com.autonomousapps.dependency-analysis' version '1.0.0-rc06'
}

run ./gradlew buildHealth

Expected behavior
Build shouldn't fail.
Additional context
I'm investigating the use of this plugin (which I wish was a core feature of Gradle, I wanted this for a looooooong time) for integration in our Micronaut Build Plugin. This project provides convention plugins which are applied on more than 40 distinct Micronaut projects (including Micronaut Core which I used in this bug report). Our convention plugins require the use of evaluationDependsOn, which triggers evaluation of subprojects before the root project is evaluated.
I am aware that there's a dependency.analysis.autoapply=false flag that I can use which would not apply the plugin to subprojects automatically. However, there are a number of issues:

I'm missing documentation about how to use the plugin in this case. What plugin should be applied to the subprojects which we want to analyze (for us it would be applied to our custom "Micronaut module" convention plugin, which is derived from java-library)
this requires setting this flag in individual project's gradle.properties file, which, in a multi-repo context like ours, is a bit cumbersome

I looked into the sources and I've found that internally it does ProjectPlugin(this).apply(), but the ProjectPlugin type is internal. Would it make sense to expose a plugin which can be indidivually applied to a single project instead? That's basically what ProjectPlugin does, it seems. In general I'm not super fond of plugins which automagically apply plugins on subprojects. Like here, it can easily break if the expectations aren't met. In a typical Micronaut project we have a root plugin which performs some aggregation (javadocs, code quality, ...), different module types plugins (a Micronaut Library, a Micronaut Component) and a BOM type which requires evaluationDependsOn so that we can automatically determine dependencies based on the application of a plugin or not.
I'm happy to discuss options and/or provide PRs, I just need a bit more guidance on how I can individually run the plugin on a project to make progress: unfortunately I couldn't find answers in the wiki.
Thanks!

Thanks for the report.
To start, here's what you'd do to have full control over how the plugin gets applied to individual projects:
# gradle.properties
dependency.analysis.autoapply=false

// root build.gradle
plugins {
  id 'com.autonomousapps.dependency-analysis' version '1.0.0-rc06'
}

// every/other/build.gradle
plugins {
  id 'com.autonomousapps.dependency-analysis' version '1.0.0-rc06'
}

As you can see, it's the same plugin in both cases. The plugin takes care of determining if it's in the root project or not, and does the right thing. Note that the plugin must be applied to the root, or it will fail. Here's the check it does:
  /** Plugin _must_ be applied to the root for it to work. */
  private fun Project.checkPluginWasAppliedToRoot() {
    // "test" is the name of the dummy project that Kotlin DSL applies a plugin to when generating
    // script accessors
    if (getExtensionOrNull() == null && rootProject.name != "test") {
      throw GradleException("You must apply the plugin to the root project. Current project is $path")
    }
  }

  /** Used for validity check. */
  internal fun Project.getExtensionOrNull(): DependencyAnalysisExtension? = rootProject.extensions.findByType()

I am not certain how the above requirement will work out in the presence of your requirement that subprojects be evaluated before the root project.
You asked

Would it make sense to expose a plugin which can be individually applied to a single project instead?

I have considered this but haven't taken any steps to investigate this yet; in fact, that idea was one of the reasons I split up the enormous DependencyAnalysisPlugin.kt into sub-classes that are pseudo-plugins. I've also wondered about publishing a settings plugin that might be able to safely apply plugins to subprojects, but I haven't looked at that either.
Happy to continue this discussion and see what kinds of solutions we can come up with. Let me know how far you get with the advice at the top of this comment.

hey @melix just curious if you've had a chance to try this out again? No rush of course, just triaging my issues.

I still plan to do it, just didn't have time!

I'm still having troubles even applying what you described. The build fails with:
An exception occurred applying plugin request [id: 'io.micronaut.build.internal.convention-core-library']
> Failed to apply plugin 'io.micronaut.build.internal.convention-core-library'.
   > Failed to apply plugin 'io.micronaut.build.internal.convention-library'.
      > Failed to apply plugin 'io.micronaut.build.internal.convention-base'.
         > Failed to apply plugin 'com.autonomousapps.dependency-analysis'.
            > You must apply the plugin to the root project. Current project is :aop

Which I'm pretty sure is the same underlying cause, an evaluation order issue (because of evaluationDependsOn).

I'm not saying that this is what we should do, but I made progress:https://ge.micronaut.io/s/z5lzhxadcje5m
with this diff:
diff --git a/build-logic/convention/src/main/kotlin/com/autonomousapps/convention/ConventionExtension.kt b/build-logic/convention/src/main/kotlin/com/autonomousapps/convention/ConventionExtension.kt
index fd4872a4..7a53627e 100644
--- a/build-logic/convention/src/main/kotlin/com/autonomousapps/convention/ConventionExtension.kt
+++ b/build-logic/convention/src/main/kotlin/com/autonomousapps/convention/ConventionExtension.kt
@@ -24,7 +24,7 @@ abstract class ConventionExtension(
   internal var pomConfiguration: Action<MavenPom>? = null
   internal val publishedVersion: Property<String> = project.objects.property(String::class.java)
   internal val isSnapshot: Provider<Boolean> = publishedVersion.map {
-    it.endsWith("SNAPSHOT")
+    true
   }

   fun version(version: Any?) {
diff --git a/src/main/kotlin/com/autonomousapps/DependencyAnalysisPlugin.kt b/src/main/kotlin/com/autonomousapps/DependencyAnalysisPlugin.kt
index 5026158c..6ba803a6 100644
--- a/src/main/kotlin/com/autonomousapps/DependencyAnalysisPlugin.kt
+++ b/src/main/kotlin/com/autonomousapps/DependencyAnalysisPlugin.kt
@@ -53,7 +53,7 @@ class DependencyAnalysisPlugin : Plugin<Project> {
     // "test" is the name of the dummy project that Kotlin DSL applies a plugin to when generating
     // script accessors
     if (getExtensionOrNull() == null && rootProject.name != "test") {
-      throw GradleException("You must apply the plugin to the root project. Current project is $path")
+      rootProject.pluginManager.apply(DependencyAnalysisPlugin::class.java)
     }
   }

diff --git a/src/main/kotlin/com/autonomousapps/subplugin/ProjectPlugin.kt b/src/main/kotlin/com/autonomousapps/subplugin/ProjectPlugin.kt
index 686ea071..356ca1f9 100644
--- a/src/main/kotlin/com/autonomousapps/subplugin/ProjectPlugin.kt
+++ b/src/main/kotlin/com/autonomousapps/subplugin/ProjectPlugin.kt
@@ -103,7 +103,7 @@ internal class ProjectPlugin(private val project: Project) {
     }
     pluginManager.withPlugin(KOTLIN_JVM_PLUGIN) {
       logger.log("Adding Kotlin-JVM tasks to ${project.path}")
-      configureKotlinJvmProject()
+//      configureKotlinJvmProject()
     }
     pluginManager.withPlugin(JAVA_PLUGIN) {
       configureJavaAppProject(maybeAppProject = true)

This is exactly the kind of thing I thought would trip you up when I thought about how your root project depends on your subprojects:
-      throw GradleException("You must apply the plugin to the root project. Current project is $path")
+      rootProject.pluginManager.apply(DependencyAnalysisPlugin::class.java)

The whole deal with the root extension and subproject extensions and how they communicate needs to be cleaned up. I am very open to improvements in this area.

I wonder if you could use a BuildService instead for communication. But this bug may be annoying.

I faced the same issue in my project; the workaround to add the plugin to every/other/build.gradle worked for me now.

Same as Himanshu, I added the flag and included the plugin in every module, and it started working.
@melix you might be lucky:
https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/83f17c1af310e21c10d7f2072b639855a82ab570/src/main/kotlin/com/autonomousapps/Flags.kt#L28
This means that doing System.setProperty("dependency.analysis.autoapply", false) at any point before the plugin is applied might be a viable alternative to changing all your gradle.properties files. If you have a settings plugin in for micronaut I think that would be the place, because otherwise it's quite tricky to do something before a root plugin is applied.

PRs welcome!


Listen markercluster click event

From @markitosgv on July 15, 2014 18:1
Its possible to acces clusterclick, without overlays??
My initial map:

//map initial
    angular.extend($scope, {
        center: {
            autoDiscover: true
        },
        defaults: {
            scrollWheelZoom: false
        },
        layers: {
            baselayers: {
                osm: {
                    name: 'OpenStreetMap',
                    url: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
                    type: 'xyz'
                }
            }
        }
    });

And then i call my own service to fecth markers data:
    //on load map
    $scope.$on('leafletDirectiveMap.load', function(event){

       api.getMarkersByProximity(function(data){
             $scope.markers.push(data);
        });

       });

Now i have a map with markers and clusters.
With this event i can listen when a marker is clicked, but not a cluster:
$scope.$on("leafletDirectiveMarkersClick", function(event, args){
        console.log($scope.markers[args]);
    });

Its possible to do?? thanks
I don´t want when cluster marker is clicked to expand child markers... i want to get child markers data to do another thing.
On official Leaflet.markercluster docs says:
markers.on('clusterclick', function (a) {
    console.log('cluster ' + a.layer.getAllChildMarkers().length);
});

Is any event directive to listen?
Copied from original issue: tombatossals/angular-leaflet-directive#421

From @joeljeske on March 12, 2015 22:38
@markitosgv, have you found a way to listen for cluster events?

From @rasmi on June 15, 2015 19:42
Has anyone found any ways to listen besides dipping down into pure Leaflet (like @joeljeske did in #648)? As @markitosgv points out, this method relies on layers.

I believe I have found a solution (finally). It works for all prescribed events (clustermouseover , clusterclick, etc ). I hope this helps prevent people from going bald or insane.
$timeout(function(){
	leafletData.getLayers().then(function(layers) {
		$scope.markerClusterGrp = layers.overlays.locations;
		var clusters 			= $scope.markerClusterGrp.getLayers();
		$scope.markerClusterGrp.on('clustermouseover', function (a) {
			var clusterObjects = a.layer.getAllChildMarkers();
			console.log(clusterObjects);
		});
		$scope.markerClusterGrp.on('clusterclick', function (a) {
			var clusterObjects = a.layer.getAllChildMarkers();
			console.log(clusterObjects);
		});
	});
},1000);

Enjoy.


Rename packet provider to Equinix Metal

Signed-off-by: Alex Ellis (OpenFaaS Ltd<EMAIL_ADDRESS>Description
As part of packet's rename, this changes the provider and
flags to keep in line. Go mod also updated for the newer packngo vresion.
How Has This Been Tested?
No end to end testing yet.
How are existing users impacted? What migration steps/scripts do we need?
Consumers of the provision package will need to do an update to rename symbols from packet to the new name.

@jsiebens FYI in case you use this anywhere.

thanks for mentioning


Add iOS support

Apple announced NFC in the iPhone 6..
This doesn't mean NFC will be usable by third party apps, we will have to wait and see what the API looks like and get a hands on experience..
It's possible Apple will limit NFC to payments only <-- this was the case until late 2016

Hey! Someting new with iOS support? ;)

Why would there be?  Did apple open up their api?
----- Reply message -----
From: "Dimitri Lahaye"<EMAIL_ADDRESS>To: "chariotsolutions/phonegap-nfc"<EMAIL_ADDRESS>Cc: "John McLear"<EMAIL_ADDRESS>Subject: [chariotsolutions/phonegap-nfc] iOS / Apple iPhone 6 support (#139)
Date: Wed, Apr 6, 2016 14:57
Hey! Someting new with iOS support? ;)

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/chariotsolutions/phonegap-nfc/issues/139#issuecomment-206383697

Uh good question! I don't hear yet about it :/ Sorry for inconvenience ;)

There is no news. Apple could announce new APIs at WWDC, but I wouldn't bet on it.

Ok I see. Thanks ;)

+1 they aren't announcing it I'm 99.9% sure they never will support it.
----- Reply message -----
From: "Don Coleman"<EMAIL_ADDRESS>To: "chariotsolutions/phonegap-nfc"<EMAIL_ADDRESS>Cc: "John McLear"<EMAIL_ADDRESS>Subject: [chariotsolutions/phonegap-nfc] iOS / Apple iPhone 6 support (#139)
Date: Wed, Apr 6, 2016 16:36
There is no news. Apple could announce new APIs at WWDC, but I wouldn't bet on it.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/chariotsolutions/phonegap-nfc/issues/139#issuecomment-206433139

Hey @JohnMcLear looks like we might be able to read NFC on iOS https://developer.apple.com/documentation/corenfc

@don

Reading NFC NDEF tags is supported on iPhone 7 and iPhone 7 Plus.

Looks like I'll need a iPhone upgrade to test it though.

It'll be interesting to see what type of performance they get with such a small antenna.  I can imagine the operating range performance will be similar to that of the HTC One M8.
Feels like Apple coming to the party a little too late but let's see how it goes!  I have my developer account ready to go Don I just don't have a developer machine to build any binaries so hopefully I will be able to test w/ out a Mac but I doubt it :(

@JohnMcLear I wrote some native code, but I need to put iOS 11 on my phone to test. We'll see how it works ¯_(ツ)_/¯. After that, I'll look at building this into the Cordova plugin.

I think I have a green light from NFC Ring to get hardware to test on..  Watch this space!

@JohnMcLear @dpa99c I verified NFC needs iPhone 7. It fails as not supported on 6s. (But you might want to just wait and get in iPhone 8 in the fall.)

Hrm yeah I'm gonna need both as I will need to test antenna matching, I can see this getting expensive quick -_-

I build an app where NFC is the real hook and so would love to get this out swiftly upon iOS 11 release. I had an iPhone 7 and development set up so, if I can provide any support, please let me know.

iPhone7 NFC reader system not the finest... I put together this benchmark:
https://flomio.com/2017/06/iphone7-nfc-reader-performance-tests/
I'll be testing the NFC Ring and a wide variety of tag geometries and types next. Let me know if you want something specific tested. Reader performance on front and back of iPhone7 is equivalent.

@JohnMcLear I've forked master here and did a bit. Can you post here if you have a branch with any work so far for this issue.

We're still waiting on benchmark test results and will decide on our approach from those.  We hope to have them this week.

Sorry, I am confused here - What kind of benchmark results ? Anything someone else could support? I have accesss to different tag types, and also the hardware.

@erikm30 drop me through an email we will ship you some NFC Rings to play with :)

Thanks for the offer - would really love to see the plugin officially announced ..

I pushed to a fork on my account with a first version of this with iOS. It uses a different listener, which isn't good and needs to be changed to merge with the addNdefListener function.

I added iOS support on the ios branch.
You'll need to install the plugin from Github rather than NPM
cordova plugin add https://github.com/chariotsolutions/phonegap-nfc#ios

See the README for more details https://github.com/chariotsolutions/phonegap-nfc/tree/ios#ios-notes

@don - any reason why this hasn't been merged to master?

@jlkalberer I'm planning on releasing once XCode 9 is released.

@don It should be out now?

iOS is in 0.7.0 https://www.npmjs.com/package/phonegap-nfc


Hotfix to build 2020-06-05

Maybe more changes are needed. Seems to be all that is required to build it.

@lrvick Can you maybe give me push access for now? I would still use PR but with push access, I could maintain a working master branch. You can revert this at any time when you have more time for the project of course.

Yeah I just moved and changed jobs so my life is complicated atm. I have a new pixel 4 to run aosp-build on but have not gotten to it yet. Once I do I'll need to be in the review/build cycle to keep this maintained again.
What is in master is not useful at the moment, so I take your point. I would for sure want there to be strict code review before we do public releases, but those are not happening in the short term until I get some more cycles anyway.
Maybe we could make a "dev" branch you can push directly to as you like as an integration branch and we can merge from dev to master when a second admin has reviewed/built/tested?
Option B is we just consider master to be dev and cut carefully reviewed releases in the future when we are ready to do that.
I'll hopefully be able to get back to this in a couple weekends once I get settled down a bit either way.

Yeah, on considering, I am good to let you co-maintain master for hashbang/aosp-build and hashbang/os for the time being as long as you continue to sign your commits so I can attribute them to you to easily review them before we make releases in the future.
I just don't have enough cycles atm and @dgrove is awal as well.
This project has no public releases and it is on each individual that wants to use it to review for themselves for now, which I will also do.
Your contributions so far have been solid so you have earned a lot of trust with me.

Done! I reserve the right to revisit this when it is determined you are a government spy planting backdoors :)

Done! I reserve the right to revisit this when it is determined you are a government spy planting backdoors :)

Works for me :)

as long as you continue to sign your commits

Sure, also merge-commits. I am used to this way.
Always a pleasure to work with security-minded people :)

Thanks for the trust. I also think that the master branch only is enough for now. No need to over complicate it right now. People who use this or even base on it will hash lock this work in some why after careful review.
Hope you get some time. I can also not dedicate too much time other than keeping up with the monthly patches currently. I guess I will get more into this again when Android 11 gets released.


nodejs: refactor package

Description of changes

[!IMPORTANT]
This is work-in-progress. Feel free to leave comments, but the change set is not complete yet.

This PR contains Node.js package refactor. Notable changes:

Improves support for package overrides (callPackages instead of nested callPackage).
Removes unnecessary build input references (see also #292101).
Adds separate package outputs for headers, etc.
Fixes content addressed build.

TODO

Move tests to separate derivation (exported via passthru.tests).
Group common patches instead of listing the for each version.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@aduh95, FYI this PR also reverts f5846d25a1335267bc8bad633ffcbdf2109b18dc because I haven’t seen these tests fail on non-Darwin platforms, hence they were under lib.optionals stdenv.buildPlatform.isDarwin. I’ve updated the comment above them to clarify this. Please let me know if there are actually ofborg/hydra failures because of them.

Please let me know if there are actually ofborg/hydra failures because of them.

I've seen (consistent) failures on Linux CI, but wasn't able to reproduce locally, which is why I moved them to be skipped on every platform. Good thing if that has been resolved 👍


fix: avoid NPE on delete of non-existent PM

Its a harmless error, but it looks ugly in the logs, e.g.:
2021-04-07 10:24:42.976  INFO 1 --- [io-8208-exec-10] u.n.h.t.trainee.sync.api.RecordResource  : REST request to process Record : RecordDto(data={id=284052, programmeMembershipType=SUBSTANTIVE, curriculumStartDate=2017-08-02, curriculumEndDate=2019-08-06, programmeStartDate=2017-08-02, programmeEndDate=2019-08-06, programmeId=761, curriculumId=487, trainingNumberId=1817, personId=120165, amendedDate=2021-03-10T15:14:54.895Z, trainingPathway=N/A}, metadata={timestamp=2021-03-31T11:03:51.122045Z, record-type=data, operation=delete, partition-key-type=schema-table, schema-name=tcs, table-name=ProgrammeMembership, transaction-id=11480454387235})
2021-04-07 10:24:42.976  INFO 1 --- [io-8208-exec-10] u.n.h.t.t.sync.service.RecordService     : Sync service found for table 'ProgrammeMembership' in 'tcs'
2021-04-07 10:24:42.976 DEBUG 1 --- [io-8208-exec-10] u.n.h.t.t.sync.service.RecordService     : Using sync service of type 'class uk.nhs.hee.tis.trainee.sync.service.ProgrammeMembershipSyncService'.
2021-04-07 10:24:42.983 ERROR 1 --- [io-8208-exec-10] o.a.c.c.C.[.[.[.[dispatcherServlet]      : Servlet.service() for servlet [dispatcherServlet] in context with path [/sync] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException: null

Context from Slack comment:
Deletions of programme memberships that aren't in the trainee-sync database are throwing errors as per example below. These are 'harmless' failures but don't look nice. Afaik, this would happen if a programme membership on TIS is edited/deleted when it has not yet been sync'd across to trainee-sync. It might be worth trapping for this, just to keep the logs from looking scary.


Turning hlsEncryption to optional

Turning hlsEncryption to optional to support terminating TLS in a layer front of MediaMtx

Fixes #1420

merged, thanks

added in v0.21.6


NPM support

It would be a lot easier if I could install this using NPM.
If you are not familiar with how to publish to NPM read this

Fixed


LwM2M SenML CBOR range check

Two separate bugfixes

When server does composite write it might assign the whole path on basename
It must be checked that we don't try to feed more data on the encoder than we have reserved space for it

@SeppoTakalo, @jheiskan please review.


Resources not found in java-jersey-jaxrs

When I start this application https://github.com/swagger-api/swagger-samples/tree/master/java/java-jersey-jaxrs
And open http://localhost:8002 all css/js files respond with 404 not found

I think this demo has some issues.
The swagger-ui is just downloaded the source into target folder, so cannot find the swagger-ui related file.
I just separate this sample and create a starter, you can try it.
https://github.com/xmeng1/swagger-jersey2-guice-starter