Add sendJson and readJson to WsSession

Could add methods for sending and receiving JSON to WsSession. Ping @plombardi89.

It would be easy to do, but I'm not in love with the whole utility json method stuff in general. The problem I have is it is too inflexible and can be a bit confusing.
At one point on a recent project I wanted to try Klaxon with Javalin, however, I realized pretty quickly it wouldn't be possible to work with Javalin's Context::json and Context::bodyAsClass` methods because of tight coupling to Jackson. Now, the easy answer would be "Just don't use those methods", but that's confusing for other developers who might pick up my code. They will see those methods first and foremost and most likely use them.
In the end I stuck with Jackson, but I still don't use Context::json or Context::bodyAsClass instead I have utility objects in my code called Json and Yaml, that look a bit like below:
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.kotlin.KotlinModule
import com.fasterxml.jackson.module.kotlin.readValue
import com.fasterxml.jackson.module.paramnames.ParameterNamesModule

object Json {

  val mapper: ObjectMapper = ObjectMapper()
      .registerModules(
          Jdk8Module(),
          JavaTimeModule(),
          KotlinModule(),
          ParameterNamesModule()
      )

  fun jsonify(model: Any?, pretty: Boolean = true, view: Class<*>? = null): String {
    var writer = mapper.writer()

    if (view != null) {
      writer = writer.withView(view)
    }

    if (pretty) {
      writer = writer.withDefaultPrettyPrinter()
    }

    return writer.writeValueAsString(model)
  }

  inline fun <reified T: Any> unjsonify(bytes: ByteArray): T = mapper.readValue(bytes)

  inline fun <reified T: Any> unjsonify(json: String): T = mapper.readValue(json)
}

The big benefit of this approach is I can use more advanced Jackson features which I need (Views in particular are important to me). At the same time I have a similar Yaml object that serializes to YAML because I need to do that. More or less the same interface.
It doesn't really solve my initial problem of someone not realizing they should us the Json and Yaml objects in my codebase over the Context::json and Context::bodyAsClass methods, but at least using this approach I'm able to configure JavalinJacksonPlugin with the same ObjectMapper used by my custom classes so I can set default behaviors.
Getting back to the issue at hand...

Adding the desired functionality for say a 1.5 is totally doable.
I can probably do it if you want it... should be some easy code.
I'm not in love with the approach in general.
For 2.0, my wish would be either to (1) tie Javalin tightly to Jackson just like you're contemplating integrating tightly with Jackson or (2) Remove these methods. If you go with (1) we can expose more functionality of Jackson through the various Context methods... if you pick (2) this is a moot issue.

Thoughts?

I agree that ctx.json() (and ctx.renderWhatever()) aren't great methods. This is why I never fully integrated them into Javalin, they're just static plugins.
I don't think integrating tightly with Jackson is a good idea, as the split between Jackson and Gson seems to be about 50/50. For Javalin 2.0 ctx.json() should probably be similar to what ctx.html() is:
fun json(json: String): Context = result(json).contentType("application/json")
I'm not sure that makes this a moot issue though, adding the functions to WsSession would still help make everything more inconsistent, even if it's not a great approach.

I agree with @plombardi89 that the issue is moot in second case, as adding methods to WsSession in case they will be removed anyway is questionable thing to do.
In regards to JavalinPlugins themselves, they could be more integrated into Javalin, so we could use smth like setPlugin() \ getPlugin() to setup them.
During my last pet project I have ended up with smth like this (certainly needs improvement, but anyway):
abstract class JavalinPlugin<out R : Reader, out W: Writer>(val reader: R, val writer: W) {
    interface Reader {
        fun <T> read(ctx: Context, cls: Class<T>): T
    }

    interface Writer {
        fun <T> write(ctx: Context, value: T)
    }
}

class JavalinJacksonPlugin(mapper: ObjectMapper) : JavalinPlugin<JacksonReader, JacksonWriter>(JacksonReader(mapper), JacksonWriter(mapper)) {
    class JacksonReader(private val mapper: ObjectMapper): Reader {
        override fun <T> read(ctx: Context, cls: Class<T>) = mapper.readValue(ctx.request().inputStream, cls)
    }

    class JacksonWriter(private val mapper: ObjectMapper): Writer {
        override fun <T> write(ctx: Context, value: T) = mapper.writeValue(ctx.response().outputStream, value)
    }
}

class Main {
   val plugin: JavalinPlugin
   inline fun <reified T> Context.pluginRead() = plugin.reader.read(this, T::class.java)
   fun <T> Context.pluginWrite(value: T) = plugin.writer.write(this, value)
}

Therefore, I was using only ctx.pluginRead, ctx.pluginWrite for getting values, and it worked just fine. However, I am not sure abou markdown plugin with that syntax. Anyway, my point here is that the whole thing with plugins needs to be rebuilt for sure.

I agree with @plombardi89 that the issue is moot in second case, as adding methods to WsSession in case they will be removed anyway is questionable thing to do.

How is it questionable? We're building Javalin 1.X as a standalone library from 2.X. There might things that we don't want to bring into 2.X (like this), but we should still strive for 1.X to be consistent. That being said, I don't feel very strongly about this particular issue, it was just a thought I had when I saw a project that had ctx.json(obj) and wsSession.send(objectMapper.map(obj)) right next to eachother. It looked very inconsistent.

In regards to JavalinPlugins themselves, they could be more integrated into Javalin, so we could use smth like setPlugin() \ getPlugin() to setup them.

How would that be different from JavalinJacksonPlugin.configure(objectMapper) (the current way to configure the mapper)? Having the plugin static isn't great, but it shouldn't affect your ability to configure it.

How is it questionable? We're building Javalin 1.X as a standalone library from 2.X.

In this case I will agree on that. Then the question is when Javalin 2.x is expected to be released?

How would that be different from JavalinJacksonPlugin.configure(objectMapper)

This way it is just a generic plugin which you could apply to context and make it transforming things your way (Yaml, Json).
class YamlPlugin() : JavalinPlugin()
class JsonPlugin(): JavalinPlugin()

ctx.setPlugin(YamlPlugin())
ctx.pluginRead() <- transforms from yaml

ctx.setPlugin(JsonPlugin())
ctx.pluginRead() <- transforms from json

As I said, it is not the best approach, but Javalin can certainly win from some plugin system allowing to extend certain capabilities implicitly (without applying plugin directly, but to the context or route, for example)

In this case I will agree on that. Then the question is when Javalin 2.x is expected to be released?

This is getting a little off track, but not anytime soon. Probably not this year.

This way it is just a generic plugin which you could apply to context and make it transforming things your way (Yaml, Json).

We could add a ResponseTransformer and a RequestTransformer, but that's a whole other dicsussion.

Closing this since you guys don't like it and I don't have any strong feelings.


General Grievance: Watch educationarb.com

General Grievance requests the watch of the watch_keyword educationarb\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

educationarb\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Feature Request: Automated Bot Registry and Private Communication Protocol

Summary: Implement an automated registry and communication system that enables trading bots to discover each other, communicate efficiently, and trade in a secure and private back channel.
Description:
As the project expands and more instances of the trading bot are forked and installed, there's an opportunity for these bots to be aware of each other's existence and to communicate directly. The goal is to establish a decentralized, automated registry system that allows bots to discover and authenticate each other. Once connected, the bots will communicate through a private back channel to exchange data and execute trades efficiently.
Proposed Features:

Automated Registry System:

Each bot will register itself in a decentralized registry (e.g., using a lightweight P2P network or distributed ledger technology).
Bots will periodically update the registry, checking for new bots or changes in status.
The registry will include basic metadata to facilitate discovery, like cryptographic keys for authentication.
Possibly services a particular bot provides to other bots that they could pay for in the future. (more on this later)

Private Back Channel Communication:

Implement a secure, real-time communication protocol, potentially leveraging WebRTC or a similar P2P technology.
The protocol should ensure encrypted communication between bots, minimizing the risk of interception.
Messages will be designed for minimal latency, suitable for rapid data exchange and trading negotiations.

Authentication and Security:

Use public-private key cryptography for bot authentication, ensuring only legitimate bots can participate in the network.
Establish rules for trust and security, with mechanisms to handle untrusted or malicious bots.

Efficient Trading Protocol:

Design a protocol that allows bots to share and match order books in a streamlined manner.
Ensure trades are executed quickly, with minimal delay, using predefined negotiation rules.
Incorporate a fallback mechanism if communication or negotiation fails.

Benefits:

Speed: A dedicated, private communication channel will facilitate faster data exchange compared to public platforms.
Security: Encrypted communication ensures that sensitive trading data remains confidential.
Scalability: The decentralized nature of the registry will support the growth of the network without becoming a bottleneck.

Considerations:

The system should be resilient to potential attacks, like Sybil attacks, by incorporating strong authentication and trust mechanisms.
Developing a lightweight and efficient protocol is critical to minimize resource usage and latency.

Vehemently against private communication protocols between agents of any sort. Critical to agent-human alignment that they use social media as the basis for communication and memory. Bot registry is I think not a telemetry we want.
Have a solution for this that is more in line with our moral values-- I know this seems small, but it is extremely, extremely important that we make the bots use human communication and human tools at all times.


fix: basic.csr /head error

After https://github.com/GoogleChrome/puppeteer/pull/909 got released, I suggest we change body.js to console.info or console.debug and listen specific ConsoleMessage type.


tinycc fails to build on darwin

Describe the bug
Currently, tinycc fails to build on macOS. It would be great to fix this, since tinycc is a valuable component for bootstrapping larger C compilers and would enable the building of a few other packages that depend on it.
Related draft PR: #100748

Fixed on x86_64-darwin.


scroll bar on dashboard navigation

there is a design issue on the dashboard navigation

Windows 7, Chrome

This actually happens on OSX too, it's just that the scrollbar is invisible. I've never realised this. Thanks!


Remove specific licences versions from summary

We were guessing the licence version in many cases, and mostly wrongly.
As mentioned in #1007 and #1038 we don't have good licensing information from datasets. However since we don't actually use the information for anything I have removed it from the summary.
It will now show the category of open licence from the questions they have answered or if they have specified another licences then it will show that correctly.

Coverage increased (+0.04%) to 79.8% when pulling 7c90e7de5f0ed5ace860bdf665c919164a0acc9c on fix-determining-licences into 10cdb1c8ea6893af930046970de0209a21fdee1e on staging.


Added two new methods

Added new method to add a generic loading view
Added new methods to add a generic empty view

Adds support for empty and loading custom views. New lib version 1.0.4 (See README)


Support for UICollectionView headers and footers

UICollectionView headers and footers are created by using the [dequeueReusableSupplementaryViewOfKind:withReuseIdentifier:forIndexPath:] method. It would be a very useful addition if recycling alerts and timings were displayed for headers and footers.

Thanks @graemesi . Will think about a way to support headers and footers. Will get back to you shortly.

Many thanks - I found DWURecyclingAlert very helpful for diagnosing some performance issues with cells in a complex collectionView. It's already a great tool, thank you for releasing it!

@graemesi Done. Give it a try.

Thank you - it works great!
Sent from my iPhone

On 1 Jul 2015, at 09:10, diwup<EMAIL_ADDRESS>wrote:
@graemesi Done. Give it a try.
—
Reply to this email directly or view it on GitHub.


CR7: Search window: Remove table view

Tools: JQuery

Search menu, map and results present. No table view, from branch CR28_SearchResults


Semantic Segmentation Implementation-U-Net

U-Net Implementation
Brief - This will help users to train, predict, deploy Semantic Segmentation model ( U-Net) on their own datasets.
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Programming Language

[x] Python
May I solve this as an issue and work on it to add this new feature?
Happy Coding

Hey @msethi006, this don't need to be automated, we are try to automating our day to day or very basic tasks (like utilities type, eg. stopwatch, timer, alarm, etc.). Hope you understand :)


app.json Test Attribute Limitations

Please add an entry for the test attribute in the app.json file and indicate it's limitation to older versions of BC with C/AL remnants.
In this BCContainerHelper Git Issue , Freddy provides information on why I cannot download test symbols using the Test attribute, but there is no documentation in this article that would have spared me the time and trouble.
Thank you!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5b9e8228-e083-4965-22d3-0df35c09ac5d
Version Independent ID: 3707c154-ea6e-c317-217d-6d0e75570c1e
Content: JSON Files - Business Central
Content Source: dev-itpro/developer/devenv-json-files.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Thanks for the feedback. The test attribute is added with a note about the limitation. This will be available with the next refresh of the docs.


Add Practice Exercise: transpose

Problem specification:
https://github.com/exercism/problem-specifications/tree/main/exercises/transpose
TODO:

generate the exercise with ./bin/fetch-configlet && ./bin/configlet create --practice-exercise transpose
check if any of the existing tracks (examples below) implement the exercise and you can reuse the implementation:

Go: https://github.com/exercism/go/tree/main/exercises/practice
Rust: https://github.com/exercism/rust/tree/main/exercises/practice
Python: https://github.com/exercism/python/tree/main/exercises/practice

use exercise's canonical-data.json to see which test cases to implement:
https://github.com/exercism/problem-specifications/blob/main/exercises/transpose/canonical-data.json

Let me take this.

Hello I am really interested to make my contribution but am new to open-source world.
Will be happy to take the task, can anyone just give overview of what is expected?  assign it to me

Hi @shreyasgosavi!
Thank you for wanting to contribute to open-source :rocket:
This particular issue is already taken, but you're free to pick any of the available ones!
May I suggest one of the easier ones, for example to implement the flatten-array exercise?
If you'd like to work on this, just comment on that (or any other issue) and I'll assign it to you :)
After forking the repository, simply follow the instructions in the issue description and most of the code will be generated for you, which is awesome!
You can take a look at other closed PRs that added existing practice exercises to see what you'll need to do, e.g. this is a good example that implemented isbn-verifier.
You'll only need to implement 3 things:

An example solution (example.cairo).
A scaffold solution (lib.cairo).
Tests (.cairo).

For the example solution, you can use any of the other track's implementations, e.g. for this exercise the Python's implementation is very straightforward!
You'll need to add test cases, for which inputs and expected results are already provided, check out https://github.com/exercism/problem-specifications/blob/main/exercises/flatten-array/canonical-data.json
Make sure to read the README file for instructions on testing, formatting etc.!

@Ephraim-nonso are you working on this?
If not, I can reassign the issue

Hi Nenad,
Would really like to work on the one you mentioned, will add a comment on
that.
Thank you for the response & your time!!
Regards,
Shreyas Gosavi
On Sat, Dec 7, 2024 at 1:45 AM Nenad @.***> wrote:

@Ephraim-nonso https://github.com/Ephraim-nonso are you working on this?
If not, I can reassign the issue
—
Reply to this email directly, view it on GitHub
https://github.com/exercism/cairo/issues/241#issuecomment-2524079751,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN6CGBP565JL7DV4QHXFJ5T2EIAWHAVCNFSM6AAAAABNYDDQW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRUGA3TSNZVGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Ephraim-nonso are you working on this?
If not, I can reassign the issue

Yes. I'm still working on this issue. Apologies it's taking much more time than usual.

@Ephraim-nonso no problem, let me know if I can be of help

@Ephraim-nonso no problem, feel free to let me know if I can help

I'd revert latest today on this.

Ok you can assign me some other task if this is already taken ...
On Mon, 9 Dec, 2024, 12:51 pm Ephraim Chukwu, @.***>
wrote:

@Ephraim-nonso https://github.com/Ephraim-nonso no problem, feel free
to let me know if I can help
I'd revert latest today on this.
—
Reply to this email directly, view it on GitHub
https://github.com/exercism/cairo/issues/241#issuecomment-2527131975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN6CGBMO7C7S4KV7OHWNTPT2EVAJBAVCNFSM6AAAAABNYDDQW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRXGEZTCOJXGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@shreyasgosavi I've already assigned you to https://github.com/exercism/cairo/issues/180, once you tackle that, we can assign you to other tasks


AnyUrl percent encoding (#3061) introduced v1.10.0 breaks database connection string

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug
This bug-fix https://github.com/pydantic/pydantic/issues/3061 introduced percent encoding for the query attribute of AnyUrl. It lists a set of characters that get percent encoded and refers to the url-spec.
According to the url-spec, the + character is in the group of safe characters and should not be encoded (page 16 in the doc).
As a consequence of the introduced characters encoding, my database connection string to a MS SQL Server DB got unusable:
import pydantic

url = pydantic.AnyUrl.build(
    scheme="mssql+pyodbc",
    user="user",
    password="password",
    host="<IP_ADDRESS>",
    port="1433",
    path="/database",
    query="driver=ODBC+Driver+17+for+SQL+Server",
)
print(pydantic.VERSION)
print(url)

# 1.9.1
# mssql+pyodbc://user:password@<IP_ADDRESS>:1433/database?driver=ODBC+Driver+17+for+SQL+Server

# 1.10.1
# mssql+pyodbc://user:password@<IP_ADDRESS>:1433/database?driver=ODBC%2BDriver%2B17%2Bfor%2BSQL%2BServer

Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
pydantic version: 1.9.1
pydantic compiled: True
install path: C:\Users\xxx\PycharmProjects\xxx\venv\Lib\site-packages\pydantic
python version: 3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]
platform: Windows-10-10.0.19044-SP0
optional deps. installed: ['typing-extensions']

It would be cool to have a MSSQLServerDsn similar to Postgres, Redis, or MongoDB instead of the general AnyUrl (https://pydantic-docs.helpmanual.io/usage/types/#urls).

maybe related to https://github.com/pydantic/pydantic/issues/4458

duplicate of #4458

This is slightly different but should be easy to fix in #4469.


Feature request : rotate : reflect x or y axe

Hello,
May you add 2 orientation choice
To --rotation option ?

Swap x
Swap y

Please

Lmao I just had this struggle, changed --window-x and --window-y so it's in the right corner of my screen, only to discover it would be outside my screen when rotated, rip hahah
Oh well guess i'll use the left side for now

Hi,
For now, here is a solution i have found :
Start virtual framebuffer X ( :100 )
Xvfb :100 -screen 0 480x320x24 &
Start broadcast screen reversed in :100 send to player :current
 ffmpeg -f x11grab -s 480x320 -r 10 -i :100 -an -q 10 -f mjpeg -filter:v "vflip" - | ffplay -fflags nobuffer -
Start app in :100
 DISPLAY=:100 scrcpy --rotation 3 --window-width 480 --disable-screensaver -b 2M -m800 --max-fps 10
thanks to the help of frogdoubler on reddit in his post:
https://www.reddit.com/r/linux/comments/4071n0/is_there_a_way_to_stream_one_specific_virtual/


Duplication of the sequence number

Basic information

Axon Framework version: 4.2.1
JDK version:  11

Steps to reproduce

A saga creates two deadlines with the same duration
Each deadline is started on a different instance at the same time
Both deadlines create the same type of command, so these two commands were handled by the same aggregate on two different instances and each commandHandler publishes an event (same type of event)

Expected behaviour
Axon inserts each event with a different sequence number ( Does Axon maintain a locking system to prevent duplicate access to an aggregate?)
Actual behaviour
Axon has inserted only one event among the two, and when it tries to insert the second event, an ORACLE exception is produced: unique constraint (aggregate_identifier + Sequence_number) violated => both sequence numbers are the same (it was 5 in my case)

Axon Framework indeed includes a locking mechanism to lock an Aggregate prior to entering a command handling function.
However, this is not a distributed lock; it only stays within a given JVM and doesn't span the two (or more) instances you've running in your sample.
To still guard against concurrent access, which is essentially what's happening in your set up, there is a uniqueness constraint on the combination aggregateIdentifier and sequenceNumber. When this is violated your database (Oracle in this case) will thrown an exception. Normally however this exception would be catched by Axon Framework in the PersistenceExceptionResolver which is configured in the EventStorageEngine  you are using.
It's the PersistenceExceptionResolver which would resolve a "duplicate key violation" into a ConcurrencyException.
So, you have a mix of expected behavior and a bug really.
Expected behavior being that only one of your commands succeeds when the aggregate is concurrently accessed over different JVM's. A bug when it comes to the exception you are receiving, which as stated should be a ConcurrencyException.
On another note though, if the commands both target the same aggregate, it should be your distributed CommandBus which ensure consistent routing to the same instance. So what kind of distributed bus are you using at the moment?
To conclude, the only possible bug here is the fact the exception isn't portrayed as desired.
Either you've missed to configure a PersistenceExceptionResolver in your EventStorageEngine or we need to add Oracle's duplicate key code into the SQLErrorCode.properties file.
There however already is an Oracle error code in there, so I am not sure whether that's the real issue here.
So please come back to us with additional configuration specifics (What message buses have you configured? Have you defined a PersistenceExceptionResolver? Are you using Spring (Boot)?).
FYI: Axon Server would automatically resolve this concurrency issue for you.

Hi Steven,
Hassan won't be available this week so I will try to answer on his behalf.
One key point you might have missed is that the concurrency issue was started by the simultaneous launch of two deadlines on two different instances. So I think the issue here is not related to the command bus.
Concerning our configuration :

we're using Spring Boot
an AsynchronousCommandBus (which is not distributed)
an EmbeddedEventStore using the EventStorageEngine provided by Spring Boot (JpaEventStorageEngine)

From what you said, I guess the issue here is that Axon does not have any way to prevent concurrency issue when two asynchronous processes (i.e. deadlines) are launched on the same aggregate at the same time?

Hi @mickael-coquer!
Sure, it's perfectly fine if you take over; everybody's free to comment under any issue actually. :-)
Towards your argument: my apologies, I didn't want to give the intention I missed that notion.
I was more so focused on the set-up you and @karaki29 / Hassan have then pointing out I followed the gist.
Deadline from Saga
Furthermore, from the description shared by @karaki29 he states the following:

A saga creates two deadlines with the same duration

Saga Deadlines would not end up in an Aggregate by definition, but the issue description lies with an Aggregate command handling occurring concurrently. Thus I assumed upon Saga deadline handling that a command was being dispatched towards the Aggregate, hence resulting in the concurrent access issue of said aggregate.
One way to deal with this, is to ensure concurrent routing of commands towards the same instance at all times. This can be achieved by using a distributed CommandBus implementation (which I see from your response that you are not using).

Deadline from Aggregate
If my assumption is however wrong and the deadlines are not scheduled in a Saga, but on the Aggregate directly, then we are dealing with a different scenario. When it comes to deadline triggering, it's based on the mechanism which actual schedules and triggers them whether those occur on the same instance.
As it's not shared but reasonably assumable, I think you are using Quartz to schedule and trigger the deadlines(?).
As it stands Quartz does indeed no give any guarantees which node will handle the operation, which to us is a known limitation of Quartz. It is because of this, among other reasons, why we feel building a DeadlineManager with Axon Server (as defined in this issue) would be a beneficial step to take.
So to trail back to your question, no Axon Framework does not ensure deadlines are triggered on the same instance, as we have given Quartz the power to schedule and trigger deadlines. We have some ideas on the shelve to allow routing of deadline messages to distinct instances to solve Quartz' random triggering. Those might become a part of the earlier mentioned issue #1106, although I can't give any guarantees on that yet.

Original Issue about Uniqueness
I'd also like to track back to what I further responded to, which is the fact a ConcurrencyException should be thrown in case of a uniqueness constraint like you have been experiencing. Can you share anything on the Oracle error code which is being used to publish the exception in your set up?
As stated that would make for a fix we can employ in the SQLErrorCode.properties file to ensure the correct problem is shared with everybody.

In all, thanks for picking it up from your colleague @mickael-coquer. Confident we can figure this out!
As a side note, when it comes to usage questions of any of Axon's infrastructure components, you can always drop a question on our forum or StackOverflow using the axon tag.

Hi Steven,
Thank you for the detailed answer.
Concerning the Oracle error code, we got a ORA-00001: unique constraint (xxx) violated.
You are right, deadlines are scheduled from a Saga and later triggered by Quartz. We'll have a look at using a distributed CommandBus to solve this issue. We might change our design as well to avoid scheduling two deadlines from the same Saga (and concerning the same aggregate) at the same time.

Sure thing @mickael-coquer, glad to help out.
Avoiding concurrent deadline creation can indeed be a solution to your set up. A distributed command bus would definitely be a good thing to have if you ask me, especially since it seems your application is already distributed. Setting up Axon Server to try this out should be very straightforward since the framework will do all the work for you there.
You could opt to only distribute command messages of course by using the JGroups or Spring Cloud extensions. Taking that route will mean you will have to configure something different for events and queries of course.
When it comes to the error code, it's interesting it didn't end up as a ConcurrencyException. The PersistenceExceptionResolver assumes integer 1 for Oracle's duplication exception, which resembles the code you've shared. Are you per chance using JDBC instead of JPA?

OK thanks for the advices. We'll have a look into a distributed command bus.
We're indeed using JDBC instead of JPA.

Alright, that means the SQLErrorCode.properties file is not the place to look, as you'd be using a different PersistenceExceptionResolver. Namely, the JdbcSQLErrorCodesResolver.
This implementation will only result in a ConcurrencyException (for inserting an event with the same aggregate-id / seq-no pair) or AggregateStreamCreationException (if the first event of the aggregate already exists) if the exception thrown is a SQLIntegrityConstraintViolationException or one of it's causes is. If it's neither of these, the exception should be wrapped in Axon's EventStoreException.
From what @karaki29 shared first, we simply know Oracle threw an exception. Would you guys mind sharing what the exact stack trace is? It might make it so that I better understand why the JdbcSQLErrorCodesResolver didn't do it's job, so whether there is an actionable item for us here.
Thanks in advance!

Hello @smcvb,
Thank you for your help.
I found these logs:
05-11-2020 12:00:20 WARN o.h.e.jdbc.spi.SqlExceptionHelper - SQL Error: 1, SQLState: 23000
05-11-2020 12:00:20 ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ORA-00001: unique constraint (****) violated
Unfortunately , I no longer have the stack trace of Axon!

Thanks for providing that with us @karaki29. Sadly, that means I don't have anything I can immediately act upon to figure out whether thee ConcurrencyException / AggregateStreamCreationException / EventStoreException was wrongfully missed by Axon Framework. As such, I'll have to close this issue for now.
Please let us know when it happens again, ideally with the entire stack trace. That would allow us to figure out whether there actionable items on the JdbcSQLErrorCodesResolver regarding this issue.


Cake.Tool fails to install as dotnet tool under WSL

What You Are Seeing?
Cake.Tool fails to install on WSL Ubuntu with error
The settings file in the tool's NuGet package is invalid: Settings file 'DotnetToolSettings.xml' was not found in the package.
Tool 'cake.tool' failed to install. Please contact the tool author for assistance.

What is Expected?
Successful installation.
What version of Cake are you using?
Cake.Tool 0.30.0
Are you running on a 32 or 64 bit system?
x64
What environment are you running on?  Windows? Linux? Mac?
WSL Ubuntu 18.04, dotnet --info output:
.NET Core SDK (reflecting any global.json):
 Version:   2.1.401
 Commit:    91b1c13032

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  18.04
 OS Platform: Linux
 RID:         ubuntu.18.04-x64
 Base Path:   /usr/share/dotnet/sdk/2.1.401/

Host (useful for support):
  Version: 2.1.3
  Commit:  124038c13e

.NET Core SDKs installed:
  2.1.401 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.3 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

How Did You Get This To Happen? (Steps to Reproduce)
dotnet tool install -g Cake.Tool --version 0.30.0
###Proposed fix
Issue is fixed by manually repacking as NuGet package with id 'cake-tool'. Same fix applies for example for Octopus.DotNet.Cli package see this issue. Please consider renaming package as FAKE tool did FAKE NuGet Package.

So I've tried the tool on

Windows
Mac
WSL Ubuntu 16.04
WSL openSuse Leap 42
Docker

microsoft/dotnet:2.1-sdk
ubuntu:18.04
ubuntu:16.04
fedora:28

All works, however I am able to repro your issue on WSL and Ubuntu 18.04.
Checking the package it does have the required xml manifest

and it does conform do what's documented
https://github.com/dotnet/cli/blob/master/Documentation/general/tool-nuget-package-format.md
IMHO feels more like an issue with the .NET Core CLI with WSL and Ubuntu 18 than the packaging, and an issue should be raised at https://github.com/dotnet/cli as it works on all but one specific platform.

@devlead
Thanks for quick reaction. I have references this (and Octopus) issue in dotnet/cli issue about tooling bug, but it is unclear when it will be fixed and for example how it will affect for example CentOS which we use as actual build environment.

Did a docker run -it --rm centos:centos7 bash and seems to work fine on CentOS for me
.NET Core SDK (reflecting any global.json):
 Version:   2.1.401
 Commit:    91b1c13032

Runtime Environment:
 OS Name:     centos
 OS Version:  7
 OS Platform: Linux
 RID:         centos.7-x64
 Base Path:   /usr/share/dotnet/sdk/2.1.401/

Host (useful for support):
  Version: 2.1.3
  Commit:  124038c13e

.NET Core SDKs installed:
  2.1.401 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.3 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

dotnet tool install -g Cake.Tool

You can invoke the tool using the following command: dotnet-cake
Tool 'cake.tool' (version '0.30.0') was successfully installed.

Might be worth raising an issue in https://github.com/Microsoft/wsl/issues too, as this issue so far only manifests itself under WSL. Therefor might be unrelated to the issue you commented on.

@YakhontovYaroslav I've raised an separate issue for this as I feel it's unrelated to nuget v2 feeds casing.
https://github.com/dotnet/cli/issues/9974

@devlead Thanks for that, but I still believe it is casing issue as doing as repacking as “cake-tool” works. I will post details on repacking as soon as I reach my pc. I will also fire new isssue in WSL repo, as You suggested.
Sent with GitHawk

@YakhontovYaroslav we would be familiar with how to re-pack the NuGet package, so that wouldn't be an issue, the question is really why it works on 8 other systems, and only fails on this one.  That speaks to it being a bug in the dotnet cli, rather than a need for changing the name of the package.

We don't want forked packages on nuget until root cause is confirmed. I see this as a tooling bug and not package. You can't remove packages from nuget only unlist.

@gep13 I understood that. Just wanted to add more info for someone (ex. dotnet cli members)    who might read this. Maybe I will write this into one of the issues in cli repo for it to be more noticeable.
Sent with GitHawk

@YakhontovYaroslav, remember that repacking the tool also removes the package signatures. The one you get from NuGet is both a) repository signed by NuGet.org and b) package signed by .NET foundation.
We have seen issues in the past with package signing (and repo signing) and this might be equally related.

Closing as it is fixed on recent SDKs


Methods should not be prefixed with 'Get' or 'Set' if followed by 'Is', 'Can' or 'Has'

Methods should not be prefixed with Get or Set if that is followed by:

Is
Can
Has

Reason: This is just a duplication and creates unneeded noise.

Be aware of Get or Set for dependency properties.


iPad: add environment variable shows an empty box that you need to navigate out, rather than a regular popup.

This works on iPhone, but on iPad, you need to hit back to get the actual UI.

Can not repro on device, only simulator


samples: net: mbedtls: Remove apps using raw mbedtls APIs

This removes these network sample applications
samples/net/mbedtls_sslclient
samples/net/mbedtls_dtlsserver
samples/net/mbedtls_dtlsclient
as they are using low level mbedtls APIs. You should use
preferably the samples/net/sockets/echo_[server|client] applications
instead, or as a last option use net-app based applications
in samples/net/echo_[server|client] if needed.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

Not an unexpected move ;-). I as usual find it a bit sad, as I like the options, but it's pretty much clear that keeping to provide such samples would be against "secure by default" Zephyr policy (or wishful policy), and requires extra maintenance.
I'd be happy to to give +1 to this, just leaving a formal time window to let people challenge this PR (I'm sure nobody will).

Codecov Report

Merging #9730 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9730   +/-   ##
=======================================
  Coverage   52.23%   52.23%
=======================================
  Files         212      212
  Lines       25945    25945
  Branches     5591     5591
=======================================
  Hits        13552    13552
  Misses      10159    10159
  Partials     2234     2234

Continue to review full report at Codecov.

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


Sort input file list

Sort input file list
so that metadata.json and KVEngine build in a reproducible way
in spite of indeterministic filesystem readdir order.
See https://reproducible-builds.org/ for why this is good.
This PR was done while working on reproducible builds for openSUSE.

Looks good, maintainers merge this! :+1:

Looks good, maintainers merge this! 👍


v2.3.0 OCU-1294 Add shareSplitAssemblyPackageDependencyJar method

This allows significant build-time savings for repos that have many subprojects with the same libraryDependencies, as they can re-use a shared deps.jar assembly.

This has been tested locally with etl.spark-dil and etl.spark-enr:
nohup ./sbt -no-colors "show assemblyPackageDependency" | tee shareSplitAssemblyPackageDependencyJar.log


Feature: Specify MEM1/MEM2 Regions / Fix compatibility with Dolphin MEM Override

Here is my rough fix for my hopefully soon to be approved pull request with Dolphin Emulator (PR #8722).  Accept it, or don't.  I don't care.  I can just put a release build on my fork and share that around.
I don't like what I had to do to fix the scrollbar, tbh.

If I ever port this to Dolphin (which is why this repos is kind of dead rn as I had plans to do it, but other stuff came up), I will consider this so I'll leave this open in case, but I unfortunately can't merge it since it's been so long I reversed dolphin stuff. Feel free to distribute your fork in the mean time.

This will never be perfect because Dolphin Memory Engine cannot know the "real" MEM1 and MEM2 sizes which emulated software have access to.  Dolphin Emulator always allocates physical regions with sizes that are powers of two, and that's all Dolphin Memory Engine knows about.  Falsifying the "real" MEM1 and MEM2 sizes in Dolphin Memory Engine will allow the DolphinAccessor to read from and write to allocated, unused memory following the end of "real" MEM1 and MEM2.  I believe this is harmless, but worth mentioning as a limitation.

If someone could test it this still works fine on Windows, that would be helpful.

If someone could test if this still works fine on Windows, that would be helpful.

Thanks. Ill be doing tests on both platforms before merging.

Did a brief test with Windows with GameCube games, can hook fine with any MEM1 change.
I'll be reaching out to others for additional validations.

So I've done a bit of my own testing, and have found that MEM1 and MEM2 both being 64MiB large confuses WindowsDolphinProcess greatly.  When attempting to hook GCN games, it will show the contents of MEM1 in both the 0x80000000 and 0x90000000 address spaces.  For Wii games, MEM1 will be in the 0x90000000 address space and MEM2 will be in the 0x80000000 address space.

So I've done a bit of my own testing, and have found that MEM1 and MEM2 both being set to 64MiB in DME and Dolphin confuses WindowsDolphinProcess greatly. When attempting to hook GCN games, it will show the contents of MEM1 in both the 0x80000000 and 0x90000000 address spaces. For Wii games, MEM1 will be in the 0x90000000 address space and MEM2 will be in the 0x80000000 address space. LinuxDolphinProcess avoids this because a magic number (0x40000) is involved in the calculations done to locate MEM2 in LinuxDolphinProcess::obtainEmuRAMInformations(). I don't know what this number means.

FYI, the number with the linux thing is I think it was a piece of metadata...maybe the the page size? You'd have to check the dolphin code for it, but I could get a relatively high certainty that it was going to appear there.
Windows I have overall access to much less info to do this heuristics so it had to be a bit more creative.

We're just waiting on your PR at this point. Ultimately if the functionality is the same while on normal mem, and using custom mem results in broken behavior, I'm OK with that for the final Qt 5 release since that's how it is in your 0.5.0 fork anyway.


[Bug][Expandable] Will make other expandable element which in front of this Attirbute not update

Here's the code that reproduce the bug:
    public class ExpandableTest : MonoBehaviour
    {
        public UnityEvent onClick;//Bug: the List can't be modify
        [ResizableTextArea]
        public string multiLine;//Bug: the content can't be save after hit 'Enter'
        [Expandable]
        public ScriptableObject obj0;
    }

When you edit the onClick/multiLine field in Inspector, you will find that their value will not get save:

But if you move the obj0 on top of the onClick/multiLine field, they will work again.
Unity Version: 2021.2.7f1c1

More generally this affects any field that precedes a field decorated with ExpandableAttribute, including int etc, regardless of whether they have NA decorators. The field can be edited but will revert to its previous value when blurred.
Collapsing/expanding the field or removing its asset reference makes no difference.
This is true in two of my projects using NaughtyAttributes, both using Unity 2020.3.21.

This issue is present in 2.1.1 only. Rolling back to 2.1.0 resolves the problem (but presumably will then suffer from #232). @dbrizov it seems that the issue was introduced in e4edd04d78aeb27cb99134b8fc84f521485de6de.

I have discovered that if you comment out this line the issue goes away.
https://github.com/rhys-vdw/NaughtyAttributes/blob/77b2b0e2e287c7ead3c5c1a9eee4a8e621711e05/Assets/NaughtyAttributes/Scripts/Editor/PropertyDrawers/ExpandablePropertyDrawer.cs#L74
My guess is that when the drawer is called on the blur event this code will somehow reset the value on the main inspector object before it has a chance to commit the changes via the final call to ApplyModifiedProperties here:
https://github.com/rhys-vdw/NaughtyAttributes/blob/77b2b0e2e287c7ead3c5c1a9eee4a8e621711e05/Assets/NaughtyAttributes/Scripts/Editor/NaughtyInspector.cs#L133
Why this is affecting the main object is not clear to me though, presumably some subtlety of other changes in the problematic commit.

Why was this closed? #295 is still not merged, was there another fix?

Why was this closed? #295 is still not merged, was there another fix?

I see the author had reply your pull request, and I think it might not well for two issues link to the same problem so this one is closed.

There is no other issue @wojiuxuihuan. This should stay open until the PR is merged, at which point it will automatically be closed by GitHub.

There is no other issue @wojiuxuihuan. This should stay open until the PR is merged, at which point it will automatically be closed by GitHub.

I see, thanks for notify!

#295 PR merged into the v2 branch 7cddf69bca9d09eb8205498ebaf6bdc50f7641fd


【Docs】Why do you need "preset-* /. Storybook" ?

.Storybook of preset-* is not working.
preset-typescript for example.
ERROR in ./.storybook/config.ts
Module not found: Error: Can't resolve './story' in './storybookjs/presets/packages/preset-typescript/.storybook'

what difference examples with .Storybook of preset-*?

I think examples are newer and the .storybook from the preset packages never got removed. cc @mrmckeb


datasets upload error string longer than<PHONE_NUMBER> bytes

There seems to be a limit on file size for upload
Running ...
kaggle datasets version -m version -p fraudtraindata
gives ...
Upload successful: predictors.pkl (352B)
string longer than<PHONE_NUMBER> bytes
Upload unsuccessful: train_df.pkl
Dataset version creation error: See previous output

Yup, known issue.  Definitely want to fix this but after a bunch of investigation over the last week, it's not going to be trivial.  No ETA at this point unfortunately.

This should be fixed in 1.3.7.  Please be aware that right now, there isn't support for resuming uploads, so minor network hiccups could result in you needing to kill the upload and try again.  The only way to see if it's hanging is to check your computer's network use.  Needless to say, I don't think that that's a good thing, but I don't have a better solution in place yet.  It is definitely something I want to fix, though.  Please let me know if you have additional problems.


Remove redundant "effect" and change "for" to "on"

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[ ] You have updated the .github/CODEOWNERS file according to your changes.
[ ] You have registered new documents to /sidebars.js if any.

thanks for the fix @saikatdas0790

@aisconnolly Thank you. I'm not sure if you merged the changes to master. I assumed someone did because I saw the changes were approved but when I closed the pull request, it said changes were not merged.
Let me know in case there's additional action required :)

@saikatdas0790 Now they're merged! (it requires one final click) and the PR closes itself. Thanks again!


Adds codecov coverage reporting to circle.yml

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "codecov" git@github.com:BrianBland/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM


Fixes #3836. SetupFakeDriver sometimes causes failure in the unit test.

Fixes

Fixes #3836

Proposed Changes/Todos

[x] Application.Screen was causing this issue because _screen wasn't being set to null after running a test using the SetupFakeDriver.

Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[ ] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

This error doesn't happens all the time. It's a racing condition when a unit test that use the SetupFakeDriver after it's finished and another unit test that doesn't use it start and will call the superView.SetRelativeLayout (new (10, 10)); when the Application.Screen was already be set to that size before in the first unit test.


Evaluation diagnostic

It is hard to understand the evaluation when designing the predicate.
It would be helpful to have a tool that analyses and predict evaluation.

The goal of the issue will be to introduce the syntax checker. An optional tool that will provide with detailed analysis of the predicate expression.


Rebasing

Use rebasing to linearise commit history, squash commits for coherence, and interactively rebase for flexibility in modifying, reordering, or removing commits before integration.

is this under Dwoc?? If yes then assign me this issue


Add types field for compatibility with TS 2.*

Added a types field in the package.json which makes TypeScript 2.0+ automatically detect the typings.

Cool, thanks for the contribution


Quest book not working

For some reason, my quest book doesn't work at all. Pressing the Detect/Submit button doesn't detect the items, even if I have them in my inventory.
I've tried completing the quest it got stuck on (heavy engineering blocks) with commands, but it doesn't work. I've even tried resetting the quest book in its entirety, and it does not work.
I'm using version 3.2.0.

Also, all of my advancements seem to have reset and my skin is back to the default Steve. That might be connected to that.

All of my set homes have been reset, as well.

Sounds like your player data got deleted somehow


How to use your library for android?

@zapodot @JNKHunter @kennycason @rj93 @rzo1

My guess is that you just important and follow the examples on the README. I'm honestly not sure if there is anything "special" about android that would require special use. Can you paste specific issues/errors you find here?

but how to download this library for android as there is no dependency for this i found ->// ```
https://mvnrepository.com/artifact/com.kennycason/kumo
compile group: 'com.kennycason', name: 'kumo', version: '1.0'
but in this FrequencyAnalyzer is not defined how to solve this issue. thanks in advance.

