How to reset the graph state property?

This is my state definition
interface IState {
  // Messages generated during the agent process, only keep the result and put into the history
  messages: BaseMessage[];
  history: BaseMessage[];
}

const graphState: StateGraphArgs<IState>["channels"] = {
  messages: {
    reducer: (a, b) => [...a, ...b],
    default: () => [],
  },
  history: {
    reducer: (a, b) => [...a, ...b],
    default: () => []
  },
};

I want to reset the messages after the agent process, and put the output into history.
But after hours of hard work, I found that all the ways to set state go through the reducer, and I can't directly set state to a certain value.
Can you provide a way to set the state without going through the'reducer ', so that we can reset the state?

currently everything must go through the reducer

Hi @s97712 would love to hear more about your use case. The ways I do it depend on the context.

Reset full state: In many cases, I would just start a new thread (if indeed this is meant to start a new interaction). The old thread is no longer needed.
Reset specific values: I'd let the reducer also accept something like a "Delete" type. Something like the following pseudocode:

type reduceOperation = {
     action: "delete"
}
function reduceMessages(a?: BaseMessage[] , b?: BaseMessage[] | reduceOperation) -> BaseMessage[]{
     if (b?.action === "delete") {
         return []
     }
     return [...a, ...b];
}

const graphState: StateGraphArgs<IState>["channels"] = {
  messages: {
    reducer: (a, b) => [...a, ...b],
    default: () => [],
  },
  history: {
    reducer: (a, b) => [...a, ...b],
    default: () => []
  },
};

until there's a direct way to just drop the state for a specific thread id, my current workaround when using the postgres checkpointer is to run the deletes manually on each of the checkpoint tables.
import { Pool } from "pg";
import { PostgresSaver } from "@langchain/langgraph-checkpoint-postgres";

// Workflow setup
const workflow = new StateGraph(...)

// Checkpointer + compile
const pool = new Pool(...);
const checkpointer = new PostgresSaver(pool);
// NOTE: Call on first run to setup the database
// await checkpointer.setup();
const app = workflow.compile({ checkpointer });

// Whatever else you need to do
// ...

function resetThread(threadId: string) {
  return Promise.allSettled([
    pool.query("DELETE FROM checkpoints WHERE thread_id = $1", [threadId]),
    pool.query("DELETE FROM checkpoint_blobs WHERE thread_id = $1", [threadId]),
    pool.query("DELETE FROM checkpoint_writes WHERE thread_id = $1", [
      threadId,
    ]),
  ]);
}

should be applicable to other checkpointers as well (I think mysql and redis are the other natively supported ones?)
far from ideal, but solves my problem for now.


SW-1967 Add endpoint to withdraw from seedling batches

POST /api/v1/nursery/withdrawals will withdraw from one or more batches at a
facility. If the withdrawal date is on or after the date (in UTC time zone) the
user most recently edited the batch's remaining quantities, the withdrawal
quantities will be subtracted from the batch.
Withdrawals that change batches' quantities will cause quantity history records
to be created. There is currently no API to query the history of a batch.
This initial version does not support nursery transfer withdrawals; those will
come in a followup revision.

Current dependencies on/for this PR:

main

PR #696

PR #698   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: Jaq45FKacaObSUdvtsmF


Gateway mode should support Cloud Foundry ingress routing

We want to replace the existing ingress routing system in Cloud Foundry (known as "gorouter") with Istio.
The Gateway model seems appropriate.
Some requirements:

define a single port for HTTP and a single port for HTTPS listening
handle all hosts (shouldn't need to provide a complete list of hosts in my config, it comes from the platform)

Some things we'd like in the future:

run-time configurable SNI

cc: @shalako @rshriram @ZackButcher
references:

background slides
background google doc
initial PR for gateway
related issues in istio/api

I'd like to revive this discussion a bit by challenging the assumption that an Istio Service should be 1:1 with a Cloud Foundry App.
In K8s, there's a many-to-many relationship between K8s Service and Pod.  That is analogous to CF where we have a many-to-many relationship between CF Route and CF App.
Working from there, an Istio Service is 1:1 with K8s Service, so maybe Istio Service should also be 1:1 with a CF Route.
Next, I'd challenge the assumption that a RouteRule should be required for every service that we want to expose via a Gateway.   I thought a RouteRule was supposed to be an exception to normal traffic flow.  In CF, everything with a CF Route is reachable from outside the cluster.
So I'd go back to @rshriram's suggestion of having a boolean flag on Gateway to enable traffic flow to Services without any route rules.  This is identical to the existing behavior in the Sidecar mode, which provides a default route.  (I might suggest a different name for it, like expose_services_without_route_rules) .
One could still have course-grained control over the exposure by using the Gateway's Hosts field with wildcard matching.
Thoughts?

It was a conscious design decision to require RouteRules for a service to be exposed via a Gateway. The reasoning behind the difference in philosophy between in-mesh sidecar config (permissive, default RouteRule) and Gateways (strict, requires RouteRule) has a couple of dimensions:

Gateways typically bridge trust domains, while side cars typically do not

e.g. when Gateways act as ingress

In typical reverse proxy configuration, traffic is routed explicitly

i.e. configuration defines the only available routes through the proxy; the configuration does not describe exceptions to normal traffic flow, but defines normal traffic flow

For those reasons we decided to require RouteRules for Gateways. However, I think adding a flag for permissive mode is reasonable given the different use case. There's also a chance we'll need such a flag anyway if we attempt to model sidecars in the mesh as Gateways down the line too.
How exactly do we expect this to work, though? Suppose have permissive mode enabled, we see a request for host foo.bar.apps (what do the host names look like in CF routes?), how do we know how to route it? Do we look up the host in a service registry, or perform DNS resolution, or what?

The key thing here is whether an Istio Service is a CF App, or a CF Route.
If the Istio Service is a CF App, then your points stand.  The association of an externally-reachable hostname to an app would naturally be an Istio Route Rule.
But if the Istio Service is a CF Route, then the mere existence of such a thing is indication that the user who created that route intends for it to be exposed via ingress.
Either model could work.  The latter model is appealing, because the many-to-many relationship of CF App to CF Route looks, at least to me, somewhat like the many-to-many relationship of K8s Pod-spec to K8s Service.
Here's a rough sketch of how the latter mapping could work.  I'm not sure this is the right way to do it, but its worth discussing.

I'd like to better understand this part:

We wanted to decouple L3/4 proxy configuration from L7 routing configuration

On the mailing list, @rshriram said

The kubernetes ingress combines both and it has not worked out well.

Could elaborate here?  Is there someplace I could read more about this?

Just chatted with @ZackButcher.  Current plan is:

Each CF Route gets materialized as an Istio Service
Istio Gateway does not get the extra "permissive mode" flag.  Instead, CF Platform Adapter for Istio will auto-generate Istio RouteRule for each CF Route

cc @zachgersh @aaronshurley @shalako

completed, pending enablement of CF gateway tests


[hotfix][docs] Fix flink version in doc and yaml

What is the purpose of the change

I changed the flink version in the doc and yaml to 1.16.1

Brief change log
I modified some files in the project.
Verifying this change

I built the project locally and ran all the tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changes to the CustomResourceDescriptors: (no)
Core observer or reconciler logic that is regularly executed: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hi @gyfora ,please take a look in your free time,thanks!

Why not upgrade to the latest version: 1.17 directly?

Why not upgrade to the latest version: 1.17 directly?

Thanks for your review, I have wanted to update to the latest stable version 1.17.0, but considering the need to match the context of the documentation and test cases, I have not updated to the latest stable version for now.

Hey,
If you are updating  the documents, there is another place to update
https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/operations/plugins/#custom-flink-resource-listeners
as for #2, it should be org.apache.flink.kubernetes.operator.api.listener.FlinkResourceListener

Why not upgrade to the latest version: 1.17 directly?

@X-czh @yangjf2019 we usually update the examples, clients etc once the first patch version is released (1.17.1) so I think 1.16 is fine for now

Thanks for your review,I will update as soon as possible.

Hey,
If you are updating the documents, would you please update the following as well?
https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/operations/plugins/#custom-flink-resource-listeners
as for 2nd instruction , it should be org.apache.flink.kubernetes.operator.api.listener.FlinkResourceListener

Thanks for your review,I will update as soon as possible.

Why not upgrade to the latest version: 1.17 directly?

@X-czh @yangjf2019 we usually update the examples, clients etc once the first patch version is released (1.17.1) so I think 1.16 is fine for now

@gyfora ,Thanks for your review and response,I learned.
Also, should we replace the links in the document prefixed with _https://nightlies.apache.org/flink/flink-docs-master_ with _https://nightlies.apache.org/flink/flink-docs-stable/_?

I think the appropriate thing to do is to modify to the currently supported stable version, i.e. _https://nightlies.apache.org/flink/flink-docs-release-1.16_. Do you think this is appropriate?

I think the appropriate thing to do is to modify to the currently supported stable version, i.e. _https://nightlies.apache.org/flink/flink-docs-release-1.16_. Do you think this is appropriate?

I think its fine to keep pointing to the master, we are supporting multiple Flink versions and usually even the newest snapshot version is supported.

Thanks @gyfora , I have updated it.  cc @tamirsagi .


Image Upload

A button to upload images and automaticly put the image link
so that there is not needed to upload it via ftp

For where, pages?


Update addplugindependency.md - missing comma

Just fixed a typo
What's changed?

What's your motivation?

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

[ ] I've added unit tests to cover both positive and negative cases
[ ] I've read and applied the recipe conventions and best practices
[ ] I've used the IntelliJ IDEA auto-formatter on affected files

Thanks a lot for pointing this out @janmaterne ; I've picked this up in https://github.com/openrewrite/rewrite-recipe-markdown-generator/commit/fa7e12edd71c6030ad713a2e523692d9182058ce as we generate that part of the docs. That also means all 2700+ recipe pages should be improved based on your feedback, so thanks a lot! :)


Update setttings.py to point to a postgresql database

Also write down the steps to set up the database (e.g., what to name it, how to set up permissions).
Let me know if you aren't able to do this.

Postgres has better search indexing. We should switch to this before we start implementing search.

Yiyang make an account on www.heroku.com
set up postgres on heroku

http://www.enterprisedb.com/resources-community/webcasts-podcasts-videos/videos/how-create-postgres-database-using-pgadmin

Why do I get the error saying that 'settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.', even though I already set the ENGINE value to be 'django.db.backends.postgresql_psycopg2'?

Excellent reporting! We'll look at this tomorrow.

I think I solved it. It's just a conflict between local setting and remote setting I think. But now, I have a question that why every time I run 'heroku local', I will get a Traceback without any further info?

The full message is:
forego | starting web.1 on port 5000
web.1 | Traceback (most recent call last):
That's it. I am not so sure why the port number is 5000. I am guessing there is some issue with the Procfle? Or could it be that I created the Django project first before installing and initializing herku? Well, the latter guess may be just my superstition.

Well, some more thoughts here. I tried to run 'heroku config' to dig something out, but it said 'no apps specified'. Then I tried 'heroku config --app equal_read' both inside and outside the project folder. No success with returning message '! Couldn't find that app'. Need some help definitely.

More findings... Ran 'heroku apps', got 'equal-read-interface'. Well, that's our repo name. How could I change it to 'equal_read' which is our real app?

It seems that gunicorn is not compatible with Windows. We shall discuss all the above issues tomorrow. See you all in the meeting.


7 packages have version numbers could not be updated

Not sure what happened here:

could you share what you have if your run a winget upgrade in cmd please ?

$ winget upgrade
Name                                    Id                            Version      Available    Source
------------------------------------------------------------------------------------------------------
Discord                                 Discord.Discord               1.0.9003     1.0.9004     winget
Discord PTB                             Discord.Discord.PTB           1.0.1010     1.0.1013     winget
Microsoft Edge WebView2 Runtime         Microsoft.EdgeWebView2Runtime 98.0.1108.56 98.0.1108.62 winget
Windows Package Manager Manifest Creat… Microsoft.WingetCreate        <IP_ADDRESS>      <IP_ADDRESS>      winget
Microsoft Teams                         Microsoft.Teams               <IP_ADDRESS>469 <IP_ADDRESS>89  winget
Python 3                                Python.Python.3               3.10.1150.0  3.10.2150.0  winget
Grammarly for Microsoft® Office Suite   Grammarly.ForOffice           6.8.261      6.8.263      winget
7 upgrades available.
9 packages have version numbers that cannot be determined. Use "--include-unknown" to see all results.

Removed the unknown package (Heroku, I have just migrated from chocolatey). But now, if I list with --include-unknown it still lists 7 packages.
$ winget upgrade
Name                                    Id                            Version      Available    Source
------------------------------------------------------------------------------------------------------
Discord                                 Discord.Discord               1.0.9003     1.0.9004     winget
Discord PTB                             Discord.Discord.PTB           1.0.1010     1.0.1013     winget
Microsoft Edge WebView2 Runtime         Microsoft.EdgeWebView2Runtime 98.0.1108.56 98.0.1108.62 winget
Windows Package Manager Manifest Creat… Microsoft.WingetCreate        <IP_ADDRESS>      <IP_ADDRESS>      winget
Microsoft Teams                         Microsoft.Teams               <IP_ADDRESS>469 <IP_ADDRESS>89  winget
Python 3                                Python.Python.3               3.10.1150.0  3.10.2150.0  winget
Grammarly for Microsoft® Office Suite   Grammarly.ForOffice           6.8.261      6.8.263      winget
7 upgrades available.
8 packages have version numbers that cannot be determined. Use "--include-unknown" to see all results.

$  winget upgrade --include-unknown
Name                                    Id                            Version      Available    Source
------------------------------------------------------------------------------------------------------
Discord                                 Discord.Discord               1.0.9003     1.0.9004     winget
Discord PTB                             Discord.Discord.PTB           1.0.1010     1.0.1013     winget
Microsoft Edge WebView2 Runtime         Microsoft.EdgeWebView2Runtime 98.0.1108.56 98.0.1108.62 winget
Windows Package Manager Manifest Creat… Microsoft.WingetCreate        <IP_ADDRESS>      <IP_ADDRESS>      winget
Microsoft Teams                         Microsoft.Teams               <IP_ADDRESS>469 <IP_ADDRESS>89  winget
Python 3                                Python.Python.3               3.10.1150.0  3.10.2150.0  winget
Grammarly for Microsoft® Office Suite   Grammarly.ForOffice           6.8.261      6.8.263      winget
7 upgrades available.

I guess your are using a pre-release version of Winget.
Could you please share a winget --info please ?

Yep, a prerelease.
$ winget --info
Windows Package Manager (Preview) v1.3.431-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.493
Package: Microsoft.DesktopAppInstaller v1.18.431.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

ok, thanks for confirmation.
We do not support pre-release versions, as they change feature (like the --include-unknown which is a new feature we need to implement).
We are working on it.

Should be fixed now


Is it possible to to query 1 user's safe membership using rest api?

I had look through rest api cyberark documentation and unable to find on how to query 1 user' safe membership.
For example user A is safe member of 10 safe.  I want to find all these 10 safe and respective safe permission based on this 10 safe.
Currently what Im doing is export all safe membership using evd and import to excel and query using vba.
and Im planing to use vba to call rest api and direct query. Is there any way can help?

Hello @engkeen-source ,
Currently there is no way to get this information using REST API
There is a PACLI command to get you exactly what you are looking for (OwnerSafesList):
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PACLI/Safe-Functions.htm#OwnerSafesList
If you need this as a REST, I recommend opening  an enhancement request
Hope this helps,
Assaf


Focus scopes are not working

Describe the bug
Focus scopes do not allow to keep IsFocused property state in multiple controls. Only one control has IsFocused == true at the same time.
To Reproduce
Create main menu and try to open it - any focused control immediately gets focus lost event and sets IsFocused = false.
See attached gifs - same app in WPF keeps IsFocused == true on control in another focus scope.
Expected behavior
Like it is in WPF - Control should not get focus lost events and should keep IsFocused property value inside focus scope when control in another focus scope gets focused. Thus multiple controls may have IsFocused == true at the same time.
Screenshots

Desktop (please complete the following information):

OS: Any
Version [11.0.0-preview5, 0.10.18]

Additional context
Most likely I will make commit in our 0.10.18 fork that fixes it, because such behavior is very critical for our usage, if so I can transform it into pull request later if needed, if it will not contain breaking changes.

I moved our fix from 0.10 to 11.0 (but had not tested after migration yet)
https://github.com/JetBrains/Avalonia/commit/ba8a22e20ae3858cfe7b801256586387097e0792
But original pseudo-class names become confusing, because :focus-within corresponds to IsKeyboardFocusWithin property, and new property that tells if focus is inside scope is called IsFocusWithin, so I renamed :focus-within to :keyboard-focus-within, so  :keyboard-focus-within tells if control has keyboard focus and :focus-within if it is focused within scope. But it is breaking change, so probably need to find some compromise naming which will be compatible but not misleading.

This PR is not relevant anymore. Because IFocusScope now is not client implementable and after refactorings that allow to return focus to previous control after menu/popup close (in 13409) there is not much point in implementing smth advanced with focus scopes.
The only thing that is still not very convenient - when in menu item handler it is needed to do smth with focused element in the main scope, not MenuItem returned by FocusManager. Luckily now it is possible with some weird workaround like this, but maybe making some legal way to do this will be useful, i.e. adding smth like this IFocusManager.GetScopeFocusedElement(IInputElement elementInScope)
StyledElement? GetFocusScope(IInputElement control)
{
  var c = control;
  while (c != null)
  {
    if (c is IFocusScope and Visual v && v.GetVisualRoot() is Visual { IsVisible: true })
      return v;
    c = (c as Visual)?.GetVisualParent<IInputElement>() ?? ((c as IHostedVisualTreeRoot)?.Host as IInputElement);
  }
  return null;
}

var mainScope = GetFocusScope(MyTextBox);
var prop = AvaloniaPropertyRegistry.Instance.FindRegistered(typeof(FocusManager), "FocusedElement");

var actualFocusedElement = mainScope.GetValue(prop);


Corrupted log messages when built with TLS enabled on Windows

When thread-local storage is enabled, I get corrupted log messaged in my class derived from LogSink.
I have generated Visual Studio solution (Win32) using CMake. I am using Microsoft Visual Studio 2017 on Windows 8.1 64 bit.
I have built static glog library with "WITH_TLS" option enabled (it is enabled by default) and gflags disabled (if it matters). All tests passed.
Here is a sample code to reproduce this:
#include <glog/logging.h>
#include <cassert>

class MyLogSink: public google::LogSink {
public:
    void send(google::LogSeverity severity, const char* full_filename,
        const char* base_filename, int line,
        const struct ::tm* tm_time,
        const char* message, size_t message_len) override {

        if (strstr(message, "Line1") && strstr(message, "Line2")) {
            assert(0);
        }
    }
};

int main(int argc, char** argv)
{
    google::InitGoogleLogging(argv[0]);
    MyLogSink sink;
    google::AddLogSink(&sink);

    while (true){
        LOG(ERROR) << "<Line1> is a very loooooooooooooooooooooooooooooong</Line1>" << std::endl;
        LOG(ERROR) << "<Line2> is so short</Line2>" << std::endl;
    }
}

Expected behavior:
assert() is not being called.
Actual behavior:
assert() is being called and message parameter looks like two mixed messages:
<Line2> is so short</Line2>
ooooooooooooooooooooong</Line1>

I have tested with latest release(0.4.0) and master and got the same issue.
With TLS disabled everything works fine.
Is it a bug or I am missing something?

Looks like incorrect usage:

message is valid only up to message_len.  You, however, assume message is null-terminated.
What do you needstd::endl for?

Thank you. My mistake. I would never have found this bug in my code if you didn’t add this TLS functionality. std::endl is redundant here, I know.


replace localhost with <IP_ADDRESS> in MockJmxServer in module

soul-metrics-prometheus
// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #759 (c36dbc0) into master (3577846) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #759   +/-   ##
=========================================
  Coverage     65.30%   65.30%
  Complexity     1318     1318
=========================================
  Files           266      266
  Lines          5903     5903
  Branches        634      634
=========================================
  Hits           3855     3855
  Misses         1708     1708
  Partials        340      340

Continue to review full report at Codecov.

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


Dbeaver crashed after "Edit Connection" window closed

System information:

Item
Value

OS
openSUSE Tumbleweed x86_64

Kernel
5.16.15-1-default

DBeaver version
<IP_ADDRESS>203181646

Java version
Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370)

Additional extensions
None

Connection specification:

Item
Value

Database name and version
MySQL Community Server 5.7.37

Driver name
mysql-connector-java 8.0.17

Do you use tunnels or proxies (SSH, SOCKS, etc)
No

Describe the problem you're observing:
Dbeaver crashed after "Edit Connection" window is closed
Steps to reproduce, if exist:
Editing a connection, do not change anyting, then click OK button, dbeaber exited.
(Sometimes, dbeaver exited right after edit connection window pops up, or it crashed after close window button clicked.)
Include any warning/errors/backtraces from the logs

