Search Index Flushed During Deployments in SaaS Environment

Current Setup:

XbyK NuGet packages: v29.3.3
Kentico.Xperience.Lucene NuGet package: v8.0.0

Issue:
I am experiencing an issue where the search index is flushed during deployments to the SaaS environment. I have implemented a simple search functionality using the Kentico.Xperience.Lucene package in an XbyK site hosted on SaaS, strictly following the guidance provided in your documentation.
After some deployments, whether to the QA or PROD environment, I notice that the search index loses its entries, requiring a manual rebuild. This behavior does not occur consistently with every deployment, and I have not been able to identify any patterns or triggers that cause it.
Primary Concern:
I am looking for a solution that would ensure the search index entries persist between deployments. One potential approach could be to trigger an automated index rebuild upon application start or on the first request. However, I have not found any relevant guidance in your documentation on this matter. Could you please advise if this could be a reasonable solution, or if I might have overlooked any aspects of the implementation that would ensure the index persists?
Secondary Concern:
I am also considering whether this could be a potential bug on the SaaS side. If I am not mistaken, the index is stored on the file system, which might cause the index files to be lost between deployments. However, since the SaaS environment is a black box, I am unsure about the specifics of what occurs during deployment.
Any insights or guidance on this issue would be greatly appreciated.

That's unfortunate, but I appreciate you sharing this! Could you clarify what you mean by "rebuild the index after a deployment"? Are you referring to manually rebuilding it in the XbyK UI, or is there a way to do this programmatically, such as on application startup or the first request? If it's possible to automate this, could you point me to any resources for further guidance?

You can use the ILuceneClient to rebuild the index.
This means you can create a custom ASP.NET Core API endpoint that is protected by AuthN/AuthZ and send a request to it to rebuild the index after a deployment. However, there's no hook/stage in the SaaS deployment process or Xperience where you can place this logic to have it automatically occur after a deployment completes.
Hence...

We know about the feature gap and the resolution will most likely be in the product or SaaS environment instead of the Lucene integration library.

So, you can log into the Xperience administration after a deployment and rebuild the index by clicking the button in the UI or come up with your own way of triggering it somewhere else.

Technically, you could use a db table and assembly versions to keep track of the currently deployed "app version" (not Xperience version) and schedule triggering rebuild if the db app version differs from the assembly app version.
If they differ, you'd update the db and trigger the reindex. Otherwise you skip. This check could run every 1-2 minutes to ensure after a deployment the index is updated.
I've thought about doing this in the Community Portal, which uses this integration and is deployed to Kentico's SaaS, but it's less time cost to just jump into the admin after a deployment and rebuild an index.

Unfortunately, clicking through the UI isn't very convenient since deploying to SaaS takes around 30 minutes. It's easy to either forget to click afterward or not have the time to wait for it to finish.
As for the technical solution you suggested, it feels a bit over-engineered to me. I was able to implement a simpler approach by handling the ApplicationEvents.PostStart global event and using the ILuceneClient you mentioned. Feel free to check out the code in the gist and let me know if you spot any potential issues. I deployed it to SaaS, and it worked well.

The problem with ApplicationEvents.PostStart is that it will fire when the app pool recycles, so you'll potentially be rebuilding the search index multiple times a day and you won't be in control of when it rebuilds.

Oh, I didn't realize that! It would be great if the documentation included a warning about it. Since there doesn't seem to be a better option in my opinion, I'll stick with this approach for now and keep an eye on things. The index is pretty small, so I don't expect any major performance or other issues.

Some web server set ups don't let the app spin down (and save resources) and instead will keep it "hot" forever, so whether or not that event is triggered multiple times after a deployment depends on the hosting set up.
You can submit some feedback on the docs page if you'd like a little more context added to the event description.

Thank you for your assistance and the information. I think we're good to close this one."


chore: merge the create fuels integration tests into one step

Do not review - just testing CI
Closes #2170

Can we delete this?

Closing for now


MeleeHitEvent isn't raised properly on attacks that aren't unarmed clicks

Description

The meleeHitEvent, which should be raised when an entity is hit by any melee attack, isn't raised if the the attack uses a weapon. Either the event doesn't get raised properly, or the information about the hit entities aren't passed correctly.
EDIT: it does work with wide swings, just not with weapons in hand.


filter out events belonging to container runtime daemon

For the time being, we can filter out these events in the user mode. Later, we can consider filtering in the kernel
Signed-off-by: jundizhou<EMAIL_ADDRESS>

The way looks not graceful temporally, but to some extent, it can filter out some events we don't concern and the events will not be sent to Collector.
Actually You may call function bool sinsp::suppress_events_comm(const std::string &comm) in agent-libs to suppress the process in libscap.
It's better to add one controller to control the filter in kernel in the future.


Issue/add template fans

Description:
Add template fan
Example entry for configuration.yaml:
fan:
  - platform: template
    fans:
      bedroom_fan:
        friendly_name: "Bedroom fan" #Optional
        value_template: "{{ states('input_boolean.state') }}" #Required
        speed_template: "{{ states('input_select.speed') }}" #Optional
        oscillating_template: "{{ states('input_select.osc') }}" #Optional
        turn_on: #Required
          service: script.fan_on
        turn_off: #Required
          service: script.fan_off
        set_speed: #Optional
          service: script.fan_speed
          data_template:
            speed: "{{ speed }}"
        set_oscillating: #Optional
          service: script.fan_oscillating
          data_template:
            oscillating: "{{ oscillating }}"
        speeds: #Optional
          - '1'
          - '2'
          - '3'

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Could someone review this?
Thanks

I am using the previous version of this component and it works perfectly, so I assume this one does too.
Thanks a lot for resubmitting this and I hope it gets merged soon.

Just a couple small changes and I'll merge this, thanks for adding it.

Sorry, I hadn't committed my comments so they weren't showing up for you. I think this is fine to merge if you can just clean up those couple things. Nice job adding all the tests up front.

@balloob any objections to merging this?

Was using this as a custom component until merged, but it no longer works with the voluptuous changes for 0.64 just to let you know

I updated the code as your comments (except the "stringify" one). Please review again.
Thanks!

Would be really great to have this one merged! I'm happy to create a new pull request covering the requested changes.

@OttoWinter could you please review. I updated the code as your comments.

'on'/'off' are only accepted values for value_template
'True/Falseare only accepted values forosc_template` (because it is defined in the schema)

FAN_OSCILLATE_SCHEMA = vol.Schema({
    vol.Required(ATTR_ENTITY_ID): cv.entity_ids,
    vol.Required(ATTR_OSCILLATING): cv.boolean
})

Looks good 🐬

Fantastic!


Question in Sentence Embedding

I have a question about the Sentence_Embedding model forward implementation.
Why is torch max applied after the first Fully Conbected layer? Is this better than doing it before and averaging all the word embeddings of a sentence before the FC Layers?
Thanks for the clarification

Yes it was better to do the max than the average.

Thanks!


Task 5.1 Write a function to retrieve data from IPFS

Related to user story #13

Implementation of get from IPFS but for API


great job!  have the whole code is completed now?

almost. maybe update something new soon.

好巧啊大兄弟，你也是zjuer吗？我最近也在做去噪的研究，能向老哥请教下吗？微信yzy19940701，谢啦！


