Support for Spark Web UI

@mccheah In my tests,i have not found spark.ui.port(404x) in driver.
Does the spark on k8s support Spark Web UI as the native spark does? And how to do if it does?

It is possible to get to the driver UI after running kubectl proxy using:
http://localhost:8080/api/v1/namespaces/default/pods/<driver_pod_name>:4040/proxy
by replacing <driver_pod_name> with the name of the driver pod.
There is an existing bug here, https://github.com/apache-spark-on-k8s/spark/issues/304 and deploying a fix similar to https://github.com/apache-spark-on-k8s/spark/issues/87 should get it working again.

It is future work to use CRDs (formerly TPRs), and have a better and more convenient way of surfacing the URL to the user.

@foxish From my tests,we can only get driver UI of running tasks.Is there any way to get driver UI of finished tasks?

@duyanghao Spark itself doesn't support this, the only way to see finished task's history is from Spark History server.

The configuration should more or less be identical - as long as the history server is reading from the same event log directory as the Spark applications are writing to. You'll need some shared distribution storage layer like HDFS or S3, but this situation is no different to the standard usage of the Spark History Server right now.

However if your HDFS is only accessible in your Kubernetes cluster then you'll need to deploy the Spark History Server with Kubernetes as well. You'll need to build a Docker image that runs the history server and create a Kubernetes resource spec that you send to your API server.

@mccheah thanks, there are still many problems for loading large eventlog file when spark history server runs,but this is nothing to do with this project,i will close the issue.


Disappeared top buttons in Sunstone 6.6

Description
Disappeared top buttons in Sunstone 6.6. For example, unable to "Enable" or "Disable" marketplace
Expected behavior
A clear and concise description of what you expected to happen.
Details

Affected Component: Sunstone
Version: 6.6 stable

Progress Status

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

Hi, Apologies for the inconvenience.
This issue is happening as there are missing the following lines in the YAML configuration files.
MarketPlace.enable: true
MarketPlace.disable: true

Please add them to the views that you want to enable this functionality.
For example, you can add it to: /etc/one/sunstone-views/mixed/admin.yaml under the marketplaces-tab -> actions
marketplaces-tab:
    panel_tabs:
      marketplace_info_tab: true
      marketplace_apps_tab: true
    table_columns:
      - 0 # Checkbox
      - 1 # ID
      - 2 # Name
      - 3 # Owner
      - 4 # Group
      - 5 # Capacity
      - 6 # Apps
      - 7 # Driver
      - 8 # Zone
      #- 9        # Labels
      #- 10       # Search data
    actions:
      MarketPlace.refresh: true
      MarketPlace.create_dialog: true
      MarketPlace.update_dialog: true
      MarketPlace.rename: true
      MarketPlace.chown: true
      MarketPlace.chgrp: true
      MarketPlace.chmod: true
      MarketPlace.delete: true
      MarketPlace.lockU: true
      MarketPlace.unlock: true
      MarketPlace.edit_labels: true
      MarketPlace.menu_labels: true
      MarketPlace.enable: true
      MarketPlace.disable: true

We will close this issue after this comment but feel free to comment again on it if the provided solution doesn't work.

Thank you for reply.
Unfortunately, i was rolled back to 6.4.0 version, so i can't check this now.


Error on Saving Shipping Address for 'Shipping' Delivery Method

Note

This is an introduced issue.
Error Message - "rollback called in Entity Engine SQLProcessorjava.lang.Exception: Current Location Stack (Current Location Stack)"

Steps to Reproduce

Login the BOPIS App and select a facility for store pickup orders are available.
Ensure that all order edit permissions are enabled on that facility for reroute fulfillment.
Open the order and reject it.
Open the reroute mail link.
Change delivery method to 'Shipping'.
Add address and save it.
Finally save the changes to observe the issue.

Current Behavior
An error message "Failed to update the shipping address" is displayed, and the address is not saved.
Expected Behavior
The shipping address should be successfully saved without any errors.
Additional Information
https://jam.dev/c/0deaa4fd-b3dd-4f55-9469-f390782873cc

Shipping address updation flow is removed in the v2 app: https://github.com/hotwax/reroute-fulfilment/pull/100


[Request] Ability to add custom buttons in header

It would be great to be able to add custom buttons (or any elements or components) in the top right section of the header, alongside the theme button. For example, a locale select, or preferred programming language select.

You can copy AppHeader.vue from the docus project and create a component with the same name in your project.
The later will overwrite the former. You will then be able to customize the header to your need.
As an example you can add your custom my-custom-comp component on the right side:

        <AppSearch v-if="hasDocSearch" />
        <ThemeSelect />

          <AppSocialIcons />

        <my-custom-comp />

@PhE Thanks a lot, that's a good workaround, so I'm gonna do that for now.
Still, I think it would be good to have an actually implemented solution without working around the template.


Add support for Django 2.2

For reasons that I am unable to explain, the python3 tests on travis do not seem to be creating the test DB. Not really sure what to do about that.

try to make Travis green

try to make Travis green

I would love to make travis green. However, there seems to be something wonky going on with travis + python3 for this repo. I don't know why, I spent about an hour trying to sort it out. If anyone wants to lend a pair of eyes on it, that would be super. I'm happy to make updates, but I am quickly running out of ideas.

Tests will fail on SQLite if apps without migrations have relations to apps with migrations. This has been a documented restriction since migrations were added in Django 1.7, but it fails more reliably now. You’ll see tests failing with errors like no such table: <app_label>_<model>. This was observed with several third-party apps that had models in tests without migrations. You must add migrations for such models.

This sure looks like what is going on in the python3.7 and django 2.2 tests.


[Android] Could not invoke StripeTerminalReactNative.initialize null

Could not invoke StripeTerminalReactNative.initialize null
you must request location permissions before initializing the Terminal
Also there is no exact configuration for android set up in react native terminal docs... because when I click the Android Tab, it is redirecting me to the stripe-terminal-android config setup which doesn't make sense to me...
Environment
Android
<EMAIL_ADDRESS><EMAIL_ADDRESS>

It is now working on Emulator by adding this "requestNeededAndroidPermissions"
however when installing the app by APK and opening it. it still is crashing!!
my sentry catch the error:

hey @mytabworks can you resubmit this following the issue template:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Stripe Terminal React Native SDK version

(e.g., ^0.0.1-beta.11)

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

This error is received when location services are disabled on a device level. This must be fixed on a device level by going to Settings > Location on the device and enabling Location in addition to granting the application the location permissions.

@rv-stripe Thank you for your reply, the thing is the location services is already enabled and I also grant the Application the location permissions, any thought? btw. I am using Redmi Note 9 Pro


Add vega chart editor and renderer

Add Vega lite chart rendered and editor

I realize this PR is a quick first-pass, but leaving some UX findings:

At the base of the YAML editor, it'd be good to see a warning when the code isn't valid, like what we have in the Metrics Editor
I’m sometimes but not always getting keystroke-by-keystroke feedback
You can remove the placeholder we use in the Metrics Editor

This inspector toggle can be hidden with showInspectorToggle: false on the WorkspaceHeader component

