coredns crashes when a custom serviceCIDR is used

Task
Propagate the serviceCIDR values from the cluster-gcp/values.yaml file to the coredns app.
Background
Customers can customize the serviceCIDR, but this values is not propagated to the default apps like coredns. The serviceCIDR values is needed by coredns to work as expected. At the moment, it's crashing if a custom serviceCIDR is used.
Outcome
The serviceCIDR value from cluster-gcp/values.yaml is propagated to the coredns app. The app runs without crashing.

The IP used on our coredns app needs to be within the serviceCIDR configured for that cluster.

I have a question. Our coredns app is setting the coredns Service IP. Even if we propagate the serviceCIDR of the cluster to the coredns app, what can we do with it? An IP from the CIDR needs to be picked up. I don't think we can do this automatically? Am I miss understanding this?

We discussed this during the onsite. We agreed to just pick an IP address from the configured serviceCIDR and to assigned it to coredns. We do the same on AWS vintage.

I made a new release of cluster-apps-operator that creates the cluster-values configmap with the right values.
Now it takes the serviceCidr defined in the KubeadmControlPlane CR for the cluster being reconciled by cluster-apps-operator. Then it picks the 10th IP from that CIDR to be used as the DNS IP. This is what Kubernetes does too. That means that the coredns deployed by kubeadm will use the same IP for its k8s Service than our coredns-app will use. This is important because this IP can't be changed.
The configmap that cluster-apps-operator generates contain two important values related to the DNS IP. It sets the DNS IP to be used by our coredns-app as its k8s Service IP. But it also sets the DNS IP for chart-operator.
Apparently, chart-operator doesn't rely on kubelet configuration for DNS because it's deployed early in the bootstrap process, even before coredns is deployed, so it needs a custom configuration. I believe this is only required for vintage, but chart-operator is used in both vintage and CAPI clusters. I believe in chart-operator we currently set the same DNS IP than we described above for the coredns-app, but we also add the google dns servers. That way, meanwhile the coredns-app is not deployed, chart-operator can resolve DNS.
Anyway, I tested this on frieza and it worked. I'm closing it.


Add profile library Cree Cree Lighting Connected Max 60-Watt EQ A19 Tunable White E26 Dimmable Smart Light Bulb

Device information

Cree Lighting Connected Max 60-Watt EQ A19 Tunable White E26 Dimmable Smart Light Bulb
Manufacturer: Cree
Model Number: CMA19-60W-AL-9TW-GL
Discontinued product, cannot find a product page from the manufacturer.
vendor link
Integrates with Home Assistant using official Tuya integration.
Home Assistant Device information

c0raacap0zsw7gq8
by Tuya
Checklist

[x] I have created a single PR per device. When you have multiple submissions please create separate PR's.
[x] For lights - I have only included the gzipped files (*.gz), not the raw CSV files.
[x] For lights - I have provided a CSV file per supported color mode. Look that up in Developer Tools -> States

Additional info

Measurements taken using 3x Cree lights with a Shelly PM Mini Gen3

Thanks for the PR.
We cannot support auto discovery for this device yet, because we cannot have multiple aliases for Tuya yet, to link that to manufacturer cree somehow. Will think about how to support cases like this in the future.
c0raacap0zsw7gq8
by Tuya

But for now you can just setup manually and select the profile from the library:
https://docs.powercalc.nl/sensor-types/virtual-power-library/


Patch 3

When the type is initial it can crash.

Thanks for the PR. We're committed to maintain an ABAP 7.02 compliancy. Could you rewrite your code without 7.40 instructions?

i changed it

Thanks


Invalid UP receiver config should cause an error

Describe the bug
There is currently no error visible on the Azure portal if a UP receiver is misconfigured and the process to send data fails.
Steps to reproduce

Change the translation schemaName on the ignore.full_elr receiver to a schema that does not exist.
Run the end2end_up smoke test.
Observe that the test fails, but there is no descriptive error.

Expected behavior
An error message describing the failure should be logged and viewable on the Azure portal so that the issue can be more quickly and easily tracked.

I am looking at a similar issue right now. Will update here when I confirm if my fix will fix this or not.


should be able to use batong / shocked grille as defib

Description
with increased damage and less likely to succeed / less airloss healing idk
reason: funny, actually useful for sec to use batong to maybe quickly defib someone during a fight

I like this idea as a ghetto medical way of doing things. That said, whomever undertakes this: please be careful with the values so that ghettomed doesn't become the go-to versus normal medical - people in medbay don't get enough respect as-is sometimes.
Also, when #19383 is finally in a finished state, might be worth having ghetto defibrillators cause damage to the heart or something.

Yeah, I think that's a good idea! Tbh I was also thinking that enough electrical damage could act like a ghetto defib, so shocking someone with a MV cable or taser could restart their heart. (That's how defibs work IRL, they stop your heart so that it can get restarted with the proper rhythm, and HV electrical shocks do the same thing just with more nerve damage :P)


tagging version available for go.mod

Please tag v1.0.0 instead of v1.0
We can not use v1.0 in go.mod... 😢

A canonical version starts with the letter v, followed by a semantic version following the Semantic Versioning 2.0.0 specification.

https://golang.org/ref/mod#versions

Done. Thank you for the suggestion!


Allow specifying node version

Description
Adds a new input node-version which is passed to actions/setup-node to specify the nodejs version.
This is a bug fix because current behavior causes unexpected bugs if the project functions expect a certain nodejs version. It will fail to deploy if the version is specified in the package.json file
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

:tada: This PR is included in version 3.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Not all code paths return a value for enums

Godot version
v4.0.beta13.official [caacade56]
System information
Windows 10
Issue description
The following code covers all execution path
enum Direction{UP,DOWN,LEFT,RIGHT}

func turn_left(dir)->Direction:
	match dir:
		Direction.LEFT:
			return Direction.DOWN
		Direction.RIGHT:
			return Direction.UP
		Direction.UP:
			return Direction.LEFT
		Direction.DOWN:
			return Direction.RIGHT

Yet it triggers "Not all code paths return a value"
Steps to reproduce
Copy paste the following code into a node:
enum Direction{UP,DOWN,LEFT,RIGHT}

func turn_left(dir)->Direction:
	match dir:
		Direction.LEFT:
			return Direction.DOWN
		Direction.RIGHT:
			return Direction.UP
		Direction.UP:
			return Direction.LEFT
		Direction.DOWN:
			return Direction.RIGHT

Minimal reproduction project
N/A

Your dir is not typed, so it can be anything.
Although dir: Direction doesn't seem to help. I think enums aren't proper types.

@programaths The function turn_left must return some value after the match statement, since the return value type is explicitly specified.

Also, even for typed code, enums are not a strict type. You can still pass in an int that is not an enum value and there will be no error.

@Vilcrow In Kotlin (another language), the compiler can see that all enum values are covered and will only issue an error if this not the case, telling you which values are missing. The IDE offers a quick fix to add missing cases.
enum class Color {
  RED, GREEN, BLUE
}

when (getColor()) {
    Color.RED -> println("red")
    Color.GREEN -> println("green")
    Color.BLUE -> println("blue")
    // 'else' is not required because all cases are covered
}

when (getColor()) {
  Color.RED -> println("red") // no branches for GREEN and BLUE
  else -> println("not red") // 'else' is required
}

The idea between this feature (and also in functional programming from which Kotlin took inspiration), is that if you define a default branch (or catch all branch), then you are not sure that new enum values will be handled correctly. Your program will happily compile and run with the wrong behavior.
But by being explicit, the compiler can warn you that you've to take into account the new values. A very useful feature when you come back on a codebase days or week later.
As a fix, I added "NONE" to my enum as I couldn't return null.

I'm not familiar with Kotlin but in GDScript (and in C++), enums are just integers and you could call turn_left(42) without error. So it needs to do something in that case.
The traditional way to handle this would be to fall back to a valid value, but also print an error (or even assert), because passing an int which is not from your enum in this case should be considered a bug from the calling code.

