TypeError: Input 'input_sizes' of 'Conv2DBackpropInput' Op has type float32 that does not match expected type of int32.

Hello,
When running train.py I got this error which raise from deconv2d:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 128, in
main(args)
File "train.py", line 112, in main
model = network(args)
File "/home/hannahbrahman/ADV ML CMPS 290/GANS/ImageCompletion_IncompleteData/network.py", line 16, in init
self.build_model()
File "/home/hannahbrahman/ADV ML CMPS 290/GANS/ImageCompletion_IncompleteData/network.py", line 28, in build_model
self.X_g, self.g_nets = self.completion_net(self.Y_r, name="generator")
File "/home/hannahbrahman/ADV ML CMPS 290/GANS/ImageCompletion_IncompleteData/network.py", line 165, in completion_net
deconv1 = deconv2d(conv8, 4, [self.batch_size, input_shape[1]/2, input_shape[2]/2, 128], name="deconv1")
File "/home/hannahbrahman/ADV ML CMPS 290/GANS/ImageCompletion_IncompleteData/architecture.py", line 50, in deconv2d
strides=[1, 2, 2, 1])
File "/soe/hannahbrahman/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/nn_ops.py", line 1048, in conv2d_transpose
name=name)
File "/soe/hannahbrahman/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 486, in conv2d_backprop_input
data_format=data_format, name=name)
File "/soe/hannahbrahman/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 513, in apply_op
(prefix, dtypes.as_dtype(input_arg.type).name))
TypeError: Input 'input_sizes' of 'Conv2DBackpropInput' Op has type float32 that does not match expected type of int32.
Anyone has any idea to fix?

I have encountered the same problem. Have you solved it?

I have encountered the same problem. Have you solved it?

"Op has type float32 that does not match expected type of int32."
When I convert the codes from Python2 to Python3, I met the same problem.
`netwrok.py line 165
deconv1 = deconv2d(conv8, 4, [self.batch_size, input_shape[1]/2, input_shape[2]/2, 128], name="deconv1")
input_shape[1]/2
↓
input_shape[1]//2
`
problem solved


[database] clean up sources

At the moment the source information is a bit paltry for the database. Before it gets too much further the database should be scrubbed a bit to add the source reference material as is suggested for most historical features.

@ohmec Do we have the capability of allowing multiple sources to be cited for the same feature? What about an easy way to cite a single source for multiple features. Moreover, it is clear that there are going to be different sources for the same feature that contradict each other. I would be beneficial to be able to cite all sources and show which one is being followed and which one is not, thus communicating that a conscious decision was made as to which source is more credible.

@ohmec Do we have the capability of allowing multiple sources to be cited for the same feature? What about an easy way to cite a single source for multiple features. Moreover, it is clear that there are going to be different sources for the same feature that contradict each other. I would be beneficial to be able to cite all sources and show which one is being followed and which one is not, thus communicating that a conscious decision was made as to which source is more credible.

Ah, yes we do, and I forgot to tag this when it went in months ago. It was added in PR #156, silently alas. But the documentation was updated at that time.

I'm leaving this open and calling it a P1 for Phase I to make sure every feature has at least one source. I will also add source or sources as a required property going forward after that goes in. This doesn't mean they'll be "cleaned up", but at least they will all be sourced to at least a minimal level. It would be nice to keep linkrot away and make sure all source links are alive.


Add 2 new features

2 new functions can be activated or deactivated.
The first allows you to add a button to each post, enabling you to copy the post's link.
The second adds a steamdb link below each steam link.

Looks great, thanks for your contribution @Altansar69 :)

thanks to you!


Fastnlight: Watch saleslinguistics.com

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

saleslinguistics\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Badlist normalization is inconsistently used and causes misses

Describe the bug
I was investigating why a URL, already included in IoCs exported from my collection, weren't recognized on a few submissions. It's turned out, the URL contains some upper characters while the version saved by Badlist updater was normalized to lower characters... but the normalization is not performed when matching against badlist. It looks like the manual adding items to Badlist also isn't normalized.
To Reproduce
Steps to reproduce the behavior:

Have a file with URL including an URL in both normalized and original form, e.g. a TXT file like:https://exampleee.com/SomeUpperCaseURL
https://exampleee.com/someuppercaseurl

Add the normalized form to badlist manually.
Submit file and observe only the normalized form being marked.
Add the original form to a badlist update source and trigger downloading.
Resubmit file and observe only the normalized form being marked. In addition, the URL in badlist should be only in the normalized form.
Add the original form to the badlist manually. In addition, the URL in Badlist should now be also in the original form.
Resubmit file and observe both URLs are marked.

Expected behavior
Tags are matched regardless of the normalized or not form.
Screenshots
Environment (please complete the following information if pertinent):

Assemblyline Version: <IP_ADDRESS>, Badlist <IP_ADDRESS>

Additional context
I have found the normalization in the updating server: https://github.com/CybercentreCanada/assemblyline-service-badlist/blob/3821ce750186704fd649609352ca822bf949877b/badlist/update_server.py#L158
But neither in Badlist client: https://github.com/CybercentreCanada/assemblyline-core/blob/06eb4c46f77be82e657de489d3d8d9350e709ea1/assemblyline_core/badlist_client.py#L139-L152
service API: https://github.com/CybercentreCanada/assemblyline-v4-service/blob/7dbbddc1cbedc8c3324c8a936b255552bd62fde6/assemblyline_v4_service/common/api.py#L140-L152
nor the badlist itself: https://github.com/CybercentreCanada/assemblyline-service-badlist/blob/3821ce750186704fd649609352ca822bf949877b/badlist/badlist.py#L97-L122
I suspect it may also be a case for file hashes and the safelist, but I haven't tested those cases

Based on https://www.rfc-editor.org/rfc/rfc3986#section-<IP_ADDRESS>, it looks like we could normalize the domain part of the URLs to be lowercased since that part is case insensitive in practice. However other parts of the URL, we probably shouldn't normalize in cases where /About and /about could route differently even if on the same domain.
This would have to be particular to any tags that involve a URL or domain (I think currently just network.(static|dynamic).(domain|uri)) and we'd probably perform this normalization in the client (likely the exists_tags() call) since it's a common point for both the services and core where the normalization should take place before doing a search in ES.

This should be resolved in the <IP_ADDRESS> release and the v<IP_ADDRESS> release of the Badlist service.


Allow construction of async objects without triggering async operations

This is important because it enables an object to be fully constructed and available before another thread sees its CQ event trigger. Otherwise there needs to be explicit application-level synchronization in place to avoid that problem.
 I need to reach into C core and change the behavior of grpc_alarm_create (or create an alternative grpc_alarm_create_unraced that takes a grpc_alarm** as its argument and fills it in)

I will separate out the alarm component of this from the C++ streaming objects part since the alarm portion requires core work as well.

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Cc @slash-lib

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

[trickle] No significant performance differences

LGTM

If we want to advise users to use this new API, we should also update the async examples and tests and make it clear in the documents that the new API should be used.

Yes, I will plan to document this. The reality is that users can continue to use the existing API, particularly for single-threaded codes or if they like dealing with workarounds. But we can update the examples to make it clear that this should be the new normal. Now or in a follow-on PR?

Ok, I have updated the examples. As for the tests, there are three categories:

async/generic/hybrid_end2end_test : not directly affected by API workarounds since single-threaded
thread_stress_test : not directly affected by API workarounds since unary only (where the new API only exists for consistency, not functionality)
qps tests: changed in this PR. This PR allows the reduction of a lock at object construction.

Rebased and squashed; diff is unchanged.

Jenkins, test this please

[trickle] No significant performance differences

Jenkins, test this please

Jenkins, test this please

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_ping_pong.BM_StreamingPingPongWithCoalescingApi_InProcessCHTTP2_NoOpMutator_NoOpMutator__2M_2_0.counters.new: 1

[microbenchmarks] Performance differences noted:
Benchmark                                                              atm_add_per_iteration    nows_per_iteration
---------------------------------------------------------------------  -----------------------  --------------------
BM_StreamingPingPong<InProcessCHTTP2, NoOpMutator, NoOpMutator>/16M/2                           -4%
BM_StreamingPingPong<TCP, NoOpMutator, NoOpMutator>/2M/2               -5%                      -5%
BM_UnaryPingPong<MinTCP, NoOpMutator, NoOpMutator>/2M/2M               -5%                      -6%
BM_UnaryPingPong<TCP, NoOpMutator, NoOpMutator>/2M/2M                  -5%                      -6%

