Prometheus 2.0 docs needed

A bug to collect together all the big/small stuff we'll need to update in the docs for 2.0

New timestamp() PromQL function

New staleness handling

New storage settings

New rules and CLI flags.
Also, we need to figure out versioned docs.

New admin/lifecycle flags, and also update security model.

More of a changelog thing, but console template examples have been cut down.

Removal of drop_common_labels, count_scalar and keep_common.

What is the equivalent for keep_common in Prometheus 2.0+ ?

What is the equivalent for keep_common in Prometheus 2.0+ ?

Set the labels you want to keep in your by or exclude them in your without.

I think it's just new storage and flags that need doing now, the rest are done or have PRs out.

should the v2/ or v2/admin api be documented?

It should be

https://prometheus.io/docs/prometheus/latest/querying/basics/#staleness is outdated

The staleness docs are up to date.

If no sample is found (by default) 5 minutes before a sampling timestamp, no value is returned for that time series at this point in time. This effectively means that time series "disappear" from graphs at times where their latest collected sample is older than 5 minutes or after they are marked stale.
Staleness will not be marked for time series that have timestamps included in their scrapes. Only the 5 minute threshold will be applied in that case.

I'm pretty sure that part is not up to date. And @SuperQ agrees: https://groups.google.com/d/topic/prometheus-users/2DDL7FKMeVk/discussion

That's up to date, it mentions being marked stale. See the previous paragraph also.

There are rules around staleness marking that seem to be missing from the documentation.

If a target is removed, its previously returned time series will be marked as stale soon afterwards.

"soon" is not specific enough, it would be nice to have a paragraph that covers the information presented in the PromCon talk.

That's a pretty subtle implementation detail that I'd rather not get into in the docs, as it'd likely confuse more than explain.


Link "Search Data" to the Data Portal search interface

The "Search Data" button on the home page, and menu item, should probably link directly to the advanced search interface of the EDI Data Portal rather than the "Finding Data" page. The Data Portal search interface handles the vast majority of use cases and the "Finding Data" page provides extra help if anyone needs it.

Done with https://github.com/PASTAplus/web-x/commit/8022456dd530212d61a091b40084141a13a7939e


Detail what derivatives are

Task
As a user I would like a primer on what derivatives are, what vega does, what the benefits are and why I should make a trade (i.e. to speculate) - Link to https://vega.xyz/key-concepts
ACs

Closing as nice to have - may be reopened later
Design needed

Closing this as Console-lite is on hold indefinitely


(mongo-bundle) Add a countRelation type of fields

Is your feature request related to a problem? Please describe.
It many cases, we want to count the number of related document without fetching them.
Describe the solution you'd like
This might be easy to integrate in the aggregation queries, though a question is raised : how do we filter the count ?

counting local reference (like an array of foreign ids) is straightforward, but what if we want to count a filtered version of them ?
counting distant referene that holds our local doc _id is not as straightforward as just getting the $size of a local array, but would always use the same method (lookup), making filtering easier.

Documentation please, tests, and export it directly "createCountReducer" instead through ReducersToGo

Documentation please, tests, and export it directly "createCountReducer" instead through ReducersToGo

Doing some cleanups. This is achievable by hooking into the pipeline and using $size, an example exists in the docs.


Decode extraData key from block header

Decode extraData key from block header
Description
I am trying to decode the extraKey field of the header of a block to find out the proposer of that block but I am finding it impossible.
I try to do this because of what they say in the documentation:

The information about the proposer of the block can be found by recovering the pubkey from the Seal field of the RLP encoded Istanbul extra data field in the block headers.

Your environment

OS and version. macOS 12.6
The version of the Polygon Edge.  v0.6.1
Locally or Cloud hosted (which provider). Locally

Steps to reproduce
Here is the script that I made:
package main

import (
    "fmt"
    "os"
    "github.com/0xPolygon/polygon-edge/types"
)

func main() {
    header := &types.Header{}
    header2 := types.Header{}
    by, err := os.ReadFile("./tmp_data.json")
    if err != nil {
  	  panic(err)
    }
    err = header.UnmarshalJSON(by)
    if err != nil {
  	  panic(err)
    }
    buf := header.MarshalRLPTo(nil)
    err = header2.UnmarshalRLP(buf)
    if err != nil {
  	  panic(err)
    }

        fmt.Println(header2)
}

I import the functions directly from the package types
The file tmp_data.json contains a json with a header data
Expected behavior
Decode extraKey field and get the block proposer.

Hi @AgusVelez5 ,
Thank you for opening this issue.
To obtain the actual proposer you would indeed need to extract the info from the extraData field. Unfortunately, at the moment we do not have an RLP decoder to help you with this. I will check this out and probably give you an update next week, if we can provide anything for this or not.

Hi @laviniat1996, thanks for the reply
I understand, I will wait for your answer then. One more question, although you do not have your own implementation of the RLP decoder, would you have any idea if there is any implementation of someone else or something I could look at in the meantime?

Hi @AgusVelez5 ,
Trying to help out with this. Could please let us know if you need this info for a certain purpose or just to see, out of curiosity, who's the proposer?

Hi @laviniat1996,
I want to get the proposer because I am doing several stress tests on different networks (created with polygon-edge) and one of the data I want to get is which node took the fees of each block.
I was looking at this discussion but it was not very helpful.

For those who encounter the same problem, I leave an example of how to do it in this repo.

@AgusVelez5 Thank you for your contribution, and we point out other users to the repo link that you include!

Hi @AgusVelez5 ,
Thank you for opening this issue. To obtain the actual proposer you would indeed need to extract the info from the extraData field. Unfortunately, at the moment we do not have an RLP decoder to help you with this. I will check this out and probably give you an update next week, if we can provide anything for this or not.

Hi there, do you have any plans to include the decoder functionality soon?


npm installation version problem

Hi,
I use a fresh react native project in version 0.64
When installing react-native-usb-serialport I encountered a dependency error :
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react-native
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-native-usb-serialport
npm ERR!   react-native-usb-serialport@"*" from the root project
How Can I resolve this error ? I'm new in react Native.
Is the 0.59 version is important ? or can I patch the package.json to accept 0.64 version of react Native ?

According to npm semver rule, ^ is compatible with 0.59.0 and 0.64.2, so this issue strange.
I just run
react-native init foobar --version 0.64.2
cd foobar
npm install react-native-usb-serialport

and no problem.
Only npm WARN
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

No npm ERR!
My env:
Linux
npm 6.14.4
node v10.15.3

What's your env?
And, more important, what's your npm config list?

my env is
npm 7.5.6
node V12.13.1
I had just try to switch to the same version like your env, but I have error too (different) : npm 6.9 and node v10.15.3
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=12". Got "10.15.3" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. (node:27152) UnhandledPromiseRejectionWarning: Error: Command failed: yarn add<EMAIL_ADDRESS>   at makeError (/home/jfg/perso/reactnative/test/rnvtest/foobar/node_modules/execa/index.js:174:9)     at Promise.all.then.arr (/home/jfg/perso/reactnative/test/rnvtest/foobar/node_modules/execa/index.js:278:16)     at process._tickCallback (internal/process/next_tick.js:68:7) (node:27152) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:27152) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
npm config list :
`; "user" config from /home/jfg/.npmrc
//registry.npmjs.org/:_authToken = (protected)
registry = "https://registry.npmjs.org/"
; "cli" config from command line options
omit = []
user-agent = "npm/7.5.6 node/v12.13.1 linux x64"
; node bin location = /home/jfg/.nvm/versions/node/v12.13.1/bin/node
; cwd = /home/jfg/perso/reactnative/test/rnvtest/test7
; HOME = /home/jfg
; Run npm config ls -l to show all defaults.
`
in my env node12, I just try to do your same commands,
react-native init foobar --version 0.64.2 => ok
npm install react-native-usb-serialport => KO
same problem as previously mentionned
Probably I do something wrong, but I don't understand what  I'm new in React Native, but this step seems to be simple
Thanks for your help

Ref to https://github.com/lostpebble/pullstate/issues/101#issuecomment-792260716 , you can try
use npm version which is below 7

or
npm install react-native-usb-serialport --legacy-peer-deps

and tell me the result.

with legacy-peer-deps, it seems to install

According to npm semver rule, ^ is compatible with 0.59.0 and 0.64.2, so this issue strange.

Unfortunately because react native is still version 0, minor versions are considered to be incompatible with each other even when the ^ is used


Create admin account

Hi,
I love this project and I got it all working, except for the create admin user part.
I ran the command to create a new user (npm run create-user) and I get the response that my user is created.
When I go to my admin login page, it says my login has failed.
I have created a db call checkpoints, do I need to set something else up?
Is there something that I am missing?
Thanks,
Pim

Hi again,
I tried to install it on https://covidtracerrandc.herokuapp.com/ and again, it works, but I can't login as I can't access the admin page.

I am totally lost.
Kr,
Pim