(UndefinedFunctionError) function Mix.install/1 is undefined or private

Environment
Elixir version v1.11.2
Ubuntu 20.04 via WSL 2
Livebook commit ec8f000
Brave browser Version 1.23.71 Chromium: 90.0.4430.72
Started livebook via  MIX_ENV=prod mix phx.server

Current behavior
Trying the following code in a new cell fails with (UndefinedFunctionError) function Mix.install/1 is undefined or private
Mix.install([
  {:exla, "~> 0.1.0-dev", github: "elixir-nx/nx", sparse: "exla"},
  {:nx, "~> 0.1.0-dev", github: "elixir-nx/nx", sparse: "nx", override: true},
  {:axon, "~> 0.1.0-dev", github: "elixir-nx/axon"}
])

Expected behavior
I expected the packages to be installed

Mix.install comes with Elixir 1.12 (release candidate it currently available), so that error is expected for any previous version. Please update Elixir and it should work fine =)

Cool, I've compiled elixir 1.12 from source and it works now. Thanks!


Double click on file in ios debug inspector throws an error.

run tns debug ios
Double click on some file from resources

TypeError: InspectorFrontendHost.openInNewTab is not a function. (In 'InspectorFrontendHost.openInNewTab(this._resource.url)', 'InspectorFrontendHost.openInNewTab' is undefined) (at ResourceTreeElement.js:99:43)
ondblclick @ ResourceTreeElement.js:99:43
treeElementDoubleClicked @ TreeElement.js:314:48

Removing resource tab and adding it again the inspector crashes with the same error.

Can't reproduce with 3.1.*


Server set up

Description
Fixes # (issue)
Type of change
n/a
Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?
n/a
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] There are no merge conflicts

We just restructured server files following our conversation about deployment of FE/BE.


ServiseWorker compatiblitity issues in 0.9.0

The most recent update to 0.9.0 (in google3 cl/240639288 already rolled-back) broke one of the google3 apps. They have an "unusual" setup where they run Angular with zone.js in a service worker context. Zone.js 0.9.0 breaks in the serviceworker because property-descriptor-legacy.ts:56 directly references XmlHttpRequest[1], which is not available in service workers.
They use "self['__Zone_disable_XHR'] = true" to disable zone's other usages of XHR's and actually use the noop stub for Zone once bootstrapped:
 createPlatformFactory(platformCore, 'xxx_service_worker', [
    {provide: PLATFORM_ID, useValue: 'xxx_service_worker'},
  ])().bootstrapModuleFactory(XXXServiceWorkerModuleNgFactory, {ngZone: 'noop'});

Before re-landing 0.9.0 in google3, let's ensure that we avoid executing that code in service workers.
I'll also follow up with them about why they even load zone.js when then stub it out with noop during bootstrap, but we should still try to avoid breaking them.
[1] https://github.com/angular/zone.js/blob/31d31ceead4a8dfd0b747f1912f98f61c89dceff/lib/browser/property-descriptor-legacy.ts#L45

@IgorMinar, got it, I will add check here.


Collection of ideas

We are going to try end up having all initial suggestions for the website collected here. Try reference tickets to this one.
@ai had some very good suggestions from ticket #391

Plugins list (even with search like in gulp) is a lame way. We need some wizard (of course list will exists too):
You select basement: preprocessors or/and CSS4.
You select architecture: BEM, CSS Modules, etc.
You select a builder: Gulp, webpack, grunt, etc.
Pick some extra sugar.
We will get you a exactly code to copy-paste to your build process. For example, only gulp-cssnext with some sugar plugin additions if you select CSS4, BEM, Gulp and not so many additions.
AST explorer for plugin developer. You put a CSS and get PostCSS AST with references.
Migration guide
Docs with good formation.
Playground based on postcss-use.

I will break this ticket down into several ones then we can decide on what gets implemented and what not. I will also wait for #4 to finish off here.
If there any more ideas, that can be created into more issues labeld as dicussion or question


chore: removing contract attr from kv module

As discussed in Discord, the storage kv module doesn't have to be a #[contract] because it uses syscalls for reading and writing.

Optimistically merging since CI is green :shipit:


Support StructuredArguments

When StructuredArguments (from logback-logstash-encoder) were used they weren't being reported to rollbar properly because previously we were sending formatted message (and ignoring arguments). This change adds optional support for StructuredArguments - it will only be used if logback-logstash-encoder is on the classpath.
As a result logback-rollbar will send additional field data.custom.args with map containing the arguments.
E.g. log.warn("watch out!", keyValue("reason", "a bear"), keyValue("severity", "high"))
Will send:
"custom":{
  "args":{
    "reason":"a bear",
    "severity":"high"
  }
}

The conversion of event arguments to JSONObject is pretty inefficient and basically uses jackson serialization and then GSON deserialization, but there doesn't seem to be an obvious way to get values from StructuredArguments

[ ] check how it looks on rollbar and maybe tweak the format

:P

We didn't use it after all, the behaviour is not ideal. Closing.

@mabn Sad to hear that, this feature was a game changer! ;)

