initial react + UI

pretty basic UI allows to display the overlay, editor in bottom and script for generating css files from local storage setup

[ ] Rename "Line Options" tab to "Preview"
[ ] Add "section headers" to separate options in each Tab (e.g. in Layout tab there could be "overlay, window, and text sections")
[ ] Add "ratio" option to "preview" that allows 16:9 (horizontal), 9:16 (vertical), 18:9, 21:9, and 4:3
[ ] Clarify "preview" of overlay by adding a background and some padding. There should be a clear "border" for where the overlay is displayed in it's chosen ratio. This ratio must not change, though can be resized based on what available space there is.
[ ] Layout > Window Display should show "flex" and "inline-block" as options only.
[ ] Layout - there is no "overlay height" option. So cannot make a full screen overlay. See variable --overlay-height which can be "auto" or "100vh" so could be a dropdown for "auto" and "100%".
[ ] Layout > Vertical/Horizontal padding - the vertical padding should not be affecting horizontal. Either have a button that locks horizontal to match vertical (making horizontal padding not user-modifiable and automatically matching vertical padding slider) or split the two. I would recommend adding a "lock" button (on by default) or simply having one padding slider for vertical and horizontal padding. Lock button is preferable.
[ ] Cannot test many options until there are background color options for overlay, window, and text.

Cannot scroll or resize bottom panel when there is too much content in the preview. The preview needs to hide it's "overflow" once it's gone past it's "aspect-ratio" size. Slider of bottom tab needs to always take precedence.

Layout > Vertical/Horizontal padding - the vertical padding should not be affecting horizontal. Either have a button that locks horizontal to match vertical (making horizontal padding not user-modifiable and automatically matching vertical padding slider) or split the two. I would recommend adding a "lock" button (on by default) or simply having one padding slider for vertical and horizontal padding. Lock button is preferable.

So by default it is locked, if you look at the slider it says "N/A". so once you edit horizontal it just splits the two.... if you want I can just have vertical and horizontal will change accordingly?

Change defaults:

[ ] Preview > English Translation = True
[ ] Layout > Justification = Space Evenly
[ ]  =
[ ]  =
[ ]  =
[ ]  =
[ ]  =
[ ]  =
[ ]  =
[ ]  =
[ ]  =

I think I took care of most of the things. Linting job is WIP right now. Also, on refreshing the page preview settings are saved but not rendered, need to fix that.
If you find other things please open issue or comment here.
This will be taken care once I fix the bug I mentioned above.

Preview > English Translation = True

This is already matching it by default that is why it is showing NaN

Layout > Horizontal Padding = match vertical

I think this is the default value. This is currently what it has calc( var(--overlay-primary-font-size) * 0.6 )

Secondary font size would be better as a secondary font ratio (45% or 60% of the primary font size) Default can be 60%.

CSS issue I think. @bhajneet you might want to take a look at this once it is merged.

Drop color doesn't seem to work

So we don't want the user to select a color?

Vishraam colors should be a toggle. If toggled off, the variable is probably supposed to be "inherit".

We won't need this if we take care of #4. We can also tackle as a feat in a new issue (if needed).I would prefer #4 over this

Perhaps creating a file name with the windows path in it will automatically save it in the correct location? I.e. %appdata%\Overlay<themename>.css if it works, would need to detect correct OS of browser.

What type of tests should I write?

Maybe even write some unit tests, dum dum dummm, but it's kinda gonna be a drag now

@saihaj @bhajneet please move any unresolved comments into issues.


Improve menu handling on disabled items (or items with no action assigned)

Until now, clicking a disabled menu item (or item with no action) would have still closed the menu. Also, the hover state would make it look like the menu items are interactive. I noticed this when coming across our "menu separator" implementation osu! side (and wanted to change it to not show a hover background state).
This behaviour does not match common UX expected from operating systems. Both macOS and windows will not show a hover state and not dismiss menus on clicking disabled items.
I've updated our handling to match expectations.
Originally I was going to apply changes only osu!-side but it turns out the hover foreground/background state handling is quite low level, so fixing here made sense.

See usage at https://github.com/ppy/osu/pull/22716. It may be that we want to combine the IsActionable and HasSubmenu into a single flag.

Should be good for re-review


GraphDef not ok for the TensorRT API but ok for the TensorFlow iteslf

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.7.0
Python version: Python 3.5
Bazel version (if compiling from source): 0.11.1
GCC/Compiler version (if compiling from source): 5.4.0-6ubuntu1~16.04.9
CUDA/cuDNN version: 9.0 / 7.0.5
GPU model and memory: GTX 1070, 8Gb

Describe the problem
I'm trying to convert Keras model (MobileNet or Xception) to TensorRT engine using TensorFlow API.
First, I'm getting graph from K.session() and appropriate GraphDef.
Second, I'm freeze it with convert_variables_to_constants.
Then, I'm able to make predictions using TensorFlow. But when I submit it to the the create_inference_graph, it complaints to bad dimensions:
2018-04-22 20:13:17.560097: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:412] subgraph conversion error for subgraph_index:47 due to: "Unimplemented: Not supported constant type, at conv_pw_4_bn/Const_5" SKIPPING......( 7 nodes)
2018-04-22 20:13:17.563078: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:412] subgraph conversion error for subgraph_index:48 due to: "Unimplemented: Not supported constant type, at conv_pw_1_bn/Const_5" SKIPPING......( 7 nodes)
2018-04-22 20:13:17.565057: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:412] subgraph conversion error for subgraph_index:49 due to: "Unimplemented: Not supported constant type, at conv_dw_1_bn/Const_5" SKIPPING......( 7 nodes)
2018-04-22 20:13:17.567257: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:412] subgraph conversion error for subgraph_index:50 due to: "Unimplemented: Not supported constant type, at conv_dw_12_bn/Const_5" SKIPPING......( 7 nodes)
2018-04-22 20:13:17.569343: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:412] subgraph conversion error for subgraph_index:51 due to: "Unimplemented: Not supported constant type, at conv_dw_7_bn/Const_5" SKIPPING......( 7 nodes)
2018-04-22 20:13:17.571571: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:412] subgraph conversion error for subgraph_index:52 due to: "Unimplemented: Not supported constant type, at conv_pw_10_bn/Const_5" SKIPPING......( 7 nodes)
2018-04-22 20:13:17.573851: W tensorflow/contrib/tensorrt/convert/convert_graph.cc:412] subgraph conversion error for subgraph_index:53 due to: "Unimplemented: Require 4 dimensional input. Got 1 conv_dw_6_bn/cond/batchnorm/add/Switch" SKIPPING......( 6 nodes)

as many times as there are such */Switch nodes. Digging deeper, I found such strange design in the graph's GraphDef:
tensor_shape {
  dim {
  }
}

within some (not all) nodes of type Const, e.g.
node {
  name: "conv_pw_8_bn/Const_5"
  op: "Const"
  attr {
    key: "dtype"
    value {
      type: DT_FLOAT
    }
  }
  attr {
    key: "value"
    value {
      tensor {
        dtype: DT_FLOAT
        tensor_shape {
          dim {
          }
        }
      }
    }
  }
}

All such nodes are mentioned in the traceback.
So, it's ok for TensorFlow itself but wrong for the TensorRT. I gues there is an error either in GraphDef generation or while parsing for TensorRT.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Exact command to reproduce

Exact command to reproduce:
import tensorflow as tf
from tensorflow.contrib import tensorrt as trt
from keras import backend as K
from keras.applications import mobilenet
from tensorflow.python.framework.graph_util import convert_variables_to_constants

########################## Converting Keras model to GraphDef ##########################

# def freeze_session(session, output_names, clear_devices=False):
#     graph = session.graph
#     with graph.as_default():
#         input_graph_def = graph.as_graph_def()
#         return convert_variables_to_constants(session, input_graph_def, output_names)

# model = mobilenet.MobileNet(include_top=True, input_shape=(128, 128, 3))
# model_output = 'reshape_2/Reshape'

# frozen_graph = freeze_session(K.get_session(), [model_output])
# tf.train.write_graph(frozen_graph, ".", "mobilenet.pb", as_text=False)

########################################################################################

OUTPUT_LAYERS = ['reshape_2/Reshape']
BATCH_SIZE = 4
GRAPH_PATH = 'mobilenet.pb'

config = tf.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.5

with tf.gfile.GFile(GRAPH_PATH, 'rb') as f:
    graph_def = tf.GraphDef()
    graph_def.ParseFromString(f.read())

graphdef_fp32 = trt.create_inference_graph(
    input_graph_def=graph_def, outputs=OUTPUT_LAYERS, max_batch_size=BATCH_SIZE,
    max_workspace_size_bytes=int(4e+9), precision_mode="FP32"
)

@arassadin AFAIK convert_variables_to_constants is not sufficient to freeze the graph. See https://www.tensorflow.org/extend/tool_developers/#freezing
Also TensorRT 4 will have a better op support and mobilenet support will improve when we switch to TRT4.

Hi @arassadin,
If you succeed in freezing the graph, can you close the issue?
Thanks

Closing the issue due to lack of response


Add aarch64-unknown-linux-gnu support

Adding dependencies
Replacing i8 with ::libc::c_char (since c_char can be
unsigned on some platforms, aarch64 is one of them)
Adding extern crate libc; to examples

Adapted from servo/glutin#38

Could you put CStr::from_ptr(gl.GetString(gl::VERSION) as *const _) instead and remove the extern crate libc; in the examples?

Much cleaner, thanks. Updated.

Thanks!


Use dirbuster, it better.


Assignment Ada Crash When Entering Final Area

Validation

