Should mafia be building the tests for dependent packages?

Just noticed that mafia builds the tests for dependent packages, or at least tries to.
With cabal 2.0 and ghc 8.4.3 I can do this:
> cabal unpack criterion-<IP_ADDRESS>
> cd criterion-<IP_ADDRESS>/
> touch examples/LICENSE   # Fix missing file
> mafia build

and I get this:
Installing dependencies...
Creating sandbox for uuid-types-1.0.3-33caa758f7d96b8e874e771b77fa7269d708a013
Building uuid-types-1.0.3-33caa758f7d96b8e874e771b77fa7269d708a013
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: hashable-<IP_ADDRESS>/installed-3hr... (user goal)
next goal: tasty (dependency of uuid-types-1.0.3:*test)
rejecting: tasty-<IP_ADDRESS>, tasty-1.1, tasty-<IP_ADDRESS>, tasty-1.0.1,
tasty-<IP_ADDRESS>, tasty-1.0, tasty-<IP_ADDRESS>, tasty-0.12 (conflict:
uuid-types-1.0.3:test => tasty>=0.10 && <0.12)
rejecting: tasty-0.11.3, tasty-<IP_ADDRESS> (conflict: hashable =>
base==<IP_ADDRESS>/installed-4.1..., tasty => base>=4.5 && <4.11)
rejecting: tasty-<IP_ADDRESS> (conflict: hashable =>
base==<IP_ADDRESS>/installed-4.1..., tasty => base>=4.6 && <4.11)

The problem is actually the test dependencies of uuid-types. The tests specify a stupidly old version of tasty which then requires an old version of hashable which conflicts with the base supplied with this version of GHC.
Obviously uuid-types should be fixed, but I'm wondering if broken tests should prevent a dependency being built.

Turns out this was due to tweaking my ~/.cabal/config file  (on a single machine I had not used in a white) to override the default and set tests: True. Reseting it returned mafia's behavior to normal.
Found the problem using cabal user-config diff which prints the difference between the user's config and the default one for that version of cabal.
Closing this.


Work Item Linking - UI for link type tabs

Reference Story - https://github.com/almighty/almighty-core/issues/306
We need four tabs - Total links, Related Items, Blockers, and Dependencies
UX - https://redhat.invisionapp.com/share/J38SPOKNA#/screens/193221472

@harrybabu should this be assigned to your or is someone else doing this?

Done. Closing this as the code got pushed to master.


bye bye Drone

What does this PR do?
replacing Drone with Azure pipes, followup of #5882
@williamFalcon action needed:

drop required test for DroneCI/pr
add required test for Azure pipelines

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified
[x] Check that target branch and milestone match!

Did you have fun?
Make sure you had fun coding 🙃

.drone.jsonnet can also be deleted.

.drone.jsonnet can also be deleted.

that was already dropped in #5882

btw, the conda 1.8 fail is unrelated...


Adding config parameter 8 to Inovelli Red On_Off switch

Adding config parameter 8 will allow sending notifications to the switch with one publish.

Config parameter #8 is split into multiple partial parameters, each of which targets a specific function. In general we want to avoid duplication here.
Is there a reason you need to update them all in one go?

Config parameter #8 is split into multiple partial parameters, each of which targets a specific function. In general we want to avoid duplication here.
Is there a reason you need to update them all in one go?

Coming from ozw all my current automations are setup to use a single conf parm for notifications. I'm lazy and not having make changes to split what has been single call into 4 would be great. Having a way to bulk-set params could be useful.
Currently the Inovelli Red Dimmer is setup to accept a single value for notification which works with my current setup out of the box. https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/devices/0x031e/lzw31-sn.json

Coming from ozw all my current automations are setup to use a single conf parm for notifications. I'm lazy and not having make changes to split what has been single call into 4 would be great. Having a way to bulk-set params could be useful.
Currently the Inovelli Red Dimmer is setup to accept a single value for notification which works with my current setup out of the box. https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/devices/0x031e/lzw31-sn.json

That config param is something we're likely also going to change.
I'll take your use case into account when designing the bulk set API.

That config param is something we're likely also going to change.
I'll take your use case into account when designing the bulk set API.

I'm using MQTT to send the values, and I just noticed that sending all 4 config values at the same will not work. All 4 values are needed to in-order to display the correct LED notification on the switch, and zwavejs2mqtt is only writing the last config value sent to the switch.
2021-01-17 23:55:04.535 INFO MQTT: Message received on zwave/nodeID_11/configuration/endpoint_0/LED_Strip_Effect_Color/255/set, '25'
2021-01-17 23:55:04.536 INFO ZWAVE: Writing 25 to 112-0-8-255
2021-01-17 23:55:04.551 INFO MQTT: Message received on zwave/nodeID_11/configuration/endpoint_0/LED_Strip_Effect_Duration/16711680/set, '255'
2021-01-17 23:55:04.552 INFO ZWAVE: Writing 255 to 112-0-8-16711680
2021-01-17 23:55:04.670 INFO ZWAVE: Node 11: value updated: 112-0-8-255 0 => 0
2021-01-17 23:55:04.672 INFO ZWAVE: Node 11: value updated: 112-0-8-65280 10 => 10
2021-01-17 23:55:04.674 INFO ZWAVE: Node 11: value updated: 112-0-8-16711680 10 => 255
2021-01-17 23:55:04.675 INFO ZWAVE: Node 11: value updated: 112-0-8-2130706432 2 => 2
2021-01-17 23:55:04.737 INFO ZWAVE: Node 11: value updated: 112-0-8-255 0 => 0
2021-01-17 23:55:04.740 INFO ZWAVE: Node 11: value updated: 112-0-8-65280 10 => 10
2021-01-17 23:55:04.742 INFO ZWAVE: Node 11: value updated: 112-0-8-16711680 255 => 255
2021-01-17 23:55:04.745 INFO ZWAVE: Node 11: value updated: 112-0-8-2130706432 2 => 2

I'm using MQTT to send the values, and I just noticed that sending all 4 config values at the same will not work. All 4 values are needed to in-order to display the correct LED notification on the switch, and zwavejs2mqtt is only writing the last config value sent to the switch.
2021-01-17 23:55:04.535 INFO MQTT: Message received on zwave/nodeID_11/configuration/endpoint_0/LED_Strip_Effect_Color/255/set, '25'
2021-01-17 23:55:04.536 INFO ZWAVE: Writing 25 to 112-0-8-255
2021-01-17 23:55:04.551 INFO MQTT: Message received on zwave/nodeID_11/configuration/endpoint_0/LED_Strip_Effect_Duration/16711680/set, '255'
2021-01-17 23:55:04.552 INFO ZWAVE: Writing 255 to 112-0-8-16711680
2021-01-17 23:55:04.670 INFO ZWAVE: Node 11: value updated: 112-0-8-255 0 => 0
2021-01-17 23:55:04.672 INFO ZWAVE: Node 11: value updated: 112-0-8-65280 10 => 10
2021-01-17 23:55:04.674 INFO ZWAVE: Node 11: value updated: 112-0-8-16711680 10 => 255
2021-01-17 23:55:04.675 INFO ZWAVE: Node 11: value updated: 112-0-8-2130706432 2 => 2
2021-01-17 23:55:04.737 INFO ZWAVE: Node 11: value updated: 112-0-8-255 0 => 0
2021-01-17 23:55:04.740 INFO ZWAVE: Node 11: value updated: 112-0-8-65280 10 => 10
2021-01-17 23:55:04.742 INFO ZWAVE: Node 11: value updated: 112-0-8-16711680 255 => 255
2021-01-17 23:55:04.745 INFO ZWAVE: Node 11: value updated: 112-0-8-2130706432 2 => 2

You'd probably have to wait until the previous value is confirmed, as zwave-js merges the new value with the known current value behind the scenes.

You'd probably have to wait until the previous value is confirmed, as zwave-js merges the new value with the known current value behind the scenes.

@StarFleetCPTN I'm not sure if there's a way to set 112-0-8 (without the bitmask suffix) through MQTT. If it does, it should work if you just specify the compound value there.
If not, I'll have to ask for a bit of patience. I'll get this sorted out together with #1436

@StarFleetCPTN I'm not sure if there's a way to set 112-0-8 (without the bitmask suffix) through MQTT. If it does, it should work if you just specify the compound value there.
If not, I'll have to ask for a bit of patience. I'll get this sorted out together with #1436

Just to add my voice to this, I was also angling to submit a PR to add the parameter after the recent release of Home Assistant 2021.3.0 introduced the zwave_js.set_config_parameter service.
My typical invocation is via said Home Assistant service, from various flows in the Node Red add-on.

@crkochan HA should be able to set the compound value AFAIK, even if there's no value shown for it.

It's early enough in the game that I'm not sure what that looks like.
Under OZW, my flows would compose the payload to the service call with a static value for the parameter based on what I wanted the dimmer/switch to do for the given notification (flash red for two minutes at 100% brightness = 71174657). Yes, I'd have have to use an external tool to figure out what the notification value should be, but it would typically never change, so it didn't feel like a burden.
With the current zwave_js service, even while providing a bitmask, it doesn't seem as though it's possible to set four different values (color, duration, effect, brightness) in a single invocation of set_config_parameter.
Like OP, the switch from a single service call to up to four seems like a regression in terms of DRY-ness, but I do concede that the approach of breaking out partial parameters is a lot more user friendly to new users. It's just a shame that we can't have both options available by allowing both partial params as well as the "some assembly required" old school param.

You can set the old school compound parameter. I'm not sure what's the correct way to do this in HomeAssistant, but if you have an API to set arbitrary values, you just need to use the value ID without propertyKey/bitmask to set the compound param.
@marcelveldt @kpine any hints?

Some operations details first.

Home Assistant version: 2021.3.0 (on Home Assistant OS)
Controller interface: zwavejs2mqtt on remote host (using websocket server, mqtt gateway disabled)
Zwavejs-server Version: 1.1.0
Zwavejs Version: 6.6.0

Now with that out of the way, I have a Inovelli LZ30-SN Red Series On/Off switch I want to have perform a notification.
Per Inovelli, the correct parameter for this is param 8. BTW, the f
So I flip over to the services tab of the developer tools in HA, and I compose a service call.
service: zwave_js.set_config_parameter
data:
  parameter: '8'
  value: 37554733
target:
  entity_id: switch.living_room_plug

The response I get back in the UI and logs is Configuration parameter with value ID 69-112-0-8-00-00 could not be found. And indeed, there is no such parameter shown in the zwavejs2mqtt control panel for the device.