Initially I imported the whole svelte-vega package (https://github.com/vega/svelte-vega/tree/main/packages/svelte-vega)  in our code base so that its easier to modify and make changes but seems like we don't need it at this point. Have replaced the internal files with VegaLite component which is an exported member of svelte-vega


Use different query to count filtered record

Summary of problem or feature request
On very complex query where i need to join many table to get some aggregation value and complex calculation for column:

Total Order,
Total Sent,
Total Procesed,
warehouse stock,
material stock,
etc.

I'm not need to filter all column above because it's just a numeric value  so i set the searchable flag to false. The duration to complete this query is about 500 ms, so the total duration to complete datatable request is 1500 ms consist of 500 ms to count total record, 500 ms to cound filtered record and 500 ms to get the first 25 record for paging. I have ommit the 500 ms to count total record by set the total record manually using Order::count(). now i want to ommit the count of filtered record but i don't now how to apply the filter value from datatable to the model. is there any suggestion ?
System details

Operating System: Manjaro Linux
8
Laravel Version 9
Laravel-Datatables 10.1

facing the same issue, trying skip paging, crash the whole table

Hello I need help.
On Sun, Jan 14, 2024, 7:16 AM github-actions[bot] @.***>
wrote:

This issue is stale because it has been open for 30 days with no activity.
Remove stale label or comment or this will be closed in 7 days.
—
Reply to this email directly, view it on GitHub
https://github.com/yajra/laravel-datatables/issues/3103#issuecomment-1890803196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYQQ5U6X5JPZRV5V6GRGQDYOMPVHAVCNFSM6AAAAABAKLRKOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQHAYDGMJZGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

what I did in my project WORKS ONLY ON POSTGRES, for MYSQL, MARIADB YOU HAVE TO CHANGE THE ESTIMATED METHOD
is at the end of the datatable method in the controller
        $estimatedEntries = $this->estimateEntries($query);

        return $dt->setTotalRecords($estimatedEntries)->setFilteredRecords($estimatedEntries)->toJson();

and my estimatedEntries method looks like this
    protected function estimateEntries(Builder $query): int
    {
        $explainResult     = $query->explain();
        $estimatedRowCount = 0;

        foreach ($explainResult as $row) {
            // Check if the row contains the estimated row count information
            if (preg_match('/\brows=([0-9]+)\b/', json_encode($row), $matches)) {
                $estimatedRowCount = (int) $matches[1];
                break;
            }
        }

        return $estimatedRowCount;
    }

Basically just calls the same query with EXPLAIN, which uses the DB statistics to estimate the count of rows
depending on how often you write/delete to the table(s) the number is more or less accurate enough for my use case.


Migration of Self Sign up Config

[x] Changing the data fetching way from registry to DBMS(or Advanced Configuration JSON file).
[x] Removal of using the existing sign-up-config.xml files
[x] Code refactoring
[x] Facilitating self-sign-up when the JSON schema is not provided in the Advanced Configuration.

Sub-tasks Breakdown

Changing the data fetching way from registry to DBMS(or Advanced Configuration JSON file).

Removal of using the existing sign-up-config.xml files

Code refactoring

Facilitating self-sign-up when the JSON schema is not provided in the Advanced Configuration.

Link to the Documentation


Error: The type 'DiagnosticableMixin' can't be mixed in. class DateTimePickerTheme with DiagnosticableMixin

Flutter 1.22.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8874f21e79 (9 days ago) • 2020-10-29 14:14:35 -0700
Engine • revision a1440ca392
Tools • Dart 2.10.3
The following problems occur after import:
../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_cupertino_date_picker-1.0.26+2/lib/src/date_picker_theme.dart:23:32: Error: Type 'DiagnosticableMixin' not found.
class DateTimePickerTheme with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_cupertino_date_picker-1.0.26+2/lib/src/date_picker_theme.dart:23:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class DateTimePickerTheme with DiagnosticableMixin {
The solution is:
Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable' and it work well for me.

same problem

same problem

The solution is:
Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable' and it work well for me.

The solution is:
Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable' and it work well for me.

remove it from where?

Why is this closed

Why is this closed


PVE002: Missing Blacklist Checks in validateUseAsCollateral

This is a bug leading to users being able to by-pass the blacklist on a particular reserve A against B, by first borrowing B and then deposit and enable collateral A. The validateUseAsCollateral function is now updated to check all borrowing of the users against the to-be-enabled reserve in https://github.com/Kinza-Finance/KZA-lending/pull/55


Documentation for custom routes outdated?

Hi, I was trying to use the custom routes for my project but then when I was trying the examples it doesn't work (or at least doesn't seem to).
In the example (taken from https://github.com/typicode/json-server#add-custom-routes) there is:
{
  "/api/*": "/$1",
  "/:resource/:id/show": "/:resource/:id",
  "/posts/:category": "/posts?category=:category",
  "/articles\\?id=:id": "/posts/:id"
}

which matches
/api/posts # → /posts
/api/posts/1  # → /posts/1
/posts/1/show # → /posts/1
/posts/javascript # → /posts?category=javascript
/articles?id=1 # → /posts/1

but when I try this it doesn't return the correct values. For example, if I go to /api/posts/1 it returns every post (not just the one with id = 1). Actually, basically everything I put after "posts" just gives me the entire array of objects.
I am using the same db.json and routes.json as specified in the doc.

add "/api/*/:id" : "/$1/:id"
it's not a redirect... it's just a mapping from request url and internal datas.


can't create new window

< prefix > + c don't work
the tmux -V returns : tmux 3.0a

i had just to wait before cliking the c after the


react compiled with warnings: Expected a default case default-case

immer is a very good library, but when combined with the create-react-app, it warning: Expected a default case default-case, is there a good solution? Of course, if you add a blank default-case can solve this problem.
function reducer(state = {}, action) {
  return produce(state, draft => {
    switch (action.type) {
      case ACTION_A:
        break
      case ACTION_B:
        break
//    default:
    }
  })
}

Nope, (I think it is a stupid rule in the first place :). Static type
checkers can perfectly assert whether a default cause can happen or not.)
Op ma 5 feb. 2018 om 13:04 schreef fuhaiwei<EMAIL_ADDRESS>
immer is a very good library, but when combined with the create-react-app,
it warning: Expected a default case default-case, is there a good
solution? Of course, if you add a blank default-case can solve this problem.
function reducer(state = {}, action) {
return produce(state, draft => {
switch (action.type) {
case ACTION_A:
break
case ACTION_B:
break//    default:
}
})
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mweststrate/immer/issues/91, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhF9M1vn8ATnfNQAK0XV43E9dArISks5tRu46gaJpZM4R5Vqm
.

For this craco (https://github.com/sharegate/craco) may be a "easy" solution. I just updated my package.json like this:
    "scripts": {
-       "start": "react-scripts start",
+       "start": "craco start",
-       "build": "react-scripts build",
+       "build": "craco build",
-       "test": "react-scripts test",
+       "test": "craco test",
-       "eject": "react-scripts eject",
+       "eject": "craco eject",

And used this craco.config.js:
module.exports = {
    eslint: {
        enable:    true,
        mode:      'extends',
        configure: {
            rules: {
                'default-case': 0
            }
        },
    },
};

This seems to work pretty well with create-react-app (https://github.com/facebook/create-react-app).


Cannot connect to specific database instance

Bug Report
For a traditional JDBC connection to a SQL Server instance instance the connection string (at least on Windows) would resemble:
jdbc:sqlserver://host\instanceName
with r2dbc if I include the instance as part of the database host, the host it isn't found.  If I try to include it as part of the database name I get the error:
Connection refused: no further information: localhost/<IP_ADDRESS>:1433
I've tried about a dozen different ways to format it, all but give the same error.  If I change the credentials I get the expected authentication error so they seem to be getting passed properly.  From what I can tell this either not implemented or a bug?
Versions
io.r2dbc: 0.8.0.RELEASE
spring-data-r2dbc: 1.0.0.RELEASE
spring-framework-cloud: 2.2.0

Database:
MSSQL Server 2017

Java:
Kotlin on JVM 1.8

OS:
Windows 10 Enterprise 10.0.17134

Current Behavior
Connection refused

Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/<IP_ADDRESS>:1433
Caused by: java.net.ConnectException: Connection refused: no further information
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_191]
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_191]
        at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330) ~[netty-transport-4.1.43.Final.jar:4.1.43.Final]
        at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) ~[netty-transport-4.1.43.Final.jar:4.1.43.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:688) ~[netty-transport-4.1.43.Final.jar:4.1.43.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) ~[netty-transport-4.1.43.Final.jar:4.1.43.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) ~[netty-transport-4.1.43.Final.jar:4.1.43.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) ~[netty-transport-4.1.43.Final.jar:4.1.43.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1050) ~[netty-common-4.1.43.Final.jar:4.1.43.Final]
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.43.Final.jar:4.1.43.Final]
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.43.Final.jar:4.1.43.Final]
        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_191]

 N/A

Open class TestServiceConfig @Autowired constructor(private val properties: TestServiceProperties) : AbstractR2dbcConfiguration() {
@Bean
override fun connectionFactory(): ConnectionFactory {
      return MssqlConnectionFactory(
            builder().host( properties.host!! )
                    .database( properties.database!! )
                    .username( properties.username!!)
                    .password( properties.password!!).build() )
}

}

Steps to reproduce
Any connection attempt causes the error
Expected behavior/code
A connection to the database

The R2DBC driver supports only direct TCP connections. There’s no SRV or instance lookup implemented. We would need some help to add features like these.

👍

here's relevant code that could be copied over
https://github.com/microsoft/mssql-jdbc/blob/18db69cb8c7372c6bf5ba3fc883278436d48e26a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java#L7401

here's a simplified standalone version of that code I used to get the job done:

class MSSqlBrowserException(msg: String, cause: Exception? = null) : IOException(msg, cause)

private const val BROWSER_PORT = 1434

/**
 * Resolves MSSql port using Browser protocol.
 *
 * @throws MSSqlBrowserException
 */
fun getInstancePort(server: String, instanceName: String): Int {
    var browserResult: String? = null
    var datagramSocket: DatagramSocket? = null
    var lastErrorMessage = "Failed to determine instance for the : $server instance:$instanceName"

    try {
        // First we create a datagram socket
        try {
            datagramSocket = DatagramSocket()
            datagramSocket.soTimeout = 1000
        } catch (socketException: SocketException) {
            // Errors creating a local socket
            // Log the error and bail.
            lastErrorMessage = "Unable to create local datagram socket"
            throw MSSqlBrowserException(lastErrorMessage, socketException)
        }

        try {
            // If instance name is not specified along with multiSubnetFailover, we resolve only the first IP
            // for server name
            val inetAddr = InetAddress.getByName(server)!!
            // Send the UDP request
            try {
                val sendBuffer = " $instanceName".toByteArray()
                sendBuffer[0] = 4
                val udpRequest = DatagramPacket(
                    sendBuffer, sendBuffer.size, inetAddr,
                    BROWSER_PORT
                )
                datagramSocket.send(udpRequest)
            } catch (ioException: IOException) {
                lastErrorMessage = ("Error sending SQL Server Browser Service UDP request to address: "
                        + inetAddr + ", port: " + BROWSER_PORT)
                throw MSSqlBrowserException(lastErrorMessage, ioException)
            }
        } catch (unknownHostException: UnknownHostException) {
            lastErrorMessage = "Unable to determine IP address of host: $server"
            throw MSSqlBrowserException(lastErrorMessage, unknownHostException)
        }

        // Receive the UDP response
        try {
            val receiveBuffer = ByteArray(4096)
            val udpResponse = DatagramPacket(receiveBuffer, receiveBuffer.size)
            datagramSocket.receive(udpResponse)
            browserResult = String(receiveBuffer, 3, receiveBuffer.size - 3)
        } catch (ioException: IOException) {
            // Warn and retry
            lastErrorMessage = "Error receiving SQL Server Browser Service UDP response from server: $server"
            throw MSSqlBrowserException(lastErrorMessage, ioException)
        }
    } finally {
        datagramSocket?.close()
    }

    checkNotNull(browserResult)

    // If the server isn't configured for TCP then say so and fail
    val p = browserResult.indexOf("tcp;")
    if (-1 == p) {
        throw MSSqlBrowserException(lastErrorMessage)
    }
    // All went well, so return the TCP port of the SQL Server instance
    val p1 = p + 4
    val p2 = browserResult.indexOf(';', p1)
    return browserResult.substring(p1, p2).toInt()
}

Thanks a lot. That should be sufficient to rewrite the code to a non-blocking form using Reactor Netty.


build: broken versioning of dev packages

Describe the bug
Since we introduced release branches (it happened around Falco 0.32.1), we have not git-tagged the releases on the master branch anymore.
Unfortunately, the current implementation of the versioning mechanism for dev packages assumes the latest version is git tagged on the default branch.
Due to this issue, we have the latest dev packages that have been wrongly published as 0.32.1-something.
This issue was initially noticed by @jasondellaluce
How to reproduce it
It happens everytime a PR gets merged into master. For example :point_down:
https://app.circleci.com/pipelines/github/falcosecurity/falco/3287/workflows/f4fe88b2-ff53-4761-86ea-1dff51be5e16/jobs/28564