In modern languages (Java, C#) enums are indeed a bit more than integers, it has all the benefits I highlighted.
You can think of them as boolean on steroids (value set). They are useful, because you can then type properly your method and there is no way to call it with an unknown value. It also allows the compiler to check if all cases have been taken into a switch.
So, full fledged enums comes with a lot of advantages.
Enums being integers defeat a bit the type system as I could type in as receiving one enum type, and pass to it another enum value or even an integer. It's definitely a quirk for people coming from modern languages.
Also, note that as it is today, each function receiving the enum as a parameter should call a validating function like ensureValidEnum(theEnum) to avoid repeating the check everywhere. So, it's boilerplate code which can be forgotten and certainly bite people thinking they are proper types.
Maybe the manual should make it more explicit and provide an example code:

func check_enum(value):
   match value:
       Enum.ONE,Enum.TWO,Enum.THREE:
            return value

   debug("Invalid enum value, return ONE as default")
   return Enum.ONE

func your_method(value1:Enum,value2:Enum):
    #Always sanitize your enums
    value1=check_enum(value1)
    value2=check_enum(value2)
    # ...

That is not true to C#.  You can assign any arbitrary number to an enum type, as long as cast it. If you have a switch statement with all valid enum values, it will still complain that not all code paths return a value.
Java is more strict on this and doesn't allow casting from int by default, but the switch statement still complains about not returning a value even if you cover all cases.
In summary, there's simply no way to guarantee the value is always valid at runtime (given GDScript is still dynamically typed by default) unless we check it everywhere, which will certainly affect performance. So in this situation, not unlike C# or Java, you need to handle the case in which the value falls outside the range.

Also, note that as it is today, each function receiving the enum as a parameter should call a validating function like ensureValidEnum(theEnum) to avoid repeating the check everywhere.

The alternative being the engine calling something like this internally, like I mentioned above, which is a performance hit for everyone. You don't really have to call a function to validate, you can simply handle the cases where the enum may have a different value when needed.
func turn_left(dir)->Direction:
	match dir:
		Direction.LEFT:
			return Direction.DOWN
		Direction.RIGHT:
			return Direction.UP
		Direction.UP:
			return Direction.LEFT
		Direction.DOWN:
			return Direction.RIGHT
		_:
			assert(false, "Invalid Direction value")
			return Direction.UP # Just to return something.

Surely it is not the most convenient, but it is not the end of the world either.

I also mentionned Kotlin, which is high performance and does check all code path when using an enum  (or sealed types) (https://github.com/godotengine/godot/issues/71763#issuecomment-1399229592)
Here is a link to the description of "when" in Kotlin: https://kotlinlang.org/docs/control-flow.html#when-expression
The huge issue is that the programmer has to do some in place validation and when the enum is updated (new value added), the game would still run kinda fine and good luck to find where to add the new value in your code.
And in fact, even in Java, such error already popped in production, because programmers can't consider all the uses. So they search for references and sometimes miss one.
A la Kotlin, the app will just not complain and if a lazy dev wrote an "else", then it's his fault if he is in troubles later!
As I understand, enums should not be used too much outside the enclosing class, except as parameters. With the gotcha that the calee has to do some in place validation.
It could be a nice feature to warn the user that enums are improper types. ("Enum types are aliases of int")
I am probably too spoiled with Kotlin ^^

I understand all that, but given GDScript is still dynamically typed by default, it's very difficult to enforce enums to always be valid. It would require runtime checks that can become quite expensive, it's just not deemed worthy for a language like GDScript. This is a design decision backed by the technical limitations.
Note that some users actually use this feature of enum being equivalent to int. There would certainly be complaints if this restriction were added.
We could consider a new type that works like enum but does guarantee the value to be in range by validating at runtime (or perhaps an annotation for enum). This way users would (or at least should) be aware of the performance implications by such type. This, however, should be posted as a proposal and certainly won't be done in time for 4.0.

If what you are saying is an error, I wouldn't mind the error becoming a warning when the enum has been fully checked within the match statement. The example would definitely need the dir parameter to be typed as the enum though :)
But I also think the GDScript team has been going in the direction of enums just being ints, and if that's the case then I do believe this is intended behavior.

That could be checked at editing time and be a simple warning, with an option to disable that check per project.
That way, no performance issue at runtime!
The whole point is to help tge developer in handling new cases everywhere without having to play seek and hunt through the codebass.
In IntelliJ, they have inspections that even make that work in Java. So, Java will not stop compiling because you didn't handle all cases, but the IDE will warn you about it.
I know, it sounds stupid, but it's nice when you add a document type in an enum and the IDE tells you all the places where you should handle that new case.
I found Kotlin better with refusing to compile, because that means that tge developer is required to actively think about, but that's a matter of "taste" here.
Having the check only at "editing" time is already very powerfull.
Godot already does that for unused variables!

So I'm starting to get the feeling that this is would be a useful feature - instead of considering current behavior a bug.
Maybe adding an annotation to match for enums would be a good solution:
enum Named {V1, V2}

func enum_return(x : Named) -> int:
  @warn_incomplete_enum
  match x:
    Named.V1: return 1
    Named.V2: return 2

  return 0

So this would not cause any issues. But if you changed it to enum Named {V1, V2, V3}, then it would. There's quite a few details to discuss here though. What happens if you have a default in your match, whether this ought to be @dont_warn_incomplete_enum and just have warnings by default, etc etc.

The annotation would indeed be more granular than a setting at project level!
But would not be less discoverable. Always pesky tradeoffs!
If one would use the annotation @warn_incomplete_enum, then using default would have to be a mistake, because the two are against each other.
As for adding warnings as default, then it would become too disruptive as it would popup in everyone codebase.
I think @require_complete_enum, which would prevent compilation, would be much better.  Really forcing the developer to account for new cases.
As it would be an opt in which requires some effort (as the initial dev has to type the annotation), it would only be used when it's critical. So, the IDE and compiler can be loud and strong without issue!

@akien-mga should we tag this as an enhancement for 4.x?

@anvilfolk We don't have to assign a milestone to an issue, but if you think this is something we will be implementing, then sure, can be assigned 4.x.

I think this is more proposal material, no?


[Improve][Connector-V2][ElasticSearch] Refactor ElasticSearch connector e2e test cases

…or e2e test cases

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

close #3606

@TyrantLucifer @Hisoka-X  Please help review thanks


Eliminate Localization Bloat

Description of the new feature / enhancement
Currently, PT installs a HUGE collection of Localization files. EVERY single component of PT has its own set of folders and files. And a silly thing is that they are not all the same.
In any case, the user's LANGUAGE PREFERENCE is easily available via their Windows settings. Use it, and only install the Language(s) explicitly stated are in use by the installing user.
Should the application be installed for ALL users, then get each user's settings, and again, install only the lang folders and files necessary to server that collection of languages.
Scenario when this would be used?
Upon every single application install for any future user.
Supporting information
Question: What is the ADVANTAGE of installing all of those absolutely unnecessary files?? You could say developer time, but implementing this would be a one-time, EASY feature.
I would STRONGLY encourage the developer(s) who do this to publish it as a module that ALL Windows application developers could access, because this issue is RAMPANT in windows installers.
Before I rebuilt my last computer, I had almost a QUARTER OF A MILLION lang/regionilization files on my system, consuming over a GB of space in total!!  That is just ridiculous.

Sorry you feel this way and that you feel this is ridiculous but i'd rather error on the side of caution to make sure we work for users.
We're doing other work to reduce our footprint by consolidating runtimes across all the utilities which shaves off hundreds of MB off the disk footprint.

There is no "error" here to shy away from, and I can think of absolutely nothing that would prevent the application from having full functionality without loading any localization files other than for the language of the user installing (and if they choose to install for ALL users on the computer, for those as well).
Since you think there is an some issue that does (or may) require you to put the files in place in EVERY component's dir tree, please let me know what it is so I can learn from your knowledge.
Also, if it IS such a concern, why are they haphazardly done? Look at how many variations of the number of languages that are covered in each section of the app. That alone says it cannot be too much of a concern, right?

Hey, why don't you use this "other work to reduce our footprint" project to also coallesce ALL localization to a single Common\Localization path?? That would have TWO benefits:
A) You could install ALL languages you see fit to provide for (and additional ones as they become available), which would allow ALL facets of PT to be completely localized equally, which they most certainly are not currently.
B) It would GREATLY reduce the crazy bloat/file duplication of the current way of providing localization.
#WIN#WIN!


Update ActiveDataProvider::prepareModels() to avoid SQL error with UNION queries

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues
#20239

I don't think this is a correct solution. IMO it should be fixed in QueryBuilder::build():
https://github.com/yiisoft/yii2/blob/34d2396920a34534fb19cc342b5f4fe863c6e3ac/framework/db/QueryBuilder.php#L225-L269
$this->buildOrderByAndLimit() should be called after handing union queries.

@rob006 You are right!
I don't know Yii2 so deeply, but if we fix this at the query level, it will be fixed for all its uses.
At the moment, my hack is working for me and I am now very busy. I'll try to find time to make another PR.
I think this PR can be rejected and closed.

@cepaim Does it really work for MySQL? Because only SQLite doesn't have parentheses, for all other DBMS generated query should look like (SELECT * FROM a) UNION (SELECT * FROM b LIMIT 10) which also does not look right (it should be (SELECT * FROM a) UNION (SELECT * FROM b)  LIMIT 10?).

@rob006
I haven't tested it on mysql, only in sqlite3.
I'll tell you when I test in on mysql.

At the moment, my hack is working for me and I am now very busy. I'll try to find time to make another PR.

So can we close this one and wait for the other one?


Mutual relationships won't display in both entries

Bug Report
Hi, i followed the given examples in the demo for relationship A and relationship B. I currently have 2 collections having one relationship field each. If i got this right it should be possible to set a mutual relation this way. Now, when i save one entry of collection A ("Profile") with a relation to an entry of collection B ("Meta") it would save and display the relation after reopening the entry int the editor. Doing the same with entry B would save the relation as well (at least according to the record in the db) but it won't get displayed in the relationship field and the API's json response.
Expected Behavior
The relationship fields should keep the values when re-opening an entry in the editor and return the relation in the API's repsonse.
Current Behavior
see above.
Steps to Reproduce
see above.
Detailed Description
Relationship field in collection A (Profile)
name: 'relatedMeta',
type: 'relationship',
label: 'Select related meta entry',
relationTo: ['meta'],
hasMany: false,
access: {
    create: () => true,
    read: () => true,
    update: () => true,
},

Relationship field in collection B (Meta)
name: 'relatedEntry',
label: 'Related entry',
type: 'relationship',
relationTo: ['profiles'],
localized: true,
hasMany: false,
access: {
    create: () => true,
    read: () => true,
    update: () => true,
},

Hi @mo7orh3ad — I have confirmed this bug and it has to do with the fact that this field is localized. We have a few improvements to our localization implementation coming out for issue #71 shortly, and this fix will resolve both this issue and that issue.
Thank you for logging this! Give us a bit here and we'll have a new version published for you!

Everything should be working in v0.2.13 that was just released. Feel free to reopen and let us know if your problem remains after updating.

@DanRibbens @jmikrut Hey guys, i'm running into the same issue in v0.14.0. Should I open a new issue?

I am facing the same issue in v0.15.1

@DanRibbens @jmikrut I'm running into the same issue in v1.0.34

Would love to see documentation on how to handle relational data that can be queried from both ends.
I'm also looking for an example UI implementation of Organization<--Member-->User.

Is there any solution to query/filter a relation on both documents? I have a collection Articles which has relationship to the collection Categories and I would like to query all categories with a count for the related articles.


add scripts to check and report pcp ping state

and update zagg-client playbooks to add cron job for checking pcp ping state

:+1:


Support nomic-io/merk

In order to demonstrate this proof format is generic (or adjust it as needed), we should add a new library to convert merk-js proofs (used by lotion.js) into this format, and add a number of test vectors to this repo.
This will be a unique, non-go Merkle tree implementation and should provide some learnings in making the format more flexible and generic

Merk.js is gone, being replaced by merk.rs.
Implement this when the rust implementation is stable-ish.

https://github.com/nomic-io/merk