Yes, it is true that zwave-js does not expose the full param currently. That requires some rework.

Configuration parameter with value ID 69-112-0-8-00-00 could not be found

I don't know which additional values HA adds to the value ID, but it looks like it shouldn't add propertyKey 0 by default after the 8.

Ya, I traced it back to their zwavejs-js-server-python lib.
Their async_set_config_parameter function makes a call to get_value_id when setting a parameter by id number.
The get_value_id function sets property_key and property_key_name to 00 if they are undef or None, and spits back an f-string.

It's also entirely possible that it's rather later, and I'm chasing the wrong whale.

Looks like the wrong 🐳 to me :)

The value_id in the python lib is just internal how we store and look it up.
We do not yet support setting a config param's raw value. Only the partials (so for each propertyKey)

Is there any workaround? Like setting the value for a given value ID without internal checks?

I think, for the time being, my approach will be to adapt existing examples of HA scripting yaml with additional functionality for setting four parameters instead of one.
Hopefully the "yet" in that sentence means setting raw config values may someday be possible, and I'll be able to re-simplify my automations.
Not that that resolves OP's issue. Hopefully I didn't take the PR convo off on too far of a tangent.

Is there any workaround? Like setting the value for a given value ID without internal checks?

Not yet, we'll work on this later. @raman325 has this on his TODO list.
So, yes, this will be added later. For now just use the partials when setting config values.
You can even set them by name, which is way more easier then calculating values yourself.
You can set multiple values at once by providing an object of key:value in the value parameter of the service call

Is there any workaround? Like setting the value for a given value ID without internal checks?

Not yet, we'll work on this later. @raman325 has this on his TODO list.
So, yes, this will be added later. For now just use the partials when setting config values.
You can even set them by name, which is way more easier then calculating values yourself.
You can set multiple values at once by providing an object of key:value in the value parameter of the service call

You can’t use the key value object yet. We need a way to bulk set parameters in node-zwave-ja which isn’t available yet


Doesn't work during debugging.