Hi Pim,
Sorry that you're having a hard time with the admin user. One thing to try is adding retryWrites=false to the end of the mongodb url as a query parameter. So, if there is already something in the url like ?somekey=somevalue, then you would add &retryWrites=false. If there are currently no query parameters in the url, you would add ?retryWrites=false.
Please feel free to email me at<EMAIL_ADDRESS>and I can troubleshoot further with you.


Vary Strong + Remix

the code that reproduces this issue or a replay of the bug
const { Midjourney } = require("midjourney");

async function main() {
    const client = new Midjourney({
        ServerId: '<server>',
        ChannelId: '<channel>',
        SalaiToken: '<token>',
        Ws: true,
    });

    const prompt1 = "A red boat --version 5.2 --turbo";
    const prompt2 = "A red boat with a big sail --version 5.2 --turbo";

    try {
        await client.init();

        const imagineResult = await client.Imagine(prompt1);
        const upscaleResult = await client.Upscale({
            index: 1,
            msgId: imagineResult.id,
            hash: imagineResult.hash,
            flags: imagineResult.flags,
        })

        const varyStrong = upscaleResult.options.find(option => option.label === "Vary (Strong)");

        await client.Custom({
            msgId: imagineResult.id,
            content: prompt2,
            flags: imagineResult.flags,
            customId: varyStrong.custom,
        });
    } catch (err) {
        console.error(err);
    } finally {
        client.Close();
    }
}

main()
    .then(() => console.log("done"))
    .catch(err => console.error(err));

Describe the bug
Describe the bug
I try to invoke a custom action, using the Custom API, in Remix mode, on an Upscaled image.
The specific actions I tried to do this on are Vary (Strong) and Vary (Subtle).
I specifically need to invoke this on the Upscaled image and have control on the Strong/Subtle options.
Model version is 5.2.
Getting the error:
Error: CustomApi failed with status 400
    at Midjourney.Custom (remix-example/node_modules/midjourney/libs/midjourney.js:216:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async main (remix-example.js:36:9)

Expected behavior
Apply the Vary (Strong) action on the Upscaled image indexed 1, including the provided prompt.
Additional Info
If I use the V1 action on the Imagined image (rather than the Upscaled) it works.
My midjourney is
    "midjourney": "^4.3.13"

error log
api.error.config {
  payload: '{"type":3,"nonce":"<REDACTED>","guild_id":"<REDACTED>","channel_id":"<REDACTED>","message_flags":0,"message_id":"1179458619717201971","application_id":"<REDACTED>","session_id":"<REDACTED>","data":{"component_type":2,"custom_id":"MJ::JOB::high_variation::1::5798b9cb-2a9a-40d0-b1e2-fb0b12cd955e::SOLO"}}',
  config: {
    BotId: '<REDACTED>',
    ChannelId: '<REDACTED>',
    SalaiToken: '<REDACTED>',
    ApiInterval: 350,
    SessionId: '<REDACTED>',
    Debug: false,
    Limit: 50,
    Ws: true,
    MaxWait: 200,
    ImageProxy: '',
    DiscordBaseUrl: 'https://discord.com',
    WsBaseUrl: 'wss://gateway.discord.gg/?encoding=json&v=9',
    fetch: [Function: fetch],
    WebSocket: <ref *1> [class WebSocket extends EventEmitter] {
      CONNECTING: 0,
      OPEN: 1,
      CLOSING: 2,
      CLOSED: 3,
      createWebSocketStream: [Function: createWebSocketStream],
      Server: [class WebSocketServer extends EventEmitter],
      Receiver: [class Receiver extends Writable],
      Sender: [class Sender],
      WebSocket: [Circular *1],
      WebSocketServer: [class WebSocketServer extends EventEmitter]
    },
    ServerId: '<REDACTED>',
    Remix: true
  }
}

This isn't the issue exactly. Opened a more accurate Issue.


Centre logo item inside semantic menu

Hi, how can I go about centering a item (a company name for example) inside a navbar? I need the company name to be horizonally centered on the page, not just in the middle of the navbar div.

Hi @Virushaan,
Thank you for posting, but although it’s a valid usage question, we’ve limited GitHub Issues to bug reports and feature requests, keeping the board more manageable for maintainers; see the contributing guidelines for more information on what kind of posts should find themselves into the GitHub Issues board.
To get answers or feedback that might allow you to repost or reopen this issue, please use one of our other support resources:

Gitter chatroom
Official forums
StackOverflow


added Dutch translation

Hi there, as there was no Dutch translation yet for Centaurus, I added one.

I make a new one from branch


Different css rendering after update from pisa to xhtml2pdf

There is a difference in rendering of width when updating from pisa 3.0.33 to xhtml2pdf 0.2.3.
Example:

    <title>None</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

                Foo
                Bar

Rendered by pisa: pisa.pdf
Rendered by xhtml2pdf:xhtml.pdf
Difference: diff.pdf
Chrome and Firefox are rendering this html the same as pisa.

It seems the bug is in if cols_with_no_width condition, xhtml2pdf/tables.py:189.
Removing this condition solves this issue.


Add Padding to Content to Show Last Item

With the height of the sth-select-content being managed by jquery, the panel needs to recompensate for the remaining 50px. Adding a padding-bottom of 50px fixes the issue and also will not affect the list if the list is longer than the example provides. Hope you like!

Hello @mcastre
Great commit, bro! You notice a good point.
The point is that, as you said, the content's height is managed by jQuery. The problem, in fact, occurs because, when there is filter available, the content's height ignores it and calculates its size in a wrong way.
Your solution works good when the popup has a filter, but doesn't work so well when there is no filter. In this case, we have an empty space in the bottom.

@StanleySathler thats no problem at all! I did have a question however. If there are no filters, would it be wise to even allow the popup to display? Wouldn't it just display an empty popup?

Helloooo @mcastre
I'm really, really sorry about taking too long to answer you. I didn't see this message in my notifications list before.
I'm not sure if I understood your question correctly, so let me know if I'm not answering exactly what you asked.
But as far as I know, when there is no filter - that is, the filter field is empty - all items are shown in the list.


Support multiGet

Have you tested this? Are there unit tests?

I did tested it in the Erlang console.
And ya, I will add more unit tests to the existing code base for testing the new get_multi thing.


Start implementing new iterations

Description
A clear and concise description of what the problem is or how is this feature missing.
Possible Solution(s)
A clear and concise description of what you want to happen.
Objectives
Please specify what the finished feature should accomplish (one or more objectives):

[ ] Implement iterations by 04/29/2024 or new sprint starting date, whichever is first.
[ ] Add issues corresponding to sprint, despite overall completion of issue #27

Additional Context
Add any other context or screenshots about the feature request here.

Blocked by:

#28
#29

Blocked by:

#31

I have assigned all items to their respective iterations. All issues have been assigned to Sprint 1, given that their original calendar-based iteration could not be assigned an equivalent Development Board iteration value.
Roadmap was accurately depicted based on issue creation date for their Start Date value, and for their Target Date value, either their completion date or Sprint 1 end date (05-12-2024) was assigned.


Issues between local denokv DB and KV Connect

I am receiving this error when connecting to deno KV database from deno deploy:
Error: Enqueue operations are not supported in KV Connect.
All works fine against a local db on file system.
Based on the docs i read, it seems like this should work on deno deploy as well.
Code start at line 110 of this file:
https://github.com/fathym-deno/everything-as-code/blob/integration/routes/api/eac/index.ts

Can you please describe your project structure? Do you have a listenQueue handler in one Deno Deploy project? and you're trying to enqueue from another Deno Deploy project?

No, everything is in the same project. The index file i linked to is where it starts, and the handler is here:
https://github.com/fathym-deno/everything-as-code/blob/integration/handlers/eac/commit.handler.ts
The helper methods are here:
https://github.com/fathym-deno/everything-as-code/blob/integration/src/utils/deno-kv/helpers.ts
Additional handling for the checks are here:
https://github.com/fathym-deno/everything-as-code/blob/integration/handlers/eac/commit-check.handler.ts
Let me know if you need anything else.

In Deno Deploy, you don't need to use KV connect to interact with a KV database. You can just do Deno.openKv() and it will use the default KV database in your project.
Queues are currently not supported in KV connect protocol.

Is there a timeline for KV connect protocol support?  We deploy our deno apps outside of Deno Deploy.

It's on the roadmap. Do you want to only enqueue and dequeue outside of Deno Deploy? Or just enqueue from outside, but have listenQueue in Deno Deploy?

Looking to do both outside at this point

Wanted to check in on this and see what the roadmap looked like for this.


update credits getCredits function url

line 444: update to following working url:
url: "movie/" + options.id + "/credits" + theMovieDb.common.generateQuery(options)

Hi, I have checked the API docs and we have:
Credits:
http://docs.themoviedb.apiary.io/#reference/credits/creditcreditid/get
Movie/Credits:
http://docs.themoviedb.apiary.io/#reference/movies/movieidcredits/get
I think is ok as it is, could you recheck?
Thanks!


loosen content-type restriction on public endpoint detection

This change loosens the content-type restrictions from aiohttp when detecting the public endpoint. This handles servers which serve the .well-known records with the wrong, or multiple, content-type headers.

LGTM, thanks!


Should add the website of the project on connectors

I think should have the link of the website of the connector, like: https://umbrel.com/ on this page:

I will try to work on this. Seems pretty straightforward. Will be my first commit to open source projects ever

@Cheapshot003 yeah nice! let me know if you need help getting started.
I think those screens are in here: https://github.com/getAlby/lightning-browser-extension/tree/master/src/app/screens/connectors

Already found them and had a look at them. My naive approach would be to just add a hyperlink to the title like this:
title="Connect to your Citadel Node"
I still need to figure out how to run this thing with my changes. Yarn says "No such file or directory "install" when I try to install the packages

It's added


Add MQTT to motion Detect

Just publish to topic, no message, homebridge/motion/Camera_name.
You must add _ to your camera if you have space in the name.
{   "platform": "Camera-ffmpeg",   "mqtt": "<IP_ADDRESS>",   "topics": "homebridge/motion/#",   "portmqtt": 1883,   "cameras": [     {       "name": "Camera name",       "motion": true,       "videoConfig": {         "source": "-re -i http://<IP_ADDRESS>",         "stillImageSource": "-i http://<IP_ADDRESS>",         "maxStreams": 5,         "maxWidth": 1280,         "maxHeight": 720,         "maxFPS": 15,         "maxBitrate": 1000       }     }   ] }

Yes you can merged
I try on local it's ok

Okay it is in the latest Beta. I will see if others test it first before releasing. Thanks!


CDPCP-9937 Datalake schema clean up

Removed unnecessary fields (credential, region, cloud storage base), unified field name for cloud storage. Regenerated docs

@jimright This will likely introduce a breaking change for the cdp_deploy module (we are standardising storage location naming). Please expect this change in provider version 0.2.0-pre.


Disallow empty strings for username & email in Patch User

fixes #1340

[test]

My comment is not something that needs to be done now, but it would be nice to have a unified syntax for returning JSON errors, and I think that the users controller is one of the last ones that uses the goa.ErrXXX() functions.

[test]

Codecov Report

Merging #1341 into master will increase coverage by 0.02%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #1341      +/-   ##
==========================================
+ Coverage   60.06%   60.08%   +0.02%
==========================================
  Files         118      118
  Lines       10690    10706      +16
==========================================
+ Hits         6421     6433      +12
- Misses       3636     3640       +4
  Partials      633      633

Impacted Files
Coverage Δ

controller/users.go
76.99% <75%> (-0.1%)
:arrow_down:

Continue to review full report at Codecov.

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


Use chainsop to manage process execution

This uses the new chainsop package (https://github.com/kquick/chainsop) to execute a chain of operations, extracting that code management from the core of build-bom and making it independently handled.
The chainsop documentation is readable via the link from that github page.  All comments and criticisms of chainsop itself are welcomed as well.
There are other modifications and cleanup that will follow this PR, but this is the primary switchover to chainsop.  This replaces #48 with a better approach; I will close #48 and it's dependent PR's after a determination on this one.

I believe I've addressed everything, so I resolved most conversations, but feel free to unresolve if needed.


PR# 217 didn't fix issue with imjournal for EL 6

Oct  5 22:26:41 node1 rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="3998" x-info="http://www.rsyslog.com"] start
Oct  5 22:26:41 node1 rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Oct  5 22:26:41 node1 rsyslogd: the last error occured in /etc/rsyslog.conf, line 40:"$imjournalStateFile "
Oct  5 22:26:41 node1 rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Oct  5 22:26:41 node1 rsyslogd: the last error occured in /etc/rsyslog.conf, line 41:"$imjournalIgnorePreviousMessages "
Oct  5 22:26:41 node1 rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Oct  5 22:26:41 node1 rsyslogd: the last error occured in /etc/rsyslog.conf, line 42:"$imjournalRatelimitInterval "
Oct  5 22:26:41 node1 rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Oct  5 22:26:41 node1 rsyslogd: the last error occured in /etc/rsyslog.conf, line 43:"$imjournalRatelimitBurst "
Oct  5 22:26:41 node1 rsyslogd-2124: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]