There is now official rollbar-logback (https://github.com/rollbar/rollbar-java/tree/master/rollbar-logback). Maybe they have support for StructuredArguments ;)


Most recent stable update breaks server theming

In the most recent update to discord, the background of the chat container is no longer themed correctly, instead it shows the default discord background.
(Note, some parts of the screenshot are censored to remove unrelated information)
Using a modified version of SoftX, but the unmodified version is affected as well, so I know this isn't caused from my modifications.

Discord channel: Stable 237546 (c8efe13)
OS: Windows 10 64-Bit (10.0.19044)
Mod: Betterdiscord v1.9.3

Fixed.

Fixed.

can confirm, thanks for the insanely quick fix!


[eas-cli] Upgrade packages from the expo/expo repo

Why
This PR upgrades the packages in eas-cli from the upcoming SDK release. I don't plan to land this until the package versions are finalized (beta is done), at which time I'll set these versions to the production ones.
Depends on https://github.com/expo/expo/pull/25874.
Closes ENG-9845.
How
Upgrade packages, fix tsc.
This removes classic update validation from eas-cli since it no longer exists in the types.
Test Plan
Run tests.

/changelog-entry chore Upgrade packages from the expo/expo repo

Re-tested, landing now that these versions of the packages are marked as latest.


Can you easily transfer LUA to Source Code?

What is your question?
So I'm making a mod and I've been building it completely on LUA, but is it possible to switch it over to Source Code with all the
lua events, stages, whatever? I'm not remaking everything on Source, so I wanna know before I transfer my whole mod to a place where it doesn't work.

Inside the source folder

Inside the source folder.

First, you need some knowledge at haxe

Inside the source folder.

I'll take that as a yes than, thank you!


Fixes link to cheatsheet

Could you rebase or merge with master?

Ah, so, @zomars, it looks like your PR now touches 63 pages? Looks like the merge didn't go as intended! Can you revise to just PR the one page?

Oh boy... I  think I got it now 😅


Fails to run on windows

running current release ends with plugin error:
PS C:\Users\zoran> terraformer import aws --resources=s3 --regions=us-west-1
2019/06/23 15:59:58 aws importing region us-west-1
2019/06/23 15:59:58 aws importing... s3
2019/06/23 16:00:01 plugin error: open \.terraform.d/plugins/windows_amd64: The system cannot find the path specified.
2019/06/23 16:00:01 open \.terraform.d/plugins/windows_amd64: The system cannot find the path specified.

needs to be in terraform folder before running.


Feat/219 keep extracted image elements

Closes issue #219.
Summary

update merge_inferred_layout_with_extracted_layout to keep extracted image elements

The following documents can be used for testing and evaluation.

Captur-1317-5_ENG-p23.pdf
Captur-1317-5_ENG_1-10.pdf

Testing
from unstructured_inference.inference.layout import DocumentLayout

f_path = "sample-docs/embedded-images.pdf"

# default image output directory
doc = DocumentLayout.from_file(
    filename=f_path,
    extract_images_in_pdf=True,
)

# specific image output directory
doc = DocumentLayout.from_file(
    filename=f_path,
    extract_images_in_pdf=True,
    image_output_dir_path=<directory_path>,
)

Evaluation
// Extracting Images
$ PYTHONPATH=. python examples/image_extraction/embedded-image-extraction.py Captur-1317-5_ENG-p23.pdf unstructured

// Layout Visualziation
$ PYTHONPATH=. python examples/layout_analysis/visualization.py Captur-1317-5_ENG-p23.pdf image_oly

confirmed this is working and on example pdf gets all the images
test instruction has typos 😬 (path should be image_extraction not image-extraction
not related to this PR but worth a followup ticket/issue: refactor the logic for inferred_is_text so it is more modular instead of buried in the long chain of function

Thanks for your feedback!


How should a machine interact with websocket?

Bug or feature request?
Question
Description:
Apologies for the open-endedness of this question. Hopefully if there are other people wondering about this they can find this issue and gain some insight.
I'm working on a real-time multiplayer game that interacts with the server via a websocket connection (socket.io). My problem is I'm not really sure how best to make xstate and websockets work together. I've tried several approaches but none seem right.

How does the machine maintain the handle to the socket? How does the machine emit to the socket?

How should the machine subscribe to receive messages from the socket?

Approaches I've considered:

Create the socket instance outside the machine. Set up a handler in my application code that sends events to the interpreter when it receives an event from the socket.

Problem: machine won't be able to access socket in actions if a side effect needs to emit to the socket.

Process actions completely outside the machine i.e. execute: false on my interpreter and iterate over the actions in an onTransition handler. Also have socket's event handler outside the machine which can .send to the interpreter when the socket receives an event.

Problem: too much is handled outside of machine.

Use callback service at top level of machine to manage websocket connection. Invoke callback to send events to the machine and onEvent to receive messages that the socket should emit. Example:

import io from 'socket.io-client';

Machine({
  initial: 'initializing',
  context: {
    playerName: null,
    playerId: null
  },
  invoke: {
    id: 'socket',
    src: (context, event) => (callback, onEvent) => {
      const socket = io();

      socket.on('connected', function() {
        callback('SOCKET_CONNECTED');
      });

      socket.on('join_successful', function(msg) {
        callback({ type: 'PLAYER_JOIN_SUCCESSFUL', playerId: msg.playerId })
      });

      ....

      onEvent(e => {
        switch(e.type) {
          case 'EMIT_JOIN_GAME':
            socket.emit('JOIN_GAME', { playerName: context.playerName });
            break;
          case 'EMIT_QUIT_GAME':
            socket.emit('QUIT_GAME', { playerId: context.playerId });
            break;
          ...
        }
      });
    }
  },
  states: {
    initializing: {
      on: {
        SOCKET_CONNECTED: 'join_screen'
      }
    },
    join_screen: {
      on: {
        PLAYER_CLICKED_JOIN: {
          target: 'joining',
          actions: assign({playerName: (c, e) => e.playerName })
        }
      }
    },
    joining: {
      onEntry: send('EMIT_JOIN_GAME', { to: 'socket' }),
      on: {
        PLAYER_JOIN_SUCCESSFUL: {
          target: 'game_screen',
          actions: assign({playerId: (c, e) => e.playerId })
        }
      }
    },
    game_screen: {
      on: {
        PLAYER_CLICKED_QUIT: {
          actions: send('EMIT_QUIT_GAME', { to: 'socket' }),
          target: 'join_screen'
        }
      }
    }
  }
});

Problems: Seems weird to have a service at the top level of the app? Not sure how this will scale in terms of complexity in a real-world application that might have to send/receive many different types of messages.
Seems like #3 is the best approach but can't find any literature confirming/rejecting this. Any help/examples on this would be greatly appreciated.

IMHO 3rd option is the best here. If the code for handling a socket gets complicated you could split things further and extract this to a machine which would be able to handle different types of messages based on socket's connection states etc.

Thanks for replying @Andarist. I've tried implementing a machine similar to my example in option 3 and I ran into an issue. It appears xstate doesn't simply update the context object when you modify the context with assign({playerName: (c, e) => e.playerName }). Rather, the context object is replaced by a new object so my service is no longer able to access the current context since the context passed to the service at invocation is out-of-date.
Demo:
import { Machine, interpret, send, assign } from 'xstate';

let serviceContext = null;

const m = Machine({
  initial: 'initializing',
  context: {
    playerName: null,
    playerId: null
  },
  invoke: {
    id: 'socket',
    src: (context, event) => (callback, onEvent) => {
      serviceContext = context;

      setTimeout(function() {
        callback({ type: 'SOCKET_CONNECTED' })
      }, 1000);

      onEvent(e => {
        console.log(e);

        switch(e.type) {
          case 'EMIT_JOIN_GAME':
            console.log("emitting send_join with context.playerName = ", context.playerName);

            setTimeout(function() {
              callback({ type: 'PLAYER_JOIN_SUCCESSFUL', playerId: 17 })
            }, 3000);
            break;
          case 'EMIT_QUIT_GAME':
            console.log("context = ", context);
            console.log("emitting quit_game with context.playerId = ", context.playerId);

            setTimeout(function() {
              callback('QUIT_SUCCESSFUL')
            });
            break;
        }
      });
    }
  },
  states: {
    initializing: {
      on: {
        SOCKET_CONNECTED: 'join_screen'
      }
    },
    join_screen: {
      on: {
        PLAYER_CLICKED_JOIN: {
          target: 'joining',
          actions: assign({playerName: (c, e) => e.playerName })
        }
      }
    },
    joining: {
      onEntry: send('EMIT_JOIN_GAME', { to: 'socket' }),
      on: {
        PLAYER_JOIN_SUCCESSFUL: {
          target: 'game_screen',
          actions: assign({playerId: (c, e) => e.playerId })
        }
      }
    },
    game_screen: {
      on: {
        PLAYER_CLICKED_QUIT: {
          actions: send('EMIT_QUIT_GAME', { to: 'socket' }),
          target: 'join_screen'
        }
      }
    }
  }
});
let service;
service = interpret(m).onTransition(function(nextState) {
  if (service) {
    // this outputs "true" the first transition but "false" on subsequent transitions, demonstrating
    // the context object passed the service diverges from the the one on the service
    console.log("serviceContext === service.state.context?", serviceContext === service.state.context);
  }
}).start();

setTimeout(function() {
  service.send('PLAYER_CLICKED_JOIN', { playerName: 'glenn' });
}, 1500);

setTimeout(function() {
  console.log("done")
}, 5000);

I expected emitting send_join with context.playerName = glenn but got emitting send_join with context.playerName = null.
Is there some way the callback service can access the current context when it receives an event via onEvent. OR is there some way a side effect can send the values it needs from the context where it's doing send('EMIT_JOIN_GAME', { to: 'socket' }).

I expected emitting send_join with context.playerName = glenn but got emitting send_join with context.playerName = null. (I checked and confirmed the current context of the interpreter (edited) is successfully updated with the proper playerName value)

Think of a context as of redux state - it's immutable value, so whenever you update it with assign it creates a "copy" of the previous one, with changes applied ofc. This isn't enforced for nested values, you can mutate smth and it might stay unnoticed but I would encourage you to never mutate it. Immutable data is easier to reason about.
So actually what is given to your invoked callback service is a context snapshot - so you only have data from that point in time (invocation time).
To handle this here you can use expression as your event like this (link):
send(
  ctx => ({
    type: "EMIT_JOIN_GAME",
    playerName: ctx.playerName
  }),
  { to: "socket" }
)

Or you can use similarly event's payload because it carries that name - so maybe you don't even need to store playerName in the context in this case? it depends on your other needs though link:
send(
  (ctx, ev) => ({
    type: "EMIT_JOIN_GAME",
    playerName: ev.playerName
  }),
  { to: "socket" }
)

Ah, I didn't realize you could pass a function to the send action creator to access the context. That's great. Thank you so much.

I couldn't find it in the docs either - had to find it in the source code. This is something you could mention in https://github.com/davidkpiano/xstate/issues/552

Looks like it is mentioned in the docs and an example is given: https://xstate.js.org/docs/guides/actions.html#send-action

Oh, I had to miss it while scanning the docs quickly. All good then 👌


AttributeError: module 'quantipy' has no attribute 'Rim'

Hello, I'm running Python 3.7.3 on macOS, and have installed quantipy with pip.
I was trying to follow the instruction for Rim weights in https://quantipy.readthedocs.io/en/staging-develop/sites/lib_doc/weights/02_rim.html, but I'm pretty immediately running into the following error:
> import quantipy as qp
> scheme = qp.Rim('my_first_scheme')

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-64839714172d> in <module>
----> 1 scheme = qp.Rim('my_first_scheme')

AttributeError: module 'quantipy' has no attribute 'Rim'

is this no longer a feature of this package? Is there now a suitable replacement for it within quantipy?

Heya @tbagnoli! Rim is still a part of the package.
Does  this work instead?:
from quantipy.core.weights.rim import Rim
scheme = qp.Rim('my_first_scheme')

Some other points:

Can you try to switch to the devleop-branch (this one is most frequently updated and used in-house)?

Generally, we are currently making effeorts to move QP to work with py3 but for now it's only stable in py2.7 environments.

There is no explicit mac-support, although I am not sure if this matters in this case. There could be a difference in how site-packages are managed on mac, but I have no experience in this area.

Hello, thanks for answering!
Your suggested fix didn't work with the pip installation I already had:
from quantipy.core.weights.rim import Rim

ModuleNotFoundError: No module named 'quantipy.core'

I then tried your first suggestion, to install from the develop branch.
It failed because of incompatibility with python 3:
pip install git+git://github.com/Quantipy/quantipy.git@develop
...
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: This backport is for Python 2.7 only.
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/00/5n3hxd5x14df2w2sy4bq0_8w0000gn/T/pip-install-4idwk1cn/functools32/

Even if you're not planning to switch to python 3 or update the documentation anytime soon, a couple of very big and loud disclaimers regarding compatibility and installing from the develop branch (unless that's what pip install quantipy does by default?) seem like a quick fix to add here:
https://quantipy.readthedocs.io/en/staging-develop/index.html#
and here:
https://github.com/Quantipy/quantipy


Votes remain after changing events

Context
In the presentation a vote still remained after postponing events by 1 week.
Obviously this should not happen, because you cannot assume that the participants will have the same time next week. It might be useful to refactor this in general and add an "unknown" state when data is changed.

The problem might be the removeParticipations()-function. When i refactor everything into unknown states, i'll be looking into this problem.
The steps to reproduce this bug is to enable allow-maybe, allow editing and force blind participation like in the presentation and postpone it by x days.

The mentioned bug was fixed with #39 and a new issue was opened to clarify the unknown state a bit more and to untangle it from the bug-issue (see #40).


ENH: MersenneTwisterRandomVariateGenerator GTest (+ const keyword)

MersenneTwisterRandomVariateGenerator improvements:

STYLE: Added const to GetSeed()
ENH: Added GoogleTest, testing GetIntegerVariate()

Very happy to see that the old MersenneTwister GetIntegerVariate(), originally added to ITK by Daniel @blezek at 352e56087fadc01f52ac9f076554555a0799cbc0 (Oct 6, 2005), still behaves exactly like a C++11 std::mt19937 function object. Only the default initial seed is different!


Detect and log when v3 style button is rendered but hidden

This will

Tell us how many people are actually using the javascript button in practice
Help narrow down experiments with the js button to users who actually see it.

Done, ready to push.

Fixed and pushed.


Not an issue: Admin page

Hi,
Is there any plan to implement login page to secure the site?
Thanks

If you enable one of the authentication features (see https://github.com/lmenezes/cerebro/blob/master/conf/application.conf#L25) you'll get a login page. Or is that not what you're looking for?

That's exactly what I wanted. Thank you.


[0.13.0-alpha] ALB panic

Hello
With version 0.13.0-alpha for ALB we have this error message and the probing fail
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: 2019/03/27 16:49:34 http: panic serving <IP_ADDRESS>:42236: descriptors reported by collector have inconsistent label names or help strings for the same fully-qualified name, offender is Desc{fqName: "aws_alb_request_count_sum", help: "Help is not implemented yet.", constLabels: {dimension_LoadBalancer="app/awseb-AWSEB-W3MG4A5Z5SW0/7978fae386c94fa3",name="arn:aws:elasticloadbalancing:eu-west-1:687944316825:loadbalancer/app/awseb-AWSEB-W3MG4A5Z5SW0/7978fae386c94fa3",tag_Name="vc-prod-rum",tag_Project="rum"}, variableLabels: []}
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: goroutine 1208 [running]:
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: net/http.(*conn).serve.func1(0xc4209f2140)
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /usr/local/go/src/net/http/server.go:1726 +0xd0
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: panic(0x8f4d40, 0xc420a36a60)
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /usr/local/go/src/runtime/panic.go:502 +0x229
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: yace/vendor/github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xc420a640a0, 0xc420667cd0, 0x1, 0x1)
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /go/src/yace/vendor/github.com/prometheus/client_golang/prometheus/registry.go:391 +0x9e
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: main.metricsHandler(0xa340e0, 0xc42044a540, 0xc420176400)
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /go/src/yace/main.go:50 +0x2e2
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: net/http.HandlerFunc.ServeHTTP(0x9b3580, 0xa340e0, 0xc42044a540, 0xc420176400)
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /usr/local/go/src/net/http/server.go:1947 +0x44
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: net/http.(*ServeMux).ServeHTTP(0xcaec60, 0xa340e0, 0xc42044a540, 0xc420176400)
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /usr/local/go/src/net/http/server.go:2340 +0x130
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: net/http.serverHandler.ServeHTTP(0xc420173040, 0xa340e0, 0xc42044a540, 0xc420176400)
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /usr/local/go/src/net/http/server.go:2697 +0xbc
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: net/http.(*conn).serve(0xc4209f2140, 0xa35ae0, 0xc420238040)
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /usr/local/go/src/net/http/server.go:1830 +0x651
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]: created by net/http.(*Server).Serve
Mar 27 16:49:34 vc-prod-rum-exporter-01 yace_exporter[29952]:         /usr/local/go/src/net/http/server.go:2798 +0x27b