@mappum you want to take this over?


Move vertical advection of TKE to the implicit tendency

Purpose

This PR moves the vertical advection of TKE from explicit_vertical_advection_tendency! to implicit_vertical_advection_tendency!. After this is merged in, we will also move the dissipation of TKE to the implicit tendency.

[x] I have read and checked the items on the review checklist.

We should modify the Jacobian as well :)

We've decided to keep the advection of TKE explicit, since making it implicit would require computing derivatives of the diagnostic EDMF integrals with respect to grid-mean quantities. I'm closing this PR.


Add support for wildcards

Adding support for wildcards:

* to match any zero or more characters
? to match any one character

Adding Examples to README. Updating design and placeholder for "Sites to block" in Options.
Updating all the packages.
Closes https://github.com/penge/block-site/issues/69

Looks great, thanks for adding this feature!

Did a final check, very minor CSS tweak for Firefox. All good now. Releasing version 8.


Demos

Implemented editable voids as requested.
Close #72
Close #73
Please merge #246 first.

Hi, @Bricklou
There is no problem with this PR overall, but there are some exceptions when running locally. You can try importing Range:
import { createEditor, NodeEntry, Text, Range } from 'slate';

In addition, there are some conflicts that need to be resolved


Implement a Websocket streaming interface

We implemented a POC for Whisper livestreaming. This POC needs to implemented to the ASR application.

Provide websocket API for streaming via. ASR-API application
Find a first working solution for Whisper model handling
Add unit and adjust smoke tests
Make the container work

We need to add unit and smoke-tests


added implementation of compact-T.fst

https://arxiv.org/pdf/2110.03098.pdf describes various WFST topologies for decoding with CTC.
The current ctc_token_fst.py creates the Eesen T.fst described in the paper.
ctc_token_fst_corrected.py creates the "correct" T.fst.
This PR adds an implementation of the compact T.fst described in the paper.
The compact T.fst ends up with much smaller TLGs with virtually identical decoding performance. In our use case, a TLG that was initially 35MB when compiled with ctc_token_fst.py is only 24MB when compiled with ctc_token_fst_compact.py.

I have not run it on any public benchmarks.
in our tests we saw tiny improvement like 13.22% -> 13.21% WER on an internal benchmark. almost identical results.


Feature/issue 84 add http basic auth to old api implementation

I assume this can be closed since it exists to hold an existing/finished commit

It doesn't have to happen now - but i feel we should make user a top level message parameter.
Currently, if we wanted to find all messages for a given user, we would have to unpack transport_metadata for ALL messages.

@dmaclay we're not storing messages anywhere at the moment so querying by user isn't possible to begin with.

i know but the Message class payload will inevitably be a template for our
data storage - if we only think in terms of parsing realtime messages &
then we have to inspect json data to filter searches at scale - it may as
well be encrypted
On 3 January 2012 13:10, Simon de Haan <
<EMAIL_ADDRESS>
wrote:

@dmaclay we're not storing messages anywhere at the moment so querying by
user isn't possible to begin with.

Reply to this email directly or view it on GitHub:
https://github.com/praekelt/vumi/pull/85#issuecomment-3338561

--
David
He had read much of things as they are, and talked with too many people.
Well-meaning philosophers had taught him to look into the logical relations
of things, and analyse the processes which shaped his thoughts and fancies.
Wonder had gone away, and he had forgotten that all life is only a set of
pictures in the brain, among which there is no difference betwixt those
born of real things and those born of inward dreamings, and no cause to
value the one above the other. Custom had dinned into his ears a
superstitious reverence for that which tangibly and physically exists, and
had made him secretly ashamed to dwell in visions.

- H. P. Lovecraft (The Silver Key)

I'm not saying this needs to be sorted out now - but once there is data it
will be hard to fix.
Data set up for inspection of historical records works find in real-time,
but the reverse does not hold true.
On 3 January 2012 13:19, David Maclay<EMAIL_ADDRESS>wrote:

i know but the Message class payload will inevitably be a template for our
data storage - if we only think in terms of parsing realtime messages &
then we have to inspect json data to filter searches at scale - it may as
well be encrypted
On 3 January 2012 13:10, Simon de Haan <
<EMAIL_ADDRESS>
wrote:

@dmaclay we're not storing messages anywhere at the moment so querying by
user isn't possible to begin with.

Reply to this email directly or view it on GitHub:
https://github.com/praekelt/vumi/pull/85#issuecomment-3338561

--
David
He had read much of things as they are, and talked with too many people.
Well-meaning philosophers had taught him to look into the logical relations
of things, and analyse the processes which shaped his thoughts and fancies.
Wonder had gone away, and he had forgotten that all life is only a set of
pictures in the brain, among which there is no difference betwixt those
born of real things and those born of inward dreamings, and no cause to
value the one above the other. Custom had dinned into his ears a
superstitious reverence for that which tangibly and physically exists, and
had made him secretly ashamed to dwell in visions.

- H. P. Lovecraft (The Silver Key)

--
David
He had read much of things as they are, and talked with too many people.
Well-meaning philosophers had taught him to look into the logical relations
of things, and analyse the processes which shaped his thoughts and fancies.
Wonder had gone away, and he had forgotten that all life is only a set of
pictures in the brain, among which there is no difference betwixt those
born of real things and those born of inward dreamings, and no cause to
value the one above the other. Custom had dinned into his ears a
superstitious reverence for that which tangibly and physically exists, and
had made him secretly ashamed to dwell in visions.

- H. P. Lovecraft (The Silver Key)

A plan B would be to make good data migration tools - much more complex
that just picking a good record structure - but allows us to put off
optimizing (and odds are any records structure will eventually be
discovered to be sub-optimal) & may be needed anyway to migrate data from
other stores ...
On 3 January 2012 13:24, David Maclay<EMAIL_ADDRESS>wrote:

I'm not saying this needs to be sorted out now - but once there is data it
will be hard to fix.
Data set up for inspection of historical records works find in real-time,
but the reverse does not hold true.
On 3 January 2012 13:19, David Maclay<EMAIL_ADDRESS>wrote:

i know but the Message class payload will inevitably be a template for
our data storage - if we only think in terms of parsing realtime messages &
then we have to inspect json data to filter searches at scale - it may as
well be encrypted
On 3 January 2012 13:10, Simon de Haan <
<EMAIL_ADDRESS>
wrote:

@dmaclay we're not storing messages anywhere at the moment so querying
by user isn't possible to begin with.

Reply to this email directly or view it on GitHub:
https://github.com/praekelt/vumi/pull/85#issuecomment-3338561

--
David
He had read much of things as they are, and talked with too many people.
Well-meaning philosophers had taught him to look into the logical relations
of things, and analyse the processes which shaped his thoughts and fancies.
Wonder had gone away, and he had forgotten that all life is only a set of
pictures in the brain, among which there is no difference betwixt those
born of real things and those born of inward dreamings, and no cause to
value the one above the other. Custom had dinned into his ears a
superstitious reverence for that which tangibly and physically exists, and
had made him secretly ashamed to dwell in visions.

- H. P. Lovecraft (The Silver Key)

--
David
He had read much of things as they are, and talked with too many people.
Well-meaning philosophers had taught him to look into the logical relations
of things, and analyse the processes which shaped his thoughts and fancies.
Wonder had gone away, and he had forgotten that all life is only a set of
pictures in the brain, among which there is no difference betwixt those
born of real things and those born of inward dreamings, and no cause to
value the one above the other. Custom had dinned into his ears a
superstitious reverence for that which tangibly and physically exists, and
had made him secretly ashamed to dwell in visions.

- H. P. Lovecraft (The Silver Key)

--
David
He had read much of things as they are, and talked with too many people.
Well-meaning philosophers had taught him to look into the logical relations
of things, and analyse the processes which shaped his thoughts and fancies.
Wonder had gone away, and he had forgotten that all life is only a set of
pictures in the brain, among which there is no difference betwixt those
born of real things and those born of inward dreamings, and no cause to
value the one above the other. Custom had dinned into his ears a
superstitious reverence for that which tangibly and physically exists, and
had made him secretly ashamed to dwell in visions.

- H. P. Lovecraft (The Silver Key)

Our message storage format doesn't have to match our message transfer format exactly, and I'm hesitant to add fields without a good current use case.
In this case, having a "user" field is pointless (and possibly dangerous) until we know what a "user" is.


SAK-45978: Spanish translations before 22

Setting to draft, lets get translations in after 22 freeze

Is this a draft? Could we apply the latest export?


vaadin-grid theme dom-module ID issue?

Shouldn't this be something like material-grid as to not conflict with the Valo theme module of the same ID?
https://github.com/vaadin/vaadin-material-theme/blob/061040fe69b5ae69c66858ae61f1b352518e4264/vaadin-grid.html#L5

Yes, duplicate of #10. Haven’t gotten around to fixing it yet. PR welcome :)

Oops! Didn't check as I should have.

No worries! You might assume such a simple thing would be fixed right away so there wouldn’t be any duplicates 😄


Move from Swift to Obj-C

https://github.com/kiwi-bop/flutter_crashlytics/issues/43

Nice !!! Thanks ! I'll try to review and test it asap ! Keep you updated !


No more error in the admin view when collecting all Submissions

But there will be a 404 error when trying to grade a student's work

Thanks!


Whiteboard UI

