Broken "Sketch" file links

Describe the bug
Sketch library links are broken on "Get Started" page at:
https://clarity.design/documentation/get-started
How to reproduce
Click on broken links listed below:

UI LIBRARY - DARK (): https://github.com/vmware/clarity-assets/raw/master/sketch/light/clarity-library-light-.sketch
UI LIBRARY - LIGHT (): https://github.com/vmware/clarity-assets/raw/master/sketch/dark/clarity-library-dark-.sketch

Steps to reproduce the behavior:

Scroll down to "Using Clarity Design Resources" section.
Click on "UI LIBRARY - DARK ()" (see that it leads to "github" 404 page).
Click on "UI LIBRARY - LIGHT ()" (see that it leads to "github" 404 page).

Expected behavior
Download of sketch files should begin?
Versions
App
Chrome browser (latest).
Device:
Additional notes

I've verified that the links in Github have changed for these files...
They now follow the address in this way...
https://github.com/vmware/clarity-assets/blob/master/sketch/light/clarity-library-light-2.2.0.sketch?raw=true
We need to update this on the website.

Thanks for reporting this, @elycruz . I tested these links last week so there must've been some update between now and then. The url is different now.

Ah, ok gotcha :).  Updates tend to do this, from time to time lol.  Cool, no prob 👍 :).

Website updated with new links.


Can't Inject my Store

I am not sure what I am doing wrong but I keep getting errors. I guess will do one error at a time. I stripped down my project to the bare bones. Hope someone can see the problem

app.bundle.js?31044e2…:12841 Uncaught TypeError: Cannot read property 'isMobxInjector' of undefined
    at observer (app.bundle.js?31044e2…:12841)
    at Object.<anonymous> (app.bundle.js?31044e2…:35924)
    at __webpack_require__ (app.bundle.js?31044e2…:20)
    at Object.<anonymous> (app.bundle.js?31044e2…:23127)
    at __webpack_require__ (app.bundle.js?31044e2…:20)
    at Object.<anonymous> (app.bundle.js?31044e2…:17566)
    at __webpack_require__ (app.bundle.js?31044e2…:20)
    at module.exports (app.bundle.js?31044e2…:63)
    at app.bundle.js?31044e2…:66

app.js
import React from 'react';
import ReactDOM from 'react-dom';
import stores from './stores';
import UserPage from './components/UserPage'
import { Provider  } from 'mobx-react';

ReactDOM.render(
    <Provider userStore={stores.userStore}>
        <UserPage  />
    </Provider>,
       document.getElementById('root')
);

UserPage
import React, { Component } from 'react'
import ReactDOM from 'react-dom';
import { observer, inject } from 'mobx-react';
import DevTools from 'mobx-react-devtools';

import Asset from '../classes/user'

@inject('userStore')
@observer()
export default class UserPage extends Component {
    constructor() {
        super();
    }
    render() {
        let userStore = this.props.userStore;

        return (

                test

        )
    }
}

UserStore
import {observable, computed, action} from 'mobx';

class UserStore {
    @observable users = []
    @observable activeUser = 2;
    @computed get count() {
        return this.users.length;
    }
    @action.bound setActiveUser(){
        // I would like to pass in a paramter but not sure if it is possible with @action.bound
        this.activeUser = 1;
    }
}

var userStore = new UserStore();

export default userStore;

index.js
import userStore from './userStore';

const stores = {
    userStore
}

export default stores;

User
import {observable} from 'mobx';

class User {
    @observable firstName
    @observable lastName

    constructor(firstName = '', asselastNametType = '') {
        this.firstName = firstName;
        this.lastName = asselastNametType;
    }
}

export default User;

UserStore
@inject('userStore')
@observer() // REMOVE BRACKETS => @observer
export default class UserPage extends Component {

Please include package json and babel / Typescript config
Op za 24 jun. 2017 02:04 schreef chobo2<EMAIL_ADDRESS>
I am not sure what I am doing wrong but I keep getting errors. I guess
will do one error at a time. I stripped down my project to the bare bones.
Hope someone can see the problem
app.bundle.js?31044e2…:12841 Uncaught TypeError: Cannot read property 'isMobxInjector' of undefined
at observer (app.bundle.js?31044e2…:12841)
at Object. (app.bundle.js?31044e2…:35924)
at webpack_require (app.bundle.js?31044e2…:20)
at Object. (app.bundle.js?31044e2…:23127)
at webpack_require (app.bundle.js?31044e2…:20)
at Object. (app.bundle.js?31044e2…:17566)
at webpack_require (app.bundle.js?31044e2…:20)
at module.exports (app.bundle.js?31044e2…:63)
at app.bundle.js?31044e2…:66
app.js
import React from 'react';
import ReactDOM from 'react-dom';
import stores from './stores';
import UserPage from './components/UserPage'
import { Provider  } from 'mobx-react';
ReactDOM.render(

,
document.getElementById('root')
);
UserPage
import React, { Component } from 'react'
import ReactDOM from 'react-dom';
import { observer, inject } from 'mobx-react';
import DevTools from 'mobx-react-devtools';
import Asset from '../classes/user'
@inject('userStore')
@observer()
export default class UserPage extends Component {
constructor() {
super();
}
render() {
let userStore = this.props.userStore;
    return (

            test

    )
}

}
UserStore
import {observable, computed, action} from 'mobx';
class UserStore {
@observable users = []
@observable activeUser = 2;
@computed get count() {
return this.users.length;
}
@action.bound setActiveUser(){
// I would like to pass in a paramter but not sure if it is possible with @action.bound
this.activeUser = 1;
}
}
var userStore = new UserStore();
export default userStore;
index.js
import userStore from './userStore';
const stores = {
userStore
}
export default stores;
User
import {observable} from 'mobx';
class User {
@observable https://github.com/observable firstName
@observable https://github.com/observable lastName
constructor(firstName = '', asselastNametType = '') {
this.firstName = firstName;
this.lastName = asselastNametType;
}
}
export default User;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react/issues/284, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhKNyGfsGoqb4L4t_clbTgmezR1I-ks5sHFKlgaJpZM4OEJ4k
.

Use @observer instead of @observer ()
Op za 24 jun. 2017 08:09 schreef Michel Weststrate<EMAIL_ADDRESS>
Please include package json and babel / Typescript config
Op za 24 jun. 2017 02:04 schreef chobo2<EMAIL_ADDRESS>
I am not sure what I am doing wrong but I keep getting errors. I guess
will do one error at a time. I stripped down my project to the bare bones.
Hope someone can see the problem
app.bundle.js?31044e2…:12841 Uncaught TypeError: Cannot read property 'isMobxInjector' of undefined
at observer (app.bundle.js?31044e2…:12841)
at Object. (app.bundle.js?31044e2…:35924)
at webpack_require (app.bundle.js?31044e2…:20)
at Object. (app.bundle.js?31044e2…:23127)
at webpack_require (app.bundle.js?31044e2…:20)
at Object. (app.bundle.js?31044e2…:17566)
at webpack_require (app.bundle.js?31044e2…:20)
at module.exports (app.bundle.js?31044e2…:63)
at app.bundle.js?31044e2…:66
app.js
import React from 'react';
import ReactDOM from 'react-dom';
import stores from './stores';
import UserPage from './components/UserPage'
import { Provider  } from 'mobx-react';
ReactDOM.render(

,
document.getElementById('root')
);
UserPage
import React, { Component } from 'react'
import ReactDOM from 'react-dom';
import { observer, inject } from 'mobx-react';
import DevTools from 'mobx-react-devtools';
import Asset from '../classes/user'
@inject('userStore')
@observer()
export default class UserPage extends Component {
constructor() {
super();
}
render() {
let userStore = this.props.userStore;
    return (

            test

    )
}

}
UserStore
import {observable, computed, action} from 'mobx';
class UserStore {
@observable users = []
@observable activeUser = 2;
@computed get count() {
return this.users.length;
}
@action.bound setActiveUser(){
// I would like to pass in a paramter but not sure if it is possible with @action.bound
this.activeUser = 1;
}
}
var userStore = new UserStore();
export default userStore;
index.js
import userStore from './userStore';
const stores = {
userStore
}
export default stores;
User
import {observable} from 'mobx';
class User {
@observable https://github.com/observable firstName
@observable https://github.com/observable lastName
constructor(firstName = '', asselastNametType = '') {
this.firstName = firstName;
this.lastName = asselastNametType;
}
}
export default User;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react/issues/284, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhKNyGfsGoqb4L4t_clbTgmezR1I-ks5sHFKlgaJpZM4OEJ4k
.

Thanks guys that was the problem, might have solved my other problem as well but I have to do some more testing.
I do have one more question that I sort of slipped into my project that is with
@action.bound setActiveUser()
If I use @action.bound how can I pass a parameter into it?

@chobo2 what's wrong with @action.bound setActiveUser(myParameter)?

what's wrong with @action.bound setActiveUser(myParameter)?

@andykog I don't know how to do the onclick part.  With the arrow syntax I could do something like
onClick={() => userStore.setActiveUser(userStore.users[0])}

@chobo2, please see #285. action.bind won't help to get rid of arrow function in your case. What it does is that it simply binds function to the current context.

I still have issues, with the inject on my Typescript React App. Using Reach Router also.
class ObservableQuestionStore {

    @observable questionQueue:string[] = [];
    @observable totalQuestionCount: number = 0;
    @observable question: IQuestion = EmptyQuestion;

    constructor() {
        autorun(async() => {
            try {
                const response = await fetch('api/questions/total');
                const json = await response.json();
                this.setTotalQuestionCount(json);
            } catch (e) {
                // fallback based on estimated
                this.setTotalQuestionCount(21);
            }
        });
    }

    @computed get questionQueueTotal() {
        return this.questionQueue.length
    }

    @computed get progress() {
        return Math.floor((this.questionQueueTotal / this.totalQuestionCount) * 100);
    }

    @action enqueue(id: string){
        this.questionQueue.push(id);
    }

    @action dequeue(){
        return this.questionQueue.shift();
    }

    @action setTotalQuestionCount(count: number){
        this.totalQuestionCount = count;
    }