Expected behaviour
Dev packages versioning should honor the latest released version. For example, after Falco 0.33.0, all dev package built afterward should have 0.33.0-something.
Additional context
This problem affects both the CI, but also the user experience of developers trying to build Falco locally.

cc @andreabonanno

cc @Andreagit97

cc @falcosecurity/falco-maintainers


M3-660 Remove Accordions from NodeBalancer Graphs

Purpose
Remove accordion style from NodeBalancer graphs and instead use Paper component. Why collapse them, ya know?

Coverage remained the same at 28.244% when pulling ea08e557142dbe5c84a0c2c027d23ecc2b80f55c on martinmckenna:M3-660-remove-accordions-nodebalancer-graphs into c2b576508566166c92d0ef44d1726b92c76eeabf on linode:develop.


Custome protocol

Hi
How can I use my custom protocol?
According to https://github.com/walkor/Workerman/blob/master/Worker.php#L1412
I cannot put my class in my namespace , I must put it in \Workerman\Protocols but when I install workerman using compeser , I must not change vendor folder
According to https://github.com/walkor/Workerman/blob/master/Worker.php#L1406
Can I use myNameSpace\myProtocol://<IP_ADDRESS>:1234 ?

Workerman will check Protocols/myProtocol  first and then Workerman/Protocols/myProtocol, so there is no need to put your protocol  in \Workerman\Protocols.
Yes you can also use myNameSpace\myProtocol://<IP_ADDRESS>:1234.


WIP cursor rework

This is a draft because some functionality (mostly around word/line selection) is still missing.  I also commented out the fix from #163 because the skip_mandatory_break flag is now gone and I haven't dug into the logic from that PR.
Submitting this now so that people can take a look and see if it fixes some of the known bugs, particularly around newline handling.
note: #166 should probably land first

I also commented out the fix from https://github.com/linebender/parley/pull/163 because the skip_mandatory_break flag is now gone and I haven't dug into the logic from that PR.