You should use: https://mvnrepository.com/artifact/com.kennycason/kumo-core/1.11

@kennycason This isn't as simple as it should be because java.awt is not supported on Android, thus the Dimension class is not supported when creating a WordCloud object. There is no problem importing this project and compiling it, but implementing it is another issue.
Unless I'm misreading your code and Dimension doesn't use java.awt?

core contains a lot of java.awt classes...

Right, but Dimension is something that requires an import of java.awt. I don't know how well the other classes work (the ones within core), but I do know that Dimension can't be imported because Android doesn't support it. And if Dimension can't be imported, then the library can't be used. Some aspects should work fine, but the drawing features likely won't.
If core uses a lot of java.awt, which doesn't surprise me, then I doubt the rest of the library would work anyways.
If you have gotten it to work, let me know how because I don't see a way.

Well I spent the past couple days working on rewriting Kumo in Android, but there are just too many functions that I don't know what the proper Android equivalent would be.
I think it might be easier to write a whole new library than try and figure out what lines are portable.

@jamespfluger I'm admittedly not super up-to-date on all the intricacies/limitations of Android development. If you could highlight the core problems. I'd be happy to look into solving them if possible.
@rzo1 I read up more on java.awt missing from Android, of which I was completely unaware of. This seems like it would indeed be a massive refactoring. Thoughts?