    @action setQuestion(question: IQuestion){
        this.question = question;
    }

}

export default new ObservableQuestionStore();

import { default as questionStore } from "./config/observables/ObservableQuestionStore";
import { Provider } from "mobx-react";

ReactDOM.render(
    <Provider store={questionStore}>
        <App />
    </Provider>,
  document.getElementById('root')
);

type TOwnProps = { questionStore?: IQuestionStore }
type TRouterProps = RouteComponentProps<{ question_id: string | undefined } >
type TComponentProps = TOwnProps & TRouterProps;
type TComponentState = { questionLoaded: boolean }

@inject('questionStore')
@observer
class QuestionsPage extends React.Component<TComponentProps, TComponentState> {...

Getting the error:
Uncaught Error: MobX injector: Store 'questionStore' is not available! Make sure it is provided by some Provider

@stevematdaviesYou're providing store and injecting questionStore
Change provider part to: <Provider questionStore={questionStore}>

DOH!  Many thanks @urugator


March 9th

System Information:

Version: 2.1
Language: en-us
Timezone Offset: -06:00
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36

What steps will reproduce the problem?

Create an event for March 9th.

What is the expected result?
The Chrome extensions should display the event on March 9th.
What happens instead?
The Chrome extension displays the event on March 8th.
Screenshot URL:
https://copy.com/91TcQO6uZ2oKW4v7/March+9th.jpg
Logs:

https://github.com/manastungare/google-calendar-crx/wiki/Troubleshooting#bugs-with-the-quick-add-feature


Use affine MNI coregistration

Should be enough for airmask in T1. Depends on #449.

Another advantage of this would be that  the speed increase would allow use to use the same coregistration parameters in testing that we use in production.

@oesteban this is done right?

Not exactly: I use this simplified BSpline to get a slightly more precise registration.
I didn't close for that detail.

(sorry, clicked the wrong button)
So, we need to decided if we keep this bspline (if we gain anything from it) or not

Well the point is that the coregistration is much faster than it used to be and can be done on real size data on CircleCI.

Ok, hold on. Revising everything this is indeed still open (see #471)


react-native link adds duplicated lines to ios project.pbxproj file

Say you link 2 or more native modules, it will result in a file with these lines or something similar, which is weird:
LIBRARY_SEARCH_PATHS = (
	"$(inherited)",
	"\"$(SRCROOT)/$(TARGET_NAME)\"",
	"\"$(SRCROOT)/$(TARGET_NAME)\"",
	"\"$(SRCROOT)/$(TARGET_NAME)\"",
	"\"$(SRCROOT)/$(TARGET_NAME)\"",
	"\"$(SRCROOT)/$(TARGET_NAME)\"",
);

Environment
Environment:
  OS: macOS High Sierra 10.13.3
  Node: 9.7.1
  Yarn: 1.5.1
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: Xcode 9.2 Build version 9C40b
  Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
  react: 16.2.0 => 16.2.0
  react-native: 0.52.0 => 0.52.0

Expected Behavior
if the required line exists, don't add new duplicated lines
Actual Behavior
it adds repeating lines
Steps to Reproduce
just link 2 or more native modules

I've tried with
Environment:
  OS: macOS High Sierra 10.13.3
  Node: 9.7.1
  Yarn: 1.5.1
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: Xcode 9.2 Build version 9C40b
  Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
  react: ^16.3.0-alpha.1 => 16.3.0-alpha.1
  react-native: 0.54.0 => 0.54.0

It's still adding duplicated lines

I'm experiencing the same issue on Mac High Sierra. Each time react-native link is used. Duplicate entries are created in several files.

Sounds like the same thing I'm seeing on android, duplicate additions to android/gradle.properties and .../MainApplication.java.

+1. Same here. Occurring this issue for Android as well, in latest React-native v0.54 but not for older version. Adds duplicate lines in android/build.gradle and MainApplication.java.

i'd like to work on this if its still available.

Feel free to work on it.

I reported this issue in react-native-cli since I could not find that it had been reported over there
https://github.com/react-native-community/react-native-cli/issues/236


Floating labels Sizes

Floating labels doesn't support sizes

Bootstrap 5.0.3.

Duplicates #32130


Fix tests

Thank you!

BTW, @HDembinski, I see many commits and a fair amount of code in since the last release. I would suggest you try and make a new release soon … Just my 2 cents :-).

You are right, working on it. But it is boost release time and I was crazy busy with that. Making a boost library is a difficult and time consuming process, because you have to get everything right the first time.


Are you going to upload training code?

The results of the demo code looks perfect!
So, I hope to train your model on my dataset.
Thanks.

Unfortunately, we currently have no solid plan to release the train code. We're deeply sorry about this🥲 and refer to the paper for detailed learning process.


Does this device-update service support azure iot central

Hi,
just wondering if this service also supports Azure IOT Central, if so, is there any guidelines that we can follow, thanks. if not, any roadmap for a device update agent implementation for the azure rtos used in devices connected to iot central? thanks

Hello,
Thank you for your question,  we do have integrating with Azure IoT Central on our roadmap but there is no ETA yet. Can you share what timeline you are looking for and is this for a POC to test with a few devices or a production scenario with a large number of devices?

Hi thanks for the reply, it would be used in a production scenario, we are currently using http and azure blob storage, but this seems to be a good and integrated solution along with azure RTOS.

Other features are currently prioritized higher in our roadmap.


Back button not working on open item from drawer twice

Version
Tell us which versions you are using:

react-native-router-flux v4.0.0-beta.24 (v3 is not supported)
react-native v0.50.3

Expected behaviour
I have router below.
expected to go to home after entering setting twice or more time from drawer.
<Router>
   <Stack hideNavBar key="root" titleStyle={{ alignSelf: 'center' }}>
        <Scene key="auth">
          <Scene key="login" component={LoginForm} hideNavBar={true} title="Please Login"  panHandlers={null}/>
        </Scene>
          <Drawer key="drawer" contentComponent={SideMenu} drawerImage={MenuIcon} drawerWidth={250} panHandlers={null}>
            <Scene>
              <Scene panHandlers={null} key="dashboard" component={Dashboard} title="AVaStar!" initial/>
              <Scene back panHandlers={null} key="settings" component={Settings} title="Settings"/>
              <Scene back panHandlers={null} key="feedback" component={Feedback} title="Feedback"/>
            </Scene>
          </Drawer>
    </Stack>
</Router>

Actual behavior
Back button not working on open item from drawer twice or more
Steps to reproduce

you swipe drawer on main screen(dashboard)
select settings,
settings opened,
open drawer with swipe,
select settings again
settings opened again
back button not responding

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists


chore: release 1.2.251

:robot: I have created a release *beep* *boop*
1.2.251 (2023-08-16)
Bug Fixes

render: missing WERF_KUBE_VERSION env (810f5d3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.251 :sunflower:


Adds jaeger-zipkin which makes Jaeger compatible with Zipkin tracing

Before, Jaeger used the same thrift definition as Zipkin. However, the
propagation and reporting layers are custom. This makes it possible to
reuse Jaeger in existing Zipkin systems.

cc @kristofa @michaelsembwever @bensigelman Fyi
I made the tests such that they test against Brave

@adriancole this is awesome! I made a few comments, main one about parent ID. Maybe the codecs need to adapt between Jaeger's representation of parent=0 for root span and Zipkin's model.

(@adriancole thanks for doing this!)

Just fixed the parent ID thing. Thanks for the quick review, Yuri. I think
it is possible to share test code between the zipkin-sender and the
previous one.
If you're up for it, I can give it a go post-merge.. would want to mildly
change the sender interface so that they are similar enough to be
compatible in tests.

LGTM, merging

thanks!
On Sat, Aug 27, 2016 at 10:46 AM, Yuri Shkuro<EMAIL_ADDRESS>wrote:

Merged #34 https://github.com/uber/jaeger-client-java/pull/34.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uber/jaeger-client-java/pull/34#event-769633938, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD612Xl5e40ZNbN_ZX5mf-yVsMTtx1rks5qj6UAgaJpZM4Jt4ou
.


Add Badges for Code Coverage and CI Status

Is your feature request related to a problem?
Most of the existing OpenTelemetry repositories display a badge for CI status and code coverage. In an effort to have the lambda repository to be up to date and consistent with the other established SDKs and repositories, these badges should be included at the top of the main README.md file.
Describe the solution you'd like.
As a developer contributing to OpenTelemetry, I recommend adding a code coverage percentage and CI status badge at the top of the README document of the Lambda repo. These badges are a common feature of many modern open source projects, which improves readability and convenience to developers. By adding a badge to the README.md, with a quick scan, any observer will be able to know the status of the repository.
cc: @alolita

There isn't any code in this repository only build scripts so we won't add coverage I think. We should add the CI badge though.

There isn't any code in this repository only build scripts so we won't add coverage I think. We should add the CI badge though.

I see there are 4 different CI workflows (Collector, NodeJS, Java, Terraform) - it wouldn't be sufficient or accurate to add just one badge for multiple builds. Would you suggest adding four badges to the README.md (one for each build)?


Fix the issue the column name is not right

Column name is wrong when the column is followed with a direct '--' comment, this commit fix the issue by correctly set the column_start pointer during the identifier search.
Task: BABEL-5139
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 73.481%

Totals

Change from base Build<PHONE_NUMBER>4:
0.001%

Covered Lines:
42510

Relevant Lines:
57852

💛  - Coveralls


Docker file for node-docker

Just want to check - is this pull request still relevant? Thanks!

Closing as stale - I definitely think having a Dockerfile would be great though, please do push back if you still want to get this or something similar in.


Add tests for PR #128

(Forgot to git add these two test files...)

Umm... Somehow still didn't git add the test files... Fixed in PR #130. (Really should not code at late night.)


Remove docsy workaround

Remove the docsy workaround introduced by #1054, once https://github.com/google/docsy/issues/848 has been addressed.

Closed by #1070


Pausing + Old Camera Controls

When you pause with the old camera controls, the mouse will not reappear.

Nevermind, this is an editor issue.


Improve date consistency across FC

What does this PR do and why?
Fixes - https://github.com/jbx-protocol/juice-interface/issues/1926
The intention of this PR is to improve date consistency across the funding cycle section
I've just got one question for you @tomquirk

What is the expected situation here since in start and end we already present the date in UTC format, should we on hover also present the same format or vice versa? I understand suffix addition but couldn't understand hover addition 🍻
Screenshots or screen recordings
https://user-images.githubusercontent.com/18723426/189296437-b5e4c45c-ec15-43fe-9a3c-7b5abd5a6b20.mov
Acceptance checklist

[x] I have evaluated the Approval Guidelines for this PR.
[x] I have tested this PR in all supported browsers.
[x] I have tested this PR in dark mode and light mode (if applicable).

@NakedFool I think start/end are displayed in the user's local time. In that screenshot I posted, 8:12am is my local time (i'm UTC +9:30).
I think we have two options:

2022-09-05 8:12am +9:30
2022-09-04 10:42pm UTC

I like the local time. But for consistency, perhaps we should go with the second option and display UTC time.
What do you think?

@NakedFool I think start/end are displayed in the user's local time. In that screenshot I posted, 8:12am is my local time (i'm UTC +9:30).
I think we have two options:

2022-09-05 8:12am +9:30
2022-09-04 10:42pm UTC

I like the local time. But for consistency, perhaps we should go with the second option and display UTC time.
What do you think?

Ooh, you are right, my bad.
I'd go with option 2, however, we should only show the UTC date on hover in start and end right?
I'm attaching a recording of the current workaround just so you don't have to pull the latest changes, lmk what you think
https://user-images.githubusercontent.com/18723426/189839182-d13bd08c-b276-4f1a-a2f3-b7da962d6a31.mov

@tomquirk the only issue i'm seeing now is UI based, as you can see on the screenshot there isn't enough space in start so UTC goes in the next row. wdyt?

@NakedFool I'm pushing a merge commit! 🙏


chore(release): 2.23.0

Version bump in package.json and package-lock.json for release 2.23.0

:tada: This PR is included in version 2.23.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Wrong readme file content for FixedHostPortGenericContainer

Within the readme file rather than FixedHostPortGenericContainer, FixedHostPortGenericGenericContainer (with the typo) is used.

Fixed Host Port Containers
This container will allow you to map container ports to statically defined ports on the docker host.
...
val container = FixedHostPortGenericGenericContainer("nginx:latest",
waitStrategy = Wait.forHttp("/"),
exposedHostPort = 8090,
exposedContainerPort = 80
)

@SimoneCafiero thank you! I've fixed that.


TTL from Cache-Control header of backend response

Hi, is it possible to configure Souin (using the caddy plugin) to set the ttl from the Cache-Control header set by the backend?

Hey @cdaguerre can you develop your issue?
Did you try to use Souin directly?
FYI I plan to merge the latest release in the cache-handler so if you have some weird behaviors I would be happy to fix them before the merge 🙂

Hi @darkweak and thanks for your quick response:
This is an example of what I see:

Header
Value

Cache-Control
max-age=3600, public, s-maxage=3600

Age
7

Cache-Status
Souin; hit; ttl=113

Vary
Accept

In this example, to my understanding, you can see the TTL set for the cached request is 120, that it's already 7 seconds old and that it will remain in cache for 113 more seconds.
I would expect it to be cached for as long as the s-maxage value states.
This is what my Caddyfile looks like, nothing special, really....
{
    debug
    order cache before rewrite
    cache {
        default_cache_control no-store
    }
}

:443 {
    cache

    reverse_proxy nginx:80
}

Is this a bug or am I missing something?

Arghh That makes sense. Could have figured that out by myself. RTFM ;)
Thank you very much for your help.