Our setting for ALB is
discovery:
  exportedTagsOnMetrics:
    vpn:
      - Project
      - Name
    elb:
      - Project
      - Name
    rds:
      - Project
      - Name
    ec:
     - Project
     - Name
    lambda:
     - Project
     - Name
    alb:
     - Project
     - Name

  jobs:
  - region: {{ ec2_region }}
    type: "vpn"
    searchTags:
      - Key: {{ prometheus_yace_tag_filter }}
        Value: {{ prometheus_yace_tag_value }}
    metrics:
      - name: TunnelState
        statistics:
        - 'Maximum'
        period: 60
        length: 300
      - name: TunnelDataOut
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: TunnelDataIn
        statistics:
        - 'Sum'
        period: 60
        length: 300
  - region: {{ ec2_region }}
    type: "lambda"
    searchTags:
      - Key: {{ prometheus_yace_tag_filter }}
        Value: {{ prometheus_yace_tag_value }}
    metrics:
      - name: Throttles
        statistics:
        - 'Average'
        period: 60
        length: 300
      - name: Invocations
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: Errors
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: Duration
        statistics:
        - 'Average'
        period: 60
        length: 300
      - name: Duration
        statistics:
        - 'Minimum'
        period: 60
        length: 300
      - name: Duration
        statistics:
        - 'Maximum'
        period: 60
        length: 300
  - region: {{ ec2_region }}
    type: "ec"
    searchTags:
      - Key: {{ prometheus_yace_tag_filter }}
        Value: {{ prometheus_yace_tag_value }}
    metrics:
      - name: NewConnections
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: GetTypeCmds
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: SetTypeCmds
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: CacheMisses
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: CacheHits
        statistics:
        - 'Sum'
        period: 60
        length: 300
  - region: {{ ec2_region }}
    type: "rds"
    searchTags:
      - Key: {{ prometheus_yace_tag_filter }}
        Value: {{ prometheus_yace_tag_value }}
    metrics:
      - name: DatabaseConnections
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: ReadIOPS
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: WriteIOPS
        statistics:
        - 'Sum'
        period: 60
        length: 300
  - region: {{ ec2_region }}
    type: "elb"
    searchTags:
      - Key: {{ prometheus_yace_tag_filter }}
        Value: {{ prometheus_yace_tag_value }}
    metrics:
      - name: RequestCount
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: HealthyHostCount
        statistics:
        - 'Minimum'
        period: 60
        length: 300
      - name: UnHealthyHostCount
        statistics:
        - 'Maximum'
        period: 60
        length: 300
      - name: HTTPCode_Backend_2XX
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: HTTPCode_Backend_5XX
        statistics:
        - 'Sum'
        period: 60
        length: 300
      - name: HTTPCode_Backend_4XX
        statistics:
        - 'Sum'
        period: 60
        length: 300
  - region: {{ ec2_region }}
    type: "alb"
    searchTags:
      - Key: {{ prometheus_yace_tag_filter }}
        Value: {{ prometheus_yace_tag_value }}
    metrics:
      - name: RequestCount
        statistics:
        - 'Sum'
        period: 600
        length: 600
      - name: HealthyHostCount
        statistics:
        - 'Minimum'
        period: 600
        length: 600
      - name: UnHealthyHostCount
        statistics:
        - 'Maximum'
        period: 600
        length: 600
      - name: HTTPCode_Target_2XX
        statistics:
        - 'Sum'
        period: 600
        length: 600
      - name: HTTPCode_Target_5XX
        statistics:
        - 'Sum'
        period: 600
        length: 600
      - name: HTTPCode_Target_4XX
        statistics:
        - 'Sum'
        period: 60
        length: 60