➜  ~ /opt/dbeaver/dbeaver
> Start DBeaver Standalone [org.jkiss.dbeaver.ui.app.standalone <IP_ADDRESS>203181646]
> Start Eclipse IDE UI Application [org.eclipse.ui.ide.application 1.4.200.v20211026-0701]
> Start Eclipse Jobs Mechanism [org.eclipse.core.jobs 3.12.0.v20210723-1034]
> Start Eclipse IDE UI [org.eclipse.ui.ide 3.18.400.v20211026-0701]
> Start DBeaver Core Plug-in [org.jkiss.dbeaver.core <IP_ADDRESS>203181646]
2022-03-31 22:06:29.306 - Initializing DBeaver 22.0.1
2022-03-31 22:06:29.307 - Host plugin: org.jkiss.dbeaver.ui.app.standalone <IP_ADDRESS>203181646
2022-03-31 22:06:29.307 - Initialize Core...
2022-03-31 22:06:29.386 - BounceCastle bundle found. Use JCE provider BC
> Start Core File Systems [org.eclipse.core.filesystem 1.9.200.v20210912-1851]
> Start Core Resource Management [org.eclipse.core.resources 3.16.0.v20211001-2032]
2022-03-31 22:06:29.506 - Initialize base platform...
> Start DBeaver UI Navigator [org.jkiss.dbeaver.ui.navigator <IP_ADDRESS>203181646]
> Start Expression Language [org.eclipse.core.expressions 3.8.100.v20210910-0640]
2022-03-31 22:06:29.520 - Core initialized (213ms)
2022-03-31 22:06:29.521 - Create display
2022-03-31 22:06:29.635 - DBeaver <IP_ADDRESS>203181646 is starting
2022-03-31 22:06:29.635 - OS: Linux 5.16.15-1-default (amd64)
2022-03-31 22:06:29.635 - Java version: 11.0.13 by Oracle Corporation (64bit)
2022-03-31 22:06:29.636 - Install path: '/opt/dbeaver'
2022-03-31 22:06:29.636 - Instance path: 'file:/home/leon/.local/share/DBeaverData/workspace6/'
2022-03-31 22:06:29.636 - Memory available 64Mb/1024Mb
> Start DBeaver UI Editors - Base [org.jkiss.dbeaver.ui.editors.base <IP_ADDRESS>203181646]
2022-03-31 22:06:29.648 - Starting RMI server at 29602
2022-03-31 22:06:29.720 - Run workbench
> Start Eclipse e4 Workbench SWT [org.eclipse.e4.ui.workbench.swt 0.16.300.v20211102-0939]
> Start Eclipse Application Services [org.eclipse.e4.core.services 2.3.100.v20210910-0640]
> Start Eclipse UI Application Services [org.eclipse.e4.ui.services 1.5.0.v20210115-1333]
> Start EMF XML/XMI Persistence [org.eclipse.emf.ecore.xmi 2.16.0.v20190528-0725]
> Start Eclipse CSS SWT Theme Support [org.eclipse.e4.ui.css.swt.theme 0.13.0.v20201026-1147]
> Start Eclipse e4 Workbench Add-ons [org.eclipse.e4.ui.workbench.addons.swt 1.4.400.v20211102-0453]
> Start Eclipse e4 Workbench SWT Renderer [org.eclipse.e4.ui.workbench.renderers.swt 0.15.300.v20211102-1716]
> Start Eclipse Bindings Support [org.eclipse.e4.ui.bindings 0.13.100.v20210722-1426]
> Start Eclipse Dependency Injection Extensions [org.eclipse.e4.core.di.extensions 0.17.100.v20210910-0640]
> Start Eclipse CSS SWT Support [org.eclipse.e4.ui.css.swt 0.14.400.v20211026-1534]
> Start DBeaver UI [org.jkiss.dbeaver.ui <IP_ADDRESS>203181646]
2022-03-31 22:06:30.765 - Configure workbench window
> Start Help System Core [org.eclipse.help 3.9.100.v20210721-0601]
2022-03-31 22:06:30.825 - Create actions
2022-03-31 22:06:30.828 - Disable Eclipse action set 'org.eclipse.ui.edit.text.actionSet.annotationNavigation'
2022-03-31 22:06:30.828 - Disable Eclipse action set 'org.eclipse.ui.WorkingSetActionSet'
2022-03-31 22:06:30.829 - Disable Eclipse action set 'org.eclipse.ui.actionSet.openFiles'
2022-03-31 22:06:31.114 - Initialize workbench window
2022-03-31 22:06:31.118 - Finish initialization
> Start Equinox Java Authentication and Authorization Service (JAAS) [org.eclipse.equinox.security 1.3.800.v20211021-1418]
> Start Internet Connection Management UI [org.eclipse.ui.net 1.4.0.v20210426-0838]
> Start Internet Connection Management [org.eclipse.core.net 1.3.1100.v20210424-0724]
> Start DBeaver UI Editors - Data [org.jkiss.dbeaver.ui.editors.data <IP_ADDRESS>203181646]
> Start DBeaver SQL Model [org.jkiss.dbeaver.model.sql <IP_ADDRESS>203181646]
2022-03-31 22:06:31.761 - Loading user drivers configuration from '/home/leon/.local/share/DBeaverData/workspace6/.metadata/.plugins/org.jkiss.dbeaver.core/drivers.xml'
2022-03-31 22:06:31.767 - Total database drivers: 98 (98)
> Start DBeaver Sample Database [org.jkiss.dbeaver.ext.sample.database <IP_ADDRESS>203181646]
> Start DBeaver Tip of the day [org.jkiss.dbeaver.ext.ui.tipoftheday <IP_ADDRESS>203181646]
> Start DBeaver UI Editors - SQL [org.jkiss.dbeaver.ui.editors.sql <IP_ADDRESS>203181646]
> Start Draw2d [org.eclipse.draw2dl <IP_ADDRESS>20207122412]
> Start GEF3 GEF (MVC) [org.eclipse.gef3 <IP_ADDRESS>20207122412]
> Start DBeaver ERD UI [org.jkiss.dbeaver.erd.ui <IP_ADDRESS>203181646]
> Start DBeaver ERD Model [org.jkiss.dbeaver.erd.model <IP_ADDRESS>203181646]
> Start Default Text Editor [org.eclipse.ui.editors 3.14.300.v20210913-0815]
> Start Text Editor Framework [org.eclipse.ui.workbench.texteditor 3.16.300.v20211119-1032]
2022-03-31 22:06:35.900 - Connect with '<IP_ADDRESS>' (mysql8-17fa5374f5c-9db9598938ac31c)
> Start DBeaver MySQL Support [org.jkiss.dbeaver.ext.mysql <IP_ADDRESS>203181646]
2022-03-31 22:06:35.927 - Execution context opened (<IP_ADDRESS>; Main; 0)
> Start DBeaver GIS Support [org.jkiss.dbeaver.data.gis <IP_ADDRESS>203181646]
2022-03-31 22:06:36.076 - Execution context opened (<IP_ADDRESS>; Metadata; 1)
2022-03-31 22:06:36.120 - Connected (mysql8-17fa5374f5c-9db9598938ac31c, MySQL Connector/J [mysql-connector-java-8.0.17 (Revision: 16a712ddb3f826a1933ab42b0039f7fb9eebc6ec)])
> Start DBeaver MySQL UI Support [org.jkiss.dbeaver.ext.mysql.ui <IP_ADDRESS>203181646]
> Start DBeaver UI Editors - Connections [org.jkiss.dbeaver.ui.editors.connection <IP_ADDRESS>203181646]
> Start DBeaver SSH tunnels UI [org.jkiss.dbeaver.net.ssh.ui <IP_ADDRESS>203181646]
> Start DBeaver SSH tunnels [org.jkiss.dbeaver.net.ssh <IP_ADDRESS>203181646]
2022-03-31 22:06:38.618 - Service 'org.jkiss.dbeaver.runtime.ui.UIServiceSecurity' not found
2022-03-31 22:06:41.724 - Execution context closed (<IP_ADDRESS>, 0)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=14382, tid=14383
#
# JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.13+10) (build 11.0.13+10-LTS-370)
# Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.13+10-LTS-370, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  0x0000000000000000
#
# Core dump will be written. Default location: Core dumps may be processed with "/bin/false" (or dumping to /home/leon/core.14382)
#
# An error report file with more information is saved as:
# /home/leon/hs_err_pid14382.log
2022-03-31 22:06:41.775 - Execution context closed (<IP_ADDRESS>, 1)
2022-03-31 22:06:41.775 - Disconnected (mysql8-17fa5374f5c-9db9598938ac31c)
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

hs_err_pid14382.log

Hi. Unfortunately, I cannot reproduce the issue. Could you please try the latest rpm package and see if the issue reproduces there?

Thanks, rpm works well


explicitly set default TLS cipher suite

#367

Are you sure this is is equivalent to before? This is enabling ciphers that are deemed insecure since a long time. There is tls.CipherSuites() which has more ciphers but is still avoiding the insecure ones. 3DES and RC4 should never be used anymore. Which cipher SROS was using that was put on the insecure list? Maybe an AES CBC one?

This is just to solve #367, working on making the cipher suites configurable.
SROS only supports RSA as key exchange algorithm.

tls.CipherSuites() also includes RSA key exchange. That was the default value before I think. The one you took are only used for ordering. Nobody keeps RC4 in the default list of ciphers.

I understand, like I said this was a fix for a specific issue to unblock someone. There will be another PR where the default cipher suites chosen will better mimic what the stdlib does.
tls.CipherSuites() does not return what the stdlib selects by default (it includes both TLS1.2 and 1.3 and does not follow the preferred order), it's a bit more complicated than that, see here


Bot doesn't mention when an image is done

When an image takes over 3 minutes to process, it doesn't actually ping you

Likely due to Eris sanitization, should be fixed with 07e1fa8d


merge ghost (1.18.0) into azure

This release contains a database migration, you must run knexMigrator.migrate().

@mchikhaoui Thank you so much! We released it!


Fix issue where subfolders aren’t checked for existence before creation

Getting an error when trying to save the store to /data/store, if a subfolder already exists the mkdir method doesn't check for it and throw an error.
Error: EEXIST: file already exists, mkdir '/'
    at Object.fs.mkdirSync (fs.js:885:18)
    at make (/cilia/node_modules/data-store/index.js:369:26)
    at mkdir (/cilia/node_modules/data-store/index.js:372:7)
    at Store.writeFile (/cilia/node_modules/data-store/index.js:288:5)
    at ontimeout (timers.js:475:11)
    at tryOnTimeout (timers.js:310:5)
    at Timer.listOnTimeout (timers.js:270:5)