Using the unexpected method, due to dependency conflicts on commons-codec

Hi, there are multiple versions of commons-codec:commons-codec in yawp-yawp-2.0.4alpha\yawp-appengine. As shown in the following dependency tree, according to Maven's "nearest wins strategy", only commons-codec:commons-codec:jar:1.10 can be loaded, and commons-codec:commons-codec:jar:1.3 will be shaded.
Your project references the method org.apache.commons.codec.binary.Base64.encode( byte[] ), which is included in the shaded version commons-codec:commons-codec:jar:1.3. However, this method is missing in the actual loaded version commons-codec:jar:1.10. Surprisingly, it will not cause NoSuchMethodError at rumtime.
By further analyzing, I found that the caller Io.yawp.commons.utils.NameGenerator : generate( byte[] ) would invoke the method BaseNCodec.encode( byte[] ) defined in the superclass (Base64 extends BaseNCodec) of org.apache.commons.codec.binary.Base64 with the same signature of the expected callee, due to dynamic binding mechanism.
Although the actual invoked method belonging to BaseNCodec has the same method name, same parameter types and return type, but it has different control flows and different behaviors. Maybe it is buggy behavior.
Solution: Remove the conflicting Jars.
Dependency tree-------------
io.yawp:yawp:jar:2.0.4alpha
+- io.yawp:yawp-core:jar:2.0.4alpha:compile
|  +- com.google.code.gson:gson:jar:2.2.4:compile
|  +- com.owlike:genson:jar:1.4:compile
|  +- org.apache.commons:commons-lang3:jar:3.1:compile
|  +- org.reflections:reflections:jar:0.9.10:compile
|  |  +- org.javassist:javassist:jar:3.19.0-GA:compile
|  |  - com.google.code.findbugs:annotations:jar:2.0.1:compile
|  +- com.google.guava:guava:jar:19.0:compile
|  +- commons-beanutils:commons-beanutils:jar:1.9.1:compile
|  |  +- commons-logging:commons-logging:jar:1.1.1:compile
|  |  - commons-collections:commons-collections:jar:3.2.1:compile
|  +- commons-codec:commons-codec:jar:1.10:compile
|  - org.yaml:snakeyaml:jar:1.16:compile
+- com.google.appengine:appengine-api-1.0-sdk:jar:1.9.51:compile
+- com.google.appengine:appengine-api-labs:jar:1.9.51:compile
+- com.google.appengine.tools:appengine-pipeline:jar:0.2.13:compile
|  +- org.json:json:jar:20090211:compile
|  +- (com.google.appengine:appengine-api-1.0-sdk:jar:1.9.51:compile - omitted for duplicate)
|  - (com.google.guava:guava:jar:19.0:compile - omitted for duplicate)
+- com.google.appengine.tools:appengine-gcs-client:jar:0.6:compile
|  +- (com.google.appengine:appengine-api-1.0-sdk:jar:1.9.51:compile - omitted for duplicate)
|  +- (com.google.guava:guava:jar:19.0-rc1:compile - omitted for conflict with 19.0)
|  +- joda-time:joda-time:jar:2.3:compile
|  +- com.google.apis:google-api-services-storage:jar:v1-rev68-1.21.0:compile
|  |  - com.google.api-client:google-api-client:jar:1.21.0:compile
|  |     +- com.google.oauth-client:google-oauth-client:jar:1.21.0:compile
|  |     |  - (com.google.code.findbugs:jsr305:jar:1.3.9:compile - omitted for duplicate)
|  |     - (com.google.http-client:google-http-client-jackson2:jar:1.21.0:compile - omitted for duplicate)
|  +- com.google.api-client:google-api-client-appengine:jar:1.27.0:compile
|  |  +- com.google.oauth-client:google-oauth-client-appengine:jar:1.27.0:compile
|  |  |  +- (com.google.http-client:google-http-client-appengine:jar:1.27.0:compile - omitted for duplicate)
|  |  |  +- (com.google.oauth-client:google-oauth-client:jar:1.27.0:compile - omitted for conflict with 1.21.0)
|  |  |  - com.google.oauth-client:google-oauth-client-servlet:jar:1.27.0:compile
|  |  |     +- (com.google.oauth-client:google-oauth-client:jar:1.27.0:compile - omitted for conflict with 1.21.0)
|  |  |     +- com.google.http-client:google-http-client-jdo:jar:1.27.0:compile
|  |  |     |  - (javax.jdo:jdo2-api:jar:2.3-eb:compile - omitted for duplicate)
|  |  |     - (javax.jdo:jdo2-api:jar:2.3-eb:compile - omitted for duplicate)
|  |  +- (com.google.api-client:google-api-client:jar:1.27.0:compile - omitted for conflict with 1.21.0)
|  |  +- com.google.api-client:google-api-client-servlet:jar:1.27.0:compile
|  |  |  +- (com.google.oauth-client:google-oauth-client-servlet:jar:1.27.0:compile - omitted for duplicate)
|  |  |  +- (com.google.api-client:google-api-client:jar:1.27.0:compile - omitted for conflict with 1.21.0)
|  |  |  +- (javax.servlet:servlet-api:jar:2.5:compile - omitted for duplicate)
|  |  |  - javax.jdo:jdo2-api:jar:2.3-eb:compile
|  |  |     - javax.transaction:transaction-api:jar:1.1:compile
|  |  - com.google.http-client:google-http-client-appengine:jar:1.27.0:compile
|  - com.google.http-client:google-http-client-jackson2:jar:1.21.0:compile
|     - com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
+- com.google.http-client:google-http-client:jar:1.22.0:compile
|  +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
|  - org.apache.httpcomponents:httpclient:jar:4.0.1:compile
|     +- org.apache.httpcomponents:httpcore:jar:4.0.1:compile
|     +- (commons-logging:commons-logging:jar:1.1.1:compile - omitted for duplicate)
|     - (commons-codec:commons-codec:jar:1.3:compile - omitted for conflict with 1.10)
+- javax.servlet:servlet-api:jar:2.5:provided (scope not updated to compile)
- junit:junit:jar:4.11:test
- org.hamcrest:hamcrest-core:jar:1.3:test

The code snippet of org.apache.commons.codec.binary.Base64.encode( byte[] )----

and code snippet of org.apache.commons.codec.binary.BaseNCodec.encode( byte[] )----

Hope this report can help you.
Happy new year!
Best,
Coco

hi, @feroult , could you help me deal with it?

@HelloCoCooo Sure!
I'll take look. Do you need Java7 support? Or could we go with only Java 8 solution for YAWP 2.0?
Also, by any chance, as you pointed out a possible solution, would you mind do provide a PR?
Don't worry if you can't... I'll take look at it anyway, hopefully I'll to get it to you soon.
Regards.

@HelloCoCooo version 2.0.5alpha removes the commons codec dependency.
Let me know if you still have problems.
Regards


Remove repo_root requirement

Repo_root no longer needed
arcs_kt_schema now generates a kotlin library
Add working Kotlin Particle + schema build
Slight refactor to SDK to separate out Entity.kt from WASM for use in Android SDK/schema2kotlin

I'll defer to Cameron, I wouldn't be able to review this properly :(

I have it working now, but only with spawn_strategy=local, which still, in a way, relies on being able to see the original 'repo' instead of the sandbox. I have it partially working inside the sandbox, which will be more ideal, since if it works inside the sandbox, it'll work with remote execution and workers, which will allow build-farming to speed up the build.
So not ready yet.

Ok Cameron (or Jason), PTAL.
I simplified and removed some of the hacks.
Basically, the gist is to make build rules dep on node_modules and src/ directories. This causes symlinks to be created in runfiles, which means the build macros can execute sigh mapped into the sandbox via local paths instead of relying on global absolute references to the repo, or blaze-out.
This CL will enable us to turn on remote_cache and remote_build more easily, to try and speed up the bazel tests.


Disable bigint for 64 bit machines

This PR disables BigInteger if the machine is 64-bit. Currently, when an i8 type is received from the XMLRPC server, the client converts the value to a BigInteger. But now, if the machine is 64-bit, it will simply convert the value to a standard Integer.

@jtvd78 I've added an additional test to ensure that i8 values are not cast to BigInteger on 64-bit systems (the test is skipped on non-64bit systems). I'll be merging and releasing shortly; thanks for the contribution!


Updated winapi to 0.3

I know less about the winapi but everything seems to check out here!

Thanks!
FYI https://retep998.github.io/blog/winapi-0.3/

@softprops would also be great to make a release with this

@alexbool done. released 0.2.6 with this change. https://crates.io/crates/atty
Thanks again for the patch!


Adjust y-axis zoom for time series annotations

Is your feature request related to a problem? Please describe.
Below is a screenshot from a signal that I'd like to annotate. I'd like to control the y-axis zoom manually. This would provide more granularity on the orange line.

Describe the solution you'd like
Similar to the x-axis zoom controls.
Describe alternatives you've considered
Additional context
Using the latest version of Label Studio.

+1 for this feature request

Related to this: when I have only one or few channels to annotate, (see below) I can't resize the channel to occupy the entire screen. This would allow much greater detail and would optimise the screen space and visualisation.


pixiedust.sampleData showing error like Path does not exist:

As a pixiedust user, I want to load sample data so that  I can create pyspark data frame and perform action on it.
Expected behavior
Actual behavior
For IBM Analytics engine, If I do pixiedust.sampleData("sample data url"), getting error like

Downloading 'https://github.com/ibm-watson-data-lab/open-data/raw/master/cars/cars.csv' from https://github.com/ibm-watson-data-lab/open-data/raw/master/cars/cars.csv
Downloaded 20954 of 20954 bytes
Creating pySpark DataFrame for 'https://github.com/ibm-watson-data-lab/open-data/raw/master/cars/cars.csv'. Please wait...
Successfully created pySpark DataFrame for 'https://github.com/ibm-watson-data-lab/open-data/raw/master/cars/cars.csv'

Py4JJavaError                             Traceback (most recent call last)
/usr/hdp/current/spark2-client/python/pyspark/sql/utils.py in deco(*a, **kw)
62         try:
---> 63             return f(*a, **kw)
64         except py4j.protocol.Py4JJavaError as e:
/usr/hdp/current/spark2-client/python/lib/py4j-0.10.6-src.zip/py4j/protocol.py in get_return_value(answer, gateway_client, target_id, name)
319                     "An error occurred while calling {0}{1}{2}.\n".
--> 320                     format(target_id, ".", name), value)
321             else:
Py4JJavaError: An error occurred while calling o162.load.
: org.apache.spark.sql.AnalysisException: Path does not exist: hdfs://chs-rop-421-mn002.us-south.ae.test.appdomain.cloud:8020/tmp/tmp4kyqtkk_;