It's more stable when we use
        period: 60
        length: 60

But, in this case, we have data gaps

Okay i can see this happening and can make it crash on purpose.
You can quick fix this by setting different tags on your target group vs your alb and then use two jobs. One for Target Group metrics and one for ALB metrics.
I am unsure who i will solve this to be still easy to use.
Currently thinking that ALB requires a different scraping setup as it is not enough to check the ALB metrics. You need the TargetGroup Metrics as well. Maybe use the ALB api to first gather the services to monitor.
Wanted to spent an hour on this and spent two. I will work something out and inform you.

Use different tag on my target group vs alb is not possible. The Project tag is use for billing to and many other stuff. If we do that's we will have two different project to manage for the same use

Thanks for mentioning this use case.
I will try to migrate this as experiment to 'real' API calls to discover resources instead of service discovery via tags.

Found a fix for this. Will be released today.

Solved and released :) - Sorry for the long delay.


Unable to connect to get response from NLB from outside the private subnet

I am unclear about how I (or one of my apps) is supposed to connect to the database.

Hi,
For security reasons, by default, ClickHouse can only be deployed in private subnets, and is not accessible to the public network.
Your client needs to also be deployed in the same private subnets, or open the access restrictions of the private subnets security group according to your needs.
According to the solution design, NLB provides the HTTP protocol for port 8123. If you want to use Clickhouse-client, you need to use port 9000 to directly connect to each server in ClickHouse cluster.

did you find a solution?


IncludeAll missing important things when executing with jdbc

Hello , I'm using liquibase in a spring boot project , and trying to run scripts with the includeAll option works fine , but there are couple of things that i think it will make it much better :

When you want to check a status of a database before running some sctipr , you may want to run a select "first" and then after the script execution run another select "Before" for example in the same execution.   there is some possibility to perfrom a select statement and see it results on jdbc ?
Another thing to mention , is the usefull option "failOnError" that may be false in ChageSets , which is excelent in the cases you don't want liquibase to stop executing when error in sql appears , saddly it seems that is no possible to add this option in the tag  , is there any way to do this ?

Also , none of those are issues but i didn't find anything about them on the web , so please if this is inappropriate feel free to delete it.
Thank you.
┆Issue is synchronized with this Jira Bug by Unito

Hi @gonzalowtf There are attributes called preconditions that may meet your needs.
https://docs.liquibase.com/concepts/advanced/preconditions.html
For the second question, can you elaborate a little more?
If I understand correctly, you want to have an includeAll changeset that runs no matter what errors occur in the scripts?
This might have consequences on script ordering as well.


Outsideclick is not working