core module heavily rely on awt-classes including classes like BufferedImage, Dimension.
If I remember it right, the WordCloud class is based upon BufferedImage.
In order to use it in Android, we would need to introduce some sort of abstract layer for WordCloud (+ some sort of implementation specific factory) and separate Drawing-Algorithmns (atm on BufferedImage) in WordCloud (and related classes) to an own module.
Based on this abstract layer, one could implement the Drawing-Algorithmn stuff android compatible in an separate module.
Dependency would change in kumo-core + kumo-awt (normal usecase) or kumo-core + kumo-android

Seems in line with what I was thinking. Will definitely not be trivial. I'll investigate next time I jump into Kumo

I have a need for a kumo implementation on Android, too :D There are further problems, because Android also doesn't allow some of Javas default file writing interfaces, but I've ignored that for now. Just to get a better idea of what we're looking at, I've made a list of all java.awt classes used in kumo, and which methods of those were used. Next to them are the Android equivalents, if I found some.

Point
new ...(x, y) => new ...(x, y)
[access x, y] => [access x, y]
-> Point

Dimension
new (width, height)
->None, but a custom implementation would be trivial

Color
new(red, green, blue) => Color.argb(alpha, red, green, blue)
getRed() => Color.red(c)
getGreen() => Color.green(c)
getBlue() => Color.blue(c)
->Color (in Android, colors are usually represented by an int))