Steps to reproduce the behavior
Create an instance of Analytics Engine from bluemix and add that instance to watson studio project and create notebook by using this instance.

@vabarbosa I have seen this file downloaded into local file system /tmp/tmp4kyqtkk_ but it is looking for hdfs path.

@vabarbosa can you use can you try to use it from https://console.bluemix.net to create IAE instance.

@vabarbosa please assign this issue to me.

PR for this issue : https://github.com/pixiedust/pixiedust/pull/768


RuntimeError: DataLoader worker (pid 16560) is killed by signal: Killed.

❓ Questions and Help
I use COCO dataset and default setting.
This error occurred when running to 23540 iters.
Is this my dataset problem, or?
My Environment:
2018-11-21 17:02:50,065 maskrcnn_benchmark INFO: Using 2 GPUs
2018-11-21 17:02:50,066 maskrcnn_benchmark INFO: Namespace(config_file='configs/e2e_faster_rcnn_R_50_FPN_1x.yaml', distributed=True, local_rank=0, opts=[], skip_test=False)
2018-11-21 17:02:50,066 maskrcnn_benchmark INFO: Collecting env info (might take some time)
2018-11-21 17:02:51,106 maskrcnn_benchmark INFO:
PyTorch version: 1.0.0a0+5d0ef34
Is debug build: No
CUDA used to build PyTorch: 9.1.85
OS: Ubuntu 16.04.4 LTS
GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
CMake version: version 3.5.1
Python version: 2.7
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration:
GPU 0: GeForce GTX 1080 Ti
GPU 1: TITAN X (Pascal)
Nvidia driver version: 390.59
cuDNN version: Probably one of the following:
/usr/local/cuda-9.1/lib64/libcudnn.so
/usr/local/cuda-9.1/lib64/libcudnn.so.7
/usr/local/cuda-9.1/lib64/libcudnn.so.7.0.5
/usr/local/cuda-9.1/lib64/libcudnn_static.a
Error Info:
2018-11-21 19:57:51,134 maskrcnn_benchmark.trainer INFO: eta: 1 day, 17:36:49  iter: 23540  loss: 0.6437 (0.6677)  loss_box_reg: 0.1438 (0.1584)  loss_rpn_box_reg: 0.0716 (0.0752)  loss_classifier: 0.3284 (0.3506)  time: 0.4422 (0.4453)  loss_objectness: 0.0696 (0.0836)  data: 0.0059 (0.0088)  lr: 0.005000  max mem: 3546
2018-11-21 19:57:59,999 maskrcnn_benchmark.trainer INFO: eta: 1 day, 17:36:39  iter: 23560  loss: 0.5838 (0.6677)  loss_box_reg: 0.1453 (0.1583)  loss_rpn_box_reg: 0.0342 (0.0751)  loss_classifier: 0.3052 (0.3506)  time: 0.4419 (0.4452)  loss_objectness: 0.0557 (0.0836)  data: 0.0045 (0.0088)  lr: 0.005000  max mem: 3546
2018-11-21 19:58:08,802 maskrcnn_benchmark.trainer INFO: eta: 1 day, 17:36:29  iter: 23580  loss: 0.6262 (0.6676)  loss_box_reg: 0.1667 (0.1583)  loss_rpn_box_reg: 0.0962 (0.0752)  loss_classifier: 0.2801 (0.3505)  time: 0.4419 (0.4452)  loss_objectness: 0.0805 (0.0836)  data: 0.0054 (0.0088)  lr: 0.005000  max mem: 3546
2018-11-21 19:58:17,906 maskrcnn_benchmark.trainer INFO: eta: 1 day, 17:36:23  iter: 23600  loss: 0.5771 (0.6676)  loss_box_reg: 0.1431 (0.1583)  loss_rpn_box_reg: 0.0493 (0.0752)  loss_classifier: 0.3077 (0.3505)  time: 0.4511 (0.4453)  loss_objectness: 0.0478 (0.0836)  data: 0.0049 (0.0088)  lr: 0.005000  max mem: 3546
2018-11-21 19:58:26,721 maskrcnn_benchmark.trainer INFO: eta: 1 day, 17:36:13  iter: 23620  loss: 0.6393 (0.6676)  loss_box_reg: 0.1706 (0.1583)  loss_rpn_box_reg: 0.0479 (0.0752)  loss_classifier: 0.3366 (0.3505)  time: 0.4390 (0.4452)  loss_objectness: 0.0615 (0.0836)  data: 0.0050 (0.0088)  lr: 0.005000  max mem: 3546
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/queues.py", line 268, in _feed
send(obj)
File "/usr/local/lib/python2.7/dist-packages/torch/multiprocessing/queue.py", line 18, in send
self.send_bytes(buf.getvalue())
IOError: [Errno 32] Broken pipe
Traceback (most recent call last):
File "tools/train_net.py", line 170, in
main()
File "tools/train_net.py", line 163, in main
model = train(cfg, args.local_rank, args.distributed)
File "tools/train_net.py", line 73, in train
arguments,
File "/home/jario/spire-net-1810/maskrcnn-benchmark/maskrcnn_benchmark/engine/trainer.py", line 66, in do_train
loss_dict = model(images, targets)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 479, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/parallel/deprecated/distributed.py", line 223, in forward
return self.module(*inputs[0], **kwargs[0])
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 479, in call
result = self.forward(*input, **kwargs)
File "/home/jario/spire-net-1810/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 49, in forward
features = self.backbone(images.tensors)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 479, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 479, in call
result = self.forward(*input, **kwargs)
File "/home/jario/spire-net-1810/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/resnet.py", line 117, in forward
x = self.stem(x)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 479, in call
result = self.forward(*input, **kwargs)
File "/home/jario/spire-net-1810/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/resnet.py", line 287, in forward
x = self.conv1(x)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 479, in call
result = self.forward(*input, **kwargs)
File "/home/jario/spire-net-1810/maskrcnn-benchmark/maskrcnn_benchmark/layers/misc.py", line 33, in forward
return super(Conv2d, self).forward(x)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/conv.py", line 313, in forward
self.padding, self.dilation, self.groups)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 274, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 16560) is killed by signal: Killed.