I have implemented popover on a modal that is created using react portals. The issue is i am not able to close popover when clicked outside. Below is the code.
<Popover
      isOpen={isPopoverOpen}
      onClickOutside={() => setIsPopoverOpen(false)}
      positions={['right', 'bottom', 'top']} // preferred positions by priority
      content={({ position, childRect, popoverRect }) => (
        <ArrowContainer // if you'd like an arrow, you can import the ArrowContainer!
        position={position}
        childRect={childRect}
        popoverRect={popoverRect}
        arrowColor={'white'}
        arrowSize={15}
        arrowStyle={{ opacity: 1 }}>some content</ArrowContainer>
      )}>
      <button
        aria-haspopup="true"
        style={{
          border: '1px solid #cccccc',
          width: '35px',
          borderRadius: '99px',
          height: '35px',
          textAlign: 'center',
          display: 'flex',
          justifyContent: 'center',
          alignItems: 'center',
          padding: '5px',
          backgroundColor: 'white'
        }}
        onClick={handleShareClick}>

      </button>
    </Popover>

Below is attched screenshot

Also sometimes i am not able to see the popover when i reopen the modal.

Having the same issue, solution so far has been to handle the click outside myself with the ref being a div surrounding the popover.
Also, you need to set the "outside click" event handler to the portal and not to the document, and do it post portal rendering.
Example:
// When creating portal:
 const div = document.createElement('div');
 div.classList.add('portal');
// ...

// useOuterClick hook

import { useEffect, useRef } from 'react';

export const useOuterClick = (callback: (e: CustomEvent) => void) => {
  const innerRef = useRef<HTMLDivElement | null>(null);
  const callbackRef = useRef<(e: CustomEvent) => void>();

  // set current callback in ref, before second useEffect uses it
  useEffect(() => {
    // useEffect wrapper to be safe for concurrent mode
    callbackRef.current = callback;
  });

  useEffect(() => {
    // Target closest portal if there is one, otherwise the event handler is ignored in portals
    const rootEl = innerRef.current?.closest('.portal') || document;

    rootEl.addEventListener('click', handleClick as EventListener);
    return () =>
      rootEl.removeEventListener('click', handleClick as EventListener);

    // read most recent callback and innerRef dom node from refs
    function handleClick(e: CustomEvent) {
      if (
        e?.target &&
        innerRef.current &&
        callbackRef.current &&
        !innerRef.current.contains(e.target as Node)
      ) {
        callbackRef.current(e);
      }
    }
  }, []); // no need for callback + innerRef dep

  return innerRef; // return ref; client can omit `useRef`
};

const innerRef = useOuterClick(() => console.log('it works'));

return (

    <Popover />

)

Thanks @gabriel-dehan, just saved me hours painful search.
Still would be nice to be able to handle it with the lib, but your solution did the trick.
You made my day 🍾


fix: active index shared value replaced with the state to fix card chunk rendering issue

This resolves problem when not all card being rendered due to the chunk size. However, there is still a problem with the programmatic swipes, causing each last card to miss "swipe like effect" animation in the data chunk

@NeroN7F Are you gonna put a new update in here or should I start reviewing?

@Skipperlla Sorry, was so busy with the project. Will try to finish on the weekends


M3 1542 Breadcrumb on StackScriptCreate and StackScriptUpdate

This PR adds the Breadcrumb component to the Create and Edit StackScript pages. These changes are purely presentational.
@alioso and @WilkinsKa1 I added 20px of bottom margin between the Breadcrumb and the rest of the component. I was just eyeballing it, so I'd appreciate your input.

Coverage decreased (-0.009%) to 30.505% when pulling b5a034276ad2917c96a27d74e7b99202f9643bf6 on johnwcallahan:M3-1542-breadcrumb-stackscripts into 38f2b3f23249a2dc70f03df3c049c8ce87bd6084 on linode:develop.

@alioso if you could take a look when you get the chance, that'd be great! There were some regressions with other breadcrumb variants from the MUI upgrade that I fixed here.

@alioso: As discussed with @WilkinsKa1, I'm going ahead and merging this. Feel free to jump in if you see any issues if/when you get to this.


Device DXKZ6W18 is working and not included in the supported models

Hi,
Device Climate Mitsubishi Heavy DXKZ6W18 is working and not included in the supported models using 1685 | SRK50ZS-S | Broadlink
Regards,
Nacho

Thanks!


Stop logging the appIds array

Expected Behavior
appIds are not logged
Current Behavior
appIds are logged - 428 open apps on node
Possible Solution
stop logging apps
Steps to Reproduce (for bugs)
view node logs
Context
Not a bug per se - just makes debugging more annoying
The node has 428 open apps, all of which are getting logged
Can someone point to the exact line @LayneHaber @rhlsthrm?

Closed by #285


Make TOC inclusion optional

Right now, a table of content is always included in the output HTML. Although it could possibly be hidden using CSS (?), I think a better strategy is to include it conditionally.
I got something working on my local copy of the module but I'm afraid it might be too simplistic:
sub pod2html(
    ...
    :$toc = False,
    ...
) { ... }

return $main-tm.render(
        ...
        :toc( $toc ?? do-toc($pod) !! Nil ),
        ...
) { ... }

Good idea! We'll see what can be done.

I wish I had realized this sooner but Pod::To::HTML supplying the Mustache renderer with the toc template variable is the most sane option; thus no need to make toc inclusion optional via a routine (e.g., render). It's only a matter of using another Mustache template that doesn't use the toc template variable.


Make NLOG as Public between some projects

Hi.
I have a solution that contains Some Projects Like Class Library , ASP.NET WEb API
now I want to set NLog's configuration as public in a project and in another Projects Just Call it to log .
is it possible ? Or I have to Install NLog in each project with Nlog.config .

There are two options:

Create the XML config in your starting project (MVC etc). Then it's also used in calls to your class library etc.
Or create the config in C#, then you can easily share it between projects.

I assume your question has been answered, if not, let us know!


Callback for Http Request Chaining in Server Task

Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Question
Enter Task Name: Custom task mimicking Azure Policy
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment

Server - Azure Pipelines or TFS on-premises?

If using TFS on-premises, provide the version:

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

This Q is related to a Server Task

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name:

If using private agent, provide the OS of the machine running the agent and the agent version:

Issue Description
[Include task name(s), screenshots and any other relevant details]
I am trying to accomplish a custom requirement using Http Request Chaining server task.

In the first call of the chain, I request for a bearer token for a service bus resource.
Parse the response of first call - and extract bearer token into an output variable.
In the second call, I use the bearer token to post a message to service bus.

Once the posted message is picked by another engine, then starts the long running operation. I want to callback to the ADO server once the long running operation is complete.
My questions are:

How can I hide the "bearer token" received as response to first call in the chain. It shows up in the logs.

How can I call back the server after my long running process has completed, to mark the task completed or failed ? The documentation is not clear about the call back or " wait for completion" operation for Http Request Chaining. I tried borrowing pieces from Invoke REST API task, where Wait for Completion works, but its not working in Http Request Chaining. The task simply completes as succeeded.

Here is a screenshot of my custom task execution:

Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]

Can someone please help me on this ?

Hi,
The 'waitForCompletion' option is currently not available for HttpChainRequest task by design.
You could raise it as a feature request, which we could look at in coming sprint.
For hiding the variable could you please try the following :
Add 'access_token' or the bearer token variable as an environment variable and set it as secret :
value as $()