Graphics
[gotten from BufferedImage] => new ...(bitmap)
drawImage(bufferedImage, x, y, [null observer]) => drawBitmap(bitmap, x, y, paint)
setColor(color) [backgroundcolor] =>drawColor(c) [fills the entire Canvas with that color]
fillRect(0, 0, dimension.width, dimension.height) => drawRect(x, y, width, height, paint)
getFontMetrics(font)  => X
Graphics2D
translate(x, y) => translate(dx, dy)
rotate(theta, x, y) =>rotate(degrees, xPivot, yPivot)
drawRenderedImage(buff, xForm:null) => X
dispose()   => X
setRenderingHint(TEXT_ANTIALIASING, TEXT_ANTIALIAS_LCD_HRGB)  => paint.setAntiAlias(aa)
setFont(font) => paint.setTypeface(typeface) [for paint see directly below]
drawString(word, x, y) =>drawText(x, y, paint)
-> Canvas

BufferedImage
new(width, height, type) => Bitmap.createBitmap(width, height, config)
getWidth() => getWidth()
getHeight() => getHeight()
createGraphics()/getGraphics() => [See above, Canvas is created from Bitmap]
getRGB(x, y) => getPixel(x, y)
-> BitMap

Font
PLAIN/BOLD/ITALIC => NORMAL/BOLD/ITALIC/BOLD_ITALIC
new(string type, weight, DEFAULT_WEIGHT) => Typeface.create(String familyName, style)
Font.createFont(TRUETYPE, file/inputstream) => Typeface.createFromFile(file/path)
-> Typeface