[X] Game has been updated to the latest RE4HD release (v1.1: https://www.re4hd.com/?p=9552)
[X] Data has been validated with SFV (a guide to using QuickSFV is available at that link, use that with this 1.1 SFV: BIO4-HDProject1.1-SFV.zip)

Describe your issue here (drag+drop ZIP to attach it)
When playing Assignment Ada, getting to the final area (you have 4 out of 5 Las Plagas samples in your inventory and you open the door to leave the laboratory that has the sample sitting in the big tube in the middle) the game will crash.
If you have Costume Override enabled, the game will simply show a black screen, FPS will drop to 30, and nothing will happen until you force close the game (my costume override settings were: Leon: Jacket, Ashley: Special 1, Ada: Tactical, her Assignment Ada default costume). If you turn off Costume Override, you get the following error message:

I clicked "CANCEL" to see if any sort of debugging or log would appear, but nothing happened.

Okay, I think I figured out part of it: if I go into the options menu and turn textures back to "Original" then I can complete the Assignment Ada minigame with no issue. Turning the textures back to "HD" (with the project installed, of course) causes it to crash when entering the final area where you're supposed to fight Krauser.
If this is an issue I should take the HD Project Forums, someone please let me know and I'll close this post.

After further investigation, this issue was indeed caused by a corrupted install (I swear it wasn't like that when I used the sfv checker before posting this issue) of the HD Texture Project, some textures were just missing or bad for whatever reason. Sorry if this caused any issues, closing this now!


"TypeError: Failed to fetch" upon log in.

I just set this up on ubuntu 20.04.4 with docker compose for self hosting.
I think everything went according to plan. There isn't anything too weird in the logs, as far as I can tell. But I get this type error line twice just above the dotted box for peers. And, if I click on the link to add a peer, I can't select the key type (default or one shot).

Yes, I referenced that guide and watched the youtube video.
The one issue I had while installing was a problem with the dns for my domain. Let's Encrypt failed on the first try and it seems to be because that domain/subdomain was involved with cloudflare proxy. I switched to an entirely different domain (and simple dns provided by the registrar), updated the setup.env file and auth0 and ran the ./configure.sh script again. That time it made the certs correctly. But perhaps running the configure.sh a second time caused a second problem?
I'm planning to wipe out the entire wiretrustee directory and start over.  Unless you have some other suggestions.

Hello @WGandy, we've updated the templates to use a shared certificate for both, dashboard and management API.
Can you please verify ?

Just to follow up, Maycon did a great job of digging into this and the update seems to solve the issue.
There is a detail that I'm still concerned might snag someone. Step 3 of the "Add Peer" instructions on the management dashboard needs to be updated to include an additional argument.
--management-url [https://](https://$WIRETRUSTEE_DOMAIN:33073/)
I disregarded Maycon's instructions (forgot) and just followed the instructions presented on the Add Peer page which got me into trouble.
I suspect that this argument may be baked into the client code in the future and then won't be necessary??

Thank you @WGandy, I've opened the ticket https://github.com/wiretrustee/wiretrustee-dashboard/issues/18


Does not detect the number of parameters

int main () {
char tt [100]={0}; memcpy(tt,"123");
return 0；
}

As there is no memcpy prototype, c2m according to C standard assumes memcpy has variable number of arguments.
If you include <string.h>, there will be an error.  GCC and clang are more smart and assume that memcpy should be form string.h.  To do the same, a lot of code should be add to c2m (checks of all functions from standard C headers).  I don't think, it is worth to do this.
For this case, I can add a warning about implicit function declaration to mitigate the problem a bit.


Decoupled Action Spaces

Description: CarAction currently specifies speed or acceleration control jointly for steering and vx/ax. To mix between the two CarAction types, we would need to create one class per combination.
Suggested Feature: Separate CarAction into SpeedAction and SteerAction to allow for separate types for speed and steer.

Implemented in #102


Google Analytics missing events tracking

to verify that the Google Analytics event has fired in the console it will show up as "GA Logged: XXXX" where XXXX is the name of the event that is being tracked.  For example, click on the palette button "calc" and view the console.
We'll let this run for a bit and see if we get any tracking data rom google.


enable soft transition when adding switch control accessibility feature flag

Description
The engine side changes https://github.com/flutter/engine/pull/20566 will fail a framework test, this pr enables the soft transition.
This workaround should be removed as part of https://github.com/flutter/flutter/pull/63986
Related Issues
https://github.com/flutter/flutter/issues/37974
Tests
I added the following tests:
Temporary work around that will be removed later, the test of adding a new accessibility feature will be in both engine and framework pr that are to be merged later.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I signed the CLA.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

@chunhtai Both PRs linked from this PR are closed. Is this one still relevant?


feat: new connections and fixes

This PR is basically like the previous ones.
Changes made:

Added TikTok, Instagram and Crunchyroll.
Fixed eBay name.
Classes fixed.
Support for new profiles.
Changed some colors to be more similar to the icon (also use the same colors that Discord uses in their connection variables).
Made some small changes to the z-index to display connection metadata. Not full support yet (see screenshot), I don't think it's possible to fix the sizing without the 'has' selector in css (or idk); or maybe a new design to display the metadata.

Yeah it probably isn't possible to fix it without the :has() selector, I could figure something scuffed out in the future but for now it's probably fine.
Also, thanks for helping as per usual <3


Math magician event

The math magician event  part of the web app calculator supports all mathematical operations , besides events and other feartures of ES6

Hi @codeWithHyder ,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that is suppose to follow gitflow, currently, you are following github flow, please try to fix this
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Use vertical tabs in server and database properties

What does it look like collapsed?
How are long strings handled? (different languages can result in much longer strings)

What does it look like collapsed?
How are long strings handled? (different languages can result in much longer strings)

I'll address this in a different PR, because I need to make these changes in the tabbed panel component.


using #each in Markdown

Should this work? The first hardcoded table does work. The second one that uses #each does not. It puts the whole row, including the vertical bars, in the first column of each row.

# dogs

| Name   | Gender | Breed                      |
| ------ | :----: | -------------------------- |
| Dasher |  male  | Whippet                    |
| Maisey | female | Treeing Walker Coonhound   |
| Ramsey |  male  | Native American Indian Dog |
| Oscar  |  male  | German Shorthaired Pointer |

| Name | Gender | Breed |
| ---- | :----: | ----- |
{#each dogs as {name, gender, breed}}
| {name} | {gender} | {breed} |
{/each}

No, it doens't work. I didn't implement this case. I will try to make it work.

Check the v2.6.0 on the NPM. I added support for tables in each blocks.

Excellent! Now I'm wondering whether #if is supported and if it can be nested. For example, these do not work currently. Should they?
{#if dogs.length > 2}
  {#each dogs as {name, gender, breed}}
    | {name} | {gender} | {breed} |
  {/each}
{/if}

and
{#each dogs as {name, gender, breed}}
  {#if breed === 'male'}
    | {name} | {gender} | {breed} |
  {/if}
{/each}

It seems it is very important to not have a blank line before the #each. For example:
| Name | Gender | Breed |

{#each dogs as {name, gender, breed}}
| {name} | {gender} | {breed} |
{/each}

will render this:

Removing the blank line will render this:

Minor documentation typo: At https://alexxnb.github.io/svelte-preprocess-markdown/, "handeled" should be "handled". Great work by the way!

For example, these do not work currently. Should they?

No, it doesn't work now.  My suggesion is to filter dogs array before put it into each block.

It seems it is very important to not have a blank line before the #each.

Will check tomorrow

Minor documentation typo

Yeah, my english is poor. Thanks =)

One thing that makes this tricky that is out of your control is that some code formatters will add the blank line.

Will the blank line be added by formatters, if you will write |---|---|---| also?

If I remove the spaces around the dashes and save the file in VS Code, something (maybe Prettier) is putting them back in. I don't expect there is anything you can do about this.
I think the only think left to consider for this issue is whether your library can support nested #each and #if blocks.

I think the only think left to consider for this issue is whether your library can support nested #each and #if blocks.

Reworked table handeling, now it supports all logic for tables. Check tested cases here https://raw.githubusercontent.com/AlexxNB/svelte-preprocess-markdown/master/tests/9-table-in-each.md
Try v2.8.0 on NPM.

@mvolkmann will you mention my preprocessor in your book? =)

It’s already there! I’ll send you a PDF of the appendix that shows how to use it. You can review it and let me know if you think there should be any changes in how I describe it.

R. Mark Volkmann
Object Computing, Inc.

On Mar 2, 2020, at 2:15 AM, Alexey Schebelev<EMAIL_ADDRESS>wrote:

@mvolkmann will you mention my preprocessor in your book? =)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Awesome! =)

Here is a PDF of the current version of the book appendix that covers your
library.
I'm open to any feedback you have on this.
On Mon, Mar 2, 2020 at 6:07 AM Alexey Schebelev<EMAIL_ADDRESS>wrote:

Awesome! =)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AlexxNB/svelte-preprocess-markdown/issues/7?email_source=notifications&email_token=AAATLUBC4LOBAOVDG5QK5ZTRFOOQHA5CNFSM4K5HZEX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPB6RY#issuecomment-593370951,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATLUBFUWZQBZM5LM4YNU3RFOOQHANCNFSM4K5HZEXQ
.

--
R. Mark Volkmann
Object Computing, Inc.

Sorry, can't figure the "here" place =)
You can find me at Svelte's Discord for private messaging.  (nickname - AlexxNB).

I only see v2.7.0 on npm. Did you maybe not publish it yet?
I sent you the PDF on Discord.
On Mon, Mar 2, 2020 at 2:12 AM Alexey Schebelev<EMAIL_ADDRESS>wrote:

I think the only think left to consider for this issue is whether your
library can support nested #each and #if blocks.
Reworked table handeling, now it supports all logic for tables. Check
tested cases here
https://raw.githubusercontent.com/AlexxNB/svelte-preprocess-markdown/master/tests/9-table-in-each.md
Try v2.8.0 on NPM.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AlexxNB/svelte-preprocess-markdown/issues/7?email_source=notifications&email_token=AAATLUE7SNEMUJGU5ACWBNLRFNS5TA5CNFSM4K5HZEX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENOKKXA#issuecomment-593274204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATLUGKWK5FBNM4PKY63L3RFNS5TANCNFSM4K5HZEXQ
.

--
R. Mark Volkmann
Object Computing, Inc.

I edited the comment after found wrong version there. You are tracking issues by email, so you have only first version of the comment.  v.2.7.0 is the last at the moment with implemented nested logic.  You may be interesting with else syntax also. It produces table row with spanned cell, when there is only one paragraph in the else block:
{#each ... }
....
{:else}
No entries
{/each]

will be processed to:

...

">No entries

...

Maybe it is good idea to add  align="center"  also?

Thanks Alexey!

You are welcome. Will buy the papper book as soon as published. =)


Replace lost DynLoader with NativeLibraryEx

What does the pull request do?
For some reason Avalonia.Native had its own copy of dyn loader, which wasn't removed during previous refactorings.

You can test this PR using the following package version. 11.0.999-cibuild0040806-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


Update smart-wallets.mdx

Preview is available here:http://developers-pr1048.previews.kube001.services.stellar-ops.com


Configuration api to handle scan all policy

Coverage decreased (-0.009%) to 53.215% when pulling af0e8c85bbc4a23537c7038ba3d2b45abef0477b on reasonerjt:configuration-api into 159d549dbd299b912dccf8590db73eb016aa3fbd on vmware:master.

Coverage decreased (-0.009%) to 53.215% when pulling af0e8c85bbc4a23537c7038ba3d2b45abef0477b on reasonerjt:configuration-api into 159d549dbd299b912dccf8590db73eb016aa3fbd on vmware:master.

Coverage decreased (-0.009%) to 53.215% when pulling 9ac23d9da58c750bea4041d0784b141f1af6455c on reasonerjt:configuration-api into 159d549dbd299b912dccf8590db73eb016aa3fbd on vmware:master.


Support Postgres CASE function

Problem
Currently there is no way to filter by a given condition using the CASE function.
Suggested solution
Add support to the CASE function.
Alternatives
As a workaround the $queryRaw can be used to perform the whole query.
Additional context
https://www.postgresql.org/docs/13/functions-conditional.html

Related: https://github.com/prisma/prisma/issues/13529


Returns an empty Array

Hello,
I have no idea why it's not working, I'm getting a 200 status code and the Auth is OK.
I've inserted something into the collection but it show an empty array.

Realm filters the documents automatically according to the rule you have set. So for example if you have the rule "users can read and write only there own documents", it's going to filter by the user field that you have set and you can only see these documents where userid == the userid of your currently logged in user sending the query.
When you write the document, make sure that you are writing the userid = user.id as well so you can match later on it.
In my example in the blog post, my field is owner.
Cheers!
Maxime

That was the issue I had, thanks, it worked when I used post.sh and then findAll.sh

Notice that when you are using post.sh, it's calling this part of the code.
And as you can see here, I'm setting the owner to user.id to make sure that this todo belongs to the current user.


Add a New Program button on admin view

When I created a new admin user and clicked on the various entity tabs, I noticed there were no "Add" buttons except for "Add a New Program" on Programs page (/admin/programs).
Clicking that button generates an error: translation missing: en.admin.not_authorized
I'd imagine that button should be removed for new admins without any services/data assigned to them.
Not a high priority IMHO.

Thanks for the report. How did you create the new admin, and how does your config/locales/en.yml compare to the latest one?

I just registered an account through the sign in process.
I've gotta pass Any .yml questions to @volkanunsal and @gl2748

@devinbalkind It looks like your version of the app is not up to date, which is why you saw that translation missing error. Bugs should be reported against the latest code, which you can test on our demo website.
As for the brand new admin seeing an "Add a new program" button, that is indeed a bug, which I will fix soon.


[VS Code] Sharing workspace: Already connected to a workspace.

<!--
For Visual Studio problems/feedback, please use the Report

@HDONGDeveloper Consolidating with https://github.com/MicrosoftDocs/live-share/issues/1123. If you have logs or additional information, please add to that issue.


Written Local Headers Lack Sizes

In older miniz versions (e.g. 1.15), each file's local header includes the compressed and uncompressed data sizes. This is useful for e.g. Java parsing using ZipInputStream, since the stream implementation does not attempt to read the central directory at the end of the file. In the current codebase, these fields are always written as zero.
See, for example:
https://github.com/richgel999/miniz/blob/64d92e19ade4e500105db33b53d3e5d797bc59e3/miniz_zip.c#L3257

This is how zip64 needs to be written. Can you provide more details on how ZipInputStream handles wrong with this?

Thanks for the reply, in my use case this is without the zip64 flag and with data that isn't big enough to use it automatically. Here's a minimal example:
Archive created with:
mz_zip_writer_add_mem( &zip_archive, "testname", Data, SizeOfData, MZ_DEFAULT_LEVEL )
Then in Java:
ZipInputStream zis;
ZipEntry entry;
try
{
	zis = new ZipInputStream( new FileInputStream( "test.zip" ) );
	if( zis.available() > 0 && ( entry = zis.getNextEntry() ) != null )
	{
		System.out.println( "Uncompressed size: " + entry.getSize() );
		zis.closeEntry();
	}
	zis.close();
}
catch( Exception e )
{
	System.out.println(e);
}

Prints the correct uncompressed size with miniz 1.15 but -1 (not available) in 2.0.6 beta.
My understanding is that this isn't a bug with ZipInputStream but just expected behavior, the stream only reads up to the end of the current file entry so it will never return the size from the central directory. Files can still be parsed this way by just reading until EOF for each entry, but I think it would be nice to keep the size in the local file header when possible (non-zip64?)

I think this issue is similar to #180
miniz writes the compressed and uncompressed file size after the data. It indicates with a streaming flag, that the compressed and uncompressed file size is stored after the data. It may be that your zip reader is not conformant and it ignores the streaming flag.

I think this issue is similar to #180
miniz writes the compressed and uncompressed file size after the data. It indicates with a streaming flag, that the compressed and uncompressed file size is stored after the data. It may be that your zip reader is not conformant and it ignores the streaming flag.


Unable to deploy CommaFeed on OpenShift

I'm sorry to have to open this thread again but with your instructions I get the following error:
remote: [INFO] Including org.postgresql:postgresql:jar:9.4-1200-jdbc41 in the shaded jar.
remote: [INFO] Including com.github.dblock.waffle:waffle-jna:jar:1.7 in the shaded jar.
remote: [INFO] Including net.java.dev.jna:jna:jar:4.1.0 in the shaded jar.
remote: [INFO] Including net.java.dev.jna:jna-platform:jar:4.1.0 in the shaded jar.
remote: [INFO] Including net.sourceforge.jtds:jtds:jar:1.3.1 in the shaded jar.
Connection to commafeed-site.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To<EMAIL_ADDRESS>   4cb5585..6d91216  master -> master
error: failed to push some refs to<EMAIL_ADDRESS>
Thanks in advance!

@Athou Me either, here is mine log
remote: [INFO] Changes detected - recompiling the module!
remote: [INFO] Compiling 122 source files to /var/lib/openshift/550141d6fcf933ec
bb000126/app-root/runtime/repo/target/classes
Connection to commafeed-domain.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To<EMAIL_ADDRESS>t/
   f3e44ca..150cf1c  master -> master
error: failed to push some refs to<EMAIL_ADDRESS>

@Athou I think maybe the memory reason? (only 500 MB memory & 1GB storage for one gear)

Looks like a timeout occuring when the build takes too long, seems to be an openshift issue. I'll check if there's something I can do.

I got the same problem. I try build it on my macbook and it will hold on "[INFO] --- frontend-maven-plugin:0.0.22:npm (npm install) @ commafeed ---
[INFO] Running 'npm install --color=false' in" long time.

@Athou Maybe it run out of gear?

Same thing happened to me. Then I tried it again and it said everything is updated. Still not working.

I don't have any workaround, really seems to be a timeout during the build.

Bummer. I don't know how to do it the other way.

@Athou
Maybe it's not a time out , i think maybe it's OOM. I had try git push --force[1] still not working.
[1] https://github.com/boekkooi/openshift-diy-nginx-php/blob/e2b3c541de06e4634ef9ddac5d28fe614110d368/README.md#openshift-disconnects-on-build

They probably changed something on Openshift because I'm now able to build on a small gear without any issues by following the instructions in the readme.

Didn't work on mine :)
remote: [INFO] Downloading NPM from http://registry.npmjs.org/npm/-/npm-2.10.1.tgz to /var/lib/openshift/55657f3f5973ca718e000155/app-root/runtime/repo/npm.tar.
gz
remote: [INFO] No proxy was configured, downloading directly
remote: [INFO] Extracting NPM files in node/
remote: [INFO] Unpacking /var/lib/openshift/55657f3f5973ca718e000155/app-root/runtime/repo/npm.tar.gz into /var/lib/openshift/55657f3f5973ca718e000155/app-root/
runtime/repo/node
remote: [INFO] Installed NPM locally.
remote: [INFO]
remote: [INFO] --- frontend-maven-plugin:0.0.22:npm (npm install) @ commafeed ---
remote: [INFO] Running 'npm install --color=false' in /var/lib/openshift/55657f3f5973ca718e000155/app-root/runtime/repo
Connection to commafeed-ttvvoo.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To<EMAIL_ADDRESS>   c3291ef..50355e6  master -> master
error: failed to push some refs to<EMAIL_ADDRESS>

I'm pretty sure the problem is running out of memory space on a small gear (and the gear restarts, causing the disconnect). Since the problem seems to be in compiling, and not in running, is there any way to get a compiled version that can run on a small gear?

ok, I've got it working (I can finally update from 2.0.3 which I've been running for a long time).
Just create a new gear in openshift, and add the diy and mysql cartridges.
use this as the deploy hook (.openshift/action_hooks/deploy):
#!/bin/bash
cd $OPENSHIFT_REPO_DIR
sed -i 's/@OPENSHIFT_DIY_IP@/'"$OPENSHIFT_DIY_IP"'/g' .openshift/config.mysql.yml
sed -i 's/@OPENSHIFT_DIY_PORT@/'"$OPENSHIFT_DIY_PORT"'/g' .openshift/config.mysql.yml
sed -i 's/@OPENSHIFT_APP_DNS@/'"$OPENSHIFT_APP_DNS"'/g' .openshift/config.mysql.yml
sed -i 's/@OPENSHIFT_APP_NAME@/'"$OPENSHIFT_APP_NAME"'/g' .openshift/config.mysql.yml
sed -i 's/@OPENSHIFT_MYSQL_DB_HOST@/'"$OPENSHIFT_MYSQL_DB_HOST"'/g' .openshift/config.mysql.yml
sed -i 's/@OPENSHIFT_MYSQL_DB_USERNAME@/'"$OPENSHIFT_MYSQL_DB_USERNAME"'/g' .openshift/config.mysql.yml
sed -i 's/@OPENSHIFT_MYSQL_DB_PASSWORD@/'"$OPENSHIFT_MYSQL_DB_PASSWORD"'/g' .openshift/config.mysql.yml
cd $OPENSHIFT_DATA_DIR
wget https://github.com/Athou/commafeed/releases/download/2.2.0/commafeed.jar

make sure you make it executable in git.
use this as the start hook (.openshift/action_hooks/start):
#!/bin/bash
# The logic to start up your application should be put in this
# script. The application will work only if it binds to
# $OPENSHIFT_DIY_IP:8080
cd $OPENSHIFT_DATA_DIR
export JAVA_HOME=/etc/alternatives/java_sdk_1.8.0
nohup $JAVA_HOME/bin/java -jar commafeed.jar server $OPENSHIFT_REPO_DIR/.openshift/config.mysql.yml > ${OPENSHIFT_DIY_LOG_DIR}/commafeed.log 2>&1 &

use the same stop script that is the current commafeed repo.
And that's it! You don't need to clone the source or build or do anything else.

@srirams, your instructions worked perfectly with 2.3.0 (latest release as of typing this). However, I'm unable to log in. I copied .openshift/config.mysql.yml and according to the file, the database username and password should be the proper credentials. That doesn't seem to be the case for me though. Am I missing something?

I'm assuming you tried the default admin/admin?

I didn't realize that was the default login. I missed this in the README:

The default user is admin and the default password is admin.

It's all working now. Hopefully I'll be able to add some feeds and finally start using this! Thanks for your help and for taking the time to type out the instructions. I'm not sure how upgrading will work but hopefully it doesn't involve deleting the entire gear and starting over from scratch.

Glad you got it working :)
Upgrading should be as simple as stopping the gear and replacing the old commafeed.jar with the new one, and then starting the gear back up. Everything's been very stable for me (for reference, I haven't had to touch a thing since my last post in August, and I use Commafeed quite heavily)

I updated the config manually since I couldn't seem to save my changes via the web interface and I noticed that it downloaded commafeed.jar again, so you're right, updating should be as simple as replacing the link to the latest release. Now I just have to figure out how to delete the unused .jar, so I'll start going through their docs.
Maybe your instructions can be added to the wiki? I almost gave up until I luckily saw your steps after some digging around.


Network Allocator test failure

Seems to happen very rarely, not sure if worth the look now but the timing issue should be easily fixable.
?   	github.com/docker/swarmkit/manager	[no test files]
--- FAIL: TestAllocator (0.25s)
	allocator_test.go:323: timed out before watchNetwork found expected network state
FAIL
FAIL	github.com/docker/swarmkit/manager/allocator	0.423s

/cc @mrjana

Didn't see this failure happen again locally or on the CI. Closing.


Improvement/field inv pornin20

Benchmarked on a VM with an AMD EPYC 7R32 processor
For bw6-761/fp speedup ranged from 71% to 77%.
For bn254/fp speedup ranged from 43% to 65%.
Speedup on my ARM laptop was nowhere near as dramatic.
The inconsistency in the small field performance is due to higher variability in the number of outer loop iterations, a random effect that gets smoothed out in higher field size. In general, the algorithm has a good asymptotic complexity and is expected to scale well.
TODOs:

Remove InverseOld and mulWRegularBf (cleanup)
Implement the "two update factors in one register trick" described in the paper (perf)
Implement some core functions in assembly (linearCombNonModular, mulWRegular, montReduceSigned) (perf)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: gbotrel:x: Arya Tabaie:x: TabaieArya Tabaie seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fixed references to kubectl

replaced all references to kubectl with $KUBE_EXEC to support non-standard Kubernetes management cli

@har-ki can you merge this


Use metav1.SchemeGroupVersion

Signed-off-by: devincd<EMAIL_ADDRESS>use  metav1.SchemeGroupVersion.WithKind("Pod"), so we don't worry about the version.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any user-facing changes.


Attempt to silence port errors

I don't know why this isn't working ...

I think the problem here is that find_free_port() creates a socket that it doesn't use at all, just to get an otherwise unused port. It then leaks the local variable s without closing it, leading to the warning (which gets printed immediately, before the next line at the call site, db.with_bind_ports(…) — apparently this garbage collection is can be instantaneous!).
So the following would fix it:
@@ -51,7 +51,9 @@ def find_free_port():
     """Find free port to run tests on"""
     s = socket.socket()
     s.bind(('', 0))  # Bind to a free port provided by the host.
-    return s.getsockname()[1]  # Return the port number assigned.
+    port = s.getsockname()[1]
+    s.close()
+    return port  # Return the port number assigned.

(Or maybe some try … finally construct would be more elegant.)
Or ideally one could nuke find_free_port() entirely, tell the db to choose a port to bind to (maybe via db.with_bind_ports(db.port, 0)? I couldn't find much documentation…), and then ask it what port it got via some other API in the documentation I didn't find yet…

Thanks @jmarshall! Funny that it's accidentally worked for the past 2 years - that creating the connection, then accidentally leaking it causing it to be immediately freed up to be used. I've reinstated that function, claim the port, and then immediately release it port to be used by the testcontainers database.
This PR also reduces the number of mysql containers spun up by the test suite (going for one database in MariaDB per test class).


New Select Box

TIL I learned some new things about styling select boxes in Firefox. But we should be able to move to a JS-solution here as well so long as we're okay with the placeholder being unstyled on macs.
Changes

Removes Jquery plugin for select boxes
Adds styles from design manual for select boxes
Moves over to the include/global dict style over macros for select boxes and state selectors.

Review

@jimmynotjim
@anselmbradford
@sebworks

Preview

Hover

Disabled

Squashed and rebased and ready for another look over. @anselmbradford & @sebworks

:+1:

Just minor comment :+1:

Oops, we need to move modernizr to modules/polyfill or it kills the linter (and the build).


⚠ Secret Website 1 has degraded performance

In f1259b2, Secret Website 1 ($SECRET_WEBSITE_1) experienced degraded performance:

HTTP code: 200
Response time: 16046 ms

Resolved: Secret Website 1 performance has improved in 15d11eb.


Quirks after zooming a page (even in the docs)

Hello! Caught some disturbing quirks. It seems that p-d can't work correctly after zooming the page.
You can reproduce it here (Firefox or Chrome): click

Scroll down to USAGE header and go up a little. There are the examples.
Ctrl + scrollUp or Ctrl + Num+ to zoom (better to press it a couple of times).
Try to drag elements in examples of (1). Try to drag items in sortable list example. Some constraints cease to work, some elements disappear on drop and so on...

Can you fix it, please?

Hi @kkarpeev, thank you for the comment.
This may help you: https://github.com/anseki/plain-draggable/issues?q=is%3Aissue+scale
You can adjust that by using onDrag.

Sorry, but adjust what exactly?  Code there isn't mine. And I'm trying to point to you that the code in your examples isn't working properly, it needs to be fixed.
Sorry again for being straightforward. But will you fix it or not?

Yes, I updated that.
Thank you for the report. 😄
That was changed for touch devices, other editions are not the target because it's meaningless and unnecessary.
Thank you.

There is nothing to thank me, actually. You just forbid the kb shortcuts for zoom. That didn't solve a thing, browser zoom still works, the examples are still glitchy. You just hid the problem from people. Great job.  I really tried to be nice. Good luck!

P.S. The simplest zoom detector, btw.

Yes, of course mouse and keyboard are not the target. And also, the root cause is not those events as it was already mentioned in past issues.
Thank you for your opinion 😄


logs

Type
enhancement

Description

Added installation_id to the log context within get_log_context function to provide more detailed logging information.

Changes walkthrough
Relevant filesEnhancement

github_app.pyEnhance Logging with Installation ID

pr_agent/servers/github_app.py
Added installation_id to the log context for enhanced logging capabilities.

+2/-1

✨ PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

/review auto_approve

/review --pr_reviewer.extra_instructions="answer in Japanese"


Improve logging for pulling base image

This is sort of related to #620.  This PR adds a little bit of logging around the PullBaseImageStep to notify the user that jib will retry when the initial unauthenticated pull fails.
[INFO] Building dependencies layer...
[INFO] Building resources layer...
[INFO] Building classes layer...
[INFO] Getting base image nonexistant/image with no auth...
[INFO] Trying again for nonexistant/image with auth...
[INFO] Retrieving registry credentials for registry.hub.docker.com…

Perhaps the "auth" is a bit too encoded.

I'd rather include the image ref so that it's clear that the message is tied to the previous pull.

Trying again for <ref> with auth..."

Gosh, I keep forget that I need to escape brackets, haha.


Include tuple in one of the examples

Types of changes

[x] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue

Missing a simple example of Parametrization using ng.p.Tuple in the documentation.
Found two typos in the example

How Has This Been Tested (if it applies)
test_doc.py is modified accordingly to test the modified example.
Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CLA).
[x] All tests passed, and additional code has been covered with new tests.

Hey!
I really like it, thanks for the update!
I'm only concerned by the fact that Tuple(Scalar, Scalar) should really be an Array(shape=(2,)) instead for efficiency, Tuple makes more sense to me on other variables. Wdyt? I can merge as is anyway and we'll see that later on, it's a minor concern ;)

I suppose Array does not support scalars that have different bounds or numeric types. And I make the changes in the example accordingly. Please merge if the example is OK.

I suppose Array does not support scalars that have different bounds or numeric types. And I make the changes in the example accordingly. Please merge if the example is OK.

Different bounds can work (bounds can be an array as well), but not different types indeed ;)
Thanks ;)


