Chaturbate broken

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: ['-o', '~/Movies/Rec/%(title)s.%(ext)s']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://chaturbate.com/little_effy18/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.2 (CPython) - macOS-13.5-x86_64-i386-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[Chaturbate] little_effy18: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 525, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 634, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 563, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

Chaturbate is broken when supplying any URL. A new URL that is live is https://chaturbate.com/ehotlovea/

Currently ERROR: Room is currently offline. Also, complete the checklist !

Updated the checklist and added a new URL that is live rn

The "exhibitionists" at the site are intermittently available, but a top room link that was up just now worked with the release yt-dl and also the master code with Python in (2.7, 3.5, 3.9). And then it was offline.

Cloudflare checking has been added to the site as of a few days ago, and now returns 403 errors again. I've tried setting a user-agent and cookies file, but no change. I may need to add some header, but I'm not sure how to go about getting the correct ones.


Is there a way to trigger flow with my own selector (button)?

I want to trigger the flow with my app's own function. Is this possible?
If so, how can I do this and still reap the benefits of the flow callBacks ( onCancel, onAuthorize, etc.. ) on my app?

To elaborate, I want to be able to launch the flow in mini-browser window ( not lightbox  ) when a user clicks a button i create. Then still be able to receive callbacks to my app so it can act accordingly.
Really hoping this is a possibility?

Hi yabdab,
One requirement of using this script is using the button provided.
We actually render the button into an iframe, so it can be upgraded in future and customized for customers, to improve their experience and conversion. We also have brand requirements that only a certain set of PayPal buttons should be used.
Can I ask if there's a use-case you have that the existing buttons don't work for? It's good to have examples so we can figure out how to improve the range of buttons we have.

I have a shopping cart platform (Saas) that we would like to use the button on. The buttons rendered are not very nice and do not match the UI on the rest of our checkout. Was just wanting more control over things as a developer. Is this solution geared more toward end users instead of devs?

Yeah, we're trying to strike a balance between developers, end-users, and our own branding.
We've ran a lot of AB tests on the buttons to determine which are the most recognizable, and which get the most clicks -- and this ends up being pretty good for merchants too, if more buyers end up checking out.
Any chance I could take a look at the button you were planning on using?

Our button is nothing special, but does match the rest of our UI. Can be changed by seller to match their site color scheme etc...
http://cloud.yabdab.com/0v1y2U03283W

Yeah, so our brand requirements at the very least require the PayPal name / logo in the button. The idea is, customers recognize the button, and realize they can use their PayPal account to pay.
There are at least different options for size/color/shape, if that's helpful:
https://github.com/paypal/paypal-checkout/blob/master/docs/button.md#customizing-the-button

Is that kinda thing overlooked with Shopify checkouts?

Shopify hasn't yet upgraded to the latest checkout.js integration. But yes, going forward, this is a requirement across the board.

OK, good to know. Thanks for your quick replies.
Up to this point support through normal channels in non existent.  ;-)

Yeah, this repo is probably the best place for questions around checkout.js. Appreciate the stuff you've pointed out so far! We're eager to make this as simple an integration as possible.


Add package-lock.json and yarn.lock

Scope

burner-wallet and potentially other components like dapparatus currently do not include package-lock.json or yarn.lock
These files are supposed to be committed however as they provide integrity when installing dependencies

Deliverables

Add yarn.lock and package-lock.json in all components used by the burner-wallet.

Roles
bounty gardener: @TimDaub / 15%
bounty worker: name / 75%
bounty reviewer: name / 15%

by pedro:
You shouldnt include both lock files
You should use one or the other
Otherwise you dont have integrity between people developing with yarn and npm
Unless you include a pre-push script to update both for consistency
And even then they wouldnt always result the same

Agreed, in todays call we seemed to agree to use Yarn and yarn.lock.

The npm package-lock.json should never be committed; the yarn.lock is meant to be. If you use yarn; it's best to alter the package.json to include a requirement for it. Either both must go, or make the good call to hop on to Yarn all the way.


fix: enable freshdesk on staging with bad key

What are you changing?

[ ] Releasing a new version of Notify
[x] Changing kubernetes configuration

Provide some background on the changes

rotating the FreshDesk api key automatically revokes the old key.
we've added code so that if the api key doesn't work we email the contact form data to a google group
staging has freshdesk disabled, but in this PR we enable it with a bad key. This will allow us to test the "email to a google group" fall back in staging before we rotate the production key.

< FRESH_DESK_API_KEY=***
< FRESH_DESK_ENABLED=False
---
> FRESH_DESK_API_KEY=***BadKey
> FRESH_DESK_ENABLED=True

If you are releasing a new version of Notify, what components are you updating

[ ] API
[ ] Admin
[ ] Documentation
[ ] Document download API

Checklist if releasing new version:

[ ] I made sure that the changes are as expected in Notify staging
[ ] I have checked if the docker images I am referencing exist

[ ] api lambda (requires Notification-Production / AdministratorAccess login)
[ ] api k8s
[ ] admin
[ ] documentation
[ ] document download API

Checklist if making changes to Kubernetes:

[x] I know how to get kubectl credentials in case it catches on fire

After merging this PR

[ ] I have verified that the tests / deployment actions succeeded
[ ] I have verified that any affected pods were restarted successfully
[ ] I have verified that I can still log into Notify production
[ ] I have verified that the smoke tests still pass on production
[ ] I have communicated the release in the #notify Slack channel.

From logs
Failed to create Freshdesk ticket: 401 Client Error: Unauthorized for url: https://cds-snc.freshdesk.com/api/v2/tickets
Emailing contact us form to<EMAIL_ADDRESS>


Website width and image size

Is there any easy way to change page width (to use more space with higher resolution)?
Also I would like the post images on the homepage to be bigger - is it customizable?

Yes, see this commit or consult the README file:

viewportSize = "normal" # widest, wider, wide, normal, narrow

Thanks, I switched viewporst size to wide and summaryshape to card and it looks exacly as I wanted.
Is there any chance to globally increase the font size? I would love that.


onEnd : repeate?

What is your question?

Sorry How can I know when the scrollView reached its end so I can repeat the marquee from start again

It automatically repeats scrolling the text when it reaches the end, see https://github.com/ayltai/Android-Lib-VerticalMarqueeTextView/blob/master/VerticalMarqueeTextView/src/main/java/android/lib/widget/verticalmarqueetextview/VerticalMarqueeTextView.java#L466

thanks


Issues with Electron

I am working on a react app that uses the babel-plugin-transform-decorators-legacy plugin in order to leverage the @ with connect as such:
/* rendering */
const mapStateToProps = state => ({
    currentTime: state.dataReducer.currentTime,
});

const mapDispatchToProps = dispatch => bindActionCreators({
    socketConnect: ACTIONS.socketConnect,
}, dispatch);

@connect(mapStateToProps, mapDispatchToProps)
export default class AppPage extends React.Component {
...

But unfortunately, when trying to merge it into the following electron react boilerplate this plugin is not working as expected.
The boilerplate I am using is https://github.com/chentsulin/electron-react-boilerplate and the babelrc file for it is:
{
  "presets": [
    ["env", {
      "targets": { "node": 7 },
      "useBuiltIns": true
    }],
    "stage-0",
    "react"
  ],
  "plugins": [
    "add-module-exports",
    "transform-decorators-legacy",
  ],
  "env": {
    "production": {
      "presets": ["react-optimize"],
      "plugins": ["dev-expression"]
    },
    "development": {
      "plugins": [
        "transform-class-properties",
        "transform-es2015-classes",
        ["flow-runtime", {
          "assert": true,
          "annotate": true
        }]
      ]
    }
  }
}

Here is the package.json for it also:
...
  },
  "devDependencies": {
    "babel-core": "^6.26.0",
    "babel-eslint": "^8.2.1",
    "babel-jest": "^22.1.0",
    "babel-loader": "^7.1.2",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-plugin-dev-expression": "^0.2.1",
    "babel-plugin-flow-runtime": "^0.15.0",
    "babel-plugin-transform-class-properties": "^6.24.1",
    "babel-plugin-transform-decorators": "^6.24.1",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-plugin-transform-es2015-classes": "^6.24.1",
    "babel-preset-env": "^1.6.1",
    "babel-preset-react": "^6.24.1",
    "babel-preset-react-hmre": "^1.1.1",
    "babel-preset-react-optimize": "^1.0.1",
    "babel-preset-stage-0": "^6.24.1",
    "babel-register": "^6.26.0",
    "chalk": "^2.3.0",
    "concurrently": "^3.5.1",
    "cross-env": "^5.1.3",
    "cross-spawn": "^6.0.4",
    "css-loader": "^0.28.9",
    "detect-port": "^1.2.2",
    "electron": "^1.7.11",
    "electron-builder": "^19.55.3",
    "electron-devtools-installer": "^2.2.3",
    "electron-rebuild": "^1.7.3",
    "enzyme": "^3.3.0",
    "enzyme-adapter-react-16": "^1.1.1",
    "enzyme-to-json": "^3.3.1",
    "eslint": "^4.16.0",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-formatter-pretty": "^1.3.0",
    "eslint-import-resolver-webpack": "^0.8.4",
    "eslint-plugin-compat": "^2.2.0",
    "eslint-plugin-flowtype": "^2.42.0",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jest": "^21.7.0",
    "eslint-plugin-jsx-a11y": "6.0.3",
    "eslint-plugin-promise": "^3.6.0",
    "eslint-plugin-react": "^7.6.1",
    "express": "^4.16.2",
    "extract-text-webpack-plugin": "^3.0.2",
    "fbjs-scripts": "^0.8.1",
    "file-loader": "^1.1.6",
    "flow-bin": "^0.64.0",
    "flow-runtime": "^0.16.0",
    "flow-typed": "^2.3.0",
    "identity-obj-proxy": "^3.0.0",
    "jest": "^22.1.4",
    "minimist": "^1.2.0",
    "node-sass": "^4.7.2",
    "npm-logical-tree": "^1.2.1",
    "react-test-renderer": "^16.2.0",
    "redux-logger": "^3.0.6",
    "rimraf": "^2.6.2",
    "sass-loader": "^6.0.6",
    "sinon": "^4.2.2",
    "spectron": "^3.8.0",
    "style-loader": "^0.20.1",
    "stylefmt": "^6.0.0",
    "stylelint": "^8.4.0",
    "stylelint-config-standard": "^18.0.0",
    "uglifyjs-webpack-plugin": "1.1.8",
    "url-loader": "^0.6.2",
    "webpack": "^3.10.0",
    "webpack-bundle-analyzer": "^2.9.2",
    "webpack-dev-server": "^2.11.1",
    "webpack-merge": "^4.1.1"
  },
  "dependencies": {
    "devtron": "^1.4.0",
    "electron-debug": "^1.5.0",
    "font-awesome": "^4.7.0",
    "history": "^4.7.2",
    "moment": "^2.22.1",
    "react": "^16.2.0",
    "react-dom": "^16.2.0",
    "react-hot-loader": "^4.0.0-beta.13",
    "react-moment": "^0.7.0",
    "react-redux": "^5.0.6",
    "react-router": "^4.2.0",
    "react-router-dom": "^4.2.2",
    "react-router-redux": "^5.0.0-alpha.6",
    "reconnecting-websocket": "^4.0.0-rc2",
    "redux": "^3.7.2",
    "redux-thunk": "^2.2.0",
    "source-map-support": "^0.5.3"
  },
  "devEngines": {
    "node": ">=7.x",
    "npm": ">=4.x",
    "yarn": ">=0.21.3"
  }
}