GraphicsEnvironment
getLocalGraphicsEnvironment() => X
registerFont(font) => X

FontFormatException
getMessage()
-> ...

FontMetrics
getMaxDescent() => fontMetrics.bottom
stringWidth(word) => paint.measureText(text)
getHeight() => fontMetrics.top
getFont() => paint.getTypeface()
-> Paint.FontMetrics/Paint (there's paint.getFontMetrics())

RenderingHints
[constants]

One way or the other, Android compatibility will mean to create a seperate version, or introduce lots of breaking changes.


Android, 4.4.1 using custom scheme prepends hostname twice

Using custom Scheme on android adds hostname 2 times
Given following settings
<preference name="Scheme" value="ionic" />
<preference name="Hostname" value="app" />

My app would start with following URL: ionic://app/app/

I can't reproduce on my 4.4.4 device or on any newer device.
Can you provide sample app? I don't think this is a bug on the plugin.

Closing because I switched to 2.5.1 version as I had separate set of problems on ios when accessing some web services


Create examples showing how to do error handling with StatusOr.

And link these examples from the reference doc landing page.

So that I'm clear, where should these examples live? In client.h?
status_or.h already has example about this. Do you think it's good enough to link to that, or do you think Spanner needs something extra, or maybe specific to spanner?

I was thinking about the "Error Handling" section here:
https://googleapis.dev/cpp/google-cloud-storage/latest/
The equivalent section for the Spanner library is kind of bare:
https://googleapis.github.io/google-cloud-cpp-spanner/latest/


[CODEOWNERS] Fix duplication for Schema Registry

Summary
Removing the duplicate entry and updating the service contact.

/check-enforcer override


GH-36629: [CI][Python] Skip dask tests due to our non-nanosecond changes in arrow->pandas conversion

Rationale for this change
Due to the changes on #33321 a dask test started failing.
What changes are included in this PR?
Skip the test in the meantime
Are these changes tested?
Yes, with crossbow
Are there any user-facing changes?
No

Closes: #36629

@jorisvandenbossche as you suggested I skipped the test, is there an issue we should create to follow it up?

@github-actions crossbow submit dask

The upstream_devel one is now segfaulting while running the tests. But I assume that is a new / separate issue, because I see it's also happening in the nightly ones. Will try to investigate or check when this started.

is there an issue we should create to follow it up?

Let's create a reminder to remove the skip again, yes -> https://github.com/apache/arrow/issues/36666

fyi https://github.com/dask/dask/pull/10412.


Prestart connection pool async work manager when running wait-queue-timeout.json, wait-queue-timeouts.json

I anticipate a push back on the approach taken in the PR, but as far as my imagination goes, it's either this approach or an approach via system properties. The main complication is that the LB test runner creates not just a pool, where we could have passed a special parameter via pool's constructor, but the whole client, and pool settings is the only way to affect a pool in this case.
Note that the new methods added to ConnectionPoolSettings, ConnectionPoolSettings.Builder are not accessible to our users and are, therefore, not part the driver API. The method ConnectionPoolSettings.toString was also left unmodified to prevent any leaks of the internal settings to a user.
JAVA-4318

I am going to try and change the approach: instead of introducing an internal setting in ConnectionPoolSettings, com.mongodb.reactivestreams.client.internal.MongoClientImpl will always create pools that pre-start the async pool worker, and the tests that actually need this will sleep for a predefined amount of time to emulate awaiting for the pre-start to complete (this part has already been implemented).
This approach is fine despite it affects even the async pools in production: instead of starting async workers lazily, async pools will start them eagerly. The approach is deemed fine because situations when a pool is created and never used are considered unusual.


Switch to using Hadolint rather than Dockerfilelint?

Further to #74, Dockerfilelint is super useful, but its documented ways of disabling rules don't appear to work - unless, of course, PEBKAC! It also hasn't had a release since early 2019.
I looked around for alternatives and I found Hadolint. It has good docs, seems to be under active development, has a bunch more stars, and as a bonus: it brew installs!

Pre-requisites:

[ ] For the Linux Actions runners to provide Homebrew. It feels weird running on macOS from the Linuxbrew org. 😀
[ ] Potentially an audit of which Dockerfiles are still in use (can we tell)? Can we remove any outdated OS versions?
[ ] Someone to be interested/bored enough to do the work of switching us over. ✋

The current output that Hadolint gives on the Dockerfiles in this repo:
➜ hadolint **/Dockerfile
alpine/Dockerfile:5 DL3018 Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
bionic/Dockerfile:6 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
centos6/Dockerfile:19 DL4006 Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
centos7/Dockerfile:19 DL4006 Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
centos8/Dockerfile:19 DL4006 Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
debian10/Dockerfile:6 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
debian9/Dockerfile:6 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
fedora/Dockerfile:17 DL4006 Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
opensuse/Dockerfile:16 DL4006 Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
precise/Dockerfile:5 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
scratch-onestage/Dockerfile:7 DL3020 Use COPY instead of ADD for files and folders
scratch-onestage/Dockerfile:8 DL3020 Use COPY instead of ADD for files and folders
scratch-onestage/Dockerfile:9 DL3020 Use COPY instead of ADD for files and folders
scratch-onestage/Dockerfile:10 DL3020 Use COPY instead of ADD for files and folders
scratch-onestage/Dockerfile:11 DL3020 Use COPY instead of ADD for files and folders
scratch-onestage/Dockerfile:12 DL3020 Use COPY instead of ADD for files and folders
scratch-onestage/Dockerfile:13 DL3020 Use COPY instead of ADD for files and folders
scratch-onestage/Dockerfile:27 SC2114 Warning: deletes a system directory.
scratch/Dockerfile:1 DL3007 Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
travis/Dockerfile:1 DL3007 Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
travis/Dockerfile:5 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
travis/Dockerfile:65 SC2039 In POSIX sh, ulimit -n is undefined.
travis/Dockerfile:70 SC2035 Use ./*glob* or -- *glob* so names with dashes won't become options.
trusty/Dockerfile:6 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`

I have no preference. I've also used dockerfile_lint (which is different than dockerfilelint).
See https://github.com/projectatomic/dockerfile_lint
and https://www.npmjs.com/package/dockerfile_lint
To ignore certain rules, you dump out its default configuration file, and then modify that file as you like. See for example https://github.com/bcgsc/orca/blob/master/dockerfile_rules.yaml

dockerfile_lint has 335 ⭐, and hadolint has 3,523 ⭐, so hadolint sounds like a good choice.


Add main.py for easier cli usage

Description
Python modules are not necessarily in path, so we may want to use python3 -m tracarbon run instead of tracarbon run.
This led to an error.
The actual way of running tracarbon with Python where installed modules are not on path is python3 -m tracarbon.cli.__init__.
The correct way of running a Python package is python3 -m [module_name] (see here an example on "why it's better" with pip).
If we create a __main__.py file at the root of the package, then Python will call it by default using only the name of the package.
Here's a small example:
$ mkdir a && nano a/__main__.py
$ cat a/__main__.py
if __name__ == "__main__":
    print("Main!")
$ python3 a
Main!

Hello @corentinbettiol 👋,
Thank you for submitting this enhancement 👍
I created a PR to improve the CLI usage based on your comment!

Thanks!


Location information on AST nodes

As mentioned in the issue on syn, for my usecase I need location information (ideally spans as offset + line + column) on each node to map it back to the source code.

Huh was looking into syn-serde and noticed it lacks location information, so thought I'd raise an issue... but apparently I've been down this road 4 years ago? I have no memory of this 😂


Update landscape.yml

Change the url of project
Change project name, add Apache prefix
Add twitter url.

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source?
[x] If it is open source, does your project have at least 250 GitHub stars?
[x] Does it follow the other guidelines from the new entries section?

[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[x] 2 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit 3671bee536ef9735ceb8dd68e10d72f7eccb3835
https://deploy-preview-388--landscape.netlify.com

LGTM

Thanks for the very good PR. We're following the policy:
https://github.com/cncf/landscape#logos

Match the item name to the English words in the logos. So an Acme Rocket logo that shows "Rocket" should have product name "Rocket", while if the logo shows "Acme Rocket", the product name should be "Acme Rocket". Otherwise, logos looks out of place when you sort alphabetically.

You can see that we're consistent in that here: https://landscape.cncf.io/grouping=organization&organization=apache-software-foundation
Do you have a new Skywalking logo that includes Apache in it? Or would you like us to make one for you?
Twitter and homepage changes are fine, of course.

Thanks for sharing your policy. Make sense. I will revert the name change, because we used this logo in our product UI, and Apache hold the trademark, it can't be simply changed by me or others without Apache Foundation permission. :)

LGTM. Just a note that you will improve your Google results if you can set skywalking.org to hard redirect (301) to skywalking.io.

@dankohn For this month, we are holding skywalking.org and skywalking.io at the same time. But still thanks for reminding me.


A helper to add/remove/edit data in a Slice Zone's Slices (mapSliceZone())

Is your feature request related to a problem? Please describe.
By default, Slice Zones only contain data provided directly from the Prismic API. This is sufficient in most cases, but extra data, or less data in some cases, is needed.
Developers can modify their Slice Zone data manually today using Array.prototype.map() and custom logic, but the solution is not straightforward. Anyone needing this functionality will need to implement it ad-hoc.
Describe the solution you'd like
We could provide a mapSliceZone() function that accepts a Slice Zone array and an object of functions that map a particular type of Slice to some other obhject. The function could add, edit, or remove data from a Slice.
The following example reshapes Code Block Slices (id: code_block) by replacing it with an object containing a single codeHTML property. The property contains HTML produced from a highlight() function, which could be a function that calls a syntax highlighting library, like Shiki.
import { mapSliceZone } from "@prismicio/client";

import { highlight } from "@/lib/highlight";

const mappedSliceZone = await mapSliceZone(page.data.slices, {
  code_block: async ({ slice }) => ({
    codeHTML: await highlight(slice.primary.code, slice.primary.language),
  }),
});

Any occurance of a Code Block Slice will be replaced with the mapped version. Note how the function provided to the code_block property receives the slice object. Other data is included, such as slices, and index.
A third parameter (context) can be provided to unstable_mapSliceZone(), whose contents will be passed to the function in the context property. The context object is most helpful when mapping functions are defined outside the unstable_mapSliceZone() calling scope, such as in a different module.
const mappedSliceZone = await mapSliceZone(
  page.data.slices,
  {
    code_block: async ({ slice, context }) => ({
      codeHTML: await highlight(slice.primary.code, slice.primary.language),
    }),
  },
  context
);

Describe alternatives you've considered
Developers can use Array.prototype.map() directly and implement custom logic. This helper would do exactly that, but with a framework around how to define that custom logic, along with thorough TypeScript types.
Additional context
This feature request has been prototyped internally.

An initial implementation is being developed in #302. It is being exposed as unstable_mapSliceZone(), notably with the unstable_ prefix as the implementation and name could change.
The following serves as documentation for unstable_mapSliceZone(). The guide is specific to Next.js, but could be generalized to any JavaScript project that can run async functions.

Things to know

It is not designed to work with Slice Simulator at this time. Slice Simulator needs to be modified to work with server-side data fetching before Slice mappers can be used.
The names “mapper” and “mapSliceToProps” are temporary.
Sync or async functions are supported.
Mapper functions can add data to a Slice, but also reduce data sent across the network. When trying this new functionality, try to trim down the data returned by getStaticProps(); do as much pre-processing on the server as possible.

How to use
1. Create a mapper

In a Slice’s directory (e.g. src/slices/CallToAction), create a new file named mapper.ts.

Copy the following contents into the file (a CallToAction Slice is used as an example):
// src/slices/CallToAction/mapper.ts

import { Content } from "@prismicio/client";

import { Mapper } from "@/components/SliceZone";

import { CallToActionProps } from ".";

const mapSliceToProps: Mapper<
  Content.CallToActionSlice,
  CallToActionProps
> = async () => {
  return {
    // Add your modified Slice props here.
  };
};

export default mapSliceToProps;

Note that the mapSliceToProps() function is typed using Mapper. The Mapper type accepts two type parameters: the mapper’s Slice type and the Slice’s component props type.

Add your custom props to mapSliceToProps()'s return value. This object will become your Slice’s props, replacing the default { slice, slices, index, context } props.

2. Create a mapper record

In the Slice Library’s root directory, create a new file named mappers.ts adjacent to the Slice Machine-generated index.js file.

Copy the following contents into the file (a CallToAction Slice is used as an example):
import { Mappers } from "@prismicio/client";

export const mappers = {
  call_to_action: () => import("./CallToAction/mapper"),
} satisfies Mappers;

Anytime a new mapper is created, add it to this record using the Slice API ID as a key and the lazy-loaded mapper function as a value. It will automatically be picked up by the mapSliceZone() function in getStaticProps().

3. Map Slices in getStaticProps()

In your page’s getStaticProps() function, query your document.

In a separate variable, use the mapSliceZone() function to trigger your mapper functions.
import { GetStaticPropsContext } from "next";

import { mapSliceZone } from "@/components/SliceZone";

export async function getStaticProps({ previewData }: GetStaticPropsContext) {
  const client = createClient({ previewData });

  const page = await client.getByUID("page", "home");
  const slices = await mapSliceZone(page.data.slices, mappers);

  return {
    props: {
      slices,
    },
  };
}

In your page’s component, pass slices to <SliceZone>. The final page should look like this:
import { GetStaticPropsContext, InferGetStaticPropsType } from "next";

import { createClient } from "../../prismicio";
import { components } from "@/slices";
import { mappers } from "@/slices/mappers";

import { mapSliceZone, SliceZone } from "@/components/SliceZone";

type PageProps = InferGetStaticPropsType<typeof getStaticProps>;

export default function Page({ slices }: PageProps) {
  return <SliceZone slices={slices} components={components} />;
}

export async function getStaticProps({ previewData }: GetStaticPropsContext) {
  const client = createClient({ previewData });

  const page = await client.getByUID("page", "home");
  const slices = await mapSliceZone(page.data.slices, mappers);

  return {
    props: {
      slices,
    },
  };
}

Feedback
Please leave any feedback on the API, naming, or anything else in this issue. Thanks!

unstable_mapSliceZone() is available as of v7.1.0.


[updating_install.sh] Adding instructions to install.sh disable dnsmasq

This PR includes:

install.sh now disables dnsmasq;
improving install.sh log messages;
updating docs (replacing init.dscripts with a service command to disable dnsmasq);

:+1:

ok to test

ok to test

LGTM. :+1:

LGTM


Support for ecm600

Hi I have to show gratitude for your work in getting salus to ha
I have a ecm600 that measures the power usage via clamps on ingoing line.
Hoping you can include this into your portfolio.
Kindly bse4792

i run you script and filtered out what i think you need, if more is needed please ask
{"DeviceType":100,"DeviceSubType":9,"getModelIdentifierFlag_i":1,"UnquieID":"001e5e09021293d4","AttributeList":"00010010000300110033003400370005000700080006001b001600170018000b","ModelIdentifier_i":"ECM600","ClusterIDList_i":"000000010003001507020b05fc01fc02fc03000a0019#","DeviceEndpointNum_i":4},"sZDO":{"FirmwareVersion":"09160525","MACAddress":"001e5e09021293d4","ShortID_d":18824,"ProtocalType_i":2,"DeviceName":"{"deviceName":"Strømmåler","ShortID_d":18824}","LeaveNetwork":0,"LeaveRequest_d":0,"JoinConfigVersion_i":"220119"},"sGenSche":{"UpdateGenScheStatus":0},"sBasicS":{"ManufactureName":"Computime Inc","ApplicationVersion_d":22,"ModelIdentifier":"ECM600","PowerSource":3,"HardwareVersion":"191"},"sEndpt":{"DeviceType":9,"Endpoint_i":1},"sZDOInfo":{"OnlineStatus_i":1,"GatewayNodeDSN_i":"VR00ZN000089491","ConfigureReportResponse":"0702010000000000000004","JoinConfigEnd":1,"AppData_c":"{"ClampsUsed":[{"clamp":1,"name":"3 faset strøm ind","phase":3},{"clamp":2,"name":"clamp2","phase":3},{"clamp":3,"name":"clamp3","phase":3},{"clamp":4,"name":"clamp4","phase":0}]}"},"sPowerS":{"BatteryVoltage_x10":51,"BatteryVolThreshold_x10_d":40,"BatteryVolThreshold3_x10_d":52,"BatteryVolThreshold2_x10_d":46,"ErrorPowerSLowBattery":0,"ErrorBatteryAlarmState_d":0,"BatteryAlarmMask_d":0,"BatteryVolThreshold1_x10_d":42,"BatteryRemaining":200,"MainsVoltage_x10":2200},"sMeterS":{"Multiplier":1,"Divisor":10000}},{"data":{"DeviceType":100,"Endpoint":9,"UniID":"001e5e090219b57d"},"sOTA":{"OTAStatus_d":0},"DeviceL":


log4j 2 status for TLS-Attacker

Checking on log4j 2 status for this project.

Its fixed in the current master branch. Older versions were vulnerable but the risk is pretty low, given that you usually scan your own systems and its usually not a service running somewhere on the internet. I couldn't deploy it to maven central yet since the servers are overloaded, probably next week.

Best I could ask for - thanks very much!


Add validation as a new pattern

Based on the code used in the SSP.

Think this needs linking to from the index page.

Link from forms/index added in e5ead43.

One thing I forgot to mention: can we wrap it in a form so it's clear the markup that should be used?

@tombye  d447cb2, good idea


[WIP] Add tool for starting an ODFE node on a desktop

This tool is intended to make it easier for developers to set up a complete ODFE release candidate on a desktop so that test failures can be debugged. Right now it only supports a tarball install, but eventually it will support installing from deb and rpm (using Docker) as well.
Test Results:
Just some manual testing. It seems to work.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Close this as we already have a new deployment script in opensearch-project/opensearch-build/pull/64. there.


Don't exclude operations that are not for the current branch from the…

… mempool pending operations result

Is there an easy way to produce encoded operation strings? I would like to add at least one test for this case.

Is there an easy way to produce encoded operation strings? I would like to add at least one test for this case.

There are multiple examples of JSON operations in Octez repo. You can take some and do
tezos-codec encode encode 011-PtHangz2.operation from operation.json


Configure Travis task to execute tests for all examples

This will ensure that none of our example code fails to pass tests

So, I wrote a simple script that we could potentially use for this.  Right now it is written with the assumption that all exercises will have only example.c and example.h under the src directory.  It figures out what these files should be named based on the test_*.c file, then it renames them accordingly and executes make.  However, this won't work if we are going to be providing a partial solution (like #43 suggests).

Actually, I'm wrong.  It can work.  It just needs to check to see if the example c/h file exists.  If not, assume that the exercise-named file is present.

The one thing I would be careful of (speaking from painful experience), is that if we rename files, we risk accidentally checking in the renamed ones. The solution we've had to this previously is to copy the entire source directory to a temporary directory somewhere, and then rename them in the tmpdir rather than in the original location, and run the tests there.

Hey @kytrinyx, I think this is intended to be run by Travis. However, I think we can make it safe for other situations by first copying all files into a folder which is listed in .gitignore to ensure that none of the created files are visible to git.

That sounds like a good plan, @ryanplusplus


Support Oracle SQL DBs (via odbc or ROracle)

Prework

[x] Read and abide by pointblank's code of conduct and contributing guidelines.
[x] Search for duplicates among the existing issues (both open and closed).

Proposal
For those that are interested in using pointblank for remote oracle databases.
When trying to create an agent with a table of the class tbl_OraConnection, tbl_dbi, tbl_sql,tbl_lazy, tbl
I get the following error:
  ORA-00933: SQL command not properly ended

hi @NZambranoc
I am not the main author, but can you please post redacted information of an Oracle connection?

@pachadotdev, as in the connection string?

@pachadotdev, as in a connection string?
if so:
 (description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=XXXX)(host=XXX.XXX.XXX.XXX))(connect_data=(service_name=XXXXX_sandbox_high.adb.oraclecloud.com))(security=(ssl_server_cert_dn="CN=XXXXX.oraclecloud.com, OU=Oracle BMCS US, O=Oracle Corporation, L=Redwood City, ST=California, C=US")))?TNS_ADMIN=**<wallet_dir>**

I see we can treat it similar to SQL Server via ODBC

@NZambranoc I think I got it
can you please send me  this but with your connection, OracleDB is a paid product so I am working with my imagination
library(dplyr)
library(RPostgres)

# replace this with your connection to Oracle
con <- dbConnect(
  Postgres(),
  user = Sys.getenv("dbedu_usr"),
  password = Sys.getenv("dbedu_pwd"),
  dbname = "tradestatistics",
  host = "databases.pacha.dev"
)

dbListTables(con)

class(con)

d <- tbl(con, "sections") # replace with your own table

tbl_src_info <- utils::capture.output(d %>% unclass() %>% .$src)

# send me the output of this line
# PLEASE redact any IP or URL
tbl_src_info[grepl("^src:", tbl_src_info)] %>% gsub("src:\\s*", "", .)

dbDisconnect(con)

@pachadotdev Here's the output:
"Oracle XX.XX.0000[@(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=)(host=<HOST_IP>))(connect_data=(service_name=XXXX_sandbox_high.adb.oraclecloud.com))(security=(ssl_server_cert_dn="CN=XXXXX.oraclecloud.com, OU=Oracle BMCS US, O=Oracle Corporation, L=Redwood City, ST=California, C=US")))/]"

@NZambranoc do you know of any public access oracle database?
I reached a point where I need to test against a db

@pachadotdev This, perhaps?
https://www.oracle.com/cloud/free/

@rich-iannone I have some spare time. Any advice about this? The in-browser DB won't make it. Perhaps we should promote PostgreSQL

https://www.oracle.com/autonomous-database/free-trial/#free-container-image might provide an environment to test ?


Strange non-crashing exception when chaning project after a launch of the plugin

It was related to diff panel "observing" on a request object. Setting it to null when closing the Smell dialog resolved.


dotnet update fails on linux

I get this output from an unattended job intended to self-update
dotnet update package SimpleInjector in path /tmp/NuKeeper/15c39f8d83d149e8bc52eddfe3870764/NuKeeper NuKeeper/NuKeeper.csproj
Update failed Exception : Exit code: 1

MSBUILD : error MSB1009: Project file does not exist.
Switch: NuKeeper/NuKeeper.csproj

so it looks like

it' using the temp folder /tmp/NuKeeper/15c39f8d83d149e8bc52eddfe3870764/
it's trying to update ./NuKeeper/NuKeeper.csproj but
there's an extra NuKeeper in the middle when these paths are joined? or maybe a missing ./

Is this still valid, with #265 created?

Fixed in https://github.com/NuKeeperDotNet/NuKeeper/pull/258
Is working now


Adding PyPi link to DEA Tools introduction and rewording intro

Proposed changes
This was requested by @robbibt  in an earlier PR.
I've spell-checked my work.

Tagging @geoscience-aman as this was his idea I think!


JsonPath.Net needs rewrite

This rewrite will accomplish two goals:

Realign the implementation with the spec.  The spec is nearing completion, and I've wanted this implementation to act as something of a reference for it (at least for now).  There are a few things that need to be removed.

.length was not included in the spec due to its conflict with the dot-member syntax.  The team feel we need a proper extension mechanism to support this functionality, but we will not be defining that in the first iteration.
Math operations will not be included in filter expressions due to their complexity.  For now, only equality/comparison operators are supported.

Support JsonNode.  The other libraries have all been updated.  While that effort was mostly a straightforward substitution with some edits for API differences, it quickly became apparent that this library needed more work, so it was postponed.

Hi @gregsdennis,
I saw you created the branch path/rewrite-for-nodes to use JsonNode instead of JsonElement, but it hasn't been worked on since 27th of June (which I think is due to your interim announcement and your current focus on JsonSchema).
I would be interested in the state of this branch, if there were any road-blocks, and what needs to be done to complete the JsonNode conversion. Maybe I could help finishing this part of this issue. 🙂

I'm actually working on it now! 😆

A large part of this update is also re-aligning it with the spec, which makes some changes from traditional JSON Path.

The new branch is path/update.

Hi there, I'm considering moving to System.Text.Json to reduce my allocation load during lots of JSON parsing. This library seems very useful given the lack of support for JsonPath in the official library. But I would like to target the readonly API using JsonElement. Do you still plan to bring the old functionality back to support JsonElement?
I see there are some conversions from JsonElement to JsonObject and friends that I can use as a workaround but I do worry that will just add some of the allocations back in that I am trying to avoid.

Everything is based on the nodes API now.  I have no plans to move back to elements.

Got it, would you welcome a PR if I got the gumption?

If both can be supported, I might be up for it, but there's a lot of internal workings that rely on nodes.  I'm not interested in having a lot of duplicated code.


thank you

These are so beautiful. I am really grateful you did those themes. Keep up the good work!
(feel free to close or delete this "issue" obviously).

Thank you, and you're very welcome! I wish I could hog all the credit, but a great deal of it is owed to the awesome folks that have contributed themes, bug reports and PRs to keep this ol' ship afloat; folks like @fuxialexander, @teesloane, @ztlevi and @emacswatcher.
Thank you, thank them, and thank our holy father, RMS!


Getting wrong prediction results on pretrained librispeech model

Here is what the log file says after running test
Average WER = 10.65 | CER = 3.19
But when I tested on real data ( .wav file 16 bit 16Khz mono not too long in length ) even on simple recordings which say "Hello World" and "red color" etc I am getting non sensical results , I am getting either blanks or no where related  to original speech , Also I observed that its biased towards numbers , I confirmed this by recording a .wav file in which I said "five three two" and it predicted it right , but other than number , the results are terrible , any idea what might be happening here ?

I'm not sure if the librispeech model has been trained on enough hours to get sensical responses on real test data. To put in comparison Baidu required 11K hours to train a model that was sufficient for their use cases.
Internally we've ran around 4k hours of audio mixing internal as well as openly available sources and have gotten acceptable results. I'd suggest merging multiple available sources online and training the model for more epochs on more data!

Alright , will add more data and try again , Thanks

@saurabhvyas which command did you write to test on pretrained model? "th Test.lua -loadPath libri_deepspeech.t7 -trainingSetLMDBPath prepare_datasets/libri_lmdb/train -validationSetLMDBPath prepare_datasets/libri_lmdb/test" something like this?

I tried this months ago, and havn't used it again, so I am not sure


Fails on my minimal page

Not sure why the extension fails on this page https://ebraminio.github.io/extra/WebGL1.html can you have a look? Maybe because use of global variable or early running the code? Thanks

I display on my phone a violet rotating triangle on a gray background.
Works for me...
Il 10 dic 2017 18:06, "ebraminio"<EMAIL_ADDRESS>ha scritto:

Not sure why the extension fails on this page https://ebraminio.github.io/
extra/WebGL1.html can you have a look? Maybe because use of global
variable or early running the code? Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/spite/ShaderEditorExtension/issues/22, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AJqK34pg8wmKYWJq3r_RrFDymGe7t0DXks5s_A-KgaJpZM4Q8kLS
.

The extension doesn't work with it for some reason it seems.


Add Readme to each chapter's directory

add readme and mention to

checkout chapter 1 for setup instructions
use the requirements.txt file if unsure about software versions
recommend the jupyter notebook version over the autogenerated script files

plus, add the table of contents.

fixed


Client stuck on "checking for updates - 83%". Will not load.

Type
Crash or hang
Operating System
Windows
OS Version
Windows 11
Bug description
Started happening this week/last week, Open runelite on my pc and it just gets hung up at 83% checking for updates. I've messed with firewall settings, I've reinstalled, I've checked all my pc updates. On the same network runelite works just fine on my laptop. Please help!
Screenshots or videos
No response
RuneLite version
1.10.14
2.6.8
Logs
client.log
launcher.log

The issue tracker is not a support forum. Please join the Discord for questions or support.

Not receiving any help in discord.
On Thu, Oct 5, 2023 at 11:33 AM Jordan @.***> wrote:

The issue tracker is not a support forum. Please join the Discord
https://runelite.net/discord for questions or support.
—
Reply to this email directly, view it on GitHub
https://github.com/runelite/runelite/issues/17090#issuecomment-1749275651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDCFVS3RXAG4J4HKSESOBKLX53OPBAVCNFSM6AAAAAA5URFTGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGI3TKNRVGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Not receiving any help in discord.
…
On Thu, Oct 5, 2023 at 11:33 AM Jordan @.> wrote: The issue tracker is not a support forum. Please join the Discord https://runelite.net/discord for questions or support. — Reply to this email directly, view it on GitHub <#17090 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDCFVS3RXAG4J4HKSESOBKLX53OPBAVCNFSM6AAAAAA5URFTGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGI3TKNRVGE . You are receiving this because you authored the thread.Message ID: @.>

Patience is a virtue


[oneDNN] Fix Windows MSVC compiler errors

This PR fixes a Windows build break. See the CI logs here: https://tensorflow-ci.intel.com/job/tf-test-win2/49/artifact/test_run.log/view/

Tagging @learning-to-play and @mihaimaruseac for this PR.

closing due to the reverting of the contributing commit

Oh, apologies, I didn't notice this in time


Understanding about GEKPLS model with extra_points= 0.

Hello,
In SMT library, the model for GEKPLS  is given by:
t = GEKPLS(n_comp=1, theta0=[1e-2], xlimits=fun.xlimits, delta_x=1e-2, extra_points= 1, print_prediction = False)
If i set extra_points= 0 in the above model, does GEKPLS reduces to kriging?
Thank you for reading my question!
Best regards,
Jay.

Hi,
Yes, it is basically a a standard kriging with a specific computation of the hyper-parameters coefficients

Perfect. thanks for the confirmation!