feat: move TranscriptRng into RangeProofTranscript

Recent work in #109 uses Merlin's TranscriptRng functionality to improve handling of random number generation, and also refactors transcript operations for safer use through a RangeProofTranscript wrapper.
A suggestion by @sdbondi recommends moving the TranscriptRng into RangeProofTranscript so the prover and verifier aren't responsible for it. This PR adds such a change.

Marking as draft to add some tests.

Do not merge; I just noticed that the transcript documentation is out of date.


Atom

by hswolff (1386 points, 646 comments

From "The Zen of Programming":------Hearing a disturbance, the master programmer went into the novice's cubicle."Curse these personal computers!" cried the novice in anger, "To make them do anything I must use three or even four editing programs. Sometimes I get so confused that I erase entire files. This is truly intolerable!"The master programmer stared at the novice. "And what would you do to remedy this state of affairs?" he asked.The novice thought for a moment. "I will design a new editing program," he said, "a program that will replace all these others."Suddenly the master struck the novice on the side of his head. It was not a heavy blow, but the novice was nonetheless surprised. "What did you do that for?" exclaimed the novice."I have no wish to learn another editing program," said the master.And suddenly the novice was enlightened.

> and there's no compilation step or anything -- then it's almost a fundamental paradigm shift for what desktop software could be.\n> It already makes me dream of a word processor I could hack like that, or a music player. Just by opening up a text editor. It's an inspiring thought.Not to rain on your parade or anything, but you can already do this with Emacs, not to mention that Emacs is free, open source software. Atom is not only not open source but their readme says it won't even be free after the beta.Emacs has been around for almost 40 years, and because it's FOSS it will be around for at least another 40. Editors like Atom come and go.

> A hackable text editor for the 21st centuryI'll fix: A proprietary (unhackable) text editor that only runs on OS X.I imagine that web developers will drool over this.

Of course it's crossplatform. It works on OSX Mavericks and Snow Leapard!

Oh what, it's not open source? The little interest I had in this just evaporated. I would definitely be interested in something like Emacs built on modern technologies, but Emacs is already there and quite good. I feel like something like this could be neat, just because far more people know HTML/JS than Elisp, but if it's not open source that kills my enthusiasm for the project.

> A proprietary (unhackable) text editorI developed some packages for HomeSite in the 90s. When HomeSite was integrated into Dreamweaver and development ceased, I realized that I had wasted my time developing HomeSite packages and that I should never again devote my time to extending closed-source software. Emacs has served me well ever since.

The more I see new editors floating around, the more I'm sticking to VIm. I am getting old, or it's a just a survival instinct.On the other hand, the more the better, but we have already too many editors around.

As the designer who worked on the main interface for Sublime Text 2, it does irk me that it looks so similar. They had carte blanche to create a wonderful new interface and they mostly just copied Sublime Text. The go-to anything menu looks especially similar. https://t.co/5YxVbZcVcK

Welp, makes that decision easy. Not making the most important tool in my toolbox one that I can't hack to my liking.

It's funny you say that, because as the only full time-ish developer of Chocolat, I could really use a lot of help!There's ~600 open issues, my personal todo list alone is several years' worth of work. Too much for one man.---People make too much of open vs closed source. The real distinction is individual-lead vs committee-written.TextMate, Sublime and Vim are good editors. But they are also Allan, Jon and Bram. Writing an editor requires good taste, accumulated experience, and a certain disregard for users' feelings.You need someone who cares about the editor. Without that, you get a program where everything is wrong, but nobody ever bothers to fix it.This is however a blessing and a curse. If the author can't financially support themselves, the editor will die. If the author becomes a millionaire, the editor will die. Thankfully, I'm still poor.---What are the 25 little things, by the way?

I was all ready to be skeptical and everything... but this could actually be amazing.I currently use Chocolat for code editing, which is beautifully elegant and I love it, but there are 25 little tiny things that I really wish I could fix. I file issues, but the developers rightly have their own priorities. It's closed-source, but even if it were open source, I'm not about to learn how to use XCode and Objective C and figure out how to compile and whatnot.But if Atom is ultimately just a big collection of straight-up node.js files, and anyone can go in at any time to change a line here or there -- and it's in JavaScript, so it couldn't be easier for programmers in general -- and there's no compilation step or anything -- then it's almost a fundamental paradigm shift for what desktop software could be.It already makes me dream of a word processor I could hack like that, or a music player. Just by opening up a text editor. It's an inspiring thought.


Tiebout - Apple Push Notification Server App

Simple gall app for sending push notifications to an urbit user's iPhone when they receive a Hall message from a circle that has been subscribed to these notifications.

@loganallenc remember to request review (I just added @ixv and @Fang- )

Hey man! I removed the lib from the repository, made the indentation change and removed the ?~  i.wir you've mentioned. I also added the change to the +:  for the notification that you mentioned. This should be ready to go now. Thanks!


🐛 HASS won't pick up Light State

So i have this difusser  light.sonoff_100080411b up and running on HASS but even when the light ON, the entity state remain OFF, ive been told this could be a bug on the integration side so i think this would help.
im new so i dont know what i'm doing but if need more intel about it, im happy to assist o/

Show your Hass version, integration version and integration config

idk what do you mean by integration config? any particular file or he one with the device code?

Is problem still actual?


app.listen() callback?

Do we have such a thing?

I've seen this thing before. I've would like to contribute.

Adding a callback like feature would be easy as this:
class Bao {
  listen(options: IListen = {}, cb?: () => void): Server {
    const server = Bun.serve(this.#serve(options));

    cb?.()

    return server
  }
}

Adding a callback like feature would be easy as this:

class Bao {

  listen(options: IListen = {}, cb?: () => void): Server {

    const server = Bun.serve(this.#serve(options));

    cb?.()

    return server

  }

}

we can merge my pr actually for this.

@fdemir Oh I did not notice 😅 awesome!


Add help link for available database fields to "Reports" page

without help link, it is practically impossible for a user change existing reports according to specific needs. pls push to PWS-LIVE

Closing as duplicate of #102

without help link, it is practically impossible for a user change existing reports according to specific needs. pls push to PWS-LIVE


Add sendfile to Glibc

This patch supersedes #4402 because I screwed up testing these changes the first time around.
// @paulofaria

@swift-ci please smoke test.

:postal_horn:


Correcting installer file name

I just downloaded the installer and the file name was haxm-7.7.0-setup.exe.

@raydixon : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Error during Invidious installation

Describe the bug
Build process for Invidious install fails because of error, probably due to
fatal: detected dubious ownership in repository at '/home/invidious/invidious' (see screenshot)
I tried doing git config --global --add safe.directory /home/invidious/invidious, removing, and reinstalling Invidious with option 7, but ended up with the exact same result
Expected behavior
Invidious gets installed
Screenshots

Desktop

OS: Pop!_OS 22.04 LTS 64-bit

That should have been fixed in latest Master
$ wget https://github.com/tmiland/Invidious-Updater/raw/master/invidious_update.sh
$ chmod +x invidious_update.sh
$ ./invidious_update.sh

Please try and report back.
Thanks.

Different user reporting in that this is not fixed in 1.6.3 from apt. Same issue with the exact same message on ubuntu 22 (latest updates as of today's date). Running as an unprivileged container under proxmox (if that's somehow related, sorry for the bump but I don't see any clues as to that being the issue).
I've installed this via apt, so checked /opt/invidious-updater-linux_amd64/invidious_update.sh and it has x permissions.
So I attempted to download the script and run it manually as you described and it refuses to install, telling me it is already installed.
Strangely, when I gave it option 10 after giving up, instead of exiting, it said "let's go through some configuration options" then told me it was "ready to be installed" and pressing enter compiles it. Since compiling is time consuming, this definitely didn't happen before with the initial error. Back to the main menu, entering 10 after this does exit and it appears successfully installed.


Possible race condition when resetting a subscription to head

Was noticed during PR review, but not sure how important it is:
https://github.com/TBD54566975/ftl/pull/2210
Possible case:

Subscription is behind and currently consuming an event
Reset subscription command comes in sets the state to idle and updates the cursor to head
2 new events are posted to the topic
New event starts being consumed by the subscription
Original event (from before the reset command) finishes being processed, sets the state to idle even though we are processing the other event still
Then pub sub triggers the next event to be processed (without knowing the other event is being processed still)

From original comment by @worstell:

ah interesting, do you think the solution would be to only update the cursor and not the state? so that if there are any outstanding async calls executing, they'd have to complete before any new ones are kicked off

Honestly I'm not sure. Maybe that would be the neatest solution?


Auto-tune the minibatch size

the minibatch size has a great influence on performance and it depends on the task at size
tune 2 parameters: batch size {8T, 16T, 32T, 64T where T = logical cpus} & factor 1 + {0, 1e-2, 1e-3, 1e-4}
another option is to tune a single parameter: keep the batch size as a parameter, but tune the factor {0, 1e-4, ...., 1e-2}

solution:

modify stoch_solver_t to have ::tune(string_textra_params) & ::minimize()
move the content of stoch_loop t as private utilities in stoch_solver_t
modify stoch_trainer_t to tune the minibatch factor by calling ::tune(factors...) in a loop
may modify stoch_solver_t to store (tuned) parameters as configurable_t::config()


Set up a chat room on Matrix

Let's go ahead and have a chat room. Matrix seems like a good choice here to follow Mozilla and Servo.

While I would prefer Zulip, A matrix room will probably work too and is better than nothing.

There's now a Matrix room #pathfinder:mozilla.org.


Tooltip attribute not recognized

I try to get a tooltip on one label, but it does not appear in the rendered svg. The code is below :
digraph graphe {
    node [shape=record];
    entity [label=<

NameEntity

Name1 : type1

Name2 : type2

>];
}

I expect to be written "foo" in a tooltip window when I left the cursor on the word NameEntity.
I tried to follow the specification of a dot file. Maybe there is a mistake in the text or it may not be implemented.

But you can use Graphviz's own node tooltip:
node1 [style=filled tooltip="hello"];

The problem is that I wanted do add different tooltip for each line.
Considering a multi-line label, like the example below, the tooltip is assigned to the whole label.
entity [style=filled tooltip="hello" label = "{firstText \n secondText}"];

There may be a trick to force it to have two tooltip on "one" node.

The command-line DOT tool appears to have the same behavior. You can assign an xlink:title attribute to the text in that cell if you use the HREF attribute, however:
digraph graphe {
    node [shape=record];
    entity [label=<

NameEntity

Name1 : type1

Name2 : type2

>];
}


Clarify repo name regex intention

Add context to comment to explain the repo name regex in addition to describing it.
Signed-off-by: David Warshaw<EMAIL_ADDRESS>

Rather than just linking to the issue, you can include the reasoning in the original PR. The original reasons seem pretty straightfoward.
In order to support valid hostnames as name components, supporting repeated dash was added.
Additionally double underscore is now allowed as a separator to loosen the restriction for previously supported names.

Your prerogative. The key thing for me, is letting readers know this was carefully considered and not a mistake.

bumping

@dmcgowan Let's get this off the board.


Port issue

This is about:

[ ] A typo
[ ] Innaccurate/misleading documentation (e.g. technically incorrect advice)
[ ] Undocumented code
[ ] Outdated documentation
[x] Other

Problem
https://yew.rs/docs/getting-started/build-a-sample-app
In the documentation that describes the configuration file for the server, it mentions port 8000. However, on Windows, port like 8000 cause conflicts.
[serve]
address = "<IP_ADDRESS>"
port = 3000

It can cause problems on Linux or Mac systems too if you something actively running that uses port 8000. I might be wrong but by default on windows the port should not be actively used.
However maybe a little notice in the Info box that port 8000 is commonly used and might need to be changing could clear up any issues related to that.


My Swift repository is shown as Shell repository

This repo contains Xcode project in Swift 3 language but on my pinned repository list it is showing as Shell language.

This is happening because of these shell scripts are counting more than your Swift code due to their accumulative size.
To make Swift the primary language, you'll need to implement a manual override to ignore them (maybe mark them as vendored?)... or write more Swift 😜

😜 will need to manual override it then. Since it is a small library, can't add more swift code :P


structures.PandasLikeDataFrame: Add rename()

Allow renaming columns using the rename() function.

Thanks a lot for this patch, this is very useful.
I have not reviewed the code, but one quick comment: would you mind adding some tests? The easiest is to copy/paste the tests from Dask:
https://github.com/dask/dask/blob/master/dask/dataframe/tests/test_dataframe.py#L191
https://github.com/dask/dask/blob/master/dask/dataframe/tests/test_dataframe.py#L219
https://github.com/dask/dask/blob/master/dask/dataframe/tests/test_dataframe.py#L237
(not all of them might be applicable). You can look into the other tests here for the small modifications you need to do:
https://github.com/databricks/spark-pandas/blob/master/databricks/koala/tests/test_dataframe.py

These seem to be more like that this solves
https://github.com/dask/dask/blob/master/dask/dataframe/tests/test_dataframe.py#L1969

@thunterdb I added the doctests. And apparently travis is trying to run them.
But the spark is not defined in them

@AbdealiJK yes you need a specific setup to enable the doc tests, @ueshin should be able to help. See this file:
https://github.com/apache/spark/blob/master/python/pyspark/ml/stat.py#L409
If it seems to require more work to set up properly pytest to check the docstring, then let's make a separate task to enable testing the docstring and merge this PR.

@AbdealiJK the rename function has been subsumed in #90 . I am going to close this PR. Thanks again!


RfC: PE Authenticode parsing support using Windows Crypto API

Here's some code for a not-yet-quite-complete implementation of the PKCS7-specific bits of pe_parse_certificates. Once this is done, it might allow for full-featured YARA builds on Windows without the OpenSSL dependency.

I haven't looked at the code but do want to point out that this may result in a differential between a windows version and non-windows that can be difficult to debug. Having one consistent library for parsing these will ensure that rules will be applied consistently.
Just something to think about...

this may result in a differential between a windows version and non-windows that can be difficult to debug.

I agree. If you have a look at the FIXME comment and the changed test, you'll see that there already are some slight differences in the output. Even for string representations, we currently rely entirely on OpenSSL's behavior. (e.g. "sha256WithRSAEncryption" where wincrypt would just give us "sha256RSA").
Giving users the option to get rid of the OpenSSL dependency altogether is still a worthwhile goal, in my opinion.

Since Avast's authenticode-parser was merged, my patch no longer applies. Closing the PR.


update to v0.6.6

https://git.sr.ht/~int80h/gemserv/commit/cecc6f5793983487edbff7a3cec42ac354a5b3d9
Problem

there is an available update
port and host have been deprecated in favor of interface

Solution

update the server.toml
update 😌

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme !bullseyetestme

maybe we should cancel those tests and relaunch them when merging #13 to testing to free up CI time?
and rename this PR to something like "upgrading to v0.6.6 & fixing the server.toml"?

!testme !bullseyetestme

🤞


feat: update schema and sdks

Hi @ringods,
this PR updates the schema and sdks.

@dirien is it OK that all the Example usage comments are gone from the generated SDKs?

@ringods What could be the reason for this?

I checked, there was no update from the underlying aquasec tf provider.

@ringods should be good now :/


Links in documentation do not work

Hello,
It seems that all links related to https://www.dlese.org/ do not work. They resolve to a seemingly unrelated page.

Hello,
The DLESE digital library has been retired and it appears a new
organization has taken over the dlese.org web domain. Thanks for bringing
this to my attention, I will look at removing those links.
Information about DLESE can be found here:
https://aspace.archives.ucar.edu/repositories/2/resources/51
Best regards,
John
On Fri, Jun 11, 2021 at 3:37 AM MiltosD @.***> wrote:

Hello,
It seems that all links related to https://www.dlese.org/ do not work.
They resolve to a seemingly unrelated page.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/joai-project/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJVC7NM73Q4A2YHMZBEEZLTSHKPJANCNFSM46QLFHNA
.

The web links to DLESE have been removed in version 3.3.


Preserve the timestamp when a new annotation is created

Currently if I click on the plus button to create a new annotation, a new slice gets created beneath the previous one. Now I have to click on this slice make it the active one. But the time on the youtube video comes back to the beginning of the video.
There are two solutions in my mind

If a new slice is created by clicking on the plus button, let the new slice get active automatically with time of the youtube video retained at the end of the previous slice
If the new slice can't be made the active slcie automatically, dont allow the time to revert to the beginning of the video on clicking the new slice link. Instead retain the time of the end of the previous slice.

@buggyj is it doable or is there any workarounds

I have implemented this in the new templates, which I will release soon.

Is there any way to start playing the video from where we left in the last session ?
Currently if I close the tiddler and reopen it at a latter time, the video restarts from the begining of that slice.

I cannot think of a way of doing this automatically unless this issue in tw is fixed:
https://github.com/Jermolene/TiddlyWiki5/pull/6699

I have implemented this in the new templates, which I will release soon.

Any updates ? @buggyj

@buggyj
I saw that you have pushed some updates to the mediaplayer github repo. Is the plug in available for download? I am eager to try it out.

It is still not ready

It is still not ready

@buggyj any updates?

It is still not finished - but I have put an updated demo at https://mediaplayerava.tiddlyhost.com/

@buggyj Can I use this in my main wiki?

When and from where to get that update

Which all plug ins should I install. Is the annotation of local videos working

the plugins are
$:/plugins/bj/mediaannotations
and
$:/plugins/bj/mediaplayer
The $:/plugins/bj/mediaplayerAVA is no longer used.
local annotations should be working.

Can you add a demo. I am getting this message.

I have added $:/plugins/bj/ytmediaplayer to https://mediaplayerava.tiddlyhost.com/ which has this widget

@buggyj  Can you take a look at this wiki- https://scribe.tiddlyhost.com/#
I am unable to get the video playing in the mediaplayer

I will update the youtube player, it is still in a 'demo' mode, unlike the other players which are now stable.

An new version of $:/plugins/bj/ytmediaplayer is now available.

I dont see any change after installing the new version ? Is the tiddlyhost site updated with latest version ?

try now

Now the video player is seen, but the video skips to the next video without playing.
Also for youtube video annotation, what is the name of the new template to be used instead of {{||$:/bj/templates/playListYTNotations}} Because of that change,  annotation template is not seen.
Also what is the template of local video annotation?
I have uploaded a few videos in the demo wiki.

I have now update the plugins, the plugin $:/plugins/bj/mediaplayerDynamicTmplates is also need at, and now is uploaded to https://mediaplayerava.tiddlyhost.com/
For youtube annotations use {{||$:/bj/templates/media/gettemplate}}
The the fields yt-start and yt-end  for youtube annotations have changed to starttime and endtime in order to use the same templates as the other players. If you have a lot of these to change I can provide instructions to bulk change them using tiddlyclip.

you may want the tiddler annotationsOptions as well.

I have now update the plugins, the plugin $:/plugins/bj/mediaplayerDynamicTmplates is also need, and now is uploaded to https://mediaplayerava.tiddlyhost.com/

Skiping of videos without playing is solved now.

For youtube annotations use {{||$:/bj/templates/media/gettemplate}}

I tried this template,but the annotation template is not seen in the video tiddlers for annotation.  check this tiddler.

If you have a lot of these to change I can provide instructions to bulk change them using tiddlyclip.

Can you share that method. it will be useful.

you may want the tiddler annotationsOptions as well.

What is that for ?

The annotations doesn't seem to work in my wiki - Can yo ucheck in this demo wiki.

create a tiddler called $:/temp/editplaylist  and put 'show' as it contain - a small '+' will appear on annotation tiddlers

I have fixed this now

Thank you. It works now.

Is there any problem with the copy button ? What does it do ?

The copy button copies the end time from one annotation to the beginning time of the next - it is useful for making adjustments to the times after a list of annotations has been created.

The copy button copies the end time from one annotation to the beginning time of the next - it is useful for making adjustments to the times after a list of annotations has been created.

Is there an extra arrow in the copy button

yes

I cannot think of a way of doing this automatically unless this issue in tw is fixed: Jermolene/TiddlyWiki5#6699

Now that PR is merged, is it possible to do this

Is there any way to start playing the video from where we left in the last session ? Currently if I close the tiddler and reopen it at a latter time, the video restarts from the begining of that slice.


[AUTOPATCHER] Patches CVE-2021-33624 for kernel

        Patches CVE-2021-33624 for kernel.
        This patch and PR was automatically generated and needs human verification before merging.

Addressed in #1119


[Bug] RocketMQ5.0代理grpc模式下 c++客户端填入多个endpoint问题

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Programming Language of the Client
C++
Runtime Platform Environment
Red Hat Enterprise Linux Server release 7.6 (Maipo)
RocketMQ Version of the Client/Server
RocketMQ Broker：5.1.3
c++ client: RocketMQ gRPC Client Cpp SDK 5.0.0
Run or Compiler Version
No response
Describe the Bug
grpc代理模式下，客户端endpoint填入两个IP：ip1:port1;ip2:port2,broker上proxy.log会报错，如下：

c++客户端报错如下：

初步分析如下：
1、StaticNameServerResolver函数：
将分号隔开的两个IP和端口解析到了vector列表
2、amingScheme::buildAddress函数：
将vector列表里的两个IP拼成了逗号","分割的包含两个IP的string
3、rmq::Endpoints ClientImpl::accessPoint()函数：
根据分号";"来拆分上面第2步的string，但因为找不到分号，将整体作为一个IP，经过absl::StrSplit + absl::MaxSplits(':', 1)
"ip1:port1,ip2:port2"被处理成了IP:"ip1:port1,ip2",PORT:port2
4、将IP:"ip1:port1,ip2",PORT:port2 作为endpoint填入grpc数据协议：
auto addr = new rmq::Address();
addr->set_host(segments[1]);
addr->set_port(port);
access_point.mutable_addresses()->AddAllocated(addr);
Steps to Reproduce
c++客户端endpoint填入两个IP+端口
What Did You Expect to See?
c++客户端endpoint填入多个IP+端口能够正常处理
What Did You See Instead?
客户端报错，Broker端也报错
Additional Context
No response

@41405465 If I remember correctly, the scheme we use for endpoint follows this protocol: https://github.com/grpc/grpc/blob/master/doc/naming.md
That said, you should follow this format ipv4:address[:port][,address[:port],...] when specify multiple IPv4 addresses

这样配ok了，谢谢！

@41405465 If I remember correctly, the scheme we use for endpoint follows this protocol: https://github.com/grpc/grpc/blob/master/doc/naming.md
That said, you should follow this format ipv4:address[:port][,address[:port],...] when specify multiple IPv4 addresses

ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:18081，这样配置地址，还是不对，请你们验证下多个地址要怎么配

两个master,两个slave，都开启proxy，地址配这个：ipv4:<IP_ADDRESS>:18081;<IP_ADDRESS>:18081;<IP_ADDRESS>:18081;<IP_ADDRESS>:28081
日志如下，明显还是被拆了：
20230921 22:19:20.734482    77 DEBUG GetValueString [RocketMQ] addr: ipv4:<IP_ADDRESS>:18081;<IP_ADDRESS>:18081;<IP_ADDRESS>:18081;<IP_ADDRESS>:28081 - IniFile.cpp:78
20230921 22:19:20.734518    77 DEBUG GetValueString [RocketMQ] topic: send_msg_topic - IniFile.cpp:78
20230921 22:19:20.734530    77 DEBUG GetValueString [RocketMQ] group: group1 - IniFile.cpp:78
20230921 22:19:20.734542    77 DEBUG GetValueString [RocketMQ] tag: * - IniFile.cpp:78
20230921 22:19:20.734555    77 DEBUG GetValueInt [RocketMQ] read_write: 1 - IniFile.h:99
[2023/09/21-14:19:20.749 +00:00] [rocketmq_logger] [---I---] [thread 77] ClientManager[ResourceNamespace=] created /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:86
[2023/09/21-14:19:20.751 +00:00] [rocketmq_logger] [---D---] [thread 77] Heartbeat task-id=1 /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:115
[2023/09/21-14:19:20.751 +00:00] [rocketmq_logger] [---I---] [thread 77] Create a RPC client to ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:483
[2023/09/21-14:19:20.761 +00:00] [rocketmq_logger] [---D---] [thread 77] Create a new session for ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:512
[2023/09/21-14:19:20.764 +00:00] [rocketmq_logger] [---D---] [thread 77] [Outbound]Headers of /apache.rocketmq.v2.MessagingService/Telemetry:
x-mq-client-id --> aad2961f757f@77#0_1695305960744
x-mq-client-version --> 5.0.0
x-mq-date-time --> 20230921T141920Z
x-mq-language --> CPP
x-mq-protocol-version --> v2 /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:55
[2023/09/21-14:19:20.805 +00:00] [rocketmq_logger] [---I---] [thread 77] Sync client settings to ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/client/SessionImpl.cpp:35
[2023/09/21-14:19:20.806 +00:00] [rocketmq_logger] [---D---] [thread 77] ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081#fireWrite /workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:275
[2023/09/21-14:19:20.808 +00:00] [rocketmq_logger] [---D---] [thread 77] Writing telemetry command to ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081: settings {
client_type: PUSH_CONSUMER
access_point {
scheme: IPv4
addresses {
host: "<IP_ADDRESS>:18081,<IP_ADDRESS>"
port: 28081
}
}
request_timeout {
seconds: 3
}
subscription {
group {
name: "group1"
}
subscriptions {
topic {
name: "send_msg_topic"
}
expression {
type: TAG
expression: ""
}
}
receive_batch_size: 32
long_polling_timeout {
seconds: 30
}
}
user_agent {
language: CPP
version: "5.0.0"
platform: "Linux 64-bit"
hostname: "aad2961f757f"
}
}
/workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:292
[2023/09/21-14:19:20.808 +00:00] [rocketmq_logger] [---D---] [thread 77] [Outbound] /apache.rocketmq.v2.MessagingService/Telemetry: Buffer: 138bytes /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:63
[2023/09/21-14:19:20.825 +00:00] [rocketmq_logger] [---D---] [thread 94] OnWriteDone: true /workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:67
[2023/09/21-14:19:20.825 +00:00] [rocketmq_logger] [---D---] [thread 94] ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081#fireRead /workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:262
[2023/09/21-14:19:20.826 +00:00] [rocketmq_logger] [---D---] [thread 94] ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081#fireWrite /workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:275
[2023/09/21-14:19:20.826 +00:00] [rocketmq_logger] [---D---] [thread 94] No TelemtryCommand to write. Peer=ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:279
[2023/09/21-14:19:20.830 +00:00] [rocketmq_logger] [---D---] [thread 94] [Inbound]Response metadata of /apache.rocketmq.v2.MessagingService/Telemetry is empty /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:79
[2023/09/21-14:19:20.831 +00:00] [rocketmq_logger] [---D---] [thread 93] [Inbound] /apache.rocketmq.v2.MessagingService/Telemetry
status {
code: OK
message: "OK"
}
settings {
client_type: PUSH_CONSUMER
access_point {
scheme: IPv4
addresses {
host: "<IP_ADDRESS>:18081,<IP_ADDRESS>"
port: 28081
}
}
backoff_policy {
max_attempts: 17
customized_backoff {
next {
seconds: 1
}
next {
seconds: 5
}
next {
seconds: 10
}
next {
seconds: 30
}
next {
seconds: 60
}
next {
seconds: 120
}
next {
seconds: 180
}
next {
seconds: 240
}
next {
seconds: 300
}
next {
seconds: 360
}
next {
seconds: 420
}
next {
seconds: 480
}
next {
seconds: 540
}
next {
seconds: 600
}
next {
seconds: 1200
}
next {
seconds: 1800
}
next {
seconds: 3600
}
next {
seconds: 7200
}
... /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:93
[2023/09/21-14:19:20.831 +00:00] [rocketmq_logger] [---D---] [thread 93] OnReadDone: ok=true /workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:99
[2023/09/21-14:19:20.831 +00:00] [rocketmq_logger] [---D---] [thread 93] Read a telemetry command from ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081: status {
code: OK
message: "OK"
}
settings {
client_type: PUSH_CONSUMER
access_point {
scheme: IPv4
addresses {
host: "<IP_ADDRESS>:18081,<IP_ADDRESS>"
port: 28081
}
}
backoff_policy {
max_attempts: 17
customized_backoff {
next {
seconds: 1
}
next {
seconds: 5
}
next {
seconds: 10
}
next {
seconds: 30
}
next {
seconds: 60
}
next {
seconds: 120
}
next {
seconds: 180
}
next {
seconds: 240
}
next {
seconds: 300
}
next {
seconds: 360
}
next {
seconds: 420
}
next {
seconds: 480
}
next {
seconds: 540
}
next {
seconds: 600
}
next {
seconds: 1200
}
next {
seconds: 1800
}
next {
seconds: 3600
}
next {
seconds: 7200
}
}
}
request_timeout {
seconds: 3
}
subscription {
group {
name: "group1"
}
subscriptions {
topic {
name: "send_msg_topic"
}
expression {
type: TAG
expression: ""
}
}
fifo: false
receive_batch_size: 32
long_polling_timeout {
seconds: 20
}
}
user_agent {
language: CPP
version: "5.0.0"
platform: "Linux 64-bit"
hostname: "aad2961f757f"
}
metric {
}
}
/workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:113
[2023/09/21-14:19:20.831 +00:00] [rocketmq_logger] [---I---] [thread 93] Received settings from ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081: client_type: PUSH_CONSUMER
access_point {
scheme: IPv4
addresses {
host: "<IP_ADDRESS>:18081,<IP_ADDRESS>"
port: 28081
}
}
backoff_policy {
max_attempts: 17
customized_backoff {
next {
seconds: 1
}
next {
seconds: 5
}
next {
seconds: 10
}
next {
seconds: 30
}
next {
seconds: 60
}
next {
seconds: 120
}
next {
seconds: 180
}
next {
seconds: 240
}
next {
seconds: 300
}
next {
seconds: 360
}
next {
seconds: 420
}
next {
seconds: 480
}
next {
seconds: 540
}
next {
seconds: 600
}
next {
seconds: 1200
}
next {
seconds: 1800
}
next {
seconds: 3600
}
next {
seconds: 7200
}
}
}
request_timeout {
seconds: 3
}
subscription {
group {
name: "group1"
}
subscriptions {
topic {
name: "send_msg_topic"
}
expression {
type: TAG
expression: "*"
}
}
fifo: false
receive_batch_size: 32
long_polling_timeout {
seconds: 20
}
}
user_agent {
language: CPP
version: "5.0.0"
platform: "Linux 64-bit"
hostname: "aad2961f757f"
}
metric {
}
/workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:123
[2023/09/21-14:19:20.832 +00:00] [rocketmq_logger] [---D---] [thread 93] ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081#fireRead /workspaces/l2test/l2test/libs/cpp/source/client/TelemetryBidiReactor.cpp:262
[2023/09/21-14:19:20.833 +00:00] [rocketmq_logger] [---E---] [thread 77] Unknown metric address scheme /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:217
[2023/09/21-14:19:20.834 +00:00] [rocketmq_logger] [---I---] [thread 77] Create inflight route query cache for topic=send_msg_topic /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:304
[2023/09/21-14:19:20.834 +00:00] [rocketmq_logger] [---D---] [thread 77] Name server connection URL: ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:546
[2023/09/21-14:19:20.834 +00:00] [rocketmq_logger] [---D---] [thread 77] Query route request: topic {
name: "send_msg_topic"
}
endpoints {
scheme: IPv4
addresses {
host: "<IP_ADDRESS>:18081,<IP_ADDRESS>"
port: 28081
}
}
/workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:547
[2023/09/21-14:19:20.835 +00:00] [rocketmq_logger] [---T---] [thread 77] Skip MAC address of network interface lo /workspaces/l2test/l2test/libs/cpp/source/base/UtilAll.cpp:84
[2023/09/21-14:19:20.835 +00:00] [rocketmq_logger] [---D---] [thread 77] Use MAC address of network interface eth0 /workspaces/l2test/l2test/libs/cpp/source/base/UtilAll.cpp:87
[2023/09/21-14:19:20.836 +00:00] [rocketmq_logger] [---D---] [thread 77] [Outbound]Headers of /apache.rocketmq.v2.MessagingService/QueryRoute:
x-mq-client-id --> aad2961f757f@77#0_1695305960744
x-mq-client-version --> 5.0.0
x-mq-date-time --> 20230921T141920Z
x-mq-language --> CPP
x-mq-protocol-version --> v2
x-mq-request-id --> 010242AC110005004DE8EA1D0501000000 /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:55
[2023/09/21-14:19:20.836 +00:00] [rocketmq_logger] [---D---] [thread 77] [Outbound] /apache.rocketmq.v2.MessagingService/QueryRoute: Buffer: 63bytes /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:63
[2023/09/21-14:19:20.841 +00:00] [rocketmq_logger] [---D---] [thread 93] [Inbound]Response metadata of /apache.rocketmq.v2.MessagingService/QueryRoute is empty /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:79
[2023/09/21-14:19:20.841 +00:00] [rocketmq_logger] [---D---] [thread 93] [Inbound] /apache.rocketmq.v2.MessagingService/QueryRoute
status {
code: INTERNAL_SERVER_ERROR
message: "Unparseable port number: <IP_ADDRESS>:18081,<IP_ADDRESS>. IllegalArgumentException. com.google.common.net.HostAndPort.fromString(HostAndPort.java:201)"
}
/workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:91
[2023/09/21-14:19:20.841 +00:00] [rocketmq_logger] [---D---] [thread 86] RPC[Query route of topic=send_msg_topic from ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081] costs 6ms /workspaces/l2test/l2test/libs/cpp/source/base/include/InvocationContext.h:64
[2023/09/21-14:19:20.841 +00:00] [rocketmq_logger] [---W---] [thread 86] InternalServerError: Unparseable port number: <IP_ADDRESS>:18081,<IP_ADDRESS>. IllegalArgumentException. com.google.common.net.HostAndPort.fromString(HostAndPort.java:201). Host=ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:622
[2023/09/21-14:19:20.841 +00:00] [rocketmq_logger] [---W---] [thread 86] Failed to resolve route for topic=send_msg_topic from ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:328
[2023/09/21-14:19:20.842 +00:00] [rocketmq_logger] [---I---] [thread 86] Change current name server from ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 to ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:331
[2023/09/21-14:19:20.842 +00:00] [rocketmq_logger] [---W---] [thread 86] Yuck! route for send_msg_topic is invalid. Cause: Server side interval error /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:438
[2023/09/21-14:19:20.842 +00:00] [rocketmq_logger] [---D---] [thread 86] Apply cached callbacks with acquired route data for topic=send_msg_topic /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:430
[2023/09/21-14:19:20.843 +00:00] [rocketmq_logger] [---I---] [thread 77] Fetched route for 0 out of 1 topics /workspaces/l2test/l2test/libs/cpp/source/rocketmq/PushConsumerImpl.cpp:492
[2023/09/21-14:19:20.843 +00:00] [rocketmq_logger] [---I---] [thread 77] start concurrently consume service: group1 /workspaces/l2test/l2test/libs/cpp/source/rocketmq/PushConsumerImpl.cpp:77
[2023/09/21-14:19:20.844 +00:00] [rocketmq_logger] [---W---] [thread 77] No hosts to send heartbeat to at present /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:389
[2023/09/21-14:19:20.844 +00:00] [rocketmq_logger] [---I---] [thread 77] PushConsumer started, groupName=group1 /workspaces/l2test/l2test/libs/cpp/source/rocketmq/PushConsumerImpl.cpp:95
[2023/09/21-14:19:20.945 +00:00] [rocketmq_logger] [---I---] [thread 89] Execute task: scan-assignment-task. Use-count: 2 /workspaces/l2test/l2test/libs/cpp/source/scheduler/SchedulerImpl.cpp:165
[2023/09/21-14:19:20.945 +00:00] [rocketmq_logger] [---D---] [thread 89] Start of assignment scanning /workspaces/l2test/l2test/libs/cpp/source/rocketmq/PushConsumerImpl.cpp:167
[2023/09/21-14:19:20.945 +00:00] [rocketmq_logger] [---D---] [thread 89] Scan assignments for send_msg_topic /workspaces/l2test/l2test/libs/cpp/source/rocketmq/PushConsumerImpl.cpp:178
[2023/09/21-14:19:20.945 +00:00] [rocketmq_logger] [---I---] [thread 89] Create inflight route query cache for topic=send_msg_topic /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:304
[2023/09/21-14:19:20.946 +00:00] [rocketmq_logger] [---D---] [thread 89] Name server connection URL: ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:546
[2023/09/21-14:19:20.946 +00:00] [rocketmq_logger] [---D---] [thread 89] Query route request: topic {
name: "send_msg_topic"
}
endpoints {
scheme: IPv4
addresses {
host: "<IP_ADDRESS>:18081,<IP_ADDRESS>"
port: 28081
}
}
/workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:547
[2023/09/21-14:19:20.946 +00:00] [rocketmq_logger] [---D---] [thread 89] [Outbound]Headers of /apache.rocketmq.v2.MessagingService/QueryRoute:
x-mq-client-id --> aad2961f757f@77#0_1695305960744
x-mq-client-version --> 5.0.0
x-mq-date-time --> 20230921T141920Z
x-mq-language --> CPP
x-mq-protocol-version --> v2
x-mq-request-id --> 010242AC110005004DE8EA1D0502000000 /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:55
[2023/09/21-14:19:20.947 +00:00] [rocketmq_logger] [---D---] [thread 89] [Outbound] /apache.rocketmq.v2.MessagingService/QueryRoute: Buffer: 63bytes /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:63
[2023/09/21-14:19:20.948 +00:00] [rocketmq_logger] [---D---] [thread 89] End of assignment scanning. /workspaces/l2test/l2test/libs/cpp/source/rocketmq/PushConsumerImpl.cpp:190
[2023/09/21-14:19:20.951 +00:00] [rocketmq_logger] [---D---] [thread 94] [Inbound]Response metadata of /apache.rocketmq.v2.MessagingService/QueryRoute is empty /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:79
[2023/09/21-14:19:20.951 +00:00] [rocketmq_logger] [---D---] [thread 94] [Inbound] /apache.rocketmq.v2.MessagingService/QueryRoute
status {
code: INTERNAL_SERVER_ERROR
message: "Unparseable port number: <IP_ADDRESS>:18081,<IP_ADDRESS>. IllegalArgumentException. com.google.common.net.HostAndPort.fromString(HostAndPort.java:201)"
}
/workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:91
[2023/09/21-14:19:20.951 +00:00] [rocketmq_logger] [---D---] [thread 87] RPC[Query route of topic=send_msg_topic from ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081] costs 5ms /workspaces/l2test/l2test/libs/cpp/source/base/include/InvocationContext.h:64
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---W---] [thread 87] InternalServerError: Unparseable port number: <IP_ADDRESS>:18081,<IP_ADDRESS>. IllegalArgumentException. com.google.common.net.HostAndPort.fromString(HostAndPort.java:201). Host=ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:622
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---W---] [thread 87] Failed to resolve route for topic=send_msg_topic from ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:328
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---I---] [thread 87] Change current name server from ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 to ipv4:<IP_ADDRESS>:18081,<IP_ADDRESS>:28081 /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:331
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---W---] [thread 87] Yuck! route for send_msg_topic is invalid. Cause: Server side interval error /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:438
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---D---] [thread 87] Apply cached callbacks with acquired route data for topic=send_msg_topic /workspaces/l2test/l2test/libs/cpp/source/rocketmq/ClientImpl.cpp:430
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---W---] [thread 87] Failed to select a broker to query assignment for group=group1, topic=send_msg_topic /workspaces/l2test/l2test/libs/cpp/source/rocketmq/PushConsumerImpl.cpp:225
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---D---] [thread 87] QueryAssignmentRequest: topic {
name: "send_msg_topic"
}
group {
name: "group1"
}
endpoints {
scheme: IPv4
addresses {
host: "<IP_ADDRESS>:18081,<IP_ADDRESS>"
port: 28081
}
}
/workspaces/l2test/l2test/libs/cpp/source/rocketmq/PushConsumerImpl.cpp:231
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---D---] [thread 87] Prepare to send query assignment request to broker[address=] /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:651
[2023/09/21-14:19:20.952 +00:00] [rocketmq_logger] [---I---] [thread 87] Create a RPC client to  /workspaces/l2test/l2test/libs/cpp/source/client/ClientManagerImpl.cpp:483
E0921 14:19:20.954526681      87 dns_resolver_ares.cc:459]   no server name supplied in dns URI
E0921 14:19:20.955121903      87 channel.cc:119]             channel stack builder failed: UNKNOWN: the target uri is not valid: dns:///
[2023/09/21-14:19:20.956 +00:00] [rocketmq_logger] [---D---] [thread 87] [Outbound]Headers of /apache.rocketmq.v2.MessagingService/QueryAssignment:
x-mq-client-id --> aad2961f757f@77#0_1695305960744
x-mq-client-version --> 5.0.0
x-mq-date-time --> 20230921T141920Z
x-mq-language --> CPP
x-mq-protocol-version --> v2
x-mq-request-id --> 010242AC110005004DE8EA1D0503000000 /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:55
[2023/09/21-14:19:20.956 +00:00] [rocketmq_logger] [---D---] [thread 87] [Outbound] /apache.rocketmq.v2.MessagingService/QueryAssignment: Buffer: 73bytes /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:63
[2023/09/21-14:19:20.959 +00:00] [rocketmq_logger] [---D---] [thread 94] [Inbound]Response metadata of /apache.rocketmq.v2.MessagingService/QueryAssignment is empty /workspaces/l2test/l2test/libs/cpp/source/client/LogInterceptor.cpp:79
[2023/09/21-14:19:20.959 +00:0

try "<IP_ADDRESS>:8080;127.0.2:8081"

try "<IP_ADDRESS>:8080;127.0.2:8081"

That's right.
See https://github.com/apache/rocketmq-clients/blob/16bc4a8c61717b038cfb4b17de00bd3969e91290/cpp/source/rocketmq/ClientImpl.cpp#L73

https://github.com/apache/rocketmq-clients/blob/16bc4a8c61717b038cfb4b17de00bd3969e91290/cpp/source/rocketmq/ClientImpl.cpp#L73

And I think we could fix this issue by changing ';' in this line to ','. @lizhanhui

@0902horn It's would be nice to file a pull request, making it compliant to gRPC naming scheme.  To make the change non-breaking, we'd better make it backward compatible, aka, accepting both ',' and ';' a the same time.

@0902horn It's would be nice to file a pull request, making it compliant to gRPC naming scheme. To make the change non-breaking, we'd better make it backward compatible, aka, accepting both ',' and ';' a the same time.

Cool! Shall we support this feature for clients of other languages as well?

@0902horn It's would be nice to file a pull request, making it compliant to gRPC naming scheme. To make the change non-breaking, we'd better make it backward compatible, aka, accepting both ',' and ';' a the same time.

Cool! Shall we support this feature for clients of other languages as well?

Definitely yes. Keeping features and usage consistent among language bindings is of consensus and treated as top priority.
You are welcome to contribute on this issue.


implement user-created Actions like Xfce's clipman plugin

I realize this is a long shot, but I was hoping this plugin was inspired by Xfce's clipman, so I thought I'd ask!
In Xfce's clipman, there's a window that allows you to add a regex entry along with a list of commands and actions.  When the copied text matches the regex, it will pop open a list of the commands you set up, and let you choose one to run.
For example, if you created a regex for https?\:\/\/.*imdb.com/title/tt\(0-9{5-7}\) and entered a command like
curl -H "Content-Type: application/json" -X POST ... http://<IP_ADDRESS>:8310/api/movie?apikey=YOURAPIKEYHERE
then any time you happened to copy a movie link from IMDb, then it could automatically pop up a window to let you click that command (in this case curling the captured part of the regex over to, say, Radarr).  I realize that popping open a menu, particularly near the cursor, might not be possible, but just having the pertinent commands (and not nonsense commands) show up would be excellent.
In my Xfce days, I used it a lot:

copy file names with commands to rotate or resize JPGs
copy walls of text with a command to post to Pastebin (not Paste to Pastebin :rofl: )
I even had one that would convert text to a QR code
and things like that.  It's a really great productivity tool (with a somewhat steep learning curve), so I would love to see something like that in Gnome.

Cheers!

I just noticed your comment in #11 about wanting to remain lightweight.  I can certainly appreciate that, so I understand if that's not in your desired scope. :crossed_fingers:

Right, I have no plans to implement such a feature (at least in the near future).

nonsense commands

Which commands and why?

Which commands and why?

Just saying that the regex would only show "resize image" commands when the file/url you have copied ends with PNG|JPG , etc. rather than showing you commands that don't apply to the link/text you have selected.

no plans to implement such a feature

Understood.  Thanks for your consideration.

Well, let's keep it open. It's in principle a worthy idea.


market place

market place
Github Actions
https://github.com/marketplace?type=actions

https://github.com/sdras/awesome-actions


Increased solr timeouts

These are not scientifically chosen values, but I don't think they are unreasonable either.  Its very easy to trigger a timeout at the moment with blank searches.


added Mercari logo

Hey @keith! The Runway crew got deleted here :'(

@gsavit oh shoot super sorry, let me make a PR. very sorry about that.

@gsavit @keith 🙏 https://github.com/MobileNativeFoundation/mobilenativefoundation.org/pull/50


Add log message if core threshold is used in fallback policy

Proposed changes:

Log a message in the FallbackPolicy when the core_threshold is used as confidence. In case the FallbackPolicy was chosen in the end, the user knows from the log message before, that there was no other action policy that had a higher confidence than the core_threshold.

Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.