Any idea why the CI failed on node 10? Probably un-related to my change.

Tested on Alpine 6.4.0 and Node 10.6.0

Everything is okay, ¿may you re-run CI again?

@sant123 thanks for the additional information. It looks like the tests are timing out on the CI so probably just need to re-run them, but I'd also like to find out what the root cause of the original issue is because EEXIST is handled when the subfolder is a directory.

/data is, expecting the store subfolder to be created but fails on /
On Thu, 19 Jul 2018 at 4:43 am, Brian Woodward<EMAIL_ADDRESS>wrote:

@blechatellier https://github.com/blechatellier is /data/store a file
on your system?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jonschlinkert/data-store/pull/14#issuecomment-406034243,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAatjlsiWarxjc37trnj9idyHrnZi-9Aks5uH4HbgaJpZM4VUF_H
.

What’s the best way for me to rerun the CI? I don’t think I have permissions.

@doowb re-ran the CI, checks are all good now, any chance to get this merged in please?

/data is, expecting the store subfolder to be created but fails on /

I believe @doowb is asking if /data/store/ is a file and not a directory. If so, that should throw an error, since you can't overwrite a file with a directory.

/data is, expecting the store subfolder to be created but fails on /

That's not what the error indicates. EEXIST means that something already exists, and is probably a file. By using fs.existsSync(), you are bypassing the error handling that specifically ensures that you won't accidentally overwrite a file. In other words, if you're not getting an error now, it's probably because you're overwriting the file "successfully".

definitely a directory and not a file but maybe why I'm seeing that false-positive?

It sounds like that's what's happening. Based on that, is your opinion still that is this definitely a bug? If so I think we might need to do more checking than fs.existsSync().

Wouldn't say it's a bug but more of a corner case not handled, what other checks do you have in mind?

@jonschlinkert awesome, works - thanks!


Adding Chinese-Simplified localizations.

Full translation for Chinese-Simplified.
Also, fixed a small problem in the English strings.

我正准备提 PR。。。😭

I've closed  #228 as a duplicate of this PR but @hdcola and @Sichengthebest if you have any comments on @megabitsenmzq implementation, please feel free to make a comment.

@megabitsenmzq is this ready for review?
There's a conflict because we've had a few new languages all updating the same file. If you could fix that up, or let me know it's ready and I can fix up.

Thanks @megabitsenmzq and all!


Omit Content-Length header when responding 304

Part of fix for https://github.com/leo-project/leofs/issues/848#issuecomment-335902632

WIP

@mocchira Thanks


Update spec syntax

Add weak dependencies syntax highlighting.

please discuss with the syntax file maintainer

I would throw away Last change, otherwise +1 as from maintainer side.

@brammool merge please.

Igor Gnatenko wrote:

@brammool merge please.

I prefer to get the updated file from the maintainer.  That way I avoid
getting out of sync.
--
DINGO: Wicked wicked Zoot ... she is a bad person and she must pay the
penalty.  And here in Castle Anthrax, we have but one punishment
... you must tie her down on a bed ... and spank her.  Come!
GIRLS: A spanking!  A spanking!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I am closing this, as this has to be fixed by the runtime file maintainer. Feel free to create a new issue, if the maintainer is not reachable.


"truffle migrate" runs files with non-js extensions in migrations directory

Issue
The truffle migrate command executes "autosave" files in the migrations directory. For example, an Emacs autosave file named 2_deploy_contracts.js~ is executed.
Steps to Reproduce

Create a file named migrations/2_deploy_contracts.js~
Run truffle migrate

Expected Behavior
I expected files named *.js~ to be ignored.
Actual Results
$ ls migrations/
1_initial_migration.js             2_deploy_contracts.js    2_deploy_contracts.js~

$ truffle migrate
Using network 'development'.

Running migration: 2_deploy_contracts.js
  Deploying Master...
  Master: 0x20c389cc23d3cc62f01457b901d5dac458483323
Saving successful migration to network...
Saving artifacts...
Running migration: 2_deploy_contracts.js~
  Replacing Master...
  Master: 0xc51c0b2e367b180dd90c5d8c9727b4a4e96def7d
  Deploying SampleUser...
  SampleUser: 0xf30b63f805016cf5769483b7fb6b461001887057
Saving successful migration to network...
Saving artifacts...

Environment

Operating System: OS X 10.11.6
Truffle version: 3.1.1
Ethereum client: TestRPC
node version: 7.2.0
npm version: 3.10.9

I now see there is already a PR #295 fixing this.

This has been fixed in truffle-migrate 1.0.0, and will go out with the next release of Truffle. Thanks!


If possible to support root resolve or let us turn off  "Required module not found" checking ?

I am working a react-js project with https://github.com/davezuko/react-redux-starter-kit.
I got lots of "required module not found" error, due to  this feature https://github.com/davezuko/react-redux-starter-kit#root-resolve.
Paste content below:

Webpack is configured to make use of resolve.root, which lets you import local packages as if you were traversing from the root of your ~/src directory. Here's an example:
// current file: ~/src/views/some/nested/View.js
// What used to be this:
import SomeComponent from '../../../components/SomeComponent'
// Can now be this:
import SomeComponent from 'components/SomeComponent' // Hooray!

For my case:
import * as Constants from 'constants/AppConstants'
import * as Api from 'constants/Api'

We will get error “required module not found”
import * as Constants from '../constants/AppConstants'
import * as Api from '../constants/Api'

These code is fine
import { ajax, when } from 'jquery'
Same problem for this code.
In this case, can we support it or at least allow us to turn off this checking.

I am interested in such a feature too.
The only workaround seems to be to add declaration files for all your dependencies.

Any reason for this discussione being closed?

For modules within your own source-code, module.name_mapper should work for your use-case, right? https://flowtype.org/docs/advanced-configuration.html#options
I have a similar setup, and that works great for me (minus the duplication between those name mappings and my webpack module resolvers).
Regarding the jQuery import -- what does your .flowconfig look like?  If so, you will need a declaration file.

@CodyReichert yup:
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=.

Works perfectly, thanks!

To add an example to @CodyReichert's suggestion from the perspective of trying to things the "webpack way" - You can transform:
import * as Constants from 'constants/AppConstants'

... To something that Flow understand like by tweaking your .flowconfig
[options]
module.name_mapper='^\([-a-zA-Z]+\)\/\(.*\)' -> '<PROJECT_ROOT>/\1/\2'

You can sort of verify this by running:
flow find-module constants/AppConstants path/to/myComponent.js


Occasional cross-section surface omissions

First off, thanks for your work on this. Apart from this issue, it works great.
While I did notice that this issue is actually mentioned inside of your README.md, I was wondering if this is something that could theoretically be fixed. Also, I was wondering if you could provide any insights into why this might be happening, so that others (including me) could try to start working on, and hopefully ultimately contribute, a remedy.

if your mesh is too complicated, the cross-section surface sometimes not created.

Note: it also happens with meshes that do not appear to be overly complex (e.g. cleanly sliced box chunks).
Any background details, etc, would be highly appreciated!

I am not actually sure what is the problem. I will try to fix it.

@Wadlo and I added comments to the code. So if anyone want to try to figure out the problem, it's easier now.
If the comments are not clear enough, let me know, and I will try to improve it.


Moving from colors to chalk

As outlined in the readme the chalk package offers some improvements over the currently used colors package. The chief one being not polluting the String prototype.
Would a PR for this be accepted? Or is there a strict bugfixing-only policy on this (legacy) repository?

+1
This actually becomes a big issue when using core-js (direct dependency of karma) as it implements ECMAScript6, this replacing colors's String.bold by ES6's String.bold which is a function.
-> grunt.log.subhead does not log anything at all.

Or upgrade colors to >1.3.0, there is a safe version, wich does not pollute the string prototype

This has become much more vital, and there are PRs for this. Perhaps this can be done? https://www.theverge.com/2022/1/9/22874949/developer-corrupts-open-source-libraries-projects-affected


only load more messages if we have already loaded some messages

@keybase/react-hackers this stops some extra loading that happens when we're coming in from a push notification

@keybase/react-hackers 1 liner


Adding Windows Terminal Transparent without being blurred.

I wish to view my background while using windows terminal, i.e. I wish to have something like a transparent windows terminal, from which I can view the background tasks. But Windows Terminal restricts me that I can have transparency but only with blurred effect.
If possible kindly add this feature so developers like me can work more productively.

We already support this. 🙂
On Windows 11 you can disable "acrylic" (blurred) background transparency in your profile settings:

/dup #603

Disabling this makes my terminal completely solid. I wish to have my
terminal clear as mirror so I may look at the background tasks happening.
On Fri, 4 Mar 2022 at 05:04, Leonard Hecker @.***>
wrote:

We already support this. 🙂
On Windows 11 you can disable "acrylic" (blurred) background transparency
in your profile settings:
[image: image]
https://user-images.githubusercontent.com/2256941/156670700-bbb06112-5a5f-4574-96bb-bad3a11c6bc1.png
/dup #603 https://github.com/microsoft/terminal/issues/603
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/terminal/issues/12623#issuecomment-1058667404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR2KA732HFHKTWBQVOGCXITU6FD77ANCNFSM5P33S3BA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@ayush-tiwari26 That setting only works on Windows 11. On windows 10, when you disable acrylic, you're gonna get a solid background. See also: https://docs.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#opacity

And to add to this:

As I mentioned above, we're working on servicing the necessary OS side fixes to Windows 10 to make it work, but those take a lot longer than Terminal releases.


JQuery not recognized

Laravel Version: 5.5.11
Voyager Version: 1.0.2
PHP Version: 7.1.8
Database Driver & Version: Maria DB 10.1

Description:
I get this error ReferenceError: $ is not defined when i try to write jquery in blades.
Steps To Reproduce:
More specific
if i write
<script type="text/javascript">
      $('document').ready(function ()  {
                 $('#scheduler').datetimepicker({
                           format:"YYYY-MM-DD HH:mm:ss",
                            sideBySide:true
                });

$('#schedule_at').val("@if(isset($dataTypeContent->schedule_at)){{ $dataTypeContent->schedule_at }}@endif");
   });
 </script>

@marktopper it is the issue we talked about in slack also it may related with issue  #1806. It maybe the order of scripts loading

I am using
Laravel: 5.4
Voyaegr: 1.0.2
Browser: Gooooogle Chrome
I crate datetime field in database and set fieald type in Voyager to date
Picker is show normal, no javascript errors