# Settings for imjournal (If supported)
$imjournalStateFile
$imjournalIgnorePreviousMessages
$imjournalRatelimitInterval
$imjournalRatelimitBurst

same on debian, looks like the undef checks in the erb are wrong
from https://docs.puppet.com/puppet/latest/reference/lang_template_erb.html#testing-for-undefined-variables
Also, note that Puppet’s special undef value becomes Ruby’s special nil value in ERB templates.

I've created #235 which includes a test for this  as well.

Can you give the current master a try, if this issue is resolved now, please?

Same running module 4.0.3
├── saz-limits (v2.3.0)
├── saz-resolv_conf (v3.0.5)
├── saz-rsyslog (v4.0.3)

/var/log/messages - when restarting rsyslog service
Nov  3 23:10:40 <server_name> kernel: Kernel logging (proc) stopped.
Nov  3 23:10:40 <server_name> rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="2272" x-info="http://www.rsyslog.com"] exiting on signal 15.
Nov  3 23:10:41 <server_name> kernel: imklog 5.8.10, log source = /proc/kmsg started.
Nov  3 23:10:41 <server_name> rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="2929" x-info="http://www.rsyslog.com"] start
Nov  3 23:10:41 <server_name> rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Nov  3 23:10:41 <server_name> rsyslogd: the last error occured in /etc/rsyslog.conf, line 40:"$imjournalStateFile "
Nov  3 23:10:41 <server_name> rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Nov  3 23:10:41 <server_name> rsyslogd: the last error occured in /etc/rsyslog.conf, line 41:"$imjournalIgnorePreviousMessages "
Nov  3 23:10:41 <server_name> rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Nov  3 23:10:41 <server_name> rsyslogd: the last error occured in /etc/rsyslog.conf, line 42:"$imjournalRatelimitInterval "
Nov  3 23:10:41 <server_name> rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
Nov  3 23:10:41 <server_name> rsyslogd: the last error occured in /etc/rsyslog.conf, line 43:"$imjournalRatelimitBurst "
Nov  3 23:10:41 <server_name> rsyslogd-2124: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]

/etc/rsyslog.conf
# Settings for imjournal (If supported)
$imjournalStateFile
$imjournalIgnorePreviousMessages
$imjournalRatelimitInterval
$imjournalRatelimitBurst

Can you try it with the current master?
-saz
Sent using Boxer
On 4 Nov 2016 12:20 AM, phamp008<EMAIL_ADDRESS>wrote:
Same running module 4.0.3
├── saz-limits (v2.3.0) ├── saz-resolv_conf (v3.0.5) ├── saz-rsyslog (v4.0.3)
/var/log/messages - when restarting rsyslog service
Nov 3 23:10:40 <server_name> kernel: Kernel logging (proc) stopped. Nov 3 23:10:40 <server_name> rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="2272" x-info="http://www.rsyslog.com"] exiting on signal 15. Nov 3 23:10:41 <server_name> kernel: imklog 5.8.10, log source = /proc/kmsg started. Nov 3 23:10:41 <server_name> rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="2929" x-info="http://www.rsyslog.com"] start Nov 3 23:10:41 <server_name> rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ] Nov 3 23:10:41 <server_name> rsyslogd: the last error occured in /etc/rsyslog.conf, line 40:"$imjournalStateFile " Nov 3 23:10:41 <server_name> rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ] Nov 3 23:10:41 <server_name> rsyslogd: the last error occured in /etc/rsyslog.conf, line 41:"$imjournalIgnorePreviousMessages " Nov 3 23:10:41 <server_name> rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ] Nov 3 23:10:41 <server_name> rsyslogd: the last error occured in /etc/rsyslog.conf, line 42:"$imjournalRatelimitInterval " Nov 3 23:10:41 <server_name> rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ] Nov 3 23:10:41 <server_name> rsyslogd: the last error occured in /etc/rsyslog.conf, line 43:"$imjournalRatelimitBurst " Nov 3 23:10:41 <server_name> rsyslogd-2124: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]
/etc/rsyslog.conf
Settings for imjournal (If supported) $imjournalStateFile $imjournalIgnorePreviousMessages $imjournalRatelimitInterval $imjournalRatelimitBurst
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I don't understand your question, our Puppet server is pulling update from latest greatest version
  "name": "saz-rsyslog",
  "version": "4.0.3",
  "author": "saz",
  "summary": "Manage rsyslog client and server",
  "license": "Apache-2.0",
  "source": "https://github.com/saz/puppet-rsyslog.git",
  "project_page": "https://github.com/saz/puppet-rsyslog",
  "issues_url": "https://github.com/saz/puppet-rsyslog/issues",

This should be fixed in v5.0.0

@saz  thank you ! I confirmed issue is resolved


Deploy and pass cEUR governance proposals on private testnet for cEUR (without oracles)

There should be two proposals:
1st, Oracles activation and freeze:

Enable oracle address (this accounts should be funded and under control so they can report)
Should include a long oracle expiration for cEUR and a minimum report of 1. So a dummy oracle can be enough for testing.
Freeze stableTokenEUR and exchangeEUR

After this proposal was passed, it should be safe to report a CELO/EUR price.
2nd, Oracles activation and freeze:

Everything that was removed from the migrations not included in the 1st proposal on this issue, see #6917
Unfreezing stableTokenEUR and exchangeEUR

Please note that the oracles included in this proposal needs to be available to use and funded for them to be able to report.

See parent epic: https://app.zenhub.com/workspaces/platform-economics---backlog-board-600a9f7399b43a001348ae1b/issues/celo-org/celo-monorepo/6162


attempt to add cache config in github actions

WIP: let it build to check if it works

Doesn't seem to be working. Investigating

I don't see the cache action run in the build logs so it's definitely not working

Remove test-deploy.yml, instead disable gh-pages publishing using https://github.com/microsoft/jacdac-docs/blob/main/.github/workflows/build.yml#L30


Generate doc for 2.7.5

Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[ ] doc-not-needed
(Please explain why)

[x] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

@Anonymitaet starting from 2.8.x, we don't need to do so, but for 2.7.5, I think the doc set needs to be generated because we don't have one for 2.7.x.
I've included the changes to the release process in https://github.com/apache/pulsar/pull/17130.

@Jason918 may I know when 2.7.5 will be released and announced?


Event ordering

Today the /messages endpoint documentation does not say anything about the
ordering of the events. /sync hints at one possible ordering method:

Events are ordered in this API according to the arrival time of the event on
the homeserver. This can conflict with other APIs which order events based on
their partial ordering in the event graph.

The current concept of ordering based on event graph is not ideal for the following reasons:

It's not clearly documented

Which event is picked when an event has multiple prev events?
What happens if a prev event is not known to the server
What happens if an event has no prev events, or builds a circle of prev events
or is it's own prev event. This is not checked in the federation api.

You can't notify the client about updates

Clients might cache events from /messages, but this list of events could be
incomplete because we don't know about events of a fork
/sync can't be used to send these updates because it's response will be limited
if there are too many events

Possible solution:
/messages uses the same order as /sync, which is the order at which events
arrive at the server, not sorted at all.
This has the advantage of being a lot simpler and therefore doesn't have many
edge cases.
A problem is that Matrix events often arrive in batches from other servers, so
conversations might become unreadable because you first see all messages from
one user and then all messages from the other user.
This can be improved by adding more logic in the client (for example sort the
events by timestamp) and by improving the /messages api (maybe it can send prev
events to the client to improve ordering or call /context on them).

This can be very problematic with MSC2716 https://github.com/matrix-org/matrix-doc/pull/2716, because it relies heavily on the ordering of events.

I think this is basically a duplicate of https://github.com/matrix-org/matrix-doc/issues/574.

@richvdh The issue you posted is just about clarifying the current behavior. In this issue I also try to argue why the current behavior should be changed.

related: https://github.com/matrix-org/matrix-doc/issues/474

As said in #spec, I think a proper solution would be an extra parameter on every endpoint that asserts ordering of events, to either receive a "canonical" timeline (as how it'd be ordered in a utopian world where everything is available), or an "as-received" timeline (as how events are received/fetched by the server).


Add more columns to the funding agreement letters export

Changes

Rescue an error we saw on production when an MPs contact details were nil
Add Route and Academy name to the CSV
Do a little refactoring

Checklist

[x] Attach this pull request to the appropriate card in Trello.
[x] Update the CHANGELOG.md if needed.

 Add final columns to the funding agreement letters export


feat(java): Implement global timeout configuration for generated clients.

Description
Support timeout configuration in Java client builder.
Changes Made

Edit ClientOptionsGenerator to support timeout method in generated ClientOptions.
Edit RootClientGenerator to support timeout method during ClientOptions build.

Testing

[x] Unit tests added/updated
[x] Manual testing completed

Once you regenerate the seed snapshots, itll be easy to verify but this looks right to me!


Is there a way to checkout a new branch, aka git co -b dev

Unfortunately I was not able to work out this bit myself nor could I find an example in the code. Is there a way to checkout a new local branch (and also how do I push this new branch)?
worktree.Checkout takes git.CheckoutOptions but if the reference does not exist there seems to be no way to create it first. Alternatively, what would be the way to create a new reference and then checkout normally?

Ok, got it sorted. If you are interested in examples to include I could submit one.

@osklyar How did you get this working? I am having the same problem. I would love to see an example.

@devonmoss See https://github.com/silvertern/xgit/blob/master/client/gitclient.go#L131 followed by https://github.com/silvertern/xgit/blob/master/client/gitclient.go#L195 -- essentially you first check if the branch is available in refs/heads, if yes, use it, if no, check if it exists in refs/remotes, if yes, link it to local one, if no create a new ref.

Thank you. This is excellent.

@devonmoss See https://github.com/silvertern/xgit/blob/master/client/gitclient.go#L131 followed by https://github.com/silvertern/xgit/blob/master/client/gitclient.go#L195 -- essentially you first check if the branch is available in refs/heads, if yes, use it, if no, check if it exists in refs/remotes, if yes, link it to local one, if no create a new ref. The code is currently WIP so I cannot guarantee line numbers remain unchanged :)

These links are now dead.


Add update to val_service_basics FAQ entry (Addresses #2624)

Description
This PR extends the FAQ entry val_service_basics with the update from the blog post https://www.coronawarn.app/en/blog/2021-12-20-cwa-2-15/, as described in #2624.
What was changed

https://www.coronawarn.app/en/faq/results/#val_service_basics
https://www.coronawarn.app/de/faq/results/#val_service_basics

Screenshots

English
German

Fixes #2624

Internal Tracking ID: EXPOSUREAPP-12730

@Ein-Tim
The text additions look fine!

Thanks for reviewing @MikeMcC399!

@MikeMcC399 @Ein-Tim Thanks for taking the initiative! We will take this a further step and remove for the time being the all the content except the first two paragraphs of the article and the last sentence of the second paragraph "The Federal Ministry of Health (Bundesministerium für Gesundheit, BMG) has decided to enable several validation services after appropriate verification."
Also, the following two articles should be removed:
Why do I get the message that there is no suitable certificate?
Why is my certificate not verifiable or not recognized?
@Ein-Tim let us know, if you will adapt the PR accordingly, otherwise we will do it. Many thanks!

@dsarkar
I haven't thought this through in detail, but probably if FAQ articles are to be removed, then a redirect to the remaining article would be better than a complete deletion.

@MikeMcC399 Yes, I agree, the articles should be redirected for the time being.

I will take care of a PR, removing the FAQ entries and adding a redirect.
Is this OK with everyone?

@Ein-Tim Thanks.

@MikeMcC399 & @dsarkar
See PR https://github.com/corona-warn-app/cwa-website/pull/2734.
This PR is replaced by https://github.com/corona-warn-app/cwa-website/pull/2734.


Fixing fixing macos os value

At the moment, when you use device.os on a mac, it returns unknown.
This should fix it to return macos.

@findoo This is wonderful work - thank you very much!

hey @matthewhudson sorry for the bump - any chance on getting this fix released?
Is there anything eager potential contributors can do to help out?


⚠ ClamAV has degraded performance

In 735d5da, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 219 ms

Resolved: ClamAV performance has improved in 9b2df70 after 13 minutes.


textarea newlines not respected

When using minify-html = "0.4.10" from cargo, newlines in <textarea> elements are collapsed, altering the content.
Eg, rendering the string a\r\nb inside a text area:
<textarea>a
b</textarea>

which renders like

when minified is transformed to the html
<textarea>a b</textarea>

which renders like this

I think textarea should probably be treated like code or pre.
This minifier implementation has something similar: https://github.com/martingallagher/html5minify/blob/master/src/lib.rs#L654

Good point, I've made <textarea> a whitespace-sensitive tag. This is fixed in version 0.4.11.

Awesome, feel free to close :)


Inaccurate Current Usage for Matrix > Asset fields and Matrix > Supertable > Asset fields