Thanks

Hi @bhavanakonchada , was this issue resolved for you ?

Hi @Josh-01 ,
Please let me know of the process to raise a feature request for "waitForCompletion" in Http Chaining task. We are waiting for this feature.

Hi @bhavanakonchada ,
You can raise a new feature request on the Developer Community portal : https://developercommunity.visualstudio.com/spaces/21/index.html for this.
Thanks.

Hi @Josh-01,
I have created a new feature request: https://developercommunity.visualstudio.com/idea/1063478/waitforcompletion-in-httpchainrequest-server-task.html
Please keep me posted on this one.
Thanks a lot for your support!


Support Symfony 7.0

Description
Since Symfony 7.0 is released, it's time to support here as well.

@mcg-web could you trigger the GH action for this to see if all passes 🙇♂

@mcg-web Thank you for triggering the previous GH actions. Ready for review 🎉

@mcg-web could you fix the "workflow awaiting approval" rule? So that it just works all the time. This is super annoying.

@mcg-web do you already have ideas when a new release is planned, including this change? Thanks!


[feature request] Add an option to "yurtctl join" to enable "node autonomy" automatically.

What would you like to be added:
Currently, if the user wants to enable node autonomy for a new node joined by yurtctl join. The user had to call yurtctl markautonomous after yurtctl join, which is inconvenient.
I think the whole process can be simplified by adding an option to yurtctl join to enable ”node autonomy“ automatically.
Why is this needed:
others
/kind feature

@DrmagicE It's a good idea to add parameter for yurtctl join for marking autonomous. @zyjhtangtang Do you have any comments?

Thanks @DrmagicE , I agree. Can you submit a PR to  add this parameter.