right after the field where i had it in version 1.0.1

I added datepicker and moment.js with locales and issue fixed. I think it misses some npm packages or just js files.


Cannot decode - Demo app

Trying to run the demo app on a iPad running iOS 9. All I have done is cloned, installed the podfiles and changed the bundle identifier so I can install it to a device.
When selecting "Play File", I get a dialog pop up saying "Cannot Decode", "The media data could not be decoded. It may be damaged".
Any ideas?

May be the demo1.mp4 file is damaged during net tranfer? Can you clone a new working copy and try again?

Can I close this issue? @SteveEdson

I don't think the file is corrupted, it works fine on the iPhone 6 simulator, but when I switch to the iPad 2 simulator, it cannot decode

no problem in my ipad2 simulator


please remove the "Download Your Forms and Instructions" screen

I confirmed it's OK for us to stop including this screen in interviews. We think it mostly creates more noise for people with difficulty reading.
I'll eventually probably remove the MLH outro download forms question from the framework.

Looking at the framework and how this interview references the outro package instead of this screen directly, I think no action is needed in this interview.


Segmentation Fault while loading torch

I have installed torch in ubuntu 18.04 with Lua 5.2.
When I ran test.sh after installation I get the following error:
torch loaded succesfully
./test.sh: line 16: 17239 Segmentation fault      (core dumped) $LUA -ltorch -e "print('torch loaded succesfully')"
Can you share the solution for this?

So do I. Any solution??


funcx ws draft

I just rebased main onto this funcx_ws_draft. #20 needs to merge into this PR before this goes into main.


Child dialog not triggering function with a single user utterance

As it currently stands, it seems that it is not possible to enable a child dialog to check its triggers without a second user utterance. For example, if a user says 'I want to know the date my contract ends' this would match the intent recognized trigger #contractDetails on the main dialog. At this point, I can begin the child dialog Contract_Details.
What I would like to then happen is that the user gets the response and conversation flow defined in the intent recognized trigger #contractDates. I do not want to use the 'Begin Dialog' trigger and ask the user to repeat their question about their contract.
Is there a way of doing this? It isn't a great user experience to have to ask the user to repeat themselves when they've already told the bot what they specifically want. I also don't fully understand the benefits of having separate LUIS models if I have to define every intent on the main dialog  as well.
Additionally, if the user says something vague like 'I need information on my contract' then I would expect this to match my #contractDetails intent and then match the child trigger of the unrecognized intent Contract_Details. I could then build a dialog flow that asks the user to clarify their contract query. This also does not work as I require the 'Begin Dialog' trigger under the child dialog Contract_Details.

@jwiley84 Could you take a look at this ticket?

Related https://github.com/microsoft/BotFramework-Composer/issues/5532

Hi @BellaDunnett, you should be able to achieve the scenario you want by just deleting the beginDialog trigger.

@BellaDunnett does Lauren's solution work for you?

Hi @lauren-mills I've tried deleting the beginDialog trigger, but I then get no response from the bot. It seems to go to the correct child dialog and then get lost. The same happens if I have intent recognised triggers or an unknown intent trigger - they don't work if I've deleted the beginDialog trigger.

I was able to get it working in a test bot. In your "Begin a new dialog" action, do you have the activityProcessed property set to false?

@lauren-mills Thank you! This fixed the issue. Thanks for your help.


"Personalize" Button for Adobe Audience Manager

In the context of https://github.com/adobe/express-website-issues/issues/158 we should add a "Personalize" button to the Sidekick, which will work like this:

Preview/Live/Production
Clicking the button will open a dropdown that allows the user to select or reset an audience. The list of audiences is pulled from /_audiences.json at the site root, which is populated by a table consisting of the columns:

name: display name of the audience, e.g. "returning visitor"
description: optional description of the audience, shown as tooltip, e.g. "visitors who have been to adobe.com before in the last two weeks"
id: ID of the audience manager audience, e.g. 1738236

Upon selecting an audience, the button will:

set the window.helix.audience variable to the selected ID
fire a `window.helix.on('audiencechanged') event
persist the selected audience in a cookie or session storage

An (upcoming) personalization component will be able to listen to these events or read the values and display the matching content.
Edit
The same dropdown will be shown, but without an option to clear or set the audience, instead clicking an audience name will copy the audience ID so that it can be used in the first row of the personalization block's table

@trieloff A few suggested changes:

set the window.helix.audience variable to the selected ID

I would (re)use window.hlx object for this which is already being used by the Sidekick. On the other hand, do we really need this variable if the selected audience is also broadcast via event and stored in localStorage?

fire a window.helix.on('audiencechanged') event

I would propose to fire the event on the window instead, as listening to an event on an object that may or may not exist (before the Sidekick is initialized, window.hlx yet would be cumbersome:
window.dispatchEvent(new Event('helix-audiencechanged`, { detail: audienceId }));

Then blocks can register listeners like this:
window.addEventListener('helix-audiencechanged', (evt) => console.log(evt.detail);

And a few questions:

Who is the persona authoring the _audiences sheet, and where would they get the correct IDs from?
In the production (i.e. non-simulation) scenario, where would the event be fired and the audience ID be stored in localStorage? I imagine we'd need a few helper functions to trigger this in a project's martech.js based on real data from EC...

cc @davidnuescheler

Who is the persona authoring the _audiences sheet, and where would they get the correct IDs from?

The same person that defines audiences in AudienceManager. They get it from the AudienceManager UI.

In the production (i.e. non-simulation) scenario, where would the event be fired and the audience ID be stored in localStorage? I imagine we'd need a few helper functions to trigger this in a project's martech.js based on real data from EC...
On the other hand, do we really need this variable if the selected audience is also broadcast via event and stored in localStorage?

Oddly enough, this is the same question, asked twice.
The window.hlx.audience variable + helix-audiencechanged event shall be the main interface to use when building a compontent that interacts with audiences or uses targeting. The value will be populated from two sources:

the AudienceManager JSON API (by using the Experience Cloud ID Cookie)
the Cookie/LocalStorage/Sidekick UI

(2) overrides (1), so that a user with the sidekick can select audiences at any time.

Oddly enough, this is the same question, asked twice.

Sorry 😄
I figured we'd need some sot of "connecive tissue" between Audience Manager running on a page and blocks using personalization, to make sure that window.hlx.audience is set and/or the helix-audiencechanged event gets fired...


Customizing Location Request Alert Timing

🚀 Feature Requests

Can the plugin be changed so that the location sharing request occurs when the user confirms location sharing through a button tap, for example, rather than requesting location sharing as soon as the app starts?
Contextualize the feature

Basic Permission requesting - makes it more likely that the user will accept location sharing since they are asked before the alert appears.
Describe the feature

Usually a button or some other interaction will cause an alert to appear with location sharing requested. Allow the user to accept location sharing with the tap of a button.
Platforms affected (mark all that apply)

[X] :iphone: iOS
[ ] :robot: Android

@deffs I am not sure I understand here. The plug-in will not ask for permissions until one of the methods that require permissions to be there (getLastKnownPosition, getCurrentPosition or getPositionStream) are called.
In case of the example app, the first screen immediately calls the getCurrentPosition method to be able to show the current coordinates and thus it will immediately ask the user for permissions. This is how the example app is designed.
I just made an simple test and changed the example App to show the second tab when it opens (which shows the results of the getPositionStream method). On this page the getPositionStream method is called after you press the "Start listening" button. In this case you will not be asked for permissions until you click the button or switch to the "singleLocation" tab.
If you prefer more control over the permissions you could use the permission_handler plug-in. This will allow you to request permissions without having to call one of the above mentioned methods. This could for example be useful in situations where you want the user to give consent during an onboarding process.

@deffs I am going to close this issue now, due to inactivity. If you feel it is not correct please feel free to reopen the issue and supply the earlier requested information.

You are correct - I wasn't testing the plugin correctly in my code.
Thanks for the additional info.


Implement various progress modes

Codecov Report

Merging #39 (568d1cc) into master (d06ae15) will increase coverage by 3.20%.
The diff coverage is 84.05%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   61.23%   64.44%   +3.20%
==========================================
  Files           6        6
  Lines         632      734     +102
==========================================
+ Hits          387      473      +86
- Misses        245      261      +16

Impacted Files
Coverage Δ

src/UCX.jl
81.39% <81.81%> (-0.04%)
:arrow_down:

src/idle.jl
88.00% <88.00%> (ø)

src/api.jl

Continue to review full report at Codecov.

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

Codecov Report
Attention: Patch coverage is 84.05797% with 22 lines in your changes missing coverage. Please review.

Project coverage is 64.49%. Comparing base (d06ae15) to head (f6d1c47).

Files with missing lines
Patch %
Lines

src/UCX.jl
81.81%
16 Missing :warning:

src/idle.jl
88.00%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   61.23%   64.49%   +3.26%
==========================================
  Files           6        7       +1
  Lines         632      738     +106
==========================================
+ Hits          387      476      +89
- Misses        245      262      +17

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Set operation type

Hi @ZeHiro, thank you for this PR! Please drop a line when it's ready, I see you've closed and opened it a few times already :)

It is ;) I had some problems to fetch and merge your incoming branch.

Good to know. Can you squash your commits, please? A merge commit doesn't provide much value in the repository history and it'll be easier for reviewing your changes :)

I think my rebase was a bit bourrin. Tel me it this is good to you. If not, I'll revamp it tonight.

A bit bourrin, indeed :D
Unfortunately, this doesn't fix the conflicts and instead introduces new ones that need to be solved by hand. Do you mind just rebasing your commit over the changes I've made, please? Sorry to inflict that to you...


Can't install 2.0+ version of gem on Windows

Installation fails when trying to unpack file with name :memory. But on windows : is invalid symbol for filenames.

Well, I can't even clone this repo on windows because of that file

I also encountered the same problem


Update Docs and Manifests for v0.21.0

Added v0.21 references to README
Update k8s manifests with v0.21.0 references
Added table with list of supported architectures by release

Getting close to the v0.21.0 release.
/kind documentation
/hold

/lgtm
feel free to release the hold after we publish the release

@damemi if we don't merge the changes to the k8s YAML manifests before the release is published then the kustomize install instructions will not work as expected. Running the below command will install descheduler v0.20.0.
kustomize build 'github.com/kubernetes-sigs/descheduler/kubernetes/job?ref=v0.21.0' | kubectl apply -f -

@seanmalloy fair enough, I wasn't sure if you wanted to merge the changes for installing v0.21 before that tag had been published. But since this is the master branch, and the release is going to follow soon after, I think it's fine
/hold cancel


Issues Table