I might be missing something here but the "Current Usage" for practically all assets on a site that uses matrix fields extensively shows "Unused". The site is a multi-site set up but whether it's the default site, or another, doesn't seem to have an affect (I'm using 2.3.1).
Two examples here but this applies throughout -
Via an asset field within Supertable, within a Matrix:

Via an asset field, within a Matrix:

Yeah, this plugin has been completely unusable for a long time, for a number of reasons. False positives, false negatives, incompatibility with drafts, revisions etc. I'm not sure it's still actually maintained. Which is a shame, as this seems to be the only plugin providing something that all our clients want.

@darylknight the plugin is maintained, but the problems with detecting usage are how much queries we should perform per asset. If we query a lot per asset, the performance of the asset overview would be insanely bad. I did try numerous times to get better numbers, but it's either missing things or resulting in minutes of load time. Feel free to suggest improvements, if you see any.


front end trim text field fixes

In GIL, trim text field(s) before submitting responses

trim text fields on paste event

Looks good, did have one question but nothing major


Feature Request: PayPal Subscriptions

Am I right in thinking that PayPal subscriptions (allow you to setup automatic, recurring payments) is not a function of this? If so, will this functionality be integrated in the future?

Yes, it's not something supported, it only makes normal immediate transactions.
It's not on the radar to support subscriptions, the store doesn't have fields against products to configure things like the billing cycles (to name one of the simpler aspects not handled, there are quite a number of more complex aspects that would have to be considered or added)

No problem I get the complexities here. Thanks for the swift response.

You can still have paid memberships, even without using Paypal subscriptions. Here's how it could be done:

In Concrete5 Members area, set up a group and set it so that the user is automatically removed from the group after a certain amount of time.
Using Community Store, while adding a product, use the Memberships tab to create user account, and here you can add them to the expiring group you created.

Granted, that still doesn't solve the automated recurring payments issue, but at least you'll be able to limit their access.


Feature Request: Support for URL Lists or NMAP/Nessus XML Processing?

Is there any interest in supporting a list of URLs to run gobuster against? I am also curious if you would be interested in allowing an nmap input file. Something like it parses the nmap.xml file for common web ports and kicks off the buster.
Currently when I want to run it against many urls, I throw it in a quick for loop. This is an ok approach but since gobuster traps the SIGINTs and returns a 0 I havent found a way to trap out of the loop.

jeah we can not implement every custom format thus the preferred way is to parse the files externally and run gobuster in a for loop with the correct url


Set tag after upload - please call out why

Please add text to call out, at the top of the article, that you shouldn't set the tag on the upload operation because it isn't guaranteed to persist.

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

ID: 4dff7a68-1256-d7b5-ac28-c25a490fdc88
Version Independent ID: 60245f8f-6c61-91a5-7a86-5531b0e2812b
Content: Use blob index tags to find data in Azure Blob Storage (.NET)
Content Source: articles/storage/blobs/storage-blob-tags.md
Service: storage
Sub-service: blobs
GitHub Login: @normesta
Microsoft Alias: normesta

Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi @diberry I believe that you might be referring to "page blobs" which the dev guide doesn't target. Tags added on upload for block blob are totally supported as far as I can tell. In fact, as you've already reviewed, we have a code example in the upload guide that uploads with tags. If that scenario were truly unreliable, then that code snippet should be removed and not prescribe that approach. Anyway, we can coordinate via email outside of public GitHub issues as we are internal so feel free to mail me and we can start a thread about it. No problem.
#please-close


Jabba does not fall back to default port for chosen scheme if port definition is missing or mistyped.

Describe the bug
When defining resources in config if the scheme port is missing or mistyped, jabba defaults to port 0.
To Reproduce
ie:
routes:
  - path: /
    resource: main

resources:
    main:
        - labels:
          - main
          url:
            scheme: https://
            host: example.com
            post: 443

Jabba will try and connect to example.com:0 if we run curl https://jabba-example-address.com/
Expected behaviour
Jabba should check the scheme and if port is not present should default to the scheme common port.
If for example the scheme is htps:// the default port is 443.
Desktop (please complete the following information):

OS: MacOS with Jabba running on Amazon Linux 2

will fix this...


Create DeleteMoneyRequest command

Details
Removes Cancel and Decline money request functionality in favor of Delete
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/270502
Tests
Pre-requisites: 2 accounts you have access to
Should be tested with the Web-E and Auth PRs

From account A, request money to account B + > Request money
From account A, tap the request and verify that you see the Delete option
From account B, tap the request and verify that you don't see the Delete option
From account A, tap Delete
Verify that the request is deleted (the preview is not shown anymore) and you see a deleted the $X request for comment message in chat and LHN
Verify that the report total is updated to $0

[ ] Verify that no errors appear in the JS console

Offline tests

From account A, request money to account B + > Request money
Go offline
From account A, tap Delete
Verify that the request is deleted (the preview is not shown anymore) and you see a deleted the $X request for comment message in chat and LHN, but the message is greyed out
Verify that the report total is updated to $0

QA Steps
Same as steps above

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://user-images.githubusercontent.com/22219519/233692774-c6d37dd0-0d5a-46d8-86b3-d433130a17e2.mov

Mobile Web - Chrome
https://user-images.githubusercontent.com/22219519/233692785-83be45ed-cc5a-4c1e-b65a-7f9a8acbe753.mov

Mobile Web - Safari
https://user-images.githubusercontent.com/22219519/233692796-322bed6b-ec4a-4339-8aff-138ce25bfc67.mov

Desktop
https://user-images.githubusercontent.com/22219519/233692803-6bdba639-98df-4edf-9929-8fd4d02a3a93.mov

iOS
https://user-images.githubusercontent.com/22219519/233692812-3e3660b5-19dc-4923-93a4-a2f239ca0357.mov

Android
https://user-images.githubusercontent.com/22219519/233692824-2a78b44c-c844-442d-b9f7-8258a11e1a21.mov

@s77rt @youssef-lr One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

Updated!

Should I hold testing till the two linked PRs are deployed?

Yes please

@luacmartins Would you please tag me once those PRs are merged as I don't have access to any.

@s77rt will do.

@mountiny I'm not sure that I understand that scenario. Is it something like:

Request money
Leave a comment on that request
Delete the request
Access the thread?

If that's it, the thread would still show in the LHN, no? Also the route is /r/:threadReportID and at that point I don't think that we'd want the user to see the transaction data anymore and they'd only see the reportActions added to the thread, which would still contain things like Changed the request from $X to $Y since that's in the reportAction.

If that's it, the thread would still show in the LHN, no? Also the route is /r/:threadReportID and at that point I don't think that we'd want the user to see the transaction data anymore and they'd only see the reportActions added to the thread, which would still contain things like Changed the request from $X to $Y since that's in the reportAction.

Ok I missed we changed this to not use the transactionID

Screen.Recording.2023-04-28.at.17.18.02.mp4
Not sure what I am doing wrong, now I got transaction not found with the Web and Auth PRs all ready and build and auth restarted. I guess we will see with the C+ testing.

I think there is something wrong with that video, it doesn't play :P

WRT this comment, we're refactoring those views so we should see the error in the report view and won't see it in the transaction view anymore.

Auth is deployed and Web-E is merged. We are still waiting on Web-E to make it to staging/prod before we can test/merge this though.

@s77rt The API should be deployed to staging so can you please test against the staging API endpoint and complete the checklist? thank you very much 🙇

@mountiny Can you please double chekc that both PRs deployed to staging? I'm not able to delete money request, getting 404 status code.

 DEBUG  [alrt] ENSURE_BUGBOT unknown API request error caught while processing request
 {
    "message": "",
    "status": 404,
    "title": "",
    "request": {
        "command": "DeleteMoneyRequest",
        "data": {
            "transactionID": "4615189170863251301",
            "chatReportID": "6699736724742460",
            "reportActionID": "2784603409745294335",
            "iouReportID": "17710633238768",
            "appversion": "1.3.9-14",
            "apiRequestType": "write",
            "shouldRetry": true,
            "canCancel": true
        },
        "successData": [
            {
                "onyxMethod": "merge",
                "key": "reportActions_6699736724742460",
                "value": {
                    "2784603409745294335": {
                        "pendingAction": null
                    }
                }
            }
        ],
        "failureData": [
            {
                "onyxMethod": "merge",
                "key": "reportActions_6699736724742460",
                "value": {
                    "2784603409745294335": {
                        "errors": {
                            "1683125463677000": "Unexpected error deleting the money request, please try again later"
                        }
                    }
                }
            },
            {
                "onyxMethod": "merge",
                "key": "report_6699736724742460",
                "value": {
                    "lastMessageText": "Requested €10.00",
                    "lastMessageHtml": "requested €10.00",
                    "hasOutstandingIOU": true
                }
            },
            {
                "onyxMethod": "merge",
                "key": "report_17710633238768",
                "value": {
                    "hasOutstandingIOU": true,
                    "type": "iou",
                    "cachedTotal": "(DZD1,493.67)",
                    "chatReportID": "6699736724742460",
                    "currency": "DZD",
                    "managerEmail"<EMAIL_ADDRESS>                    "ownerEmail"<EMAIL_ADDRESS>                    "reportID": "17710633238768",
                    "state": "SUBMITTED",
                    "stateNum": 1,
                    "total": 149367,
                    "submitterPayPalMeAddress": "paypalz"
                }
            },
            {
                "onyxMethod": "set",
                "key": "transactions_4615189170863251301"
            }
        ]
    }
}

https://user-images.githubusercontent.com/16493223/235957758-94dabf7a-e9bb-47e9-83ff-d5b3c0cb22cc.mp4

This should be in staging for sure, can you confirm on web if the requests are hitting staging server for sure?

Right, on Web it's working well. Android/iOS didn't maybe the staging switch is not working correctly? I will check again and proceed with full tests asap.
BTW, We have some conflicts cc @luacmartins
https://user-images.githubusercontent.com/16493223/236007614-4ad71ca4-d8c3-4d9d-a655-853926c52fc7.mp4

@luacmartins

Verify that the request is deleted (the preview is not shown anymore) and you see a deleted the $X request for comment message in chat and LHN, but the message is greyed out

This is failing, the greyed out deleted message shows up but the preview is also still shown, maybe this is related to currency difference? (I will upload the videos asap)

Reviewer Checklist

[X] I have verified the author checklist is complete (all boxes are checked off).
[X] I verified the correct issue is linked in the ### Fixed Issues section above
[X] I verified testing steps are clear and they cover the changes made in this PR

[X] I verified the steps for local testing are in the Tests section
[X] I verified the steps for Staging and/or Production testing are in the QA steps section
[X] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[X] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[X] I checked that screenshots or videos are included for tests on all platforms
[X] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android / native
[X] Android / Chrome
[ ] iOS / native
[X] iOS / Safari
[X] MacOS / Chrome / Safari
[X] MacOS / Desktop

[X] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[X] I verified proper code patterns were followed (see Reviewing the code)

[X] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[X] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[X] I verified that comments were added to code that is not self explanatory
[X] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[X] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[X] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[X] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[X] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[X] I verified the JSDocs style guidelines (in STYLE.md) were followed

[X] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[X] I verified that this PR follows the guidelines as stated in the Review Guidelines
[X] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[X] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[X] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[X] If a new component is created I verified that:

[X] A similar component doesn't exist in the codebase
[X] All props are defined accurately and each prop has a /** comment above it */
[X] The file is named correctly
[X] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[X] The only data being stored in the state is data necessary for rendering and nothing else
[X] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[X] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[X] All JSX used for rendering exists in the render method
[X] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[X] If any new file was added I verified that:

[X] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[X] If a new CSS style is added I verified that:

[X] A similar style doesn't already exist
[X] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[X] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[X] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[X] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[X] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[X] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[X] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://user-images.githubusercontent.com/16493223/236050834-115ced80-0f38-466a-b6ee-09bfd2bfa3f3.mp4

Mobile Web - Chrome

https://user-images.githubusercontent.com/16493223/236050818-ec45ff16-b0d1-420c-b304-8792ed209966.mp4

Mobile Web - Safari

https://user-images.githubusercontent.com/16493223/236050818-ec45ff16-b0d1-420c-b304-8792ed209966.mp4

Desktop

https://user-images.githubusercontent.com/16493223/236050801-cc156790-4a10-47a8-99ce-3f187a7e9bc6.mp4

iOS

Android

I was not able to test this reliably on Native. Sometimes it works, sometimes it does not. I think this is not related to this PR but to the staging switch, it seems buggy.
getting jsonCode: 400 response
https://user-images.githubusercontent.com/16493223/236054201-6909d87a-6058-443a-97dd-8039f6bbb36c.mp4

Conflicts 😬

Conflicts resolved!

@s77rt it's possible that there's something weird going on with the staging switch. Hopefully we'll get these changed in production today and we can test it in prod soon.

@luacmartins Please address the buggy preview https://github.com/Expensify/App/pull/17583#issuecomment-1533694841

@s77rt we are changing the behavior of the previews to always be shown, so they won't disappear anymore. I think it's fine to leave it as is

@luacmartins Okay cool, so what's the next step here? We are basically done but I can't test on Native for the buggy staging switch. Should we wait till the PRs hit prod?

IMO we should just merge this given the urgency and address any issues as polish.

I agree. The change is platform-independent anyway.

🎯 @s77rt, thanks for reviewing and testing this PR! 🎉
An E/App issue has been created to issue payment here: https://github.com/Expensify/App/issues/18421.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.11-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.12-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[Test server] body-array.json

[ ] Code generated
[ ] Tests for all scenarios
[ ] API shape questions
[ ] Fix identified issues

Implemented. Additional work for the tests have their own issues. Closing.


rkt: use exit status 2 to report usage errors

An obsolete CoreOS test was erroneously passing:
Error: unknown command "install" for "rkt"
Run 'rkt --help' for usage.
2016-02-08T00:57:26Z kola: --- PASS: coreos.rkt.install

LGTM

If you want to be more explicit about behavior and not depend on cobra logging errors and dumping usage we can handle that explicitly and set cmd.SilenceErrors and cmd.SilenceUsage

I think it's fine the way it is now. @jonboulle?

no strong feelings, do what you think is best


Error messages overlapping, significantly limiting readability

If the extension is used with languages like Rust, where compiler diagnostics can span multiple lines, the inline messages occasionally overlap:

Inspecting the original diagnostics reveals the error struct literal body without path should have been on line 2, but since error lens decides to place it on the last relevant line (line 4), it overlaps another error on the same line, making both barely readable.

Currently, there is no way to prevent this behavior with settings other than completely disabling inline error messages.

If I don't use Rust - what are the steps for me to reproduce this issue? Install which extensions / linters - then type what text?

If I don't use Rust - what are the steps for me to reproduce this issue? Install which extensions / linters - then type what text?

Install the Rust toolchain according to https://www.rust-lang.org/tools/install
Install the rust-analyzer extension in VS Code.
Create a new Rust project via cargo new hello-world.
You can run this project with cargo run from inside the project folder.
Edit the src/main.rs file to the content shown in the first image and run the project again.
Compare the output from the terminal with what Error Lens shows.

@sourcebox thanks. Decorations don't overlap in VSCode for me:
https://user-images.githubusercontent.com/9638156/224930806-87e53031-c32f-449b-871c-27216ab37093.mp4

Wrong line should be fixed by a60d378


feat: add hacktoberfest topic to dashboard filters

Description
This pull request adds the "Hacktoberfest" topic to the dashboard filters. Users can now easily filter and view repositories related to Hacktoberfest. This feature enhances the user experience by providing a convenient way to explore and contribute to Hacktoberfest projects.
Generated using OpenSauced.

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
closes https://github.com/open-sauced/engineering/issues/136

Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

It would be ideal to apply a Oct 1st to 31st filter for this topic.
Something Like this ?
const isOctober = () => {
const currentDate = new Date();
const currentMonth = currentDate.getMonth() + 1;
return currentMonth === 10;
};

@OgDev-01 The Storybook preview failed to build. Will you take a look?


Solved Longest Substring Without Repeating Characters (#409)

Add detailed explanation along with lime by line comments so its easier for newcomers to understand

Done.


When feature = "std" is enabled, implement std::io::Read and/or std::io::Write for all drivers where this makes sense

Example: Uart. There, we do implement embedded_hal_async::Read+Write for the async version of the driver, but we need to do the same for the sync version.
Same can possibly be done for other drivers. For example, writing to i2s.
For one, this would allow folks to use BufReader from STD to read line-by-line e.g. from Uart (at the cost of extra allocations).

I think you can use embedded-io-adapters crate for "converting" from an embedded_io::Read to a std::io::Read or vice versa. uart driver in esp-idf-hal implements both embedded_io and embedded_io_async.


Estimated Wallet Value Is Not Correct

Expected behavior
I expect to be shown correct estimated account value.
This is the eStimated value shown by eSteem v2

Actual behavior
The estimated value is incorrect.
This is the eStimated value shown by Steemit and other UI

Caused
The tokens (Steem or SBD) transferred to Savings are not added to the Wallet calculation.
The estimated wallet value should be; (( SP + Steem + Savings Steem) * Value of Steem) + (( SBD + Savings SBD) * Value of SBD)) = Estimated account value.
How to reproduce

Open app & Login
Goto Wallet Tab
Check the estimated wallet value
Compare it with Steemit and other UI

App version: v2.0.8
Operating system: Android 8.0.1

Recording Of The Bug

This issue has been solved in our latest update, can you check from below links and if it is okay for you or you have any feedback please let me know, thank you :) @horpeyloaded
iOS : install.appcenter.ms/orgs/esteem.app/apps/esteem-1/distribution_groups/internal
Android : install.appcenter.ms/orgs/esteem.app/apps/esteem/distribution_groups/internal