Test failures in CQ (to be resolved by #12564)
Test failures #12307 #12138 #12407 #12547


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Thu Apr 07 2016 13:39:20 GMT 1000 (AUS Eastern Standard Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\Lucas\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\Lucas\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #470

@Yages Can you please send me a copy of your squirrel log file found at
%LOCALAPPDATA%\GPMDP_3

Sure can, just tacked .txt on the end to keep GitHub happy.  I also noticed it had an update available when I restarted.
SquirrelSetup.log.txt

Closing this automatically reported issue as a duplicate of #470

The unicorn was not happy.


Implement client-side APK discovery in apko

The protocol follows a roughly similar handshake to OIDC discovery, hitting {repository}/apk-configuration, extracting the jwks_uri and then recording each pem-encoded key as /etc/apk/keys/{kid}.rsa.pub.
I have tested this locally with both public and private APK repositories against apk.mattmoor.dev with the changes in: https://github.com/chainguard-dev/mono/pull/18431
Once this lands, I can use this in e2e tests there, but those are somewhat 🐔  & 🥚

@imjasonh I made it do a real key discovery to confirm things work against staging.  We can swap this to a prod group once we push.


Feature Request: Support applying hotkeys to text before a pre-defined symbol

When creating text/list/task items, I prefer to add a timestamp at the end, for denoting the time for creating the text/list/task items. However, when applying hotkeys to the selected line of text/list/task, it would be great if the effect would be only applied to text before the time stamp. For instance, the first one is not desired, while the second one is desired:
- ==This is not desired. 📝 2021-11-20T19:45==
- ==This is desired.== 📝 2021-11-20T19:45

Another use case would be for using plugins like the Tasks plugin, where one can append due dates. For instance, the first one is desired, while the second one is not desired:
- ==This is not desired. 📅 2021-11-20==
- ==This is desired.== 📅 2021-11-20

For these cases, it would be great if one can define in the configuration pane before which symbols/text the hotkeys should be applied to. In these cases, they are 📝 and 📅.

that's an interesting idea, but a rather special case. I'll note it as an improvement for after the first public release – for now I want to focus on weeding out all the bugs and problems with common use cases first.

for now I want to focus on weeding out all the bugs and problems with common use cases first.

Totally understand this. Really appreciate efforts on developing this plugin!

no problem! thanks for reporting all those edge cases like block references and triple-selected things, I wouldn't have found those things as quickly without you :)


Implement authenticated access to clients and projects

Use the Permissions table to check first whether the Contributor that is logged in has access to the project or client before returning a list to the browser
When a Client or a Project is created, a Permission should also be added with the ID of the Contributor creating it

We also need a migration script to populate Permissions for existing Clients and Projects

Note: adding client_id into the `permissions table?


[WIP] Add custom caching decorator and implement on various properties

Purpose
Make less guid queries
Changes
Add custom cached_property decorator that supports setters. Implement on GuidMixin._id and Node.parent_node and Node.root.
Side effects
Could cause setting guids on existing objects to not work good.
Ticket

Passed on my local TCI.

https://travis-ci.org/cwisecarver/osf.io/builds/207507731


Volume can't be attached after node failure

Hi,
I've got a volume that was running on a node worker-1 which crashed and I'm not able to recover it. I've removed the LHN (and Kube node). The pod using given volume moved to worker-2 but stuck in Init state while the volume is on detached state.
The status subresource of LHV shows:

ownerID pointing to worker-2;
pendingNodeID pointing to worker-1 (the deleted one).

Managers logs:

nodes[worker-1] don't have the engine image...
skip auto attach because current image... it not read... node=worker-2 owner=worker-2

I've tired to edit the *ID keys to "" but the reference to that old node is still there.
How to recover from such situation.
Cheers

I've forgot that editing status subresource with kubectl won't work. Managed to change the status keys and the volume is up and running.
This issue can be closed.

Closing


T003 review

Talktorial ID: 003
Title: Molecular filtering: unwanted substructures
Original authors: Maximilian Driller, Sandra Krüger
Reviewer(s): David Schaller, Jaime Rodriguez
Date of review: 20200928 - 2020XXXXX

Content review

Potential labels or categories (e.g. machine learning, small molecules, online APIs): small molecules
One line summary: Filter small molecules with RDKit for substructures.
[x] The table of contents reflects the talktorial story-line; order of #, ##, ### headers is correct
[x] URLs are linked with meaningful words, instead of pasting the URL directly or linking words like here.
[x] I have spell-checked the notebook
[x] Images have enough resolution to be rendered with quality, without being too heavy.
[x] All figures have a description
[x] Markdown cell content is still in-line with code cell output (whenever results are discussed)
[x] I have checked that cell outputs are not incredibly long (this applies also to DataFrames)
[x] Formatting looks correctly on the Sphinx render (bold, italics, figure placing)

Code review

Time it took to execute (approx.): 1 min
[x] Variable and function names follow snake case rules (e.g. a_variable_name vs aVariableName)
[x] Spacing follows PEP8 (run Black on the code cells if needed)
[x] Code line are under 99 characters each (run black -l 99)
[x] Comments are useful and well placed
[x] There are no unpythonic idioms like for i in range(len(list)) (see slides)
[x] All 3rd party dependencies are listed at the top of the notebook
[x] I have marked all code cell with output referenced in markdown cells with the label # TODO: CI
[ ] I have identified potential candidates for a code refactor / useful functions
[x] All import ... lines are at the top (practice part) cell, ordered by standard library / 3rd party packages / our own (teachopencadd.*)
[x] I have update the relative paths to absolute paths.
List here unfamiliar libraries you find in the imports and their intended use:

Hey Jaime,
I am done with this notebook. The import results in weird warning I can't figure out. There are also some files in data that we could delete, if they are not used anywhere else:

EGFR_compounds_lipinski_noPAINS.csv
EGFR_compounds_lipinski_noPAINS_noBrenk.csv
substructures.svg
Cheers,
David

Reviewed!

Hey @jaimergp,
this one would be ready to merge from my side.


Added .DS_Store for mac users

Reasons for making this change:
Very common issue for Mac users.

The .DS_Store file is specific to macOS, which is already covered by Global/macOS.gitignore

👋 Closing for now. This PR is missing information required by the CONTRIBUTING.md. Please feel free to re-open if you add the required information.


[Tables] Convert pascal casing of PartitionKey and RowKey to camel casing

An outcome of the architecture board review was to use camel casing for PartitionKey and RowKey, as opposed to pascal casing defined by the service in an attempt to make the sdk more idiomatic with JavaScript.
This change requires the implementation of proper mapping between the two names in the serialization and deserialization of the entities and also any odata filter expressions when querying.

One thing to note, per the table storage documentation, property names are case sensitive, and it is possible to have an entity with both a PartitionKey property and a partitonKey property.  In fact, you can create one of these things using the existing SDK:
import { createTableService, TableUtilities } from "azure-storage";

const ts = createTableService("<connection-string>");

ts.createTableIfNotExists("test", (error) => {
    if (error) {
        console.error(`oh no: ${error}`);
    }

    ts.insertEntity("test", {
        PartitionKey: TableUtilities.entityGenerator.String("Test"),
        RowKey: TableUtilities.entityGenerator.String("0001"),
        partitionKey: TableUtilities.entityGenerator.String("oh no: partitonKey"),
        rowKey: TableUtilities.entityGenerator.String("oh no: rowKey"),
        _response: TableUtilities.entityGenerator.String("oh no: _response"),
    }, (error) => {
        if (error) {
            console.error(`oh no: ${error}`);
        }
    });
});

This program will run successfully and you'll see that the entity is created with both PartitionKey and RowKey properties:

Because of this, I'm not 100% sure we should be doing this conversion, but maybe we are okay cutting this off?

/cc @annatisch since this feedback could also apply to Python.

@ellismg thanks for bringing this up!
Re-casing these properties would provide a much more idiomatic API, however, it would be problematic for users that need to have the extra partitionKey property in addition to the required PartitionKey (or RowKey).
@xirzec @bterlson - From a Typescript client perspective, does this seem like an ok trade-off?
@christopheranderson - Do you have any thoughts from a service perspective? Would this also be a problem with CosmosDB?

I guess I don't feel like preventing someone from having a partitionKey property in addition to PartitionKey is very restrictive. Having both feels confusing. In general I don't think supporting alternative casings of system-reserved names is that important.
I could be wrong here, but I'm struggling to understand why it would be critical for someone to do this in a real app.

Thanks @xirzec, I agree that this doesn't feel very restrictive as these are System-Reserved names. I  also like better the camel casing as it is much more idiomatic.
If we decide to take this path, we may want to do a case-insensitive check for multiple partitionKey and rowKey properties and at least log a warning to alert the user about the situation she/he is running into, does this make sense?
I'd suggest we take this for preview1 and can evaluate how users like the approach and pivot for later previews/GA if necessary. @ellismg, @bterlson. @xirzec do you think this is a good plan for preview1?
@annatisch, @seankane-msft  - What are you guys planning around this for the Python Library

For Python, as long as the user supplies a PartitionKey and RowKey then the entity will be sent to the service. We do not do any client side conversions to be idiomatic. This is something we should discuss when @annatisch is back in office.

I'd suggest we take this for preview1 and can evaluate how users like the approach and pivot for later previews/GA if necessary. @ellismg, @bterlson. @xirzec do you think this is a good plan for preview1?

Seems reasonable.  I agree it is more idiomatic and would be good to get miles on it in the first preview.


The game had updated, does anyone have new offsets? I will be appreciated

The game had updated, does anyone have new offsets? I will be appreciated

The cheat works fine, just tested it?

I havent seen any crashes yet? and i updated the offsets on the 30 of november

No update required.


Feature request: Different layout for PageHeader depending on window width (mimic Movies & TV app)

Hello,
I really like the hamburger navigation and the layout of the Movies & TV app which ships with Windows 10. I'm able to mimic the hamburger menu style (little bar on the left side and foreground color indicate an item as selected).
But the PageHeader control is pretty static: the only change depending on the window size is the space given to the hamburger menu button.
It would be great if the PageHeader would change its appearance on a wide window width:
Current behavior on NarrowMinWidth
Changed behavior on NormalMinWidth and WideMinWidth:

The background color should be the ApplicationPageBackgroundThemeBrush
The font should be changed

See the two screenshots of the Movies & TV app
Narrow mode:

Wide mode:

Hopefully, you have already seen the VisualStateManager section in the template pages. In those, when you use Normal and Wide (similar to how Movies works) you will need to hide the PageHeader and reveal a custom PageHeader that performs this special look. It should not be a lot of work. But it does not belong in Template 10 at this point. Thanks for the suggestion.


Controlling WW/CW milight lamps

Hi,
Is there a possibility to control the WW/CW milight lamps that are only capable of changing color temperature (ct)? If I have understood the documentation correctly, specifying the "color item" causes the device to appear as "extended color light" with RGB capabilities.

I have the same issue with domoticz. I have a white lamp I can parameter the temperature with WW/CW or with temperature value, but ha-bridge see it as RGB device


Supports installation to different directories

If library A depends on library B.
Now if I run "vcpkg install A", the default installed directory layout:
 include
      A
          A.h
      B
          B.h
 lib
      A.lib
      B.lib
bin
     A.dll
     B.dll

But what I want is:
A
    include
        A.h
    lib
        A.lib
    bin
        A.dll

B
  include
        B.h
  lib
      B.lib
  bin
     B.dll

Duplicate, but no solution.

Also duplicated to https://github.com/microsoft/vcpkg/discussions/18703, please track discussions.

Also duplicated to #18703, please track discussions.

Not duplicate.

I found what I need in "packages" directory.


Can't open a table and read its data

Community Edition v4.2.1 Debian can no longer open a table by double-clicking it in the navigator. It just expands the node in the navigator. v4.2.0 is fine.

Duplicate of #2160
Old default behavior will be returned in 4.2.2


Pinning and unpinning messages based on reaction

If the author of a message reacts to their own message in #The-Accountability-Club with the push-pin emoji it should be pinned.
If they remove the reaction, the message should be unpinned.

I'll get this one! I use #accountability-station a lot and would love to tackle this :) Blocking out time this week to learn this stuff and on Monday will get around to this. Logistically doesn't seem like too much... 😅

Quick note for feature:

A reminder when a list has been pinned for more than a week, i.e. "How's your progress on your pin from x/x/x? Shall I unpin it?"


Add proper error classes for invalid style/colours

We currently just use print statements to report errors in the methods set_colour and set_style.
These should be replaced with proper error classes which get raised if the user passes in a colour or style not in the list of valid inputs.

I'll take it

#8


docs: fix v4 -> v5 migrations link

Description
This simply updates the changelog to fix the migration info URL
Related Issue
Link to the related issue:
Type of Change (select one and follow subtasks)

[x] Documentation (README.md)
[ ] Maintenance or repo-level work (e.g. linting, build, tests, refactoring, etc.)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

[ ] I have included test coverage

[ ] Breaking change (fix or feature that would cause existing functionality/userland code to not work as expected)

[ ] Explain why a breaking change is necessary:

[ ] This change requires (or is) a documentation update

[ ] I have added necessary local documentation (if appropriate)
[ ] I have added necessary itty.dev documentation (if appropriate)

Great catch, thanks!


allow insecure tls when bootstrapping keycloak

I need to the ability to bypass tls verification when bootstrapping keycloak tha has selfsigned certs. Looks like the code is here but it requires a new flag on the provision command.
https://github.com/opentdf/platform/blob/main/lib/fixtures/keycloak.go#L281-L284

Resolved by https://github.com/opentdf/platform/pull/629


Native Crash on iOS and iPadOS 15.7

Flurry SDK version 5.2.0
Unity Version 2020.3.40f1
XCode Version 14.0.1 (14A400)

Hi, we're currently getting the following native crash for a number of our users who appear to be exclusively on iOS and iPadOS 15.7:
Unknown Function (/usr/lib/system/libsystem_kernel.dylib)

Thread 0 (crashed)
0   libsystem_kernel.dylib             0x00000001ec146b38 <symbols missing for uuid: 6a661aa2f93f30a39649465ad95b65bc>
1   libsystem_c.dylib                  0x00000001bf659524 <symbols missing for uuid: 07b35aa1e88436b0902755c91bacaa46>
2   UnityFramework                     0x000000010b396e70 -[FlurryPLCrashReporter setCrashCallbacks:].cold.1
3   UnityFramework                     0x000000010b395f18 uncaught_exception_handler
4   UnityFramework                     0x0000000109b6c47c ALHandleUncaughtException
5   CoreFoundation                     0x00000001b45c6570 <symbols missing for uuid: da3c2e100c3d3fbc9c3ee950eba7020f>
6   libobjc.A.dylib                    0x00000001cd27fc5c <symbols missing for uuid: e59c2c92a9dd3af096f7c9837d7e0b27>
7   libc++abi.dylib                    0x00000001cd383f18 <symbols missing for uuid: 56952b9c633f3f2e96d7b67ba063bbfa>
8   libc++abi.dylib                    0x00000001cd383eb4 <symbols missing for uuid: 56952b9c633f3f2e96d7b67ba063bbfa>
9   libdispatch.dylib                  0x00000001b41aca44 <symbols missing for uuid: 2d55ad2f6aff303d8e82088ada4695b2>
10  libdispatch.dylib                  0x00000001b41b04e0 <symbols missing for uuid: 2d55ad2f6aff303d8e82088ada4695b2>
11  FrontBoardServices                 0x00000001c675bc70 <symbols missing for uuid: 021b3d1aeee73bd981b21c057ba97673>
12  FrontBoardServices                 0x00000001c675b040 <symbols missing for uuid: 021b3d1aeee73bd981b21c057ba97673>
13  FrontBoardServices                 0x00000001c675f700 <symbols missing for uuid: 021b3d1aeee73bd981b21c057ba97673>
14  CoreFoundation                     0x00000001b4567414 <symbols missing for uuid: da3c2e100c3d3fbc9c3ee950eba7020f>
15  CoreFoundation                     0x00000001b45781a0 <symbols missing for uuid: da3c2e100c3d3fbc9c3ee950eba7020f>
16  CoreFoundation                     0x00000001b44b1694 <symbols missing for uuid: da3c2e100c3d3fbc9c3ee950eba7020f>
17  CoreFoundation                     0x00000001b44b705c <symbols missing for uuid: da3c2e100c3d3fbc9c3ee950eba7020f>
18  CoreFoundation                     0x00000001b44cabc8 <symbols missing for uuid: da3c2e100c3d3fbc9c3ee950eba7020f>
19  GraphicsServices                   0x00000001d063a374 <symbols missing for uuid: 72f2e29c6aae3587adf9614b48586e5a>
20  UIKitCore                          0x00000001b6e40b58 <symbols missing for uuid: 2a0536acdc79368abe353934c48694c1>
21  UIKitCore                          0x00000001b6bc2098 <symbols missing for uuid: 2a0536acdc79368abe353934c48694c1>
22  UnityFramework                     0x0000000109839a54 -[UnityFramework runUIApplicationMainWithArgc:argv:] (main.mm:96)

I'm not sure if Flurry is the cause but figured with FlurryPLCrashReporter in the callstack it would be worth checking here first.
Thanks in advance

@rob-nd Flurry has crash report feature which will be triggered when uncaught exception happened. I think that's the reason FlurryPLCrashReporter appeared here. @hunterhays Can explain in more details.


Condensed mode do not print Cyrilic letters

Test printer Birch CP-Q3, set to proper code page - 1251-Cyrilic(Windows) and printing on 80mm wide paper works flawlessly. Now wanted to adjust printing to 58mm rolls, so I put printer jumper in required position and fun started :)
In normal mode (prn.NormalWidth) everything is printed OK, but putting it in Condensed mode (PrinterModeState.On) has no use for Cyrilic - there are just empty space marks instead of expected characters. At the same time printing width fits perfectly.
So this code:
Printer prn = new Printer("CP-Q3", "Windows-1251");
prn.CondensedMode(ESC_POS_USB_NET.Enums.PrinterModeState.On);
prn.Append("=====ОВО ЈЕ ЋИРИЛИЦА=====");
prn.CondensedMode(ESC_POS_USB_NET.Enums.PrinterModeState.Off);
is resulting with: "=====               =====" // Empty space in the middle is actually 15 characters wide - GitHub shortens it when message is saved
Than tried CondensedMode with string constructor, as well as Font method - both ways give question marks for each character wanted to print. Like:
prn.CondensedMode("=====ОВО ЈЕ ЋИРИЛИЦА=====");
and
prn.Font("=====ОВО ЈЕ ЋИРИЛИЦА=====", ESC_POS_USB_NET.Enums.Fonts.FontB);
both print: "=====???????????????=====");
Tested it for few hours and concluded that problem emerges with characters/code pages other than IBM Standard, like 1251-Cyrilic or 1250-Central Europian (characters like ŠšĐđŽžČčĆć), both lower or upper case.
Any idea how to overcome this issue?

did you figure it out, because i am trying for an arabic text and have the same issue

Unfortunately problem is not solved, seems that some printers have limited character sets, therefore some sets, like one for Condensed Mode (smaller), are omitted. So, most likely it is printers problem, possible solvable with firmware update (if any).

i am trying System.Drowing
it is working great
just draw the whole image and send it to the printer
check it out,,, Goodluck


Trying to setup Moncole

I'm having a very hard time getting this setup. I've gone through the setup process and can't figure out how to get this running.

Install Python 3.5 or later (3.6 is recommended)
I've installed Python 3.6

2.git clone --recursive https://github.com/Noctem/Monocle.git`

Optionally install a custom icon package from elsewhere
I've Downloaded and extracted Monocle

Copy config.example.py to monocle/config.py and customize
I see config.example.py and I go into the moncole folder and "config.py already exists. Do I drag? Config.Example to moncole and delete the config.py or do I leave them both there?

Fill in accounts.example.csv with your own accounts and save it as accounts.csv.
I've done this with a brand new Pokemon Club trainer account

pip3 install -r requirements.txt`
I have no idea where this is in the folder or if this is an extension / add on I need to download.

How do I even run the program.

I'm very sorry obviously I'm a noob but I would like to use this program and I've been trying for the past few hours to get it running nothings happening.
I already have a Hash key if that's needed for this program.

Okay So I figured out how to installed Python 3.6 correctly and uninstall 2.7.
Then I managed to use Pip and install all the requirements + some of the optional ones.
I already setup the account username & pass. I also have the GOOGLE API key plus the bossland Hash Key
Now I have no idea how to run the scan file.
I currently have my python located
C:\Python36
C:\Users\mathew\Desktop\Monocle-develop is location of files
I don't generally use python at all, so trying to figure out how to get pip to work was a nightmare especially when it instantly installs Python 3.6 in windows/App/Local files and not in local disk C
Anyways anyone that can help please, do so. I'm trying to get this up and running for tomorrow
.

Getting this error now, saying I don't have enough accounts

Fixed the previous problem, now I have a new one. Its saying HASH_KEY not in config, but it is in config.

This is not the default hash key, this is one I purchased.

@mathew1290  read post above .


English version of the README.md file

Hello there, everybody who is hearing and seeing this issue,
I think it is the time to create an English version of the file README.md in the main branch, if it is not possible for you to do so, Simply give me a copy of the README.md file, so I can pass it through the translator (As I have less than 0 knowledge in Chinese language) and then I will make a pull request, so you should accept it then.
Kindly,
-Insertx2k Dev
A translated version of what I want in this issue to Simplified Chinese using Google Translator :
您好，每个听到和看到此问题的人，
我认为是时候在main分支中创建文件README.md的英文版本了，如果您不能这样做，请给我一份README.md文件的副本。 ，这样我就可以通过翻译程序了（因为我的中文知识少于0），然后我将发出请求请求，因此您应该接受它。
亲切地，
-Insertx2k Dev

OK, I will. thank you for your advice.
wait me. and if you can give me a email address. I will send the readme.md to you when i finish it .

I have updated~

thanks for making the english version. I think this issue should be closed now tho

Zer0-Official @.***>于2022年3月9日 周三上午4:52写道：

thanks for making the english version. I think this issue should be closed
now tho
—
Reply to this email directly, view it on GitHub
https://github.com/honghaier-game/TKinterDesigner/issues/11#issuecomment-1062440516,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOCXI7O4QKA3CZHLL426Z43U67Y6HANCNFSM42ZGBYHQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Thank you for your reminder. I forgot it from the beginning.


Please make the name optional on the signUp on both the client and server

not all signUp as i have seen doesnt ask for the user name

@firstaxel, how did you resolve this? facing the same issue.

you can bypass this error by
name: ""
the error is going to go

you can bypass this error by name: "" the error is going to go

I figured, but that's really counter-intuitive, hence making the field optional in the config is still the better approach, imo.

@Bekacru What's your take? Would be cool to have it before v1?

Thanks this is true please fix it
On Tue, Dec 3, 2024, 2:20 PM Christophe Verclytte @.***>
wrote:

Same here, you might easily have a user flow that just ask for the email
and password and provide further details afterwards to limit the UX
friction.
Maybe something like :
export const auth = betterAuth({
user: {
fields: {
name: { required: false }
},
},})
// or
export const auth = betterAuth({
user: {
additionalFields: {
name: { required: false } // override
},
},})
But it might even be preferable to get rid of the name in better-auth as
you might want to split name with first_name / last_name in your DB and
having name create an unnecessary column in the db.
—
Reply to this email directly, view it on GitHub
https://github.com/better-auth/better-auth/issues/424#issuecomment-2514541504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5RGP2WQE7CC55MD3N32C3D2DWV2NAVCNFSM6AAAAABRGP5RMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJUGU2DCNJQGQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Totally agree with this, in my case, I have a first_name and last_name. I don't need the name field at all.


[r20.03] openexr,imlbase: 2.3.0 -> 2.4.1 to fix numerous security issues

Motivation for this change
The openexr 2.3.x series hasn't had backports for at least 9 CVEs (see #88358) - I looked at doing them myself and the patches were just too dependent on other intervening changes for me to be able to have any confidence in them, especially what with openexr not having any tests enabled. They're also quite serious CVEs.
So I think we've got to bite the bullet and bump 20.03 to 2.4.1. Big rebuild, can't check it all myself, but I've checked blender, gscan2pdf, gimp, opencv4, ufraw, openimageio, vips, imagemagick7.
Included fix from #86241 too to fix darwin. Tested macos 10.14.
Things done

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

[ ] NixOS
[x] macOS
[x] other Linux distributions

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

@GrahamcOfBorg build openexr blender gimp ufraw opencv4 digikam


RDNA support?

Hi @chiboreache
Thanks for reaching us.
Currently ROCm supports Vega and CDNA devices officially. We are working on adding latest devices into supported list, internal validation is in progress.
Please stay tuned for the latest updates via our ROCm documentation.


Remove explicit dirmngr reference

This is pulled in automatically via gnupg, and moved from Recommends to Depends in https://salsa.debian.org/debian/gnupg2/-/commit/99474ad900a8bcdd0e7b68f986fec0013fc01470, which has been part of src:gnupg2 since 2.1.21-4 (and every supported version of both Debian and Ubuntu have 2.2.x 😇).
(I'm not positive whether my gpgconf --kill all change here will work in all the base images this repository supports, so I might have to back that one back out :sob:)

+ gpgconf --kill all
gpgconf: invalid option "--kill"

:sob:

Fixed!


Enable Warp Sync

Warp sync allows fast syncing and is currently not working. After #1270, we should be able to enable it.
Related:

Moonbeam Upgrade PR that enabled warp sync for them with 0.9.40: https://github.com/PureStake/moonbeam/pull/2202
Polkadot PR enabling Warp Sync: https://github.com/paritytech/polkadot/pull/3382

https://spec.polkadot.network/chap-sync

CLI options from Moonbeam:
--sync <SYNC_MODE>
          Blockchain syncing mode.

          - `full`: Download and validate full blockchain history.
          - `fast`: Download blocks and the latest state only.
          - `fast-unsafe`: Same as `fast`, but skip downloading state proofs.
          - `warp`: Download the latest state and proof.

          [default: full]

          Possible values:
          - full:
            Full sync. Download end verify all blocks
          - fast:
            Download blocks without executing them. Download latest state with proofs
          - fast-unsafe:
            Download blocks without executing them. Download latest state without proofs
          - warp:
            Prove finality and download the latest state

How do we test warp sync to ensure integrity of data and consensus?

The security is based on the relay chain peering. If we have a state with a root that matches one on the relay chain, then we know that state is good.
For warping the relay chain, it is almost the same, except it is that the additional blocks are built on the warp'd block.
While it is possible to chose a bad warp provider it is no different that choosing a bad chain spec or connecting to a bad bootnode.


OT does NOT work properly since 56fa9ac9cdb612895a524f00251135781603d90a

When doing the certification test on latest code(eb46303ff8318a76d5a9012c389d8b25667c68b8), found OT (on cc2538) does not work, no packet send&recv. After binary searches on OT commit from last success test, locate the issue since 56fa9ac9cdb612895a524f00251135781603d90a

Please check if #3861 fixed the problem.

@Irving-cl


#FIX:2 Make a slider for selecting different brush size.

i have included few more brush sizes and added them two a scroll view improving the Ui

This is the UI change representing the increased no of brushes sizes and scroll view

@Smarshal21 please add screenshots. And also add EOL to each file changed

@Smarshal21 please add screenshots. And also add EOL to each file changed

@rishidyno code screenshots or the end app screenshots??

@Smarshal21 please add screenshots. And also add EOL to each file changed

@rishidyno code screenshots or the end app screenshots??

Screenshots for changed or new app UI.

@Smarshal21 please add screenshots. And also add EOL to each file changed

@rishidyno code screenshots or the end app screenshots??

Screenshots for changed or new app UI.

@rishidyno i have updated the screenshots with changed UI

@Smarshal21 Thanks for your efforts, but we are not planning on doing it like this. Actually, we want to have a horizontal slider like we have for volume button.
A dialog box should appear, when clicked on select brush size option icon, where we can see our color's brush size in circular form and real-time brush size changes should be visible to the user while sliding the slider.
If you feel like we can use some third party library for this, please add it in comments, and we can decide whether to proceed with it.
If you still have problem understanding or need more clarification, please let me know.

Like you can take some idea how we want for it to be implemented
When we change the slider, the value also changes. So this is what we are looking forward for.

@rishidyno can i use this continuous slider
https://material.io/components/sliders/android#theming-sliders

@rishidyno can i use this continuous slider https://material.io/components/sliders/android#theming-sliders

Yes, I think this works for our project. So green light from my side. You can use this and start implementing. Thanks, @Smarshal21
Feel free to ask any doubts.


feat: use the build script to download the cairo crate from the starkware release page

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#599
#598
#597  👈
#566 : 2 other dependent PRs (#331 , #581 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ArniStarkware and the rest of your teammates on  Graphite

Merge activity

Sep 3, 2:07 AM EDT: @ArniStarkware started a stack merge that includes this pull request via Graphite.


added gcd algorithm in javascript and GenerateParanthesis in c++ lang 🚀

Can you add an README.md file with a description?

Closing due to inactivity, feel free to reopen


Move full extract test

@Fryguy @roliveri Please review
cc @movitto

@JPrause @jvlcek This is not included in the appliance, don't worry about this gemfile change.

@Fryguy made your suggested changes.

Will this get run as part of the full lib test suite?  Should it?

@Fryguy I made sure that this is excluded from the full test suite.

Still can't figure out why this doesn't run Travis.


Linked package not found in dev but builds fine [BUG]

Bug Report Quick Checklist

[x] I am on the latest version of Snowpack & all plugins.
[x] I use package manager yarn
[x] I run Snowpack on OS Windows
[x] I run Snowpack on Node.js v12+

Describe the bug
A quick, clear, concise summary of what the bug is.
To Reproduce

Clone reproduction repo: https://github.com/sachaw/PSG9080-Client
Clone dependency repo: https://github.com/sachaw/PSG9080
build dependency: cd PSG9080 && yarn && yarn build && yarn link
link dependency: cd ../PSG9080-Client && yarn link "psg9080"
Now running yarn start will throw the error Package "psg9080" not found. Have you installed it? buy building: yarn build throws no errors.
If the dependency is not linked and pulled directly from NPM, everything works as expected

Expected behavior
linked dependency should be able to be resolved in dev mode.

I have this issue also when trying to link (npm link) a shared npm package in local development. It has something to do with Snowpack not resolving dependencies of dependencies (locally). My $.02...

A temp workaround:
Fill in your package names, in place of mine
yarn build && rm -R ../../react-snowpack/node_modules/@meshtastic/meshtasticjs/dist && cp -r ./dist ../../react-snowpack/node_modules/@meshtastic/meshtasticjs


"Code Lens" features are "Enabled" but language specific check boxes are empty?

Type: Bug
Open Settings
Search with "codelens"
Result:
I have "Editor: Code Lens" with a checkmark near the top, but many later entries for JavaScript and TypeScript claim to be "Enabled" by their title but have no checkmark in the box below them.  None of these settings has the blue bar along the left to indicate I've changed them.
Expected:
If a setting defaults to on, then it should show a checkmark in it's box immediately below it.
VS Code version: Code 1.73.1<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 4000)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.90GB (20.22GB free)

Process Argv
--crash-reporter-id 1b90f481-aa11-4435-98b5-f5fa1f66c572

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

bitburner-vscode-integration
bit
1.3.3

prettier-vscode
esb
9.9.0

intellicode-api-usage-examples
Vis
0.2.6

vscodeintellicode
Vis
1.2.29

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Seemingly related to new NMEA messages

Draft.  If its not necessary, close it and I'll delete it.

Dave decided to re-write our NMEA library.  However, the changes add considerable complexity and processing overhead that I don't feel are merited/justified.  It was a nice idea but unnecessary and not worth merging for use in our products.  We may want to archive the new NMEA library files he created but we should not merge them for use in our products at this time.


name crud option

It allows you to define the name for the scaffold.
Example:
php artisan make:crud emergencies —crud-name=Emergencies

@gerardp It would be great if you would make a PR for an updated readme.

Done!


OpenId Connect for Daemon Applications

If you want to add identity management to your mobile or desktop applications using Azure AD B2C, you should use OAuth 2.0 rather than OpenID Connect. Why?

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

ID: c54adceb-9510-aeb5-0c61-c0d052459cda
Version Independent ID: 0ff6b6b2-2802-9534-8963-796b9c4a2a76
Content: Web sign-in with OpenID Connect - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-reference-oidc.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@anis020 Thanks for the feedback! We are currently investigating and will update you shortly.

@anis020 Thanks for calling this out, we're going to remove that line from the article. Both web and mobile apps can use OAuth or OIDC.
#reassign:mmacy


Test fix for not dying on 'for $x()'

This adds a test to ensure that 'for $x()' doesn't die with an error about this being Perl 5 code.
Rt ticket: https://rt.perl.org/Public/Bug/Display.html?id=131076#ticket-history
Commit that fixes this: rakudo/rakudo@87fe800d1d

You need to bump the plan on line 8

Thanks -- fixed and force-pushed.

Thanks.


Error DecorationImage on Container

The bug is that DecorationImage covers all Containers in Stack.
The background should be used in the current Container, not all containers.
image.jpg also affects Container of Text("Test")

Stack(
 children: <Widget>[
     Container(
        color: Colors.red,
        child: Text("Test")
     ),
     Container(
        decoration: BoxDecoration(
          image: DecorationImage(
             image: AssetImage("image.jpg"),
             fit: BoxFit.cover
          )
       )
     )
  ]
)

Flutter (Channel stable, 2.2.3, on macOS 11.2.3 20D91 darwin-x64, locale es-419)
• Flutter version 2.2.3 at /flutter
• Framework revision f4abaa0735 (10 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4

I expect the result is that image.jpg covers red backgrounded "Test" text because Stack means stacking widgets like overlaying. What layout did you expect?

Hi @mamm26, as @jeiea pointed out, that is the intended behaviour of the Stack widget and it is not an issue with the Decoration.
See Stack documentation for more information.
Closing as this is not an issue with flutter.
If you disagree, kindly leave a comment explaining why and I will reopnen.
Thank you


bug(cdk/scrolling): CDK performance degrades for large lists

I noticed that using the CDK virtual scroll directive to render large lists (e.g., 1-2M lines) suffers from severe performance degradation. This was surprising because the virtual scroll only renders a handful of lines (that's the whole point of using virtual scrolling!). After some investigating I noticed that if my component gets the list of items to render as an input parameter, performance degrades. However, if the list of items is defined internally, performance is great.
For example, this gives me great scrolling performance (StackBlitz),
@Component({
  selector: 'long-list',
  template: `
    <cdk-virtual-scroll-viewport itemSize="15">
      <div *cdkVirtualFor="let item of items">{{item}}</div>
    </cdk-virtual-scroll-viewport>`
})
class LongListComponent {
  items: string[] = Array.from({length: 2e6}).map((_, i) => `Item #${i}`);
}

This gives me poor performance (StackBlitz),
@Component({
  selector: 'long-list',
  template: /* Same as above */,
  changeDetection: ChangeDetectionStrategy.OnPush,
})
class LongListComponent {
  @Input() items: string[] = [];
}

@Component({
  selector: 'my-app',
  template: `<long-list [items]="appItems"></long-list>`
})
class MyApp {
  appItems: string[] = Array.from({length: 2e6}).map((_, i) => `Item #${i}`);
}

You'll see what I mean if you scroll down/up quickly in either example. Of course when the component template is more complex and the view hierarchy is deeper the performance difference is much more pronounced. In my case it makes virtual scroll hardly usable.
Looking at the performance profile, it seems like change detection is kicking in as I scroll and doing processing that apparently scales up along with the size of the list. If that's true, it means that even modestly long lists are suffering from excessive processing.

@mmalerba or @crisbeto is there something we would be doing internally that would impact this?

Adding changeDetection: OnPush to the poor performance example fixes it: https://stackblitz.com/edit/angular-wezvuh-r8isep?file=app/cdk-virtual-scroll-overview-example.ts, but we can't just require everyone to have all OnPush components.
I suspect this is the source of the issue: https://github.com/angular/components/blob/master/src/cdk/scrolling/virtual-scroll-viewport.ts#L415-L418
It was originally markForCheck, and then we changed it to detectChanges (https://github.com/angular/components/pull/12158), however that broke certain cases so we had to change it back (https://github.com/angular/components/pull/12329).
What we really need is not to trigger change detection on the root, but to trigger it for the items. Maybe we could do something like having the items inject their change detector and calling detectChanges() on that rather than the viewport's change detector?

@mmalerba could you set up some time to pair with Misko on this? I think he would be interested in this use-case and might have some insights on options

This seems to be purely a result of debug checking from not running in prod mode (enableProdMode()).
In my testing, enabling prod mode brings each frame (Animation frame fired) in fast scrolling from ~122ms to ~1.2ms.

Closing as this issue only shows up in dev mode.
In dev-mode Angular performs additional change detection in order to detect circular data flows and throw ExpressionChangedAfterItHasBeenCheckedError. This is done on the input levels of all components. Because developers often create new arrays which have same content, Angular can't just check the array identity, and instead Angular deep checks the array to make sure that the items in the array are stable. (In this case Angular has to deep checki array of 2M items)
If you run the example in the dev-tools performance and do buttom-up you will see that 75% of time is spent in devModeEqual functions which checks if current vs previous inputs are same and it does deep checking for arrays.  This check only happens in dev-mode.
As pointed out going to prod mode removes this checking and returns the performance to normal.
I don't believe there is anything which needs to be done here and so I am closing this issue.

Thank you for taking the time to look into this.
If I understand correctly, in dev mode Angular will do array deep checking while in prod mode it won't. Does that mean that in prod mode it only does an identity check? E.g., in prod mode if I want to add items to the array, I can't just push them, I have to construct a new array to force an identity change?


Integrate web framework with MovR

After some initial confusion about what exactly the MovR application is/does, I think we need to:

Improve how we document MovR (see https://github.com/cockroachdb/docs/issues/2849#issuecomment-509316569, https://github.com/cockroachdb/docs/issues/5061, and https://github.com/cockroachdb/docs/issues/5062).
Do more development work on the MovR application itself. If we want to make MovR the go-to example application for CockroachDB, it would help if we extended the application to be a fully-functional, full-stack application (with a web UI and everything). This would help a lot with demos and doc examples (especially for developers looking to use CockroachDB as their backend DB of choice)... And it would make a fun Friday project!

@awoods187 thoughts? If this isn't a direction we want to go in, or if you think we could use our doc resources (i.e. me) in a different area, let me know!
Branch: https://github.com/ericharmeling/movr/tree/web-server

I did some small amount of work to start converting movr to an API server that would support a web FE -- but that is making very slow Flex Friday progress: https://github.com/nstewart/movr-zeit/tree/now
I think adding the rest of the stack is useful, but I think that's solving a separate problem than the original scope. One project is about creating a default data set to try out sql (and other CockroachDB) functionality, the other is creating an example app to help create new apps faster. For example: https://github.com/anfederico/Flaskex
I'll defer to the SQL team on that scope, just sharing as a consideration.
+1 on enhancing the load generator in general though

I'm into this idea. What if we have MovR run as a managed product for dogfooding? They recently made a call for this and it would give you ready access for using with docs. I think we could even give read only access out to users as an interactive doc which would be cool.
Regardless I do agree with nate's sentiments about making sure we don't do everything all at once---we can be incremental in our approach here

Thanks for pointing me towards that branch, Nate. Glad to hear that's already an idea in progress. I'll check out what you've done there so far!
To your point about making sure we differentiate these two separate projects, I totally agree. As Andy suggests, we should do one thing at a time, starting with whatever is the main priority, which I suspect is the original scope of MovR ("creating a default data set to try out sql (and other CockroachDB) functionality"). It looks like a lot of work has been done on that already, with the movr dataset now in the whitelisted workloads for 19.2 (see https://github.com/cockroachdb/cockroach/pull/37709 and https://github.com/cockroachdb/cockroach/pull/38203). I've started updating SQL examples (see https://github.com/ericharmeling/docs/tree/movr-update), and I think that's in line with the original scope of this application.

... I think we could even give read only access out to users as an interactive doc which would be cool.

I really love that idea Andy. I'm all in for making contributions to that (even if just as a Friday project)!

I also think we should have a more complete example app (or many!), and I'm working on one now (as a part of my exploration of serverless ideas). It's important to show people an end-to-end example of stuff that works well together. I'd go further than Flaskex does and include things like testing and monitoring in this scope.

@ericharmeling let's talk more about this when I return from vacation. I think this would be a great project to work on.

Closing this (see https://github.com/cockroachlabs/movr-flask).


Fix simple typo

Oh god I still have that [elaborate] tag in there D:

Lol, I can't believe I missed that either.


Container not starting on production

For some reason the container is not starting on production. The host may need some hard cleaning.

The Node Watch connection is from the SendAlert() function is resulting in a connection refused error. This is very likely caused by an error in the environment variable for node_watch. Try simply changing the address to use http://node_watch:9000. That works via curl.


Removed unused parameter buildConfig

#160

Thanks, but see https://github.com/openshift/jenkins-plugin/issues/160#issuecomment-349028176
This is not an update we want to make.


Bump MeiliSearch v0.14.0

Create Bump MeiliSearch v0.14.0 branch and test with v0.14.0 release candidate

[x] Python
[x] Go
[x] js
[x] php
[x] ruby
[x] swift

---- WIP

[ ] dotnet?
[ ] java?
[ ] rust?

All the packages tests are up to date and runs with the v0.15!


Need prebuilt binaries for release branch

Right now, to run the project you must have atom-shell installed, then run it in the project directory.
atom-shell has the build process documented here: https://github.com/atom/atom-shell/blob/master/docs/tutorial/application-distribution.md

Do you think we should add the prebuilt binaries to the repo? Or just add them to the folder that we zip and distribute?

They're going to be too many and they'll be too big to add to the repo (i think)- a good approach might be to do what atom-shell does here: https://github.com/atom/atom-shell/releases
I'm trying to get the build process down so I'll have a more exact estimate on the size soon

Looks like the binaries come out to 30-40MB

that's not so bad

Is this still an issue? I'm still fuzzy on the build process


Role joining is not model agnostic

We tried replacing flask-security in our project, however our project's User model does not have a sqlalchemy relationship for roles, it's a hybrid_property method on the class.
The changes from https://github.com/jwag956/flask-security/commit/32968e593d2f7c82ed2767b1e0d7927f3edfffaa assumes that if roles is defined as an attribute on the User class that it must be a relationship and thus joinable, which isn't always a safe assumption.
I'm not sure what the best option here is outside of testing to see if the roles attribute is specifically a sqlalchemy.orm.relationship prior to forcing the relationship to be joined or if in our case we need to not have a roles attribute and override something somewhere on how the datastore gets roles for a user.

Hmm, interesting - that PR I picked up from the old Flask-Security (it hadn't been merged yet).
This was a nice DB optimization - but that shouldn't cause applications to break.
Any chance you could post some/all of your user model so I could write a test?

Our particular application has some clunky things is does with roles (our roles table actually consists of roles and permissions which are can also inherit from each other, so the roles attribute on the User model actually is doing the recursion and filtering to get the actual roles and not permissions).
I could see someone potentially having a custom getter for roles though which would break, so something like this (sort of related to what we are doing):
class Role(Base):
    id = Column('id', Integer(), primary_key=True, nullable=False)
    description = Column('description', String(128), nullable=False)
    name = Column('name', String(128), nullable=False)
    category = Column('category', Integer(), default=2, nullable=False)

class User(Base):
    id = Column('id', Integer(), primary_key=True, nullable=False)
    first_name = Column('fname', String(25), nullable=False)
    last_name = Column('lname', String(25), nullable=False)
    username = Column('username', String(25), nullable=False)

    _roles = relationship(Role, secondary='mtm_user2role')

    @hybrid_property
    def roles(self) -> List[Role]:
        """Returns only roles that are category 2!"""
        return [role for role in self._roles if role.category == 2]

In this case the joinable attribute isn't roles but the private _roles.
I could potentially see another case where perhaps the roles attribute is a synonym for something else (maybe the application already had a permission-esque setup and roles was added to allow flask-security to work). I haven't tested that, but I would suspect you might run into issues trying to join against a synonym vs the relationship object as well.

Thanks - I suppose a really simple fix is to add a config variable and not try to figure out all the possible ways it might break -just make it easy to turn off!

That would work for me, could just have a SECURITY_JOIN_USER_ROLES as a boolean or something, and attempt to force the join type when True, and leave it with a default of True since I rather imagine most people are going to be following the typical user/role class structure.
Thus far I think you'd only really need to modify the find_user and get_user methods to look at that, really just change https://github.com/jwag956/flask-security/blob/master/flask_security/datastore.py#L333 and https://github.com/jwag956/flask-security/blob/master/flask_security/datastore.py#L378 to something like
if current_app.config['SECURITY_JOIN_USER_ROLES'] and hasattr(self.user_model, "roles"):

Yup - easy. Do you want to issue a PR - otherwise I'll get to it in a few days....

I'll put in a PR for it here in a bit.


Azure Chat Completion API availability

I see that Chat Completions is now available for Azure: https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#chat-completions
I see you're loading azure_openai.json to create the requests, but that version doesn't include the chat-completions. Is there a new update to this spec that could be dropped in? Would love to use this feature, appreciate the feedback!

Hello!
I've updated the azure spec, and added support for azure chat in this branch: https://github.com/wkok/openai-clojure/tree/azure-chat-completions
As azure chat is still in preview, I'll keep in this branch and only merge/release once azure spec is stable.
As I do not have an azure subscription, I cannot test this, I would appreciate it if you could test this branch and let me know of any issues?
Basic usage should be as simple as:
(api/create-chat-completion {:model "gpt-3.5-turbo"
                             :messages [{:role "system" :content "You are a helpful assistant."}
                                                {:role "user" :content "Who won the world series in 2020?"}
                                                {:role "assistant" :content "The Los Angeles Dodgers won the World Series in 2020."}
                                                {:role "user" :content "Where was it played?"}]}
                            {:impl :azure})

Can confirm that create-chat-completion works now for {:impl :azure}! Thanks!
One thing to note, is that the azure api defines the gpt-3.5 model as gpt-35-turbo, which differs from OpenAI.
One other api that is available in Azure Rest API that doesn't have a current path in your implementation is for getting a list of models: https://learn.microsoft.com/en-us/rest/api/cognitiveservices/azureopenaistable/models/list?tabs=HTTP

In anticipation of the stable release of azure chat this month, I've released support for this in v0.6.0 of this library
The Azure Management API's are not currently supported as it is not included in the same openai swagger spec, it is a completely separate thing which does not quite fit in with the current architecture of this library. Might need to revisit/rethink this someday, but in the meantime, I think it will remain unsupported (unless someone provides a PR :wink:


Made FormFlow compatible with Symfony 2.1 Master

Don't forget to Create a new branch for Symfony 2.1
Thanks @Benji07

Done. ;)

Is this really an incompatibility? I kinda don't like the idea of having to maintain more than one branch.

The problem is, that the current version doesn't work anymore using Symfony2.1 - so this means either maintaining two branches or deprecate support for 2.0.x.

Yeah it's mandatory, the class Session has been moved so this bundles does not work with 2.1.

I see. The session stuff has been moved to the Session folder. Currently, I can't use Symfony master myself because of symfony/symfony#3327 and was not aware of that change yet. Will create a branch for 2.1 then.

Thank you guys.
I created tag 1.0.0 for Symfony 2.0.* compatibility as suggested by @Seldaek.


Added UMD tests

Ok this is a bit like saying
expect ( true == true )

but they are the conditions that the UMD will branch on so I think it is legit. At some point in the near future this all goes away with ES6 mods. In the meantime I can't imagine a scenario under which these polyfill would have to change.

@mbrevda tests are in. Push FB for commits.


Add support for int128 please.

Coming up ASAP.
To be honest, I didn't even know there was a (U)Int128 type in .NET now, so thanks for the heads up.
1.1.0 will be published any minute now.

1.1.0 is now published, with support for (U)Int128.


Update gift card update mutation

Update GiftCardUpdate mutation.
⚠
Contains changes from #7694
type Gift  giftCardUpdate(id: ID!, input: GiftCardUpdateInput!): GiftCardUpdate

CardUpdate {
  giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use errors field instead. This field will be removed in Saleor 4.0.")
  errors: [GiftCardError!]!
  giftCard: GiftCard
}

input GiftCardUpdateInput {
  tag: String
  startDate: Date
  endDate: Date
  balance: PriceInput
  expirySettings: GiftCardExpirySettingsInput
}

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-3878 Update giftCardUpdate mutation


helm type component could not be deployed on remote clusters

Describe the bug
Install kubevela on one k8s clusterA, join another k8s cluster (named k3s).
Write one app with workflow to deploy app to cluster k3s. This app's component type is helm.
Find that this app could not be deployed on cluster k3s and meet the following err:
message: 'step app: step apply: step 0: run step(provider=oam,do=component-apply):
CollectHealthStatus: app=app-delivering-chart, comp=redis-comp, evaluate workload
status message error: get template context: failed to get obj redis-comp with
gvk source.toolkit.fluxcd.io/v1beta1, Kind=HelmRepository : helmrepositories.source.toolkit.fluxcd.io
"redis-comp" not found'
To Reproduce
Steps to reproduce the behavior:
1.On cluster A, apply the YAML files of Application/Component/Policy/Workflow:

raw yaml is:
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: app-delivering-chart
spec:
components:
- name: redis-comp
type: helm
properties:
chart: redis-cluster
version: 6.2.7
url: https://charts.bitnami.com/bitnami
repoType: helm
policies:
- name: example-multi-env-policy
type: env-binding
properties:
envs:
- name: staging
placement:
clusterSelector:
name: k3s
workflow:
steps:
- name: deploy-staging
type: deploy2env
properties:
policy: example-multi-env-policy
env: staging

kubectl -n vela-demo apply -f "the above app file"

See error
message: 'step app: step apply: step 0: run step(provider=oam,do=component-apply):
CollectHealthStatus: app=app-delivering-chart, comp=redis-comp, evaluate workload
status message error: get template context: failed to get obj redis-comp with
gvk source.toolkit.fluxcd.io/v1beta1, Kind=HelmRepository : helmrepositories.source.toolkit.fluxcd.io
"redis-comp" not found'

Expected behavior
app-delivering-chart should be deployed successfully on cluster k3s
Screenshots

KubeVela Version
Version: refs/tags/v1.1.7
GitRevision: git-d083039
GolangVersion: go1.16.9
Cluster information
k3s Kubernetes Version: k3s version v1.21.2+k3s1(5a67e8dc)
clusterA Kubernetes Version: k3s version v1.20.6+k3s1(8d043282)
Additional context

you need to install fluxcd in the sub-cluster

@zxbyoyoyo Thanks, I will try it

@zxbyoyoyo
In sub-cluster,  Could I install kubevela and enable fluxcd by command "vela addon enable fluxcd" ?
I used this method, still met this error:
message: 'step app: step apply: step 0: run step(provider=oam,do=component-apply):
CollectHealthStatus: app=app-delivering-chart, comp=redis-comp, evaluate workload
status message error: get template context: failed to get obj redis-comp with
gvk source.toolkit.fluxcd.io/v1beta1, Kind=HelmRepository : helmrepositories.source.toolkit.fluxcd.io
"redis-comp" not found'
Should I install fluxcd by a helm chart in sub-cluster?
https://github.com/fluxcd/charts

It's a planed feature that enable addon in sub-cluster. Please track this issue #2562
Thanks for your concern @yeicandoit @zxbyoyoyo

@chivalryq Does it mean that  when issue #2562 is resolved, we will be able to deploy an helm application on sub-cluster？  But now we could not do it

I will try to deploy helm app in sub-cluster when kubevela v1.2.0 is released.

@wangyikewxgm  is fixing on it, we'll close this issue until it fixed. Thanks

@chivalryq Does it mean that when issue #2562 is resolved, we will be able to deploy an helm application on sub-cluster？ But now we could not do it

You can fix this error by install fluxcd in your sub-cluster manually by helm. When #2562 is fixed this operation can be replace by vela addon enable fluxcd --cluster worker

I did not find fluxcd helm, but I installed fluxcd in sub-cluster by this method: install kubevela firstly, used command "vela addon enable fluxcd" to install fluxcd. But I still met the above error when I deployed app to cluster k3s:
message: 'step app: step apply: step 0: run step(provider=oam,do=component-apply): CollectHealthStatus: app=app-delivering-chart, comp=redis-comp, evaluate workload status message error: get template context: failed to get obj redis-comp with gvk source.toolkit.fluxcd.io/v1beta1, Kind=HelmRepository : helmrepositories.source.toolkit.fluxcd.io "redis-comp" not found'

Dose the hub-cluster installed fluxcd addon

the hub-cluster installed fluxcd

Yes

is this issue fixed @wangyikewxgm?

We have support addon to installed to specified cluster, see https://kubevela.io/docs/platform-engineers/addon/addon-cue#features. So helm type component can be deploy on remote clusters.
Closing


Math Problems

Can I add folder with problems related to math, like Integer to base 3 and complete an arithmetic sequence ?

Hey @suvanbalu !
Sure you can add Math problems. Make sure that you follow the contribution guidelines for the repository.


Expand e2e test to cover the single machine setup

In particular it should run docker-compose -f compose-controller-spark-sql.yaml up --build, generate Parquet files and run a SQL query against those through the thrift-server. It should also forces an incremental run to pick up new changes in the FHIR server.

To clarify: We already do the docker-compose command in the e2e run here but we should add the query part too (and full/incremental runs).

We probably don't have time to do it for mid-march but should aim to add for Beta.  To some degree we do have some test coverage thanks to William fixing up the documentation.

@atulai-sg I just filed #632 but in the meantime we can just make a curl request to the controller endpoints to check the status of the pipeline.


Duplicate link to /api/requests in the documentation pointing instead to the Request Groups doc?

This may be a result of a recent API change, but the above looks like some unintended duplication

Thanks for taking a look at this, @ssalinas!


Implement new database models

Internal database models should be updated to correspond to the data type specifications in design-awareness/data.

Changes for this issue were made in 6cb672d78a57932fa23a33c7c13bc920b963330f.
Keeping issue open until we've verified everything is working ok :-)

Closed in https://github.com/design-awareness/design-awareness-app/commit/6cb672d78a57932fa23a33c7c13bc920b963330f 🎉


Thanks for the suggestion. But I have an issue with a white screen.

Linux Mint 17.3
I downloaded the .deb package with this githab. Install and open the player, I introduced the e-mail, password, and after my phone came sms with the code is authenticated two-stage player screen just white.
You can see my player on the screenshot. By the way, this bug appeared only in the new version, a week ago it worked.

So I'm assuming  you did try the --disable-gpu flag?

Thanks, it helped me. Everything is working.


HMAC_DRBG

This PR adds specifications, code, tests, and an EverCrypt API for HMAC_DRBG.
HMAC_DRBG is standardized as part of NIST SP 800-90. For more details, see Sections 10.1.2 and B.2.
Implementation decisions and limits:

Supports SHA-1, SHA2-256, SHA2-384 and SHA2-512

Supports reseeding

Supports optional personalization_string for instantiation

Supports optional additional_input for reseeding and generation

The EverCrypt API always provides prediction resistance (i.e. reseeds before generation)

The security_strength is the HMAC-strength of the hash algorithm as per p.54 of
https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r4.pdf
This is 128 bits for SHA1 and 256 bits for SHA2-{256,384,512}.

The minimum entropy for instantiation is 3/2 * security_strength.

entropy_input must have at least security_strength bits.
nonce must have at least security_strength / 2 bits.
entropy_input and nonce can have at most max_length = 2^16 bits.

reseeding_interval = 2^10

max_number_of_bits_per_request = 2^16

max_personalization_string_length = 2^16

max_additional_input_length = 2^16

The HMAC_DRBG_Instantiate, HMAC_DRBG_Reseed, and HMAC_DRBG_Generate algorithms are defined in Hacl*. EverCrypt uses them to implement the respective functions, currently sourcing entropy from Lib.RandomBuffer.System.

File manifest:

specs/drbg/Spec.HMAC_DRBG.fst{i}
Specifies hash-algorithm-agile HMAC_DRBG_Instantiate, HMAC_DRBG_Reseed, and HMAC_DRBG_Generate algorithms, and implementation-dependant limits. It defines HMAC_DRBG_Update internally but does not expose it in the interface.

specs/drbg/Spec.HMAC_DRBG.Test.Vectors.fst
A sample of test vectors from NIST CAVP.

spec/drbg/cavp_parse.py
A script that parses NIST CAVP test vectors and prints out a sample of them in F* format.

spec/drbg/Makefile
The default target will download NIST CAVP test vectors, parse them and re-generate Spec.HMAC_DRBG.Test.Vectors including a fresh a random sample of vectors.

spec/tests/Spec.HMAC_DRBG.Test.fst
Specification-level tests extracted to OCaml and run as part of test-ml, using NIST CAVP test vectors in Spec.HMAC_DRBG.Test.Vectors.

code/drbg/Hacl.HMAC_DRBG.fst{i}
Implements hash-algorithm-agile HMAC_DRBG_Instantiate, HMAC_DRBG_Reseed, and HMAC_DRBG_Generate algorithms. It defines HMAC_DRBG_Update internally but doesn't expose it in the interface.

code/tests/Hacl.Test.HMAC_DRBG.fst
Implementation-level Hacl* tests extracted to C and run as part of test-c. It reuses the vectors from Spec.HMAC_DRBG.Test.Vectors, using Test.LowStarize to lower them to C.

evercrypt/EverCrypt.DRBG.fsti and  evercrypt/fst/EverCrypt.DRBG.fst
EverCrypt API, defining HMAC_DRBG_Instantiate_function, HMAC_DRBG_Reseed_function, HMAC_DRBG_Generate_function, and HMAC_DRBG_Uninstantiate_function as per NIST SP 800.90.
Internally, this uses Lib.RandomBuffer.System.randombytes as the Get_entropy_input function to get entropy for reseeding and generation. Reseeding is always done before generation (i.e. the implementation always provides prediction resistance).
The API provides algorithm-specific functions as well as algorithm agile versions using an abstract state, and utility functions to allocate a fresh state in the stack or heap.
HMAC_DRBG_Uninstantiate_function erases the state before freeing it using Lib.Memzero

providers/evercrypt/tests/Test.*
Added a verified HMAC_DRBG EverCrypt-level test reusing test vectors from Spec.HMAC_DRBG.Test.Vectors. This ignores the known answers in test vectors because the EverCrypt API uses randomness internally, but tests the safety of the extracted code and serves as documentation for the API.

This all looks good to me and you should go ahead and merge as soon as you get a green. Thanks for this excellent piece of work!
I have no blockers.

Please file a bug for the CMacro thing if you can.
Depending on what you deem necessary, filing a bug on F* for extra printers would be good.
Let me know if you want Lowstarize to be compiled natively -- I did it recently for Meta.Interface so I could do it too for that one (if you want more test vectors).
Ideally, it'd be good to write the Spec test helpers into a separate file so that they can be shared across spec tests (there's a ridiculous amount of duplication there), but this is not a blocker for this PR.

Thanks again,
Jonathan

I couldn't minimize the issue with @CMacro. To reproduce it, uncomment the attributes in e.g. max_length in EverCrypt.DRBG.fsti and build the C test (make test-c). The extracted code in Test.c uses EverCrypt_DRBG_max_length though it has been extracted as an all-uppercase macro.
I changed lowstar_printf.c in KreMLin to print buffers in hexadecimal.
Adding all test vectors would be nice, although it's overkill to do that at CI. Still, LowStar.Lowstarize is slowing down builds, so it would be nice to run it natively.
The helpers for specs are in Lib.Meta. We could factor out a couple of other stateful helpers (print_and_compare and the main test loop), but we can do it later when we reach consensus on a style.


TriggerEditDialog could not be resolved.

Hello,
TriggerEditDialog could not be resolved even  namespace Microsoft.Win32.TaskScheduler is added. I am trying to display  dialog in a user control. What could be the reason.
Please revert.
Thanks,
Pabitra
Originally posted: 2014-10-16T11:19:53

For all UI elements, including TriggerEditDialog, you must reference the Microsoft.Win32.TaskSchedulerEditor.dll assembly along with the Microsoft.Win32.TaskScheduler.dll assembly .
Originally posted: 2014-10-16T12:38:50

This is resolved after referencing to correct version assembly. Thank you.
Originally posted: 2014-10-28T11:26:00


mini.tabline not loading, possible plugin interference

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
tabline
Description
tabline is not loading when starting neovim, but it loads regularly when sourcing my init.vim
Neovim version
0.9.1-3
Steps to reproduce

launch neovim with plugin itchyny/lightline.vim installed: tabline won't load.
source ~/.config/nvim/init.vim: tabline loads.

Expected behavior
expected regular loading at launch
Actual behavior
tabline loads normally provided I don't use itchyny/lightline.vim plugin - to my knowledge it's the only factor in my config preventing tabline to load.

'itchyny/lightline.vim' itself provides tabline. Probably, it sets value of 'tabline' after 'mini.tabline' does in your setup.
Disable 'itchyny/lightline.vim' managing tabline (possibly like this) and it should work.


Fix for shared build broken due to #5839

Thanks 👍

@JuttaAnders @Rastaban After fix, release build passed but debug build still failed. Here is the log. Still the unresolved symbol problem.
nmake-build-x64-windows-debug-out.log

Please have a look at the file "ports/gdal/portfile.cmake" line 208:
list(APPEND NMAKE_OPTIONS_REL PG_LIB=${PGSQL_LIBRARY_DBG})
Should be instead:
list(APPEND NMAKE_OPTIONS_DBG PG_LIB=${PGSQL_LIBRARY_DBG})


Projects: support a question being selected + count for that question

Gary use case:

Want a layer showing all city-owned properties on top of survey

Todo:
[ ] Treat a question (not answer) count path as a sum of the responses that have results
[ ] Don't add interaction (grid) for that layer
[ ] Don't add that layer to reports

(A bit incoherent since I'm really tired right now)


Purpose of Checkbox Group

@phillipmadsen I just merged you pull request #69 and found like it is creating multiple checkboxes with the same input. so if we select all three then the last selected value will be stored in the database rather than all three values. That's why I removed the checkbox group option in my old commits.
Do you have any specific use case of need for checkbox group? Can you post it here? so I can think of that and can make changes that way and re-enable it.
Currently, I just disabled it temporary.

Yes example would be.
options: field
option1:boolean
option2:boolean
option3:boolean
if(in_array(options, option1 === true))
return .....
endif

I  should have editted this better and made each one save individually in the db but style them in  a group.  I  will see what I  can do to make it do this. sorry for not explaining this better.
You should build in a default crud for profile/ account tied to the user model with option on crud generation like --profile  or --account
just a thought it would be easy and very useful.

@phillipmadsen Maybe people can use customize templates when they need it by their own way. Or we will re-open it once we find some specific requirements.


Dash outside [] not possible in nodelist in cluster.json

Our noctua 1 cluster has nodenames with dashes inside, for example "cn-0010". cc-backend denies these nodenames inside the node list in the subcluster definition.
[ERROR]   in noctua1/cluster.json: node list: invalid character: 45

I added a patch in branch bug-59-nodelist-dash
Can you please test if this works for you?

One thing that does not work is anything apart a range within [].
Eg cn-00[10-15,20]  will not work.

Another note: I think that the token based parser is a bit over-engineered in this case. Maybe it would make sense to replace it by a simpler split and match based solution.


Valid Parenthesis

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
An input string is valid if:

Open brackets must be closed by the same type of brackets.
Open brackets must be closed in the correct order.
Note that an empty string is also considered valid.

Examples:

has_valid_parens("()")
True
has_valid_parens("()[]{}")
True
has_valid_parens("(]")
False
has_valid_parens("([)]")
False
has_valid_parens("{[]}")
True

This issue does not have a difficulty associated

I'm unable to assign labels. It is an easy difficulty.

Pull request 67 solves this. https://github.com/the-vampiire/hacktoberithms/pull/67


Add daily build non-windows platforms

PR Summary
Add daily build non-windows platforms

Also, add a way to force feature tests to run

Branched from #7658 as the windows CI is taking a long time to work out the test issues
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[x] Not Applicable or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

Linux build with FORCE_FEATURE=True https://powershell.visualstudio.com/PowerShell/_build/results?buildId=1245&view=logs

macos build with FORCE_FEATURE=True https://powershell.visualstudio.com/PowerShell/_build/results?buildId=1246

@TravisEz13 Have you already considered running the tests with a robot like CoreFX team does? This is more convenient than add [Feature].

@adityapatwardhan your issues have been addressed as well as codefactor and the test issues


Add array_get function.

Supports access element both from beginning and end.
Take @electrum 's suggestion in #2790 , add a function to support access array element from the end.

Thanks for sending this. We will discuss the function name. One alternative idea is to implement the reverse function for arrays and add an optimizer for this specific expression type:
array_get(a, -1)

vs
reverse(a)[-1]

Thanks for your reply.
Another expression with an additional optimizer
a[cardinality(a)]

reverse(a)[1] and a[cardinality(a)]   vs  array_get

reverse(a)[1] and a[cardinality(a)]

good for reducing the total number of function by only keeping the basic functions. And compose these functions to achieve complex functionality.
It isn't easy for user to know the performance is also good, there will be a optimizer to optimize this expression.

array_get

will bring a burden for user to remember a new function. And introduced a new way to express the same thing( array_get(a, -1) vs a[cardinality(a)] ).
But the bright side is, user can immediately know array_get has the best performance just from function name.

Good points. An additional downside of the cardinality is that it requires repeating the array expression (which could be long and possibly non-deterministic) and for non-last cases requires even more typing for subtraction.

Any updates?

@martint and @electrum are discussing how to name this method. It seems like the right approach though

@cberner Thanks for sharing the progress.

My thought is that we should name it in a way that's not specific to arrays. If expect that in the future we'll have a similar function for any type that is indexable (VARCHAR, VARBINARY, etc), so something like element_at would be more appropriate (other options: get_item, get_entry, get_element).

Thanks @martint for your feedback.
element_at sounds great to me, since we already using the term element in docs of array functions.
Can we finalize the function signature to element_at(array<E>, index) -> E, then I will update the code accordingly.

@yaoxin226 yeah, that looks good

This RP is ready to be reviewed.

Rebased on latest master

ping

I'll review this, but have a few other things I need to review first

Looks good. I plan to merge this for the 0.113 release

Awesome! Thanks for the review.

Merged. Thanks!


Add examples/environment.yml to automate installation for all examples

Right now, the included examples have various dependencies listed in examples/README, but it can be tedious to install those manually, and hard to tell if the instructions are up to date.  It would be helpful if we provided an examples/environment.yml that would set up an environment suitable for running all of the examples, if possible, so that users can more easily explore everything.

Already done, but needs documenting before the issue can be closed.


bug in setup? filebeat

Problem description
I think the setup has a problem regarding filebeat extension
Extra information
Stack configuration
default conf
Docker setup
Client:
Cloud integration: v1.0.29
Version:           20.10.17
API version:       1.41
Go version:        go1.17.11
Git commit:        100c701
Built:             Mon Jun  6 23:04:45 2022
OS/Arch:           darwin/amd64
Context:           default
Experimental:      true
Server: Docker Desktop 4.12.0 (85629)
Engine:
Version:          20.10.17
API version:      1.41 (minimum version 1.12)
Go version:       go1.17.11
Git commit:       a89b842
Built:            Mon Jun  6 23:01:23 2022
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.6.8
GitCommit:        9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version:          1.1.4
GitCommit:        v1.1.4-0-g5fd4c4d
docker-init:
Version:          0.19.0
GitCommit:        de40ad0
Docker Compose version v2.10.2
filebeat password is not injected in resulting file in container.
I edited it by hand and comunication with elastic worked

We have automated tests for all core components and extensions, including Filebeat. I haven't seen any issue with it: https://github.com/deviantony/docker-elk/actions/runs/7154433257/job/19481945101
Are you certain that you read the README in the extension's directory and set a password for all required users in the .env file? After doing so, did you re-execute the setup container to apply changes?

By the way, passwords aren't "injected" inside configuration files in containers. Elastic software supports referencing environmental variables from within configuration files, which is what we do. But like I said, a environmental variable is only made available to containers if it is set inside the .env file.

Ok, didnt't know the exact mechanism of the setup.
But yes, i followed those steps. In fact its the only module that after
setup gets an unauthorized error.
Running on mac.
Anyway, thanks for all of this.
Regards
El jue., 14 de diciembre de 2023 13:22, Antoine Cotten <
@.***> escribió:

By the way, passwords aren't "injected" inside configuration files in
containers. Elastic software supports referencing environmental variables
from within configuration files, which is what we do
https://github.com/deviantony/docker-elk/blob/4cbf55c4d3d3c0d1a19086eaa553ce3f7908e827/extensions/filebeat/config/filebeat.yml#L26.
But like I said, a environmental variable is only made available to
containers if it is set inside the .env file.
—
Reply to this email directly, view it on GitHub
https://github.com/deviantony/docker-elk/issues/945#issuecomment-1856151563,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJXK4HYQYBQRDRVQTA3FW3YJMRT3AVCNFSM6AAAAABATWIRPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJWGE2TCNJWGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

If you set non-empty values for these two passwords, run docker compose up setup, then restart Filebeat, it will authenticates without issue:
https://github.com/deviantony/docker-elk/blob/4cbf55c4d3d3c0d1a19086eaa553ce3f7908e827/.env#L29
https://github.com/deviantony/docker-elk/blob/4cbf55c4d3d3c0d1a19086eaa553ce3f7908e827/.env#L42
If it doesn't, I recommend reverting your changes (e.g. manually edited config files), resetting the stack as explained in the README, and trying again.

unsubscribe
Am Do., 14. Dez. 2023 um 20:34 Uhr schrieb Antoine Cotten <
@.***>:

Closed #945 https://github.com/deviantony/docker-elk/issues/945 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/deviantony/docker-elk/issues/945#event-11252134948,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7H224HGT53YT44PTURYYTYJNIDRAVCNFSM6AAAAABATWIRPKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGI2TEMJTGQ4TIOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Allow joining groups with token

LGTM - sorry for the noise. Really like the service objects pattern - nice, clean, uncoupled and readable code.

woot!


chore(ci)!: update github actions

Most changes are merely on version changes, log messages and comments, and structuring.
The only significant change is that actions/upload-release-asset@v1 is deprecated and its replacement, i.d. softprops/upload-release-asset@v1 has rather different interface.

Thanks, looks good.
CI seems to be failing because cargo@v2 doesn't exist. Guess you have to change that back to v1.

caught a bug in actions-rs/toolchain...
it only recognizes rust-toolchain, not rust-toolchain.toml

seems like action-rs/toolchain is not actively maintained. I'm going to add back the explicit toolchain argument for the moment.

is there anyway to test the "Release" action? That's where the major changes occured.

I don't know of a good way to test the release action. (Which doesn't mean that there is no good way.)
The only way I can think of is to comment out upload-release-asset and replace it with a tmate session.
Speaking of which, where is the source code for softprops/upload-release-asset? I thought it would be at https://github.com/softprops/upload-release-asset, but it isn't. Also can't find it on the marketplace.

sorry, it should be https://github.com/softprops/action-gh-release

@lebensterben can you rebase on top of master? I might some CI improvements to speed up the builds.

I spotted some errors when rebasing. I will address that first

I will divide this to smaller PRs

Thanks so much.