Right now the UI is a vertical wall of text. The UI should be reminiscent of a whiteboard with 4 quadrants, running a Spotify-esque Improvement Kata (https://www.youtube.com/watch?v=X3rGdmoTjDc&feature=youtu.be&t=10m55s)

@timduan Please open issues for the two TODOs mentioned in your recent PR, then I'll close this out.

With the opening of issues #8 and #9, this issue can now be closed.


Build and upload docs to RTD

Build and upload the documentation to Read The Docs.

Created an account in RTD, and hooked up the project to RTD. The project builds successfully, and the generated docs are visible at http://gallows.readthedocs.org/

The change at https://github.com/Chennaipy/hangman/commit/2142ef2ef3fa7e70f70de04c1f71e27b2d5e89ac add doc-requirements.txt to install dependencies while building on RTD.


[bitpay app only] Review app refresh when a tx is received

Sometimes Balance is updated, but tx history is not.

I think it's working well now. I'll re-open this personally if the problem remains.

Sometimes Balance is updated, but tx history is not.
Okay this is a long shot but.....
I'm trying to get a hold of matiu... You created an issue in 2016 #451 that has my Bitcoin address in it. I see that the user was chrisk  Chris is actually the person I need to get a hold of... or he get a hold of me... I believe he was the person I met in 2011 at Lake Las Vegas in the casino montelago and pitched Bitcoin to me. I believe he must have been the one paying into my wallet account with the initial 1500 and smaller payouts for several years thereafter. All as part of my signing up through him and helping fund his mining btc back in 2011. I need help accessing my Bitcoin wallet. I purchased 1500 btc and 1500 btc-cash. I don't remember which platform I used to create my wallet. Maybe his payout records will have record of it. Because If I know which one I used to create my wallet then I can hopefully back track correctly and find my priv keys. I wrote them down and I may or may not have sent them to him along with my wallet address for the deposits. I need to ask that question too.  I, of course don't have anything other than maybe my hard drive if it's the correct device I used, I had several at that time. I've searched it but can't find anything related to Bitcoin. I'm not even sure if I actually finished the whole setup process and received prv keys...alot has happened since then and memory is not serving me. What I do remember is my wallet address due to word association while writing it down back then. I found it on the Blockchain as well. Which was not that hard since I knew how many I purchased and all are already in order of balance. So out of the few that holds 1500 I recognized it right away. That is what led me to your post on GitHub, I googled my address and realized that this site (GitHub) is used by miners/coders. I have spent years trying to figure this out and see if all is lost or if I have other resources unknown to me. I realize I am not the only person that got into Bitcoin through this person however I'm hoping that he remembers something anything that may help me. My email is<EMAIL_ADDRESS>which is not the same one I used back then. Google purged my original email account due to inactivity so all emails received at that time are gone. however I was able to obtain the same email afterwards so I should be able to get new verification emails if it's an online platform I used. I've tried to sign in to several that were used in 2011 using my old email address but most emails come through saying to finish setting up my account click here... I haven't clicked cause I'm not sure I want to set up new accounts with that email for fear I may lose the original one. I was hoping to get to the next stage and enter my password but I don't feel comfortable with clicking to just see if I get there or set up another account. Please contact me. If you can help me let's get started... Or to only to say you can't help me. Either way please reach out I'm feeling a little hopeless. So much has happened to me since then I've gone from living at Lake Las Vegas to losing everything and moving back to my dad's house. No job no car no house and about $11 in my bank account. Knowing I invested in btc and have a huge fortune I can't yet touch is driving me crazy. I need help. If you know anyone who can help (I'm very skeptical though) more so I'm afraid to lose it for good to someone more savvy than I. Which is pretty much anyone. My computer skills are receptionist at best. I do have my old cell phone still it's a slide phone that has worn out the screen ribbon due to excessive sliding so the screen doesn't come on. It used to if I held it tight in a certain spot but I did that so long that it won't do it anymore. The last time I powered it up the screen did show for about 2 seconds but hasn't worked again (2months ago) I've tried four more times since. I'm thinking that it may still hold my emails in the memory. But don't know how to get it to work long enough to search it. After trying four more times I figured I better not break it for good and have just sat it aside. Any advice on that would be great too. Well hope to hear from you or anyone who has read this message and is willing to help. Thank you.


feat: Update KMS module to avoid calling data sources when create_kms_key = false

Description

Update KMS module to avoid calling data sources when create_kms_key = false

Diff is safe for upgrade https://github.com/terraform-aws-modules/terraform-aws-kms/compare/v1.1.0...v2.1.0

Correct logic used by Karpenter module for CNI IPv6 policy ARN

Motivation and Context

Resolves #2794
Relates to #2803

Breaking Changes

No

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 19.19.0 :tada:


Cannot put metadata and doc to ResourceNameParameter

Here is how I define a resource before:
model DataManagerForAgriculture extends TrackedResourceBase {
  /**
   * DataManagerForAgriculture resource name.
   */
  @maxLength(63)
  @minLength(1)
  @pattern("^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$")
  @path
  @key("dataManagerForAgricultureResourceName")
  @segment("farmBeats")
  @visibility("read")
  name: string;
}

I have customized document. I have length limitation by @maxLength and @minLength.
After I change it to
model DataManagerForAgriculture extends Foundations.TrackedResource {
  /**
   * DataManagerForAgriculture resource name.
   */
  ...ResourceNameParameter<
    DataManagerForAgriculture,
    "dataManagerForAgricultureResourceName",
    "farmBeats",
    "^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$"
  >;
}

The doc I added is ignored. And I cannot add more decorators to the spread ResourceNameParameter.

You can do this using an augment decorator on the name parameter, as in this playground

Thanks! Seems the link is wrong, but I already got your point! Augment decorator works!
My follow-up problem is the type of name in ResourceNameParameter is hard coded as string. What if the name is an enum? For this swagger, we previously defined its TypeSpec as
model Quota is ProxyResource<QuotaProperties> {
  /**
   * The quota name.
   */
  @path
  @key("name")
  @segment("quotas")
  @visibility("read")
  name: QuotaNames;
}

After I upgraded to the latest compiler, a non-string name is not allowed.

est: 1
pri: 2

@markcowl Just to confirm, your estimation is for the documentation or for the fix of enum name I put above? Do you want me to create a separate new issue for the enum name scenario?


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_2d_ypskwi0/clone/recipe/meta.yaml:26: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_2d_ypskwi0/clone/recipe/meta.yaml:62: missing_dev_url: The recipe is missing a dev_url
WARNING: /tmp/abs_2d_ypskwi0/clone/recipe/meta.yaml:62: documentation_overspecified: Using doc_url and doc_source_url is overspecified
Errors were found


bug: Bug if user closes app during deploy extraction

Type: bug
Platform: ios 8 webview
I am using the manual deploy process by performing a check, then a download and then an extract and then a load. If the user quits the app during a download and relaunches the app, performing a check still returns true, which is good. But if the user quits during the extraction process and relaunches the app, the check is false while the app does not have the latest code. Expected behavior: deploy.check should return true when the app closes during an extraction, and deploy.download should effectively do nothing, and deploy.extract should restart the extraction. Once completed THEN check should return false if there are no new updates.

Greetings @salqadri!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


http error: No administrator account found inside the database

Bug description
after installing portainer and create a new container, when i setup my first account I can't login to the panel and I got this error in container load:
http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
Expected behavior
I install the image on my computer, after that, I save the image using the following:
docker save -o portainer.tar portainer/portainer
then I move the file to another machine and I load the image by the following:
docker load -i portainer.tar
Technical details:

Portainer version:
Docker version (18.06.1-ce):
Platform (linux):
Command used to start Portainer (docker run -p 9000:9000 -d --restart=always -v /var/run/docker.sock:/var/run/dokcer.sock  portainer/portainer):

Additional context
When I load in to the panel I got "Your session has esxpired"

Press Ctrl Shift R in your browser to refresh the cache..
From: zablah<EMAIL_ADDRESS>Sent: Thursday, 4 October 2018 10:13 PM
To: portainer/portainer<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [portainer/portainer] http error: No administrator account found inside the database (#2332)
Bug description
after installing portainer and create a new container, when i setup my first account I can't login to the panel and I got this error in container load:
http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
Expected behavior
I install the image on my computer, after that, I save the image using the following:
docker save -o portainer.tar portainer/portainer
then I move the file to another machine and I load the image by the following:
docker load -i portainer.tar
Technical details:

Portainer version:
Docker version (18.06.1-ce):
Platform (linux):
Command used to start Portainer (docker run -p 9000:9000 -d --restart=always -v /var/run/docker.sock:/var/run/dokcer.sock portainer/portainer):

Additional context
When I load in to the panel I got "Your session has esxpired"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_2332&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=Um_0VK_391NCzhqVx8-MwvOOmMzxqtRk_RRYhYX0pmA&s=7bqG8zLrH0nLSAvFl376iiuu4R_YnzhbXeuPxmsbZyI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlcb7QbyKxn-5FQanw48pWTvQfh2J03ks5uhdE3gaJpZM4XHrgk&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=Um_0VK_391NCzhqVx8-MwvOOmMzxqtRk_RRYhYX0pmA&s=8ZNly6caUUDMJNOtgdvamXo8J7qwPC6h074k4XlyvWY&e=.

It's not a cache problem, I'm using Private Browsing - incognito and a deferent browser such as firefox and chrome,
as I Say before the error come from image load, so it's not a cache problem>

@zablah
This is an expected error: http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
It means that no administrator has been defined yet for this Portainer instance. Can you try to access the admin init view at your-ip:9000/#/init/admin and try to set it ?

@deviantony
I already create an administrator user but I can't login
I got this error when I trying to create an administrator user:
http error: Unable to create administrator user (err=An administrator user already exists) (code=409)
and when I try to login I got:
Your session has expired
and I trying multi-browser with multi-profile, and private - incognito

Anything in the container logs after you try to login?
Have you deployed Portainer on a standalone host or inside a Swarm cluster? How did you deploy Portainer?

I got the same error on a fresh installation!

@antonio-petricca is it perfectly normal to see this error in Portainer logs upon first startup. Have you been able to set the administrator user via the UI?

Hi, I get this:

@antonio-petricca anything in the container logs after this failure?

Hi, there are the only log messages:

2018/10/24 14:57:58 Templates already registered inside the database. Skipping template import.
2018/10/24 14:57:58 Starting Portainer 1.19.2 on :9000
2018/10/24 14:58:48 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)

Hm, interesting. Nothing in the logs.
@antonio-petricca Can you inspect the failing request in your browser's developer tools?

Hi, I attached the request/response dumped by Opera network analysis tool.
When I send the request I get a 403 error wich results in the above mentiod red error alert.
localhost.zip

@antonio-petricca cannot read the response content from this dump? Any chance to get a screenshot?

Hi, here some screenshots about error response:

@antonio-petricca that is pretty weird, can you give us information about the underlying OS and Docker version ?

@antonio-petricca nope, no way to augment log verbosity.
This is a pretty strange issue and it's not really the same error as the one reported by the OP. Long shot here, could you try to remove the portainer image and to re-deploy it?

I did it several times, but nothing changed. I still getting the same error!
On Mon, Oct 29, 2018 at 9:12 AM Anthony Lapenna<EMAIL_ADDRESS>wrote:

@antonio-petricca https://github.com/antonio-petricca nope, no way to
augment log verbosity.
This is a pretty strange issue and it's not really the same error as the
one reported by the OP. Long shot here, could you try to remove the
portainer image and to re-deploy it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/issues/2332#issuecomment-433821669,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGWhIoMtWcdt9gIz0WzM4qa2qo7SwQxzks5uprhzgaJpZM4XHrgk
.

@antonio-petricca tried with another browser?

I use use Opera, for Production too.
I switched on my Laptop to Firefox, and I could create the admin account!!!
I used thre credentials on Opera, and it still doesn't work.
No problem, I will use Firefox for Portainer. :)
Thank you very much for your assistance!
On Mon, Oct 29, 2018 at 9:16 AM Anthony Lapenna<EMAIL_ADDRESS>wrote:

@antonio-petricca https://github.com/antonio-petricca tried with
another browser?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/issues/2332#issuecomment-433822716,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGWhIo9lzbNxF3pnxRbDHRqxu_B7OJ-Jks5uprl2gaJpZM4XHrgk
.

Ah that's a pretty strange issue indeed !! Glad we solved it, but I wonder what could be the problem with Opera.
Closing this issue. Thanks for spending some time helping us diagnose this !

Got the same problem.
Inspect the image latest tag on Docker Hub, found it was built 2 months ago

So I tried the tag fix2443-offline-browsing-perfomances, issue fixed...

😄

@gitzhou I'd recommend trying with develop instead, fix2443-offline-browsing-perfomances has not been merged nor tested yet.

@gitzhou I'd recommend trying with develop instead, fix2443-offline-browsing-perfomances has not been merged nor tested yet.
Are you using Opera as well?

Hi @deviantony  Thanks for teaching, I'll change the image tag.
No, I've tried Chrome and Firefox and both of them gave the same error message

Try restarting Docker. On my Windows 10 computer I launch Docker and once it is running I launch Portainer and get this error. If I then restart Docker, wait until it is running again and then try running Portainer it works fine. I have this problem on every boot and the Docker restart fixes the problem every time. This has been going on for as long as I can remember.
This Docker restart issue has been around for a while. See https://github.com/docker/for-win/issues/2303 (which appears closed but only because people gave up trying to figure out the root cause and just restart Docker to fix the problem).


TS-4735: Fix race condition in traffic_server startup.

Set max_msgs_in_row to 1 temporarily during traffic_server startup to avoid a hitting race condition when we receive configurations continuously from traffic_manager while coming up. We will reset this limit back to 10,000 in reconfigure() once the initial synchronization is done.

Curious, where do these messages come from? Is that related to  clustering? [approveci]

These messages come from traffic_manager. It is due to https://issues.apache.org/jira/browse/TS-4646

As mentioned on TS-4646, this is not very reproducible. Although the patch here makes the symptom go away, I'm not comfortable that we really understand why the initial message exchange takes so long.

James,
I believe that this patch doesn't address just a symptom, it addresses a fundamental flaw in the startup code. A race condition. As I mentioned in the bug description, this issue is not because of the time required for the initial message exchange, but it is because of TS-4646 where repeated and unnecessary messages are being sent with a frequency which is exactly the same as mgmt_read_timeout. Of course, by fixing TS-4646, we will not hit this, agreed. But this design of waiting for 10k messages before yielding is flawed. We cannot do that because traffic_cop expects a few things from traffic_server.
The only reason I decided to address the issue this way is because of the precedent set by 'timeout' in the same class. Initially, timeout is set to '0'. And once the startup is complete, it is set back to the configured value.
I am confused by your reference to TS-4646. As I mentioned there, TS-4646 should happen all the time and I think it does. It is easy to verify that by enabling debug logs. Its just that TS-4646 does not always result in TS-4735 in all cases. It is a race condition.
However, on our VM's it happened all the time. We used this patch to solve the issue and it seems to be working for past few months. Please let me know if you have any concerns.

[approve ci]

Linux build failed! See https://ci.trafficserver.apache.org/job/Github-Linux/568/ for details.

@kshri23 I dig into the startup sequence a bit more and I'm now convinced that this is a reasonable approach. What do you think about just changing MAX_MSGS_IN_A_ROW to something sanely small (like 10)?
@kshri23 You need to run make -j clang-format.

Linux build failed! See https://ci.trafficserver.apache.org/job/Github-Linux/569/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/673/ for details.

This is failing on Linux because of clang-format. Please run "make clang-format" and push again.

James, that is a good idea. I am not sure but I think it should be okay to do so. I will need to dig in  a bit though to understand why this value was fixed unless anyone recollects we chose 10k?

The 10k is an arbitrary number chosen in TS-4161.

[approve ci]

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/681/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/577/ for details.


Use pure Python to determine IP address instead of nonportable hostname -I

The main moviation behind this change is that coreutils states, for
hostname, "portable scripts should not rely on its existence". In fact, the
inetutils version of hostname does not support the -I flag. The
man page from the expected version of hostname says to "not make any
assumptions about the order of the output".
This change uses pure Python to grab the first IP address that will work with
MPI. This was the location that caused problems for me, I haven't checked if
hostname appears anywhere else in the code. I used the first IPv4 address
that supported streams, since order should not matter.

Hi @eyolfson, thanks for your contribution and also for pointing out our hostname portability issue. Let's figure out a way to get this resolved. I do have some reservations on relying on hostname address resolution like this though.
In our case (and I think many others) the hostname is a DNS resolvable name, and this mapping will be to an externally visible IP address. In addition to performance issues, this address also comes with many restrictions in terms of which ports are open, etc. What we need is a way to get the local/private IP address on the host that might be behind NAT. Here's a concrete example on one of our hosts. I imagine other setups using Docker might also have similar issues though.

Hi @eyolfson, thanks for your contribution and also for pointing out our hostname portability issue. Let's figure out a way to get this resolved. I do have some reservations on relying on hostname address resolution like this though.
In our case (and I think many others) the hostname is a DNS resolvable name, and this mapping will be to an externally visible IP address. In addition to performance issues, this address also comes with many restrictions in terms of which ports are open, etc. What we need is a way to get the local/private IP address on the host that might be behind NAT. Here's a concrete example on one of our hosts. I imagine other setups using Docker might also have similar issues though.

Hi @jeffra, thanks for the reply!
There's a Stack Overflow post that has a discussion on how to do this without any external dependencies. The solution may not be robust for your use case. A better solution may be to use netifaces, but I'm not sure if you want to add another dependency. Let me know which direction would be better to go down, thanks!

Hi @jeffra, thanks for the reply!
There's a Stack Overflow post that has a discussion on how to do this without any external dependencies. The solution may not be robust for your use case. A better solution may be to use netifaces, but I'm not sure if you want to add another dependency. Let me know which direction would be better to go down, thanks!


Common Code for Backend Services

We need a Gradle Project that contains common code for all services.
The Services can include this project and access the code. The project should use the package: com.bikenest.common
Components of the Common Project:

Definition of Interfaces for all Endpoints (e.g. currently the Booking service has the /booking/add endpoint that accepts a NewReservationPOJO Object, that contains the BikenestId, the StartDateTime and the EndDateTime of a new reservation. This Class should rather be defined in the common code base, so that other service do not have to define it themselves, if they want to communicate with the Booking service.)
Maybe more spring specific stuff like even declaring FeignClients. They can be used to access endpoints of other services, but since they would be used by Autowiring, Im not sure if it would work, if they are defined in another project. This has to be tested!
The JWTAuthenticationFilter, because essentially it would be the same for each service.
The JWT Claims Object (doesn't exist so far?, an object that defines what claims are stored inside the JWT)

So I found out to include another project via gradle, you have to use this inside "settings.gradle":
includeBuild "../common"
It is also possible to specify a root project for the Backend, that includes all sub projects and handles building.

The last commit
7c7f22c
allows the service projects to be built individually.
It was really complicated getting it to work:
You can define the used plugins inside settings.gradle
So if you define them inside the root project, then you are not allowed to define the plugin versions inside the build.gradle files of the subprojects.
But if you want to build the subprojects individually, it wont work if you don't define the versions. Thats why I had to change the settings.gradle of each project and also define the plugin versions there.
And if you build a service individually, it also won't know about the common project, thats why you also have to specify
include ':common'
project(':common').projectDir = new File('../common')
inside the settings.gradle of each project...

This will be integrated into the main branch with #83.


remove one extra english paragraph in zh-cn readme.

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
If applicable:

[x] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

/lgtm


Add syslog-address log-opt

Didn't add tests and docs yet, just want to agree on what I did here
This adds --log-opt syslog-address=tcp://<IP_ADDRESS>:514 to be able to specify a remote syslog server to log thinghies (suggestions regarding the name I've choosen are welcome if you don't like it)
I removed ValidateLogOpts because basically I think driver's specific opts shouldn't be checked in opts/opts.go otherwise it will be cluttered in no time and it's driver's business to handle its own opts.
But I still think it could be useful for drivers shared options like tag where docker could let people chose which field to use for the tag (like container or name for instance EDIT on this tag more info here: https://github.com/docker/docker/pull/12876#issuecomment-104745695)
ping @LK4D4 @duglin @thaJeztah
resolves #13362
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

think driver's specific opts shouldn't be checked in opts/opts.go otherwise it will be cluttered in no time and it's driver business handling its own opts.

+1 makes sense

ping @docker/core-maintainers
It's superimportant feature.

ping @cpuguy83 @duglin @calavera

Adding to 1.7 milestone b/c I think this is super-important as well.

Also definitely +1 here.

@tiborvass updated

LGTM

LGTM other than nits.
WinJanky needs to finish.

@cpuguy83 from the top comment;

Didn't add tests and docs yet, just want to agree on what I did here

@runcom @thaJeztah I think now all agree.

ping @thaJeztah
Added a few docs fixes here but far from being a complete explaination of log-opt in general but I guess logging doc refactor could be done elsewhere (if not I'll do it here of course)

@runcom Okay without tests.

cool, I've moved to docs review

Added some suggestions

@thaJeztah updated

Not completely happy with the "The following logging options are supported for this logging driver: [none]" sentences, but for now it should suffice :smile:
LGTM
do we need another look at https://github.com/docker/docker/pull/13392#discussion_r31188156?

@thaJeztah I borrowed that sentence from the previous docs but I'm sure we can change it later during a refactor (other pr are pulling in log driver options doc as well)
wrt that comment, I prefer to have a final go from them

Having a bit of trouble following all the --log-driver discussions and have a couple questions:

Does this support specifying an alternative socket file to /dev/log? (see my comment on the code above). This is something I need and have implemented in a fork.

Can this be set per-container when doing run? (this would be nice for me)

Since people demand this, yes we would Def implement this
Yes

With formatting changes, LGTM.  Thank you for the contribution.

@jberryman updated this pr to include custom unix socket log options
ping @tiborvass @LK4D4 @cpuguy83 to have another last look on this

Moving back to code review then.

thx @icecrime

@runcom lol. need rebase :)

@tiborvass took care of your comments

LGTM. Merging since it looks like it already went through docs review.

thanks guys :tada:

@jberryman now you could test the latest master code with this log-opt for unix socket :)

cherry-picked \o/ thanks for assigning me


Implement ONNX Operator ConstantOfShape

Needed for some recent model support requests. The original models are from TensorFlow. The tf2onnx tool indicates that the TF Operator "isNAN" has paths that call ONNX Operator ConstantOfShape

we already have support for this


[Question]: Can I finetune or training from scratch the recognition model?

Describe your problem
I want to finetune or training from scratch the recognition model from my dataset on my own language. I wonder whether i can do that and how to do that.

Do you mean layout recognition?
We will open source the trainning method in the near future.

Do you mean layout recognition? We will open source the trainning method in the near future.

No, I mean text recognition. Layout, detect and table worked well in my case.


[Task]: Evaluate external contribution for gRPC

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

Evaluate external contribution for gPRC plugin, if it is in a good shape to be take forward by us.

I have documented my analysis here.


upgrade chart versions

change jenkins-x/jenkins-x-platform to version 0.0.3857
change jenkins-x/prow to version 0.0.487
change jenkins-x/tekton to version 0.0.34

/test all

/test ng

/test ng

/test prow


input-file fix DiscoverInterval and fix retries in output-http

Coverage increased (+0.02%) to 38.827% when pulling bed4c9f4432ae1ad453736d02d29f207e7b8a4b1 on AlexAkulov:master into 8b30754294fa438f5b91101907ea8330359f5704 on vjeantet:master.


The To header constructor is private

Hello,
The test here :
https://github.com/lettre/lettre/blob/696c06e8d7a6a69163b3f144fb039b452214fd51/src/message/mod.rs#L553
does not pass outside the module with lettre 0.10.0-rc.3 with the following error message : tuple struct constructor To is private...
Best regards.

Uhm, this could be solved by removing the pub(crate) and instead call the From implementation

My use case is actually to be able to build a From Header by iterating through mailboxes. That is why I came across this issue.

You can build a lettre::message::header::To through the From<Mailboxes> implementation.


Compatibility with Numpy

Hi,
I am trying to use this library in a client-cloud server scenario.
I have encrypted a numpy array using encryptArray and saved it on disk. I have also saved the public key and the context on disk.
At the cloud server end, I have restored the public key and context.
Now i load the encrypted array as below:
enc_arr = PyCtxt(pyfhel=he_server, fileName="arr.ctxt",encoding=3)
However when I use the numpy.sum() on this, I get below error.
/usr/local/lib/python3.6/dist-packages/IPython/lib/pretty.py in _repr_pprint(obj, p, cycle)
    707     """A pprint that just redirects to the normal repr function."""
    708     # Find newlines and replace them with p.break_()
--> 709     output = repr(obj)
    710     for idx,output_line in enumerate(output.splitlines()):
    711         if idx:

Pyfhel\PyCtxt.pyx in Pyfhel.PyCtxt.PyCtxt.__repr__()

Pyfhel\Pyfhel.pyx in Pyfhel.Pyfhel.Pyfhel.noiseLevel()

RuntimeError: Missing a Private Key

I believe this library has support for using with numpy. Can you confirm?

Woops! That's a bug when calling print(enc_arr)! As an attempt to yield more information when printing a ciphertext (or calling its __repr__ function as in your case), I coded Pyfhel to retrieve the noise level of a ciphertext. However, this information can only be retrieved if Pyfhel has the original Secret Key, which makes no sense in the "Server".
I will correct this line (check if the Pyfhelinstance contains a secret key before calling noiseLevel()) and update this issue once it's done:
https://github.com/ibarrond/Pyfhel/blob/f4d6ad5d88eef2a9185d30579265c7c14bb55a09/Pyfhel/PyCtxt.pyx#L566

Corrected! Now you should be able to print a ciphertext without the secret key. The Numpy support is shown in this example: https://pyfhel.readthedocs.io/en/latest/_autoexamples/Demo_Numpy.html


Is there something like activeadmin-sortable?

Hi,
Is your feature request related to a problem? Please describe.
I am thinking whether arctic_admin has some kind of method to manually sort the position of my item in Item index page? I am trying to add this gem into it but it does not work
https://github.com/jcuervo/activeadmin-sortable
Describe the solution you'd like
To be able to sort a list with the position that I want

Hello :)
I don't think it comes from the gem because there is hardly any ruby in the library
If you want some help, please explain and put your complete error ;)

Hi @cprodhomme ,
Thank you for the reply.
I do not think it is an error. It is more like a feature to implement "position".
For example, I have a list of vendors that I wish to list them according to a position that I want as default is by alphabetically.
result:
Vendor A - 1
Vendor C - 2
Vendor B - 3
I saw that there are some solution in Rails that people implement "position" and you can drag and move these records.
Something like this
https://www.youtube.com/watch?v=Aru-XvzzGjU

I think you should write the functionnality in JS and not use the gem activeadmin-sortable (because the last commit was in 2013)


check_xfs_errors script uses invalid logic for checking age of dmesg timestamps

On date: [Fri Aug 24 20:08:28 2018]
I'm receiving errors from date: [Mon Aug  6 19:29:21 2018]
The logic I believe is failing in sorting aug 24 as higher than Aug  6.
My xfs_errors setting is "30" minutes.
Basically any time an alert triggers on days 3-9 of a month, they're going to re-alert come the 10th-29th of the month with current logic in check_xfs_errors plugin.

Imported from Launchpad using lp2gh.

date created: 2018-08-24T20:30:27Z

owner: afreiberger

assignee: None

the launchpad url

(by afreiberger)
I recommend looking at the date delta code that is in swift-storage charm for check_swift_replication_lag

(by aurelien-lourot)
This was fixed in https://git.launchpad.net/nrpe-charm/commit/?id=2ac9b4d


Need finer-grain logs on pilot, from 1-4

Envoy debug is turned on on pilot log 3, and generates lots of logs.
We need finer-grain logs on pilot, from 1-4, and turn envoy debug on for logs on 5.

Issue moved to istio/istio #1395 via ZenHub


make-wrapper should use runtimeShell, not $SHELL, for cross-compilation

Motivation for this change
make-wrapper.sh is used to wrap python programs (and others perhaps). Write now it uses the value of $SHELL to get the shell it should use to build its wrapper. However, this only works if the shell being used is the same one as the shell the script will be executed under. This assumption does not hold for cross-compilation. Without this patch, cross-compiled python scripts get a shebang asking to be executed using the build architecture's shell.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Fits CONTRIBUTING.md.

Seems too vague to be true: wrappers may be executed in the build context too. No?

@grahamc sure, but you should be using buildPackages for wrappers that will be used in build context, in which case runtimeShell would be the build machine runtime shell.

Switched to staging


chore: initialize repository

Description
Initialize repository:

create OpenAPI doc for server api in openapi.yaml file
add needed dependencies for development in package.json
add Readme.md
update License

Related issue(s)
See https://github.com/asyncapi/studio/issues/86

@smoya Thanks for review! I added your suggestion and answered for your comments :) Could you look again?

@smoya @BOLT04 @derberg @fmvilas I propagated changes that you suggested. Can we merge that PR and any changes/amendments will be added iteratively? Of course, this will be the first version of the API so nothing prevents us from deciding on a different API design in the coming weeks.

Well, it took a while, but finally I will merge it :) Thank you all for the review. If the specification is not correct, we can always change it.

Great stuff, Maciej! Looking forward for this API 🙌


Update Mangalek URL

Source information
Mangalek 1.4.39
Source language
Arabic
Source new URL
https://manga-lek.org/
Other details
No response
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

I'm sorry, it may look like this is an existing issue, but the thing is that the new link in the previous issue is not for this website. Mangalek websites are really confusing, so just fyi "https://lekmanga.net/" is just another link for MangaLionz "https://manga-lionz.com/" , you need not to add it again, mangalek new url is this one "https://manga-lek.org/" .
you can check the main page and existing manhwa by yourself and you will see the difference, thank you for your hard work


docs: enable JuliaHub and Codecov badges

Codecov Report

Merging #8 (25cfd2f) into main (6da6185) will decrease coverage by 18.78%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main       #8       +/-   ##
===========================================
- Coverage   40.53%   21.76%   -18.78%
===========================================
  Files          16       16
  Lines        2156     2150        -6
===========================================
- Hits          874      468      -406
- Misses       1282     1682      +400

see 7 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Create use example

Create an example explaining the use of the library.
It seems to be very promising, though, it does not adequately explain.

That's fair - about to update the Readme with a brief example.  Apologies for taking a lifetime to get round to this :)