eSteem has stopped error

Fixed 👍 @mistikk


dependency giving error in pom file

I have integrated this dependency in my project pom file but it's giving an error in the pom file.
please check the link for your reference. - http://prntscr.com/nfmioc

You can get it via jitpack: See https://jitpack.io/#zoho/books-java-wrappers/master


event-pagination

Describe the Problem
As a user I only want to be shown 3 events at a time.
References
This will have to use offset on the call to the DB and get the next 3 based on what already has been loaded.
Here is example source code from Svelte Query pagination component
Svelte Query
Might not need a library to do this. tbd...
Describe the Proposed Solution
The implementation of this should paginate and have lazy loading, only loading 3 events at a time.

@codingMustache are we going to use a library for this? and are using Ajax or Fetch?


query regarding the download address of Google Scanned Object (gso) dataset

Hi, I have looked up the dataset address of gso dataset, and found the download address in this website https://app.gazebosim.org/GoogleResearch/fuel/collections/Scanned Objects by Google Research, which contains 1032 models, is this entire set what you used to test Splatter Image model? Thanks

Hi! I used renderings from Free3D https://drive.google.com/file/d/1tV-qpiD5e-GzrjW5dQpTRviZa4YV326b/view
there are 1030 models there, so it should be about the same.


Please add an example of how to use the Users service.