Table summarizing all issues with data collection
Various components of the study are missing for some participants or lacking. This table will help to summarize these points and serve as a quick reference

Created a much more in-depth log of the beacons. Need to include the latest beacon(s).


Unified Python build script

See the discussion on the mailing-list: https://groups.google.com/d/msg/phantomjs-dev/RhibStMbSkE/S0H_o-sS0_YJ

This is now implemented.


Support float case of format_number with format_float kernel

Closes #9173
This PR adds better support for the float case of format_number, which made it good enough to be enabled by default.
It will have known compatibility issues from ryu, as the same way as float to string.
Depends on: https://github.com/NVIDIA/spark-rapids-jni/pull/1572
performance test results
10000000 random number generated by BigDataGen:
val dataTable = DBGen().addTable("data", "a float, b double", 10000000)
dataTable.toDF(spark).write.mode("overwrite").parquet("format_float_data")

test code:
spark.time(df.selectExpr("COUNT(format_number(a, -1)) as a", "COUNT(format_number(a, 0)) as b", "COUNT(format_number(a, 5)) as c", "COUNT(format_number(a, 50)) as d").show())

Data Type
GPU Time (ms)
CPU Time (ms)
Speed up

double
324
12,160
37.53x

float
222
6,101
27.48x

I plan to move special case checking to the kernel next, but personally I think it is a nit for this pr. done and it runs much faster than before the change.

results before move nan/inf replacement to kernel

Data Type
GPU Time (ms)
CPU Time (ms)
Speed up

double
1,326.8
9,841.6
7.42x

float
991.4
4,663.2
4.70x

@revans2 please take a look on this too if you have time, thanks!

build

The test code is really not strong enough, I made a fix from the kernel side: NVIDIA/spark-rapids-jni#1676

build


[BugFix] fix incorrect restore of CPPFLAGS

get rid of anonying warning messages

cc1: warning: command-line option '-Wno-class-memaccess' is valid for C++/ObjC++ but not for C

bug introduced in pr #4517

What type of PR is this:

[X] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:

Fixes #
Problem Summary(Required):

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[X] I have checked the version labels which the pr will be auto backported to target branch

[X] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

@mergifyio rebase

code rebased

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Gdi FloodFill() documentation refers to the last parameter as crFill …

…when it is "color."

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

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

It looks like ExtFloodFill() has the same issue, the parameter is named "color" but referred to in the documentation as "crColor."

It looks like ExtFloodFill() has the same issue, the parameter is named "color" but referred to in the documentation as "crColor."

Thanks for the contribution!


How to use two target values for in the loss function?

I'm implementing DQN which has an output layer of the size of available actions. For each example, only the output node corresponding to the taken action is trained towards a target. So I have a custom loss function like this:
def loss(target, pred, action):
    mse = tf.reduce_mean((pred - target) ** 2, 0)
    masked = mse * tf.one_hot(action)
    return tf.reduce_sum(masked)

How can I use two values in addition to the prediction? If possible, it would be nice to pass in the action during training only, not during prediction where all outputs are of interest.