Question: Federated Affinity Fusion and NewFusion

Hello!
I had a few questions about the Federated Affinity Fusion module: https://github.com/yjsunnn/FBANet/blob/1b71421e4d303c9847dfe2dd6211453b0ceacb9c/model.py#L766-L888.
In the paper, it's described as differences of affinity maps: Section 4.3.
I'm not very familiar with many of these concepts, and I'm struggling to understand the code, in part because I can't map the names in the code to concepts in the paper.
Would you mind describing in a little bit more detail what is happening in NewFusion and how it relates to the Federated Affinity Fusion module described in the paper?
Thank you for sharing this code! Reading though it has been a wonderful learning experience!

Apologies if this wasn't the right place to post this -- let me know if you'd prefer emails for additional questions!

Thanks for your interest in our job. The code of class NewFusion corresponds to the FAF in Section4.3. And the core idea of FAF is illustrated in Figure below.

So in the code, we first compute the similarity maps among each frame with the base frame (i.e., corr in line 845, it represents the similarity, or as the paper says, affinity among each frame with the base/reference frame). And then, we compute the difference map of affinity maps (i.e., corr_difference in line851) which corresponds to the d(A1,i, A1,1) in the equation (2). The difference maps are expected to pay attention to complementary details that do not appear in the base frame. And for the last step, we use the difference maps as the weight to accomplish the equation (as shown in line861-866, and the A1,1 is defaulted as 1).
Hope this explanation helps.

By the way, I have updated my email in the Readme.md. Please feel free to contact me :)


Fix logging tests

Informations

Qiskit Ignis version:
Python version:
Operating system:

What is the current behavior?
Logging tests weren't being executed because of missing init file. After adding an init file in #389 they are failing CI.

Done. Fixed in PR #393

closing since it was fixed in #393.

I reopen this issue since logging tests continue to statistically fail, in various environments:

Python 3.8 tests, see an example here:
https://travis-ci.com/github/Qiskit/qiskit-ignis/jobs/349549848

Windows Python 3.6 tests, see an example here:
https://dev.azure.com/qiskit-ci/756b05ba-1fc0-4473-a816-df39f922c292/_apis/build/builds/14868/logs/46

@mtreinish thanks for looking into this and adding the temp dir solution in PR #424. I didn't know that tests run in parallel, this explains... and I agree, using a mock FS is what we need here.
Matthew, @chriseclectic, I'll work on the mock FS solution


Update driver.js

Current coverage is 97.35% (diff: 100%)

Merging #35 into master will not change coverage

@@             master        #35   diff @@
==========================================
  Files            17         17
  Lines           567        567
  Methods         157        157
  Messages          0          0
  Branches         47         47
==========================================
  Hits            552        552
  Misses           15         15
  Partials          0          0

Powered by Codecov. Last update fa04ea4...2bcdb49


forge(debug) goto breakpoint does not work when the debugger is invoked with forge debug

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
No response
What command(s) is the bug in?
forge debug
Operating System
macOS (Apple Silicon)
Describe the bug
the '<char> shortcut seems to work when the debugger is invoked with forge test --debug, but not when invoked with forge debug.
For example, running forge debug CounterScript with the following code:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Script, console2} from "forge-std/Script.sol";
import {Counter} from "../src/Counter.sol";

contract CounterScript is Script {
    Counter counter;

    function setUp() public {}

    function run() public {
        counter = new Counter();
        vm.breakpoint("a");
        counter.increment();
        vm.breakpoint("b");
        require(counter.number() == 1, "number should be 1");
        vm.breakpoint("c");
    }
}

or when running forge debug --sig "testIncrement()" test/Counter.t.sol with the following code:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {Test, console2} from "forge-std/Test.sol";
import {Counter} from "../src/Counter.sol";

contract CounterTest is Test {
    Counter public counter;

    function setUp() public {
        counter = new Counter();
        counter.setNumber(0);
    }

    function testIncrement() public {
        vm.breakpoint("a");
        counter.increment();
        vm.breakpoint("b");
        assertEq(counter.number(), 1);
        vm.breakpoint("c");
    }

}

goto breakpoint seems to work normally when running forge test --debug testIncrement with the above code.

Could I be assigned please ?

@iFrostizz just assigned you!

Investigating - this may require an additional PR for cleaning up things. Having an explicit breakpoints argument that is passed is not very optimal.

@jameswenzel what's up after a fresh foundryup ? Got merged today !

Nightly will be auto-released in 2h, after this this should be fixed!

Tested with latest foundryup, it's working @Evalir ! Can we close that ?

Yep, closing!


New version: Telegram.TelegramDesktop version 5.6.2

Created in https://github.com/stevenlele/winget-update/actions/runs/11330637553
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate of #182813;


Window dimensions are not recalculated when it is added to display hierarchy.

I've spent some time poking the code, and can't seem to find a way to force Window dimension to be recalculated. The only way I found to force Window to have a height is to make sure it is part of display hierarch when App.Run() is invoked, even if many windows are stacked together one on top of each-other. How do I force Window dimensions recalculation after it has been added?
	public static void Main(string[] args)
	{
	    Application.Init();
	    var top = Application.Top;

	    // Creates the top-level window to show
	    var win = new Window(new Rect(0, 1, top.Frame.Width, top.Frame.Height - 1), "MyApp");
	    top.Add(win);

	    Window windowA = new Window("A");
	    windowA.Add(
		new TextField(14, 2, 40, "1"),
		new TextField(14, 4, 40, "2")
		);

	    Window windowB = new Window("B");
	    windowB.Add(
		new TextField(14, 2, 40, "3"),
		new TextField(14, 4, 40, "4")
		);

	    var lastIsA = true;

	    var menu = new MenuBar(new MenuBarItem[] {
	    new MenuBarItem ("_File", new MenuItem [] {
		new MenuItem ("_Swap window", "", () => {

		    var subView = win.Subviews[0];
		    subView.RemoveAll();
		    if(lastIsA) {
			win.Add(windowB);
			lastIsA = false;
			windowB.FocusFirst();
		    } else {
			win.Add(windowA);
			lastIsA = true;
			windowA.FocusFirst();
		    }

		}),
		new MenuItem ("_Quit", "", () => { top.Running = false; })
	    })
	});

	    top.Add(menu);

	    //if windowB is not present when Application.Run() is called,
	    //its dimension will be 0
	    //win.Add(windowB);
	    win.Add(windowA);

	    Application.Run();
	}

This is true for all the Views. I am sure, when you press Tab it focuses on TextField on both Window, right?

In the sample above, you are forcing the size of the window by calling the Window constructor with a Rect parameter - this tells the library that you desire the size to be fixed.
If you want a layout that automatically grows, you must set the X, Y, Width and Height properties individually so you can anchor them.   This is described here:
https://migueldeicaza.github.io/gui.cs/articles/overview.html#layout
A simple way would be to do:
var win = new Window () { X = 0, Y = 1, Width = Dim.Fill (), Height = Dim.Fill ()-1 }

The above starts one line below the top, and the height is just -1 from the full height.

The problem is not in "MyApp" window, which is constructed with a Rect, it is in windowA and windowB. When app starts, only windowA has been added as child to "MyApp", and it shows ok:

Then we call "Swap window":

which roughly comes down to removing windowA from main window children and adding windowB instead:
var subView = win.Subviews[0];
subView.RemoveAll();
win.Add(windowB);
windowB.FocusFirst();
windowB.LayoutSubviews();

I expect to see windowB shown, but I don't:

Investigation lead me to believe, that this is because it has 0 width and 0 height, despite both A and B being created in the same way.
With the change you suggested, this still happens, BUT when I resize the whole Windows 10 console - windowB is drawn properly:

So, the question is: how do I trigger this full size recalculation and redraw without resizing console window?
Here is updated demo code:
	    Application.Init();
	    var top = Application.Top;

	    // Creates the top-level window to show
	    var win = new Window("MyApp")
	    {
		X = 0,
		Y = 1,
		Width = Dim.Fill(),
		Height = Dim.Fill()
	    };
	    top.Add(win);

	    Window windowA = new Window("A");
	    windowA.Add(
		new TextField(14, 2, 40, "1"),
		new TextField(14, 4, 40, "2")
		);

	    Window windowB = new Window("B");
	    windowB.Add(
		new TextField(14, 2, 40, "3"),
		new TextField(14, 4, 40, "4")
		);

	    var menu = new MenuBar(new MenuBarItem[] {
	    new MenuBarItem ("_File", new MenuItem [] {
		new MenuItem ("_Swap to window B", "", () => {

		    var subView = win.Subviews[0];
		    subView.RemoveAll();
		    win.Add(windowB);
		    windowB.FocusFirst();
		    windowB.LayoutSubviews();

		}),
		new MenuItem ("_Quit", "", () => { top.Running = false; })
	    })
	});

	    top.Add(menu);
	    win.Add(windowA);

	    Application.Run();

I have achieved desired result by making  Application.TerminalResized method public and calling it after adding windowB.
		    var subView = win.Subviews[0];
		    subView.RemoveAll();
		    win.Add(windowB);
		    windowB.FocusFirst();
		    Application.TerminalResized();