@zyjhtangtang Hi, I would like to, but I am afraid I had to finish some jobs in hands (https://github.com/openyurtio/openyurt/issues/546 and https://github.com/openyurtio/openyurt/issues/527) before starting this one.
@rambohe-ch How about we label this issue as a good-first issue?

@zyjhtangtang Hi, I would like to, but I am afraid I had to finish some jobs in hands (#546 and #527) before starting this one. @rambohe-ch How about we label this issue as a good-first issue?

@DrmagicE done

I am working on https://github.com/openyurtio/openyurt/issues/545
I can pick up this by the way
/assign @adamzhoul


PropTypes added to all react components and changed some minor logic …

…on react, added logger config file on server

#31


feat: add warning when .native modifier is used on native HTML elements

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Currently if we have a .native modifier applied to event handler on native HTML element, it will break the handler (you can find the minimal reproduction here).
We had a discussion about it with @chrisvfritz and it was decided it would be a good solution to add a console warning for this case. This way we can warn people they are using .native incorrectly: it should be used only on components not on elements.
An ideal solution would be also making .native work on elements while throwing a warning but it might be a subject for another PR.

lgtm!

lgtm!

很棒


[ecs] add StorageType documentation

Objective

Add inline documentation for StorageType.
Currently the README in bevy_ecs provides docs for StorageType, however, adding addition inline docs makes it simpler for users who are actively reading the source code.

Solution

Add inline docs.

bors r+


Made Turn Undead accessible to python and added extra rage feat

Made turn unread accessible to python and added a message if a condition does not exist when using extend existing.  Also added the extend rage feat.

This introduces a small bug: when multiclassing a character by taking a Cleric level, it will initially lack Turn Undead. It will only manifest after a map transition.
(bug might affect Paladins and Blackguards too, haven't checked)

Thanks for the review.  I didn't test multi-class characters but I did test with paladins and blackguards without any issues.  I'll look into multi-class characters tomorrow night and fix any issues.

I looked into this a bit.  It seems to be due to obj_f_critter_alignment_choice returning 0 instead of the value it should return.  Any thoughts on why this is happening?

Yeah, because it changes the alignment_choice after applying the levelup (which, internally, calls the D20StatusRefresh).
I guess as a patch we can add another call to D20StatusRefresh inside uiCharEditor.FinishBtnMsg.

OK sounds good.  I'll let you know if that works.


updated preinstall to require node 9 and above.

builds are now using node 10. With the dependencies updated, tests pass with node 9 and 10.

I posted this PR because I tried node 8 (as specified in the dev wiki), and dependencies would not install when invoking Yarn.

I have a sister PR for the wiki here: https://github.com/Microsoft/vscode-wiki/pull/106

@toumorokoshi Everybody from our team was using node 8 up until last week ~ Thursday. I don't think we no longer work with node 8. What was the exact error you got?

Nevermind, this looks to be my node minor version (8.9) conflicting with eslint. Eslint 5.2 requires node 8.10 and above.
still might be worth checking, but the build does pass if I upgrade node. Sorry about the false alarm!


No Entity Created

I followed the directions, installed the repository, made the entry in configuration.yaml and no entity is being created. I have a Lennoc icomfort M30 thermostat. I can control it from the Lennox mobile app or the Lennox web page.
Help?

Hi @markqcheese, this integration only supports the Lennox WiFi thermostat that link to myicomfort.com.  It doesn't support the x30 series that use lennoxicomfort.com site.  PeteRanger is developing an integration for the S30  which should work with the M30 since they talk to the same cloud service.

That makes more Sense. Thanks!!!
On Sun, Oct 31, 2021, 16:19 Jacob Southard @.***> wrote:

Hi @markqcheese https://github.com/markqcheese, this integration only
supports the Lennox WiFi thermostat that link to myicomfort.com. It
doesn't support the x30 series that use lennoxicomfort.com site.
PeteRanger is developing an integration for the S30
https://github.com/PeteRager/lennoxs30 which should work with the M30
since they talk to the same cloud service.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thevoltagesource/LennoxiComfort/issues/33#issuecomment-955793384,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWGG7C7KWDNLB5PZGOSGY6TUJWXFVANCNFSM5HBRL26A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Problems about the evaluation script

Hello,
Thank you for the great efforts.
I was able to successfully finetune the Turna model with a custom dataset. But I had some problems running the evaluation script. I had to change the test params with the following in the evaluation script(otherwise it was giving errors):
test_params = {
    'per_device_eval_batch_size': 4,
    'output_dir': './',
    'predict_with_generate': True
}

I don't know if that is necessary for every case but I just want to let you know.

Can you give a listing of the errors?
Was it completely failing?

Hi @erkamkavak , can you elaborate?

Sorry for the late reply. When I comment out output_dir from test_params, I get the following error:
  File "inference.py", line 36, in <module>
    results = evaluator.evaluate_model(test_dataset)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "evaluator.py", line 51, in evaluate_model
    trainer = self.initialize_trainer(model)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "evaluator.py", line 139, in initialize_trainer
    test_args = Seq2SeqTrainingArguments(
                ^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Seq2SeqTrainingArguments.__init__() missing 1 required positional argument: 'output_dir'

When I comment out predict_with_generate from test_params, I get the following error:
    text = self._tokenizer.decode(token_ids, skip_special_tokens=skip_special_tokens)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument 'ids': 'list' object cannot be interpreted as an integer

Hi @erkamkavak, thank you for bringing this error to attention. We fixed the evaluation script in PR #74 .


[copyright] update to 2018

Update the year to 2018

@ljharb - curious if the issue has been fixed in master ? Any tracking pr / issue regarding the same ?


Code quality: please add English comments

Great work! This widget looks very neat!  :+1:
I started looking at the code but working with it is very hard as the comments are all in Chinese. To a person who does not know Chinese (as myself) the code is basically not documented  :confused:

I will do it.

Done. I've tried my best.


[BUG] ScanJson and JsonToStructs don't process escapes in key names

Describe the bug
It looks like escape processing is not being done on key names, which results in us potentially missing data. This is a little hard to reproduce because of how scala does escape processing, but...
Seq("{\"\\u0064\\u0061t\\u0061\": \"TEST\"}").toDF("value").repartition(1).selectExpr("*", "from_json(value, 'data string').data").show(false)

produces the result 'TEST', on the CPU, but null on the GPU.

I am not sure what is happening, it works for me some of the time, but not all of the time, and I don't know why. I will keep digging.


add operator controller that can eliminate co-scheduled pods that should be separate

This will mitigate the platform impact of the scheduler problems.

/hold
for proof

/hold cancel

/retest


[10.x] Introduce methods for handling nil and max UUIDs

This pull request introduces isNilUuid and isMaxUuid methods to enhance Laravel's UUID handling capabilities. These methods offer a clear and expressive API for working with UUIDs in various scenarios. isNilUuid facilitates error handling and represents uninitialized states, while isMaxUuid is useful for range checks and scenarios where UUIDs need to be within specific bounds.
These additions align with Laravel's commitment to clean, readable code and provide developers with valuable tools for UUID manipulation. The methods are implemented with simplicity and efficiency in mind, contributing to a more robust and expressive UUID handling framework within Laravel.
I believe that these methods will bring tangible benefits to developers working with UUIDs in Laravel applications, promoting code clarity and aligning with best practices in UUID handling. I look forward to your feedback and collaboration on this enhancement.

Although the features seem reasonable, I do feel the Str class is getting a little polluted here with all of the UUID stuff. Might be good to, in due time, create a separate class for all the UUID handling. Not saying that has to be in this PR.

@driesvints i'm agree with you. I was also thinking about a wrapper for Uuid::Nil and Uuid::Max into our laravel side but i didn't add those cause the same reason. :)

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Only process gif files

https://github.com/cbillowes/gatsby-remark-interactive-gifs/issues/7

Codecov Report

Merging #8 into master will decrease coverage by 0.76%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   39.00%   38.23%   -0.77%
==========================================
  Files           2        2
  Lines         100      102       +2
  Branches        7        7
==========================================
  Hits           39       39
- Misses         57       59       +2
  Partials        4        4

Impacted Files
Coverage Δ

src/gatsby-node.js
0.00% <0.00%> (ø)

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 9e394f4...f9036f9. Read the comment docs.


fix InvalidStateError when focusing an HTML5 input element

Fixed error Uncaught InvalidStateError: Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('email') does not support selection. when focusing an HTML5 input element.
(Solution from https://github.com/vitalets/x-editable/pull/592)

:+1:

This has been around forever, what's the ETA on merging this work? Fastclick is completely broken without it.

Per the HTML5 spec, only inputs of type ['text', 'search', 'url', 'telephone', 'password'] support setSelectionRange.
This PR currently includes 'number', 'range', 'time', 'month', which is wrong.

@cvrebert the code is correct, though the variable names could use some work. The list including 'number', 'range', 'time', 'month' is called 'html5types' - which are the types that are avoided in this PR. Maybe an update to the variable name to something like typesToAvoid would be clearer.

@davidgoli Ah. Then it still has password and url under the wrong category then.


mvn mockserver:run failed because cannot import the external library

Dear developer,
I was trying to build a mock server for UI to do the testing. I used the mockserver-maven-plugin:5.6.1, and added mockserver-netty 5.6.1 and mockserver-client-java 5.6.1 as dependency. I usually run the mockserver using mvn mockserver:run so I can have a standalone server where my UI can connect to.
Before I use opencsv as dependency, the mockserver can run just fine from maven and return the responses that match the expectation. We have a big amount of the data to create so I use csv to generate different data and read csv from Java to convert them into a list of objects.
After adding the 'opencsv' as dependency in my mockserver project, I noticed that mockserver can run together with the unit tests, but if I want to run it as standalone using 'mvn mockserver:run', the opencsv dependency cannot be downloaded so the mockserver failed to run. Here is the error traces I got:
[ERROR] Failed to execute goal org.mock-server:mockserver-maven-plugin:5.6.1:run (default-cli) on project ad2api-test-framework: Execution default-cli of goal org.mock-server:mockserver-maven-plugin:5.6.1:run failed: A required class was missing while executing org.mock-server:mockserver-maven-plugin:5.6.1:run: com/opencsv/ICSVParser
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.mock-server:mockserver-maven-plugin:5.6.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/rebechu/.m2/repository/org/mock-server/mockserver-maven-plugin/5.6.1/mockserver-maven-plugin-5.6.1.jar
[ERROR] urls[1] = file:/Users/rebechu/.m2/repository/org/mock-server/mockserver-netty/5.6.1/mockserver-netty-5.6.1-jar-with-dependencies.jar
..........(deleted because the list was too long)
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : com.opencsv.ICSVParser
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

I tried to find the answers from internet but had no clue. Can we help me with that?
Thank you very much in advance for the reply.

Found the answer from StackOverflow...Had to put the dependency inside the Plugin. It was actually an issue related to Maven and not the MockServer...sorry for creating this issue.


fix(ci): Prevent junit upload as no more tests ran during MQ

What does this PR do?

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Broken on IE11

Tested to use the prebuilt dist version of plotly.js and it worked well.
Seems as it is https://github.com/a-vis/regl-scatter2d that have problem with IE11 not sure how they manage to build plotly.js without that issue.
Works with: Plotly.js 1.38.3 import Plotly from 'plotly.js/dist/plotly'

regl-scatter2d has been fixed. https://github.com/gl-vis/regl-scatter2d/commit/734e37241092ca4a61aa966c4a1649c13a1367fd


Please support Redis Cluster.

@thinker0 This looks fairly easy to do, the go-redis package we are already using for Redis supports Redis Cluster as well. I will take a look and try to have Redis Cluster support ready for the 1.0 Beta Release that is coming in a few days.

Thanks ^________^;
2019년 3월 28일 (목) 오후 12:42, James Ranson<EMAIL_ADDRESS>작성:

@thinker0 https://github.com/thinker0 This looks fairly easy to do, the
go-redis package we are already using for Redis supports Redis Cluster as
well. I will take a look and try to have Redis Cluster support ready for
the 1.0 Beta Release that is coming in a few days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Comcast/trickster/issues/157#issuecomment-477435699,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAV1mbbq78m79fk2x1x2_tBlXuBP3c7bks5vbDo2gaJpZM4b3mrE
.


Add history hinting

Reedline has some support for history hinting, but it doesn't look like e-q is currently using it.
In theory, it should just take a few more lines in the reedline setup.

This seems to have been resolved with #534 , Is that right?

Yup, should be fixed now