I have a python project where the context directory is set to the symlinked version.
During normal development this works excellent, only downside is that when it changes the path to the physical path instead of the symlinked one, I get the "not part of your project"-popup, but that is my choice.
Unfortunately during debugging things go haywire. The IDE wants to open the symlinked version to debug, your plugin closes it and opens the physical one. The IDE then sees that the requested file is not open (i presume) and tries to open it again, plugin closes it again etc.
This is just an eternal fight (even without touching anything) that makes it unusable for me (unfortunately, because its exactly what I'm looking for).

Yep. I stumbled upon this problem as well recently. I didn't had time yet to look into it.
But also, I currently don't have a good idea how to tackle this problem. Any suggestions or contributions are more than welcome.
I also don't really have experience in IDEA plugins at all, so I don't have a good understanding of what is possible. I assume if you could hook into the debugging part which opens the file, and change that somehow, this could be a way to solve this. Not sure if this is possible.

As a workaround, to at least make it usable for debugging, is to ignore any open request when the user is debugging. I assume this would be possible. I don't know how to check the current state, if we are debugging, or the file was requested to be opened by the debugger, but this is probably possible somehow.

Btw, w.r.t. the message of the "not part of your project" popup, I just found Non Project Files Unlocker
 (GitHub).

Maybe I have to use source.updateFilePresentation() instead or so?

Maybe I have to use source.updateFilePresentation() instead or so?

Sorry I have no idea, no experience with intellij plugins whatsoever.
Perhaps you could ask jetbrains themselves?
As for the "ignoring the open dialog", that's not really possible in my case. When I start a debug session for that specific project the entry file itself is symlinked, so it will be opened right away.  The dialog does not appear because it's a local file.

I implemented some hacky workaround for this issue. Not sure if this is a good solution. But it works for me at least...
I made a new release v1.2 for this.

I still see that some people seem to have problems with this.


add documents for test data generation with authentication

What type of PR is this?

What does this PR do / why is it needed ?

add documents for test data generation with authentication
Which issue(s) this PR fixes:

Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?

This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.


better hyperparameter optimization using evolutionary algorithms through sklearn-deap

one optimization we can make is to run grid search when the search space is small (such as when we're comparing model types), and run evolutionary algorithm search (EAsearch) when the search space is large (deep learning architecture!)

i think this is largely implemented.
now we need to figure out a few things:

if we want to report more analytics on the results of GS/EASCV
creating more in-depth param distributions to search over for some of the popular algorithms
uhhh, i think that's it? maybe figure out if we want to adjust verbosity?
definitely a larger search space for deep learning (lots more params)
there was at least one more thing

we'll probably want to tweak our search settings. i think we might search too small of a space initially.


Fixing npm issues

This fixes #18 as well as allowing people to use this with browserify.
It does not break compatibility with non-browserify projects.

looks nice. Thanks for hooking this up!

Cool, looking forward and thx for the quick merge!


style: :wrench: default to save a final newline, since Git likes that better

Description

This PR makes the default saving so a file ends with a newline. Git tends to like that better and won't show a warning symbol in PRs.

Reviewer Focus

This PR only needs a quick review.

Merging in because it is very small change.


[Feature] Update metrics when columns are updated

When initially loading a datasource, metrics are created automatically based on the data type.
When user goes in the edit metadata for the tables/columns, default metrics should be updated accordingly.
(i.e. when metadata is changed from 'Sum' to 'Count Distinct', sum metric should be removed)
Currently there's no option to change this when connecting a new table, the user has to go back and revise the table meta-data

Notice: this issue has been closed because it has been inactive for 549 days. Feel free to comment and request for this issue to be reopened.


Created of new export function named prepareCreateExtrinsic()

The changes resolve #209  by adding new export function named prepareCreateExtrinsic()

Greetings @vatsa287
I have raised this PR and I tried to implement what was asked kindly review it and guide me to improve.


Cannot read property 'createElement' of undefined

I was trying to spin up a demo based on the docs and I ran into the following error:
[Nest] 840  - 01/28/2022, 7:53:31 AM   ERROR [ExceptionsHandler] Cannot read property 'createElement' of undefined
TypeError: Cannot read property 'createElement' of undefined
    at MyView (/home/ritte/workspaces/liftoffjs2/src/views/index.tsx:9:3)

Here is the code I was using:
// views/index.tsx

import React, { ReactElement } from "react";

export interface MyViewProps {
  name: string;
  title: string;
}

const MyView = ({ name, ...props }: MyViewProps): ReactElement => (

Hello {name}

);

export default MyView;

I converted to this code, and it resolved the error. Note the import.
// views/index.tsx

import * as React from "react";

export interface MyViewProps {
  name: string;
  title: string;
}

const MyView = ({ name, ...props }: MyViewProps): React.ReactElement => (

Hello {name}

);

export default MyView;

Not sure if there's a change in the React version, or if this is a documentation bug.

This seems to be an issue with your typescript setup


Make useconds_t a concrete, unsigned type. Add suseconds_t.

I'm not sure why useconds_t was originally marked as abstract and not exported with concrete type. The posix specification is clear about it:

The type useconds_t shall be an unsigned integer type capable of storing values at least in the range [0, 1000000].

I'm also adding suseconds_t while at it. Its specification is also clear:

The type suseconds_t shall be a signed integer type capable of storing values at least in the range [-1, 1000000].

Source: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html
I'm planning on using these for https://github.com/toots/ocaml-posix-time

@yallop Any feedback on this? We would need it merged to add this functionality to liquidsoap: https://github.com/savonet/liquidsoap/pull/1050. We can expose these data types in https://github.com/toots/ocaml-posix-time if needed otherwise.

Another, perhaps better approach, would be to take the whole PosixTypes out of this module so as to untie its releases from the main module's. Happy to work on this if y'all think it's a good idea.

The Appveyor build is failing because suseconds_t is not available on Windows (which is why it was removed in #190 / 92894a59).
Do you definitely need suseconds_t, or would it be possible to focus on improving the interface to useconds_t?

Ha, I see, thanks for the explanation @yallop. Yeah, it's the data type used in https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html to bind some common functions that I would like to export such as gettimeofday.
In this case, what do you think of taking PosixTypes out of ctypes entirely? That would make ctypes more flexible to build on both windows and unix systems and, on the other hand, we could build a consolidated repository for all posix-related bindings using ctypes, with windows APIs whenever appropriate like I've done here:https://github.com/toots/ocaml-sys-socket

In this case, what do you think of taking PosixTypes out of ctypes entirely?

I think it's a good idea (although I think it's best to deprecate it first, rather than take it out straightaway).  Actually, the posix-types package is already a start in that direction; I'm not sure offhand how it compares to the PosixTypes module here, though.

we could build a consolidated repository for all posix-related bindings using ctypes

That sounds very useful.  As I think you know, @dsheets has quite a few of these: unix-errno, unix-fcntl, unix-sys-resource, unix-sys-stat, unix-time, and several osx-specific libraries, too.  (You might also find it interesting to look at how those libraries use Lwt to build non-blocking bindings, e.g. for Fcntl.open.)

Awesome! Yes, of course deprecating first is good although with opam these days it's easier to version dependencies and break things.
I didn't know about posix-types module, great starting point and, yes, I use already use @dsheets's modules in my own, which is also what gave me the idea to consolidate all these projects.
Lastly, when working on sys-socket, I came up with a scaffolding structure using dune and ctypes (described here) that I believe allows for very elegant and reusable patterns to quickly bind types and structures and I'd like to also explore having all the projects using a common, lean framework.
I'll work on a proposal then and will come back to y'all soon. Thanks!

Ok, here's a proposal: https://github.com/savonet/ocaml-posix
The repositry has:

The existing PosixTypes with some minor changes (add Arithmetic API for arithmetic types, unified some integer types with no sign specified to be unsigned. It's still missing some of the opaque types.
posix-socket and posix-time adapted to use types from the new posix_type.
A unified, single repository for all module so they can:

Depend on each other at build
Be released separately if needed
I think it looks pretty exciting. What do y'all think of it @yallop and @dsheets ? Ultimately, I'd like to bring all the various posix-related modules under that umbrella.

Actually, sigset_t isn't part of <sys/types.h>, contrary to the doc. Any reason it was added to PosixTypes?


Add templates for network and disk

Nice!
As simple, yet very useful update
Please add the selected disk, interface to the chart title.
For example:
eth0 Interface Rx Packets

current_disk, current_if terms are not ver clear.
How about monitor_disk and monitor_network_interface?
(what is "if"?)

Thank Amnon looks good.


Support  FontAwesome5 icons

Issue Description

The set FontAwesome5 from react-native-vector-icons is not available in NativeBase
native-base version

native-base : v2.8.1

Expected behaviour
Renders the pen-fancy icon from FontAwesome5
Actual behaviour
FontAwesome5 is not recognized :
Warning: Failed prop type: Invalid prop `type` of value `FontAwesome5` supplied to `IconNB`, expected one of ["Entypo","EvilIcons","Feather","FontAwesome","Foundation","Ionicons","MaterialCommunityIcons","MaterialIcons","Octicons","SimpleLineIcons","Zocial"]

Steps to reproduce
        <Button>
            <Icon  name='pen-fancy' type="FontAwesome5" />
        </Button>

Added FontAwesome 5 icons
Available on master, commit https://github.com/GeekyAnts/NativeBase/commit/34a99bd2268d737060bd3167460f6dd9039be436

@SupriyaKalghatgi this breaks work with CRNA since @expo/vector-icons does not contain FontAwesome5.
Here is what I have now:
 Unable to resolve "@expo/vector-icons/FontAwesome5" from "node_modules\native-base\dist\src\basic\IconNB.js"

@Veikedo Yes I am aware of it
You can report this to the expo team, not NativeBase issue

Till expo releases this fix, you can continue with previous versions

@SupriyaKalghatgi seems like they are not going to fix this.
https://github.com/expo/vector-icons/issues/58

@farisT use prev version of native-base (2.8.2 afair)

Why do you guys release a version to public that does not work at all? Its crazy...

Anyone still facing this issue can

Either downgrade to NativeBase 2.8.2
To use the new version by editing the IconNB.js and IconNB.js.map in theNativeBase directory present in the node_modules folder. Remove the new commit and replace it with the old one. It removes the FontAwesome5 dependency which was the purpose of commit 34a99bd. This will help you work with Expo or CRNA projects.

By doing the second step, I haven't faced any failures. Will update if I stumble upon one.


Adding support for Rails 5 (still supporting Rails 4)

skip_before_action -> skip_before_filter
alias_method_chain now deprecated, using alias and Module#prepend
using ActionDispatch::Http::Parameters::DEFAULT_PARSERS if Rails 5,  ActionDispatch::ParamsParser::DEFAULT_PARSERS if Rails >5

Looks really good :shipit:!
Merging!

btw with rails 5.1 i'm noticing:
/Users/seb/.rvm/gems/ruby-2.3.1/bundler/gems/contentful_rails-069867770c0b/lib/contentful_rails/preview.rb:8:in `block in <module:Preview>': undefined method `helper_method' for ActionController::API:Class (NoMethodError) 	from /Users/seb/.rvm/gems/ruby-2.3.1/gems/activesupport-5.1.0.beta1/lib/active_support/concern.rb:120:in `class_eval' 	from /Users/seb/.rvm/gems/ruby-2.3.1/gems/activesupport-5.1.0.beta1/lib/active_support/concern.rb:120:in `append_features' 	from /Users/seb/.rvm/gems/ruby-2.3.1/bundler/gems/contentful_rails-069867770c0b/lib/contentful_rails/engine.rb:70:in `include' 	from /Users/seb/.rvm/gems/ruby-2.3.1/bundler/gems/contentful_rails-069867770c0b/lib/contentful_rails/engine.rb:70:in `block (2 levels) in <class:Engine>

@sebbean It's solved in the version in the repo.


rcr-train issue: No such file or directory

Hi Patrik,
I've tried to run rcr-train to prepare a model for tests.
Unfortunately, it's not working. Prints the residual but also got this msg:
boost::filesystem::directory_iterator::construct: No such file or directory: "home/user/superviseddescent/examples/data/ibug_lfpw_trainset/"

Given arguments are below:
--data "/home/user/superviseddescent/examples/data/ibug_lfpw_trainset/"
--mean "/home/user/superviseddescent/examples/data/mean_ibug_lfpw_68.txt"
--facedetector "/home/user/opencv_files/haarcascade_frontalface_alt.xml"
--config "/home/user/superviseddescent/apps/rcr/data/rcr_training_22.cfg"
--evaluation "/home/user/superviseddescent/apps/rcr/data/rcr_eval.cfg"
--output "/home/user/superviseddescent/apps/rcr/trained_output_model.bin"
--test-data "home/user/superviseddescent/examples/data/ibug_lfpw_trainset/"

if I choose one pic (as below), the result is the same
--test-data "home/user/superviseddescent/examples/data/ibug_lfpw_trainset/image_0002.png"

Do you know where I can find the source of this issue?
Thanks in advance for your time!

Hi,
You'll have to debug this one, I haven't used rcr-train in a while. Just step through it in the debugger, and you'll see what's wrong, should be easy enough. Probably the path needs to be given in a different way or something like that. Maybe without the final /?

I'm going to assume this was a user mistake and you resolved it?

Yes, you're right, sorry for no update from my side.


Update pac4j-core dependency to 1.9.9 in jax-rs-pac4j 1.2.1

The version jax-rs-pac4j 1.2.1 point to pac4j core 1.9.6 instead of the last version 1.9.9

This is normal, it is because it was released just after pac4j 1.9.6.
Nothing prevent you from using another 1.9.x version of pac4j by using maven's dependency management in your own project.


Bluetooth: Mesh: Fixes dumplicated close callback

When PB-GATT Procedure timeout, func bt_mesh_pb_gatt_close
will also dumplicated with link_closes()
Signed-off-by: Lingao Meng<EMAIL_ADDRESS>

CC @trond-snekvik @jhedberg
I'm think to move provision timer move to prov.c in another pr.  This make sense?

Could you fix the obvious typo in the subject and commit message: dumplicate -> duplicate? Thanks :)


Fix Here-String Indentation

With a Here-String, one must align the content and the close to the left without whitespace for it to work properly. It would be great if the close didn't require no indentation (but could be required to be on its own line, minus the whitespace). Then, however far it is indented, remove that leading whitespace from the content.
As an example, the dashes would be whitespace:
Function Name {
  Param()
  $Message = @"
  String value
  Other value
    More indentation
  "@
}

It would be awesome if the value of $Message would be:
String value
Other value
  More indentation

For a more lengthy difference sample, I submit my Write-MeditationPrompt function from PSKoans.
Without this change, I have to keep my here-strings in a hashtable to contain the chaos:
    #region Prompt Text
    $Prompts = @{
        Welcome        = @"
    Welcome, seeker of enlightenment.
    Please wait a moment while we examine your karma...
"@
        Describe       = @"
Describing '$DescribeName' has damaged your karma.
"@
        TestFailed     = @"
    You have not yet reached enlightenment.
    The answers you seek...
"@
        Expectation    = $Expectation
        Meditate       = @"
    Please meditate on the following code:
"@
        Subject        = @"
[It] $ItName
$Meditation
"@
        Wisdom         = @"
    $($Koan -replace "`n","`n    ")
    Your path thus far:
"@
        OpenFolder     = @"
You may run 'Measure-Karma -Meditate' to begin your meditation.
"@
        Completed      = @"
    Congratulations! You have taken the first steps towards enlightenment.
    You cast your gaze back upon the path that you have walked:
"@
        BookSuggestion = @"
    If you would like to further your studies in this manner, consider investing in
    'PowerShell by Mistake' by Don Jones - https://leanpub.com/powershell-by-mistake
"@
    }
    #endregion Prompt Text

Although, granted, the reason this screws with indentation so much is because here-strings take all things, even whitespace, literally. 😕
It's handy to be able to do in cases like this, but... simple things like this suggestion might make them more workable, perhaps?

This is a duplicate of https://github.com/PowerShell/PowerShell/issues/2337


Problem with a modal dialog or sidebar calendar

Goodmorning everyone,
I have a problem with this module. When I use it in a php page it works marvel. If I plug in a sidebar or a modal dialog semantic ui, the calendar I get "under" the sidebar or modal. How can you solve this problem?
Greetings
Mauro

The calendar module simply reuses the Semantic UI popup module. Perhaps you could ask this question on StackOverflow or in the Semantic UI repository instead, referencing the popup module.


Support utf-8 encoding guessing

utf-8(['ascii', 'utf-8', 'utf-16', 'utf-32']) encoding guessing is disabled by this line.  Ignore encodings that cannot guess correctly
But this link didn't mention it.
And in my test,the follow text will be guessing as utf-8 correctly(result='utf-8').

jschardet result:

In the other hand,with the follow setting, it will be detect as GBK

Not as simple as you see...
See these issues https://github.com/microsoft/vscode/labels/file-guess-encoding

Not as simple as you see...
See these issues:
https://github.com/microsoft/vscode/labels/file-guess-encoding
https://github.com/aadsm/jschardet/issues/48
https://github.com/aadsm/jschardet/issues/49

Not as simple as you see...
See these issues:
https://github.com/microsoft/vscode/labels/file-guess-encoding
aadsm/jschardet#48
aadsm/jschardet#49

These issues will be solve by https://github.com/microsoft/vscode/issues/84503

Not as simple as you see...
See these issues:
https://github.com/microsoft/vscode/labels/file-guess-encoding
aadsm/jschardet#48
aadsm/jschardet#49

In particular, https://github.com/aadsm/jschardet/issues/48  will be treat as utf-8

I like this change, specifically because this gives full control to jschardet for guessing encoding. If there are issues with this approach then I think we should start to tweak the minimum threshold for confidence.

I like this change because it makes jschardet more deterministic by giving it full control over the detection. I still think more work is needed to increase the confidence of the detection, but that can continue in other issues.

@sunbohong I noticed a bad regression though that made me push https://github.com/microsoft/vscode/commit/ddfca307b1bd29da040e82c8389638fc508248aa to ignore the guessed encoding "ascii" for a simple reason:

user opens a text file with just ascii characters
we guess the encoding to be "ascii"
user types special characters (like german umlaut)
user saves and closes the file
user reopens the file

=> the file is still guessed as "ascii" because it was not saved with a proper encoding

Verification:

configure "files.autoGuessEncoding": true
configure "files.encoding": "windows1252"
save a file with special characters contents (e.g. 私は和食が好きです。) as UTF-8
close all files
open it in VSCode

=> the encoding should be UTF-8

Running these steps, I get a bunch of question marks when I reopen the file, and still with windows1252 encoding, on OS X.

Given scary issues such as https://github.com/microsoft/vscode/issues/85821 I am putting UTF-16 and 32 back to the list of ignored encodings for guessing. Still, UTF-8 can be guessed.

@bpasero  From this issue #85821, we really need to replace jschardet with a new library


Weather Report

Task need to be done

[ ] Get The report
[ ] Upon clicking it need to fetch last 6 days weatherand create a downloadable pdf file
[ ] Upon clicking the button it need to download the report

@dhruvabhat24 Could you assign it to me, i'll try to obtain the desired tasks

@dhruvabhat24 Could you assign it to me, i'll try to obtain the desired tasks

Assigned You can work on that


devpi-client: 5.2.0 -> 5.2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for devpi-client is: "Client for devpi, a pypi index server and packaging meta tool"
meta.homepage for devpi-client is: "http://doc.devpi.net"
meta.changelog for devpi-client is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.2.1 with grep in /nix/store/c4x262anr7wxxwdqcl4hg126hs071qsj-devpi-client-5.2.1

directory tree listing: https://gist.github.com/2bb3634a8078ad3fd348558f4e39002a

du listing: https://gist.github.com/4f0265bc90ad68dc34ed0f05cdc5a5c3

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
devpi-client

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c4x262anr7wxxwdqcl4hg126hs071qsj-devpi-client-5.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A devpi-client https://github.com/r-ryantm/nixpkgs/archive/9b8a961eb8e3484383a2b6698ba50e447cb0f442.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c4x262anr7wxxwdqcl4hg126hs071qsj-devpi-client-5.2.1
ls -la /nix/store/c4x262anr7wxxwdqcl4hg126hs071qsj-devpi-client-5.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

devpi-client

Maintainer pings
cc @nlewo @makefu for testing.

Tests fail on darwin:
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing setuptools-check-hook
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/klj1rakvcv2jy6h6dhyvqpda3irdf9in-devpi-client-5.2.1.tar.gz
source root is devpi-client-5.2.1
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file devpi-client-5.2.1/setup.cfg
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/devpi
copying devpi/user.py -> build/lib/devpi
copying devpi/hookspecs.py -> build/lib/devpi
copying devpi/use.py -> build/lib/devpi
copying devpi/index.py -> build/lib/devpi
copying devpi/upload.py -> build/lib/devpi
copying devpi/__init__.py -> build/lib/devpi
copying devpi/test.py -> build/lib/devpi
copying devpi/getjson.py -> build/lib/devpi
copying devpi/refresh.py -> build/lib/devpi
copying devpi/install.py -> build/lib/devpi
copying devpi/login.py -> build/lib/devpi
copying devpi/pypirc.py -> build/lib/devpi
copying devpi/main.py -> build/lib/devpi
copying devpi/list_remove.py -> build/lib/devpi
copying devpi/__main__.py -> build/lib/devpi
copying devpi/push.py -> build/lib/devpi
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-x86_64
creating build/bdist.macosx-10.6-x86_64/wheel
creating build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/user.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/hookspecs.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/use.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/index.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/upload.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/test.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/getjson.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/refresh.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/install.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/login.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/pypirc.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/main.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/list_remove.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/__main__.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
copying build/lib/devpi/push.py -> build/bdist.macosx-10.6-x86_64/wheel/devpi
running install_egg_info
running egg_info
writing devpi_client.egg-info/PKG-INFO
writing dependency_links to devpi_client.egg-info/dependency_links.txt
writing entry points to devpi_client.egg-info/entry_points.txt
writing requirements to devpi_client.egg-info/requires.txt
writing top-level names to devpi_client.egg-info/top_level.txt
reading manifest file 'devpi_client.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'devpi_client.egg-info/SOURCES.txt'
Copying devpi_client.egg-info to build/bdist.macosx-10.6-x86_64/wheel/devpi_client-5.2.1-py3.8.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
adding license file "AUTHORS" (matched pattern "AUTHORS*")
creating build/bdist.macosx-10.6-x86_64/wheel/devpi_client-5.2.1.dist-info/WHEEL
creating 'dist/devpi_client-5.2.1-py2.py3-none-any.whl' and adding 'build/bdist.macosx-10.6-x86_64/wheel' to it
adding 'devpi/__init__.py'
adding 'devpi/__main__.py'
adding 'devpi/getjson.py'
adding 'devpi/hookspecs.py'
adding 'devpi/index.py'
adding 'devpi/install.py'
adding 'devpi/list_remove.py'
adding 'devpi/login.py'
adding 'devpi/main.py'
adding 'devpi/push.py'
adding 'devpi/pypirc.py'
adding 'devpi/refresh.py'
adding 'devpi/test.py'
adding 'devpi/upload.py'
adding 'devpi/use.py'
adding 'devpi/user.py'
adding 'devpi_client-5.2.1.dist-info/AUTHORS'
adding 'devpi_client-5.2.1.dist-info/LICENSE'
adding 'devpi_client-5.2.1.dist-info/METADATA'
adding 'devpi_client-5.2.1.dist-info/WHEEL'
adding 'devpi_client-5.2.1.dist-info/entry_points.txt'
adding 'devpi_client-5.2.1.dist-info/top_level.txt'
adding 'devpi_client-5.2.1.dist-info/RECORD'
removing build/bdist.macosx-10.6-x86_64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/private/tmp/nix-build-devpi-client-5.2.1.drv-0/devpi-client-5.2.1/dist /private/tmp/nix-build-devpi-client-5.2.1.drv-0/devpi-client-5.2.1
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
Processing ./devpi_client-5.2.1-py2.py3-none-any.whl
Requirement already satisfied: pkginfo>=1.4.2 in /nix/store/4hafc91ld77sssjnn4hj0n101qdbql2q-python3.8-pkginfo-<IP_ADDRESS>/lib/python3.8/site-packages (from devpi-client==5.2.1) (<IP_ADDRESS>)
Requirement already satisfied: py>=1.4.31 in /nix/store/gqllkrpm1flhfqr299dqf6qk0jmm3zwl-python3.8-py-1.9.0/lib/python3.8/site-packages (from devpi-client==5.2.1) (1.9.0)
Requirement already satisfied: pluggy<1.0,>=0.6.0 in /nix/store/znanp5yyfw7grp4h9mjrd917clbdmxc6-python3.8-pluggy-0.13.1/lib/python3.8/site-packages (from devpi-client==5.2.1) (0.13.1)
Requirement already satisfied: check-manifest>=0.28 in /nix/store/hs1fzhdw29fkmhgkc976hxk5k3hkl5pa-python3.8-check-manifest-0.42/lib/python3.8/site-packages (from devpi-client==5.2.1) (0.42)
Requirement already satisfied: devpi-common<4,>=3.6.0 in /nix/store/0qr4sj5444n69c0rg0ikh3rlwq8l1z9g-python3.8-devpi-common-3.6.0/lib/python3.8/site-packages (from devpi-client==5.2.1) (3.6.0)
Requirement already satisfied: tox>=3.1.0 in /nix/store/3a7bbsj7qmzh70qmiv8dq9lzk0rcg8fa-python3.8-tox-3.19.0/lib/python3.8/site-packages (from devpi-client==5.2.1) (3.19.0)
Requirement already satisfied: toml in /nix/store/229iyrig7shka963n90hp6kswbcavv9x-python3.8-toml-0.10.2/lib/python3.8/site-packages (from check-manifest>=0.28->devpi-client==5.2.1) (0.10.2)
Requirement already satisfied: pep517 in /nix/store/cml0sm07i55n5vhmyv6ij47yk5vy3p23-python3.8-pep517-0.8.2/lib/python3.8/site-packages (from check-manifest>=0.28->devpi-client==5.2.1) (0.8.2)
Requirement already satisfied: setuptools in /nix/store/rlifm9amhwgm89bdabbcd5zrky8m3wim-python3.8-setuptools-47.3.1/lib/python3.8/site-packages (from check-manifest>=0.28->devpi-client==5.2.1) (47.3.1.post0)
Requirement already satisfied: lazy in /nix/store/bl3z88vb3b80m6qj7wpicjv1p85wdr1y-python3.8-lazy-1.4/lib/python3.8/site-packages (from devpi-common<4,>=3.6.0->devpi-client==5.2.1) (1.4)
Requirement already satisfied: requests>=2.3.0 in /nix/store/xcdrqshd8h7mp48y9dfcpsm2ffg5mcqf-python3.8-requests-2.25.0/lib/python3.8/site-packages (from devpi-common<4,>=3.6.0->devpi-client==5.2.1) (2.25.0)
Requirement already satisfied: virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 in /nix/store/li1lgwkr6ka0x0l0rnjhk5hsvcnl36s2-python3.8-virtualenv-20.0.35/lib/python3.8/site-packages (from tox>=3.1.0->devpi-client==5.2.1) (20.0.35)
Requirement already satisfied: six>=1.14.0 in /nix/store/999l0lg57gm06nqind35cf3877nni9rz-python3.8-six-1.15.0/lib/python3.8/site-packages (from tox>=3.1.0->devpi-client==5.2.1) (1.15.0)
Requirement already satisfied: filelock>=3.0.0 in /nix/store/zyrharrl5whnvlkhxr3kdpm8j2xf0c8f-python3.8-filelock-3.0.12/lib/python3.8/site-packages (from tox>=3.1.0->devpi-client==5.2.1) (3.0.12)
Requirement already satisfied: packaging>=14 in /nix/store/bndmw8938if49yk8s78qm27zdv9sm6fy-python3.8-packaging-20.4/lib/python3.8/site-packages (from tox>=3.1.0->devpi-client==5.2.1) (20.4)
Requirement already satisfied: chardet<4,>=3.0.2 in /nix/store/krx5difnqxlhj950p5c4q64207ab88qp-python3.8-chardet-3.0.4/lib/python3.8/site-packages (from requests>=2.3.0->devpi-common<4,>=3.6.0->devpi-client==5.2.1) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /nix/store/6p5x5ndnw6cws5q1gvvpgk1hsdcnik6l-python3.8-idna-2.10/lib/python3.8/site-packages (from requests>=2.3.0->devpi-common<4,>=3.6.0->devpi-client==5.2.1) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /nix/store/5hdr32a6gawyqa4qfhl8scn8cgpm6w3q-python3.8-certifi-2020.6.20/lib/python3.8/site-packages (from requests>=2.3.0->devpi-common<4,>=3.6.0->devpi-client==5.2.1) (2020.6.20)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /nix/store/rhff5vcpz84nmlkv86nkqndqavydj3ws-python3.8-urllib3-1.25.11/lib/python3.8/site-packages (from requests>=2.3.0->devpi-common<4,>=3.6.0->devpi-client==5.2.1) (1.25.11)
Requirement already satisfied: distlib<1,>=0.3.1 in /nix/store/nkx3bjnrz75gj52x093bzz5hb6ijdf6c-python3.8-distlib-0.3.1/lib/python3.8/site-packages (from virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0->tox>=3.1.0->devpi-client==5.2.1) (0.3.1)
Requirement already satisfied: appdirs<2,>=1.4.3 in /nix/store/41zaw0vc5yk1bvaa0v11r9k45wbf5vrl-python3.8-appdirs-1.4.4/lib/python3.8/site-packages (from virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0->tox>=3.1.0->devpi-client==5.2.1) (1.4.4)
Requirement already satisfied: pyparsing>=2.0.2 in /nix/store/ngc1k94viij0xzlwnvknysagaki2g07y-python3.8-pyparsing-2.4.6/lib/python3.8/site-packages (from packaging>=14->tox>=3.1.0->devpi-client==5.2.1) (2.4.6)
Installing collected packages: devpi-client
  WARNING: The script devpi is installed in '/nix/store/pbmykfac24m2sq5d8n896ighqz0kjkv1-devpi-client-5.2.1/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed devpi-client-5.2.1
/private/tmp/nix-build-devpi-client-5.2.1.drv-0/devpi-client-5.2.1
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
strip is /nix/store/l5707pca91sq99fd5fq4x84302zssyjj-cctools-binutils-darwin-949.0.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/pbmykfac24m2sq5d8n896ighqz0kjkv1-devpi-client-5.2.1/lib  /nix/store/pbmykfac24m2sq5d8n896ighqz0kjkv1-devpi-client-5.2.1/bin
patching script interpreter paths in /nix/store/pbmykfac24m2sq5d8n896ighqz0kjkv1-devpi-client-5.2.1
Rewriting #!/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/bin/python3.8 to #!/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6
wrapping `/nix/store/pbmykfac24m2sq5d8n896ighqz0kjkv1-devpi-client-5.2.1/bin/devpi'...

ERROR testing/test_functional.py::TestMirrorIndexThings::test_releases - sock...
ERROR testing/test_functional.py::TestMirrorIndexThings::test_download_release_error
ERROR testing/test_functional.py::TestMirrorIndexThings::test_download_release
ERROR testing/test_functional.py::TestMirrorIndexThings::test_deleted_package
ERROR testing/test_functional.py::TestMirrorIndexThings::test_whitelisted_package_not_in_mirror
================= 143 passed, 112 skipped, 8 errors in 12.43s ==================


Bump to k8s 1.5.2

Current coverage is 68.89% (diff: 100%)

Merging #256 into master will not change coverage

@@             master       #256   diff @@
==========================================
  Files             4          4
  Lines          1135       1135
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            782        782
  Misses          263        263
  Partials         90         90

Powered by Codecov. Last update 74efe5d...8ff7412

@redbaron Thanks as always! This is done in #262 by running contrib/bump-version.


Timeouts for read/write operations

Those are changes from https://github.com/albenik/go-serial fork and they work great!
Integrating those changes will make this library the best go-serial library.

@tectiv3 thanks for the effort, but I think that @albenik was simply blocked by my long time to merge the previous patch, I think that now he will be quite quick to submit the patch himself.

yeah, I figured :)


adds statechangecancel event

After preventDefault is fired in stateChangeStart, a stageChangeCancel event will be launched.

Any reason this hasn't landed yet?  I need this and am working around it for the time being.

While the state events are probably going to be deprecated in favor of transition callbacks in 1.0, I think this is a reasonable thing to include in 0.2.x, for those who can't (or won't want to) update to 1.0.  @nateabele  what say you?

I was always kind of against this because you're basically notifying your own code of what it's doing. I'm willing to be persuaded on this point though.

If you visit http://rpocklin.github.io/angular-ui-view-spinner/example/index.html and click some links you can see it's a directive that shows a loading spinner while the resolves are processed.  There are 2 ways (AFAIK) that route state transitions in ui-router can fail:

A resolve for the target state throws an exception (or returns a falsy value)
In a $stateChangeStart event handler, you can do event.preventDefault();

In the first case, a $stateChangeError is triggered.  In the second, though, there is no event triggered such as $stateChangeCancel which means the loading spinner has no hook to stop.
I can manually trigger a $stateChangeError event for the second case, but IMO this is a prime candidate for a different event, especially since it's the user or system deciding to cancel the state change, and not because a dependent resolve has failed.
@nateabele if you are writing both sets of code within the same codebase, you are right you have control over the interactions.  But what if you are combining two third party directives which don't directly talk to each other?  Eg. the above one and one which pops up a window to prevent unsaved changes in a state being lost? (Eg. https://github.com/facultymatt/angular-unsavedChanges)

That's fair. Squash & fix the commit message per the contributor guidelines and we'll merge it.

Done - see #1844 as original PR wasn't mine.

Implemented in #1844.


docs: Update how-to-modify-liveblocks-storage-from-the-server.mdx

Updating the code example in the modifying liveblocks from the server snippet.
Recently implemented this, and somethings were out of date:

(Style change, nit) Removed the outer Promise since felt unnecessary + probably should just let any errors boil up
Found through trial and error had to access the room property from an object that is returned from the enterRoom versus enterRoom doesn't seem to return just the room object anymore

Thank you, this guide was out of date! Applying your fix here: - https://github.com/liveblocks/liveblocks/pull/1867


Add tests

Figure out Meteor testing frameworks; possibly new things with TinyTest in 1.3?

Meteor 1.3 comes with a new testing package and guides on how to do testing properly. I'll defer this to then.
In the meantime, probably a good idea to read up on Mocha since that's the default way to test.


broken pipe uploading 500mb file

This is the error message I get when trying to upload a 500mb file.
An error occurred uploading the document: Post https://www.googleapis.com/upload/drive/v2/files?alt=json&uploadType=multipart: write tcp <IP_ADDRESS>:443: broken pipe

I don't think this is a reproduceable problem in newer versions of gdrive.


link to style transfer training documentation is 404

(either no access or bad link)
Updated the link to a publicly accessible link that could be used to explain how to train a model and use in ml5

That would fix the issue, but ml5js is built using  Docusaurus and it's relatively linking to docs. Considering this, it would be preferable to fix the link to point to the docs directly to prevent making another http request.Either way works fine, best wishes..
Ps: I am not good at English, I hope you understand.

fixed in #85, thanks!


Explore floating groups

Current state of PR with semi-working example, still experimental and no timeline for release at moment.


Release it!

Tracking items needed to release this:

[x] Add tests - borrow from https://github.com/pulumi/examples/pull/201 as possible.
[x] Tag v0.1.0
[x] Publish docs (https://github.com/pulumi/docs/pull/839)
[x] Blog post draft

Draft at https://gist.github.com/clstokes/d1c65b7021d81ce0147310818185b6e7.

[x] Merge examples PR (https://github.com/pulumi/examples/pull/201)

Blog post draft is at https://gist.github.com/clstokes/d1c65b7021d81ce0147310818185b6e7 - checking this off in the issue checlkist.

Done.


Set Go version of base image 1.17

What this PR does / why we need it:
Currently, Go version is unmatched between gomod and base image of Dockerfile for training operator. So, this PR upgrade Go version of base image.
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #
Checklist:

[ ] Docs included if any changes are user facing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 24.099%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mpi/mpijob_controller.go
2
75.31%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
1197

Relevant Lines:
4967

💛  - Coveralls

/retest


Update ReadMe

Hi, please assign me this issue.  I want to make the read me more descriptive.

@Anushka-shukla please try and make meaningful pull-requests by exploring any of our open-issue. If you have any problem or need help, please join our Discord community: https://appwrite.io/discord and use the #maintainers channel.


Add GitHub Actions

Ups. This PR shouldn't go against your repository. I wanted to test some things in my fork.
I'm closing this PR and reopen it once I've tested the changes.

Reopening as the actions succeeded in my fork.
I really like hacker.org and hope to contribute to your fork in the next weeks. The content on hacker.org is valuable and needs to be conserved.

Hi @pSub,
thank you for your interesting into this repo! Before you commit too much work, I want to inform you that the work on this clone is paused at the moment.
I'm actively working on https://hack.arrrg.de instead and I have a dedicated area for challenges that are inspired by hacker.org. Here is a screenshot of it:

I'd be very glad if you could visit https://github.com/Entkenntnis/htw and/or join our discord (https://discord.gg/9zDMZP9edd).

Thank you for your detailed response! Somehow, the sentence

Check out https://hack.arrrg.de/ which is available in English now!

from the README tricked me into thinking, that the content there is a live version of this repository. I didn't bother to check more closely.
I'll definitely look into https://github.com/Entkenntnis/htw.

Valuable feedback, I have reformulated the sentence to make it clearer what's happening here.


Which license applied?

Now I saw the MIT, thanks

I got some other requests for this as well, good point to raise!


Installation Python problem

Configuration
Windows 10 64bit
PlatformIO Version: 1.10.2
Description of problem

Hello everyone!
Well as soon as i start the installation i get this error after its nearly finished. I reinstalled python, made sure that i select "Add python.exe to path", i deactivated my antivirusprogram, restarted my computer but nothing worked.. Python seems to function, at least when i open cmd and type python in there, it responds.. Had or has someone a similar problem?

PlatformIO Version: 1.10.2

What is it?

Please reopen if you still need help


maliput_object_py: 0.1.2-1 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository maliput_object_py to 0.1.2-1:

upstream repository: https://github.com/maliput/maliput_object_py.git
release repository: https://github.com/ros2-gbp/maliput_object_py-release.git
distro file: foxy/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.1.1-1

maliput_object_py
* Pairs with BoundingRegion being moved to maliput. (#8 <https://github.com/maliput/maliput_object_py/issues/8>)
* Adds triage workflow. (#6 <https://github.com/maliput/maliput_object_py/issues/6>)
* Improves README. (#5 <https://github.com/maliput/maliput_object_py/issues/5>)
* Contributors: Franco Cipollone

CC: @tfoote


Upgrade to pnpm 8 to match Vite and SvelteKit

duplicate https://github.com/sveltejs/vite-plugin-svelte/pull/618


bcc: cast reader explicitly

Newer versions of go (1.8+) are more strict about this, so the
compilation failed:
github.com/iovisor/gobpf/bcc
# github.com/iovisor/gobpf/bcc
bcc/perf.go:131: cannot use reader (type unsafe.Pointer) as type *C.struct_perf_reader in argument to func literal

Cast it explicitly.

Thanks!


Fix for issue template

Some links were not showing while opening an new issue, this fixes that

I'm in the middle of merging the tachiyomi upstream, will merge this after that is done. :thumbsub:

null iframeResponse.selectFirst ( vi deoListSelector ( ) ) must not be


add max vel linear

Problem Description
When we use holonomic robots, we should limit the maximum linear velocity (L-inf, L-1 or L-2 norm), not only max_vel_x and max_vel_y, because they are coupled.
Otherwise, the optimization for vx and vy results in max_vel_x and max_vel_y in open / collision-free paths. The robot will always move diagonally because the resultant (linear velocity) is greater. However, the maximum velocity is coupled and bounded to the actual maximum linear velocity of the robot. This new constraint should be added to the optimizer.
The video below shows the robot moving diagonally and it fixes the orientation at the end:
https://user-images.githubusercontent.com/6097267/148993227-5773c195-a3c6-4ad6-ab5a-503c104d751b.mp4
And one can see that the behaviour of the robot is not what we expect for a holonomic robot (changing  orientation a lot, and moving diagonally):
https://user-images.githubusercontent.com/6097267/148996957-d1a8698e-b858-4eb1-b1a5-319d458dc292.mp4
Solution
Add max_vel_linear for holonomic robots and add the constraint to the optimization.
Long path not moving diagonally:
https://user-images.githubusercontent.com/6097267/148996627-7f598de7-23f8-4c17-818f-28df3a3e92f6.mp4
Moving around:
https://user-images.githubusercontent.com/6097267/148996037-e0d0d8df-6e35-4735-b835-095ed0cad98f.mp4

I think this can be interesting also for Nav2 version, I please, @SteveMacenski , take a look if u have time

There was an old issue for this #89


travis: bump up go versions

Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>

Yeah, still has the same 1.10 lint error we saw when #1296 tried to bump to 1.10.

Are there new versions of Go that we should test against?  Or is this a bug in our code?

@mrunalp needs a rebase.

@mrunalp Needs a rebase.

Rebased.

@rhatdan @runcom green now. This is travis only so we don't need to run other tests.

LGTM.
Merging.


Vim9: should we leverage a {} block to make builtin Ex commands parse a bar consistently?

Builtin Ex command parse a bar inconsistently.
Most of them parse it as a command termination.  Example:
:d | t$

Here, :d parses | as the end of its arguments.  :t$ is executed as a separate command.
But some of them parse a bar as part of their own argument.  Example:
:g/pat/d | t$

Here, :g parses | as part of its argument; it executes d | t$ for each line matching pat.
The list of similar commands is given at :h :bar.

This creates an inconsistency which causes issues for new Vim users.  I think it's a fairly common pitfall.  See these 2 questions as an example:

Vimception: Why does reading the output of executing the current file cause recursion?
Continue an ex mode command after “norm”?

To be more consistent in Vim9 script, should we make all builtin Ex commands parse a bar as a command termination?
Obviously, if we do that, it will cause an issue for when we need a command to parse a bar as part of its argument.  That's where the new {} block syntax could help.  For example, assuming :g parses a bar as a command termination, but we need it to execute a series of commands, we could write this:
:g/pat/{cmd1 | cmd2}
       ^           ^

The idea was suggested in a discussion on vi.stackexchange.

Personally, I'm used to :autocmd, :command, :global, :normal, :*do parsing a bar as part of their argument.   For the other ones, I'm not so sure.  Sometimes, I have to check whether they're listed at :h :bar.
But I wouldn't mind if all commands were to parse a bar as part of their argument.

Although, it might not be so easy.  For example, what if the command already contains a closing }.  How to prevent Vim from parsing it as the end of the block prematurely?  Escape it with a backslash?

the new {} block syntax

Btw, I'm referring to this:
https://github.com/vim/vim/blob/16204962c7ad7380a40f0855443303ad16114e2b/runtime/doc/vim9.txt#L229-L235


Graph page url client side migration

This pr adds backward compatibility for the changes I introduced at https://github.com/prometheus/prometheus/pull/1872.
The changes lacks any unit tests, this projects has no setup for javascript unit tests. In order to better test this I tried to implement the redirection on the backend (see https://github.com/grandbora/prometheus/commit/802a0a61727e9c8ebad13842b776865fd42ba443) however fragments are not sent to the server :( That's my excuse.
I did manual tests via copying some grafana links and running them on my local instance. I couldn't see any problems, page was redirected to the corresponding new url format.
Please 👀  @juliusv @fabxc @grobie @beorn7

Woot, thanks!

Thank you!


Update report for Milestone 2

Is your feature request related to a problem? Please describe.
According to the changes we have made in this Milestone, we should adapt and improve the report to consist all changes.
Describe the solution you'd like
Update the report we have started on.
Describe alternatives you've considered
N/A
Additional context
N/A

Petra mentions we should write what makes the project difficult


🚀 [migration viadot-2-new-structure-migration] Add Eurostat source wi…

…th tests

Summary
Adding modified Eurostat source for Prefect 2.0 with tests
Importance
Because, it is adding another source to be able to perform on Prefect 2.0
Checklist

This PR:

[X ] follows the guidelines laid out in CONTRIBUTING.md
[ ] links relevant issue(s)
[X ] adds/updates tests (if appropriate)
[X ] adds/updates docstrings (if appropriate)
[X ] adds an entry in CHANGELOG.md

@adrian-wojcik @fdelgadodyvenia also, question: do we still need the Databricks stuff?

This also seems to be created from an incorrect branch since it shows 111 modified files, while this should be more like 5?


Mobile Application development

It can be implemented by using java,C++,kotlin or swift

hello @Akshat111111  I'm interested in this issue .  kindly please assign it to me. I can implement it using c ++

Done, You can start working on it.

Any update @Janvibaghel

I'm interested in this issue . kindly please assign it to me.


fix(@schematics/angular): Correct imports of ViewEncapsulation

Fixes: angular/angular-cli#8374

Please don't forget this:
https://github.com/angular/devkit/blob/a8a6559649c8815b2b24561bd6ef00e4e4ad4ab8/packages/schematics/angular/application/files/__dot__angular-cli.json#L61
By default nothing is set for viewEncapsulation which yields to None.
I don't think that we want to have to have None by default. (should be Emulated)
see also:
https://github.com/angular/angular-cli/issues/8374


Live Migration results in error: websocket: bad handshake

Required information

Ubuntu 16.04.2 LTS
admin@host1:/var/log$ lxc info
config:
core.https_address: '[::]:8443'
core.trust_password: true
storage.lvm_vg_name: vg00
apiextensions:

id_map
apistatus: stable
apiversion: "1.0"
auth: trusted
public: false
environment:
addresses:

<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
architectures:
x86_64
i686
certificate: |
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
certificatefingerprint:
driver: lxc
driverversion: 2.0.7
kernel: Linux
kernelarchitecture: x86_64
kernelversion: 4.4.0-66-generic
server: lxd
serverpid: 1112
serverversion: 2.0.9
storage: lvm
storageversion: 2.02.133(2) (2015-10-30) / 1.02.110 (2015-10-30) / 4.34.0

Both host have same version numbers and config instead of the unique types like ip-address etc.
Issue description
Trying to live migration container oc2 from host1 to host2. Operation fails with "error: websocket: bad handshake".
Steps to reproduce

apt-get install lxd criu
setup lxd basics and create container on host1
On host1: remote add host2
On host2: remote add host1
On host1: lxc move oc2 host2:oc2 --debug

Information to attach
Output of: lxc move oc2 host2:oc2 --debug see GIST
(Notice some IDs and values have been changed or removed for privacy and security reasons).
Both Hosts are on: lxd 2.0.9, criu 2.6, Linux Kernel 4.4.0-66

Look in /var/log/lxd/lxd.log on both source and target hosts, one of them probably has a CRIU error.

Has this issue being fixed?

@bhaktibohara The fact that LXD would return "bad handshake" instead of the actual migration error has been fixed in git master a few days ago. The underlying problem (CRIU failing to migrate the container) hasn't and isn't a LXD issue but a CRIU one.

So the fix is in production? I will update my criu version. I have been having similar issues with docker and it could be related.

So again, the "fix" doesn't make the failure go away, it merely returns a more accurate error message.
As I said above, the fix has been merge to git master a few days ago, which means it's not yet in any released version of LXD.


GPL-478 samples released from CGAP to “CGAP extraction” to be created in SS

User story
As a CGAP SRA (Laura) who wants to use Samples Extraction, I want samples released from CGAP to “CGAP extraction” to be created in SS so I can scan them into Samples Extraction LIMS.
Details - I want the Wrangler to poll the cgap_heron MLWH table every ~ 2minutes for null in “Wrangled” column. When found the wrangler should create samples in SS with plate purpose TR stock 96 (for FluidX rack) or Stock plate (for plates) – only for samples where release destination is “CGAP extraction”. Once samples successfully created in SS, Wrangler enters time stamp into “Wrangled” column.
Who the primary contacts are for this story
Philip
Chris
Laura
Acceptance criteria
To be considered successful the solution must allow:

add a list of acceptance criteria here
...

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

depends-on: #43 (GPL-453) and  GPL-496 in SequenceScape

depends-on: #56

depends-on: sanger/General-Backlog-Items#32


PHP Notice:  variation_data was called incorrectly in src/Hyyan/WPI/Cart.php Line 334

PHP Notice:  variation_data was called incorrectly. Product properties should not be accessed directly.
The  Woo-Poly custom addToCartHandlerVariable handler needs to be updated to match the latest changes in the WooCommerce handler that can be found in wp-content/plugins/woocommerce/includes/class-wc-form-handler.php

private static function add_to_cart_handler_variable( $product_id )

Solved


Handling a composed component that exchanges strings

As discussed in Zulip > general > composing components, wasmtime-py doesn't yet support handling a composed component that exchanges strings. Since I really would like to use this feature in one of my projects, I raise this issue in the sense of a feature request. A minimal example of what is expected together with an illustration of what error is raised can be found here.
For illustration: trying to compose component1 and component2 reflecting the following two interfaces
Interface of component1
interface exports {
  greet: func(s: string) -> string
}

default world greetworld {
  export greeting: self.exports
}

Interface of component2
interface imports {
  greet: func(s: string) -> string
}

interface exports {
  greet: func(s: string) -> string
}

default world bettergreetworld {
  import greeting: self.imports
  export exports: self.exports
}

yields the following error
#[..]
Caused by:
    wasm trap: wasm `unreachable` instruction executed

Thanks for the report! I won't personally have the chance to get to this for a bit, so I'm going to write down some notes here. This shouldn't be the trickiest thing in the world if something is feeling particularly intrepid to take this on, but it's also noat necessarily a great first-task either. I can try to help out along the way with questions if someone's interested though!
What's happening here is that this assertion is being tripped. This construct is indicating that a core wasm function needs to be synthesized to transcode strings from one component to another. This involves reading the string from one linear memory, validating its encoding, and then reencoding it into a destination linear memory. The specifics of this operation are well-defined but subtle as well because the encodings on both halves may be different, for example utf-8 and utf-16.
The GlobalInitializer comes from here in wasmtime and the Transcoder struct looks like this:
pub struct Transcoder {
    /// The index of the transcoder being defined and initialized.
    ///
    /// This indicates which `VMCallerCheckedFuncRef` slot is written to in a
    /// `VMComponentContext`.
    pub index: RuntimeTranscoderIndex,
    /// The transcoding operation being performed.
    pub op: Transcode,
    /// The linear memory that the string is being read from.
    pub from: RuntimeMemoryIndex,
    /// Whether or not the source linear memory is 64-bit or not.
    pub from64: bool,
    /// The linear memory that the string is being written to.
    pub to: RuntimeMemoryIndex,
    /// Whether or not the destination linear memory is 64-bit or not.
    pub to64: bool,
    /// The wasm signature of the cranelift-generated trampoline.
    pub signature: SignatureIndex,
}

This Transcoder structure represents a Python function that needs to be generating. The python function would be named something like _transcoder_i where i is the index field. The op field looks like this:
pub enum Transcode {
    Copy(FixedEncoding),
    Latin1ToUtf16,
    Latin1ToUtf8,
    Utf16ToCompactProbablyUtf16,
    Utf16ToCompactUtf16,
    Utf16ToLatin1,
    Utf16ToUtf8,
    Utf8ToCompactUtf16,
    Utf8ToLatin1,
    Utf8ToUtf16,
}

pub enum FixedEncoding {
    Utf8,
    Utf16,
    Latin1,
}

which describes the transcoding operation being performed. Each variant here requires a different Python function to implement it. At a high level all these algorithms are defined in this document and represents sort of a fused load_string and store_string function. Before I go too much more into this though the other fields of Transcoder are:

from and to - the linear memories that are being read from and written to. The indexes here are created by previous GlobalInitializer::ExtractMemory items so in the generated code the linear memory can be referenced as self._core_memory{i}. Interacting with these objects should use the standard wasmtime.Memory APIs from Python (or add more APIs to that as necessary).
from64 and to64 - these can be asserted as false for now. This implies memory64 support but memory64 isn't well supported with the component model, so asserting that as false is basically a TODO item to flesh out if someone hits it later (like this issue!)
signature probably isn't necessary, but it's the core wasm signature of the function if necessary.

So the main meat of this is the op and the transcoding op. The two linear memories then describe where to read data and where to write data. Each op can have its own signature, not all transcoders ascribe to the same signature. A description of the signature of each transcoding operation can be found here and the Rust implementation of all transcoders can be found in this file.
That's all somewhat abstract, though, and the full power here isn't necessarily required. For example the above component probably only needs utf8-to-utf8 which is relatively simple compared to other encodings. I'll go through that in a bit more detail, and the other op variants can be left as unimplemented!() for now too.
For utf8-to-utf8 the original source string is validated as correctly encoded and then it's memcpy'd to the destination string. The Rust implementation is here which is called from a bit of macro-soup to handle fiddly bits but the general signature is here and here (as the op will be Copy(Utf8)).
This means that the Python host function will look something like:
def transcoderN_impl(caller: wasmtime.Caller, from_ptr: int, from_len: int, to_ptr: int) -> None:
    from: wasmtime.Memory = self._core_memoryA
    to: wasmtime.Memory = self._core_memoryB

    from_bytes = from.read(caller, from_ptr, from_ptr + from_len)
    # assert that `from_bytes` is valid utf-8 in Python, I'm not actually sure how to do this
    to.write(caller, from_bytes, to_ptr)

transcoderN_ty = FuncType(...)
transcoderN = Func(store, transcoderN_ty, transcoderN_impl, access_caller = True)

And that... might be the majority of it? Worth testing for sure!
The final bit to fill out will be this one which is implemented similar to the Lowering branch as transcoder{i} is Func you're accessing. (or at least I'm pretty sure).
That's hopefully enough for someone who's interested to get started, but I can answer more questions as well!

"some notes" sounds like a quantum of understatement....thank you for this elaborated sketch! Sooo, I can see the metaphorical double shampooed unrolled red carpet right in front of me. Since this feature is definitely on my wishlist, I will have a look (starting in a couple of days). I guess, it will take a longer while to complete. If you do not mind, I will use this channel in case of further questions.

@Finfalter I am also interested in this, let me know if I can help.


Fix issue with ActiveRecord initialization

Fixes #342
This patch ensures that the model adapter code requiring ActiveRecord is not run until after ActiveRecord has been loaded (explanation here).
It's not clear to me how I would write a spec for this. I would love to be able to check the actual config values that caused the problem in the original issue. But that would probably involve running a dummy Rails app, which seems like overkill for such a small fix. Thoughts?

Darn! Looks like this is a duplicate of #292. Whoops!


Rust example fails with assertion failed: w <= 100 && h <= 100

For some reason, the assertions fail when I try to encode the attached photo using the Rust example provided.

I added println!("width: {width}, height: {height}"); before the rgba_to_thumb_hash call to see if the image crate does something bizarre, but it doesn't. I tried it with a different photo and I get the same error

Any ideas what I'm doing wrong? Both images are definitely bigger than 100x100

... duh
I just realized I can't read 😅


[Bug]: "Password Reset allowed" setting has wrong name

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[ ] I have joined the ZITADEL chat

Environment
Self-hosted
Version
2.51.0
Database
PostgreSQL
Database Version
No response
Describe the problem caused by this bug
On the login page no "reset password" link is displayed even when "Password Reset allowed" is checked unchecking the box will display the link
To reproduce

Check the  "Password Reset allowed" and "Username and Password allowed" options in the organistion settings
log out and go to the login page
enter a valid username

-> no reset password link is displayed
Screenshots

Expected behavior
The label text or the setting should be reversed:

Operating System
No response
Relevant Configuration
No response
Additional Context
No response

I realized just now that the setting simply has the wrong label, so I updated the issue.
if "Password Reset allowed" is unchecked then the reset link is still shown

Hei, @errnesto you are right, the label is wrong.
It should actually be Password reset hidden, as it is only about hide the link in the ui and not about allowing or disallowing the functionality. We will change that


Facilitator: Handle SIGTERM.

This is an implementation ticket. The actual implementation may vary as we start working on it.
Please check #5 first for any updates in interface and params.
If the process encounters SIGTERM, then it should be intercepted.

This should wait for any ongoing transactions to complete.
unsubscribe from listening to the graph-node entities.
close all the open connections (Implementer can think if there are any such open connections. e.g: DB).
Exit the process.

Delete the unlocked web3 wallet.


[AIRFLOW-64] Add note about relative DAGS_FOLDER

LGTM

Please squash the commit

done

Thanks! Sorry for the delay


[hevce] Replaced memmove in utility functions with std primitives (co…

…py / fill)

Need more manual testing


Update Readme.md

Hey @stuhli
To help people easily locate the ids
I can correct the alignment of the items in README.md
Kindly assign it to me.

Hi,
sorry, I am not sure if I have understood you correctly? Can you please explain this a little more? Might be a good idea to provide a pull request to show what you mean. Even just as a draft, does not be complete for now.

I have created a sample
Please check PR #8

As mentioned in #8 feel free to contribute more PRs. For the time being I'm gonna close this issue.


allow usage of private key

allow usage of private key, not just recovery phrase

done as of latest PRs


Cannot Swim with Vannila-Degus Mod

Mod Name
Vannila Degus
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/vanilla-degus
Minecraft version
1.21.1
Describe the bug
Cannot swim in waterSource.
Steps to reproduce

install [Connector 2.0.0-beta.2+1.21.1]
install [forgified-fabric-api-0.102.0+2.0.12+1.21.1]
install [vanilla_degus-1.21+-v1.5.2-fabric]
start survival game
dive to waterSource
Cannnot Swim

Logs
not crash
Additional context
I can swim in waterMoving.

Better nether and Better End mods also cause this.

Yeah there’s a pattern with quite a few mods. Duplicate post.
https://github.com/Sinytra/Connector/issues/1343#issuecomment-2295574404

thx.
I will close this and watch #1343 .

Yeah there’s a pattern with quite a few mods. Duplicate post. #1343 (comment)


Comments not showing up for multi page survey

For multi page survey the comments are not showing up for review even though the submissions have single line and multi line answers

@VineetBala-AOT I think this issue has been solved, can you double check?

Verified, comments for multi page survey are showing


Timed out trying to read data from the socket stream!

Why this error happen on my virtual machine, but on my local it work good
Timed out trying to read data from the socket stream!
 ftpClient = new FtpClient
 {
                Host = settings.Host,
                Credentials = new NetworkCredential(settings.Login, settings.Password),
                EnableThreadSafeDataConnections = false,
                ReadTimeout = 30000,
                DataConnectionReadTimeout = 30000,
                DataConnectionType = FtpDataConnectionType.AutoActive
 };

problem on windows server 2012 client
on windows 7 work good

windows server 2016 client error too

Which function are you using? DownloadFile?

Unless you reply its impossible to fix this.

Hi,
I've just had this issue with the DeleteDirectory command.

@pbindy Can you share more details. Are there any files/folders in the dir you are trying to delete? Which server are you using? Azure has problems with timeouts...

Hi,
here is my code
 if (FtpClient.DirectoryExists(folderPath))           FtpClient.DeleteDirectory(folderPath, true, true);
The folder has files in it, around 15.
I'm trying to transfer from a PC with Windows 10 to a coffee machine with Windows CE installed.
This issue is not reproducible every time. I had the issue twice in a row and then nothing.
What I did to fix it, I make sure that the folder is empty (delete all files in it) before calling DeleteDirectory.

I see you are using the older version of FluentFTP. Can you upgrade to latest on nuget and check if it works for you?

Ok I'll update to the latest version but there is definitely something happening with this DeleteDirectory method. (see #99 )

You don't need to delete the files in it first. Just call DeleteDirectory and see if its working good. Because we have switched to LIST command instead of machine listings and we are getting all files recursively, then deleting those files, then deleting the folder last. You should not have any problems.

I'll check it once again but I need to make a lot of testing before putting it in Production because it has to work 100% of the time.

Closing this since no response received from OP.

I realized this just got closed 4 hours ago, But I just ran into this issue today. I updated to the latest version v17.3.0 and I am still getting this error message when attempting to us FTPS using the code provided here: https://github.com/hgupta9/FluentFTP#faq_ftps

@gjhdigital Okay, issue reopened. Which FTP server/OS are you using? or which host?

nevermind, wrong protocol.

@gjhdigital What was the solution so others can know?

I was told the connection was FTPS when it was actually SFTP. So I ended up using the recommended SSH.NET package. Im using FluentFTP for another project and it works flawlessly for that.

@gjhdigital Excellent, thank you.


Add function to cast to Chromecast

Hi
My android smartphone client is connected to the plex media server.  It is ready to display media. When I use the Python plex api to play media using client.playMedia(item),  items displays correctly on my client screen.
But I am unable to cast it on another screen using Chromecast. When I try casting, it tries and gives up.
All other content like youtube etc. Iam able to cast. It is only items playing via the Python API, I am not able to cast.
Any ideas?

I have a come long way, thanks to Michael. There was time when nothing was working for me. Now I am stuck on the last part: how to chrome cast what is dispalying on the client using the cleint.playMEdia(item) call.

This Reddit post doesn't make it sound promising for the Chromecast. -- I believe we would need it to show up in the clients list to even think about getting it to work.

Marking this as an enhancement.  If the Plex Web Client and cast to a Chromecast, maybe we can add a new function to cast as well.

I just ordered a Chromecast, excited to make this one work. :P

Great let me know how it works out.
-------- Original message --------
From: Michael Shepanski<EMAIL_ADDRESS>Date: 2/10/17  19:10  (GMT-08:00)
To: mjs7231/python-plexapi<EMAIL_ADDRESS>Cc: cmoulikus<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [mjs7231/python-plexapi] Add function to cast to Chromecast (#63)
I just ordered a Chromecast, excited to make this one work. :P
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mjs7231/python-plexapi","title":"mjs7231/python-plexapi","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mjs7231/python-plexapi"}},"updates":{"snippets":[{"icon":"PERSON","message":"@mjs7231 in #63: I just ordered a Chromecast, excited to make this one work. :P"}],"action":{"name":"View Issue","url":"https://github.com/mjs7231/python-plexapi/issues/63#issuecomment-279116800"}}}

https://github.com/balloob/pychromecast

Interesting.  I was hoping we could add Chromecast support by calling some URL on the Plex Media Server, but that doesn't seem to be the case. When we connect to a Chromecast from the webapp, there is no ajax request sent anywhere, and it all seems to be handled via JS & Chrome Browser. This is also spit out in the logs, which may be useful:
[Cast] Session: {"sessionId":"70f76413-f64e-4656-8f4e-43489c2766f3","appId":"9AC194DC","displayName":"Plex","statusText":"Plex","receiver":{"label":"rRckpLGcPLvz4_hkCyoxuFkBPANk.","friendlyName":"Chromecast3683","capabilities":["video_out","audio_out"],"volume":{"controlType":"attenuation","level":1,"muted":false,"stepInterval":0.05000000074505806},"receiverType":"cast","isActiveInput":null,"displayStatus":null},"senderApps":[],"namespaces":[{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"},{"name":"urn:x-cast:plex"}],"media":[],"status":"connected","transportId":"70f76413-f64e-4656-8f4e-43489c2766f3"}

Looks like some other people got this working..
https://forum.xda-developers.com/android-tv/chromecast/plex-python-chromecast-t3520651

Can you make a official guide on how to make this work or does the example above work? I don't have chromecast. We could add it to the utility file with a inline import

@pkkid Did you figure out how to cast somthing at chromecast?

I never ended up trying.

I got this working. Ill post an example and create a PR later👍

Awesome, excited to try it out.
On Tue, Jun 18, 2019 at 11:41 AM Hellowlol<EMAIL_ADDRESS>wrote:

I got this working. Ill post an example and create a PR later👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pkkid/python-plexapi/issues/63?email_source=notifications&email_token=AADKLIZLDNWRQXM2FTUCCUDP3D63RA5CNFSM4CLZKSVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX7B5AI#issuecomment-503193217,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADKLI3YWX2RTSDXBOA3XV3P3D63RANCNFSM4CLZKSVA
.

You can use this branch to test support for chromecast. https://github.com/pkkid/python-plexapi/tree/chromecast
pychromecast does have some deps and are 3.4 only so dunno if we should merge it.

@Hellowlol just wanted to say I've been breaking my head over this for weeks and just stumbled on to this and managed to get your PR working - thank you so much!

@aazimh your welcome. Thanks for testing it

@Hellowlol Okay, on some further testing maybe things aren't all that perfect :) it appears to work fine if the Plex Chromecast app is already up and running - however, if something else is casting, or even if the Chromecast is idle, all I get is the Plex splash screen saying 'ready to play', but the media in question doesn't end up playing.
I've tried reading through your code to debug it, but don't think I can be much help. All I can think of is adding some sort of delay between launching the Plex app and actually sending the play media command? I tried doing this myself but it looks like the 'play_media' command is what actually launches the app so not possible to add a delay anywhere.
Hope this is useful information for debugging!

This is my code - selection is the result of a search, and cast is my Chromecast (these assignments have been done already):
cast.wait()
pc = PlexController()
cast.register_handler(pc)
cast.wait()
pc.play_media(selection)

I know I have an extra wait() since I thought that might help the Chromecast get ready to receive the play command, but it doesn't seem to make a difference.

My example don’t handle this. That up the user. You can check if the current running app is plex, if not you can launch the app manually then do the play_media. I thought chromecast should handle the running app. Have try tried enabling som logging so you see what happens?

I’m only on mobile atm but is seems like it it’s a bug in the pychomecast send_message, the call_back isn’t used.

So I had some time to dig into this today and I think I have a hacky solution. I used your tip of checking the current app - if it is Plex already, I just use play_media normally. If not, then I start the app manually, wait 5 seconds (seems to be enough time for it to become ready) and then play_media and it works :) code below in case it helps:
		if cast.status.display_name == 'Plex':
			pc = PlexController()
			cast.register_handler(pc)
			pc.play_media(selection)
		else:
			cast.start_app('9AC194DC')
			pc = PlexController()
			cast.register_handler(pc)
			cast.wait()
			time.sleep(5)
			pc.play_media(selection)

I know you mentioned it being a bug in pychromecast not using a callback, and I tried looking into that but it went over my head :) if you're able to crack that I'd be more than happy to test out.

If you ask for the cast.status.display_name in a loop, will it eventually say 'Plex' when it's ready?

@pkkid Great suggestion :) it's definitely ready in less than 5 seconds so this works a lot better! Code below, but if there's a better way to loop let me know - thanks again for the tip!
		if cast.status.display_name == 'Plex':
			pc = PlexController()
			cast.register_handler(pc)
			pc.play_media(selection)
		else:
			cast.start_app('9AC194DC')
			pc = PlexController()
			cast.register_handler(pc)
			current_app = cast.status.display_name
			while current_app != 'Plex':
				current_app = cast.status.display_name
				time.sleep(1)
			pc.play_media(selection)

I’m sure there is a better way to do this. I’ll looking into it when I try to recreate the launch issue.

I have updated the branch with a new method called block_until_playing use this one if you want to ensure that the your program does not exit until the callback is done.

Closing this a my PR was merged in pychromecadt


Add call for bundled service children retirement

All direct service children of the parent service in a bundled service need to go through the create_retire_subtasks method so that child vms get retired as well.
WIP'd cause requires automate changes.

@tinaafitz
@miq-bot add_label retirement

Tested here: https://github.com/ManageIQ/manageiq/blob/master/spec/models/service_retire_task_spec.rb#L45

bump @mkanoor @gmcculloug

bump @mkanoor


[bug]make报错

make时提示：
/usr/local/nginx-file/nginx-http-flv-module-1.2.8/ngx_rtmp.c:817:7: error: 'ngx_listening_t {aka struct ngx_listening_s}' has no member named 'post_accept_timeout'
ls->post_accept_timeout = 60000;
objs/Makefile:1302: recipe for target 'objs/addon/nginx-http-flv-module-1.2.8/ngx_rtmp.o' failed

#191 #194 #200 #201


Rabin_Karp and KMP Algorithm in Python

I am contributing as a part of DCP'21.
I wish to add python programs for Rabin_Karp and KMP Algorithms in Strings folder.

/assign


Fixed: SPIUtils.httpDate(_) left a visible Optional() on macOS

SPIUtils.httpDate(_) would give output containing an Optional() around the year. For example,
let date = Date(timeIntervalSince1970:1249648496)
print(SPIUtils.httpDate(date))

prints the string Fri, 07 Aug Optional(2009) 12:34:56 GMT. This is obviously not a valid HTTP date.
Description

These changes simply unwrap the optional into a new variable called year and use that in the format string instead.
Motivation and Context

Kitura uses httpDate to set the value for a cookie's expiration, which was not a valid HTTP date.
How Has This Been Tested?

A test case has been added to test the new code and ensure that httpDate(_) returns a valid HTTP date.
Testing has been performed on macOS, since that was the origin of the bug. To be honest, I'm not totally sure how to test on Linux, as I don't have a Linux box at my disposal. I'm sure there's some kind of magical Docker thing I could do..?
Checklist:

[x] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[x] If applicable, I have added tests to cover my changes.

@gormster The code looks good. I'm waiting for your CLA to be "processed". We are also in the midst of migrating to the 07/25 driver of Swift 3.0, which will affect your PR.

I can confirm we've received the signed CLA (thanks)

Thank you very much for your proposed fix.
I just finished the migration of Kitura to Swift 3 07/25. As part of that effort I incorporated your fix into the changes I was already making.
Once again thank you very much.


Improve repository trending rank

Description

Change sorting algorithm (ordered by stars, or other better scheme)
Add language filter
Add collections entrance showed the related collection of the repository
Add top contributors list which showed the most active contributor in the specify period

Design draft (design by @ChenlingLu):

@pengzhouhu, Hi, recently, we are updating the homepage rankings on the homepage. If you have better suggestions on the sorting algorithm, you can leave a message here.


PICNIC-528 - Hello Bot Banner

Special cases conversations with hellobot to have its own banner.

@hyperobject thank you, waiting on @cecileboucheron to take a pass as well 💯

👍