Maybe you can do this:
model.compile(optimizer=sgd, loss=loss, metrics=[loss])
model.fit(train_x, [target, action], batch_size=batch_size, nb_epoch=epoches...)
```
here `loss` is your function, and there are two ouputs of your model. When I train face and audio model with the same label, I just do in this way:
```
model.fit([train_face, train_audio], [train_label, train_label], batch_size=batch_size, nb_epoch=epoches...)
```
try it, I think it will work.

Hi @saicoco, I moved away from Keras because I felt it was not flexible enough for what I'm doing. Thanks for the answer, anyway.

@danijar There are many implements that are value to learn,  you can refer them when you use theano to code.

Yes! :) Should we close this issue or keep it open in case someone else is interested in the question?

Open it just, there maybe someone confuse this.


Fix typecast warnings

Fix typecast warnings in raylib code as reported by visual studio 2019.
This PR just does some basic casting to prevent warnings when building the code in visual studio 2019.
The PR focuses just on raylib code, not any external library header files (par_shapes.h, and jar_xm.h still have warnings).

@JeffM2501 thank you very much for the improvements.

@raysan5 interested to hear of the disadvantages of using size_t ?
On Mon, 30 Nov 2020 at 07:14, Ray<EMAIL_ADDRESS>wrote:

@raysan5 commented on this pull request.
In src/raudio.c
https://github.com/raysan5/raylib/pull/1443#discussion_r532386133:

@@ -1958,12 +1958,12 @@ static int SaveWAV(Wave wave, const char *fileName)
format.bitsPerSample = wave.sampleSize;

 unsigned char *fileData = NULL;

unsigned int fileDataSize = 0;

size_t fileDataSize = 0;

Hi! Thanks for the detailed report and the testing! I try to avoid using
size_t but this case seems unavoidable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/raysan5/raylib/pull/1443#discussion_r532386133, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFO4SNZTP4UXV3U3NLSOJTSSNA4NANCNFSM4UGAGFLQ
.

--
blog bedroomcoders.co.uk http://bedroomcoders.co.uk
Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:

I am by definition, "the intended recipient"

All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends itself
to. In particular, I may quote it where I please.

I may take the contents as representing the views of your company.

This overrides any disclaimer or statement of confidentiality that
may be included on your message.

@chriscamacho sure!

@chriscamacho oh, ok, it was a question... no disadvantages, just a design decision to use only basic types if possible... it's clear that there are some situations like this one that is not possible.

can you explain this design decision, not being funny but I'm just not
understanding...
On Mon, 30 Nov 2020 at 11:56, Ray<EMAIL_ADDRESS>wrote:

@chriscamacho https://github.com/chriscamacho oh, ok, it was a
question... no disadvantages, just a design decision to use only basic
types if possible... it's clear that there are some situations like this
one that is not possible.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/raysan5/raylib/pull/1443#issuecomment-735741333, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFO4SPIMFDOBOZKTDPEVBLSSOB55ANCNFSM4UGAGFLQ
.

--
blog bedroomcoders.co.uk http://bedroomcoders.co.uk
Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:

I am by definition, "the intended recipient"

All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends itself
to. In particular, I may quote it where I please.

I may take the contents as representing the views of your company.

This overrides any disclaimer or statement of confidentiality that
may be included on your message.

yes, in raylib I tried to minimize libraries inclusion and just use native data types for everything. size_t requires including a library.

you don't need a library for size_t it is available in either stdlib.h or
stddef.h and as such is part of the C language spec.
On Mon, 30 Nov 2020 at 14:07, Ray<EMAIL_ADDRESS>wrote:

yes, in raylib I tried to minimize libraries inclusion and just use native
data types for everything. size_t requires including a library.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/raysan5/raylib/pull/1443#issuecomment-735806609, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFO4SI5CDE5JCNUDRTOGBTSSORI5ANCNFSM4UGAGFLQ
.

--
blog bedroomcoders.co.uk http://bedroomcoders.co.uk
Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:

I am by definition, "the intended recipient"

All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends itself
to. In particular, I may quote it where I please.

I may take the contents as representing the views of your company.

This overrides any disclaimer or statement of confidentiality that
may be included on your message.

yes, you need to include stdlib.h and stddef.h.

I'm glad I could help.
I think the point to make here is that raylib is already dependent on those headers. Since raudio calls functions in minaudio that require size_t, you are already including those headers directly in raudio.c, thus they are a de-facto requirement of raylib.

Since raylib is already using this for audio and it doesn't seem like audio is optional, then one could make the argument that there would be benefit in using size_t in other places. Since the dependencies are already met by audio, the argument that it would involve additional dependencies is somewhat moot since we have shown that it is already required for audio.
This would make 64 bit builds possibly more stable and get students used to the concept of 64 bit values for sizes. The world is going to go 64 bit only at some point. MacOS/iOS are already requiring it, I see Microsoft going the same way soon.


TODO List, task No.5

MK360 hits again
Basically shows KO chances when using a stat-dropping move several turns in a row, with some (big) cleanups.
Commits :
index.template.html : add dropdown for showing how many times this select move is used in a row.
damage.js : refactor + calculate stat-drop induced damage. Also handles Contrary and White Herb.
damage_rby.js : adding description in case a Pokémon used such a move.
item_data.js : refactor Multi-Attack item type detection. Somehow, no one noticed the type of the Memory held is fully mentioned in its name.
move_data.js : added a property for moves that drop stats, whose value is equal with by how much does a stat drop.
shared_controls.js : added the ability to handle - guess what - moves that drop stats by showing their select dropdown, and also binding a property that is used in several places.
ko_chance.js : little refactor + built a workaround to deal with multi-turn moves.

Besides that, looks good!

Demo time!
On selecting any move (here, Draco Meteor), this dropdown shows up :

Now because we're at "Once", the calculator behaves like it's a traditional single-hit move :

But when we raise the usage times.....

This image shows how much did our Abomasnow hurt the other when raining Meteors for 5 times in a row.
Now this case doesn't include White Herb. Here is our item in action :

In the following image we used Draco Meteor 3 times, so its SpA should've dropped to -6. But White Herb interfered with the first drop action and nullified it, leaving 2 drops left (hence the -4). And since the main goal is showing us whether this usage KOes the opponent or not, well... it doesn't.

Great work!


ENH: log rather than print

closes https://github.com/pydata/pandas-gbq/issues/12

Codecov Report

Merging #18 into master will decrease coverage by -37.2%.
The diff coverage is 25.8%.

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
- Coverage   75.08%   37.88%   -37.2%
==========================================
  Files           4        4
  Lines        1457     1457
==========================================
- Hits         1094      552     -542
- Misses        363      905     +542

Impacted Files
Coverage Δ

pandas_gbq/gbq.py
31.17% <25.8%> (-45.75%)
:x:

pandas_gbq/tests/test_gbq.py
39.55% <0%> (-46.48%)
:x:

Continue to review full report at Codecov.

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

can you add an entry in doc/source/changelog.rst

cc @parthea ?

@parthea can you have a look

In https://github.com/pydata/pandas-gbq/blob/master/docs/source/reading.rst, the following note is no longer applicable:
.. note::

   You can toggle the verbose output via the ``verbose`` flag which defaults to ``True``.

In https://github.com/pydata/pandas-gbq/blob/master/docs/source/writing.rst, the following text is no longer applicable:
You can also see the progress of your post via the ``verbose`` flag which defaults to ``True``.
In [8]: to_gbq(df, 'my_dataset.my_table', projectid, chunksize=10000, verbose=True)

        Streaming Insert is 10% Complete
        Streaming Insert is 20% Complete
        Streaming Insert is 30% Complete
        Streaming Insert is 40% Complete
        Streaming Insert is 50% Complete
        Streaming Insert is 60% Complete
        Streaming Insert is 70% Complete
        Streaming Insert is 80% Complete
        Streaming Insert is 90% Complete
        Streaming Insert is 100% Complete

I also think would be nice to have a mini-section in the docs on how to setup logging properly.

@MaximilianR if you wouldn't mind updating. I think after these can release 0.2.0

@MaximilianR if you can update at some point :>

Yes thanks, I need to be better at pushing these over the finish line

ping pong!

ping

@MaximilianR No rush on this one but it would be great to get this into the 0.2.0 release targeted for June 27.

Updated. I haven't added a logging guide or tests on the logging, but I'd hope this moves this forward regardless

Could you include an example in the docs to help users configure logging or point them to a reference?
Here is the code that I used to enable logging in my local testing:
import logging
import sys
logger = logging.getLogger('pandas_gbq.gbq')
logger.setLevel(logging.DEBUG)
logger.addHandler(logging.StreamHandler(stream=sys.stdout))

@MaximilianR
We lost the verbose logging on Travis with this change. Could you modify test_gbq.py so that we see logging on Travis? This may be a good place to enable logging: https://github.com/pydata/pandas-gbq/blob/master/pandas_gbq/tests/test_gbq.py#L93

can you update for comments

Updated and green

@parthea gentle ping

@parthea tell me if the pace of pings is annoying!


Customize Release Notes

In our old release process, we'd include some details before and after the changelog including links to documentation or upgrade notes. It would be nice to be able to customize the notes of the GitHub release to include a header and/or footer.

And possible mention contributors in releases.


Fix incorrect link under observability index page

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[ ] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description

Currently link point to "observability" (current section) but should point to "observability-concept"
Issue reference

@orizohar - Shall we still push this into v0.11?


Add additional node

Added Node 19 to the registry list.

Could you provide some information that shows this node has been running for a month?

Hi. this node has been up for a few months. PDV (@kanshi) on Discord is one of our devs. I've attached an invoice for our server for your perusal.

@RestartU

Thanks!


Feature/customer

Coverage increased (+0.7%) to 81.921% when pulling 07122cbc1a348ef2d8864ee7e02443aaaffcf03c on Feature/Customer into 1ccf10ed27a254c98b3f648a01b46c2a505e5ea7 on V2.


not copping whole text and console error

Expected behaviour
Clicking the copy button should copy a URL saved in a PHP variable.
Here is the variable:
$custURL = "http://localhost/web-address/customer.php?custid=453";
Actual behaviour
Clipboard outputs:
/web-address/customer.php?custid=453
along with a console error of:
Uncaught Error: Missing required attributes, use either "target" or "text"
Code used:
$custURL = "http://localhost/scotts-rewards-system/customer.php?custid=" . $custData->custID;

<a href="#" class="btn" data-clipboard-text="<?php echo $custURL; ?>">

Issue New Reward card

Hi,
Please provide JSFiddle ;-)
Thank you, D.

Closing this one since a JSFiddle was not provided.


Extra Separator in Context Menu

Is this extra bit at the end of the right-click context menu intended?

The menu algo really should check for separators before creating the menus.

:+1: Really minor, but it'd be nice to have this fixed :).

:+1: I've reproduced this on both Windows 8.1 and Ubuntu 14.04 / 14.10.

Does anyone see this problem on OSX? (I don't, but just want to make sure I'm not missing anything.)

@izuzak Nope, it's just a Windows & Linux issue.

Is there a way to manually fix this by changing some sort of style sheet?

I think this is because of the way separators in menus are defined currently - ie. manually with { type: 'separator' }. When a menu gets added to the end of the context menu, if it happens to end with { type: 'separator' }, then on Windows and Linux, a separator gets rendered anyway at the end of the context menu.
IMO I feel like the best solution for this would be something like what was proposed in this Discuss thread: https://discuss.atom.io/t/is-there-a-way-to-specify-menu-item-order-when-inserting-menu-items/14937/11?u=mnquintana
{
  id: 'file'
  label: 'File'
  submenu: [
    { label: 'New Window', command: 'application:new-window' }
    { label: 'New File', command: 'application:new-file' }
    { label: 'Open...', command: 'application:open' }
    { label: 'Add Project Folder...', command: 'application:add-project-folder' }
    { label: 'Reopen Last Item', command: 'pane:reopen-closed-item' }
    { 'save-group': [
      { label: 'Save', command: 'core:save' }
      { label: 'Save As...', command: 'core:save-as' }
      { label: 'Save All', command: 'window:save-all' }
    ]}
    { 'close-group': [
      { label: 'Close Tab', command: 'core:close' }
      { label: 'Close Pane', command: 'pane:close' }
      { label: 'Close Window', command: 'window:close' }
    ]}
  ]
}

Instead of manually specifying separators, you would define groups, and Atom would then create separators as needed between those groups (and not at the end of the context menu).

Any updates on whether this issue will be addressed soon? My OCD is getting the best of me haha.

:+1: Would be neat to have this fixed.

Fixed in Atom 1.11  (currently in beta)


realm error

When I was playing realm, due to the issue of marginal rates, my father was confirmed, but my child was not confirmed, and realm was not credited.
It mainly includes the following two cases, with the same usage rate, but the father is confirmed, and the child is confirmed after more than 5 bookings,
Because Uxo doesn't give change, the father's fee rate is much higher than the child's.

first case url : https://mempool.space/address/bc1pa9vxkl6dzgu386v70l5egqh59gkkks0k7ag0gs34uuhj0kp6haas2z9dk5

second case: https://mempool.space/address/bc1pk95kdjzva789sgvmsg8jg4en4wdymvy32jj0q2ytwnz9ct5jr6ns5q5kmh

I can do anything with this cross block request because my father has confirmed that I cannot use RBF. Is there a problem with the indexing mechanism? Father confirms block<child block -3, but cannot index it?

when i use cpfp, that will make father was confirmed, but my child was not confirmed, tx:https://mempool.space/zh/address/bc1p04m2yrnxmese5uhmjhq3luul76gdqjp0rdaz8rw6tyf90xt8xscqeyluh6


Simple question: Does Smart-RSS has performance issues?

Hi @zakius ,
Firstly, thank you for your Smart-RSS' add-on/extension.
Today I read Ghacks' article (https://www.ghacks.net/2020/03/10/smart-rss-reader-is-a-feed-reader-extension-for-firefox-and-chrome). And I wrote the following comment:
"I just don't understand why this add-on/extension "SmartRSSReader" consumes so much RAM/CPU when compared (for example) to Feedbro add-on/extension (https://addons.mozilla.org/en-US/firefox/addon/feedbroreader/).
In FF' Nightly with 100 feeds, SmartRSSReader when inactive consumes around 4MB VS Feedbro that consumes around 1MB.
And when active, here is the huge exaggerated jump, SmartRSSReader may consume around 30MB (never saw an add-on/extension consuming so much RAM) VS Feedbro that consumes around 2MB (with same number of loaded feeds).
Please, don't get me wrong, SmartRSSReader has a nice and promising interface (reminds me NewFox), but from browser performance point of view, IMHO this add-on/extension has issues, or at least it needs a huge improvement here."
@zakius , I apologize in advance if I sounded too critic. I really liked Smart-RSS' interface and options. And I'm willing to move from Feedbro to Smart-RSS. But for that, I need Smart-RSS consuming a similar amount of CPU/RAM than Feedbro.
If you can improve that, it'll be fantastic!
Thank you in advance.

Internal data structure most likely requires a serious overhaul to improve performance and memory usage (it loads complete database to memory on startup), unfortunately this task seems too big to handle for a hobby project, at least for me.
So to put it short: I'm always aiming to improve, but in most cases I have to settle with low hanging fruits. But I'll see if I can skip loading article contents on startup and fetch them only to display

Amaizing work, zakius!


Issue of Pow2Base

Hi,
// RLWE parameters of the LUT
// N=1024, Q=0x7fff801 -> 2^131
paramsLUT, err := rlwe.NewParametersFromLiteral(rlwe.ParametersLiteral{
	LogN:     10,
	Q:        []uint64{0x7fff801},
	Pow2Base: 6,
})

What does this mean by Pow2Base: 6? pow(2, 6)? What's the rules to assign values to Pow2Base?
And why it's 2^131? How this 131 is calculated out?
BR

PowBase2 is the power of two decomposition during the key-switching. See Supplementary Material 2. of eprint/2020/1023
The value to assign depends on the application and noise. The smaller it is, the smaller the noise but the heavier the keys are and the key-switching is. Please read the reference above to see why and how it behaves. If using an auxiliary modulus P, it can be omitted (set to 0).
2^131 is the estimated security computed using https://github.com/malb/lattice-estimator

Thanks, I'll have a look.

PowBase2 is the power of two decomposition during the key-switching. See Supplementary Material 2. of
https://eprint.iacr.org/2020/1023.pdf


Load balancer configurations using HAProxy

Description
Ported from https://github.com/apache/cloudstack-primate/pull/778
This is the UI change needed for confgiuring load balancer
rules using haproxy and also adding ssl certificated to
load balancer rules
Load balancer configs are avaiable at two scopes.
one at the network level under "LB Configs" tab and
another under each load balancer rule and can be configured
by clicking on "Configuration" button.
The SSL certificates can be added only for load balancer
rules with ssl protocols
To apply global load balancing configurations, navigate to "Networks" -> LB Configs

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[X] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[X] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@ravening this is for 4.16?

@ravening this is for 4.16?

This needs to merged together (or after) #4141 , so it should depend on that.

This needs to merged together (or after) #4141 , so it should depend on that.

@ravening this is for 4.16?

@DaanHoogland Wei might use this change along with his backend pr only. so i will close this once he updates the pr

@ravening this is for 4.16?

@DaanHoogland Wei might use this change along with his backend pr only. so i will close this once he updates the pr

@ravening
I have updated pr #4141 to include your changes.

@ravening this is for 4.16?

@DaanHoogland Wei might use this change along with his backend pr only. so i will close this once he updates the pr

@ravening
I have updated pr #4141 to include your changes.

Closing this pr


Add trick for 2.5.1 - DON'T MERGE

Just a proof of concept.
Travis should be taking care of this.
I don't understand why a simple gem install bundler makes 2.5.1 work.
From a conversation on twitter: https://twitter.com/6ftdan/status/979725913465282562

Look at https://travis-ci.org/abinoam/faster_path/builds/360293271
2.5.1 passing.

Coverage remained the same at 93.023% when pulling c93da45eb8eaa02bda29ede4a94f5a9824cd6937 on abinoam:upgrade/ruby_2_5_1_on_travis into 14b182224af4327d8e8593b1b5ebd6de586a6ca6 on danielpclark:master.


feat(card): fix video cta data

Related Ticket(s)
https://jsw.ibm.com/browse/ADCMS-6425
Description
Fixes a bug in which cards with cta-type="video" all update with each others video data, causing the wrong video durations listed for all but one of the cards
Demo

Changelog
Changed

Limits card responses to c4d-cta-request-additional-video-data events that are related to their own videos

@emyarod can you take care of the Percy failure?

done!


to master

Coverage remained the same at 100.0% when pulling 654f2337c0fbf1e5cf3d72ee268021838f88dfdf on dev into 09cec7216e1954b2eca777882929fed3d02288b1 on master.


Cannot read property 'body' of null

Issue Id: 2cef3fdb-c032-eece-902a-e3d208d0f5c5Versions - 1.5.2-  5be4091987a98e3870d89d630eb87be6d9bafd27Stack TypeError: Cannot read property 'body' of null/vs/workbench/parts/debug/electron-browser/debugService.ts#L1038:50 (body)/vs/base/common/winjs.base.raw.js#L1170:0 (onComplete)/vs/base/common/winjs.base.raw.js#L852:0 (_notify)/vs/base/common/winjs.base.raw.js#L1068:0 (enter)/vs/base/common/winjs.base.raw.js#L1036:0 (_run)/vs/base/common/winjs.base.raw.js#L1566:0 (onComplete)/vs/base/common/winjs.base.raw.js#L747:0 (then)/vs/base/common/winjs.base.raw.js#L1068:0 (enter)/vs/base/common/winjs.base.raw.js#L1052:0 (_run)/vs/base/common/winjs.base.raw.js#L1209:0 (_setCompleteValue)

Occurs in 1.5.3 and in 1.6 insiders too.
1 other place with same error, same file but slightly different call stack narrows down the issue to the below line
https://github.com/Microsoft/vscode/blob/66f37fd2a99eb9d628dd374d81d78835b410c39b/src/vs/workbench/parts/debug/electron-browser/debugService.ts#L1038

Fixed in latest

@isidorn @ramya-rao-a I can verify if either of you have repro steps?

@roblourens you can check kusto for error events and make sure this error with similar callstack does not appear

We do not verify error-telemtry usually. If it is not fixed it will just come back again.
Though if you would like to verify just do a code review - check that part of the code and you will see it is now imposible for that field to be null


Updated OpenSSL to v1.0.2a

If people could test packages that depend on OpenSSL, that'd be great. I'm not sure what to test myself.

Any particular reason for this upgrade? The 1.0.1 branch is still supported AFAIK.

It's required for building io.js beyond it's current version.

Only one symbol was removed, so I expect (most) packages shouldn't break after the update.

From the latest fixes it seems that 0.9.8, 1.0.0, 1.0.1 and 1.0.2 branches are still getting security updates, so we could leave 1.0.1 as the default during the whole lifetime of the upcoming branch (it's better tested ATM, I expect). In that case we would add this as a separate package.
But maybe it's easier to try to have all at 1.0.2.

We could switch after 15.06 is branched, right? (Assuming that everything builds with the new version.) In any case, the new version should be added in addition to the existing one first rather than replacing it.

Closing this for reason peti commented. Also, tried to change PR to be against staging, but failed somewhere. Discuss at #7970 for stuff.

AFAIK it isn't possible to change the merge-branch of a github PR.

Let's add it as a separate attribute (no rebuilds needed), and we can just switch the default after branching off the release. Packages that require it would use it immediately.


Clean up attack logic.

The attack logic is confusing, but really its simple. There are 3 cases:

No shield: freeze/steal
Shield + enough energy: energy damage only
Shield + not enough energy: energy damage + freeze/steal

So it should just be:
if shield and enough energy:
    energy -= damage
else:
    freeze
    steal
    energy = 0
    shield off

Also add tests for this.

Is it steal or swap?
Is 1 energy = 1 attack damage effect?

This is not related to steal or swap. Just the logic in attack is confusing.


Can't start unicorn

I'm trying to deploy my application on a vm for testing. The cap setup run without any troubles :
DEBUG [180db0d8] Running /usr/bin/env [ -d ~/.rbenv/versions/2.1.1 ] as<EMAIL_ADDRESS>DEBUG [180db0d8] Command: [ -d ~/.rbenv/versions/2.1.1 ]
DEBUG [180db0d8] Finished in 0.214 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/sample_rails_app_production 0.0%
INFO Uploading /tmp/sample_rails_app_production 100.0%
INFO [19a478cf] Running /usr/bin/env sudo mv /tmp/sample_rails_app_production /etc/nginx/sites-available as<EMAIL_ADDRESS>DEBUG [19a478cf] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.1.1 /usr/bin/env sudo mv /tmp/sample_rails_app_production /etc/nginx/sites-available )
INFO [19a478cf] Finished in 0.008 seconds with exit status 0 (successful).
INFO [69f40ba8] Running /usr/bin/env sudo ln -fs /etc/nginx/sites-available/sample_rails_app_production /etc/nginx/sites-enabled/sample_rails_app_production as<EMAIL_ADDRESS>DEBUG [69f40ba8] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.1.1 /usr/bin/env sudo ln -fs /etc/nginx/sites-available/sample_rails_app_production /etc/nginx/sites-enabled/sample_rails_app_production )
INFO [69f40ba8] Finished in 0.007 seconds with exit status 0 (successful).
DEBUG [3a5072f7] Running /usr/bin/env id -un as<EMAIL_ADDRESS>DEBUG [3a5072f7] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.1.1 /usr/bin/env id -un )
DEBUG [3a5072f7] 	awea
DEBUG [3a5072f7] Finished in 0.005 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/unicorn_sample_rails_app_production 0.0%
INFO Uploading /tmp/unicorn_sample_rails_app_production 100.0%
INFO [c82308e3] Running /usr/bin/env sudo mv /tmp/unicorn_sample_rails_app_production /etc/init.d as<EMAIL_ADDRESS>DEBUG [c82308e3] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.1.1 /usr/bin/env sudo mv /tmp/unicorn_sample_rails_app_production /etc/init.d )
INFO [c82308e3] Finished in 0.008 seconds with exit status 0 (successful).
INFO [90e57931] Running /usr/bin/env chmod +x /etc/init.d/unicorn_sample_rails_app_production as<EMAIL_ADDRESS>DEBUG [90e57931] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.1.1 /usr/bin/env chmod +x /etc/init.d/unicorn_sample_rails_app_production )
INFO [90e57931] Finished in 0.004 seconds with exit status 0 (successful).
INFO [57f13c83] Running /usr/bin/env sudo update-rc.d -f unicorn_sample_rails_app_production defaults as<EMAIL_ADDRESS>DEBUG [57f13c83] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.1.1 /usr/bin/env sudo update-rc.d -f unicorn_sample_rails_app_production defaults )
DEBUG [57f13c83] 	update-rc.d: using dependency based boot sequencing
INFO [57f13c83] Finished in 0.043 seconds with exit status 0 (successful).
INFO [3ce825ab] Running /usr/bin/env mkdir -pv /var/www/sample_rails_app/shared/config as<EMAIL_ADDRESS>DEBUG [3ce825ab] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.1.1 /usr/bin/env mkdir -pv /var/www/sample_rails_app/shared/config )
INFO [3ce825ab] Finished in 0.007 seconds with exit status 0 (successful).
DEBUG Uploading /var/www/sample_rails_app/shared/config/unicorn.rb 0.0%
INFO Uploading /var/www/sample_rails_app/shared/config/unicorn.rb 100.0%

But when it come to start unicorn service it doesn't found the binary:
DEBUG [5a1d53e8] Running /usr/bin/env [ -d ~/.rbenv/versions/2.1.1 ] as<EMAIL_ADDRESS>DEBUG [5a1d53e8] Command: [ -d ~/.rbenv/versions/2.1.1 ]
DEBUG [5a1d53e8] Finished in 0.102 seconds with exit status 0 (successful).
INFO [fc7a9ab3] Running /usr/bin/env service unicorn_sample_rails_app_production start as<EMAIL_ADDRESS>DEBUG [fc7a9ab3] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.1.1 /usr/bin/env service unicorn_sample_rails_app_production start )
DEBUG [fc7a9ab3] 	/usr/bin/env:
DEBUG [fc7a9ab3] 	service
DEBUG [fc7a9ab3] 	: Aucun fichier ou dossier de ce type
DEBUG [fc7a9ab3]

+1

But i have different error message:
~/Projects/shemberg-rails (master) cap staging unicorn:start
INFO [b13d534b] Running /usr/bin/env service unicorn_shemberg_staging start as<EMAIL_ADDRESS>DEBUG [b13d534b] Command: /usr/bin/env service unicorn_shemberg_staging start
DEBUG [b13d534b] 	/etc/init.d/unicorn_shemberg_staging: line 26: kill: (5663) - No such process
DEBUG [b13d534b] 	master failed to start, check stderr log for details
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as<EMAIL_ADDRESS>service exit status: 1
service stdout: Nothing written
service stderr: /etc/init.d/unicorn_shemberg_staging: line 26: kill: (5663) - No such process
master failed to start, check stderr log for details

SSHKit::Command::Failed: service exit status: 1
service stdout: Nothing written
service stderr: /etc/init.d/unicorn_shemberg_staging: line 26: kill: (5663) - No such process
master failed to start, check stderr log for details

Tasks: TOP => unicorn:start
(See full trace by running task with --trace)

I didn't get any trouble when I log myself on the server and manually start the service. But well it's not very smooth ^^

Sorry, my message is not actual: unicorn is not started for my issue on code.

The service command is only available for root user on Debian, I don't understand something. @bruno-  Am I supposed to add it to my user PATH or something like that ?

i have same issue. and @Awea last comment is correct.
original capistrano-unicorn-nginx was used 'sudo'
https://github.com/kalys/capistrano-nginx-unicorn/blob/master/lib/capistrano/tasks/unicorn.rake#L30

FYI:

issues: #8 #31
PR: #37


command to create project.

We have project  and project use  to list and use projects. But no command to create one.

acorn version v0.5.0-rc3-23-g34eb244+34eb2440
Able to create projects using acorn project create locally and on  remote service acorn.io


Options should be programmatically selectable by value

Currently programmatic selections can only be made using indices. We should be able to set the selected option using a value to match in options array.

This was implemented by @agonza40


I just added my app to electron-apps

please let me know if my app gets listed on electron apps
thnx
regards