Looks like you're now appending the newline cluster to the previous line rather than waiting to append it to the next line. We'll need to test, but I suspect that means that the bug fixed in #163 won't be present. The key thing not being which line the newline cluster ends up in, but that the cluster is "committed" eagerly rather than deferred to the next iteration of the loop (the fix in #163 was handling that deferred cluster commit handling the case that the next iteration of the loop was an inline box (and thus went down a different code path)).
If you wanted to keep the "newline is at the start of the following line" behaviour then think you could probably just reverse the append_cluster_to_line and try_commit_line statements (although IMO it's more intuitive if the newline cluster is part of the line it ends).

I did some quick manual testing with 220f1bc027c213599357f47f952d72e1b77125e9 and it seems that problem from #163 is gone. The logic behind #163 was to solve the problem that newline cluster is part of the next line and it broke placing inline boxes.

I did some quick manual testing with 220f1bc and it seems that problem from #163 is gone. The logic behind #163 was to solve the problem that newline cluster is part of the next line and it broke placing inline boxes.

Thanks for confirming.

If you wanted to keep the "newline is at the start of the following line" behaviour then think you could probably just reverse the append_cluster_to_line and try_commit_line statements (although IMO it's more intuitive if the newline cluster is part of the line it ends).

This was initially done to force a line to be created at the end of the layout when the last character was a newline. This didn’t really work anyway and I agree that it’s more intuitive (and correct!) to keep the newline attached to the line it ends.

Cursor::to_access_position returns None when the cursor is at the end of the text (e.g. after pressing Ctrl+End in vello_editor). This is incorrect, as it means we can't report an accessible text selection when the cursor is at the end.

Ah, I see. We won’t have a downstream cluster at the end of the text. I’ll push a fix for this in a bit.

Just tried the latest push with a screen reader. If I go to the end of the default text in vello_editor with Ctrl+End, then the accessible selection is where it should be. But if I then press Enter to start a new blank line at the end, then the accessible selection is on the previous line, after the hard line break, rather than on the new, blank line.

This is probably a question of affinity. I pushed an update that might address it.

I wonder if that problem is that there's no actual character on that line and AccessKit doesn't have a text run node associated with it?

When inserting a blank line at the end of the text, is there a Parley run for that blank line at the end? It appears that there is now  parley run, and an AccessKit text run node, for the one blank line if the text is empty.

I think there's one if the text is empty but there's no run for a final blank line in non-empty text. I guess we need to add one somehow and make sure it's mapped properly in the to/from acessskit methods.

Is the fix for the problem with accessibility on the last line waiting on something from me?

Is the fix for the problem with accessibility on the last line waiting on something from me?

No, I plan on adding an empty run to the last line to see if that helps. Just haven’t gotten to it yet. I’ll ping here when the PR is updated.

Pressing Delete while the cursor is a the beginning of a line puts the cursor in an invalid position.

Pressing Delete while the cursor is a the beginning of a line puts the cursor in an invalid position.

Fixed this by just removing the selection adjustment code on delete since that operation doesn’t modify the cursor position.

Moving through these bit by bit. Note: this should now handle proper drag selection at word and line granularity.

As it allows both the selections {lorem} ipsum and {lorem }ipsum. Firefox only allows the former on my machine.

FWIW, Chrome allows both on my machine.

On my Windows 11 machine both Firefox and Chrome allow both selections.

Word selection and movement is entirely inconsistent across platforms/editors so I chose a set of behaviors that seemed to make sense. Including space-like “words” in mouse selection was intentional because you cannot otherwise extend the selection into a space without using the keyboard, and as noted, there is precedent for this in Chrome.

The phantom run for a blank line at the end seems to work correctly. I can find just one more accessibility problem: if the text is entirely empty, there's a phantom run, but Cursor::to_accesskit_position returns None because there's no cluster. In that case, we need to return the node ID of the one phantom run and a character index of 0.

Thanks Matt. I added a special case for that.
Assuming this is okay for accessibility, I don't plan on making any further changes unless further issues are raised by others.

The AccessKit integration now looks good to me.

The AccessKit integration now looks good to me.

Great! I appreciate your patience and your help with testing.

We have a cursor when there's no text! (rendered with Blitz + Parley):

Thanks Nico. I’m going to go ahead and merge this. If there are further issues they can be addressed in a follow up.


Disable or enable test for database types using annotations

Fix #1827
Supersedes https://github.com/hibernate/hibernate-reactive/pull/1828

Thanks,
merged!


Icons not displayed in output terminal

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
Version: 1.70.2 (user setup)
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:35:13.448Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
OS Version:
版本	Windows 10 专业版
版本号	21H2
安装日期	2022/6/20
操作系统内部版本	19044.1889
体验	Windows Feature Experience Pack 120.2212.4170.0

Steps to Reproduce:
1.install Node.js and git
2.

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette).
Happy coding!

@gjsjohnmurray I have re-edited this issue, please check it again.

@Jason7158 I am leaving this for @Tyriar.
Please be aware that the 1.71 endgame just started, so you might not get a response until that is over.

@Tyriar please check this issue.


/playerinfo  shows own playerinfo if target player is offline

See title.
GP: 168
Add error message if player if offline.

Also note that it changes the world to the default world in addition to looking up your own player when looking up a player that is offline.


Feature/longlora

This PR introduces LongLora as in #1237 for both the LoRa and full fine-tuning, while also enabling it during generation.

Wow, this is a huge PR! Thanks for working on that!
Starting with some high-level feedback, is LongLora always enabled by default? I think we should probably make this optional. Similar to Galore for example. I.e., adding
use_longlora: bool = False,
     """Whether to enable LongLoRA."""

What do you think?

HI @rasbt, I'm closing this because I've seen that there are some unrelated histories containing also commits regarding the removal of the last layers: my bad because i've put everything together for some experiments I'm running. I'll close this and open a new branch with the history fixed.
Sry about this

I think it might have been possible to rebase, but all good.
Next time, here's one approach to do this (thanks to @awaelchli who explained this to me):
# update main
git checkout main
git pull origin main

# update target
git checkout branch-to-rebase
git pull origin branch-to-merge

# make backup
git checkout -b backup-branch-to-merge

# start rebasing
git checkout branch-to-merge
git rebase main branch-to-merge --interactive

# remove overlap
# delete the ones that are already in main
# save and quit

# solve merge conflict
git add file
git rebase --continue

git push -f


Binary data

Is there any way we can send binary data? (like a profile picture)
If so, can you provide an example?
I am trying to figure how to send an XFile (image) to an API endpoint.

Use the FormData and send in Post.data property.
This is a Multipart.

Use the FormData and send in Post.data property. This is a Multipart.

Will try it out, please don't close this issue yet since I am 100% planning on working on this, but I can't check it just now.

Use this:
final file = File('path/file.ext');
await uno.post('url', data: file.readAsBytesSync();


Update README.md

Issue that this pull request solves
The online_tracker doesn't work when language is set to French for example. This is because the online keyword that wplay is expecting, is changed to en ligne in French. Other languages might also affect the result which would always be stuck offline if the main language isn't English.
Proposed changes
Added more details on how to make the online tracker work (by setting up Whatsapp's language to English)
Types of changes
Put an x in the boxes that apply

[ ] Bugfix (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)
[x] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] 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

@nextglabs Thanks for the contribution

My pleasure :)


scheme.show() crashes

>>> print(quadpy.__version__)
0.16.2
>>> scheme.show()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/quadpy/s3/_helpers.py", line 29, in show
    balls=[((0.0, 0.0, 0.0), 1.0)],
  File "/usr/local/lib/python3.6/dist-packages/quadpy/helpers/plot.py", line 171, in show_vtk
    import vtk
ModuleNotFoundError: No module named 'vtk'

Well, you need vtk installed.

If vtk (never heard of it before) is a dependency, why doesn't pip install it?

vtk is not installable from pypi. It's a large graphics library that comes with a Python front-end. You'll have to install it separately.

That does not agree with what is said at https://pypi.org/project/vtk/: "pip install vtk".

From: Nico Schlömer<EMAIL_ADDRESS>Sent: 23 November 2020 08:55
To: nschloe/quadpy<EMAIL_ADDRESS>Cc: Briggs,KM,Keith,TUD2 R<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [nschloe/quadpy] scheme.show() crashes (#387)
vtk is not installable from pypi. It's a large graphics library that comes with a Python front-end. You'll have to install it separately.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnschloe%2Fquadpy%2Fissues%2F387%23issuecomment-732020837&data=04|01|keith.briggs%40bt.com|62d5de7b25ee4f91a99d08d88f8da4d0|a7f356889c004d5eba4129f146377ab0|0|0|637417185804764931|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=twEObREPQ05C8B6ryPFuMFPayy8scc5hBmCMROKxlSc%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABHIQEJRPS6D6562KPJRTQLSRIPRBANCNFSM4T6L5K3A&data=04|01|keith.briggs%40bt.com|62d5de7b25ee4f91a99d08d88f8da4d0|a7f356889c004d5eba4129f146377ab0|0|0|637417185804774928|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=XcHu84Cjm7vcnzi6b%2B55MjAPYuGC3ICjtIkKVF7vigg%3D&reserved=0.

Good call. Fixed by #389.


stop outputting empty block in CXSMILES

This was an oversight in the fix for #5291

This is a trivial fix to an oversight from the last PR, so I'm doing a self-merge


Update scripts

Update preview command based on error
> svelte-kit preview is no longer available — use vite preview instead

Remove svelte-kit package based on error and presence of vite.config.js
$ svelte-kit package
svelte-kit package has been removed. It now lives in its own npm package. See the PR on how to migrate: https://github.com/sveltejs/kit/pull/5730

Thanks! I've merged this (plus some other Svelte Kit upgrades in #231)!


Max Fan Boost Power Level N vs Manual Mode 100%

Describe the bug
When I set a manual mode fan level to 100% for a given temp and hit that temp while stress testing, the fan goes to speed X (X varies per fan). If I set a Power Level of 4+, every fan will spin at a much greater rate than the X achieved using 100% on Manual Mode.
It seems that Manual Mode does not scale the fan speed to the maximum achieved by the higher Power Level settings. I believe Manual Mode should provide the same scaling to the same maximum speed for each fan that is achieved by the highest Power Levels.
To Reproduce

Set Manual Fan curves of 100% for all fans.

Make CPU or GPU or both go above the temp required for 100% fan speed.

Note the speed for each fan.

Choose Power Level 4, 5 or 6.
Repeat steps 2 and 3 above.

Expected behavior
Fan speeds between the different runs above should always max out to the same rpm for a given fan.
Screenshots
None needed, but I can provide them if requested.
System (please complete the following information):
X17 R1 11980HK 3080
Win 10 x64 22H2
nVidia 528.49
AFC - current version (and almost certainly many/all prior versions)

No, it's correct condition.
Manual mode ALWAYS have lower RPM cap then Performance/Full speed.
For SOME systems, the situation can be leveled using overboost (it's what it for).
PS: For some systems, it's also interesting BIOS behavior - fan RPMs can't stay on top more, then 1 minute and become lower after. I think it's about PWM temperature or overload.

I did run the Check Max Boost for my system. And I do notice fans start out at a higher rpm and then rather quickly drop back.
Is there any way to get the Manual Mode to use the same rpm range as thePerformance modes do?

Let's say it's unknown for me right now.
But this topic quite interesting in general.
And the question is not different profiles and caps (it's reasonable for different power limits), but why boost control disabled for every mode, but manual?
I see no reasonable cause for this.

That is definitely curious. It sucks having to have the fans wide open full time to get the maximum cooling. While there are obviously workloads that require that, playing most games usually doesn't.
Oh well. I do recommend putting a note somewhere in the Wiki about this to inform others who may notice the same behavior.
You can close this one out whenever you wish.

UPD:
I check your BIOS.
Intersesting... Boost set blocked into AWCC methods, but it's EC-controlled.
EC block in RAM, 0xFE0B0800, size 0x1000.
There are 4 boost variables there, i know names but lazy to calculate offsets - you can easily found it yourself using CLI.
Then you can try to switch power mode, set something there, and check the result.
Also, it's a very interesting variable there, named... MAXQ. Is it can be disabled? O_O
So, as a final - let's dig into it deeper. We can meet something useful.
For now, (and i think i mention it into docs), max. rpm, in fact, a function of total power limit. Reasonable.

It is late here, and my brain is foggy. I will try to understand and dig into the technical aspects of what you wrote tomorrow.
I note that MAX-Q used to be an nVidia whole-laptop-power "feature". It worked both the GPU and CPU to "optimize" power/performance/battery life.
I thought it was deprecated for some years now. But it is very much active, just not marketed any longer:
https://www.nvidia.com/en-us/geforce/gaming-laptops/max-q-technologies/
That page states that nVidia's 40xx series laptop GPUs have "Fifth-Gen Max-Q Technologies".
I wonder if this is what you are seeing in that variable.
What am I checking my BIOS for? The Overclocking and Fan Settings? OC os off, Fans are set at normal.
I note that I do still have AWCC installed, although it is completely shutdown. I still have work to do to create the matrix of data you need to build the lighting module for X17 R1 laptops.
I DEFINITELY question the assertion that max rpm is a function of total power limit. When I was doing my testing, I had Bitsum's Highest Performance power mode enabled for all testing, as well as Throttle Stop set to help CPU max out perf and all-core clock speed while just preventing thermal throttling in Cinebench23. How would your Power Levels make the total power limit any higher than it would be for that configuraiton? Oh, and is there a way I can see the currently set "actual" power limit?

I finally got a chance to circle back to this. And unfortunately my knowledge of HOW to find/check/set the things you mention is very limited. I am familiar with debuggers and some utilities that allow accessing firmwares and memory, but only from a high level. Could you point me to some primers/utilities I could study to come up to speed?
Also, If I flesh out my VS 2022 Enterprise Edition with all of the C/C++ goodies it has, can I debug your code to view/access the values you mention?

Could you point me to some primers/utilities I could study to come up to speed?

RWEverything is a nice tool to dig into system/BIOS.
But be careful - one mistake, and you have BSOD (if you're lucky) or need power cycle or even BIOS reset!

Also, If I flesh out my VS 2022 Enterprise Edition

Too bad. 2019 only can be used. The reason is simple, 3 letters - WDK. You can review my code to understand what exactly and how i set.

I do have RWEverything, and have played around with it a bit. I even think I gave you some data from my system from it. But I really don't know enough about the app's interface and capabilities nor the data I am viewing (yet).
My old laptop has VS 2019. But assuming you mean Windows Driver Kit with WDK, surely it has been released officially since this post a year ago:
https://learn.microsoft.com/en-us/windows-hardware/drivers/installing-preview-versions-wdk
Well f*ck. Looks like I may not be able to use the new laptop after all. Per this page, the latest WDK build requires VS 2022 AND Windows 11 22H2. I am on Windows 10 21H2. I wonder I can install the Win 11 WDK on Win 10. :-D

Yep. You are right about WDK - it's a such a mess here... That's why i stuck with 2019.
Good news, you CAN build Fan SDK v2 in 2022, but not v1.
The difference is v1 using direct ACPI calls (BTW...  It's even OS-independed, so don't tell me something like "Linux is secure" anymore - no, it didn't), and v2 using hole Dell leave into WMI (but it cost some overhead). Methods are the same.
Why i ask for BIOS dump (RWEverything - ACPI->Save All)? I just check for common Alienware functions there and their interfaces, as well as what they really do. Also sensors and other stuff.
Now i also have a tool, which decrypt Windows PNP data from BIOS dump - it gives me hint about what functions you system have and how it mapped to ACPI method calls.
Good: Propietary AWCC methods are universal. Any Alieware/G-series have the same set, with little variations.
Bad: Some functions are buggy (seems like Dell have 3 different BIOS developer teams - it's visible by style, and one of them is total CRAP), some can't be accessed this way (but some workarounds available as well).
I don't mess with EC in v2, But it's possible via v1.

HUH, it seems that I can install Win 11 Driver Kit. And if your stuff requires kernel mode debugging a quick review makes me think I might need my old XPS laptop to connect to and debug my X17 R1. Will I need to do that, or can I debug the AlienFX stuff all within my X17? That would obviously be preferable.
That tool you have is probably handy. When I was poking around with RWE I was able to find a lot of code sections that looked pretty hairy to sort out.
What is "EC"?
I'm not surprised you can notice different development teams. I have come across that at many clients over the years too. I hope the X17 stuff is NOT done by the DUMB @SS crew!! LOL
I have a crazy-busy week (or few) coming up, so probably I won't be able to try to get my dev environment configured to build/debug through your code. Well, unless I spend time doing that when I should be doing other stuff! ;-P

And if your stuff requires kernel mode debugging

No, you don't need kernel debugging until you don't alter driver (hwacc.sys). BTW, both hwacc and KDL sources only available at 6.x.x.x - antivirus become crazy about KDL, so i drop it from current project.

That tool you have is probably handy.

It's handy for WMI mapping reveal.

What is "EC"?

Embedded controller. See BIOS dump, as well as "EC" button in RWE. It's a storage of hardware data variables.

I hope the X17 stuff is NOT done by the DUMB

It's interesting... No, it's 2nd team (they like function calls instead of just change data). But seems like Dell know about me - they try some obfuscation in method calls, so it's harder to understand what it really changes.

I have a crazy-busy week

Well... Me too, i even into the middle of relocation to different country (or maybe not, i like my current). Good luck and feel free to ask questions!


Browserify support

+1

Worked for me.

@hugomrdias, could you remove the last commit (there is already is similar one : https://github.com/blueimp/JavaScript-Canvas-to-Blob/commit/e6734055af22e23009ca15ff604b9a5e7d57319c) so @blueimp can merge this?

+1

+1


Account Page: few unbilled projects not appearing.

Projects not appearing

GSTR-3B PERIOD 18-19-APR
GSTR-3B PERIOD 18-19-MAY
ETC...

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Is there more than 50 Projects?


New autolayout utilities. Partial cleanup of SnapKit use

WHY:
We aim to minimize third party dependencies for Thumbprint, SnapKit is an obvious target and it was agreed a while ago to clean it up.
WHAT:

Filled out the auto layout utilities in UIView+Layout.swift. They seem to cover most of the drudgery, what's left is fine to do with the auto layout anchor API or too rare/obscure to bother wrapping.

New UIView.addManagedSubview wrapper that sets translatesAutoresizingMaskIntoConstraints = false when adding a subview. Once migration off SnapKit is complete we can add a SwiftLint rule to avoid use of vanilla addSubview which should basically remove the need to manually set translatesAutoresizingMaskIntoConstraints = false in UI buildup logic.
New centering in subview utility
Generalized utilities into common logic and added additional tests.

Fully removed SnapKit use from Thumbprint tests.
Partially removed SnapKit use from Thumbprint components. Also applied new utilities in files cleaned of SnapKit.
Podfile modified as to limit the SnapKit dependency to the Thumbprint target.

TESTING:

CI should verify that everything lays out the same as before.
Also some new unit tests for the new auto layout utilities.

Would you mind elaborating on the motivation for this?  Personally I don't agree that every 3rd party dependency should be replaced with in house code.  Unless we have identified an actual problem that we need to work around, why are we trying to reinvent the wheel here?

We already had this debate last year and this is the decision we ended up going for as a team. I understand that it's taken me a while to get to it but I'd rather not repeat the debate again.

Could you at least link me to the debate? I clearly wasn't a part of it....

This was the RFC for the debate. And yes you were a part of it, that's why I added you to the review list.

Looking at that RFC, I'm certainly not seeing any sort of universal agreement in the comments.  I'd be curious to see what other people have to say on the issue, but I stand pretty firmly in the camp of SnapKit being a welcome convenience.  And calling SnapKit a point of friction is a bit dramatic – the documentation is a short 8 page (at 16pt font, 25.6 line height). Cobalt, Tophat, and V1 endpoints are such significantly larger points of friction, that I would hardly even count SnapKit as significant, especially given it's human readable syntax (e.g. make.edges.equalToSuperView())

We already had this debate where you said pretty much the same things. I guess I'll have to find the time to find where we left the resolution in writing or alternatively just dump the PR.

I just want to be sure that we have some team consensus before we commit to this path.  That's all.


chore: update best practices

Description
Updated best practices WIP, needs #495
Related Issue
Fixes #291

Relates to #
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Other (security config, docs update, etc)

Checklist before merging

[x] Test, docs, adr added or updated as needed
[x] Contributor Guide Steps followed

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@2181536). Click here to learn what that means.

:exclamation: Current head 95a0236 differs from pull request most recent head 113524e. Consider uploading reports for the commit 113524e to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@           Coverage Diff           @@
##             main     #499   +/-   ##
=======================================
  Coverage        ?   83.21%
=======================================
  Files           ?       23
  Lines           ?      727
  Branches        ?      123
=======================================
  Hits            ?      605
  Misses          ?      114
  Partials        ?        8

Flag
Coverage Δ

pull_request
83.21% <0.00%> (?)

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

already on another branch


File not found

I dont get it to run, it always means that the file.exe is not existing. With given path, or without, executed in the same folder:
"2021/11/01 08:55:35 MAIN: open /tmp/file.exe: no such file or directory"
But there is a file called file.exe :D

This might also be a permission issue. Are you using the Docker version?


what is the training data format in chatllama actor_config/reward_config.

can you release some data sample?

Hi @lonelydancer, thank you for reaching out. Today, we are gonna release a new readme with more extensive examples. Please let us know if you have any other feedback.

Please explain the way of distributed training in detail.

Data examples for reward training has been released with #203. For updates on distributed training see #242 and #229


Add xpu linux wheel build into torchvision build matrix

Add xpu linux wheel build for torchvision to complete xpu nightly wheels build after PR https://github.com/pytorch/test-infra/pull/5489 landed. Works for https://github.com/pytorch/pytorch/issues/114850

@NicolasHug , thanks for your support.


TextParameter is not functional

In fact, only one word is accepted in the argument against several normally...
It has the same effect as a StringParameter
` class TestCommand extends CommandBase {
public function __construct()
{
    parent::__construct("test", "commande de test", "/test [reason]", [], []);
    $this->setPermissions([DefaultPermissions::ROOT_USER]);
}

public function getCommandParameters(): array
{
    return [
        new TextParameter("reason", false)
    ];
}

protected function onRun(CommandSender $sender, array $parameters): void
{
    $sender->sendMessage($parameters["reason"]);
}

} `

Fix in v1.1.2


Client Allocation Request for: Ilshinchemical

Client Allocation Questions
Core Information

Name: Ilshinchemical
Website / Social Media: http://ischem.co.kr/
Region: Asia excl. Greater China
DataCap Requested: 1TiB
Addresses to be Notarized: f3vsofilk653op74w67zxtn4ed7dygpdyki2x5tilnclmf76troni7zsag3msfv4y64qwijpkca5inx736vq4q
Notary Requested: Broz221

@ilshinchemical Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hi Broz221.
I'm Kim, the main manager of the ilshinchemical co. Founded in June 1987, it specializes in various industries such as electronics, automobiles, rubber, paint and textiles. We continue to develop eco-friendly products to protect our customers and social values.
I'll look forward to hearing from you.

Hi, I viewed your website and found out you are from an Asia company. So I suggest you to choose an Asia notary.


Char encoding issues

See comments in this PR: https://github.com/ice3-software/between-kit/pull/66. The issue was highlighted by @kareman

@kareman, finally got around to taking a look at this. The problem is that I temporarily cp-ed the text for these markdown files into the Mac edition of Microsoft Word to spell / grammar check them and then cp-ed the results back into my Markdown editor.
See the most recent commits on this branch. I have recreated the issue by:

Creating a test md file (WORD_TEST.md) via touch and the Mou editor
Open / re-save it in Atom
Cp-ed its contents into Word to spell check and back into the document via Mou (Word replaces all my LFs with CRs)
Reopen and re-save in Atom (issue recreated, whole file is marked as modified)

I then perform the same steps but exclude cp-ing back-and-forth from Word for spell checking as a control, which doesn't yield any issues with CRs or the like.
To be honest, this totally threw me off as I'd forgotten that I'd even used Word in my editing process. As for a fix, I'll probably use this atom package to re-format the docs.
Another few points to make:

Atom (and other text editors) will add a trailing newline character to files before saving, Mou doesn't. This results is a new change-set at the second step of my eol-test containing a trailing newline char.
Atom rather invasively removes any trailing whitespace on save. You'll notice that if you open and re-save one of the actual obj-c source files in Atom, any trailing whitespaces are removed which results in new change-sets.
It might be worth me adding a .gitattributes file like this one to handle different OS EOL formats.

I hope this is comprehensive enough. I'll get around to fixing this asap.

Went through and converted the line breaks in all the markdown files / re-saved using atom. Should be fixed now.


We should cleanup the messages in the chatroom when they are no longer needed

The bot is spammy. We should delete messages after being posted.

Can you please provide the criteria for the cleanup?

Deleting messages feel like a good next move to address the bot dominating the channel.
Based on the official documentation:  "A message can only be deleted if it was sent less than 48 hours ago".
Based on the suggested usage, I think this limitation will allow us to remove a good chunk of the messages after verification

I am thinking to store message IDs and a deleteable_after timestamp inside DB for every message that bot sends.
And write a periodic task to query all deletable messages and delete them.
Can you confirm this? @posix4e

I think @uivlis needs this open to pay out the bounty.  He can close after he does.


Modpack Crashes after installing mod

Building Gadgets version
structure-tools-1.0.10
Minecraft Version
1.18.1
Modpack & Version
Euphoric Curiosity - 1.6
Do you have optifine installed?
I have other rendering based mods installed
Describe the issue
Game crashes after launching
Steps to reproduce
1.Open AtLauncher
2.Start Euphoric Curiosity (ver. 1.6) with St'ructure Tools version 1.0.10 installed
3.After the Minecraft.exe starts it directly crashes and goes back to ATLauncher
crash-2022-04-24_09.38.36-client.txt
Expected behaviour
The modpack starts with mod installed
Screenshots
No response
Log files
No response
Additional information
No response
Information

[x] I have provided as much information as possible

Looks like an issue with ArmorCurve, completely unrelated to us.
@NukelordPvP Your repository is a fork so no one can open issues. Could you look at this crash caused here https://github.com/NukelordPvP/ArmorCurve-Fabric/blob/master/src/main/java/jackiecrazy/armorcurve/mixin/ArmorDegradationMixin.java#L52


[Cedar Doc Issue] Playground is outdated

What were you trying to do?
I'm trying to use the human-readable schema and the in operator on the playground at https://www.cedarpolicy.com/en/playground.
What is wrong and why?
The playground uses version 2.4.4 and that does not support these features.
What do we need to do to fix this?
Update the playground to the current version.

Thanks, @sashee for reporting this. I'm closing this as it's not a docs issue and have reported your concern to the team in charge of the playground.


fix(dataZoom): render data not equally distributed. close #16924 #15921

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature
[ ] others

What does this PR do?
Fix render data shadow line with data not equally distributed in time axis
Fixed issues
#16924
#15921
#16980
Details
Before: What was the problem?
Data shadow line in bottom dataZoom does not match with serie line on graph

After: How is it fixed in this PR?
If type of axis is set to "time", scale the original axis data range to dataZoom axis range
I used this mathematical formula

Misc

[ ] The API has been changed (apache/echarts-doc#xxx).
[ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs
N.A.
Others
Merging options

[x] Please squash the commits into a single one when merging.

Other information

I'm also fixing related problems at #17311 . I will check the logic more carefully later. Thanks for your contribution!

Hello! Is there a plan to merge this PR anytime soon?
It also enables workaround for bug with axis.min and axis.max on dataShadow

I am also waiting for this fix. What are your plans?

Merge would be great. I need this fix for my app.

It would be great to Merge ship it. Need also this fix in my application.

Here is issue that can use workaround from this PR:
https://github.com/apache/echarts/issues/19957

I really could use this fix. When will this be available to use?

Add it, please.

When can you add it?

Fix PR pending for two years 😭

Should we spam somehow this topic in anticipation of the answer?
Echarts team give us some answer.
I give you some possible options. I hope it will help you to respond to the community:

"we are already working on it, fix will be available in... insert date here",
"it was solved differently, here you have the solution...",
"we don't care",
"we don't give a shit",
"go to hell"

Choose wisely. We will know what to do next... :disappointed:

@pchrzaszczewski Woah easy there. I get the frustration though.
I am going to create a pnpm patch based on the fixes in the PR and just pin the echarts version in my dependencies. Not great, but I assume at some point it will get fixed.

@pchrzaszczewski Woah easy there. I get the frustration though.
I am going to create a pnpm patch based on the fixes in the PR and just pin the echarts version in my dependencies. Not great, but I assume at some point it will get fixed.

Does my code still work in the current version? I am willing to improve it and update it if necessary

@pchrzaszczewski Woah easy there. I get the frustration though.
I am going to create a pnpm patch based on the fixes in the PR and just pin the echarts version in my dependencies. Not great, but I assume at some point it will get fixed.

@noahhai I'm grateful that you responded. We can see that something is happening ;)
I've been patient for 2 years :muscle: It is always better to at least know if there is a plan or not.
I'm keeping my fingers crossed and cheering that the day will finally come... :crossed_fingers:

I'm still waiting

Can we just deploy this pleasE?


Fixing the infer_dtypes function in data_handling.py and adding tests

Fixing the infer_dtypes function in data_handling.py. Creating tests for that class of functions and fixed text data with code to generate it.

Gib review pls :P @TrystanScottLambert


feat: Show raw context length in the generation info popup

SInce the ollama api returns the raw tokens of the context, counting these to display a raw context length in the generation info could be useful for those wanting to test large context models/see exactly how many tokens the model used.
Edit: Misunderstood Ollama api

Are you referring to prompt_eval_count? I tried searching the repo but couldn't find any reference to what it means.

Ollama doc: https://github.com/ollama/ollama/blob/main/docs/api.md

Thanks for the link


Feature: Use fully qualified registry names in Dockerfiles

Motivation:
Currently, the service Dockerfiles use unqualified image names, which is generally not an issue with Docker. However, I recently tried to build an image with Podman/Buildah and that failed the first time I tried to build it (without me changing the Dockerfile or /etc/containers/registries.conf) with "image unqualified".
Description:
I expect to be able to build the images with Podman (libbuildah).
Exit criteria:

[ ] service image Dockerfiles contain fully qualified registry names
[ ] consequently, service images build with Podman

I expect this will be resolved shortly via migration to GHCR.

Sorry, I misunderstood this issue at first.


Change Util.formatNum default to 6 decimals

Changed Util.formaNum default to 6 decimails.
Solved 0 decimals bug.
Added tests.
Can be useful for PR #5444

@fminuti It looks good!
The only question I have - why changing default value?

Per RFC 7946, section 11.2, 6 decimal places are recommended.

@fminuti Thanks!


Development/cert fixes

Maybe good to revert this and to see if still that hang is there:
https://github.com/Metrological/cobalt/pull/48/commits/1c263dbdbb09d65de6aeeccd551f29eb39b07b0f
This commit may need mutex protection. I will look at that. We are still working on Resize issues, so eventually there might be other changes around this area.


searchMatchFn not working in release mode of app

searchMatchFn not working in release mode of app, works in debug mode, when search a value contains in DropdownMenuItem not working in release , in debug mode it's works perfect.

Can you please provide a working sample and your flutter doctor output?

I'll close this for now. Feel free to re-open when your working sample is ready.


Container failing if started with links

Hello,
Recently I did build some images based on yours and if I start it issuing a simple:
docker run --name my-image -d -P myimage:1.0.0

It works fawlessly, but If I use compose or even a command, but using links with that image it fails at the startup.
The error is originated at my_init file where when is exporting environment vaiables it fails with the following error:
export eval MYSQL_ENV_GPG_KEYS=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
/sbin/my_init: export: line 1: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX: bad variable name

BTW: The failing environment variable is the injected one from the linked container.
I'm guessing that something changed at docker daemon that is avoiding the script to do it's job as it's designed. So, since I'm not a sh gurú, I'm posting this issue here because I guess that a validation into the script could be done to fix the issue.
Docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 45
Server Version: 17.05.0-ce
Storage Driver: aufs
 Root Dir: /home/user/docker-data/aufs
 Backing Filesystem: extfs
 Dirs: 56
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-77-generic
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.72GiB
Name: workstation
ID: ...
Docker Root Dir: /home/user/docker-data
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: No swap limit support

If you need any other information, please let me know.

I did some tests linking it to another container without MySQL service and that specific variable with the PGP key as value and it started flawlessly. So I guess that the issue is related with the value into that file; two strings separated by a space.

Over some other tests, there is a spot where any injected variable fails. :(

It appear that the problem is when a variable is assigned two or more values ..

You are right. I remove that variable with two values and it complains on another one that contains: *.local, 169.254/16
Do you know why it is happening?
Thank you for your reply.

Hi,
please try quantumobject/docker-alpine:test2  to check if work with both cases ... I remove the variable management from the my init script . When I wrote initial the code in sh the reason was not to increase size of container by using python or other package  but I didn't realize that variable can have more that one value . I try to fix it but it broke in other areas at the script ..
sincerely
Angel Rodriguez

I will check that, thank you!!!!

¿Hablas español?

Until now my images are woking with the new script, but I need to do more tests. Can you explain to me what is doing your code that handle the environment variables? these are just for create the files with envs, (json and sh files), or does other things? I'm not versed on shell scripting.
And thanks for your effort.

This container and the other docker-baseimage (ubuntu) was originally base on https://github.com/phusion/baseimage-docker  but I replace python by sh (plus other changes) to reduce size of the container .. the idea is to have a container that can be run different process inside .. (opposite of the way Docker recommended --one process only) , and the needed for that in my case was that I want to deploy different open source software by container to help people to test / learn about them .. and easier way to installed www.quantumobject.org .. but no for final deployment . When the original open source project organization produce their own container I planning to remove mine from Docker repository . the idea of environment variables manipulation was original from phusion   but maybe will be better to used the already existing Dockerfile command to pass it to the container .. or by -e at run command . It have other uses but I almost never used it .. and docker from the original have been chnage a lot ..

I got it fixed,
file: /sbin/my_init
:22 export eval $FILE=`cat $file`

by
:22 set $FILE=`cat $file`
:23 export env $FILE

It is working again.

I got it fixed,
file: /sbin/my_init
:22 export eval $FILE=`cat $file`

by
:22 set $FILE=`cat $file`
:23 export eval $FILE

It is working again.

thanks

You are welcome!!!


What about Emoji expressions in the exported data

What about Emoji expressions in the exported data
For example

Closing this issue, because no new info has been provided and the issue template still hasn't been filled in.


SW-1962 More precise error message for withdrawals

If a withdrawal's quantity is larger than the accession's remaining quantity,
return the exact error message for that situation from the product requirements
rather than a less-precise one about negative quantities.

Current dependencies on/for this PR:

main

PR #688   👈

This comment was auto-generated by Graphite.


[Feature Request] Possibility to choose ISO language

By default the English version of the ISOs get downloaded. It would be nice if the user has the choice of changing that on the command line, e.g. Mido.sh win11x64 --lang=german.

This feature is planned. Only for consumer_download and enterprise_eval_download, though, because otherwise we would be directly storing a lot of links. We will probably use POSIX getopts and a -l option (POSIX getopts currently doesn't support long options; unless we want to roll our own parameter parsing). For consumer_download (e.g. win11x64), make English (United States) in the script configurable.
Help wanted.


Handle routes for entities with a long name.

At the moment, when the model name is too long, the routes won't get generated.
Eg. for models: ProductStatus, ProductVersionStatus, ProductVersion, etc.
I propose to make a shorthand route notation like below:

ProductStatus=> pStatus,
ProductVersionStatus => pvStatus,
ProductVersion=> pVersion

@stijntilleman
Can you remind me why exactly we have this limit (which Symfony component is responsible for this?), Also, what is the maximum length for each entity?

Resolved in https://github.com/bitsoflove/AsgardGenerators/commit/d1080d5c6dd3bd2ec7ebc7a1c66a84c0d03473c1


Logo links to a invalid url when switch to Chinese

The logo should link to https://docs.autonomys.xyz/zh/learn/intro/ Chinese instead of https://docs.autonomys.xyz/learn/intro. now when we switch language to Chinese and click the logo . we get 404!

@randywessels can you take a look please? Any fix should work for all languages.


missing lama module cause Inpaint Anything failing to load

if this is a requirement for it to load, i think it'd better to include it during extension installation process.
BTW, where can we find this lama_cleaner module and install it in automatic1111?
*** Error loading script: inpaint_anything.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-inpaint-anything/scripts/inpaint_anything.py", line 20, in
from lama_cleaner.model_manager import ModelManager
ModuleNotFoundError: No module named 'lama_cleaner'

Typically, lama_cleaner is automatically installed during the execution of the web UI launch script. However, you can install it manually using the commands below.
For Windows:
.\venv\Scripts\activate
pip install lama-cleaner
deactivate

For Linux:
source ./venv/bin/activate
pip install lama-cleaner
deactivate

Duplicate of #31

Typically, lama_cleaner is automatically installed during the execution of the web UI launch script. However, you can install it manually using the commands below.
For Windows:
.\venv\Scripts\activate
pip install lama-cleaner
deactivate

For Linux:
source ./venv/bin/activate
pip install lama-cleaner
deactivate

it seems this installation does not work when using automatic1111 in google colab, because it would be installed to temporary storage, rather than google drive. That's why the module is gone once the session end, and cause this error message.

I have tested it on Google Colab, and it appears to start without any errors when the --enable-insecure-extension-access option is included in the startup command as shown below:
!python launch.py --share --xformers --enable-insecure-extension-access

Hey! Thank you for your model! I have an issue. The Tab is not showing. I have tried

installing Lama-cleaner
Deleting and reinstalling inpaint-anything
looking for the "hidden tabs" in the UI settings (there was none)

I am using a SD Deploy on Runpod

Hope this helps.
Thank you!
The Log is giving me the folowing Error
Thank you for your help!
2023-09-04T09:33:35.093845854Z *** Error loading script: inpaint_anything.py
2023-09-04T09:33:35.097113423Z     Traceback (most recent call last):
2023-09-04T09:33:35.097125803Z       File "/workspace/stable-diffusion-webui/modules/scripts.py", line 319, in load_scripts
2023-09-04T09:33:35.097130093Z         script_module = script_loading.load_module(scriptfile.path)
2023-09-04T09:33:35.097133133Z       File "/workspace/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
2023-09-04T09:33:35.097136653Z         module_spec.loader.exec_module(module)
2023-09-04T09:33:35.097139673Z       File "", line 883, in exec_module
2023-09-04T09:33:35.097142973Z       File "", line 241, in _call_with_frames_removed
2023-09-04T09:33:35.097146333Z       File "/workspace/stable-diffusion-webui/extensions/sd-webui-inpaint-anything/scripts/inpaint_anything.py", line 17, in
2023-09-04T09:33:35.097149702Z         from diffusers import (DDIMScheduler, EulerAncestralDiscreteScheduler, EulerDiscreteScheduler,
2023-09-04T09:33:35.097152873Z       File "/workspace/venv/lib/python3.10/site-packages/diffusers/init.py", line 28, in
2023-09-04T09:33:35.097155862Z         from .pipelines import OnnxRuntimeModel
2023-09-04T09:33:35.097159022Z       File "/workspace/venv/lib/python3.10/site-packages/diffusers/pipelines/init.py", line 46, in
2023-09-04T09:33:35.097161962Z         from .audioldm import AudioLDMPipeline
2023-09-04T09:33:35.097166402Z       File "/workspace/venv/lib/python3.10/site-packages/diffusers/pipelines/audioldm/init.py", line 10, in
2023-09-04T09:33:35.097170422Z         if not (is_transformers_available() and is_torch_available() and is_transformers_version(">=", "4.27.0")):
2023-09-04T09:33:35.097174592Z       File "/workspace/venv/lib/python3.10/site-packages/diffusers/utils/import_utils.py", line 589, in is_transformers_version
2023-09-04T09:33:35.097179272Z         return compare_versions(parse(_transformers_version), operation, version)
2023-09-04T09:33:35.097184472Z       File "/workspace/venv/lib/python3.10/site-packages/packaging/version.py", line 52, in parse
2023-09-04T09:33:35.097188552Z         return Version(version)
2023-09-04T09:33:35.097192662Z       File "/workspace/venv/lib/python3.10/site-packages/packaging/version.py", line 196, in init
2023-09-04T09:33:35.097196352Z         match = self._regex.search(version)
2023-09-04T09:33:35.097200072Z     TypeError: expected string or bytes-like object

The Log is giving me the folowing Error

It's possible that your package is corrupted. I recommend deleting the venv folder in the stable-diffusion-webui folder, then run webui.sh to reinstall the package from scratch.

Duplicate of #63

I have included lama_cleaner in the repository, so I am closing this issue.


Refactor GLS assembly

-Refactor GLS assembly to make it faster by using local variables. Lead
to a increase of 15% in assembly performance.
-Fix some test output due to a slight weird change

Added a new linear solver which is not necessarily better, but it has
some interesting properties

This PR should be merged after Audrey's

@blaisb Should I change the gls_vans.cc for mat to match that of the new gls_navier_stokes.cc?

Not necessary for now. we can keep that in mind when we need more performance, but it's really not that necessary for the time being.


Add Code & Pre routes and components in the Manual Setup section

When you click on Code and/or Pre under Getting Started>Manual Setup section you'll get a 404 status code.
Replicate the issue:
Go to https://react.email/docs/getting-started/manual-setup
Click both Code and Pre cards.
Possible solution:
Adding both components to the components' folder eact-email/apps/docs/components

This was removed since the components were deprecated. Fixed on the docs to reflect that. Thanks!


Update phishing-IPs-ACTIVE.txt

they hosting phsihing sites
http://coinbase-help-us.com/
proof

hey @haxor3211 please make a PR against:

https://github.com/mitchellkrogza/phishing/blob/main/falsepositive.list -> For domains
https://github.com/mitchellkrogza/phishing/blob/main/IP-addr.list -> For IPs.

Thanks for your understanding and support.


Refactor: capabilities and workload in appfile parsing

Signed-off-by: Qiaozp<EMAIL_ADDRESS>Description of your changes
Main changes are:

Tidy appfile parse process, remove unused properties, rename workload->component
Tidy Capability properties

🤖 Generated by Copilot at d4d2734
Summary
🚚🛠📝

Refactor the appfile package and related controllers to use the Component and ParsedComponents types instead of the Workload and Workloads types, and remove unused or deprecated code related to helm charts, CRDs, and labels. This improves the consistency, readability, and maintainability of the code and aligns with the application model.

Oh we're the crew of the appfile ship, and we sail the code sea
We've changed the Workload to Component, and the ParsedComponents we need
So heave away, heave away, heave away on the count of three
We've simplified the types and names, and improved the consistency

Walkthrough

Remove unused types and fields from the types and Capability packages (link, link, link)
Update the import path and setup function of the oamv1beta1 package in the server package (link, link)
Update the expected output of the dry-run and diff commands in the plugin test, from Component to ParsedComponents (link, link, link, link, link, link, link)
Update the title of the custom component header in the mods package, from Built-in Component Type to Built-in ParsedComponents Type (link)
Rename the Workload type to Component and the Workloads field to ParsedComponents in the appfile package, and remove unused fields and parameters (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)
Update the calls and signatures of the newAppFile, parseComponents, parseWorkflowSteps, fetchAndSetWorkflowStepDefinition, makeComponent, convertTemplate2Component, ParseComponentFromRevision, ParseComponentFromRevisionAndClient, and parseWorkflowStepsForLegacyRevision functions in the appfile package (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)
Update the tests in the appfile package to use the Component and ParsedComponents types (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)
Update the ValidateCUESchematicAppfile and newValidationProcessContext functions in the appfile package to use the Component type (link, link, link)
Update the application controller to use the ParsedPolicies and Component types (link, link)
Update the apply and generator functions in the application controller to use the Component type and change the parameter and return types accordingly (link, link, link, link, link, link, link, link, link, link, link, link, link, link)
Update the revision functions in the application controller to use the ParsedComponents and ParsedPolicies types (link, link, link)
Remove unused constants from the oam package (link, link, link, link, link)
Update the WorkloadRenderer type alias in the oam package to use the Component type (link)
Update the fakeWorkloadRenderer function in the terraform test to use the Component type (link)

Fixes #
I have:

[x] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

ping @StevenLeiZhang @jefree-cat


Create HealthWorkerBook for storing HealthWorkerObjects

Objects:

ReadOnlyRequestBook
RequestBook
AdaptedJSONHealthWorker

Closed by PR #49 . Need to create tests for HealthWorkerBook related classes.


Make the data type for the Id property configurable

Currently, Id is an integer type which is great in most cases. However, for larger project it may not be sufficient. setting Id to integer by default make scene but the user should be able to change that if needed.
We should be able to change it to string or bigint if needed.

May be related to #142 #435

closed via PR #458


lightning RCE is not fixed in 2.2.2

GHSA-cgwc-qvrx-rf7f advisory is not solved in version 2.2.2 for lightning, at least version 2.2.5 is vulnerable

Hey @anderruiz, any chance there's some public documentation supporting that? What we have on file now is not that 2.2.2 fixes the issue but rather that 2.2.1 is the last known version which is affected. If it's shown that other versions are also affected that would be fantastic to know 😄


Use proxies?

Some rest-services have too much rest points. What if we use proxies instead of pre-defining object methods.
Concept example:
let Github = new Mapper({
  host: 'https://api.github.com',
  proxies: true,
  // maybe_some_additional_logic
  //...
  }
});
Github.Users.get() // proxied to GET https://api.github.com/users
Github.Users.defunct.get() // proxied to GET https://api.github.com/users/defunct

About proxies: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Proxy
I use proxy before in this repo: https://github.com/allprime/mobizon-node

Hi @nurzhanpy, sorry!!!!!
rest-mapper was built using axios as AJAX core. So, you can use its all configs. Please, take a look on axios proxy configs.
Updating your example, you can use for ALL requests:
let Github = new Mapper({
  host: 'https://api.github.com',
  proxy: { host: '<IP_ADDRESS>', port: '8888' }
});

Or you can set proxy for specific request, something like this:
let Github = new Mapper({
  host: 'https://api.github.com',

  resources: {
    Users: {
      get: {
        url: '/users',
        proxy: {
          host: '<IP_ADDRESS>',
          port: '3300'
        }
      }
    }
  }
});

I hope helped you!

Hi @cezarlz
You don't understand. I don't mean web proxies. I mean javascript Proxy object.
Imagine situation when you define mapper, and every time when github add a new api point you need add it in Mapper defenition, what if mapper build requests url from mapper methods name on demand. Please, read about Proxy object on mdn:  https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Proxy

Proxy objects cannot be transpiled by Babel and not all browsers support it.. This would for example completely remove support for IE..


Make enum as succerro of Type to use it as part of is comparison

Hello!
Is it possible to create possibility to check if object is enum?
enum Status {opened, closed};

class Test with Serializable {
  Test({this.status, this.name, this.id});

  final int id;
  final String name;
  final Status status;

  Map<String, dynamic> toJson() {
    return ['id', 'name', 'status'].entries.map((k,v) {
      if (v is DateTime) {
        return MapEntry(k, v.toDateTimeISO8601());
      } else if (v is enum) { // <!--
        return MapEntry(k, v.index);
      } else {
        return MapEntry(k, v);
      }
    });
  }
}

Hey @bambinoua , isn't this a Dart question. I would suggest that you ask this question here - https://github.com/dart-lang/sdk/issues

Hi, @sidrao2006. Sorry, look like my mistake. Thank you for advise.

No problem


Multipart File Data

How to get multipart file data from request?

Use the BodyParser middleware.  In your route handler you can then access body.asMultiPart, if the request's body was indeed multi-part, you get an array of Part, each of which will represent a part in the multi-part form payload.

Ok it is working as expected...Thanks


Failing build due to mysql databse not existing

Could be solved by creating a try except block in the test that checks if connection status code is 200 else handle exception

https://github.com/COMMANDO2406/CSVtoMySQL/pull/8


Issue with decoding the following viewstate

Hello there,
I'm not familiar AT ALL with viewstate but I needed to decode some viewstate from scrapping.
I have viewstate that seems to be valid as it works with http://viewstatedecoder.azurewebsites.net/
but it doesn't with the library.
It raise an exception:
ViewStateException: Unable to parse remainder of 64615 bytes b'\n\x91\x01\x1e\x04Text\x051<b>Vous n'

Thanks for your time.
Here's the b64 encoded viewstate: https://gist.github.com/yuvadm/09524e56f2c6376e726d4f5b8c87be39

Looks like there's a problem with this item (in an array) \n\x91\x01 that according to the online decoder maps to Color: Color [Salmon]. I can't find an immedaite reference for kind of markers 0x0a is, and how to parse the subsequent two bytes. Will look into this.

In the meantime, I might just add support for the 0x0a marker with an unknown color value, so that parsing doesn't bork on these values. Expect a fix in an upcoming v0.3 release.

Ok, I'll test is as soon as it's released :).

@Gargam fixed on v0.3 branch, release still pending

@yuvadm Tks, it's now working without any break :).
I see that you had support for another string 0x05 (that was causing some trouble later on when working on a fix of my own).
Nice coincidence that one of the only projects to deal with viewstate is in Python and so young.

I've actually been thinking about the idea for a few years, but other stuff got in the way :) Now got some motivation to actually implement most of the logic.
Thanks for the issue! Please let me know if you bump into any other problems, more samples are always welcome.


Feature/add support for carbon footprint export

This adds another module to the Gcp meshPlatform, that will create a bigQuery dataset and configure a carbon footprint export to it.

@stomm added you fyi as well

Looks like a nice addition. Just a comment about it being optional/or not.
Can you also re-apply ./generate_tf_docs.sh so the TF docs are updated? We'll have to add these in a contributing guide at some point.

I created the file by hand bc I did not know the script before, will do it accordingly. thanks for the hint :+1:


Pin PyYAML for testing

(message created by the CI based on PR content)

@lmazuel I noticed azure-cli pinned pyyaml==4.2b4 not sure if that ends up causing a problem?

@stefangordon Since this PR, I unpinned it here: https://github.com/Azure/azure-sdk-for-python/pull/2841
SDK is using PyYAML for testing only, and once everything is recorded with Py3.x, the version of PyYAML doesn't matter anymore.
CLI is using PyYAML for testing and for help generation. Also, the only version compatible with Py3.7 is PyYAML 4.x. In order to ship CLI for Py3.7, there is no other way than to min the 4.x version.
TL;DR; current status is ok :)

Got it.  Thank you.

Oh, I guess they are also releasing 3.13 for 3.12 back compat + 3.7 compat
https://github.com/yaml/pyyaml/issues/126#issuecomment-402194635
Doesn't really change much, but interesting.


Problem when trying to updateAction

Hello, i have a problem in submitting my action. In fact, i have this error :

FatalErrorException: Error: Call to a member function setContext() on a non-object in C:\wamp\www\Rse\vendor\stephpy\timeline-bundle\Driver\Doctrine\AbstractTimelineManager.php line 51

we can read this
$timeline
            ->setType($type)
            ->setAction($action)
            ->setContext($context)
            ->setSubject($subject)
        ;
if I change the setting order example like this :
$timeline
            ->setContext($context)
            ->setSubject($subject)
            ->setType($type)
            ->setAction($action)
        ;
it work !! But us you know we can't change the method of imported vender.
Please i need your help.

Hi,
setAction method return $this. It seems you overrided this method and forgot to return $this. No ?

Thank you , it works :+1:


Periodically test the release process

The release action currently only runs when a tagged commit is pushed. We should instead run it on most (all?) commits, but only upload the result for a tagged commit. This would ensure that we catch regressions in the release process before the release PR.

I've thought more about what it is I actually want to be able to do, and the main thing is to be able to trigger a "release workflow" that doesn't actually upload the release. Secondary to that would be periodically running the release workflow (ideally no more than once per commit, unlike e.g. the security audit workflow). I'd rather not run on all commits, because that also means running the release process inside every PR, which would double the CI runtime.


Not working at Grafana V6.7.2

Hi,
This datasource not working at Grafana 6.7.2 with elasticsearch backend
[edited]

Just tried out but no luck
Regards,
Fadjar340

The value of the query option is the refid of the basic query
In your case, the value of the query should be filled in "A"

Still no luck.....

DataSources select CompareQueries

Already:

And the result:

YESSSS......
Working as expected...
The problem is in the step of the datasource selection..
BTW, thank you for the execelent panel....
Regards,
Fadjar Tandabawana


integrate AssemblyScript to write smart contract

Grant Application
This application is (select one):

[x] Speculative (use this by default)
[ ] an RFP response

This application is (select one):

[x] Public (fully)
[ ] Public with private finances

Abstract
Subscript is a smart contract language written in AssemblyScript for substrate based chain. We will provide essential substrate api and builtin tools to support contract development.
Checklist

[x] The grants document has been read and understood.
[x] The Google Form will be completed accurately. Note that the Google Form requires the pull request URL.
[x] Abstract (above) is succinct and complete.
[x] The application is being included into the correct directory: either 'targeted' or 'speculative'.
[x] The application includes a project description.
[x] The application includes all names of team members.
[x] The application includes a description of the team's experience.
[x] The application includes all necessary links (e.g. GitHub and LinkedIn)
[x] The "Development Roadmap" section in the application has a timeline of development ("milestones").
[x] The "Development Roadmap" section in the application has an estimate of funds required.
[x] The "Development Roadmap" section gives an indication of the team's long term plans.
[x] The "Development Roadmap" section includes documentation as a deliverable for at least one milestone.

@synote Thanks for the application.
I have a few comments:

Could you expand on integration with substrate node part please? How do you envision such a tool would work?
For each milestone, please include a deliverable that covers:

unit tests for that milestone's scope
a full test (integration) that demonstrates how the added smart contract functionality actually works, when deployed on a local substrate node

Thanks!

To clarify milestone4:
integration with substrate node : we will provide some substrate cli options to deploy and call the Subscript compiled contract with substate node.
We may apply for open grant programe for our milestone 1 to start our assemblyscript project. The first milestone will implement all the basic contract runtime api and we will show the assemblyscript sdk package.

In addition to my comment in Open Grants Proposal, there's another thing I notice. It will make sense to move the implementation of the SCALE codec from Milestone 3 to Milestone 1.
All Types and data structures used for in Substrate ad Polkadot can (and must) be described as one of the types implemented in SCALE, so it does not make sense to implement core types like AccountId, Balance, Hash, Block without using Limechains as-scale-codec.

LimeChain's as-scale-codec can speed up our development. We may import as-scale-codec directly in our implementation.

w3f/Open-Grants-Program#61

w3f/Open-Grants-Program#61

Open grant signed: https://github.com/w3f/Open-Grants-Program/pull/61


How to add DateTime to the new record?

I want to add DateTime to newRecord[0] = DateTime.Now;
Which is not working, in valid cast error?

In SPSS DateTime seems to be stored as number of seconds from start of the Gregorian calendar.
So you can use a function like this to calculate the value:
double GetSpssDateTimeValue(DateTime value)
{
	// SPSS uses this date as its zero date
	DateTime epocStart = new DateTime(1582, 10, 14, 0, 0, 0, DateTimeKind.Unspecified);

	return value.Subtract(epocStart).TotalSeconds;
}

Then use code like this to set the variable value:
newRecord[0] = GetSpssDateTimeValue(DateTime.Now);

A datetime variable definition looks something like this
new Variable("StartDate")
{
	Label = "Start",
	Type = DataType.Numeric,
	Width = 20,
	PrintFormat = new OutputFormat(FormatType.DATETIME, 20),
	WriteFormat = new OutputFormat(FormatType.DATETIME, 20),
}


Move remarks from parameter table of Range property

Also, rewrite the parameter table and remarks. Add an example comparing Range, Union, and Intersect.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/worksheet-range-property-excel.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/worksheet-range-property-excel.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

All content in this repository has been migrated to a new repository (https://github.com/MicrosoftDocs/VBA-Docs). The changes in this PR have been applied in the new repository, so this PR is being closed. The changes will be published to the live docs soon. Thank you for your contribution!


Parent Collapsible does not dynamically calculate height for any nested Collapsible(s)

I currently have a collapsible view with style { flex: 1} and another collapsible within it. When the inner collapsible is expanded the height of the outer collapsible view does not increase/adjust.

same problem

💯 i solved that by Calculate the Height the Child view of Collapsible, and create a new state that will hold that height to use it in attribute height of Collapsible Component.
const [calculatedHieght, setCalculatedHieght] = useState();

declare an event that will Calculate the hieght :
 const onLayout=(event)=> {
        const {x, y, height, width} = event.nativeEvent.layout;
        console.log("~~~~~~ height = ", height);
        setCalculatedHieght(height + 20)
 }

use our state that hold the calculated hieght :
<Collapsible collapsed={!variantes[0].collapsed} style={{width: '100%', height: calculatedHieght}} >

and also set onLayout event in the child view of Collapsible component :
<View style={{width: '100%', padding: 7,}} onLayout={onLayout}>