Thank you for your help :)

But unfortunately, when trying to merge it into the following electron react boilerplate this plugin is not working as expected.

Could you clarify what that means? What did you expect? What did you get instead?

Hey @loganfsmyth:
Thank you for your quick reply.
So yes let me try to clarify.
I expected that when using the @connect declerator above my react component within this electron app, to be able to access the socketConnect Through the componentDidMount under the form of this.props.socketConnect().
But instead I am not able to do that.
On the other hand, if I rewrite it to not use the @ part as such:
class AppPage extends React.Component {
componentDidMount() {
  This.props.socketConnect()
}
...
}
/* rendering */
const mapStateToProps = state => ({
    currentTime: state.dataReducer.currentTime,
});

const mapDispatchToProps = dispatch => bindActionCreators({
    socketConnect: ACTIONS.socketConnect,
}, dispatch);

export default connect(mapStateToProps, mapDispatchToProps)(AppPage)

Then that works fine. Sorry if there are some typos, I am writing this from my iPhone.

Could you try moving
"transform-class-properties",

in your Babel config to be immediately below
"transform-decorators-legacy",

so you have
"plugins": [
  "add-module-exports",
  "transform-decorators-legacy",
  "transform-class-properties",
],

I'm concerned that having it nested in env will cause ordering issues.

so If I do the following:
{
  "presets": [
    ["env", {
      "targets": { "node": 7 },
      "useBuiltIns": true
    }],
    "stage-0",
    "react"
  ],
  "plugins": [
    "add-module-exports",
    "transform-decorators-legacy",
    "transform-class-properties",
  ],
  "env": {
    "production": {
      "presets": ["react-optimize"],
      "plugins": ["dev-expression"]
    },
    "development": {
      "plugins": [

        "transform-es2015-classes",
        ["flow-runtime", {
          "assert": true,
          "annotate": true
        }]
      ]
    }
  }
}

I get the following:

App threw an error during load
SyntaxError: /Users/jmoretti/someDirectory/app/menu.js: Missing class properties transform.
  3 |
  4 | export default class MenuBuilder {
> 5 |   mainWindow: BrowserWindow;
    |   ^
  6 |
  7 |   constructor(mainWindow: BrowserWindow) {
  8 |     this.mainWindow = mainWindow;
    at File.buildCodeFrameError (/Users/jmoretti/someDirectory/node_modules/babel-core/lib/transformation/file/index.js:427:15)
    at NodePath.buildCodeFrameError (/Users/jmoretti/someDirectory/node_modules/babel-traverse/lib/path/index.js:140:26)
    at ClassTransformer.pushBody (/Users/jmoretti/someDirectory/node_modules/babel-plugin-transform-es2015-classes/lib/vanilla.js:262:20)
    at ClassTransformer.buildBody (/Users/jmoretti/someDirectory/node_modules/babel-plugin-transform-es2015-classes/lib/vanilla.js:229:10)
    at ClassTransformer.run (/Users/jmoretti/someDirectory/node_modules/babel-plugin-transform-es2015-classes/lib/vanilla.js:143:10)
    at PluginPass.ClassExpression (/Users/jmoretti/someDirectory/node_modules/babel-plugin-transform-es2015-classes/lib/index.js:48:60)
    at newFn (/Users/jmoretti/someDirectory/node_modules/babel-traverse/lib/visitors.js:276:21)
    at NodePath._call (/Users/jmoretti/someDirectory/node_modules/babel-traverse/lib/path/context.js:76:18)
    at NodePath.call (/Users/jmoretti/someDirectory/node_modules/babel-traverse/lib/path/context.js:48:17)
    at NodePath.visit (/Users/jmoretti/someDirectory/node_modules/babel-traverse/lib/path/context.js:105:12)

and if I try instead to do this:
{
  "presets": [
    ["env", {
      "targets": { "node": 7 },
      "useBuiltIns": true
    }],
    "stage-0",
    "react"
  ],
  "plugins": [
    "add-module-exports",
    "transform-decorators-legacy",
    "transform-class-properties",
  ],
  "env": {
    "production": {
      "presets": ["react-optimize"],
      "plugins": ["dev-expression"]
    },
    "development": {
      "plugins": [
        "transform-class-properties",
        "transform-es2015-classes",
        ["flow-runtime", {
          "assert": true,
          "annotate": true
        }]
      ]
    }
  }
}

Then I get the same error as before

Oh right, that's because you have "transform-es2015-classes", in there. Any reason for that?

No idea to be honest as that came with the boilerplate.

And just tried removing that line to get only:
{
  "presets": [
    ["env", {
      "targets": { "node": 7 },
      "useBuiltIns": true
    }],
    "stage-0",
    "react"
  ],
  "plugins": [
    "add-module-exports",
    "transform-decorators-legacy",
    "transform-class-properties",
  ],
  "env": {
    "production": {
      "presets": ["react-optimize"],
      "plugins": ["dev-expression"]
    },
    "development": {
      "plugins": [
        "transform-class-properties",
        ["flow-runtime", {
          "assert": true,
          "annotate": true
        }]
      ]
    }
  }
}

But that did not work either.

You should still remove that "transform-class-properties", from development.
With all this, you still see no change in behavior, but things do build without error?

Ok so here is a simple replicable example:
git clone https://github.com/chentsulin/electron-react-boilerplate.git
cd electron-react-boilerplate
yarn
npm run dev

which gives you the following in terminal:
npm run dev                                                                       (master)

><EMAIL_ADDRESS>dev /Users/jmoretti/Git/electron-react-boilerplate
> cross-env START_HOT=1 node -r babel-register ./internals/scripts/CheckPortInUse.js && cross-env START_HOT=1 npm run start-renderer-dev

><EMAIL_ADDRESS>start-renderer-dev /Users/jmoretti/Git/electron-react-boilerplate
> cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.config.renderer.dev.js

Starting Main Process...
Project is running at http://localhost:1212/
webpack output is served from http://localhost:1212/dist
Content not from webpack is served from /Users/jmoretti/Git/electron-react-boilerplate/dist
404s will fallback to /index.html

><EMAIL_ADDRESS>start-main-dev /Users/jmoretti/Git/electron-react-boilerplate
> cross-env HOT=1 NODE_ENV=development electron -r babel-register ./app/main.dev

2018-05-16 23:31:23.483 Electron Helper[65943:15042871] Couldn't set selectedTextBackgroundColor from default ()

And in the Electron window console:

Now if you modify the app/containers/CounterPage.js from:
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import Counter from '../components/Counter';
import * as CounterActions from '../actions/counter';

function mapStateToProps(state) {
  return {
    counter: state.counter
  };
}

function mapDispatchToProps(dispatch) {
  return bindActionCreators(CounterActions, dispatch);
}

export default connect(mapStateToProps, mapDispatchToProps)(Counter);

to:
import Counter from '../components/Counter';

export default Counter;

and move the content to app/components/counter.js as such:
// @flow
import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as CounterActions from '../actions/counter';
import styles from './Counter.css';

type Props = {
  increment: () => void,
  incrementIfOdd: () => void,
  incrementAsync: () => void,
  decrement: () => void,
  counter: number
};

function mapStateToProps(state) {
  return {
    counter: state.counter
  };
}

function mapDispatchToProps(dispatch) {
  return bindActionCreators(CounterActions, dispatch);
}

@connect(mapStateToProps, mapDispatchToProps);

export default class Counter extends Component<Props> {
  props: Props;
...

then install the package as such:
npm install --save-dev babel-plugin-transform-decorators-legacy

and the babelrc file to:
{
  "presets": [
    ["env", {
      "targets": { "node": 7 },
      "useBuiltIns": true
    }],
    "stage-0",
    "react"
  ],
  "plugins": [
    "add-module-exports",
    "transform-decorators-legacy",
    "transform-class-properties",
  ],
  "env": {
    "production": {
      "presets": ["react-optimize"],
      "plugins": ["dev-expression"]
    },
    "development": {
      "plugins": [
        "transform-class-properties",
        "transform-es2015-classes",
        ["flow-runtime", {
          "assert": true,
          "annotate": true
        }]
      ]
    }
  }
}

I get the following error message:
ERROR in ./app/components/Counter.js
Module build failed: SyntaxError: Leading decorators must be attached to a class declaration (27:54)

  25 | }
  26 |
> 27 | @connect(mapStateToProps, mapDispatchToProps)(Counter);
     |                                                       ^
  28 |
  29 | export default class Counter extends Component<Props> {
  30 |   props: Props;

 @ ./app/containers/CounterPage.js 7:15-47
 @ ./app/routes.js
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js
Not rewriting GET /dist/renderer.dev.js because the path includes a dot (.) character.
2018-05-16 23:48:40.476 Electron Helper[66916:15096806] Couldn't set selectedTextBackgroundColor from default ()

Normally@connect(mapStateToProps, mapDispatchToProps); should work as far as I am aware but isnt in this case.

Update:
so the trailing ; caused that error from the @connect(mapStateToProps, mapDispatchToProps);
So the right way to write it is actually @connect(mapStateToProps, mapDispatchToProps) but now I am getting the following error:
ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js
2018-05-17 09:32:32.550 Electron Helper[71298:15261615] Couldn't set selectedTextBackgroundColor from default ()

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js
Not rewriting GET /dist/renderer.dev.js because the path includes a dot (.) character.

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

And my babelrc file is:
{
  "presets": [
    ["env", {
      "targets": { "node": 7 },
      "useBuiltIns": true
    }],
    "stage-0",
    "react"
  ],
  "plugins": [
    "add-module-exports",
  ],
  "env": {
    "production": {
      "presets": ["react-optimize"],
      "plugins": ["dev-expression"]
    },
    "development": {
      "plugins": [
        "transform-decorators-legacy",
        "transform-class-properties",
        "transform-es2015-classes",
        ["flow-runtime", {
          "assert": true,
          "annotate": true
        }]
      ]
    }
  }
}

I tried removing the "transform-es2015-classes", part in the babelrc file but same issue...

Alright, I see what the issue is now.
Like I mentioned in https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy/issues/78#issuecomment-389645896, and in the docs here https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy#note-order-of-plugins-matters, the ordering is important.
The issue is that the .babelrc isn't the only place that is configuring transform-class-properties. Even though it is inside of the .babelrc, it is also specified in https://github.com/chentsulin/electron-react-boilerplate/blob/master/webpack.config.renderer.dev.js#L65 and https://github.com/chentsulin/electron-react-boilerplate/blob/master/webpack.config.renderer.dev.dll.js#L41
I don't know if it is safe to remove from there, so you'd have to add "transform-decorators-legacy", above both of those cases too.

Thank you @loganfsmyth that seemed to help a lot.
But sadly despite the changes I still get the following errors:
><EMAIL_ADDRESS>start-main-dev /Users/jmoretti/Git/electron-react-boilerplate
> cross-env HOT=1 NODE_ENV=development electron -r babel-register ./app/main.dev

ERROR in ./app/store/configureStore.dev.js
Module not found: Error: Can't resolve 'history' in '/Users/jmoretti/Git/electron-react-boilerplate/app/store'
 @ ./app/store/configureStore.dev.js 15:15-33
 @ ./app/store/configureStore.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js

ERROR in ./app/routes.js
Module not found: Error: Can't resolve 'react-router' in '/Users/jmoretti/Git/electron-react-boilerplate/app'
 @ ./app/routes.js 11:19-42
 @ ./app/containers/Root.js
 @ ./app/index.js
 @ multi (webpack)-dev-server/client?http://localhost:1212 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:1212/ webpack/hot/only-dev-server ./app/index.js
Not rewriting GET /dist/renderer.dev.js because the path includes a dot (.) character.
2018-05-17 10:32:00.625 Electron Helper[73949:15627948] Couldn't set selectedTextBackgroundColor from default ()

Just to recap I changed both the webpack.config.renderer.dev.js#L65 and webpack.config.renderer.dev.dll.js#L41 to:
...
  module: {
    rules: [
      {
        test: /\.jsx?$/,
        exclude: /node_modules/,
        use: {
          loader: 'babel-loader',
          options: {
            cacheDirectory: true,
            plugins: [
              // Here, we include babel plugins that are only required for the
              // renderer process. The 'transform-*' plugins must be included
              // before react-hot-loader/babel
              'transform-decorators-legacy',
              'transform-class-properties',
              'transform-es2015-classes',
              'react-hot-loader/babel'
            ],
          }
        }
      },
...

Can you think of anything else that I could be missing?
Thank you!

That appears to be an unrelated installation issue. I'd recommend deleting node_modules and running yarn again. Also make sure you're not installing things with a mix of yarn and npm since your original examples use a bit of both.

@loganfsmyth - thank you. tried that and now getting the following:
[jmoretti:.../electron-react-boilerplate]$ yarn                                                                                (master✱)
yarn install v1.6.0
(node:74238) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/4] 🔍  Resolving packages...
error An unexpected error occurred: "http://mobbuilds.idc.logitech.com:8085/babel-plugin-transform-decorators-legacy: connect ECONNREFUSED <IP_ADDRESS>:8085".
info If you think this is a bug, please open a bug report with the information provided in "/Users/jmoretti/Git/electron-react-boilerplate/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Sorry for the troubleshooting

Sounds like you have a custom registry and it is having problems.

@loganfsmyth that fixed it 🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼
And thank you for being so quick at responding. much much appreciate your speed to reolve this :)
One of my best experience so far!

@julesmoretti Hi, I've got the same issue and I followed your steps, but after I settled the .babelrc & webpack configs, the "npm run start-renderer-dev" got stuck. It seems running, but for a long long time the console just not updating.
Then I found this https://github.com/chentsulin/electron-react-boilerplate/issues/1401, but after I removed react-hot-loader it still not working.
Any help would be appreciated.

hello :
I want to know how to fix it;
Im meet this problem too;
ERROR in ./src/routes/emer/resources/ResourceDispatchOrder.jsx 13:0
Module parse failed: Unexpected character '@' (13:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| let userMark = 0;
|

@connect(state => ({
|   user: state.login.user,
| }));

and babelrc   babel version is v7+
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-proposal-class-properties", { "loose": false }],
"@babel/plugin-transform-runtime",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-function-bind"
]


ID3 genres

Hi. How about convert Genre text entry to dropdown menu of ID3v1 genres?
https://en.wikipedia.org/wiki/List_of_ID3v1_genres

We went against using a Gtk.ComboBox with entry as it's deprecated. We build our own AutocompleteBox to use instead:

Please try out the feature in this release: https://github.com/NickvisionApps/Tagger/releases/tag/2023.8.2-rc1


Tables Not Parsing Properly

I have a table,the table is not parsing properly,its missing one of the main column
Source Image:

its parsing like this:

Valuation Inputs
Level 2 Other
Total Market Value at 10/31/22

Level 1 Quoted Prices
Significant Observable Inputs

INVESTMENTS IN SECURITIES:

ASSETS (Market Value):

Common Stocks

Financial Services
$294,480
$29,700

Other Industries (a)
$2,825,497

Total Common Stocks
$3,119,977
$29,700

Preferred Stocks (a)
$36,165

Rights (a)

$100

Warrants (a)
$86

U.S. Government Obligations

$1,338,806

TOTAL INVESTMENTS IN SECURITIES – ASSETS
$3,156,228
$1,368,606

Could you share the page of the document this table is extract from?

test.pdf

Should be fix with the latest API release


fix for OTA update through script failure

OTA update was failing due to sepolicy permission denial. Added file context for vendor_boot_a|b partition.
Tests done: Run command ./update_device.py caas-ota-CR0000094.zip
Tracked-On: OAM-126630

Improper Commit Message
Valid Commit Message
Improper Jira Status,
jira status not in ['In Progress','Implemented']

LGTM

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed MERGE Build for this pr, build is SUCCESS. Please check the linked Tracked-On issue/Android CI Web  for more details. For Binaries: /cactus-absp-or-local/celadon-merge/799


add Network Solutions

No immediate option to delete my account. Had to contact support to get the account deleted.

@Zephiii this repository has been abandoned years ago. Check out our forked and maintained one at https://github.com/jdm-contrib/jdm


Add option to force git checkouts

I see from the --diff-git-checkouts option description that inability to do git checkout on a dirty tree is a feature. However, there are cases where it's not desirable. In our case rust build script produces some artefacts that are supposed to be checked in the repo. So, when the tool checks out the first commit and generates the docs the tree is not clean and the tools fails to checkout the second commit.
Would you accept a PR implementing an additional --force-git-checkouts option?

Sounds good! I have needed this too at times, just never got around to implement it.
Maybe it even would make sense to assume that if the tree becomes dirty AFTER doing the initial checkout, then that MUST be caused by irrelevant changes. So maybe we should always add --force for the second git checkout.
But I think it is good to be a bit defensive and requirer users to opt in as a first step. It could be good to wait with being more smart until we are confident the manual opt-in works like we want.
Thanks for reporting and for the PR! (I  just left a review.)


Uncaught TypeError: Cannot read property 'duplicateLines' of undefined

[Enter steps to reproduce below:]

Ctrl-Shift-Up/Down

Atom Version: 1.0.0
System: Ubuntu 15.04
Thrown From: fast-duplicate package, v1.0.0
Stack Trace
Uncaught TypeError: Cannot read property 'duplicateLines' of undefined
At /home/kraxarn/.atom/packages/fast-duplicate/lib/fast-duplicate.coffee:36

TypeError: Cannot read property 'duplicateLines' of undefined
  at Object.module.exports.down (/home/kraxarn/.atom/packages/fast-duplicate/lib/fast-duplicate.coffee:36:11)
  at atom-workspace.<anonymous> (/home/kraxarn/.atom/packages/fast-duplicate/lib/fast-duplicate.coffee:32:78)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:29)
  at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:180:20)

Commands
     -5:25.3.0 core:move-right (atom-text-editor.editor.is-focused)
  9x -5:21 core:backspace (atom-text-editor.editor.is-focused)
  3x -4:05.5.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -4:04.8.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -4:02.7.0 core:move-right (atom-text-editor.editor.is-focused)
  2x -4:00.5.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -3:39.3.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -3:39 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
  3x -3:24.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:05.8.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:18.7.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -0:18.2.0 core:move-down (atom-text-editor.editor.is-focused)
  3x -0:16.8.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:04.9.0 editor:newline (atom-text-editor.editor.is-focused)
  4x -0:03.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:00.3.0 fast-duplicate:duplicate-down (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "autoclose-html"
    ],
    "autoHideMenuBar": true
  }
}

