math: add round related functions

Pull Request Test Coverage Report for Build 3457
Details

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 82.259%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

math/round.mbt
0
4
0.0%

Totals

Change from base Build 3456:
-0.07%

Covered Lines:
4085

Relevant Lines:
4966

💛  - Coveralls

thanks for your contributions! I rebased your changes in #1119

already landed in master


Customization for Jupyter notebook

Currently, syntax highlight is hard-coded for Python, and could cause problem when using notebook for other languages.
Since all languages' notebook is using file extension .ipynb, it is impossible to set highlight language based on it. We could let highlightJS dynamically decide itself, but it is considered unreliable.
Thus, to have a repo-based customization/configuration for notebook is needed, allow repository owner to decide which language to highlighted as.
Here is the basic proposal:
Based on the fact we already uses .gogs directory for issue/pull request templates, we can add another file ipynb.ini or ipynb.json (format to be determined, but prefer .ini like .editorconfig).
Basic options (with examples )are:

language: go: define overall language
{file}: bash (define language to individual file)

These options can co-exist.

I would disagree on the configuration idea. It has some code overhead and notebook syntax highlighting might not work out of the box. As I stated in https://github.com/gogits/gogs/issues/3715 , the json of the notebook contains information about the language in the ipynb-notebooks, on document-level and/or on cell-level. We should map those values to appropriate syntax highlighting classes and disable syntax highlighting for unknown languages (or detect it).

@prinsherbert I'm not understand very well here, is it possible to have multiple language in a single ipynb file?

it is possible to have a notebook with different languages e.g. with cell magics but I am not entirely sure if jupyter itself handles highlighting properly in that case.

it is possible to have a notebook with different languages

This probably too complicated cases to handle...
But in general, you don't want R code to be forced highlighted as Python, do you?

No I don't think so, to be honest it would be nice to have the option to let highlights.js decide.

OK... maybe I should just say... fork Gogs and make it whatever you want..

:) fair point

Perhaps what @prinsherbert is suggesting here is that the syntax highlighting language can be selected based on metadata in the .ipynb file itself.
Here's a concrete example:
{
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "pygments_lexer": "ipython3",
  }
 },
}

As you can see the pygments lexer and language are specified as part of the ipynb metadata. This could be passed as a hint to highlightJS.


Provide MacOS executable files

Please provide files that can be downloaded to a Mac and run in a Terminal window.

There is a build.mac script that creates executable files for MacOS, but it doesn't sign or notarize them. I don't know how to do the latter, and I'm not in the Apple Developer program. I hope someone with those qualifications will volunteer to help.


Data freezes

Added code allowing for different versions (data freezes) of RMC/MPC on a single gnomAD version.
Major changes:

Updated basics.py to contain only generic resources that will be reused between gnomAD versions (bucket paths, amino acid/gene-related resources)
Added new script rmc.py within GRCh37 resources; this contains all RMC/MPC related resources and adds data freezes

Minor changes:

Removed ukbb.py from GRCh38 resources (no longer necessary)
Added module docstrings to GRCh37 resource files
Updated imports in scripts

Will add bucket and move current resources once this PR has been approved/merged

Planned structure: For each freeze, code will be stored in a separate git branch. If the new freeze is on a different genome build/gnomAD version requiring different resources from the previous freeze, these resources will be stored in a separate bucket, e.g. a GRCh37 bucket and a GRCh38 bucket. Within the code: the gnomAD version, genome build, and freeze are constants, and will be updated as freezes change.

Note: It looks like TOTAL_EXOME_BASES and TOTAL_GNOMAD_MISSENSE were removed from basics.py but were not inserted into rmc.py or anywhere else.


Copying Doesn't Work on First Click

A second click copies, but not on first click. This is copying via the data-clipboard-text attribute. The element is dynamically generated. Here's a rundown of the code I'm using...

That's because you don't another event listener. See https://github.com/zenorocha/clipboard.js/blob/master/demo/constructor-selector.html.

Took me a moment to understand what you meant, but my mistake! You don't need another event listener because the constructor itself is an event listener. Thank you.


Remove AppsAndFeaturesEntries from HydrusNetwork.HydrusNetwork v475

Microsoft Reviewers: Open in CodeFlow

URL:
Invalid URI: The hostname could not be parsed.
(Automated message - build 891)


Activity notifications disappear after viewing one item in feed

Steps to reproduce:

Have multiple mention notifications in Activity feed for the same channel and be on Teams tab.
Click to activity tab
Read top notification in activity feed. (note that all the notifications (red bubble number) above Activity disappear even though I only read one notification.)
Click back to Teams tab
Click back to Activity tab, now all unread notifications are no longer bold (unread).

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

ID: 41ddf8ce-fda9-ee9d-d96a-801f9a2f66b7
Version Independent ID: 9aa5a49f-c440-95a8-83a1-9d38bdaeda39
Content: Known issues for Microsoft Teams - Microsoft Teams
Content Source: Teams/Known-issues.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@alexDrinkwater thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


fix: vulnerabilities for normalize-url

main build and upcoming PR builds failed due to this.

This won't be necessary anymore 😊


Two-way directive/v-model