I used Detectron (https://github.com/facebookresearch/Detectron) for training in the same environment and did not encounter this problem. This means that the dataset should be all right. Anyone have the same problem?

Can you try setting DATALOADER.NUM_WORKERS to 0 and run again? This should give you a better idea of the problem.
Also, one possibility is that one of the images of your dataset is corrupted, but because opencv (which is used by Detectron) loads corrupted images without complaining (while PIL by default raises a warning), this might be the issue.

I have run into  this problem twice. Does anyone have solved this problem?

This problem occasionally occurs.
When I set DATALOADER. NUM_WORKERS to 0, this error did not occur again, but the training speed would decrease.
I still haven't found the specific reason.

Except setting DATALOADER. NUM_WORKERS to 0, is there any other ways to solve this problem?

same problem here. Any fix for this?

In my case, it was caused by the CPU memory. After I increased my CPU memory on the cluster, the problem is gone.

same here:
ERROR - worker:73 - call - trainer crashed. Error: DataLoader worker (pid 1159) is killed by signal: Killed.

I have run it in CPU and also met an error: RuntimeError: DataLoader worker (pid 16560) is killed by signal: Killed.
I followed @fmassa, it was killed and printed in terminal:
Count of instances per bin: [85308 31958]
Test:  [   0/5000]  eta: 8:26:32  model_time: 5.8156 (5.8156)  evaluator_time: 0.1168 (0.1168)  time: 6.0785  data: 0.1460
Killed
Can someone help me?
Thanks a lot.

I removed def _init_fn(): np.random.seed(args.seed) form my torch.utils.data.DataLoader(). Now it is working with 4 workers but it is still not using multiple gpus when I use torch.nn.DataParallel(model).cuda(). Does anyone encountered this?

Hi @SaynaEbrahimi, I am not able to find def _init_fn(): np.random.seed(args.seed) in the dataloader.py file. Should I find it somewhere else? Or is a matter of versions?

@SaynaEbrahimi @Tato14 Have you solved this problem? I met the same problem...https://github.com/xingyizhou/CenterNet/issues/566

For me, this problem sometimes happens in a docker virtual machine. Commonly, I will set the cpu count lager than NUM_WORKERS & use a bigger memory than the dataset used.

If you are also experiencing this problem, I found a solution: In my case, the Out Of Memory Killer killed the process. The solution was to create a bigger swap file and let the system use that:
linux@linux:~# fallocate -l 64G /tmp/swap
linux@linux:~# chmod 600 /tmp/swap
linux@linux:~# mkswap /tmp/swap
linux@linux:~# swapon /tmp/swap

You can verify that the swap is working by running swapon --show.

Yeah! This solved my problem. I can finally use multiple workers.

For me, this problem sometimes happens in a docker virtual machine. Commonly, I will set the cpu count lager than NUM_WORKERS & use a bigger memory than the dataset used.
I'm in the same situation, how do I fix it?


🐛(api) fix ralph runserver on pre-built images

Purpose
Fix a bug with running the ralph executable instead of via python -m ralph on pre-built images resulting in uvicorn throwing a RuntimeError while forking the process:
An attempt has been made to start a new process before the current process has finished its bootstrapping phase.
Proposal
Wrap the cli command in a check that we're running from __main__ to prevent the recursion.

@jmaupetit updated, thank you!


Date: make a new release of parse_datetime to fix date-sec gnu test case

Hi everyone,
I was trying to solve date-sec gnu test case in date utility and I made a pr in parse_datetime #65, so I was hoping we could have a new release of parse_datetime so that it would make the test case pass in our gnu test coverage.

Fixed with https://github.com/uutils/coreutils/pull/6423


NATIVE-532: Build configs for metro

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword NATIVE.

@lulo4907 could you try again please?


Weird crash in toJSONData

Hi,
I have a strange situation where tests in my project pass when run individually but crash when they are run as part of the suite of tests.
I'm using the latest (as of today) version of ObjectMapper and my project is in Swift 3 for iOS 10. The problem occurs both with Xcode 8.0 and Xcode 8.1 beta.
The crash happens on if JSONSerialization.isValidJSONObject(JSONObject) with EXC_BAD_ACCESS. The JSONObject seems properly formatted according to the debugger.
I understand this piece of code is from Foundation, so not your responsibility. But I was wondering if you already ran into such problems and if you know of a workaround.
Thanks.

Could you please provide us how to reproduce the bug?

Hi,
Unfortunately I tried to isolate this in a test project, but it would not crash outside the original project...
But I found this radar bug: iOS 10 Beta 6 - Swift 3 - JSONSerialization EXC_BAD_ACCESS and the linked gist.
This could explain it: depending on what happened in the runtime before, the call may or may not crash. Prior to calling isValidJSONObject ObjectMapper transforms the object into a dictionary of [String:Any] (public func toJSON(_ object: N) -> [String: Any]) and the object I'm transforming contains Strings.
Since this seems to be a known Foundation issue, I guess you cannot do much about it. If so, I let you close the bug.


Wrong Unicode conversion for "dash within numbers" and "range of numbers"

I tried the following conversion in an annotation field with the "Guess Unicode Punctuation" script:
Before conversion (all three lines use hyphen minus (U0012) from the standard keyboard)
Figure Dash (U2012)	Used as a dash within numbers (e.g. 555-1212).
En Dash     (U2013)	Indicates a range of numbers (e.g. 1989-90).
Hyphen 	    (U2010)     Joins words and syllables of a word (e.g. co-operate) and used within dates (e.g. 2022-01-01 or 2021-31)
After conversion
Figure Dash (U2012)	Used as a dash within numbers (e.g. 555–1212).                                                                 actual result: U2013   expected result: U2012
En Dash     (U2013)	Indicates a range of numbers (e.g. 1989‐90).                                                                   actual result: U2010   expected result: U2013
Hyphen 	    (U2010)     Joins words and syllables of a word (e.g. co‐operate) and used within dates (e.g. 2022‐01‐01 or 2021‐31)       actual result: U2010
So according to https://wiki.musicbrainz.org/User:Jacobbrett/English_Punctuation_Guide the first two lines seem to be wrong after conversion. Is this a supported case by the script ?

Thanks for your tests, currently numbers other than dates are not really handled well by the simple RegEx replacement transformations that the script is doing (as you have noticed).
I had not put much thought into figure dashes since they are very rarely to be found in song and album titles. Also it is often impossible to tell ranges and grouped digits apart. Your examples perfectly show why even a more complex logic can't do these correctly in all cases: 555-1212 could also be a range (since 1212 is greater than 555) while 1989-90 was unlikely to be a range if 90 was not an abbreviated year. So I had decided to keep it simple and interpret all remaining hyphen-minus between digits as range specifiers (en dash) 😅
The only ways I see how the script does not return wrong results for grouped digits is to...

ignore all hyphen-minus between digits which are not valid dates. I would rather avoid this as ranges in titles are much more common.
add special cases for e.g. ISBNs and (some) phone numbers (if even possible). It is probably overkill to have dedicated additional rules for these rare things which then have to be run needlessly for all titles. Currently I am very happy that I have condensed most cases into just 11 rules, but I might consider this in the future if there is demand.

I could probably use figure dashes if there are three or more groups of digits, I will have a look.
So far I was at least able to make the script handle the 1989-90 case correctly, previously it interpreted that one as a partial ISO 8601 date. Now it tries to validate the date before doing the replacement and leaves invalid dates for the other transformation rules, which leads to 1989-90 interpreted as range (see d0ff0142fc944ef181dcf2cf018f1c963570f2c1).

Thanks for your tests, currently numbers other than dates are not really handled well by the simple RegEx replacement transformations that the script is doing (as you have noticed).
I had not put much thought into figure dashes since they are very rarely to be found in song and album titles. Also it is often impossible to tell ranges and grouped digits apart. Your examples perfectly show why even a more complex logic can't do these correctly in all cases: 555-1212 could also be a range (since 1212 is greater than 555) while 1989-90 was unlikely to be a range if 90 was not an abbreviated year. So I had decided to keep it simple and interpret all remaining hyphen-minus between digits as range specifiers (en dash) 😅
The only ways I see how the script does not return wrong results for grouped digits is to...

ignore all hyphen-minus between digits which are not valid dates. I would rather avoid this as ranges in titles are much more common.
add special cases for e.g. ISBNs and (some) phone numbers (if even possible). It is probably overkill to have dedicated additional rules for these rare things which then have to be run needlessly for all titles. Currently I am very happy that I have condensed most cases into just 11 rules, but I might consider this in the future if there is demand.

I could probably use figure dashes if there are three or more groups of digits, I will have a look.
So far I was at least able to make the script handle the 1989-90 case correctly, previously it interpreted that one as a partial ISO 8601 date. Now it tries to validate the date before doing the replacement and leaves invalid dates for the other transformation rules, which leads to 1989-90 interpreted as range (see d0ff0142fc944ef181dcf2cf018f1c963570f2c1).

I could probably use figure dashes if there are three or more groups of digits (then it is definitely not a range and dates have already been converted before), I will have a look.

Done in c8348ac5f61c71d698739138c90413fae9e59721, now it only interprets two groups of digits as range (correctly or mistakenly).
I have released these changes in version 2022.1.1.

I could probably use figure dashes if there are three or more groups of digits (then it is definitely not a range and dates have already been converted before), I will have a look.

Done in c8348ac5f61c71d698739138c90413fae9e59721, now it only interprets two groups of digits as range (correctly or mistakenly).
I have released these changes in version 2022.1.1.

cool thx ... and happy new year


Encodable decodable

Current coverage is 65.79%

Merging #48 into develop will decrease coverage by -8.14% as of 135663e

@@            develop     #48   diff @@
=======================================
  Files            10      11      +1
  Stmts           725    1868   +1143
  Branches          0       0
  Methods
=======================================
+ Hit             536    1229    +693
  Partial           0       0
- Missed          189     639    +450

Review entire Coverage Diff as of 135663e

Powered by Codecov. Updated on successful CI builds.


Remove usage of stat -c [phab:D1186]

Created by salguarnieri at 2016-12-15 23:09:24:
stat -c is not safe to use on OS X so replace it with a command that
should be safe on all systems.
I'm having problems with docker, so this change is not entirely tested.

fromberger accepted this revision at 2016-12-15 23:26:54

salguarnieri closed via commit 6a6cb8fed2bf380c70af50d1d7e55c1c069f76ce at 2016-12-15 23:48:53


Create a Validation category

Validation category should contain

Micronaut Validation
Micronaut Hibernate Validator

@sdelamo Is there a specific image I should use?

no, lets look for a svg without copyright which we can use to illustrate validation. maybe a checkmark.


Xcode 14.1 keeps failing to build without any information about what failed

Description
I tried to update our pipelines to use Xcode 14. The build logs show:
/usr/bin/xcodebuild -version
Xcode 14.1
Build version 14B47b

That is also the same version I have locally and it is building fine locally.
The build fails, but there is no info about what failed:
** BUILD FAILED **

##[error]Error: /usr/bin/xcodebuild failed with return code: 65

with system.debug turned on it's not much more helpful:
...
##[debug]success of first tool:false
##[debug]rc:0
##[debug]success:true
##[debug]task result: Failed
##[error]Error: /usr/bin/xcodebuild failed with return code: 65
##[debug]Processed: ##vso[task.issue type=error;]Error: /usr/bin/xcodebuild failed with return code: 65
##[debug]Processed: ##vso[task.complete result=Failed;]Error: /usr/bin/xcodebuild failed with return code: 65
##[debug]Agent.Version=2.213.2
...

Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[X] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Version: 20221121.1
Is it regression?
No, Xcode 13 runs fine on that same version, but we haven't tried Xcode 14 on a previous version
Expected behavior
I'd expect that Xcode 14.1 will build the project and the pipeline will complete successfully
Actual behavior
The build is failing without any information
Repro steps
We are pushing builds through bitbucket and using web hooks to trigger the pipeline.
Specifying xcodeVersion: '14' fails
Specifying xcodeVersion: '13' succeeds

Hi! Please provide repro steps

What are you looking for? I mentioned in the ticket that it's a pipeline kicked off from Bitbucket. I can't share the whole pipeline file, but do you need more of it?

Same problem here with xcode 14.1 (13 was working fine).
/usr/bin/xcodebuild -sdk iphoneos -configuration Release -workspace /Users/runner/work/1/s/***.xcodeproj/project.xcworkspace -scheme *** archive -destination generic/platform=iOS -verbose CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=*** PROVISIONING_PROFILE=*** PROVISIONING_PROFILE_SPECIFIER=*** | /usr/local/lib/ruby/gems/3.0.0/bin/xcpretty -r junit --no-color
Results in:
##[error]Error: /usr/bin/xcodebuild failed with return code: 65

Is someone looking into it?

It looks like an issue with Fastlane. No solution so far.
https://github.com/fastlane/fastlane/issues/20825

This is also happening to me, something is wrong with xcode 14 on azure. Currently, i specify the xcode version to 13 by using xcodeVersion: '13' and it still building fine.

We have the same problem on our project, but with one configuration it's work but with other it does :

The working configuration has setup at 24/11/2022 with a MacOs 11
The other configuration has setup at 06/01/2023 with MacOs 12 and failed

@florentm35 can you please double check:

both builds use either "Development" or "Distribution" certificate/provision pair
none of build use "iOS App Development"/"iOS Distribution" certificate instead of "Apple Development"/"Apple Distribution"

Thanks to @dymv there's a promising repro that works with XCode 13 and fails with XCode 14
It demonstrates the xcodebuild depends on correct combination of 3 options:

CODE_SIGN_IDENTITY="Apple Distribution"
DEVELOPMENT_TEAM="appleId"
CODE_SIGN_STYLE="Manual"

If none provider both builds sucessed
if CODE_SIGN_IDENTITY="Apple Distribution" or CODE_SIGN_IDENTITY="Apple Distribution" DEVELOPMENT_TEAM="_appleId_" are provided xcode 14 fails
if all three CODE_SIGN_IDENTITY="Apple Distribution", DEVELOPMENT_TEAM="_appleId_" and `CODE_SIGN_STYLE="Manual" are provided both builds sucessed
But this repro does not issue the "65 code" error. I suspect it is because the build does not use fastlane which may add some extra options to change the output somehow.

If anyone was having problems with this running this way worked for me:
- task: Xcode@5
    displayName: 'Build IPA'
    inputs:
      actions: 'clean'
      configuration: 'Release'
      exportOptionsPlist: '$(IOS_FOLDER)/nativeApp/Info.plist'
      sdk: 'iphoneos'
      xcWorkspacePath: '$(IOS_FOLDER)/nativeApp.xcworkspace'
      scheme: 'nativeApp'
      packageApp: true
      exportPath: 'output'
      signingOption: 'manual'
      signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
      provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
      args: 'ENABLE_BITCODE=NO'

Important to note here is that if I specify xcodeVersion: '14' the build will run on 14.2, at this date, and fail. But if I do not pass the xcodeVersion, it runs on 14.2 and pass.

@darecki our problem was spm related as well. It was trying to sign local packages and failing. The trick there is to change the Xcode part of the pipeline to archive first and then export and sign with entitlements.

The issue is closed because it is not related to the runner images repo. The root cause is the incompatibility between XCode 13/14 and there's no common solution for the different build scenarios.
The comment https://github.com/actions/runner-images/issues/6642#issuecomment-1402377143 points out the way to start solving the problem in specific case.

For those who are still lost, this is what helped me:

first: disable useXPretty so you can see the actual error
if there is a problem with signing the app (or signing your SPM packages/pods) disable manual or automatic signing and use the project default
Sign app using exportOptionsPlist

Here is my Azure pipeline task which now works
          - task: Xcode@5
            displayName: Build application
            inputs:
              actions: 'build'
              configuration: '$(buildConfiguration)'
              sdk: '$(sdk)'
              xcWorkspacePath: 'APP.xcworkspace'
              scheme: '$(scheme)'
              xcodeVersion: 'specifyPath'
              xcodeDeveloperDir: '/Applications/Xcode_14.2.app/Contents/Developer'
              packageApp: true
              destinationTypeOption: devices
              args: '-verbose"'
              signingOption: 'default'
              useXcpretty: true # or `false` if you want to see hidden errors
              exportOptions: 'plist'
              exportOptionsPlist: 'PATH/TO/YOUR/exportOptions.plist'

and this is a sample of my exportOptions.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>provisioningProfiles</key>
	<dict>
		<key>com.app.app</key>
		<string>The Name of my Distribution Certificate from Xcode project</string>
	</dict>
	<key>signingStyle</key>
	<string>manual</string>
	<key>teamId</key>
	<string>XXXXXX</string>
	<key>method</key>
	<string>enterprise</string>
</dict>
</plist>

I resolved this issue by updating the agent in my pipeline yaml to macOS 13:
pool:
  vmImage: macos-13

I let it use the default version of Xcode (omit xcodeVersion) and it used Xcode 14.2. This allowed my build to succeed.

I resolved this issue by updating the agent in my pipeline yaml to macOS 13:
pool:
  vmImage: macos-13

I let it use the default version of Xcode (omit xcodeVersion) and it used Xcode 14.2. This allowed my build to succeed.

That worked for a bit, but now Azure Devops updated the macOS version from 13.4 to 13.5 and it stopped working. Any luck with solving it this time?

From Monday July 31st - Tuesday Aug 1st - Azure Devops updated the macOS version from 13.4 to 13.5 and now my pipeline builds for validating unit testing are double in times.  Why is 13.5 running the compiling of the Xcode app slower?
This complete validate step use to take 18min and now its timing out and takes 24min just to finish compiling before it execute the tests.


Horizontal Scrollify

Hey @lukehaas, first off I wanted to thank you for putting this plugin - It handles great!  My web app has the option to change the layout from horizontal to vertical, and was wondering if you had any intention to build this functionality.  I did notice that there is an axis option (set to "y" by default) in the settings object, but did not see this called anywhere else in the code.
Thank you,
Alex

get a life

Hi @AlexanderBurton, sorry for the late reply. Horizontal scrolling is something I'd like to support in Scrollify but it would be a large update and I don't intend to work on that feature any time soon.

Thank you so much for the response.


What is the difference between Quick Access and Per-App Access?

Hello MSFT,
What is the difference between these 2 in terms of functionality and what are the use cases to use one over the other?
Thank you!

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

ID: b72d7f72-e1e1-2210-25d6-7afcba3abe20
Version Independent ID: dfc55a75-7d5c-00c3-7b7e-0914d624e114
Content: How to configure Per-app Access using Global Secure Access applications - Global Secure Access
Content Source: docs/global-secure-access/how-to-configure-per-app-access.md
Service: network-access
GitHub Login: @shlipsey3
Microsoft Alias: sarahlipsey

@SB-o-matic
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

@SB-o-matic
Since we have not heard back from you, we will now proceed to close this thread.
If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Apologies for the delay @ManoharLakkoju-MSFT. I used the add feedback for this page link right form the article so surprised you cannot already tell from your end. Here are the articles I am referring to:
Per-App Access - https://learn.microsoft.com/en-us/entra/global-secure-access/how-to-configure-per-app-access
Quick Access - https://learn.microsoft.com/en-us/entra/global-secure-access/how-to-configure-quick-access

Apologies for the delay @ManoharLakkoju-MSFT. I used the add feedback for this page link right form the article so surprised you cannot already tell from your end. Here are the articles I am referring to:
Per-App Access - https://learn.microsoft.com/en-us/entra/global-secure-access/how-to-configure-per-app-access
Quick Access - https://learn.microsoft.com/en-us/entra/global-secure-access/how-to-configure-quick-access

@shlipsey3
Can you please check and add your comments on this doc update request as applicable.

@SB-o-matic .
I'm going to assign this to the document author so they can take a look at it accordingly

Please review the "About Private Access" article, as it explains the difference between the two.
https://learn.microsoft.com/en-us/entra/global-secure-access/concept-private-access

So is it correct to say that quick access allows you group everything within your internal network into one simple representation of IP addresses and FQDNs whereas per app access allows you be more granular and apply a different set of policies for particular internal resources?

Yup! The main distinction is that Quick Access should be for things that you always wanted tunneled through the service. Per App access is for apps/services that are dependent upon a person's role, for example. Or if you want to apply a specific Conditional Access policy.

Thank you so much!

Of course!
#please-close


blocks we need

#this is just a fair few blocks from snap that would be really cool to have on turbowarp.

the change tab block could probably be used in the lms utils extension.

"run JS" blocks or anything of that nature has been obviously banned from any extension on the gallery. I don't have much else to say lol

If you think you want to use cookies in a scratch project, you actually probably want our local storage extension instead.
Random strings might exist in the encoding extension, strangely enough

If you think you want to use cookies in a scratch project, you actually probably want our local storage extension instead.
Random strings might exist in the encoding extension, strangely enough

ok. well there is one more block we surely need

and i saw a pull request for an extension that lets you make better custom blocks at some point. THIS WOULD BE PERFECT FOR IT!!!!!!

like seriously! CUSTOMIZED COLORS?!

@GarboMuffin  can this be done?

short and sweet answer is not for a while

and i saw a pull request for an extension that lets you make better custom blocks at some point. THIS WOULD BE PERFECT FOR IT!!!!!!  like seriously! CUSTOMIZED COLORS?!

YES THANK YOU

This needs to be added

and i saw a pull request for an extension that lets you make better custom blocks at some point. THIS WOULD BE PERFECT FOR IT!!!!!!  like seriously! CUSTOMIZED COLORS?!

YES THANK YOU

https://experiments.turbowarp.org/return/

and i saw a pull request for an extension that lets you make better custom blocks at some point. THIS WOULD BE PERFECT FOR IT!!!!!!  like seriously! CUSTOMIZED COLORS?!

YES THANK YOU

https://experiments.turbowarp.org/return/

you cannot use it in default turbowarp

and i saw a pull request for an extension that lets you make better custom blocks at some point. THIS WOULD BE PERFECT FOR IT!!!!!!  like seriously! CUSTOMIZED COLORS?!

YES THANK YOU

experiments.turbowarp.org/return

you cannot use it in default turbowarp

Yet...


Adds temp dynamic-plugin-sdk k8s utils

Fixes
https://issues.redhat.com/browse/HAC-381
Description

Adds in a dynamic-plugin-sdk.ts file into the root of /src (I can move it wherever you want though); this is effectively a blackbox to HAC-Dev. You can pry if you want & modify if you want, but exposed API is planned to be this structure come the NPM release in Jan. These are utilities to effectively open up your code to use k8s resources from DevSandbox.
Few major notes:

dynamic-plugin-sdk.ts is short lived... the file will be deleted in the long run and replaced with NPM; I have disabled eslint in this file

I recommend you treat this as an npm package and not play with the internals, but they are free to do so if you need to fix a function's internals or want to improve the hook... I'd recommend not changing the signature of anything exported for easy migration when the NPM package is available

I've modified your webpack config to proxy to the K8s cluster, this is done on /api/k8s -- change this if you want, but you'll need to update the constant at the top of the dynamic-plugin-sdk file as well.
I've been testing the code with this test file / UI -- feel free to use it as well or reference it to see how calls are made; recommend not checking it in (obv)

Ask questions if you see something here you're not sure about, any SDK API is intended to be a future API, so if there are issues, please speak up

You'll run your UI through this command: REMOTE_CONFIG=ci ENVIRONMENT=prod BETA=true PROXY=true npm run start -- this should give you access to the Prod SSO token that is used for AppStudio DevSandbox, which is pulled and used inside the dynamic-plugin-sdk.ts file / API calls

Be sure you sign up properly to get your SSO token tied to the DevSandbox instance otherwise it will deny you

The SDK file is big and messy... What exactly is in dynamic-plugin-sdk.ts for me to use?

K8s utility calls

k8sGetResource
k8sCreateResource
k8sUpdateResource
k8sPatchResource
k8sDeleteResource
k8sListResource

A hook to watch a resource, useK8sWatchResource

It should be noted this is a hacked version; the real one uses apiDiscovery data that we do not have ready nor is it part of this offering
It assumes weird pluralization because of this gap (Model's plural: initResource.groupVersionKind.kind.toLowerCase() + 's',) -- this is far from ideal, but hopefully this covers your use-cases for the short term while we work through the rest of the dependencies in the SDK

Types

K8sResourceCommon - basic as it gets, no other K8s resource defs are provided
K8sModel - all the APIs work off of this, we'll need to work on how this is offered as an SDK alternative, but this for now is a type you can do if you want to craft your own models
K8sGroupVersionKind - this is the new core~pods~v1 approach the SDK is taking on... it's an object of the 3 props internally
The two types for the hook: WatchK8sResource & WatchK8sResult<R>

TODO:

[x] Fix up the hook so it performs as it should -- can get into infinite update states and hook firing

Type of change

[x] Feature
[ ] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Screen shots / Gifs for design review

No screenshots, it's configuration & a utility file. But the UI I used to test is:

Upon calling list, it tries to determine your namespace based on what you have access to. This will help with the rest of the calls (hence them being enabled).

How to test or reproduce?

N / A... not bringing any new UI.
Browser conformance:

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Removing WIP header as it seems to be deterring engagement on this PR. There is still one last thing to do, but it shouldn't stop collaboration on the main purpose of this PR, which is that HAC-Dev can get access to DevSandbox via the work here.

Updated the testFile (external example file) and the hook code (part of this PR).

/retest-required


Update licensing boilerplates

this PR closes https://github.com/crate/crate/issues/11184
the scope of changes necessary to fully satisfy the work identified in https://github.com/crate/crate/issues/11184 was bigger than I expected. thankfully, the changes are very repetitive and my editor was able to make quick work of most of this
I split my work into sections to make things easier for me and anybody who wants to review:

Make sure that all appropriate files have the standard "commercial license" paragraph (first commit)
Standardize our company name (three commits)
Add the boilerplate to all files that appear to be missing it (last commit)

(we might want to squash these before merging?)
the commits can be applied separately, so if it is desired, I can cherry-pick them into separate PRs
the middle three commits are not required for https://github.com/crate/crate/issues/11184. I added them because they were very easy to automate and I figured I may as add them while I'm making changes here. if they make the review too difficult, I can drop them from this PR no problem
the last commit is the one that required the most judgment on my part (with regards to which files to update). these changes probably deserve the most scrutiny
each commit message has an extended description describing the method I used to make the change (including heuristics, and so on)
you may notice that the number of empty newlines before and after the boilerplate varies from file to file. when updating an existing boilerplate section, I attempted to make no other modifications. for files that required me to add a boilerplate, I tried to match the local conventions in each instance (with regards to file type, surrounding content, and so on)

@norosa Related to backport, we could do but no strong opinion here, I'd treat it as optional. Also I don't see issues related to future backports and file conflicts as only headers are changed.

thanks, both! I will omit the backporting


how can i get all domains

how can i get all domains, i used client.get_domains() to get all doamins,  but i get a little only. i find the limit args in official docmetion, but i do not know how to use... help me. think you

same issue, following

same issue, following
hey, i have solved it, use the marker to mark the domains order, you can refer https://github.com/maxmonkey950/godaddypy/blob/master/checkdomain.py

I added this functionality in the latest release: https://github.com/eXamadeus/godaddypy/releases/tag/2.3.3
You can now use the Client.get_domains method to directly interface with the API using its query parameters.  See the GoDaddy documentation here: https://developer.godaddy.com/doc/endpoint/domains#/v1/list
You can use it like so:
>>> client.get_domains(limit=4)
['abc.com', '123.org', 'banana.com', 'apple.com']
>>> client.get_domains(limit=4, marker='apple.com')
['hello.net', 'last.one.com']


Ensure that the tags hierarchy is respected where event > context > configuration for tags using the same key

In the wiki, when talking about setting tags in the default configuration it sounded to me like you could override the values for each of the keys set in tags.
You can configure default tags to be sent with every event. These can be overridden in the context or event.
With the way the tags are merged together currently, the priority of tags with the same key is context > configuration > event.
This seems wrong to me as I would think that if you set a tag explicitly in the event that is being sent to Sentry that it should take precedence over context and configuration tag values.
I've made a change to work the way I would imagine it should work.

Thanks! Good catch.


feat: use context instead of mergeContext

Solves #18, all tests passed.

Comparing the new documentation and the old documentation both methods are identical. Previously context started a new context, but now it just merges the context like mergeContext did on V1.

Damn, I should have checked your PR first before attemting my own! Same results. +1 for the merge.


Migrated pictures to StockPile (r2 bucket)

Tracking progress migration of pictures to r2 bucket and cf-images as I see some collections won't load
i.e.
https://deploy-preview-4596--koda-nuxt.netlify.app/bsx/collection/1696017477

Ref

#4596

Once this is closed, we can do a release, as we are already late on the release cycle


Start using the AJAX POST capabilities

Currently a lot of the javascript form submissions work by building a form in the DOM and submitting it. We should be leveraging jQuery or AJAX post capability to send the information instead.

:+1:, any ideas of what milestone should this issue belong to?
On (Apr-03-15| 8:42), Joshua Shorenstein wrote:

Currently a lot of the javascript form submissions work by building a form in the DOM and submitting it. We should be leveraging jQuery or AJAX post capability to send the information instead.

Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/issues/1036

I would suggest adding it to Alpha 0.2, so we can enforce it before we are adding more and more functionality

Forgot to add: alpha 0.2 with lowest priority, so if it doesn't make it, is not a big deal

@squirrelo I had suggested this in a previous comment
https://github.com/biocore/qiita/pull/569#discussion_r20044572, but as I
recall you tried to implement it that way and it didn't work. I no longer
recall why it was posing difficulties, though; is this ringing any bells?
On Fri, Apr 3, 2015 at 10:56 AM, josenavas<EMAIL_ADDRESS>wrote:

Forgot to add: alpha 0.2 with lowest priority, so if it doesn't make it,
is not a big deal
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/1036#issuecomment-89353403.

I was trying to remember the issue and now I do! Sometime we need to update the displayed page. In those case, using jquery does not work, as you cannot modify the current page without either duplicating a lot of code, o doing a lot of nasty tricks... I guess it depends on what we need to do, we should use jquery+ajax and in others use ajax...

I'm pretty sure using jquery+ajax is the same as using ajax alone, just
more convenient (at least syntactically).
On Fri, Apr 3, 2015 at 11:33 AM, josenavas<EMAIL_ADDRESS>wrote:

I was trying to remember the issue and now I do! Sometime we need to
update the displayed page. In those case, using jquery does not work, as
you cannot modify the current page without either duplicating a lot of
code, o doing a lot of nasty tricks... I guess it depends on what we need
to do, we should use jquery+ajax and in others use ajax...
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/1036#issuecomment-89370191.

Sorry, what I meant is to use jquery+ajax (or just ajax) vs DOM.... Thanks for the catch @adamrp

Ah! Okay, thanks for clarifying. However, in this case, I believe what @squirrelo was referring to is just replacing the javascript functions that we are using to generate forms (e..g, these lines) with jquery post, passing the relevant information in the data argument (please correct me if I'm misinterpreting this issue).
I think @squirrelo tried this before, but it didn't work for some reason.... Although I thought it would work if the AJAX callback updated the DOM. Anyways, this is a low priority change that presented challenges in the past, so probably not worth spending time right now given the planned alpha releases coming up. I would personally move this to beta, since I don't think it is urgent to implement this by the end of the month (when alpha 0.2 is planned for release).

Yeah, I agree with you. The person that wants to explore this should take 1 function, try multiple potential solutions and post here the results, so we no longer ask this again.

I tried it earlier but it boiled down to not having the knowledge to do so, mostly due to the async nature of ajax. I think it's doable now that we've all had some experience with this type of setup.

Group resolution: all new code was written using this idea, old code shouldn't be updated (if working, why change?), and all new code should use it. Thus, closing.


3/ Select credentials for SiopV2 presentation

1/ Build credential list with jsonPath
As a user I want to chose my credential in a list. The list of credential provided to user is filtered by claims analysis.
If a credential type was specified the list contains only credentials from this credential type
If a credential issuer was specified the list contains only credentials from this issuer
2/ Select a credential in the list
If the final list of credentials has only one element, this element is selected and we ask user to agree with presenting this credential.
If the list has more than one credential the list is displayed to user who pick the one he will present.
If the list of credentials is empty we provide the user with a link to a web page which will help user create a credential (link will be given later).

This treatement module will be reused in other protocols.

complexity: 3

@hawkbee1 I think you have to provide the link here to direct when the credential is not available...


Added two articles

Maybe we want to order them by date published?

Good idea, most recent at the top makes sense.

Thanks :octocat:


Thank you so much for providing such an awesome extension! some suggestions

could you enhance the looking up function?
Openning google dictionary from right click menu is too inconvenient.
I wish it could show the result of looking up while mouse point hovering.

Recording the numbers of looking up the specific words in order to export the personalized frequency order words list.(this is unkonw words dictionary, while the exetention only has known words dictionary)
It will help plan to revise the most important words relating with users.
3.Saving the word to the unkonw dictionary along with context sentence.
you could refer to https://www.lingq.com/learn/en/web/library , hightlighting words is one of main features as well. Actually, I found this extention while looking for replaceable products because I was so fascinated by the hightlighing design.
Hope the product will be better for language learners!
Thank you again!

Hi @lweo ! Thank you for the feedback! I like your idea of recording number of lookups. The problem is that I currently do not have time at all to work on Words Discoverer, maybe I will implement this feature later.


harden "entrypoints" to SSZ layer

there are several ways to construct valid SSZ objects, e.g. from deserializing some bytes, or using a FromIterator implementation.
let's make sure that any way to consume or produce bytes from this library only allows for valid SSZ. in particular, this means making sure there is no Rust facility to construct "invalid" instances

things to check:

[ ] FromIterator implementations which just silently discard "extra" data
[ ] Default implementations -- we should not derive and instead add checks for type bounds

this was handled in #55
the idea is to only allow a few entry points for the custom types, see the docs here https://github.com/ralexstokes/ssz-rs#custom-types


Feature weights for XGBRanker

Hi,
Thanks for your great work.
I would like to know how can we set feature weights for XGBRanker ?
I am aware that you would want the data to guide the model rather than enforcing it but one logical case for this is when you have limited data and would like to try helping the process through your subject matter expertise.
Thanks

ranker = xgb.XGBRanker(tree_method="gpu_hist") # hist and exact also work
# feature_weights = ...
ranker.fit(X, y, qid=qid, feature_weights=feature_weights)


Calculate the number of possible code paths when clauses in a Switch statement don't contain a Break statement

In a Switch statement with a Break statement in each clause, the flow of execution breaks out of the Switch statement as soon as matching clause is found.
So in this case, working out the number of possible code paths added by the Switch statement is easy :
1 path per clause, excluding the "catch-all" Default clause.
But when there is no Break statement the flow of execution will continue evaluating each clause, even if one (or more) matching clause is found. This increases the number of possible paths a lot.
We need a mathematical way of expressing how the number of possible paths increases in this scenario.
This is needed to properly measure code complexity for any piece of code that has one (or more) Switch statements with no Break statements in its clauses.

The solution to this problem might be there :
http://theshellnut.com/measuring-powershell-code-complexity-why-and-how/#comment-589
But I need confirmation before adding this into :
Measure-FunctionSwitchCodePath

I finally found a formula to express the number of additional code paths created by each Switch clauses which doesn't contain a Break statement.
This is based on this great explanation :
https://math.stackexchange.com/a/161568
The main difference is that I don't substract 1, because the case where none of the Switch clause apply is a possible path which should be included.


Remove deprecated key

Fixes storybookjs/storybook#23782

:rocket: PR was released in v2.3.9 :rocket:

@SimeonC thank you too!


Text wrap on image does not work as expected

Hi. Thanks for the amazing app. Loving it so far.
I have an issue where if I add an image and align it to the left as seen below, it works on the richtext editor but breaks on the frontend. Is this something that is broken or should it be a feature request? float: left; on the  fixes this however those adding content cannot use this

Wagtail admin interface using richtext

My frontend

Thanks

Wagtail does not generate any CSS for your front end, it only adds the classes to the elements. It's up to the author to write this CSS.
The documentation provides some example CSS in one related area: http://wagtail.readthedocs.org/en/v1.0/topics/writing_templates.html?highlight=responsive#responsive-embeds however no example CSS is provided for supporting the three default image alignments. This is a documentation omission if anything - Wagtail itself would never generate the CSS you need.

Thanks. I will add the CSS on my end. However the richtext editor is confusing too since it does the aligning as seen on the images above.


Confusion about Fix Issue

Assign role properly will fix it, I mean team member role will never affect distribution certicates and profiles.

Sure, that's also a valid approach.


Introduce a Flow::Steps::Step struct

Each descendant of the Flow::Flows::FlowSteps class contains
a mega STEPS hash that spans hundreds of lines and each step
often has associated complexity and conditional logic.
These objects manage complex user flow and are an integral part
of the application's functionality, however they cannot be easily
unit-tested. This means we rely on more expensive integration tests
to test each specific edge case of flow logic.
This introduces a minimal Flow::Steps::Step struct, which can be
used to manage this complexity and introduces an interface for
encapsulating this important user flow logic that can be more easily
unit-tested.

I'm interested to hear what people think of this proposed change.
We don't necessarily need to do exactly this, but I don't think the way we're currently using Flow::STEPS and associated concepts is particularly maintainable.

I'm also interested to hear peoples thoughts on the potential impact this could have on the way we test different user flows.
i.e is there any appetite to reduce the number of edge cases we test with integration tests if we have unit tests for some flow step object?

From Slack

colinbruce:
I like this in principle, simpler, smaller tests of discrete code.
My concerns are around the amount of work it will be to complete the task with the number of priorities at the moment! :grimacing:
It would be worse to do it piecemeal and leave it half completed (thinks about the CCCD API :scream:)

@jsugarman @RoseSAK I'd like to get both your thoughts on this.

It would be worse to do it piecemeal and leave it half completed

@colinbruce I would probably disagree with this statement.
I think the current approach to managing the flow steps is a
significant maintenance burden, and I think we should be trying
to mitigate that where we can.
Even if that means people introduce objects as they go, I think it
is a worthwhile endeavour.
In my opinion we should be striving to leave the code in a better
state than we found it whenever we carry out a piece of work.
If we feel that ethos is at odds with the team's pursuit of feature
development, then we should communicate the business case that
maintenance is an essential part of feature development and will
help us move faster in the long term.

My tldr; is:
Let's not let the perfect be the enemy of the good!

I like it in principle. Lets discuss verbally at some point, like dev time - which we should probably do more regularly.
My views summarised:

the flow files need rejigging and renaming in any event IMO
the flow files can be broken up into smaller more logical groupings to reduce the length of each IMO
individually the flow files, aside from some with extreme length, are relatively easy to read IMO. Adding an extra layer of indirection may make it more difficult to picture the whole.
testing wise we need to enable unit specs on the flow files in any event as exercising them via request specs is not ideal IMO


Meaningful error message if get() reaches HTTP_RETRIES

I'm using fake-useragent in combination with scrapy-fake-useragent and due to useragentstring.com downtimes this library's get() method yields a socket.timeout: timed out.
It would be nice to have a distinct exception type, e.g. FakeUserAgentError, which says something like Url {0} unreachable instead.

Thanks, I know issue. Working on new release, which never fails.
Nice idea about exceptions. I'll do this soon

https://github.com/hellysmile/fake-useragent/pull/33 fixes
fake_useragent.FakeUserAgentError added
new release in 10 min


Add IMDB link

In the same vein as the YT link, it'd be useful to have the IMDB link to go along with the movie submission. This will start by just adding in the link manually (text box, etc.) but it'd be cool if it went out and retrieved the information itself (or at least tried), eventually.

Sounds like a great idea. This is sort-of related to #38. I seem to recall @RobBlack90 mentioning that he was working on something like this -- except he made no mention of it here so no one else knows that. Hint, hint :P

If this is being worked on by somebody, check out The Open Movie Database.  It looks to be a free API that will pull movie info.
Example
Request:
http://www.omdbapi.com/?t=Citizen+Kane&y=&plot=full&r=json
Response:
{
   "Title":"Citizen Kane",
   "Year":"1941",
   "Rated":"APPROVED",
   "Released":"05 Sep 1941",
   "Runtime":"119 min",
   "Genre":"Drama, Mystery",
   "Director":"Orson Welles",
   "Writer":"Herman J. Mankiewicz (original screen play), Orson Welles (original screen play)",
   "Actors":"Joseph Cotten, Dorothy Comingore, Agnes Moorehead, Ruth Warrick",
   "Plot":"A group of reporters are trying to decipher the last word ever spoken by Charles Foster Kane, the millionaire newspaper tycoon: \"Rosebud.\" The film begins with a news reel detailing Kane's life for the masses, and then from there, we are shown flashbacks from Kane's life. As the reporters investigate further, the viewers see a display of a fascinating man's rise to fame, and how he eventually fell off the top of the world.",
   "Language":"English",
   "Country":"USA",
   "Awards":"Won 1 Oscar. Another 8 wins & 10 nominations.",
   "Poster":"http://ia.media-imdb.com/images/M/MV5BMTQ2Mjc1MDQwMl5BMl5BanBnXkFtZTcwNzUyOTUyMg@@._V1_SX300.jpg",
   "Metascore":"N/A",
   "imdbRating":"8.4",
   "imdbVotes":"268,294",
   "imdbID":"tt0033467",
   "Type":"movie",
   "Response":"True"
}

Oh hey! Yep, I've almost got a service for the OMDb hooked up. Stand by...

Wow @BrandonCKrueger that's actually crazy awesome. I was hoping that there'd be something like that out there, but I had no idea that it was that comprehensive.


Add statistic tab for validator

Will be very useful if validator in statistic tab could find some extra information with graphics. For example I suggest add
1) Pie chart with redelegations  (to which validators users redelagates funds)
2) Charts with unbodings dates
3) % of redelegations and unbodings
4) Self Bonded funds

sorry for the late reply, will consider adding this once we finish other priorities


Docs: explain each case in one sentence?

May be useful to explain each case wih one sentence? 🤔😅

Thank you 🙏


Going from an Iter to an Rc or Arc strong reference

When iterating over a list where the storage type is Rc Arc, it is only possible to get an Option<&A::Value>, which of course is subject to the borrow checker rules. It is not possible to get an item as a strong reference, i.e. as an Option<A::Pointer>.
In some cases, if the list nodes are reference counted, it would be handy to just get an extra reference to the value. I could not find any way to do this safely (I am currently retrieving the Arc via IntrusivePointer, which is unsafe, then cloning it and finally forgetting the temporary instance). Would it be hard to add this functionality?

We could add a clone() method to Cursor and CursorMut which would do what you are suggesting. The implementation would be almost identical to what you are doing right now.
Are you willing to make a PR for this feature?

Heh, I thought what I did was a hack. If it's the right way to do it, I can give it a shot.

I would currently require the same. It seems like the Cursors offer .get(), which returns  &A::Value, but I actually require A::Pointer (which is in my case a Rc<A::Value>).


MIWI cluster Dynamic Validation update for strict 1:1 matching for provided Platform Workload Identity to expected OCP Operators

Which issue this PR addresses:

Fixes ARO-10859
What this PR does / why we need it:

Static validation at RP/frontend when platformworkloadidentity profile is nil or map is empty.
Stop using platformWorkloadIdentityRolesByVersion for the delete flow so that dependency on the roleset for the OCP version can be removed.
Fails create/update flow whenever an unexpected Platform Workload Identity is found.
Update dynamic validation for strictly matching the Platform Workload Identity's operator names with expected OCP Operators.(Previously additional identities were allowed)

Test plan for issue:
[x] Unit tests were added/updated for the above implementation
[x] Create/Update MIWI cluster in local
[x] CI
[x] e2e

Is there any documentation that needs to be updated for this PR?
Not yet.

How do you know this will function as expected in production?
Feature is not in production yet.

E2E failed with a known flake that's already captured in our CI failure epic. I'll wait to run it again until Rajdeep responds to my most recent review.

/azp run ci


Unable to join

Hey, I've recently been kicked with the following error and can no longer join my server.
Proxy Error:
[12:11:22 INFO]: [NurFabi|/<IP_ADDRESS>:0] <-> ServerConnector [Lobby-1] has connected
[12:11:22 INFO]: null
[12:11:22 INFO]: [NurFabi] disconnected with: Kicked whilst connecting to Lobby-1: Unable to authenticate - no data was forwarded by the proxy.
[12:11:22 INFO] [floodgate]: Floodgate player logged in as NurFabi disconnected
[12:11:22 INFO]: [/<IP_ADDRESS>:0|NurFabi] -> UpstreamBridge has disconnected
[12:11:22 INFO]: [NurFabi|/<IP_ADDRESS>:0] <-> ServerConnector [Lobby-1] has disconnected
[12:11:22 INFO] [Geyser-BungeeCord]: NurFabi has disconnected from the Java server because of Kicked whilst connecting to Lobby-1: Unable to authenticate - no data was forwarded by the proxy.
Backend Server Error:
[12:11:22 WARN]: [BungeeGuard] Denying connection from <IP_ADDRESS> - ZGV2Lm51ci1mYWJpLmRlAF5GbG9vZGdhdGVePkxkUWpsU2pFaDlJWVlEeTEhMXZ4KzE2S3h6UWFCa3YwckpYbTNaalNuYlo1ZGxVS3lveXBYM0JiMTRNMGJZL1IxQStjQzRaY3BoN3RrUFdYTzh6Z0FicjdheTBiNFY5c240WTQzSEVZVjZPM0poZ1pFdFlPVGp6VVNRQTV4ejNVWUtrNjFUT2xwcmVnVk1IRURQSTM2ADUuNzUuMjQ3LjQ5ADAwMDAwMDAwMDAwMDAwMDAwMDA5MDFmYmJiMTcxZmQxAFt7Im5hbWUiOiJidW5nZWVndWFyZC10b2tlbiIsInZhbHVlIjoiRHZBY1hqdkJ4eVhvNWNiem9OZHpmZk9lYnJwOE1seG92R2lKclNuVUtDU3pzVk9xZ2pPckZFQndKb3hOYk9rWCIsInNpZ25hdHVyZSI6IiJ9XQ== - reason: INVALID_HANDSHAKE
[12:11:22 INFO]: /<IP_ADDRESS>:59915 lost connection: Unable to authenticate - no data was forwarded by the proxy.

Hello,
Do you have the BungeeGuard plugin in your BungeeCord plugins folder?

Yes

Unsure if BungeeGuard is compatible with Geyser-BungeeCord?

i fixed it in my fork
u can try this
https://github.com/SMGoro-Project/BungeeGuard/releases/tag/1.0