Hmm, actually the cloud_datastore example demonstrates this.


Only works with Prusa Mini and SLS, not MKx models

Hi,
I am following up on the comment I created here and creating a ticket in order to have more visibility for other people facing the same problem.
I think it could be nice to specify this library only works with Prusa Mini now.
Currently, I can't connect to my Prusa MK3S and Raspberry Pi Zero because the code of the API is absolutely not the same.
We have:

https://github.com/prusa3d/Prusa-Link PrusaLink is a compatibility layer between 8-bit Prusa 3D printers (MK2.5, MK2.5S, MK3, MK3S and MK3S+) and PrusaConnect, which lets you control and monitor your 3D printer from anywhere.
https://github.com/prusa3d/Prusa-Firmware-Buddy This repository includes source code and firmware releases for the Original Prusa 3D printers based on the 32-bit ARM microcontrollers like Prusa Mini.

API for PrusaLink (MKx models) is defined here: https://github.com/prusa3d/Prusa-Link/blob/master/prusa/link/web/main.py
Both have the same name but target completely different machines and architecture, absolutely nothing says that PrusaLink version 2 for MK3S and consort will have the same format, that's why it would be good to indicate additional information about it.
In the end, it would be ideal to support both, having an MK3S, I can give you a hand.

The SLS printer also seems to support this PrusaLink API https://github.com/home-assistant-libs/pyprusalink/pull/25

Yes, because the architecture of the SLS is based on a 32 bits microcontroller.
Subject updated.

It looks like the next PrusaLink release might get the new API?
https://github.com/prusa3d/Prusa-Link/commit/02e6a82146607d08c2e4689580a599712f74d364

Support for the new v1 API endpoint and Digest Authentication this is mostly addressed with #63.


deleting previous draft for new one

@lizeyuyuz I can help with this issue for u, do you wanna meet?


App with Phonegap get different fingerprint every time

Hi!
I'm making an app for iPhone using Phonegap and I liked your library so I wanted to use it to identify people and remember their logins.
The problem is that every time I run the app it gets me different fingerprints. I haven't done anything weird, on XCode I run the app and gives me a value. I stop it, run it again and it gives me a different value.
Thanks!

@dunedain thanks for bringing up this issue!


Oxygen broken??

I really don't know why it's not showing any hits or even demos. I even tried an account that should come up as a hit but it's still bad.


Demo data

Add demo data so participants can start playing with recipe before downloading all the data

Thank you @ns-rse
Can you please send me later the modification we should do?

Sure I left them in the comment.
Copy and pasting below....
Fair enough, presumably anyone working with the code at this level would know how to modify the function?
I think it might be possible to make life a little easier for users though and have two possible suggestions...
Allow options and optionally replace signal
If a user want to process left or right audograms you could...
    if left_audiogram is not None:
        signal = left_audiogram
    elif right_audiogram is not None:
        signal = right_audiogram
    elif left_audiogram is not None and right_audiogram is not None:
        Exception("Please specify on one of left_audiogram or right_audiogram")

...and note in the docstring that if either left_audiogram or right_audiogram is specified it will replace signal.
Remove the options and improve the docstring
Alternatively just remove the  left_audiogram and right_audiogram options and improve the docstring to reflect the fact that signal can be a combined channel or a single decomposed channel of either left or right audio.
Either of these would I think make it easier for participants to use the function without having to modify it.


Decide: Desugard vs keep (generalized) dot operator through vectorization?

The dot product operator (\u v -> sum (flatten (u * v))), when nested under n build operations, vectorizes to an operation that maps (which is expressible using transposition) dot product n ranks down inside a tensor. Is it worthwhile to define such generalized dot operation and keep it recognizable through vectorization? Or desugar dot into sum, flatten and multiplication and vectorize these, producing a lot of extra transpositions? After vectorization it may be much harder to recover the generalized dot operation shape. Potentially, it might involve non-local transformations and making up already eliminated operations (transpositions that fused/cancellled out) and/or even whole forgotten constant tensors (I'm not sure about that).
Is it worth keeping the dot recognizable? E.g., is the generalized tensor operation a common primitive, considerably faster than ad-hoc mapping (via transposition most probably) sum, flatten and/or multiplication over tensor ranks? Or, equally well, is the normal dot product so much cheaper and cyclic transposition (resulting in mapping in case of operations like sum and flatten) cheap enough that it's worthwhile to prevent other fusion to keep those intact?
Presumably a similar question would need to be answered for matrix multiplication, but I can't generalize it properly yet, even to many ranks, without yet taking (multiple) vectorization into account.

For the current status, see dot0, matmul1 and matmul2 in Tensor class and the pretty-printed code of their vectorization and transpose in TestAdaptorSimplified and TestMnistFCNNR.
A C implementation of sum of the innermost (as opposed to outermost) dimension helps a lot for the case of dot0, but can't be easily generalized for matmul*. WIP.

I see that your gradient for matmul2 looks like this:
\s0 dret x3 x4 ->
  let x9 = ttranspose [1,2,0] (tkonst 3 dret)
  in (tfromList []
     ,tsum (ttranspose [1,0] (tkonst 2 (ttranspose [1,0] x4) * x9))
     ,tsum (ttranspose [0,2,1] (ttranspose [1,0] (tkonst 4 x3) * x9)))

Using only inlining (of x9) and reasoning about transpose in combination with konst and elementwise operators (here *), I can manually reduce that to the following:
\s0 dret x3 x4 ->
  (tfromList []
  ,tsum (ttranspose [2,0,1] (tkonst 2 x4 * ttranspose [1,0,2] (tkonst 3 dret)))
  ,tsum (ttranspose [1,2,0] (tkonst 4 x3 * ttranspose [2,1,0] (tkonst 3 dret))))

This looks to me like two vectorised matrix multiplications. Is this the form you were looking for? Is this really much cheaper than the original?

Huh, what you accomplished demonstrates how week our simplification is currently, after sharing was added and it freezes x9 and after I stopped expanding transpose to gather (except when fusing with a gather and possibly in a couple other cases).
I totally missed that this is, more or less, a pair of two primal parts of the constructed dual number, as pretty-printed just below the gradient, and so, of pair of vectorized matmul2. This is great, because now we can try to interpret each of the these as tmatmul2R on OR.Array implemented using C blas matrix multiplication via hmatrix (or a corresponding GPU primitive). There are already interpretation hacks like that in interpretAst (until we have the two phases of simplification, the second of which would try to contract terms into known fast primitives). That's going to be a 100 times speedup even on CPU.
This actually matches the non-simplified horde-ad where the matmul2 primitive had gradient components that were matmuls with a transposed matrix: https://github.com/Mikolaj/horde-ad/blob/4e3eee462922dd997af88af3e9fb577b1ad37d28/src/HordeAd/Internal/Delta.hs#L800-L805
That was much saner than gradient components of matmul1 (multiplication of matrix by a vector), that involved outer products, etc. and that I also couldn't mentally connect to the new simplified horde-ad gradients: https://github.com/Mikolaj/horde-ad/blob/4e3eee462922dd997af88af3e9fb577b1ad37d28/src/HordeAd/Internal/Delta.hs#L738-L741
Technical tasks before the 100x optimization can happen:

inlining that would know to inline x9 here
a simplification tactics that tries to get ttranspose into tkonst or out of it, depending on which works better in the specific case
unvectorization of matmul2
a simplification tactics that tries to get a term into a form where unvectorization (of matmul2? or any?) can trigger
all of this in a context of more complex expressions that get fused and inlined into the gradient and make the hidden vectorized matmul2s harder to recognize

An alternative: make the matmul2 a primitive and so add an Ast constructor for it. Making sure it does break vectorization is probably the biggest challenge.

This is now done in
https://github.com/Mikolaj/horde-ad/commit/20ce84b024b8090f1d8970fc706eaaba1fd659f2
I was wrong about the 100x speedup. It's a 10x speedup and that's probably it.
This is very ad hoc, so when we support GPU via MLIR, we have to decide how to express the backend-specific simplification rewrites, as opposed to the general simplification that is always needed not to spend ages manipulating huge terms. Still, even though ad-hoc, this works well enough that adding new Ast constructs for dot, matvecmul and matmul, vectorizing them and ADing them is not necessary
@tomsmeding: thank you for the crucial insight. I would not recognize matmul2 in the strange terms resulting from AD. And it turns out there is only so many permutations of three elements, so we can always recover the matmul2 shape, regardless of how much the context mangles them (unless it genuinely simplifies them). It's quite possible the simplified-horde-ad approach really is not much ess performant than the original horde-ad (even if it's currently still 10x to 100x slower).
Closing.


Custom element dependency injection.

Find a way to do dependency injections using custom elements. Both at registration time for app bindings and at connection time for event bus bindings.