Installed Packages
# User
fast-duplicate, v1.0.0

# Dev
No dev packages

also had this happen.  Wish the contributor would respond back..

lib/fast-duplicate.coffee
-    editor = atom.workspace.activePaneItem
+    editor = atom.workspace.paneContainer.activePane.activeItem


[Improvement][Youdao Translate] Update Youdao Translate Extension

Description
Add phonetic result for Youdao Translate，It can help users learn to pronounce the word
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @HaiFongPan 👋
Thanks for your update on this extension 💪
Can you test and give some feedback  @tiancheng92

Hi @HaiFongPan 👋
Thanks for your update on this extension 💪
Can you test and give some feedback @tiancheng92

Hi, @pernielsentikaer
As of now, I didn't receive any feedback from @tiancheng92 . And also, I used my UPDATED VERSION everyday last week. It works fine. If there is no feedback from him, what's next ? Should I provide you API key, so you can test the extension

Since there's no response from plugin maintainer for a long time, I'll close this PR

@tiancheng92 are you available?


cuda: error Gpu API call (unknown error) in bindTexture

require 'image'
require 'cudnn'
require 'cunn'
cv = require 'cv'
require 'cv.cudawarping'
require 'cv.imgproc'

function resize(img,width,height)
	print("Earlier size")
	print(img:size())
	img = cv.cuda.resize{img,{width,height}, interpolation=cv.INTER_CUBIC}
	print("Final size")
	print(img:size())
	return img
end

imag = image.lena()[1]
resize(imag,112,114)

On running this code on a Linux machine with CUDA Libraries installed and Titan X Graphic Card I get the following error:
cuda:OpenCV Error: Gpu API call (unknown error) in bindTexture, file /fast_data3/setups/opencv/opencv-3.1.0/modules/core/include/opencv2/core/cuda/common.hpp, line 102
Instead, cv.resize works correctly.

@shubhamjain0594
Thank you very much for reporting. I'm very sorry for a huge delay.
Will investigate this soon.

@shubhamjain0594
cv.cuda functions require CudaTensors, while your Lena is a FloatTensor.
Be sure to transfer your data to GPU first, so it should become
img = cv.cuda.resize{img:cuda(), {width,height}, interpolation=cv.INTER_CUBIC}


Add notes for Exercise 6

Signed-off-by: Gianpaolo Macario<EMAIL_ADDRESS>

LGTM, merging


Show "preferred login name" in user overview

Preflight Checklist

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

Describe your problem
The user overview shows currently

username
email address

but not the "preferred login name", meaning the username + primary organization domain
Depending on the settings of the instance and the organizations users can have a different format of the "preferred login name" that they must use to authenticate. It is not guaranteed that this is either username or email address, but could be something different.

It it hard to understand how the user can actually log in (what is the preferred login name) when looking at the overview. Also the detail view shows this info on the top/ side instead of more prominently on the user itself (eg, directly below the name or instead of "PROFILE").

Describe your ideal solution
As Manager, I want clearly see what "preferred login name" a user has to be able to help them login to the system. This is the primiary information about a user and should be shown in all user lists and also more prominently on the profile page.
Version
No response
Environment
ZITADEL Cloud
Additional Context
No response

Greetings @mffap, I've added the preferred login name column but to keep the space, I've sacrificed the created at column.

Do you want to remove any other column, or bring back the 'created at' column?

And @mffap, this would be the user detail card replacing PROFILE with user.preferredLoginName

Let me know if the previous screenshots work for you and I'll prepare the PR
Cheers!

Greetings @mffap, I've added the preferred login name column but to keep the space, I've sacrificed the created at column.

Do you want to remove any other column, or bring back the 'created at' column?

I think we could replace username column?
The preferred login name consists of the user anyways. So no additional info in having around username. Created at would be more useful, I think.

And @mffap, this would be the user detail card replacing PROFILE with user.preferredLoginName

Let me know if the previous screenshots work for you and I'll prepare the PR
Cheers!

I like that actually. But maybe more up to @hifabienne, not sure if that should have label etc.

And @mffap, this would be the user detail card replacing PROFILE with user.preferredLoginName

Let me know if the previous screenshots work for you and I'll prepare the PR
Cheers!

I like that actually. But maybe more up to @hifabienne, not sure if that should have label etc.

Maybe we could make a mix? loginname + Profile information?
I think its kind of usefull to know that this is the profule information from an oidc perspective, as this is what you get back when you add the profile scope

Ok @mffap and @hifabienne, then if you both agree, this would be the expected views:
User list:

Profile: I've added a - between loginname and PROFILE:

Thumbs up if you agree or leave any comments or need for change
Thanks!


fix (addon/backgrounds): addon panel doesn't hide

Fixes #6041
Instead of turning the preview transparent, addon-backgrounds should set the background color to the theme's default.
I added the background import and set background.content as the replacement for all transparent returns

This would make the preview background not respect the user's theme.

I refactored this addon quite a bit in my PR for migrating the core to typescript.
I incorporated this fix into that PR:<PHONE_NUMBER>dca0646684eb4211fd46ba74134520
I also made sure the user's theme is respected.

I just pushed a little fix to this PR, because I want @glitchperfect to have this PR merged.
I really appreciate the effort.
I think this should be good to merge now.
I'll deal with the merge conflict in my api branch.


Need to tell eureka client running in Docker to use host's IP

I am running a Spring Cloud application inside a Docker container.
While I can tell Eureka to use the exposed port (e.g. EUREKA_INSTANCE_NON_SECURE_PORT: 8081) , it doesn't seem to let you tell it to register using the host's ip address.
Instead, eureka registers the instance using the container's ip address.
That fine unless I want to access the container from another host.
What would be great is the ability to set an environment variable such as EUREKA_INSTANCE_NON_SECURE_HOST: docker_host_ip_address

I wonder if eureka.instance.hostname will work.  If not, then we'll have to do something to fix it.

And what about:

eureka.instance.prefer-ip-address=true
eureka.instance.ip-address=

Difficult to tell from looking at the class in isolation. Depends on
whether getHostName(refresh) is called with refresh=true or false.
On Sat, Jul 11, 2015 at 1:55 PM, Bertrand Renuart<EMAIL_ADDRESS>wrote:

And what about:

eureka.instance.prefer-ip-address=true
eureka.instance.ip-address=

—
Reply to this email directly or view it on GitHub
https://github.com/spring-cloud/spring-cloud-netflix/issues/432#issuecomment-120661200
.

@cer maybe an option to disable the refresh

I haven't looked at Spring Cloud enough to know precise what refresh is
intended to do.
However, I think that a user specified host name/ip address should always
take precedence.
On Mon, Jul 13, 2015 at 8:34 AM, Spencer Gibb<EMAIL_ADDRESS>wrote:

@cer https://github.com/cer maybe an option to disable the refresh
—
Reply to this email directly or view it on GitHub
https://github.com/spring-cloud/spring-cloud-netflix/issues/432#issuecomment-120970206
.