@IKoshelev can you try compiling https://github.com/GaikwadPratik/gui.cs? I have added a fix in https://github.com/migueldeicaza/gui.cs/pull/129 with one small below change in the code:
		    subView.RemoveAll();
		    win.Add(windowB);
		    windowB.FocusFirst();
                    windowB.SetNeedsDisplay();
		    windowB.LayoutSubviews();```

Are your commits in a branch? I don't think I see them when I download the project.

@IKoshelev https://github.com/GaikwadPratik/gui.cs


Why the loss is almost remains the same ,when i run the training.py?

Hello,
I am facing the same problem, did anyone happen to solve it?


Slope fix

A few updates related to seabed slope to consider integrating into dev

Overall supporting more cases considering bathymetry. Added a commit myself to have subsystems work with bathymetry. More work still to do related, but can integrate into dev.


Automake with project wide maker aka Neomake!

Expected behavior
I don't know if this is a missing feature or if I am configuring neomake falsely. I like to trigger the project wide maker automatically.
The project maker works with the command :Neomake! it also says when calling :NeomakeInfo:
For the project (used with :Neomake!):
 - makeprg
   - append_file: 0
   - args: []
   - auto_enabled: 1

Does auto_enabled mean that the project maker can be triggered by automake as described in the docs?

I like to trigger the project wide maker automatically.

How?  Do you mean via automake / autocommands?
I assume you would like to use neomake#configure#automake?
This currently uses file-mode explicitly, and is tight to buffers.
I suggest just creating your own autocmd:
augroup my_neomake
    au! BufWritePost * Neomake!
augroup

It might be worth thinking about enhancing automake to support your use case though.. how do you want to use it?

An use case would be more complex builds depending in multiple filetypes. For example a webframework could have java, js, html, config and routing files, any change in any of theses files could require a restart/rebuild of the project.

I like to trigger the project wide maker automatically.

How? Do you mean via automake / autocommands?
I assume you would like to use neomake#configure#automake?
This currently uses file-mode explicitly, and is tight to buffers.
I suggest just creating your own autocmd:
augroup my_neomake
    au! BufWritePost * Neomake!
augroup

It might be worth thinking about enhancing automake to support your use case though.. how do you want to use it?

I write all my documents using markdown and then using a Makefile I convert them into a PDF. Having project level automake would allow me to have a live preview of the output.

I would love this feature, myself. My use case: I've written an emulator for the old 8-bit Apple II line of computers, that automatically reloads and restarts the emulation when it detects that a loaded binary file has changed on disk. I would like the project to automatically rebuild as I type, so that the emulator will show in (near) real-time the changes to assembly files, etc, that I've made, as I'm making them.
The recommendation to hook Neomake! to BufWritePost is something, but I'd love if it were happening even before I get to that. Basically, I'm trying to duplicate, in a terminal environment, what 8bitworkshop does in my browser.


Extend project cleanup for OTC resouces

Need to add cleanup methods for most resources:
example:
https://github.com/opentelekomcloud/python-otcextensions/blob/28023d87dfbfa3fb1f8e71bd67b1f11d0caf0e89/otcextensions/sdk/waf/v1/_proxy.py#L202
https://github.com/opentelekomcloud/python-otcextensions/blob/28023d87dfbfa3fb1f8e71bd67b1f11d0caf0e89/otcextensions/sdk/cce/v3/_proxy.py#L384

List from Vladî

[ ] RDS
[ ] CCE,
[ ] OBS,
[ ] NAT GW,
[ ] CBR,
[ ] DMS,
[ ] DWS,
[ ] SMN,
[ ] IMS


azure_firewall: Define a dedicated property for SNAT private ranges

Currently, when users want to specify SNA private ranges, one will set the special key Network.SNAT.PrivateRanges in additionalProperties, with the value of ip ranges.
Is it possible to consolidate this into a dedicated property of its own, otherwise it is not that reliable to create toolings based on this special key, as it is possible to have breaking changes (e.g. renaming the key or change the format of the value)?
Even more, is there any document I can refer to which enumerates all the available KVs for the additionalProperties, so that I might come up with a PR to make additionalProperties a predefined model, rather than a flexible map?

@timMSFT @fengzhou-msft Any update? This currently blocks terraform-providers/terraform-provider-azurerm#7535 from being merged, which resolves issue terraform-providers/terraform-provider-azurerm#7504.

Png @timMSFT


[BUG] Season overlay over item name on Creative

fixed on https://github.com/CauaKath/rpg-4-fools-mod/pull/6


fix: refactor Stepper.controlsBuilder to use ControlsDetails

Behavior
Previously, use of the Stepper.controlsBuilder method has the potential to create a brief flicker as the controls in the vanishing step quickly rebuild with the new activeIndex. An example widget using the Stepper might look like so:

/// This is updated by setState() shenanigans.
int _activeIndex = 0;

Widget build(BuildContext context) {
  return Stepper(
    controlsBuilder: (BuildContext context, {VoidCallback? onStepContinue, VoidCallback? onStepCancel}) {
      return Row(
        children: <Widget>[
          TextButton(
            onPressed: onStepContinue,
            child: Text('NEXT ${_activeIndex}'),
          ),
          TextButton(
            onPressed: onStepCancel,
            child: Text('CANCEL ${stepIndex - 1}'),
          ),
        ],
      );
    },
    steps: [...],
  );
}

This behavior is represented by this slowed-down gif:

With this fix, an alternate signature is introduced and controls built with it can make use of the new ControlsDetails parameter to know who they are, not which step is replacing them. An example widget using the Stepper could be refactored like so:

/// This is updated by setState() shenanigans.
int _activeIndex = 0;

Widget build(BuildContext context) {
  return Stepper(
    // A new `ControlsDetails` parameter appears!
    controlsBuilder: (BuildContext context, {required ControlsDetails details }) {
      return Row(
        children: <Widget>[
          TextButton(
            onPressed: details.onStepContinue,
            // Use `stepIndex` instead of `_activeIndex`
            child: Text('NEXT ${details.stepIndex}'),
          ),
          TextButton(
            onPressed: details.onStepCancel,
            // Use `stepIndex` instead of `_activeIndex`
            child: Text('CANCEL ${details.stepIndex - 1}'),
          ),
        ],
      );
    },
    steps: [...],
  );
}

Rewriting such methods in this way fixes this flicker, as captured in this slowed-down gif:

Risks
This changes the signature of a published builder function, but all external submitted tests have passed and it is not used anywhere internally.
Fixes #78119

@craiglabenz I just updated to 2.8 and get this error while trying the 2nd Stepper you mentioned:
The argument type 'Row Function(BuildContext, {required ControlsDetails details})' can't be assigned to the parameter type 'Widget Function(BuildContext, ControlsDetails)?'.
Could you provide a full example please?


JavaScript Syntax error on launch

recently upgraded my pc to I9 and after installing the motherboard software better discord now crashes with a java script uncaught exception rerunning the installer and repairing with "javascript error on star" causes it to give the same error

Hello,
This is the issue tracker for a bot-based bridge between Discord and IRC. I believe you are looking for the BandagedBD BetterDiscord issue tracker. https://github.com/rauenzi/BetterDiscordApp/issues

oh sorry friend directed me to the wrong link thank you


Approximate hardware noise in Cirq, v2

This PR refactors #4640 to make use of GateFamily in OpIdentifier, as described in #4672.
Child PRs split off from #4640 will be re-released with this change applied.

@95-martin-orion can this be closed now?

@95-martin-orion can this be closed now?

Yes, all child PRs have been submitted. Here's a listing, in case anyone is interested:

Insertion noise: #4672
Thermal noise: #4673
NoiseProperties refactor: #4866
SQNP: #4964
GoogleNoiseProperties: #5082
Calibration to noise: #5187

Other PRs in this space have been added since then, but these are the ones that implement this PR.


Q: why use findpython? 🤔

When I found that in my set of packaged python modules as rpm packages findpython is not updated for switching pdm-pdm-517 to pdm-backend I've started looking what is is using this module and so far found that is is used only by pdm.
Looking on the pdm code I have impression that it should be possible to replace findpython use by standard python modules.
Q: is this modules really needs to be used? 🤔

Why this question? People are free to create a package when he feels necessary, right?

it should be possible to replace findpython use by standard python modules.

Every package is built with standard python modules, it is possible, but it is not necessary.

Please .. I've not been asking about any people ..
My question had nothing to do with any personal context.
Issue is that findpython is not not updated and looks like it can b rep;aced by standard modules -> it could be one test and runtime dependency less -> KISS principle.

Let me try to understand your wants. You are asking to drop findpython since it is used by noone?

Issue is that findpython is not not updated

What do you mean by "not updated", can't it be solved by updating it?

Let me try to understand your wants

I don't want anything.
I've asked the questions .. only this and nothing more.
Looks like you threated that question almost like personal attack (which is bizarre).

What do you mean by "not updated", can't it be solved by updating it?

I can only reapeat what I wrote initially:
"When I found that in my set of packaged python modules as rpm packages findpython is not updated for switching pdm-pep517 to pdm-backend I've started looking what is is using this module and so far found that is is used only by pdm."
As I wrote after brief check what is in findpython it looks like generally functionalities provided by findpython (like find python interpreter version and path to executable) are part of the standard pyton sys module.

sys only returns information for the current interpreter right? While this project, as the name implies, finds all interpreters installed on the system.

in test suite session pytest is executed against exact python version which is used in pytest script and not against all possible python interpreters (findpython  us used in pdm test suite).
pdm is pep517 backend and calling build or pip with use pep157 it is executes exact python version not all possible pythons installed somehow in the system.
From that point of view looking for all possible pythons does not make to much sense ..
NONE of other pep517 backends (setuptools, hatchlings, whey, flint-core ..) are doing anything like trying using all installed pythons.
Q: what is the sense of doing that? 🤔

There seems to be large misunderstanding

pdm is pep517 backend

No, it is a frontend, a development tool. Have you ever used it after all? The backend is pdm-backend which has fewer dependencies. PDM should be compared to Pipenv, Poetry, even tox and nox, all of which need the ability to find installed Pythons.
Your reply makes totally no sense and misunderstand both PDM and PEP 517 backends.

Your reply makes totally no sense and misunderstand both PDM and PEP 517 backends.

Second time you've skipped question to go to personal rant.
Thank you for your time. I have no other questions.


Automate Releases

Describe the solution you'd like
Releases to github should be automated whenever we publish a new release to Maven Central.
Describe alternatives you've considered
N/A
Additional context
N/A

Resolved by #194


32l_lcd example works but output is garbled

I've just tried to use the example in the directory examples/32l_lcd on a STM32l discovery board. So far it works just fine, but the output appears garbled—at the end of the display some blocks light up (that probably shouldn't). Single stepping shows, that the display is blanked just fine, the conversion logic is probably broken.
Here are some pictures:

http://dl.dropbox.com/u/1869832/STM32l-discover-ON.jpg
http://dl.dropbox.com/u/1869832/STM32l-discover-OFF.jpg

Unrelated to stlink project.