[x] Create some simple custom elements.
[x] Play around with different ways to create and inject dependencies.
[ ] Write a plan for a widget system.

We are archiving this repo.


Tutorial Please?

Could someone or the Owner make like a Step to step tutorial, I did read the Readme File, but I don't understand anything (I never used python never coded never done anything like this) So I would be asking if someone could help me out with a step to step tutorial on how to do it, since I'm really interested in it!

First, do this to get your USER ID and Bearer TOKEN:

https://github.com/DanielSmith1239/HQTriviaMaster#web-socket
2)Put those in the file conn_settings.txt without space or line in between anything
3)Open up the program 👍

@AlexLovesAlpacaa

@JayOfficial
Where do I find a USER idand a BearerToken in the Site Given

BOY just follow the instructions it gives you

No response for 8 days, assuming solved.


Set ACCESS_CONTROL_ALLOW_ORIGIN "always" parameter

I encountered an issue with accessing the status code of a response (similar to https://stackoverflow.com/questions/47516465/http-interceptor-getting-status-0-on-failed-request-using-angular-4). It appears the django-cors-headers is not setting the "always" property to the Access-Control-Allow-Origin header?
This prevents users from accessing status codes like 502.

I'm afraid there's no such thing as the 'always' parameter in the header, I checked the docs at https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS . The answer you linked to is syntax for the Nginx web server add_header command as per https://nginx.org/en/docs/http/ngx_http_headers_module.html#add_header .


fixed typo in NOTICE.

Codecov Report

Merging #2728 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2728      +/-   ##
==========================================
- Coverage   40.71%   40.68%   -0.04%
==========================================
  Files        1773     1773
  Lines       61124    61124
  Branches     8589     8589
==========================================
- Hits        24889    24866      -23
- Misses      36235    36258      +23

Impacted Files
Coverage Δ

.../com/navercorp/pinpoint/rpc/packet/PongPacket.java
50% <0%> (-21.43%)
:x:

...npoint/rpc/server/SimpleServerMessageListener.java
80% <0%> (-20%)
:x:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
75% <0%> (-18.75%)
:x:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
72.22% <0%> (-11.12%)
:x:

...m/navercorp/pinpoint/rpc/packet/PayloadPacket.java
77.77% <0%> (-11.12%)
:x:

...nitor/DefaultDataSourceMonitorRegistryService.java
85.18% <0%> (-11.12%)
:x:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
71.08% <0%> (-7.23%)
:x:

...m/navercorp/pinpoint/rpc/packet/RequestPacket.java
87.17% <0%> (-2.57%)
:x:

...ofiler/sender/StandbySpanStreamDataSendWorker.java
88.05% <0%> (-1.5%)
:x:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
77.9% <0%> (ø)
:white_check_mark:

... and 1 more

Continue to review full report at Codecov.

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

Good catch! Thank you for this :+1:


[MAC] GetContentExists always returns true.

Not actually a bug, but a workaround since the Windows code doesn't work.

Mac version has been abandoned.


upgrade from 0.5.0 to 0.13.0

Our organization is migrating from Hadoop 2.6 to 3.1 and spark 2.3 to 3.1. Our existing data sets (100s of TBs of data) are written using Hudi 0.5.0. We would like to move to Hudi 0.13.0.
The latest version of Hudi has come way since 0.5.0, we are not sure about how to use 0.13.0 directly.
Could someone provide the steps for upgrading from 0.5.0 to 0.13.0?
Thanks,
Selva

Folks, could someone shed some light here ?

Hi @selvarajperiyasamy Thanks for your interest in 0.13.0 release.  You may read the release notes, especially the migration guide, of each major release, particularly the releases that change the table version:

0.6.0: https://hudi.apache.org/releases/older-releases#migration-guide-for-this-release-3
0.9.0: https://hudi.apache.org/releases/older-releases#migration-guide-for-this-release
0.10.0: https://hudi.apache.org/releases/older-releases#migration-guide-3
0.11.0: https://hudi.apache.org/releases/older-releases#migration-guide-2
0.12.0: https://hudi.apache.org/releases/older-releases#migration-guide-1
0.13.0: https://hudi.apache.org/releases/release-0.13.0#migration-guide-overview

You should be aware that there are known regressions in 0.13.0 (https://hudi.apache.org/releases/release-0.13.0#known-regressions) so if you'd like to upgrade to 0.13, it would be good to wait for 0.13.1 with more reliability.
You may also consider upgrading to 0.10.1 release first.

Thanks @yihua . I can look into previous versions, which are < 0.13.0.  May i know what is the reason you are specifically asking to go with 0.10.1, instead of 0.12.2 or 0.11.1?
One more question is ,
We are actively using COW table using spark data source writer in 0.5.0 and not using delta streaming .  Do i need to upgrade one table at a time like upgrade to 0.6.0 then 0.9.0 then 0.10.1?
OR i can directly change my reader to use 0.10.1 and then writer to start writing using 0.10.1 library? If i do this, do i need to take care of anything on the existing datasets?
Thanks,
Selva

@yihua could you please clarify ?

@vinothchandar @nsivabalan @bvaradar  could you guys help me to understand? Sorry. i tagged you guys because i know your names from my last year conversations

@codope We faced https://issues.apache.org/jira/browse/HUDI-2899 while reading using 0.10.1 .
So we went ahead with 0.11.1 . Is it better to use 0.11.1 ? I have disabled metadata table flag in our code .


Fixes issue #10

Can you add a test case in fields.spec for this. I understand the problem, but i'd like to dig a little more. Thanks!

This should be fixed with the latest patch releases


$children

I was trying to build a tab component. Something similar to:
https://github.com/spatie/vue-tabs-component/tree/master/src/components
But the lack of a this.$children equivalent seems to make that impossible. I tried to define my tabs using an m-insert but then there's no way to pass props to children, which you need in order to set the 'active' prop reactively.
The containing "tabs" needs to loop through its children and set active = false except for on the currently active tab (which needs to be set to true of course)

@karlseguin Sorry for the late response.
I think I've found a way to overcome this. Inserts are stored in instance.insert. You can loop through the array of virtual DOM children, and access the component instance with:
child.data.component;

Then you can run:
child.data.component.set("active", false);

Putting it together:
const insert = instance.insert;
for(let i = 0; i < insert.length; i++) {
  const child = insert[i];
  if(child.type === "ComponentName") {
    child.data.component.set("active", false);
  }
}

Components now have access to child elements through children. However, they don't have local state anymore so this component would be implemented differently anyway.


[SPARK-4819] [WIP] Remove Guava's "Optional" from public API

Replace Guava Optional with (a clone of) Java 8 Optional
CC @rxin yes I was just prepping a similar proof of concept, but this one with an inlined Java 8 Optional.
See also https://github.com/apache/spark/pull/10512

Test build #48427 has started for PR 10513 at commit 1196fcb.

Test build #48427 has finished for PR 10513 at commit 1196fcb.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public final class Optional<T>

Merged build finished. Test FAILed.

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

Test build #48474 has started for PR 10513 at commit 72f7122.

Test build #48474 has finished for PR 10513 at commit 72f7122.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public final class Optional<T> implements Serializable

Merged build finished. Test FAILed.

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

Test build #48477 has started for PR 10513 at commit 283095b.

Test build #48477 has finished for PR 10513 at commit 283095b.

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

Merged build finished. Test PASSed.

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

This looks ok to me if we're ok with breaking source and binary compatibility in 2.0. I guess it's the less bad option to fix this without depending on Java 8...

Test build #48605 has started for PR 10513 at commit b0e96b4.

Test build #48605 has finished for PR 10513 at commit b0e96b4.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public final class Optional<T> implements Serializable

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

Merged build finished. Test FAILed.

But we might never switch to Java 8's Optional, or maybe the entire API that's depending Optional will be deprecated in the future. Why should we increase the level of breakage now in anticipation of something that we don't even know we need in the future?

No matter what, there's a break now -- not even source-compatible. In for a penny, in for a pound, if it has a future benefit? but I agree it's unlikely to actually switch to the Java 8 Optional as it's yet another source-incompatible change. I think it's either use Java 8 in Spark 2.x, and then really use java.util.Optional, or else go with the hybrid solution where the new class tries to implement both the Guava and Java 8 API.

Test build #48654 has started for PR 10513 at commit 5b3dbd0.

Test build #48654 has finished for PR 10513 at commit 5b3dbd0.

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

Merged build finished. Test PASSed.

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

Test build #48850 has started for PR 10513 at commit b2c4b17.

Test build #48850 has finished for PR 10513 at commit b2c4b17.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #2336 has started for PR 10513 at commit b2c4b17.

Test build #2336 has finished for PR 10513 at commit b2c4b17.

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

Test build #48936 has started for PR 10513 at commit bf7a205.

Test build #48936 has finished for PR 10513 at commit bf7a205.

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

Merged build finished. Test PASSed.

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

LGTM. Anything else you want to do? Otherwise we should remove WIP and merge it.

It's ready as far as I'm concerned.

Thanks - I'm going to merge this.

Merged build finished. Test FAILed.

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