Maybe I don't get it, but setting eureka.instance.hostname to the desired value should work (at least it does on our side).
If you set eureka.instance.prefer-ip-address=true, then the registration with Eureka will instead use the IP address specified by eureka.instance.ip-address (which defaults to host's IP after resolving).
@cer: the user specified value takes precedence over the default values. Do you see a different behaviour?

@brenuart we used to ignore the refresh, but then I did 9149319bd73f228896d52b733894447170e4f26f which will refresh at somepoint in netflix code.  @cer, I agree, we just have trouble knowing when the value was user specified or not, so either another user specified hostname or the flag to not refresh.

@spencergibb Ok - I see. Sorry, I wasn't aware of that change.
To be honest, we used to override part of the EurekaInstanceConfigBean to add some validation and other useful default values/behaviour. To make it short, we moved the initialisation of default values out of the config bean to the method that creates it. The config bean is now a simple POJO and we are not "hit" by your latest change...
I should definitely create a PR with those changes for you to see and pickup what you believe is interesting.

@cer @spencergibb Having a slightly more complicated version of the same problem.  I am experiencing the same issue for the host.  On top of that the container is launched with -P meaning a random host port is assigned.  With the current setup there is no way to get that random port assignment.  The port is being pulled from server.port.
Another note, about assigning something within eureka.instance.hostname or eureka.instance.ip-address is that if this is a docker cluster in our case AWS ECS.  The host and IP can't be statically configured within properties.

Something that can be done from docker is just using the docker run -h hostname or ip  Eureka will pick up the host name since it it written to the etc/hosts file
Not sure yet how to handle this for a cluster.

Update:  Further testing with AWS ECS even with adding the hostname to the properties it does not work.  Unless all instances are docker containers i.e. Eureka, Zuul and UI and API services on the same host.  Not sure If I am missing something.  It seems that Ribbon is looking for something different than what Eureka is showing via the UI.  Even if I could get it to work.  As soon as the docker container switched to a different EC2 container the old hostname would be invalid.

What do you mean by "docker container switched to a different EC2 container" exactly?

@cer In ECS you have a cluster of EC2 instances.   Due to the nature of EC2 unless you specify a Service to run on only one EC2 instance it can appear anywhere within the cluster.
That being said I now have ECS working for Spring Cloud.  The solution is to curl the hostname of the host from within the Docker container during its boot process and assign the hostname to an environment variable.  Then add the discovered hostname to the Eureka instance metadata.

@cer look at this - #30
I've got same problem - AWS, Docker and I've resolved it using proposed custom configurations.

@rozhok Are you doing something like the below?  This is how I managed to get ECS to work.
entrypoint.sh
#!/bin/sh
export HOST=$(curl --retry 5 --connect-timeout 3 -s <IP_ADDRESS>/latest/meta-data/local-hostname)
export LOCAL_IP=$(curl --retry 5 --connect-timeout 3 -s <IP_ADDRESS>/latest/meta-data/local-ipv4)
exec "$@"

Dockerfile
FROM privaterepo/oracle-java8

RUN bash -c 'apt-get -qq update'
RUN bash -c 'DEBIAN_FRONTEND=noninteractive apt-get install -y curl'

EXPOSE 8080

COPY *.jar target/app.jar

COPY entrypoint.sh /usr/local/bin/entrypoint.sh

RUN touch target/app.jar

RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD java -jar target/app.jar

No, I've created custom Eureka Config so I don't need to setup additional scripts in Dockerfile. All stuff are described in #30 .

Another one approach described in Spring Cloud Netflix docs:
@Bean
@Profile("docker")
public EurekaInstanceConfigBean eurekaInstanceConfig() {
    EurekaInstanceConfigBean config = new EurekaInstanceConfigBean();
    AmazonInfo info = AmazonInfo.Builder.newBuilder().autoBuild("eureka");
    config.setDataCenterInfo(info);
    info.getMetadata().put(AmazonInfo.MetaDataKey.publicHostname.getName(), info.get(AmazonInfo.MetaDataKey.publicIpv4));
    config.setHostname(info.get(AmazonInfo.MetaDataKey.publicHostname));
    config.setIpAddress(info.get(AmazonInfo.MetaDataKey.publicIpv4));
    config.setNonSecurePort(port);
    return config;
}

This will put proper IP (public in my case, but you may change it to local) and port into Eureka registry.

@cer @rozhok @brenuart @ccit-spence anyone still having issues that we need to address?

My solution works fine for me.

@spencergibb I'm using solution described above. A little bit hackish but fine at the moment.

I'm fine with this.

It can be used to do my own server not AWS？
@Bean
@Profile("docker")
public EurekaInstanceConfigBean eurekaInstanceConfig() {
    EurekaInstanceConfigBean config = new EurekaInstanceConfigBean();
    AmazonInfo info = AmazonInfo.Builder.newBuilder().autoBuild("eureka");
    config.setDataCenterInfo(info);
    info.getMetadata().put(AmazonInfo.MetaDataKey.publicHostname.getName(), info.get(AmazonInfo.MetaDataKey.publicIpv4));
    config.setHostname(info.get(AmazonInfo.MetaDataKey.publicHostname));
    config.setIpAddress(info.get(AmazonInfo.MetaDataKey.publicIpv4));
    config.setNonSecurePort(port);
    return config;
}

@Dreampie not, it won't be used on your own infrastructure since it using AWS-specific SDK.

@rozhok thank you. and how can eureka client registered with host ip，not docker container ip？if use --net=host  always return <IP_ADDRESS>

Use some env variables passed into docker on startup time.

but if this machine change ip, must recreate container?

Sure.

Or trigg some API insinde container to reload eureka configuration.
Something like /api/eureka/changeIp etc. There is a lot of ways to solve
this task but non of them are obvious or elegant. Sad.

💦thanks

@Dreampie Using the custom Eureka config as in your post, what do the application.yml and bootstrap.yml look like?

is there any update about this issue?

@cswanghan no, it was closed in 2015

@momentum123
me too

EurekaInstanceConfigBean is public
https://github.com/spring-cloud/spring-cloud-netflix/blob/c60b6dba5271e386f45347b129da6e763b8d93a7/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java#L42

It's the class that is public but the constructor is `private.
See https://github.com/spring-cloud/spring-cloud-netflix/blob/c60b6dba5271e386f45347b129da6e763b8d93a7/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java#L287
I have the same issue running my app inside DevContainer (docker behind the scenes).
How can I then create an instance of EurekaInstanceConfigBean?

Use the public constructor. InetUtils is also a bean.
    public EurekaInstanceConfigBean(InetUtils inetUtils) {
        this.inetUtils = inetUtils;
        this.hostInfo = this.inetUtils.findFirstNonLoopbackHostInfo();
        this.ipAddress = this.hostInfo.getIpAddress();
        this.hostname = this.hostInfo.getHostname();
    }


fix/movies_ screen_glitch

This PR includes:

A fix to the rendering glitch that happens on the subsequent switches in tabs

LGTM!


editor-plugins: add hashbang line highlighting

This adds supports for highlighting an hashbang line as a comment, in vscode and in highlight.js.

[ ] Tests added for any new code
[ ] Documentation added for any new functionality
[x] Entries added to the respective CHANGELOG.md for any new functionality
[ ] Feature table on README.md updated for any listed functionality

I didn't touch Vim and Emacs here. I'm not very familiar with their grammar, but I didn't see any quick way to anchor the #! to the beginning of a line. I'm leaving that up for anybody with better knowledge on those.

I didn't touch Vim and Emacs here. I'm not very familiar with their grammars definition, but for both I didn't see any quick way to anchor the #! to the beginning of a line. I'm leaving that up for anybody with better knowledge on those.

Sure! I also don't really know how to do that, so I'll look it up some other time. VSCode is, by far, the most used one, so it's great that you fixed it there.


How to decode logs from the Envio indexer responce?

Hi guys,I'm trying to use Envio indexer in the Spark app
Envio Allows you to send a POST request to "http://fuel.hypersync.xyz/query" and get a response with info
Request body
{
    "max_num_transactions": 1,
    "from_block": 0,
    "transactions": [
      {
        "owner": [
          "0x1ad65e67c522dc0355f17792417aeb3269b5adc84ba13549b94b98b2db34c1e0"
        ]
      }
    ],
    "field_selection": {
      "output": [
        "tx_id",
        "output_type",
        "to",
        "amount",
        "asset_id",
        "input_index",
        "balance_root",
        "state_root",
        "contract"
      ],
      "input": [
        "tx_id",
        "input_type",
        "utxo_id",
        "owner",
        "amount",
        "asset_id",
        "predicate_data",
        "contract",
        "sender",
        "recipient",
        "nonce",
        "data"
      ],
      "receipt": [
        "tx_id",
        "pc",
        "is",
        "to",
        "to_address",
        "amount",
        "param1",
        "param2",
        "val",
        "reason",
        "ra",
        "rb",
        "rc",
        "rd",
        "receipt_type",
        "result",
        "data",
        "sender",
        "recipient",
        "contract_id"
      ],
      "transaction": [
        "block_height",
        "id",
        "tx_type",
        "status",
        "reason",
        "script",
        "script_data"
      ]
    }
  }

Response
{
	"data": [
		{
			"receipts": [
				{
					"tx_id": "0xafd0bae4bbcc0ad76dfba85ca0271a519c0f138712acf1ccc982ab67bb6580d6",
					"pc": 11640,
					"is": 11640,
					"to": "0xd2a93abef5c3f45f48bb9f0736ccfda4c3f32c9c57fc307ab9363ef7712f305f",
					"to_address": null,
					"amount": 0,
					"param1":<PHONE_NUMBER>,
					"param2": 10448,
					"val": null,
					"reason": null,
					"ra": null,
					"rb": null,
					"rc": null,
					"rd": null,
					"receipt_type": 0,
					"result": null,
					"data": null,
					"sender": null,
					"recipient": null,
					"contract_id": null
				},
                                 ...
                         ],
			"inputs": [
				{
					"tx_id": "0x90fa080c8e1cec7021b893fbea86502c9767c5aa0470e03e7c77639050805109",
					"input_type": 1,
					"utxo_id": "0xd39184f2c179efa0b12a8d177412972d5cbe82c94914627215a59ea2ad48d4e1",
					"owner": null,
					"amount": null,
					"asset_id": null,
					"predicate_data": null,
					"contract": "0xd2a93abef5c3f45f48bb9f0736ccfda4c3f32c9c57fc307ab9363ef7712f305f",
					"sender": null,
					"recipient": null,
					"nonce": null,
					"data": null
				},
                                 ...
                         ],
			"outputs": [
				{
					"tx_id": "0xafd0bae4bbcc0ad76dfba85ca0271a519c0f138712acf1ccc982ab67bb6580d6",
					"pc": 11640,
					"is": 11640,
					"to": "0xd2a93abef5c3f45f48bb9f0736ccfda4c3f32c9c57fc307ab9363ef7712f305f",
					"to_address": null,
					"amount": 0,
					"param1":<PHONE_NUMBER>,
					"param2": 10448,
					"val": null,
					"reason": null,
					"ra": null,
					"rb": null,
					"rc": null,
					"rd": null,
					"receipt_type": 0,
					"result": null,
					"data": null,
					"sender": null,
					"recipient": null,
					"contract_id": null
				},
				...
			],
			"transactions": [
				{
					"block_height": 7176398,
					"id": "0xd55192d58429b645511e09a2482f4c61542458e012d5a3908ac30fcb19b04890",
					"tx_type": 2,
					"status": 1,
					"reason": null,
					"script": null,
					"script_data": null
				},
				...
			],
	        ],
	"archive_height": 8008639,
	"next_block": 7210000,
	"total_execution_time": 178

Can you help me please to get my Events from here
pub struct MarketCreateEvent {
    asset_id: AssetId,
    asset_decimals: u32,
    timestamp: u64,
}

pub struct OrderChangeEvent {
    order_id: b256,
    trader: Address,
    base_token: AssetId,
    base_size_change: I64,
    base_price: u64,
    timestamp: u64,
}

pub struct TradeEvent {
    base_token: AssetId,
    order_matcher: Address,
    seller: Address,
    buyer: Address,
    trade_size: u64,
    trade_price: u64,
    timestamp: u64,
}

Additional info
Orderbook contract: 0x1ad65e67c522dc0355f17792417aeb3269b5adc84ba13549b94b98b2db34c1e0
Orderbook repo: https://github.com/compolabs/orderbook-contract
Envio docs: https://github.com/enviodev/hypersync-fuel-docs
Envio rust SDK(install apnproto and libcapnp-dev before use): https://docs.rs/skar-client-fuel/0.0.1/skar_client_fuel/struct.Client.html

It looks like somehow I need to create a LogDecoder instance given my contract and pass a list of receipts to decode_logs_with_type

Alexander from the indexer team told me we should be able to do something with the ProgramABI type and its logged_types field; they did something like that for V1 of the indexer — https://github.com/FuelLabs/fuel-indexer/blob/develop/packages/fuel-indexer-macros/src/indexer.rs#L48-L61
https://github.com/FuelLabs/fuel-indexer/blob/develop/packages/fuel-indexer-macros/src/indexer.rs
    let mut decoded_type_snippets = HashSet::new();
    let mut decoded_log_match_arms = HashSet::new();
    let mut decoded_type_fields = HashSet::new();
    let mut abi_dispatchers = Vec::new();

    let funcs = abi.clone().functions;
    let abi_types: Vec[TypeDeclaration](https://app.slack.com/client/T04L3KML1PZ/TypeDeclaration) = abi
        .clone()
        .types
        .iter()
        .map(|t| strip_callpath_from_type_field(t.clone()))
        .collect();
    let abi_log_types = abi.clone().logged_types.unwrap_or_default();
    let abi_msg_types = abi.clone().messages_types.unwrap_or_default();

Should I use this to decode the data?
https://docs.fuel.network/docs/fuels-rs/codec/decoding/

https://github.com/FuelLabs/fuels-rs/blob/master/packages%2Ffuels%2Ftests%2Flogs.rs
This possibly can help


fix: use renku cli from PATH

After getting rid of pipx, the renku cli executable is in a different location. Therefore, it is not found anymore during the execution of the entrypoint. Since we already make sure that the PATH contains the location of the renku cli, we should omit the exact path to the renku cli executable and instead just use whatever is found in the PATH.

closing as this is already handled by #193


Extend symbol search tests

Allow to search with empty query
Split WorkspaceTest
Test against symbols.php
Test references are not picked up as symbols

Current coverage is 89.71% (diff: 100%)

Merging #53 into master will increase coverage by 0.04%

@@             master        #53   diff @@
==========================================
  Files            21         21
  Lines           455        457     +2
  Methods          66         66
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            408        410     +2
  Misses           47         47
  Partials          0          0

Diff Coverage
File Path

•••••••••• 100%
src/PhpDocument.php

Powered by Codecov. Last update 7032f80...d120300


( Calendar ) not clickability of the entire icon any active date (with a display resolution of 1024 * 907 and more)

Date Time
24-06-2023 11:40
Severity
Major
Priority
Medium
Environment:
OS: Windows 10 Home
Browser: Google Chrome version 114.0.5735.134
Reproducible: always
Pre-conditions
-Registered user is logged in
-"My space" page is open
-User already has at least 1 habit
-Display resolution of 1024 * 907 and more
-Display resolution of 1023 * 907 to 474 * 907
-click not in the central area of the icon
Steps to Reproduce
Steps to reproduce the behavior:

Click on the button frame of any active day in the calendar

Expected result
The page displays a pop-up window with a list of habits
Actual result
The pop-up window with the list of habits is not displayed on the page: with a display resolution of 1024 * 907 and more, the active area of the calendar icon is configured so that only when hovering over its central part, the action takes place. When expanding the display from 1023 * 907 to 474 * 907, the entire icon area is active, and a popup with a list of habits is displayed. The format of the icon changes from a round shape to a rectangular one.
Video
https://github.com/nromanen/pratical_testing_2022/assets/130498642/e773f366-fa37-436b-b8b3-28bfbc076fa4
User story and test case link
User story Mark / Unmark habits in progress on a Calendar on My habits page #1431

@Vadym840217 👍👌


Same template of the same version should be overwritten on subsequent upload

Currently if user uploads a template of the same name and version, two identically named templates are listed under the same owner (unless they have the same hash sum)
The workflow should be like this:
Check number of owners of the template
a) Template has one owner - replace the template file with the new one
b) Template has multiple owners - remove the uploading user from owner list, save the new template and include the user into its owner list. Thus we do not modify the other owner's older version of the template.
The uploading (and any other) user will always have only one template file per one version of the same name.

I actually think it's the version parsing that's the issue - not the duplicated version.  I just uploaded<EMAIL_ADDRESS>and https://mastercdn.subut.ai:8338/kurjun/rest/template/info?name=ubuntu-xenial&token= still reports:
[{"id":"136d90bf-83c7-48b9-89ad-44e8a2338834","hash":{"md5":"ceccb9b88af1f6b29779f86dcbc2be67","sha256":"6279a5672755928e479fa6ab3951bd3cecb661a5d0bb70d58c3837d818411720"},"size":82929586,"upload-date-formatted":"2018-01-31T07:31:08.879153746Z","upload-date-timestamp":"1517383868","name":"ubuntu-xenial","owner":["f9d6a36b3e9b1d985008e482680f2ddf584d98bd"],"parent":"ubuntu-xenial","version":"0.1.9","filename":"ubuntu-xenial-subutai-template_0.1.9_amd64.tar.gz","prefsize":"tiny","signature":{"f9d6a36b3e9b1d985008e482680f2ddf584d98bd":"\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA256\n\n136d90bf-83c7-48b9-89ad-44e8a2338834\n-----BEGIN PGP SIGNATURE-----\nVersion: Subutai v4.1.0\nComment: https://subutai.io/\n\nwsFcBAEBCAAQBQJacXC/CRBoDy3fWE2YvQAA9pUP/jsjkqGxGLBsh1QkoX5R\np1XJRmXO6bBfVhAd1SwAQ7uLdR1l6uRBFuSw4tL3vzb3nYGArI9CWKAHupve\nP0XlXHLOTou1Sy6e99osJOdDy060u2ToFCJ2JRbosxTCI6X+6CZ66YAnR37e\no0MSAP+wFO74mZTJDP7DVcSgJtvKZZbXR0Xv+T3Ze0SvInvAzpWtTv7vlgkP\n5eLjRgltsdKcq4uvzh54TpSOHqhJixJMF8HoBuFgT9yIwWZDpE9nCt6Ygh0v\n6ukuKM6COgsZf/99jKQeBmV2mblxy8dH1u4/TioCTyfVKHk87QWmm9gLEyBU\nS8iMEpoEyza1Zb7+PvknZEbsUWjmuo0+yKQqvsTIp5n8H23JmfHIsPHy7rjw\nimQgN2m9Izh4iFucL90ciUQ321gz1+losczgVKleej/ZjJ3A2WG+cCW6X0MV\nXK+0Ddv9SyqngHmXccjyWSRcBknzNNdnNgmxFG+fiHC7haoPgDnNKWykDAg5\nNGfD8wwJe1QDScvdky/hMtSeQopGiqm3Jcxbnlc9QLtdm5XNoDXES6dAaGCI\nmX2BPwcrRXrWPMOES+gUh0SJRLxQCY7OQniUzb9+SHcuutmdH4WiYzSCtr5X\nHLkCGtda8icDajbZVwwicfqgDKNDyEdmrECnHmsBqwEYjcE1+HLCYf24RuXB\n/ZD8\n=TyGB\n-----END PGP SIGNATURE-----\n"},"architecture":"AMD64"}]

@emli @marcoarthur guys lets check the code used for version comparison

The first bug, info rest doesn't return lastest version, it returns latest by date.
The second bug, a user can upload the same version of template twice.

The second bug, a user can upload the same version of template twice.
See issue description for the exact algorithm

@emil - I definitely uploaded ubuntu-xenial 0.1.10 after 0.1.9 so that doesn't seem right.

Still allow multiple uploads of same version which isn't exactly a problem, but if multiple verssions exist it should pick the latest - that does not appear to happen.

IMO, deleting(replacing) file indefinitely when same version uploaded is wrong approach. File owner has to explicitly delete it. Or, we need some function called "Replace" for such actions.
To download correct file, we may introduce params like latest version or latest upload.

If two templates with same version with same user, info rest will return by latest by date.

@emli for the same user and same template name there should be single version.
Lets fix this
@samsonbek I never saw two files of the same product of the same version with different hash sums in any repo.

For example we have automation script that uploads the same artifact frequently to test it.
If we dont replace but append, older revisions of the same version would occupy the disk.
We have to either then replace or add revision of version concept. It will be visible only to Kurjun.

If we choose replacement option, then we have to make sure that when artifact is being uploaded, it is saved into one place, and only after upload is complete, the original one is replaced. To avoid broken partial artifacts

How to test:

Upload template from hub
https://eu0.mastercdn.subut.ai:8338/kurjun/rest/template/list?owner={Put your finger}

Fixed on master.

Happend again


Trigger Handler functionality

A trigger handler based on trigger actions configured via custom metadata. It separates the trigger logic per class, and is utilizing the fflib_UnitOfWork to execute the trigger actions.
Signed-off-by: WimVelzeboer<EMAIL_ADDRESS>

@wimvelzeboer I wondered whether MyTest.cls was part of this commit because it didn't have fflib_ prefix.

@PeterLinBiz Thanks for catching this!


unable to read resin-image-flasher

I'm trying to deploy Balena to a RaspberryPi 3. I create the image on the website and download it, then using balenaEtcher on macOS I flash it to the SD-card. It verifies correctly in balenaEtcher. But when trying to boot it, it prints some data and then stops. After a while it reboots and the process starts over.
RaspberryPi 3 B version 2
macOS: 10.15
balenaEtcher: 1.5.59
balenaOS: v2.38.0+rev1 (recommended)
The print from the rPi when balena boots is:
Net: No ethernet found.
switch to partitions #0, OK
mmc0 is current device
Scannin mmc 0:1...
Found U-Boot script /boot.scr
440 bytes read in 1ms (429.7KiB/s)
## Executing script at 02400000
Scanning mmc devices 0 1 2
** Unable to read file resin-image-flasher **
24 bytes read in 2ms (11.7KiB/s)
Card did not respond to voltage select!
** Bad device mmc 1 **
** Bad device mmc 2 **
Found resin image on mmc 0
Loading resinOS_uEnv.txt from mmc device 0 partition 1
** Unable to read file resinOS_uEnv.txt **
243230400 bytes read in 1103 ms (20.9 MiB/s)
** Flattened Device Tree blob at 2eff9700
    Booting using the fdt blob at 0x2eff9700
   reserving fdt memory region: addr=0 size=1000
   Using Device Tree in place at 000000002eff9700, end 000000002eff9700

Starting kernel ...

I suspected the problem might be the SD-card, so I bought a new one. Same error. I suspected it might be the rPi, so I bought a new one. Same problem.

The title of the issue mentions resin-image-flasher.. can you please elaborate what you mean by resin-image-flasher?
That is strange. can you try a dev image and see if you see anything more on the serial console?

I'm mentioning resin-image-flasher because the log that the rPi prints mentions it.
I am using a develop image.

Also tried balenaEtcher 1.5.63 and using a Windows machine to flash with. Same results.

I tried a different power adapter to the rPi and it booted now. No issues.


WIP: Test datapathconfig flakiness

Just run the datapathconfig tests against #7476 to attempt to determine flakiness of the tests.
I noticed that there's some discrepancies between the cilium infra provision for most tests, done by ProvisionInfraPods() vs. the provisioning done in the "DatapathConfig" and the "Updates" tests. The latter tests have been somewhat flaky recently and I'm wondering if the discrepancies are related to the failures..

This change is

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please


update alter user

What type of PR is this?

[ ] bug
[ ] feature
[ ] enhancement

What problem(s) does this PR solve?
Issue(s) number:
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:

https://github.com/vesoft-inc/nebula-ent/pull/3160


CMAKE linker error for snappy

Whenever I try to compile using "make package" within build directory. it gives this error in "nappy_ep-build-err.log"
"
snappy_unittest.cc:(.text+0x680b): undefined reference to testing::Message::Message()' snappy_unittest.cc:(.text+0x6836): undefined reference to testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult const&, char const*, char const*, char const*)' ,,,,,,
"
Can you please help me fix it? I see it has something to do with the gtest library. either its not linked or is not included.
Earlier like a month or two before it was working fine

Hi, @abdulwadood97 . Could you describe your environment your procedure?
Apache ORC maintains GitHub Action test coverage and we don't see any compilation failures in Ubuntu/Mac/Windows

https://github.com/apache/orc/blob/main/.github/workflows/build_and_test.yml
https://github.com/apache/orc/actions?query=branch%3Amain+event%3Apush

I am using ubuntu 18.04.2 and linux kernel 5.4.0-49-generic for c++ only with AVX.
The steps are as mentioned in the readme.

Clone.
Export the avx variable
make build dir
cmake run
then make package (it fails here)

Is there any change of gtest/gmock in your local environment? Make sure they are not in the path for linking.

@abdulwadood97 Actually I encountered a similar problem when I upgrade OS from ubuntu18.04 to ubuntu20.04 using ubuntu official installer with the option "remain old packages".  I can work well after I deleted and reinstalled these compression library in ubuntu. Hope this can help you.
As @dongjoon-hyun mentioned, we won't maintain images in EOF. It's better to upgrade your OS.

Thank you for the useful tips, @deshanxiao .

If you want to avoid removing conflicting libraries, you can modify snappy's cmake to not include system path:
build/snappy_ep-prefix/src/snappy_ep/CMakeLists.txt:40 to 45:
find_package(GTest QUIET NO_CMAKE_SYSTEM_PATH)
if(GTEST_FOUND)
  set(HAVE_GTEST 1)
endif(GTEST_FOUND)

find_package(Gflags QUIET NO_CMAKE_SYSTEM_PATH)


Dockerfiles incorrectly use ENTRYPOINT when they should use CMD.

🚀 Feature Request
Relevant Package

 This feature request is for all edgex-go services
Description
 A clear and concise description of the problem or missing capability...
Per docker documentation:
The main purpose of a CMD is to provide defaults for an executing container
https://docs.docker.com/engine/reference/builder/#cmd
While An ENTRYPOINT allows you to configure a container that will run as an executable
https://docs.docker.com/engine/reference/builder/#entrypoint
Here is an example for Consul which has an entrypoint script and a command
https://github.com/hashicorp/docker-consul/blob/master/0.X/Dockerfile#L75
Also, security-proxy-setup is done correctly:
https://github.com/lenny-intel/edgex-go/blob/master/cmd/security-proxy-setup/Dockerfile#L30
In this case they want to be able to override the command-line options without specifying the executable. Another way of combining ENTRYPOINT and CMD
Describe the solution you'd like

Simply change ENTRYPOINT  to CMD
Overrides of CMD in compose file have to include the executable.
Leave the executable in ENTRYPOINT  and move command-line options to CMD
Overrides of CMD in compose file are then just the command-line options.
Similar to security-proxy-setup

Describe alternatives you've considered
None

Some more examples:
https://github.com/eclipse/mosquitto/blob/f39bf49f9059bfbf2b802fbe8ea435dab42ebf0c/docker/1.5/Dockerfile
https://github.com/docker-library/redis/blob/bfd904a808cf68d4b5ecc267bb4d4a1a0ca5f921/5.0/alpine/Dockerfile
https://github.com/emqx/kuiper/blob/master/deploy/docker/Dockerfile
https://github.com/Kong/docker-kong/blob/60626098f2f32fe1528eb4ffacff13fd1c3e919f/alpine/Dockerfile#L47
https://github.com/nats-io/nats-streaming-docker/blob/f3b3e48bdaa499e7f583e4cd0034df31a08644a6/0.18.0/scratch/Dockerfile#L4

In Core WG meeting on 7/30/20 we agreed for those services that do not have actual entrypoint scripts to set ENTRYPOINT= and CMD=.

Venkat from Intel DevOps is taking this. @ernestojeda assigned as proxy.

Request that whatever changes are made be compatible with the bootstrapping ADR.  We are currently overriding command in a number of containers to control startup initialization.

@bnevis-i, great point!! I reviewed the current compose files and found that the only edgex-go service that has override of  CMD  is security-secrets-setup.  security-secrets-setup has an actual entrypoint script, so the docker file for this service will not change.


AccountDataProcessor: batch upsert and remove objects

Top level issues: https://github.com/stellar/go/issues/3926

Can be fixed with: https://github.com/stellar/go/issues/3935


Background all requests to Uber's API

Synchronous requests might be causing memory issues, and aren't necessary, so let's ditch them.

A note: I'm working on moving all Uber API calls out of UberCommand and into the lib/integrations/uber_api file. So don't worry about those until they get moved.

can you push up a PR and label it as do-not-merge so everyone can chip in some thoughts?


Is there any option to download artifact based on sha1 checksum

Hi Team,
I am trying to download a artifact from my local repository based on checksum. Could you please help me with documentation to download the artifact based on the checksum value of the file.
Thanks
Murali

@murali741.
The following File Spec will do this for you:
{
  "files": [
    {
      "aql": {
        "items.find": {
          "actual_sha1": "8655bd744e972bb4afe66d8e0afc116333333879"
        }
      }
    }
  ]
}

Please let me know if this works for you.

@murali741,
I hope the above helped. Let me know if it didn't.
Closing this issue.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 16:48:29 on 2023.05.10
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 5, errors out: 0
Original problem ID: 20511
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=20511

Problem has been resolved in 6m 0s at 16:54:29 on 2023.05.10
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20511


same code in JavaScript library works , in React library doesn works

Hey there!
you are amazing thank you a lot for making uplot and uplot wrapper for react ,
i am really frustrated because i have a problem i cant solve for a long time , and i need some help , if you can help me solve why the graph is working fine in the JavaScript example but on the React example i cant regenterate the same results
i posted a question on stackoverflow
https://stackoverflow.com/questions/76096315/reactjs-not-rendering-real-time-graphs-with-muplot-as-expected

The github link you shared doesn't work. Please, check it. There is not much I can do to help you with w/o a reproducible test-case.

please if you are able to give it 5 minutes look just to help me identify where is my problem?
if you see any common mistake  that made the updates of the graph not visible.

It works for me. I can see the animation. Have you managed to fix it yourself then?

Oh yes sorry , I sat on this with fresh eyes today morning an solved it , but it is really slow compared to the JavaScript version

I used the same logic ,
https://codesandbox.io/p/sandbox/focused-spence-ckfgjr?file=%2Fpublic%2Findex.html&selection=[{"endColumn"%3A1%2C"endLineNumber"%3A216%2C"startColumn"%3A1%2C"startLineNumber"%3A216}]
https://react-muplot-jsonfileexample.vercel.app/

For some reason it looks like the first one is faster

It's difficult to say. You need to launch it under profiler to see what's the hot-spot. Also I see that those 2 examples are quite different. Try starting off by copying the fast example and adding the new functionality incrementally and see at what point it becomes to be slow.


Add possibility to import classes to gulpfile.babel.js from files in other folders when using Babel7

This is my project structure:
Project
|-module1
|  |-package.json
|  |-gulpfile.babel.js
|  |-.babelrc
|-module2
|  |-package.json
|  |-gulpfile.babel.js
|  |-.babelrc
|-package.json
|-scripts.js
|-.babelrc

In Project/module1/gulpfile.babel.js I need to import classes from Project/scripts.js taking into consideration I use Babel7. However, it seems to be impossible. I couldn't find the information how to do it in the internet and on SO.

This should work if you are importing with ../scripts.js - what error are you seeing?

Closing due to inactivity.


IP executer is being treated as a CC executer

Part of https://github.com/gradle/gradle/issues/29045

@bot-gradle test this without PTS

I've triggered the following builds with parameters: -DenablePredictiveTestSelection=false for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test acc

I've triggered the following builds for you. Click here to see all build failures.

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test acc

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

The merge queue build has failed. Click here to see all failures.


[BUG] Unable to get notifications when configmap chnaged on Kubernetes cluster

Hi Team,
I have installed BotKube on my K8S cluster with Slack integration.
For edit events on configmaps we are not getting notifications on Slack. we are getting events for delete and create events on configmaps.
In the configmap I have added update  under configmap events.

Hi @venkateshmadala ,
Currently, for update notifications, we notify only about changes in .spec fields. We are planning to make it configurable through: https://github.com/infracloudio/botkube/issues/203

Hey @venkateshmadala,
Can you please try once with BotKube v0.11.0?

Closing because of inactivity. I hope the issue was resolved with the functionality introduced in 0.11. If not, please create another issue / reopen this one 🙂 Cheers!


Added notice regarding breaking of ContentEditable behavior

Hey there,
I had a pretty long debugging session with a CRM web resource that used HTML5 content editable elements.
As it turns out, adding ClientGlobalContext to a page causes interferences with content editable elements.
I added a notice with an example, as I think that this is an important thing to know.
Kind Regards,
Florian

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: DigitalFlow sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@DigitalFlow Thanks for submitting this, but this is just an example of the behavior that is already documented. We want to add examples about how our product works, not examples of how it doesn't work.
Rather than a documentation issue, I think it would be better to log this as a product issue.


[AutoPR] web/resource-manager

Created to accumulate context: web/resource-manager

Build output:

Build output:

Build output:

Build output:

Build output:

Build output:

Build output:

Closing PRs that are older than 1 month.


test: address some todos in serverless-webhook.test.js

@all-contributors-bot please add @js-kyle for test


coprocessor: check deadline while running requests

What problem does this PR solve?
Issue Number: close #10172
What is changed and how it works?
A deadline checker interceptor is added. Everytime the executor polls, it checks whether the deadline is exceeded. So we can make sure all running coprocessor requests including analyze and checksum can check the deadline.
Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

I set tidb_distsql_scan_concurrency to 200 and run analyze table on a large table.
The first part is master, the running tasks accumulate and make analyze table run forever.
The second part is this PR. Finally the analyze can finish.

Release note

Check deadline while running analyze or checksum requests.

/release

/merge


No 'Object Detection' option in create dataset

I don't see an 'Object Detection' option when I try to create a new dataset. I installed less than a week ago. Is there a specific version needed for detection?
Thanks

Sorry, I see that it's a version 4.0 feature. 4.0 was recently released for members of the Developer Program, but I don't see the option to get it anywhere. Does anyone have any pointers here?

Sorry, while we are preparing .deb packages for 4.0 you'll have to download DIGITS 4.0 from source from there.


URL for Cloudfared binary broken

Describe the bug
The url for the cloudfared binary is no longer working. The new url is https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-386.tgz

may I ask how do I make the changes?

Hello @humcasma,
Thank you for opening this issue. When I ran colab-ssh with cloudflared everything works fine. Could you please specify which link are you talking about ?
@ky1ee
It looks like cloudflared didn't download, it looks like the website equinox.io (where cloudflare is hosting the cloudflared package) went down.
Apparently everything is back to normal. I will keep this issue open in case I am missing something here.
Thank you!

I was referring to this url: https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-amd64.tgz
equinox.io was actually working this morning, but the amd64 binary was not available. I can confirm that binary is available again and the url is working. So you may close this ticket.
Otherwise, note that when the url was not working this morning, launch_ssh_cloudflared() crashed with an exception of type "./cloudfared file not found'. It would be nice to get a message saying the binary could not be fetched.


Feature/validation removal

PR Type
Closes #462 closes #461 closes #460 closes #459 closes #458 closes #457 closes #456 closes #455 closes #454 closes #453

Feature
Code style update (formatting, local variables)

Description
Removes explicit validation checks and any consequently redundant tests. Moves KeyArray
and KeyArrayLike into a new custom_types module.
Does this PR introduce a breaking change?
Moving the types to a new module may be considered breaking. However, these are not really mean't for external use anyway.
Checklist before requesting a review

[x] I have made sure that my PR is not a duplicate.
[x] My code follows the style guidelines of this project.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have performed a self-review of my code.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[x] Any dependent changes have been merged and published in downstream modules.

coreax.validation is still used in several locations. Is there a reason these have been left in?

@tp832944 What are your thoughts?

coreax.validation is still used in several locations. Is there a reason these have been left in?

Please can you indicate locations (I've just done a commit to remove some left over unused imports). If it is the uses in approximation.py then it is because they are addressed in a separate branch (which can either be pulled in here or left for a separate pull whichever is preferred)

They are all in approximation.py, so no issue there if it is covered by separate changes.


Differences between Turing.Inference.NUTS and AdvancedHMC.NUTS

Hello,
This question could be due to me not being an expert in MCMC, HMC and bayesian inference in general, so I'm just hoping for some operative indications ( but help of any kind is highly apprecciated). Please criticize every step of the following reasoning.
From what I understood from the documentation, NUTS is the sampler of choice in most applications.
Anyway, It looks to me that there are two implementations of NUTS, one being  Turing.Inference.NUTS and the other AdvancedHMC.NUTS. Following this comment, I understood that Turing.Inference.NUTS is better supported than AdvancedHMC.NUTS. So I would ask:

Apart from the current support difference, is one of the two "better" ( in some sense) than the other? What distinguishes them?

Also, I noticed that when I do things like:
chain1 = @time sample(model2, Turing.Inference.NUTS(0.45), 1000, progress = true)

I get warnings that seem to be launched by AdvancedHMC:
...
┌ Warning: The current proposal will be rejected due to numerical error(s).
│   isfinite.((θ, r, ℓπ, ℓκ)) = (true, false, false, false)
└ @ AdvancedHMC C:\Users\claud\.julia\packages\AdvancedHMC\MIxdK\src\hamiltonian.jl:47
...

Is it correct?
Thank you

The difference is that AdvancedHMC is the "true" imlementation, in that it's the one that does all the work. The Turing.Inference.NUTS struct is just a wrapper around AdvancedHMC, so any real inference code goes to AdvancedHMC.

The difference is that AdvancedHMC is the "true" imlementation, in that it's the one that does all the work. The Turing.Inference.NUTS struct is just a wrapper around AdvancedHMC, so any real inference code goes to AdvancedHMC.

And what is the difference between DynamicHMC.NUTS vs Turing.Inference.NUTS?

DynamicHMC.NUTS is a separate inference algorithm implemented differently here.

Thank you! I think we can close this issue.

Agreed, thanks!


[Docs] Writing ingress controllers

I'm writing a new ingress controller, one that will manage cloudstack load balancers but I'm having some problems finding docs.
The docs in https://github.com/kubernetes/ingress/blob/master/docs/dev/custom-controller.md states that the example code is the tl;dr version, but does not provide a link to a long version (or its missing its contents).
Is the code all we have as docs or is the content somewhere else?
Thanks.

Is the code all we have as docs or is the content somewhere else?

Just the code. The example shows a dummy ingress controller with the required methods for the interface


Demande to contribute to the AdpotOpenJdk project

Hello,
I'm a Java developper working on improving the baking system on a widely known bank and i want to contirubte to this project.
best regards,
Mourad.

We are happy to take pull requests on any aspect of the project. If your interest is in the infrastructure are please go ahead, but for a general overview of the project and the repositories that are available start at the readme in https://github.com/AdoptOpenJDK/TSC to find your way around, and to discuss things, feel free to join us on our Slack channel by getting an invite at https://adoptopenjdk.net/slack.html - hope that helps :-)
Welcome to the project!