I got a question/issue. I have a hidden form input that gets updated via a jquery function (it's part of an autocomplete). I tried putting a v-model on that form input but I learned that it won't update. So I tried adding a custom directive:
Vue.directive("member-id", {
    "twoWay": true,
    bind: function () {
        this.handler = function () {
            console.log(this.el.value);
            console.log($(this).val());
            this.set(this.el.value);
        }.bind(this)
        this.el.addEventListener('change', this.handler);
    },
    unbind: function () {
        this.el.removeEventListener('change', this.handler);
    }
});

And I added this: v-member-id="newMember.id" to the form input. But the newMember.id is not getting updated....
Thanks,

Is the console.log getting called?

No which is weird. If I put a console.log('test') right before this.handler it shows once when the page gets loaded.

Note when you are setting the value programmatically, either via input.value = ... or $(input).val(...), it does not trigger a chagne or input event. If you can, you should update your model directly without relying on hidden inputs.
Closing as this is not a Vue bug, feel free to continue the discussion though.

Oh, that make sense. Thanks. Is there a way you recommend me? Is there a way for me to set the model directly but via jquery function?
Thanks,

Setting the model is just this.newMember.id = .... You don't have to do it via a jquery function.

Well the thing is that I have a autocomplete function to chose the member. Depending on what they chose, the id is set. I use a jquery plugin to do the autocomplete (That's before I learned about vuejs). So this is how I set it:
$('.autocomplete').autocomplete({
			serviceUrl: url,
			onSelect: function (suggestion) {
				var hidden_input = $(this).attr('name') + '_id';
				$("input[name='" + hidden_input + "'").val(suggestion.data);
			}
		});

Initialize autocomplete in the lifecycle hooks of the component that needs it, so that you have a reference to the component instance:
// ... your component
ready: function () {
  var self = this
  $('.autocomplete', this.$el).autocomplete({
     // ...
     onSelect: function (suggestion) {
       self.newMember.id = suggestion.data
     }
  })
}

And a good practice is to also teardown the autocomplete in the component's beforeDestroy hook.

Of course... -.- Thanks a lot!


Disabling test that will be done on the new rekt test for new channel

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Replaced by https://github.com/openshift-knative/eventing-kafka-broker/commit/5e1d1c1b53691e6374a7e69bf1e0cadd7a717b02#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R39

/cherry-pick release-v1.2

/hold

Should we target 1.2 instead of soon-to-be-released 1.1?

/unhold
this test is not compliant:
https://github.com/knative/eventing/issues/5756

actually, let's target 1.1


Express's Middleware type

In my app, I'm using following error handler, which would break in case of err === null. Why is the error parameter allowed to be null in Middleware type?
export default function errorHandler(err, req, res, next) {
  const errorDetails = err.stack || err;
  ...
}

I would rather see something like this:
declare type NextFunction = () => mixed;
declare type NextFunctionWithError = (err?: Error) => mixed;
declare type Middleware =
    ((req: Request, res: Response, next: NextFunction) => mixed) |
    ((error: Error, req : Request, res: Response, next: NextFunctionWithError) => mixed);

What do you think?

This may also explain the failure of the Express definitions to accept a 404 error handler:
app.use(function(req, res, next) {

FlowType gives me this error:
  110: app.use(function(req, res, next) {
               ^ function. Could not decide which case to select

cc @bassettsj & @gcedo re Express libdef

@jtlapp Flow can not decide which case to select because it ignores arities. You have to provide type of at least first different argument.

Thanks @honzabrecka. There appears to be some additional ambiguity in the following:
declare interface express$RouteMethodType<T> {
  (middleware: express$Middleware): T;
  (...middleware: Array<express$Middleware>): T;
  (path: string|RegExp|string[], ...middleware: Array<express$Middleware>): T;
}
declare interface express$RouterMethodType<T> {
  (middleware: express$Middleware): T;
  (...middleware: Array<express$Middleware>): T;
  (path: string|RegExp|string[], ...middleware: Array<express$Middleware>): T;
  (path: string, router: express$Router): T;
}

Revising them to the following would allow you to just specify the callback type, as well as prevent an empty parameter list from being valid:
declare interface express$RouteMethodType<T> {
  (middleware: express$Middleware, ...rest: Array<express$Middleware>): T;
  (path: string|RegExp|string[], ...middleware: Array<express$Middleware>): T;
}
declare interface express$RouterMethodType<T> {
  (middleware: express$Middleware, ...rest: Array<express$Middleware>): T;
  (path: string|RegExp|string[], ...middleware: Array<express$Middleware>): T;
  (path: string, router: express$Router): T;
}

My project adds session information to the request object and helper methods to both the request and response objects. To accommodate that, I had to extend the express request and response types with my own types and then write wrapper classes for the application and the router to accept signatures that us my extended request and response.

Also, in #454 I'm arguing for the Express definitions to employ ErrnoError.

@jtlapp I have the same dilemma—ideally we would not need to wrap the class, as mutating the request is common with middleware.
Posted Questions:

https://github.com/flowtype/flow-typed/commit/fe8240e04355ce44d1cdb6bfb5766030a076d196#commitcomment-20036791
http://stackoverflow.com/questions/40903212/express-middleware-mutate-request-type-flowtype

If you were to update the libdef, what would you change to avoid wrapping? I could not figure it out...
@bassettsj I'm curious if you have any ideas?

I think it would have to be possible to parameterize the libdef on a per-module basis -- that would mean a change to FlowType. I am quite pleased with me extensions of the Express request and response classes, because FlowType is enforcing my extensions.

@bassettsj @jtlapp  My approach so far has been to have the express$Application polymorphic over the request & response type, allowing me to pass in types that extend both at instantiation. The problem with this is that it's important that you do not try to access the properties on the extended times before you add the corresponding Middleware.

possible to parameterize the libdef on a per-module basis

@jtlapp What would this look like in your opinion?

Maybe something like this to snag a type directly:
import type { express$Application<MyRequestType, MyResponseType> } from 'express';

It gets tricker loading modules. Maybe something like this:
var express = require('express')<MyRequestType, MyResponseType>;
var app = express();
var router = express.Router();

It would also be possible to do without the module-loading syntax:
import type { express$Application<MyRequestType, MyResponseType> } from 'express';

var express = ((require('express'): any): express$Application);
var app = express();
var router = express.Router();

If we need to name the particular parameterization:
import type { MyAppType = express$Application<MyRequestType, MyResponseType> } from 'express';

var express = ((require('express'): any): MyAppType);

But libdefs would need the option of assigning default parameter types.

Hmmm... this is a tough one. I think you could improve this by making sure to define that class as extending the base class and make sure that you add the type definitions for them to middleware functions:
// @flow
const app = express();
app.use(session(...));
declare class session$Request, extends express$Request {
    session: { [key: string]: mixed };
}

app.use((req: session$Request, res: express$Response, next: express$NextFunction): void => {
  req.session.user = { id: 2 };
  next();
});

I think we will probably have to add parameterization to the lib defs, but I am not sure what the best way to do this. We should look to see how definitely-typed accomplished this and see if we could follow their lead.

Ah, yes, similar to what I have been using.
I'm also adding session information to the request, but this is the problem I see with this approach:
import express from 'express'

// Referencing express$Request  & express$Response only for example. These classes do not exist in the global scope.
class MyResponseType extends express$Response {}
class MyRequestType extends express$Request {
    session: string;
}

const app: express$Application<MyRequestType, MyResponseType> = express()

app.use('/', (req: MyRequestType, res: MyResponseType, next: express$NextFunction) => {
    console.log(req.sessoin) // ERROR: req has not been extended yet
})

app.use(session({}) /* extends req to be MyRequestType */ )

The order at which you add the middleware matters. Am I missing something?

Right @mwalkerwells. My solution doesn't allow for the type to change over time. FlowType wouldn't be able to protect me from using properties before I added them.

@bassettsj's solution looks good too, except that declarations are global, so libdefs could only be parameterized once across the entire application. Maybe that's desireable?

After a bit of reading, it seems Typescript uses a concept of "Declaration Merging": https://www.typescriptlang.org/docs/handbook/declaration-merging.html
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/express-serve-static-core/express-serve-static-core.d.ts#L12
If I understand this correctly, applying this concept in flow, would mean I should be able to do the following (doesn't work):
app.use(session({}) /* extends req to include session */ )

// Indicate that req now includes session. Order still matters, but a bit better...
declare class express$Request {
  session: { [key: string]: mixed }
}

app.use('/', (req: express$Request, res: express$Response, next: express$NextFunction) => {
    console.log(req.sessoin) // Ideally works, but doesn't
    next()
})

@bassettsj I do not believe your approach works, since that middleware is incompatible. Functions are contravariant over their arguments, meaning you could only use a function that has arguments that are subclasses (or the same) as the original arguments.

@jeffmo @gcanti  Thought either of you might know how to best model this. Without workarounds: A) statically typing a polymorphic express$Application at instantiation, where the order at which you add middleware is fragile, or B) without wrapping express$Application in a new class...
...how could we have the types ofreq: express$Request & req: express$Reponse evolve over type as new middleware is added?

Oh you're right @mwalkerwells. I missed that about @bassettsj's post. I thought he had written this, which is close to the TypeScript solution:
const app = express();
app.use(session(...));
declare class express$Request, extends express$Request {
    session: { [key: string]: mixed };
}

app.use((req: express$Request, res: express$Response, next: express$NextFunction): void => {

@bassettsj Arguably, one advantage to this diff is that the default "()" export is polymorphic, meaning that you can do the following:
1
const app = express()
app.use((req: express$Request, res: express$Response, next: express$NextFunction) => {
    next()
})

OR 2
const app = express()
app.use((req: MyRequest, res: MyResponse, next: express$NextFunction) => {
    console.log(req.myspecialvar)
    next9()
})

OR 3
const app: express$BaseApplication<MyRequest, MyResponse> = express()
app.use((req: MyRequest, res: MyResponse, next: express$NextFunction) => {
    console.log(req.myspecialvar)
    next9()
})

With this approach, the middleware type is defined by the intersection of all the middleware you pass to the express app...but with the option of statically bounding (3) if you want additional type safety.

@jtlapp How did you avoid this issue if you're extending the class? I just put up a pull request: https://github.com/flowtype/flow-typed/pull/508

I wrote wrapper classes for the Express application and the router, and I use those instead. My wrapper classes have to duplicate the method signatures. Actually, I'm not entirely happy with the current libdef (see above), so i also added my own embellishments. Unfortunately, my mods are pretty specific to my application, so it doesn't make sense to make it available for others to use too.

Sorry, I should have been more specific. By "this issue", I meant what I had in my diff: https://github.com/flowtype/flow-typed/pull/508#issue-193245089.
I actually really like this approach... :)
Thanks, I now understand your approach when you say "wrapper classes have to duplicate the method signatures."

I'll have to look at your #508 mod more closely. I've pulled out most of my app-specific stuff, so you can see how I did the wrapping:
// @flow

/******************************************************************************
Express request/response extensions and supporting wrapper classes.
******************************************************************************/

var express = require('express');

/*::
declare class _SessionRequest extends express$Request
{
    // custom extensions

    userInfo: {
        userID: number;
        displayName: string;
        privileges: string;
    };

    // request internals

    connection: {
        remoteAddress: string;
    };
    requestTimeUTC: number;
}

declare class _SessionResponse extends express$Response
{
    // custom extensions

    sessionState: any; // replace 'any' with your custom representation
}

// adapted from express$NextFunction
declare type _SessionNext = (err: ?ErrnoError) => void;

// adapted from express$Middleware
declare type _SessionMiddleware =
    ((req: _SessionRequest, res: _SessionResponse, next: _SessionNext)
        => mixed) |
    ((err: ErrnoError, req: _SessionRequest, res: _SessionResponse,
        next: _SessionNext) => mixed);

declare interface _SessionRouteMethodType<T>
{
    // adapted from express$RouteMethodType
    (middleware: _SessionMiddleware, ...extra: Array<_SessionMiddleware>): T;
    (path: string|RegExp|string[], ...middleware: Array<_SessionMiddleware>): T;
}

declare interface _SessionRouterMethodType<T>
{
    // adapted from express$RouterMethodType
    (middleware: _SessionMiddleware, ...extra: Array<_SessionMiddleware>): T;
    (path: string|RegExp|string[], ...middleware: Array<_SessionMiddleware>): T;
    (path: string, router: _SessionRouter): T;
}

declare class _SessionRouter
{
    // adapted from express$Route and express$Router
    constructor(options?: express$RouterOptions): void;
    all: _SessionRouteMethodType<this>;
    get: _SessionRouteMethodType<this>;
    post: _SessionRouteMethodType<this>;
    put: _SessionRouteMethodType<this>;
    head: _SessionRouteMethodType<this>;
    delete: _SessionRouteMethodType<this>;
    use: _SessionRouterMethodType<this>;
}

declare class _SessionApplication extends _SessionRouter
{
    // adapted from express$Application
    constructor(): void;
    locals: {[name: string]: mixed};
    mountpath: string;
    listen(port: number, hostname?: string, backlog?: number, callback?: _SessionNext): Server;
    listen(port: number, hostname?: string, callback?: _SessionNext): Server;
    listen(port: number, callback?: _SessionNext): Server;
    listen(path: string, callback?: _SessionNext): Server;
    listen(handle: Object, callback?: _SessionNext): Server;
    disable(name: string): void;
    disabled(name: string): boolean;
    enable(name: string): void;
    enabled(name: string): boolean;
    engine(name: string, callback: Function): void;
    // FlowType does not allow get() to be declared
    // get(name: string): mixed;
    set(name: string, value: mixed): mixed;
    render(name: string, optionsOrFunction: {[name: string]: mixed}, callback: express$RenderCallback): void;
}
*/

class RouterWrapper
{
    // largely calls router via apply(), so the type doesn't matter
    /*:: router: any; */

    constructor(options, router) {
        if (router)
            this.router = router;
        else
            this.router = express.Router(options);
    }

    use(/*arguments*/) {
        // Apps only call use() at initialization, so it's okay to have a
        // heavy implementation. Express requires its own router type.

        let args = Array.prototype.slice.call(arguments);
        for (let i = 0; i < args.length; ++i) {
            if (args[i] instanceof RouterWrapper)
                args[i] = args[i].router;
        }
        return this.router.use.apply(this.router, args);
    }

    get(/*arguments*/) {
        return this.router.get.apply(this.router, arguments);
    }

    post(/*arguments*/) {
        return this.router.post.apply(this.router, arguments);
    }

    put(/*arguments*/) {
        return this.router.put.apply(this.router, arguments);
    }

    delete(/*arguments*/) {
        return this.router.delete.apply(this.router, arguments);
    }
}

class AppWrapper extends RouterWrapper
{
    constructor() {
        super(null, express());
    }

    listen() {
        return this.router.listen.apply(this.router, arguments);
    }

    disable(name) {
        this.router.disable(name);
    }

    disabled(name) {
        return this.router.disabled(name);
    }

    enable(name) {
        this.router.enable(name);
    }

    enabled(name) {
        return this.router.enabled(name);
    }

    engine(name, callback) {
        this.router.engine(name, callback);
    }

    /*
    // TBD: add support for this additional signature. The base router uses
    // get() only as an HTTP method.
    get(name) {
        return this.router.get(name);
    }
    */

    set(name, value) {
        return this.router.set(name, value);
    }

    render(name, optionsOrFunction, callback) {
        this.router.render(name, optionsOrFunction, callback);
    }
}

//// EXPORTS //////////////////////////////////////////////////////////////////

/*::

// The $-prefixed variables correspond to their namesake Express objects.

export type $Application = _SessionApplication;
export type $Router = _SessionRouter;
export type $Request = _SessionRequest;
export type $Response = _SessionResponse;

// NextFunc defines the callback that Express "middleware" handlers use.

export type NextFunc = _SessionNext;

// StackHandler provides the usual signature for a "middleware" handler.

export type StackHandler =
        (req: $Request, res: $Response, next: NextFunc) => void;

// FormFields generically defines the value of req.body when populated by an HTML input field. Only use this when the input field names are dynamic. If the names can be hardcoded, instead define them as a specific type of object.

export type FormFields = { [key: string]: string };
*/

exports = module.exports = function () /*:$Application*/
{
    return ((new AppWrapper() /*:any*/) /*:$Application*/);
};

exports.static = function (root /*:string*/, options /*?:Object*/)
        /*:_SessionMiddleware*/
{
    return express.static(root, options);
}

exports.Router = function (options /*?:express$RouterOptions*/) /*:$Router*/
{
    return ((new RouterWrapper(options) /*:any*/) /*:$Router*/);
};

@jtlapp My diff was just merged & should reduce some of your code duplication, making typing the request/response mutation much easier.
https://github.com/flowtype/flow-typed/blob/master/definitions/npm/express_v4.x.x/flow_v0.28.x-/test_overrideUseMethodClassExtension.js

Shouldn't error in the middleware be of type any?


Clarify health metrics in workspaces

We'll be adding a health metric to our workspaces for repo insights that differs from activity.
We need to communicate more information about this metric with our users both as a definition and how it fits in context with the other metrics we're currently tracking.

.take

@DevJSter this isnt ready yet. Bur there are other issues open. So check those out.


Bug/dev 3163 charts support lg sm nums

Briefly describe your changes
FIXED ALL ESLINT ERRORS IN THE PROJECT!!!!!!!!!!!!
If "Round to Decimal points" setting is blank then roundTo is undefined and on load added code to SKIP rounding.  The effect on other data sets is unknown but this is needed to fix 3163 edge case.
For small numbers with decimals, the rounding still occurs if roundTo set to 0 but it leads to nonsensical X Axis values.  The fix in this code is to limit the number of tickmarks to not exceed the MAX of the data.
There is also a slight change to that if there are negative numbers which means min < 0
Checklist before requesting a review

[x] My pull request was branched from and targets the test branch
[x] I have performed a self-review of my code
[x] I have manually tested all packages affected (bonus points for automations)
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have checked to ensure there aren't other open pull requests for the same change

Did you test your feature in the following environments?

[x] Standalone Component
[ ] Standalone Full Editor
[ ] CDC Internal Checks

Spent hours on this trying to figure out why line chart is not drawing...  my last conclusion was that something getting merged in from test is breaking it when I thought it was something in my edits.
I may still need to revisit fixing commas and maybe even fixing the small vs big data... dont know without getting line charts working on this branch.

The return was blank returning nothing.  But eslint barked and
we had previously tested returning a null as an equivalent.
From: Adam Doe @.>
Sent: Tuesday, March 21, 2023 6:43 PM
To: CDCgov/cdc-open-viz @.>
Cc: Tim Turner @.>; Author @.>
Subject: Re: [CDCgov/cdc-open-viz] Bug/dev 3163 charts support lg sm nums (PR #600)
@adamdoe commented on this pull request.

In packages/chart/src/components/Filters.jsx https://github.com/CDCgov/cdc-open-viz/pull/600#discussion_r1144059461 :

@@ -38,6 +38,7 @@ const useFilters = () => {
// reset to first item in values array.
newFilters.map(filter => {
filter.active = filter.values[0]

 return null

Did you test this? I know we've run into issues with forEach causing issues before with eslint but I wonder if we should be returning filter instead of null here.
—
Reply to this email directly, view it on GitHub https://github.com/CDCgov/cdc-open-viz/pull/600#pullrequestreview-1351486162 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A5FDQ53PPPLEM5QLOY7SIC3W5IVFNANCNFSM6AAAAAAVF5LMWM .
You are receiving this because you authored the thread.Message ID: @.***>

fix: In order to fix the large tooltip icons it looks like you should be able to play with the display property. Try display: block or display: flex with other styles to see if you can reduce the icon size. It looks like you should be able to reference other icons in other panels in the editor.

I did try to change that between block, inline, flex etc. and it would not fix the problem.  I tried everything I could think of.  The only thing I could do was set a width and height but then I think that may mess up the text next to it.  Very baffling as the code looks the same as the code in single component in same location yet does not work in editor.  (FYI THIS HAS BEEN BROKEN FOR AWHILE AND NOT SOMETHING I BROKE)

fix: seeing duplicated tick values in the full editor when using datasets. I'm also seeing them in the standalone editor when removing the hardcoded number of ticks values.

This has been fixed.


Feature transform matrix to raw echelon form

In this extension, I lacked the function of bringing the matrix to an raw echelon form, so I decided to add it. To make this transformation, you need to select the matrix and then press  Shift + Ctrl + Alt + T  (or Shift + Cmd + Alt + T on Mac). I also added description of this functionality in README.md with examples

It's a very useful feature!

Thanks for your PR!
I will check it and update it soon.


Verticle button css is backwards

The verticle button CSS is backwards for me. As you can see from the screenshot, the button radiuses are in the wrong spot. Also wouldn't the up button need to be created before the down button?

Thank you for the bug report. Fixed in 1.4.1


Include Color in Options

Hi,
Can you please include an option for style. We have a scenario where the highlight color is selected by user and hence we cannot have predefined class. So it will be better if you can just add a style option, which will supersede className option if both specified.
I have written the code for same and included in the attached. Please check comment "Code by AMIT" for the area where I have updated the code.
Thanks,
mark-amit.txt

Hi @amitpareek,
Thanks for submitting.
This request is a duplicate of #106. Please have a look at my answer over there, this is the suggested solution.

Hi @julmot ,
The solution worked as expected. Is there a performance overhead using this method? Does it reiterate the dom by 1st adding Mark and options and then again iterate each mark to set attributes

Is there a performance overhead using this method?

It depends on how many DOM nodes you have. Generally it's not significant.

Does it reiterate the dom by 1st adding Mark and options and then again iterate each mark to set attributes

No, the callback will be called on the fly. There's no further iteration for the each callback.

Perfect! Thanks!
On 1 June 2017 at 17:31, Julian Motz<EMAIL_ADDRESS>wrote:

Is there a performance overhead using this method?
It depends on how many DOM nodes you have. Generally it's not significant.
Does it reiterate the dom by 1st adding Mark and options and then again
iterate each mark to set attributes
No, the callback will be called on the fly. There's no further iteration
for the each callback.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/julmot/mark.js/issues/142#issuecomment-305472923, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAYTKgHJySNFCZ-b1vWreLUb2yDAojsMks5r_qgPgaJpZM4Nsyjc
.

--
Amit Pareek
Web Consultant,
Cakewalk Software Consultancy, LLP (formerly Cakewalk I.T. Solutions)
M: +91 -<PHONE_NUMBER>
E<EMAIL_ADDRESS>


Blur away keyboard

Hello,
I'm using the search bar to filter a listview on change of the search bar text. Is there currently any way implemented to hide the keyboard the moment I press something in the listview - like a blur() function?
Thanks
Philipp

Sorry, forgot to write my current solution:
var RCTUIManager = require('NativeModules').UIManager;
blur: function() {
RCTUIManager.blur(React.findNodeHandle(this.refs.searchbar));
},

Hi @PhilippKrone Check out the keyboardDismissMode of ScrollView : http://facebook.github.io/react-native/docs/scrollview.html#keyboarddismissmode. It should theretically work for ListView too because it's implemented on top of ScrollView.

Closed as there is more than 1 week without response. Feel free to reopen it.


New file for my slide

Add the new file botsej2kx
I created a branch, a file, a contribution, a pull request

It was a pleasure for me to learn the basics here, so I will continue to perform my skills everyday. So I can join a collaborating team on interested subjects


Error on query file in google driver

I'm using google driver api for my Android app and have some troubles with it. I'm using query builder to get File by title, then I get count metadata at onSuccessfulListener. I got count = 1 but in my driver has no file with thats title. Sorry about my bad English. Anyone can fix it?

how about now?

I have search but get nothing. I guess it is not real time? I add 5 file with the same title, and query, I got 5. Then I delete all of them (also delete them in recycle bin), after that I query but I got 5 :((

@GReaper13  I found some index about it . https://developers.google.com/drive/android/files#lifecycle_of_a_drive_file

@GReaper13  how do you get the file‘s thumnail by api?

I am using query build by title. (Query.Builder().addFilter(Filters.eq(SearchableField.TITLE, "title")).build();) Then onSeccessfulListener I get count file by metadata.getCount().
@GReaper13

Yes. you can get the metadata. so ?

That. I log metadata.getCount() for each run. First, my google driver has 1 file with title "title". I run my app and get log: 1. Then, I delete that file in google driver (also delete it in recycler bin), then I run may app again. Log is 1?? why? (both of them have networking)

I didn't test it. What will it return?

It return MetadaBuffer, not Metadata, and it doesn't have isTrashed().

This issue tracker is for issues related to the sample code. For general Q&A please see the support page: https://developers.google.com/drive/android/support


Fixed forecast API path for OCI overview

The OCI overview page is still generating errors, related to the forecast API -- missing a mapping in forecastUtils.
https://issues.redhat.com/browse/COST-2358

Codecov Report

Merging #2410 (623df15) into main (8a960e4) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2410      +/-   ##
==========================================
- Coverage   70.43%   70.40%   -0.03%
==========================================
  Files         432      432
  Lines        8074     8077       +3
  Branches     1758     1759       +1
==========================================
  Hits         5687     5687
- Misses       2384     2387       +3
  Partials        3        3

Impacted Files
Coverage Δ

src/api/forecasts/forecastUtils.ts
25.58% <0.00%> (-1.92%)
:arrow_down:

Continue to review full report at Codecov.

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


Features/page reset password api

closed due to wrong branch name

closed due to the wrong branch name


[Landing page] Handle the signupQualifier for UseDot sign up with Google

Problem
The signupQualifier is not currently handled by the sign up with Google flow from UseDot, but it works when signing in with an email or phone number. That creates an inconsistent experience and could lead to bugs in NewDot if the expected data isn't present.
Solution
After sign up with google is fixed, make the signupQualifier work. Here is the original issue.

Woohoo, I got a PR up for review!

The PR for this on prod, can we close the issue?

Yep thanks.


Cannot find symbol variable INSTANCE_ID_SCOPE

Hi, after install this plugin and to build return this error "Error:(30, 41) error: cannot find symbol variable INSTANCE_ID_SCOPE"
What can be?
Thanks!

@mapeveri https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#compilation

Hi @macdonst I have installed it and you say.
This 4 items with corresponding versions.
Android Support Library version 23 or greater
Android Support Repository version 20 or greater
Google Play Services version 27 or greater
Google Repository version 22 or greater

@mapeveri do me a favor and run android update sdk --no-ui --filter "extra" from the command line and try rebuilding.

@macdonst I run again and same error:
src\com\adobe\phonegap\push\RegistrationIntentService.java:30: error: cannot fin
d symbol
GoogleCloudMessaging.INSTANCE_ID_SCOPE, null);
^
symbol:   variable INSTANCE_ID_SCOPE
location: class GoogleCloudMessaging
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileDebugJava'.

Compilation failed; see the compiler error output for details.

@macdonst any idea?. You can reopen this issue?.
Thank you

I have the same issue. Any solutions?

@kest85 I promise you that it is something wrong with your Android build environment. It's near impossible for me to debug from here.

Or related to the possible fact that you're trying to compile it through a badly-configurated IDE, as Eclipse or IntellijIDEA or even Android Studio.

Removing googleplayservices plugin fixed the problem.

I have the same error, but I need cordova-plugin-googleplayservices. How can I resolve?

Ask that plugin's author to upgrade to gradle-style dependency management.

I resolve downgrade to<EMAIL_ADDRESS>Compilation work, push notification receveid but not showing in emulator, is it normal?

Hi everyone... although this post is rather old, I was still experiencing the problem today.
As @macdonst said, the plugin is working, he tried it in different machines and it's working.
Digging around why I still had this problem, I saw that the plugin clearly states that it requires: Google Play Services version 27 or greater
I did a cordova plugin list and saw the following:
cordova-plugin-app-preferences 0.7.7 "AppPreferences" cordova-plugin-camera 2.2.0 "Camera" cordova-plugin-compat 1.0.0 "Compat" cordova-plugin-console 1.0.3 "Console" cordova-plugin-device 1.1.2 "Device" cordova-plugin-facebook4 1.7.0 "Facebook Connect" cordova-plugin-file 4.2.0 "File" cordova-plugin-file-transfer 1.5.1 "File Transfer" cordova-plugin-google-analytics 0.7.1 "Google Universal Analytics Plugin" cordova-plugin-googleplayservices 19.0.3 "Google Play Services for Android" cordova-plugin-image-picker 1.0.8 "ImagePicker" cordova-plugin-inappbrowser 1.4.0 "InAppBrowser" cordova-plugin-network-information 1.2.1 "Network Information" cordova-plugin-splashscreen 3.2.2 "Splashscreen" cordova-plugin-whitelist 1.2.2 "Whitelist" cordova-plugin-x-socialsharing 5.1.0 "SocialSharing" cordova-sqlite-storage 1.2.1 "Cordova sqlite storage plugin (core version)" ionic-plugin-keyboard 2.0.1 "Keyboard"
This is, although I had everything up to date with @macdonst suggestion of doing:
android update sdk --no-ui --filter "extra"
I still (don't know why) but had in my config.xml the following line:
    <plugin name="cordova-plugin-googleplayservices" spec="~19.0.3" />
So what I did was removing that line, then:
cordova plugin rm cordova-plugin-googleplayservices
and voilà!
Hope it helps


docs: add nanos world docs to showcase

Added nanos world documentation made with docusaurus

@gtnardy awesome site, thanks!

great site 👍
you might be interested to track https://github.com/facebook/docusaurus/issues/5624 where @Josh-Cena mentions customizing Sidebar categories to look like GitBook titles, quite similar to what you are doing:


Conductor Server Authentication & Authorization

Pull Request type

[x] Feature
[x] Bug
[x] Build related changes

Changes in this PR
Addition of feature to secure the APIs exposed by conductor server, based on a role based access, utilizing Spring Security and OAuth2.0. Adds feature https://github.com/Netflix/conductor/discussions/2189
Added Healtcheck to Dockerfile and docker-compose for conductor-server.
Updated Docker Image for Elasticsearch to 6.X in docker-compose as Conductor 3.X defaults to ES6.
Updated Conductor Server Docker file to be jdk 11 based as 3.X is Spring Boot and jdk 11 compatible. Fixes https://github.com/Netflix/conductor/discussions/2191 possibly.
Added new docker-compose-secure.yaml with default OAuth2.0 provider keycloak and conductor container in secure mode i.e. with Spring Security
The confg file being passed as a parameter was not being picked up by the JAR and hence added new method for handling the same.
Enabled indexing on docker-compose properties by default, as the elasticsearch container is both configured and pointed to, in docker-compose set-up. Fixes https://github.com/Netflix/conductor/issues/2175 possibly
Removed unnecessary imports from few java files.
Alternatives considered
No alternatives available other than securing the Jar hosting container (Docker) or host.

@maheshyaddanapudi Could you please break this PR into two parts - one which adds Spring Security and another for docker file changes? This would make it easier to review and also also cleanly separate out the changes. Thanks

@maheshyaddanapudi Could you please break this PR into two parts - one which adds Spring Security and another for docker file changes? This would make it easier to review and also also cleanly separate out the changes. Thanks

@aravindanr I understand. There are a few commits which have both the changes. Hence the easiest or fast way to segregate them for me, would be to delete the forked repo, first checkin the security changes and submit a PR. Once that is done, I can add Docker changes and create another. Does that sound ok ?

Wil create seperate pull requests for securit & docker changes

https://github.com/Netflix/conductor/pull/2200
Created a seperate PR for Security Feature

https://github.com/Netflix/conductor/pull/2206
Created a seperate PR for Docker & Docker Compose Bugs & Features


Tests in lazyLoading engine doesn't work

I can't seem to get any type of test to run in a lazy engine.
My test-helper.js file looks like this:
import resolver from './helpers/resolver';
import {
  setResolver
} from 'ember-qunit';
import preloadAssets from 'ember-asset-loader/test-support/preload-assets';
import manifest from 'dummy/config/asset-manifest';

preloadAssets(manifest);
setResolver(resolver);

But then I get a bunch of errors, and none of the tests are even run:
Uncaught TypeError: this.doneCallbacks.pop(...) is not a function
    at Class.asyncEnd (adapter.js:14)
...
Uncaught TypeError: Cannot read property 'assert' of undefined
    at Class.asyncStart (adapter.js:10)

My main dependencies look like this:
{
  "dependencies": {
    "ember-cli-babel": "~5.2.0",
    "ember-cli-htmlbars": "~1.1.1",
    "ember-cli-shims": "~1.0.2",
    "ember-data": "~2.11.0",
    "ember-source": "~2.11.0"
  },
  "devDependencies": {
    "broccoli-asset-rev": "~2.5.0",
    "ember-cli": "2.11.0",
    "ember-cli-dependency-checker": "~1.3.0",
    "ember-cli-htmlbars-inline-precompile": "~0.3.3",
    "ember-cli-qunit": "~3.1.0",
    "ember-cli-uglify": "~1.2.0",
    "ember-engines": "0.4.0",
    "ember-load-initializers": "~0.6.3",
    "ember-resolver": "~2.1.1",
    "loader.js": "~4.1.0"
  },
  "peerDependencies": {
    "ember-engines": "0.4.0"
  }
}

When I set lazyLoading: false in my index.js, everything works as expected.
Is there anything else I need to do? Or do tests simply not work for lazy engines at the moment at all?

So this issue is related to https://github.com/emberjs/ember-qunit/issues/246. Basically, with QUnit 2.x you can't control tests async starting/stopping outside a test (which makes sense), but this leads to issues because all RSVP Promises use asyncStart and asyncStop on the testing adapter, regardless of if they're in a test or not.
I'm unsure of the proper fix since I haven't had time to dig in. So if you can mess around with it and hopefully come up with a path forward, that would be helpful!

I forked ember-qunit and played around a bit and got it working with my app.
I changed adapter.js a bit:
https://github.com/mydea/ember-qunit/blob/fix-async-behaviour-outside-tests/lib/ember-qunit/adapter.js
Not sure how "pretty" this change is and if it might have negative side effects somewhere? But the tests work as expected for me now.
If that would work for you, I'll make a PR, or make other changes if someone can point me in the right direction.


PHP 7.4.5 installed correctly, but apache is still using 7.4.3 (from ubuntu repositories)

Output
PHP Version | 7.4.3
Expected Result
PHP Version | 7.4.5
Command
phpbrew --debug install 7.4 +default +mysql +pdo +gd +intl +zip +curl +imap +xml +mbstring +apxs2=$(which apxs2)
Build Log
https://gist.github.com/ToX82/ff16ecea3635ac019db41b189b1e18f8
Platform
OS: Ubuntu 20.04 (fresh, clean install)
Running PHP: Ubuntu repositories have php 7.4.3
Installing PHP: I am trying to install php 7.4.5 through phpbrew. I will also install php 7.2 and 5.6, as soon as I can fix this
Installation procedure
This is everything I've done in order to use phpbrew. This procedure is the result of several trials and errors, I hope everything is correct.
# Installing apache2 and some dev or needed tools
sudo apt install apache2 mariadb-server mariadb-client php-codesniffer ruby ruby-dev filezilla git subversion meld wkhtmltopdf
sudo apt install apache2-dev libapache2-mod-php php php-common php-cli php-fpm php-pear php-bz2 build-essential autoconf automake autotools-dev re2c libxml2 libxml2-dev libssl-dev openssl gettext libicu-dev libmcrypt-dev libmcrypt4 libmhash-dev libonig-dev libxslt1-dev libmhash2 libfreetype6 libfreetype6-dev libgd-dev libgd3 libpng-dev libpng16-16 libjpeg-dev libxpm4 libltdl7 libltdl-dev libreadline-dev libbz2-dev libcurl4-gnutls-dev libzip-dev bison re2c

# Make curl visibile to phpbrew
sudo ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl

# Make folders accessible by phpbrew (without sudo)
sudo chmod -R oga+rw /usr/lib/apache2/modules
sudo chmod -R oga+rw /etc/apache2
sudo chmod -R oga+rw /etc/php

# Download and install phpbrew
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew
chmod +x phpbrew
sudo mv phpbrew /usr/local/bin/phpbrew
phpbrew init
phpbrew update
phpbrew --debug install 7.4 +default +mysql +pdo +gd +intl +zip +curl +imap +xml +mbstring +apxs2=$(which apxs2)

Hello, @ToX82 !
Have you tried to run the use or switch phpbrew's commands?
you can try the following:
phpbrew list # this lists your phpbrew's installed versions of PHP
phpbrew switch [version choosen in the output of the phpbrew list command]
or
phpbrew use [version choosen in the output of the phpbrew list command]
The switch and use commands will tell the phpbrew to choose and apply system-wide one of the versions downloaded by itself.
The difference is use is temporarily and switch isn't, as said here.
If you haven't tried any of these yet, give it a shot!
Hope it helps!

Please look at this solution to let your PHP-7.4.5 Apache2 module be enabled in Apache2. I think these issues are same.


OLS-873: Ensure operator configures required OCP and Kubernetes version

Description
Ensure operator configures required OCP and Kubernetes version
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #
Closes # https://issues.redhat.com/browse/OLS-873

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

to add these configs, shall we use some special argument for operator-sdk generate bundle ?

to add these configs, shall we use some special argument for operator-sdk generate bundle ? if so, we may need update the Makefile so that we do not lose these new labels at next make bundle

What make bundle generates is far from what's checked in. I'm also not seeing how to feed what this PR adds to generate bundle.

/lgtm
/approve

/override "Red Hat Konflux / ols-enterprise-contract / bundle"
/override "Red Hat Konflux / ols-e2e-tests-rosa / bundle"

/retest-required


x/pkgsite: [Doc links] Cannot refer to types but Go Doc stated it could

What is the URL of the page with the issue?
https://go.dev/doc/comment#links
What is your user agent?
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Screenshot

What did you do?
// Client for both HTTP and HTTPS proxy
//
// Implements HTTP FORWARD and HTTP TUNNEL mechanism.
type HTTPClient struct {
	Auth // Authentication
	TLS bool // TLS
}

type Conn = net.Conn

// # Doc
//
// Tunnels through given proxy, for HTTPS you should
// set [HTTPClient.TLS] to true, which will perform HTTP TUNNEL rather than HTTP Forward.
// Defaults to false which is HTTP proxy aka HTTP FORWARD.
//
// Only HTTP TUNNEL (HTTPS) allows arbitrary data after initial handshake.
//
// # Example
//
// See ``tests`` directory for more examples.
//
// # Reference
//
// [HTTP proxy (HTTP FORWARD)]: https://en.wikipedia.org/wiki/Proxy_server#Implementations_of_proxies
// [HTTPS proxy (HTTP TUNNEL)]: https://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_method
func (c *HTTPClient) PROXY(url string, proxy Context, timeout time.Duration) (conn Conn, err error)

Note
Please note that I have formatted it usinggofmt
What did you see happen?

It did not turn [HTTPClient.TLS] to hyper referenceable text (blue) .
What did you expect to see?
The Go Doc Comments website clearly states that this is valid, as of the following statement:

Doc links are links of the form “[Name1]” or “[Name1.Name2]” to refer to exported identifiers in the current package, or “[pkg]”, “[pkg.Name1]”, or “[pkg.Name1.Name2]” to refer to identifiers in other packages.
Source

Additionally
As an addition to the previous problem, I did found something different much stranger.
// # Reference
//
// [HTTP proxy (HTTP FORWARD)]: https://en.wikipedia.org/wiki/Proxy_server#Implementations_of_proxies
// [HTTPS proxy (HTTP TUNNEL)]: https://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_method

This seems not to show anything at all but according to Go Doc this is valid!

"A span of unindented non-blank lines defines link targets when every line is of the form “[Text]: URL”. In other text in the same doc comment, “[Text]” represents a link to URL using the given text—in HTML, Text. For example:"
Source

Ye the second part was a misread. Looking forward for the solve for the first part.

Re your second part: you have to use the links, not just declare them, e.g.
// # Reference
//
// Bla bla bla [HTTP proxy (HTTP FORWARD)] bla bla bla [HTTPS proxy (HTTP TUNNEL)] bla bla.
//
// [HTTP proxy (HTTP FORWARD)]: https://en.wikipedia.org/wiki/Proxy_server#Implementations_of_proxies
// [HTTPS proxy (HTTP TUNNEL)]: https://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_method

Ye the second part was a misread. Looking forward for a solve for the first part.

Duplicate of #56004


Support release notes for Android

We currently use the !releasenotes post command to grab lbry-desktop release notes. We should add the desktop/android option to this and post Android as well.

Currently working on this!


fix password reset

thanks a lot to @stevewpatterson for catching this, and @heymartinadams and @mwickett for verifying the change 🙂


Feedback for: engine/installation/linux/ubuntu.md

File: engine/installation/linux/ubuntu.md
The first step of "Install from a package" is impossible to follow, because it requires the user "Go to https://download.docker.com/linux/ubuntu/pool/stable-17.03/amd64/ and download the .deb file for the Docker version you want to install and for your version of Ubuntu."
However, visiting this URL results in a 403 Forbidden message, with the following body:
<Error>
AccessDenied
<Message>Access Denied</Message>
<RequestId>F0285A71D61FAC0C</RequestId>
<HostId>
wT3FC5PMo/ci3Odg9Ro7i27A09R94VmsfjVwJnubRSZK2PiSg5Y+pua/DV+Hsx0urm9ePrB8QCk=
</HostId>
</Error>

The index pages are currently missing for download.docker.com (see https://github.com/docker/docker/issues/31987)
I'm not sure what the exact URL's are for the packages; if you require offline installation, you can download the docker-engine package, which is the old name for the docker-ce package, and can be found here; http://apt.dockerproject.org/repo/pool/main/d/docker-engine/

@pdbogen apologies for the bad link. The correct URL for downloading the docker-ce package for ubuntu is within the subdirectory of https://download.docker.com/linux/ubuntu/dists/ and navigate to the subdirectory for your ubuntu version, channel, and architecture within the pool directory. For example, for xenial version, stable channel, amd64 architecture, navigate to https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/ and download the .deb package for the Docker version you want.


Server relay support

This would be something interesting to do an implementation of.
I have an issue where sometimes peers cannot connect to each other (due to provider-level issues mostly, but I guess firewall situations could happen here too), so something that could help are peers that can serve as a relay (basically, instead of peer1 -> peer2, peer1 -> peer3 -> peer2) to help mitigate these issues.
Tailscale has a solution for this, using their own relay servers. It'd be nice to see something similar on innernet (but maybe not going too as like using TCP, at least for a start, since... that'd surely be a fun thing to do).

This is definitely something that is worth adding, totally agree. I think the general strategy as of now is to fix some more basic NAT traversal issues (tracking in #109), and then move on to adding server relays while considering adding support for site-to-site type relays as well.


Json, prisma, passthrough - since 3.21.0

Hello,
maybe this is my misuse, but since 3.21.0 I am having the following issue:
I am using prisma - JSON field:
model MyModel {
  // ...
  json JSON
}

and then the following zod schema:
const schema = z.object({
  name: z.string(),
}).passthrough()

const data = schema.parse({
  name: 'hello',
  extra: 'something',
})

and trying to insert it into the DB:
ctx.prisma.my_model.create({
  data: {
    json: data,
  }
})

Then since 3.21.0 I am getting the following:
TS2322: Type 'objectOutputType<{ name: ZodString; }, ZodTypeAny, "passthrough">' is not assignable to type 'JsonNull | InputJsonValue'.   Type 'objectOutputType<{ name: ZodString; }, ZodTypeAny, "passthrough">' is missing the following properties from type 'readonly (InputJsonValue | null)[]': length, concat, join, slice, and 19 more.

Basically I want to store in the db whole json object, even if it contains some extra fields.
Maybe I was just misusing passthrough... Thanks

@JacobWeisenburger
thanks for your time and response.
I think prisma is right there, as prisma is expecting json object.
zod is also right here, as when we use passthrough we may have an additional unknown object, which may be not json-serialisable, so ... it's right as well.
I believe I should be using some kind of json validation instead of passthrough, as I my input is actually a json object.
Thanks!


feat(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1705

Questions ?
Please refer to the Backport tool documentation


update conference links - add ng-europe; remove AngularConnect

This links the top banner to ng-europe instead of AngularConnect. Now that AngularConnect is sold out, I think it would be really helpful to link to ng-europe until the conf. Let me know if this could work. Thanks!
How it looks like right now:

How it looks like with the ng-europe update:

I signed it!

merged, live.


\n

The intent here was to make it clear that you need this token, but I think there's two alternatives:

leave it as-is, because prefixing with the environment variable means it's applied to the current command (newline breaks this)
remove it completely, make the README clearer that you need this

Thoughts?

It's true that having on same line is a better security context.
DAMP is a good practice in documentation.
Folks read docs like a check list.

No feels which way is the correct way past that. If the PR helps merge if not burn after reading.

Superseded by d1b9c628cbec8897f12e727466bed62f2c854b13


net: lwm2m: add optional timestamp resources to some IPSO objects

Based on work by @mike-scott
Add a new Kconfig knob, CONFIG_LWM2M_IPSO_TIMESTAMP_EXTENSIONS. This
defaults to n. When enabled, various IPSO objects will by default have
the timestamp resource (5518) added to their representations. This can
be turned off on a per-object basis.
The idea of adding timestamp resources was originally suggested by
Hannes Tschofenig on this OMA page:
https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/429

@mike-scott I've just taken your existing work and made it optional and default n.


CHIP-0028: Blind Signer Translation

This CHIP is now a Draft. It translates the wallet APIs from CHIP-0027 into a compressed BLOB for blind signers.
This CHIP is part of the new wallet signer protocol, along with CHIPs 27, 29, 30, and 31.

This CHIP is now in Review. Please leave your reviews here, and feel free to discuss the CHIP in the #chips channel of our Discord.


Feature create tables list #16

Summary
Table list component for side panel
Details
Created new component with angular material, added necessary imports.
References
Used mat-expansion-panel https://material.angular.io/components/expansion/overview

Please add screenshot with visible component to description.

Please update the branch.

Resolve conflicts.


Evaluate JSMin+ to replace JSMin

http://crisp.tweakblogs.net/blog/1665/a-new-javascript-minifier-jsmin+.html

* Does it introduce errors?
* Does it maintain YUI-style comments? If not, can it be extended to?
* Is it significantly slower?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 13 Apr 2009 at 8:48

Not sure I can trust this being supportable at this point. With our JSMin now
supporting "+ ++" syntax, there's not a lot of motivation to move.

Original comment by<EMAIL_ADDRESS>on 4 Sep 2011 at 12:25

Changed state: WontFix

http://crisp.tweakblogs.net/blog/1856/jsmin+-version-13.html
Still waiting for JScript CC support, then I'll do some benchmarks
(significantly
slower than JSMin would be bad). YUI comments might be able to added with some
caveats (can minify the content before/after the YUI comments then just combine
them).

Original comment by<EMAIL_ADDRESS>on 30 Jun 2009 at 4:33

Added labels: Priority-Low
Removed labels: Priority-Medium


Slower processing when in background

@robingenz Hi! Your plugin is working very well most of the time. However, I have a question which may or may not be related to the plugin.
My app is sometimes used for uploading firmware to a satellite antenna. If I keep the screen on, the process takes around 20 minutes. If the app is in the background, it takes at least twice as long. Do you have any idea why, and what I can do to fix it?

Hi @aanders77,
thank you for your request!
I created a new dev build for you:
npm i<EMAIL_ADDRESS>
I don't know if it helps but we'll give it a try.
Attention: This dev build requires the following permissions be added to your AndroidManifest.xml before the application tag:
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

Thanks @robingenz 😊 I'm on a short vacation right now, but I'll test it next week.

Hey @aanders77 , did you already had a chance to test it?

Hi @robingenz, sorry for not getting back to you sooner! I've installed the update today, and some time during next week I will test it with the satellite antenna.

@robingenz Hi! I tested the update last night. Unfortunately it caused the app to crash whenever the phone had been idle for a few minutes. If I tried to re-open the app from history, it just closed again immediately. I had to swipe it away from history and do a "cold" open for it to load again.

Did you add the following permissions to your AndroidManifest.xml before the application tag:
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

Yes I did. Here's the file:
`

<!--  I can't reproduce the problem unfortunately. Could you possibly help me debugging and start your app via Android Studio, leave the phone and as soon as it crashes send me the logs from Android Studio (Logcat)?

Sorry for not getting back to you earlier. I will try what you're suggesting. It might take a few days, though.

@aanders77 I received another request for this feature and would like to merge it.
Have you already been able to test it in Android Studio?

@robingenz I haven't tested yet, sorry. I'll do it tomorrow, or Thursday at latest.

@robingenz I tested again today, and now it seems to work. Not sure what made the app crash the last time I tested it.

@aanders77 Great, thanks for your help!


Added 3 companies to README.md and respective files to company-profiles

Added 3 new companies that have currently open job postings in
remotive.io: Edgar, Knack and Corgibytes.
Added full company profile, careers page link and updated README

Thank you so much! Can you link to their profiles from their company name in the list?

Sure thing.


Manifest builder

What was wrong?
CLI feature to assist in generating manifests.
ethpm create --manifest --project-dir /projects/ens

triggers a cli command that walks the user through customizing a manifest using the contracts and solc output found in the project-dir

ethpm create --basic-manifest --project-dir /projects/ens --package-name ens --version 1.0.0

automatically generates a basic manifest (w/ no customization) from solc output and contracts found in the project dir and writes it to the project dir (requires package name and version to be provided)

ethpm create --solc-input --project-dir /projects/ens

automatically creates solc standard json input referencing every solidity contract found in project_dir/contracts/ so the user can generate their own solidity compiler output easily

Thorough documentation of the whole flow is next on the docket once this api gets approved.
Summary of approach.
Cute Animal Picture

ping @pipermerriam for :eyes:


Update experimental deleting pattern images

Some images on deleting pattern page are out of sync with Carbon styles and will need to be updated asap.

Hey there! Going to close this one out due to inactivity. Feel free to comment and I can re-open!


Add real data

Add CSV data for weather and water levels.
Tests based on real world apis #4

Its awesome you found this data!
Where did you get it? I need to know, so I can legally include it in the repository :p

The weather data is from the UK Met Office and the river level from SEPA - the licenses seem to allow reproduction with attribution


Feature enable: swapping resources using draggable

Can you give me idea to how to do the swapping the resources one onto another by dragging?

@desilvaNSP
Sorry, I dont get your point, can you explain it a little bit ?


Fix HHVM version mismatch.  Fix nginx.inc.conf reference

These changes got my local vagrant up and running.  Credit to @tomas-st for the --ignore-platform-reqs fix for HHVM.

Looks good thanks for the PR!


I love your plots

Dear nrennie
I love your plots and I was wondering if you could share from the
https://github.com/nrennie/30DayChartChallenge/blob/main/2022/scripts/04_flora.R
the
polygons <- read.csv("2022/data/voronoi.csv")

I am really curious how its structure looks like
thank you for your time and thanks for sharing this great work

Yes, the data set is attached here.
voronoi.csv
You can also recreate it by uploading the "sunflowers.csv" file on this website: https://observablehq.com/@ladataviz/wip-voronoi-data-generator

thank you so much!


SQLite query can deadlock with FirstOrDefaultAsync

This as a secondary issue discovered during investigation of https://github.com/aspnet/EntityFramework/issues/6088#issuecomment-236733592.
This bug appears to be similar issue to #5481
Steps to reproduce
Full repro project: https://github.com/aspnet/EntityFramework/issues/6088#issuecomment-237302404
public static async Task<Participant> GetAsync(ScreenTimeContext dbContext, int participantId)
{
    return (await
    (from r in dbContext.Participants
     where r.Id == participantId
     select r).FirstOrDefaultAsync());
}

The issue
No error message. The app just hangs. The query never returns a value.
Workaround
Removing the async/await keywords from the method above fixes the issue.
Further technical details
EF Core version: Microsoft.EntityFrameworkCore.Sqlite 1.0.0
Operating system: UWP 10586 (debug mode...i.e. it's not .NET Native causing the problem)
Visual Studio version: VS2015U3, UWP 1.4.1 tools

@anpete we suspect this could be an issue with IX-async.

@divega @natemcmaster Does it repro against dev?

Yes. I just tried with "Microsoft.EntityFrameworkCore.Sqlite": "1.1.0-alpha1-21786"

The problem is caused by making an async blocking call on the UI thread. By default, the sync context tries to run the async continuation on the UI thread, which deadlocks because the UI thread is busy waiting for the async operation to complete. Using ConfigureAwait(false) solves the problem.


Fixes (2023-02-24)

All instances of "'s Notes" were replaced by proper authors.
Added Various for multiple-author maps.
Added missing content (description, author, playercount) for the modified maps.
Author fixes.

Amazing.
There were some UTF8 encoding issues, which I had to fix, per the following diff:
https://github.com/unreal-archive/unreal-archive-data/pull/2545/commits/be715d1b4f103765eeede9ae60f3e9e6f2c1ec7d
It seems Github couldn't renender them either (at least not with my locale); but it also caused issues reading the YAML files.
Minor issues considering the size of the fixes! Thanks!


Request for permission only when scanner is called?

Right now the app asks for camera and files permissions on boot but I need it to only ask for it if the user wants to use the camera or the library.
I don't find anything in AndroidManifest.

Did this get fixed? I need this as well.

Me too. Showing permission dialogs to user when app starts wont be a good experience .

Indeed, this is pretty annoying!

FWIT I have created a fork of this repo to fix just this problem:
https://github.com/eliezedeck/qrcode_scanner

FWIT I have created a fork of this repo to fix just this problem:
https://github.com/eliezedeck/qrcode_scanner

@eliezedeck does it work fine on iOS?

@eliezedeck does this work fine on iOS?

I have modified only the Android files. If iOS has this same issue, I'm sure the problem is still there. Sorry, I only have Android to test.

This repo doesn't actually support iOS the last time I checked. I moved to a different package.


GPL-3.0 may not be compatible with GPL-2.0

According to the table on https://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licenses#cite_note-46
It can be compatible with GPL-2.0+ though

Well, here's Section 9 of GPL-2.0 (emphasis added):

The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.`

@anseljh thanks for the pointer, will close this for now then :+1:


[Shadow Container] Allow clicking on elements below the Spread

What would you like to be added:
I would like that when using a ShadowContainer, the area informed to have the Shadow allowed clicking.
Because for some cases we can put the shadow to one side and allow clicking on the other.
As it stands today, if I determine 200 pixels of OffsetY/OffsetX/Spread the element does not allow clicking in the areas in which it is reserving but it is not showing anything.
However, in the areas where it is reserving but is showing the click, it is possible to click.
For example, the image below shows where clicking is and is not allowed.
Assume that each square is 300px and that the shadow is 200.
And in the blue area the click is not allowed.

And the Video of the demo.
https://github.com/unoplatform/uno.toolkit.ui/assets/116665025/3230ccfb-8684-496a-bdb0-86d5d9a46414
Code

      <Grid ColumnDefinitions="300,300,300" RowDefinitions="300,300,300">
        <TextBox Grid.Row="0" Grid.Column="0" PlaceholderText="Grid 0 0" />
        <TextBox Grid.Row="0" Grid.Column="1" PlaceholderText="Grid 0 1" />
        <TextBox Grid.Row="0" Grid.Column="2" PlaceholderText="Grid 0 2" />
        <TextBox Grid.Row="1" Grid.Column="0" PlaceholderText="Grid 1 0" />
        <TextBox  PlaceholderText="Grid 1 1" />

        <ContentControl Grid.Row="1" Grid.Column="1" Style="{StaticResource CardSurfaceStyle}">
            <TextBox PlaceholderText="Grid 1 1" />
        </ContentControl>

        <TextBox Grid.Row="1" Grid.Column="2" PlaceholderText="Grid 1 2" />
        <TextBox Grid.Row="2" Grid.Column="0" PlaceholderText="Grid 2 0" />
        <TextBox Grid.Row="2" Grid.Column="1" PlaceholderText="Grid 2 1" />
        <TextBox Grid.Row="2" Grid.Column="2" PlaceholderText="Grid 2 2" />
      </Grid>

There is a Repro project attached to this issue.
ShadowsIssue.zip
Why is this needed:
To allow the user uses the ShadowsContainer and other elements.
For which Platform:

[ ] WebAssembly
[ ] Android
[ ] iOS
[ ] macOS (AppKit)
[ ] Mac Catalyst
[ ] Skia

[ ] WPF
[ ] GTK (Linux)
[ ] Linux Framebuffer
[ ] Tizen

[ ] Windows

Anything else we need to know?

@rafael-rosa-knowcode is this a blocker for any project at the moment?
fyi @kazo0


Update dependencies

Than you for submitting a PR, I merged  changes and re-published to NPM.
https://www.npmjs.com/package/draft-js-custom-styles

You're most welcome :)


rdopkg -c does not seem to work anymore

Dup of https://github.com/openstack-packages/rdopkg/issues/84


Update Windows LayerFolder docs

Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>

@kevpar @jhowardmsft  - FYI

LGTM

Ping. Can someone review this? Its just a doc change.

LGTM


[QUESTION] Where can mypy find library stubs for typer?

First check

[x ] I used the GitHub search to find a similar issue and didn't find it.
[x ] I searched the Typer documentation, with the integrated search.
[ x] I already searched in Google "How to X in Typer" and didn't find any information.
[ x] I already searched in Google "How to X in Click" and didn't find any information.

Description
Where can mypy find library stubs for typer? Currently when I run mypy in my projects root directory I get the error Cannot find implementation or library stub for module named 'typer'

I do not see this problem. (I see a different problem, but never mind that right now).
I what you ask for here is addressed by issue #53 which was fixed by pull request #58. Can you try picking up a newer release of typer (I have 0.2.1)? (Or maybe a newer mypy, I have 0.770?)

Okay I will update my version and check things out

Thanks for the help here @bruceadams ! :clap: :bow:
Thanks for reporting back and closing the issue @OdinTech3  :+1:


Bug: Renter Info showing 0 H

I set up allowance and formed contracts. After uploading for a few minutes the renter info reset all the values to 0 H

I can confirm that this issue is happening to me as well. Strangely, uploading and downloading still works as intended, and running watch siac renter contracts will show the contracts functioning as normal.

@kpr2011 do you have any files that have stopped uploading?

@eddiewang Nope, uploading without any problems. It's just i have no idea of knowing how much i have left and when to stop or add more funds.

without more information the devs are unlikely to be able to do anything with this information.  I would recommend uninstalling and reinstalling Sia (make sure you backup your renter folder).  If you're still having problems try asking for help at https://discord.gg/sia
Recommendation to devs: close


make ddm model

hi.
i will make ddm from geotiff.

1st step
convert geotiff(epsg4326) to hgt using gdal4hgt.
2nd step
convert hgt to ddm using openglobus-ddm.

what is  coordination of hgt ?
what is  coordination of ddm ?
does I need the conversion of coordination, EPSG4326->EPSG3857 ?

...thinking

Hello,
regarding this issue,  is there a way to produce our own 3d tiles from DEM in a format accepted by OG?

Hey @martyrion! I forget...I'm very sorry.
About DDM, I cannot recommend using ddm right now, because it is looks like deprecated I think, and I'd recommend to use MapboxTerrain provider, because it easy to make elevation tileset with gdal and rasterio (event there is a docker https://github.com/openglobus/gdal-rio), from geotif and even from laz (lidar) when you include opendronemap docker in the pipeline.
Unfortunately supporting 3DTiles is only in my dreams right now. But I suppose I'm going to start (in near future) it with simple point clouds support and then step by step going to improve compatibility.
Also, I'm not sure that 3dtiles tech is the best for for DEM, of course if the DEM we are talking about 2d grid.

Thanks lot, I will give it a shot ! By the way, if think openglobus is awesome, thanks!!

Thanks @martyrion! Welcome to the og forum, https://groups.google.com/g/openglobus where we discuss globus engine etc.

Answering the main question to understand ddm I'd like to refer to this answer https://github.com/openglobus/openglobus/issues/440#issuecomment-993427522
in other word ddm is a plain grid(represented as array of double values), each ddm file represents WebMercator(EPSG:3857) tile.


Delete & ignore workspace settings and osx stores

Deleted .DS_Store on the root folder and add it to gitignore
Also I think .vscode/settings.json should be tailored to developer so I add it to gitignore as well.

Agree we can delete those

Guessing you use VScode, so if you have any preferred extensions that help with dev linting & formatting, do you mind adding them to .vscode/extensions.json ?

Yes sure I can commit that !


CHECK_EQUAL_WAVES fails with only dimension size checking

FUnction Dostuff()

	Make/FREE a
	Make/FREE/T b

	print CHECK_EQUAL_WAVES(a, b, mode = DIMENSION_SIZES)
End

•runtest("Procedure", testcase = "dostuff")
  Start of test "Unnamed"
  Entering test suite "Procedure"
  Entering test case "Dostuff"
  Compatible basic wave type for EQUAL_WAVE check.: is false. Assertion "print CHECK_EQUAL_WAVES(a, b, mode = DIMENSION_SIZES)" failed in line 43, procedure "Procedure"
  NaN
  Leaving test case "Dostuff"
  Failed with 1 errors
  Leaving test suite "Procedure"
  Test finished with 1 errors
  End of test "Unnamed"

In EQUAL_WAVE_WRAPPER move compatible wave type check into mode reslove loop (near end of function) and in case the single mode is DIMENSION_SIZES check if manually (not through EqualWaves)


Console admin user password "you can only set it at install" -- it needs to be able to be overridden in the chart

From the Helm chart values file:
  admin:
    ## @param config.admin.email Your Conduktor Console Admin email, you can only set it at install! You will need to change it in the Conduktor Console UI after the installation
    email: ""
    ## @param config.admin.password Your Conduktor Console Admin password, you can only set it at install! You will need to change it in the Conduktor Console UI after the installation
    password: ""

You can refer to the internal support ticket https://support.conduktor.io/hc/en-gb/requests/1813 to see what issues this is causing.
In brief:

Conduktor 1.29.0 now refuses to boot if admin password doesn't meet some arbitrary set of standards regarding password content.
We use SSO / OAUTH logins
Originally I set the admin email to be my email, I login via SSO
I can't change my "internal" password via the Console because I login via SSO
I can't change the admin user email via the Console (or how?)
I can't change either the admin user email or its password via the Helm chart.
I'm stuck, cannot upgrade to 1.29.0

I assume that I will be able to find a workaround of some sort, e.g. direct manipulation of the database.
However, it is highly desirable, if not essential, to be able to override and change the admin user email and password via the Helm chart, given that: the software now demands this information match some arbitrary standards or it refuses to work; and it is possible to have previously put the software into a configuration state that prevents both the upgrade and the changing of the password via the recommendation in the values file.

Hi @mcpheesvoz - we'll work with you on the support ticket with our support team regarding the core issue you are experiencing.
Specifically the Helm chart we will also take a look and get back to you, thanks for raising to our attention.

Thank you people for the extremely quick turnaround on this!


Array[SubViewport] element value cannot be assigned

Godot version
4.0.1.stable
System information
window10,forward+
Issue description
@export var subviewports: Array[SubViewport] = []
Array[SubViewport] 'element value cannot be assigned in inspector
Steps to reproduce

create a foo gdscript
with line @export var subviewports: Array[SubViewport] = []
try add & drag SubViewport Node in scene to assign it

Minimal reproduction project

sigh
Duplicate of pinned issue #62916

Indeed, thanks.


Control-Click does not register as a right click

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
On macOS, a  Ctrl-Click registers as a right click everywhere on the operating system.
In Zed, it does not. Instead, they're just interpreted as left click. (This is actually the first time I've had that experience in an app, didn't know it was possible!)
Environment
Zed: v0.77.3 (stable)
OS: macOS 13.2.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

I thought Zed just didn’t have context menus for some reason—I didn’t realize it was a bug with right-click 😢 Is this affecting everyone who uses a trackpad? The only people who can right-click are mouse users?

Oh, I didn’t know about two-finger click! That helps in the meantime, thanks!

Thanks to @ForLoveOfCats jumping on this, you should see this land in the next release or two :) Thank you for the feedback!


DS-3960 Preserve all metadata during AIP export/import

Currently, only a subset of DSpaceObject metadata is actually exported using the Packager. This seems to simply be a holdover from legacy metadata implementation. This PR extends the XSLTDisseminationCrosswalk and XSLTIngestionCrosswalk ability to export/import all metadata for Community, Collection, and Item objects. In addition, the AIPTechMDCrosswalk has been extended to support exporting/import all metadata from Bitstream objects, as well.

@KingKrimmson : This PR currently has Integration Test failures.  See Travis results here: https://travis-ci.org/DSpace/DSpace/builds/399201896#L3677

@KingKrimmson : Also realized this needs a JIRA ticket to describe the Use Case / Need and/or provide examples of how this is supposed to work.

Fixed build issue (was legitimate issue) and created JIRA ticket DS-3960


Public map issues

[ ] Dropdown arrows are weird (Device: desktop).

[ ] Review user name arrow (too light?) and hover style (Device: desktop).

[ ] Disqus doesn't take up all the available space (Device: desktop).

[x] Some fonts in footer are not loaded (Device: desktop).

[x] Social logos in footer location seems to not be correctly aligned (Device: desktop).

[x] When user clicks over 'More info button', more info is showed (:+1:) but button still says "More info" (Device: mobile).

[x] Share icons, below the map, appear with different margins (maybe we missed a vertical separator?).

cc @matallo @saleiva

fixed these and https://github.com/CartoDB/cartodb/issues/4724 issues

dropdowns, colors, disqus size are as in the mockup (already darkened arrow color, though), to be discussed with @CartoDB/design

I wasn't aware of iphone issues as I was using device emulator in devtools :(

ping!

duplicated, the only pending is the disqus width, which is covered in the other issue
closing, then


changing update on reload recipe

Fixes: #5504
cc @jeffposnick @dfabulich
This used controllerchange event listener instead of the messaging back and forth.
This will break update on reload in DevTools and even without that I noticed controller change fires before the activation has completed meaning the page is just refreshing for the duration of the activation step (but I think this exists in previous code, just calling it out as it may be a Chrome bug).

:+1:

:+1:

:+1:

:+1:


"Can't open rtl-sdr device" error after device selection.

This seems to be an issue with the drivers and the way that libsdr opens the device.
Symptoms
(We assume that you have installed the libusb drivers with Zadig ).

The device selection drop down list shows two devices (when only one is connected).
Selecting any of the two produces the "Can't open rtl-sdr device" error and the application exits.
Other applications work fine (eg HDSDR or SDR#).

Device selection
Error message

Fix
After installing the drivers with Zadig and having the device connected (This is on a WIN10 machine):

Open the device  manager and find the device in the Universal Serial Bus Controllers

Verify that this is the RTL device by checking the "Hardware IDs". It should have PID_2838.

Right click on the device and select "Uninstall device"
After the process is done, remove the RTL USB dongle and reconnect it after 5-10 seconds.
Wait until the drivers are automatically re-installed.
Fire up spektrum. If all went well you should see only one device :

Now everything should be working.

Otherwise I fixed the issue in the code, the deviceId wasn't being passed on, here is the pull request I made : https://github.com/pavels/processing-rtlspektum-lib/pull/2
(I had the issue, this fixes it)

@Viproz
Nice catch Vincent.
I cannot pull your code to main as it is Pavels.
But since I did modify this very file, I included your fix in the compiled version of rtlspektrum.jar and the binary version of sv-mods v0.19a onward.
Best regards
George

I found another bug in the library, when we set the software to relative mode and back and then on again it does some average with the old value for the previous relative, due to the line :
}else if(this.relMode != relMode && relMode == RelativeModeType.NONE){
dbmRelativeBuffer = new double[dbmRelativeBuffer.length];
for(int i = 0;i<dbmBuffer.length;i++){
dbmBuffer[i] = Double.POSITIVE_INFINITY;
}
}
dbmBuffer should be replaced by dbmRelativeBuffer in the last line, could you publish the modifications you've made to the library so that I can apply the fix ?
Also I've seen a few things that I do not know if they are features or bugs, would you be willing to discuss it directly by email, IRC or something else (I do not have my radio license yet) ?
My email is viproz12 with the usual @gmail.com


Xamarin.Forms: Notifications stop after the device is rebooted.

Hello,
I've set up push notifications on my forms app. On Android everything is working well. IOS has the following issue:
After the device is rebooted, push notifications for the app will stop working. If I uninstall the app, and reinstall it again, newly sent push notifications will show up on the phone and will break again after reboot.
I can see the registration is still there, completely unchanged, and Azure is saying that the "push" went successfully.

Here is how my registration is set up.

On the appledelegate.cs class I'm saving the token.

public override void RegisteredForRemoteNotifications(UIApplication application, NSData deviceToken)
 {
                var bytes = deviceToken.ToArray();
                var token = BitConverter.ToString(bytes).Replace("-", "");
                Xamarin.Essentials.SecureStorage.SetAsync("NOTIFICATION_HANDLE", token).Wait();
}

When the user is logged in I send a call to my API to register the token with the userid as the tag. (handle variable is the token)

//register account
public async void RegisterUser(int userId, string handle, DeviceType type)
{
    string registrationId = null;
    // make sure there are no existing registrations for this push handle (used for iOS and Android)
    if (handle != null)
    {
		var registrations = await _hub.GetRegistrationsByChannelAsync(handle, 100);
        foreach (RegistrationDescription registration in registrations)
        {
            if (registrationId == null)
            {
                registrationId = registration.RegistrationId;
            }
            else
            {
                 await _hub.DeleteRegistrationAsync(registration);
            }
        }
    }

    //brand new account, register
    if (registrationId == null)
    {
        registrationId = await _hub.CreateRegistrationIdAsync();
        RegistrationDescription reg = type == DeviceType.ANDROID ? (RegistrationDescription)new FcmRegistrationDescription(handle) : (RegistrationDescription)new AppleRegistrationDescription(handle);
        reg.RegistrationId = registrationId;
        reg.Tags = new HashSet<string>();
        reg.Tags.Add("username:" + userId);
        await _hub.CreateOrUpdateRegistrationAsync(reg);
    }
    else
    {
        RegistrationDescription existingRegistration = await _hub.GetRegistrationAsync<RegistrationDescription>(registrationId);
        if (existingRegistration.Tags == null)
        {
            existingRegistration.Tags = new HashSet<string>();
            existingRegistration.Tags.Add("username:" + userId);
        }
        else if (!existingRegistration.Tags.Any(x => x.Contains("username:" + userId)))
		{
			existingRegistration.Tags.Add("username:" + userId);
        }
        await _hub.CreateOrUpdateRegistrationAsync(existingRegistration);
    }
}

Once the device is rebooted. It doesn't matter if I send a notification to a specific tag, or to everyone. It also doesn't matter if I start the app again, or keep it untouched. It also doesn't matter if I log into the app or not. No matter what, after device reboot push notifications for the app will stop working until the app is reinstalled. So it feels like w/e hooks there are between the device, apple and microsoft are invalidated after reboot.
I think I'm doing something wrong, so I want to check here to see if anyone could help me.

To anyone who is interested int he solution, this behavior happens when using the sandbox version of IOS push notification api. Once we switched to production cert it worked without issues.


Ux/Design

The design update.

You have ** 69,738 additions**

You shouldn't need to run rake asset:precompile. If you do need to run it, you should remove the files.

Heroku will automatically precompile assets

Deleted.

@yohanology please review


Use a list comprehension instead of map().

In Python 3, we cannot do map() + [].

Codecov Report

Merging #51 into master will increase coverage by 0.9%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master      #51     +/-   ##
=========================================
+ Coverage   86.36%   87.27%   +0.9%
=========================================
  Files           4        4
  Lines         220      220
  Branches       30       30
=========================================
+ Hits          190      192      +2
+ Misses         27       24      -3
- Partials        3        4      +1

Impacted Files
Coverage Δ

src/kubetop/_textrenderer.py
80.95% <0%> (-1.37%)
:arrow_down:

src/kubetop/test/test_textrenderer.py
100% <0%> (+5.63%)
:arrow_up:

Continue to review full report at Codecov.

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

@exarkun OK, I have replaced the list comprehension with list(map(.....))

Thanks.  Looks good, I'll merge.  Just as a point of clarification, I would also have been okay with:
".".join(list(str(v) for v in version_tuple) + ["dev0"])


Fix Linux support

related #421

Needs a rebase, and the _utils fix isn't needed anymore.

Sorry for just closing these but since I haven't had the time to develop; I haven't checked these pull requests either and they're now outdated :c
Feel free to reopen with necessary changes and I'll take a look at it now that I have time.


Use separate Dex clients for each actual client

Previously Velum, CaaSP CLI, and Kubernetes all shared a single Dex
client. From a security perspective, this was far from ideal.
Update Velum to:

Generate a unique secret for the Velum and Kubernetes client during setup
Add a migration to generate secrets during upgrade
Use the Velum client to auth with Dex
Request a token from Dex which is valid for the kubernetes client

Depends-On: https://github.com/kubic-project/salt/pull/380
Depends-On: https://github.com/kubic-project/caasp-cli/pull/9

This will fail CI without the dependant commits


useSuspense always displays fallback in next.js 12.1.6

React version : 18.1.0
Package manager version  : yarn : 1.22.17
Node version : v16.13.1
Rest Hooks version 6.3.4
Next JS Version 12.1.6
Describe the bug
I'm trying to use next.js for the first time when creating a new app and I’ve got a strange bug when using useSuspense.
If the website is already loaded (e.g. I'm on the home page) and I navigate (with Next Router) to a page with useSuspense, it works. I have my data loaded without problem.
But if I go directly to this page (or refresh this page), I have the suspense fallback component stuck on the screen (and the page will always be showing the loading state).
I think there is a problem with SSR but I don't really need SSR for this page, so there is no problem if SSR sends the fallback since the data can be retrieved on the client side.
Has anyone successfully set up rest-hooks with next.js using suspense?

Am I understanding correctly that even after the page loads (showing the fallback due to lack of SSR) it still doesn't load the data?

@ntucker exactly
For concrete example, I put LinearProgress material ui component as a suspense fallback and if I access the page directly, LinearProgress run forever (and browser shows circular loading state indicates that page isn't fully loaded)

From the betas to final 18, React changed the nature of SSR - so it's basically avoiding re-renders when the data comes in. I'm working on a solution to this, but was traveling in Europe for the past 3 weeks. Will have designs posted; but figured I should update here.

Confirmed fixed in 6.5.0-beta.1. Will be releasing full version within next week.

Released in 6.5 @rtorrente


(PUP-10820) serialize pcore types to yaml file

Another option would be to revert the changes (94dc54585bcd1b6186941c49c281c2284bab765f) and allow pops related types in https://github.com/puppetlabs/puppet/blob/0fc096f07ecc1b4a36ae6eabe5716b3f03bd9c4e/lib/puppet/transaction/persistence.rb#L65, e.g.
 Puppet::Util::Yaml.safe_load_file(filename, [Symbol, Time, Puppet::Pops::Types::PBinaryType::Binary, ...])

I put up a PR  for the 7.13 release: https://github.com/puppetlabs/puppet/pull/8828, so I think we can close this


function n(e){return null!=e?e.toString():""} error when we shift 2 columns headers

when we change position of a column header from one position to another (as column only) it gives following error
function n(e){return null!=e?e.toString():""}

To the Author, Can you at least provide us where the code is located, I have stepped through the functions getvlaue, movefield conputeValues, but I can't pinpoint where the part the values is displayed so I can insert an eval or an equivalent.

I am facing the same issue, All will try to look into it, So if anyone can point us where the issue is that will be very appreciate.
Thanks

@gauravraheja  Replace below code, it will work.
function mergefieldconfigs() {

                var merged = {
                    configs: [],
                    sorts: [],
                    subtotals: [],
                    functions: [],

                };

                for (var i = 0; i < arguments.length; i++) {
                    var nnconfig = arguments[i] || {};
                    merged.configs.push(nnconfig);
                    merged.sorts.push(nnconfig.sort || {});
                    merged.hideGrandTotal.push(nnconfig || {});
                    merged.subtotals.push(nnconfig.subTotal || {});
                    merged.dataType.push(nnconfig || {});

                    merged.functions.push({
                        aggregateFuncName: nnconfig.aggregateFuncName,
                        aggregateFunc: (nnconfig.aggregateFunc ? nnconfig.aggregateFunc() : null),
                        formatFunc: (nnconfig.formatFunc ? nnconfig.formatFunc() : null),
                    });
                }

                return merged;
            }