text:
Optimize Universal cable rendering or disable it by default in config.

Issue description:
In a nice empty world it's not difficult to get 300-400FPS... Until you place down and power 8 stacks of Universal cables... Suddenly 30fps! It is not uncommon to have long running power cables all over your (sky)base. Other power carrying cables don't seem to suffer this issue (for example 8 stacks of EnderIO conduits still manage 300FPS).
There is an issue on GitHub from 2013 about this, and it has spawned a config option to change. This config option is still available in the current versions, albeit a bit oddly named (OpaqueTransmitterRender).
Either optimize the Universal cables to not completely destroy FPS when a few of them are placed, or have their fancy rendering disabled by default.
Steps to reproduce:

Load empty world
Place an 8x8x8 cube of Universal cables
Power them
Feel the FPS destruction.

Version (make sure you are on the latest version before reporting):
Forge: 14.23.4.2705
Mekanism: 1.12.2-9.4.13.349

albeit a bit oddly named (OpaqueTransmitterRender)

how is that odd? it describes exactly what it does
If your setup can handle it with that option turned on, the problem is probably with your rig.

Feel the FPS destruction.

That's also not a repro step.

OpaqueRender is clear, but transmitter doesn't scream "universal cable" or "logistical transporter" to me.
My rig is a bit old, I won't deny that. But you'd think that a pc that can easily play GTAV for example should be able to render 8 stacks of connected cables in minecraft.
Feeling FPS destruction is indeed not a step to reproduce the issue, but pressing F3 and looking at the little counter to see a drop in FPS might be.
Admittedly, I have this issue in a large mod pack, I will try to reproduce it with just Mekanism, and on a different computer.

Alright, I installed a fresh instance of Minecraft, added Mekanism 1.12.2-9.4.13.349 and Better Builder's Wands 1.12-0.11.1.245+69d0d70 on a different, newer system... The results:

I don't make any clams as to how optimised it is (I didn't write it), but what exactly do you expect for 512 TESRs?

I expect my performance to not be tanking to 35-40FPS. Some FPS drop is fine, and should be expected, but 35-40FPS has a very clear and direct negative impact on my experience.
When I subject other mods to this same "torture" test, FPS isn't impacted nearly as much.

Perhaps migrating the TESRs to forge's FastTESRs might yield performance improvements?
The forge documentation says that FastTESRs should be used whenever possible.
https://mcforge.readthedocs.io/en/latest/tileentities/tesr/#fasttesr

Makes sense, as the glowing thing needs two render-calls, one with lighting disabled... Simple enough to make them not glowing though (still changing color, just not always-bright)

Closing this as I have optimized the rendering code some in 1.15, as well as, FastTESRs no longer exist, due to all TERs being "fast"

Opening this again, mainly to just throw it in the fixed in dev and 9.9.18 milestone as I did some more profiling and further improved this (8x8x8 of universal cables):

authors: ManIkWeet pupnewfster ruifung thiakil


text:
Failed to download Juicer tools jar

Hi
When I tried to download Juicer tools jar from https://github.com/aidenlab/juicer/wiki/Download, the browser showed following messages, which appears the access to the file was disabled. Is there any fix for this?
A LOT thanks ahead!
Zuhui

AllAccessDisabled
All access to this object has been disabled
D412AE3F36B18F57

0lgfNjbZao406Dyysre1Ipy3UBgWTBMW+E6a0/ZKAHhH2NKzCkqK+Nq3cFiP3Bi3wkWVJ76xyMY=

We are having AWS issues that we hope are resolved soon.
On Thu, Dec 19, 2019 at 6:35 AM Borease notifications@github.com wrote:

Hi
When I tried to download Juicer tools jar from
https://github.com/aidenlab/juicer/wiki/Download, the browser showed
following messages, which appears the access to the file was disabled. Is
there any fix for this? A LOT thanks ahead!
AllAccessDisabled All access to this object has been disabled
D412AE3F36B18F57
0lgfNjbZao406Dyysre1Ipy3UBgWTBMW+E6a0/ZKAHhH2NKzCkqK+Nq3cFiP3Bi3wkWVJ76xyMY=
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aidenlab/juicer/issues/149?email_source=notifications&email_token=AAK2EW2TJDXWARJ5OQOTWXDQZNL6VA5CNFSM4J5DXUW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IBTWBHA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK2EW7QFANJFALW7DM7QG3QZNL6VANCNFSM4J5DXUWQ
.

--
Neva Cherniavsky Durand, Ph.D.
Pronouns: she, her, hers
Assistant Professor, Aiden Lab
www.aidenlab.org

Succeeded in downloading, thanks for help.

source: gharchive/issue

authors: Borease nchernia

repo: aidenlab/juicer

license: MIT

license_type: permissive

license_source: github-api


text:
make ternary type parameter any

This doesn't need to be comparable, and is limiting how useful this func is. This isn't a breaking change because anything that is comparable is also compatible with any.

Codecov Report

Merging #6 (7b1de7d) into main (051f025) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines           77        77
=========================================
  Hits            77        77

Impacted Files
Coverage Δ

utils/ternary.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

source: gharchive/pull-request

authors: aidenwallis codecov-commenter

repo: aidenwallis/go-utils


text:
[Docs] Add chat AI example script

Summary

add example scripts for main use case.
rename folder tutorials to examples and add subfolder for grouping: wallet, nft, chat

To-Do

[ ] ainft-js SDK beta version release (for example test)

Thank you for review @platfowner! now merging...

repo: ainft-team/ainft-js


text:
coroutine decorator in aiohttp_jinja2/init.py

Isn't it necessary to add decorator @asyncio.coroutine right before def middleware(request) in def context_processors_middleware(app, handler)?

Fixed in master. Thanks for report.

authors: asvetlov ilex

license_source: bigquery


text:
Make ERC20 services names generic

Currently in https://github.com/airalab/robonomics_comm/blob/master/ethereum_common/src/ethereum_common/erc20_services.py a lot of service names has XRT sequence.
Proposal:
This node is generic for any ERC20 compatible token and xrt could be removed from service names.

Closed in #109

authors: akru strdn


text:
Add RST mapping to contains

I'm making an enzyme-inferno-adapter, but I've hit some problems getting the last few tests to pass.
Enzyme requires className to be inside props. This is fine normally, because we can convert the inferno VNode tree to an enzyme RST tree.
But when you call contains, enzyme compares the RST node to the newly created VNode. The RST node has className inside props, the inferno VNode has className on the vNode.
Example:
RST Node:
{
type: 'div',
  props: {
    className: 'bar'
  }
}

Inferno VNode
type: 'div',
  props: {
  },
  className: 'bar'
}

That means we can't call a method like this:
const a =
;
expect(mount(Component).contains(a)).to.equal(true);

Can we convert the node that contains is called with to an RST node before comparing?
I'm happy to make the PR

Hmm; I'm a bit confused. A PR with test cases might make it more clear?

I'm not sure how to write a test case, hopefully this code makes it clear:
https://github.com/eddyerburgh/enzyme/commit/671b7aebb70380229c505c3def8eab9711327d83
In the inferno enzyme adapter, we need to add className to props. That means we need to convert any vNodes before we compare them, otherwise components with the same className will fail, because enzyme compares props in internalNodeCompare.
Currently using inferno, this:
const a =
;
expect(mount(Component).contains(a)).to.equal(true);

Will always return false because it's comparing Component in RST form, to a, which hasn't been transformed. The RST node for Component will have className inside props, a does not have className inside props, because it hasn't been transformed.
This isn't a problem for React, because you don't need to transform the props object.

I think that makes sense.
It seems like the change you want would theoretically continue to pass on all our React tests; I'm indeed not sure how to test the need for it without making a custom adapter for that purpose.
Want to make a PR?

authors: eddyerburgh ljharb

repo: airbnb/enzyme

license: mit


text:
Disable user-select on arrow buttons

Disabled user-select to prevent text-selection when clicking rapidly on the arrows.
Screenshot of text-selection:

Oh thank god, this has been annoying the crud out of me. :) Do we not need to disabled user-select on the weekdays element as well?

Also can you please squash your commits? :)

Sorry, I don't know how to do that from github, but the maintainers can squash when merging pull requests.

@jackmoore we don't like to do that though, because that messes with the commit log. You definitely would need to be on the command line to do your own rebasing.

Thanks for the info.  I was just trying to drop by with some quick pr using github after seeing the demo.  I don't plan on locally forking this, so it's in your hands now.

authors: jackmoore ljharb majapw

repo: airbnb/react-dates


text:
[docs] update the tutorial

The tutorial here: http://airbnb.io/superset/tutorial.html is out of date, we should re-do the screenshots and review the flow.

Yes, some of them are wrong  actually.
For example, create new table won't work at all. And so far I can't figure it out yet.

@mistercrunch I'd love to hack on this, if you're willing to let me take a stab and get feedback from you and others here.
I've started mocking up a new tutorial in a Google Doc, here. Working on this more today and throughout the week and will let you know when I have a good first draft.

I've finished a first draft of the tutorial here. Please ignore everything after the Advanced Table Configuration header. That's the start of content to show users how to create custom formatting, metrics, dimensions, etc. that I'd like to add (let me know if you have any specific thoughts on items worth adding).
@mistercrunch let me know if you have any feedback, and please share with anyone who you think should review. I think it covers the lowest common denominator user, who's brand new to the concepts and language around Superset.
If this looks OK, I can start mapping this to the docs in the actual source.

I had a quick look and it actually looks like the screen I saw from firefox which makes me/new user more comfortable that they are doing things right:)
I likes the clarification of slice=query concept which I guessed but not sure until read about it. This slides do help new user to understand what problem superset is about to solve.
One thing I still have puzzle is postgresql URI. I remember I used sqlite3 somehow, considering I have no idea about what superset was at that time.  Does this mean new example data is stored in postgresql? Or it's OK to use postgresql/sqlite3 here provided you modify config.py correspondingly? I do modify that to use sqlite3 since I just want a quick try when I have no postgresql installed.

Yes, I can understand how the use of PostgreSQL for the example is confusing. I believe the example data that comes pre-loaded with Superset (e.g. the birth name data) is still stored in SQLite. Since part of the goal of the tutorial is to show administrators how to connect to new data sources, I had to use a different database.
Here, I didn't make any changes to any of the Python code - I just formatted a SQLAlchemy connection URI tied to a database I installed on my local machine.
Since SQLLite is supported by SQLAlchemy, if you've already installed that, you can connect Superset to data there. See the connection docs for SQLLite.
Does that help?

This is awesome! Would love to bring that to replace what is currently here: http://airbnb.io/superset/tutorial.html . The docs are written in rst format which isn't the greatest but is pretty easy to pick up. It's pretty much just a matter of editing the rst files and running the python setup.py build_sphinx command from the root of the repo. You can then point you browser to the folder where sphinx puts the static html files. You may have to run pip install -r dev-reqs.txt prior to that to install some package dependencies.
Would love if you or someone else could translate that doc to rst and send PR.
Here's the rst behind the current tutorial:
https://github.com/airbnb/superset/blob/master/docs/tutorial.rst

@mistercrunch awesome, I can definitely submit a PR. Thanks!

@mistercrunch the Sphinx build is working well - getting the tutorial converted to rst without many problems. Thanks for the dev advice.
One question: the current tutorial references images in docs/_static/, e.g.
.. image:: _static/img/tutorial/db_plus.png
but the images themselves aren't committed to the repo, which makes sense. When I commit the PR, I'm just wondering how I actually get y'all the new images so that the docs build correctly?

@mistercrunch sorry to bug, but the tutorial is finished, just want to figure out how to handle the images (see question above) before I push the PR.

@mistercrunch apologies for bugging again, just wanted to check in to ask one question before I push my PR. If there's anyone else on the team who I should work with, definitely feel free to add them here so I'm not always bugging you!
One question: the current tutorial references images in docs/_static/, e.g.
.. image:: _static/img/tutorial/db_plus.png

but the images themselves aren't committed to the repo, which makes sense. When I commit the PR, I'm just wondering how I actually get y'all the new images so that the docs build correctly?

@xrmx I noticed you've made a few commits to the Superset docs. I had one question about the rst files, if you knew how this is managed:
The current tutorial references images in docs/_static/, e.g.
.. image:: _static/img/tutorial/db_plus.png
but the images themselves aren't committed to the repo, which makes sense. When I commit the PR, I'm just wondering how I actually get y'all the new images so that the docs build correctly on airbnb.io?

@dylburger find suggests they are inside superset/assets/images/tutorial

@xrmx awesome, I also see how the docs/build.sh script seems to copy any images in that assets dir to the _static/img directory. I'm assuming this is run to actually generate the docs once committed?
I really appreciate the help! Pushing the PR now.

Some more update on possible "Advanced tutorial".
I found that the only explanation on "Series", "Entity", "Metric" etc was the live hint of "mouse-over". That would be cool if it could be connected to the examples shipped.
And it's also beneficial to add indicator of what's necessary and what's not.
I was playing around with "Bubble" chart type with my own data. And I don't have Series/Entity recognized so it reports "Pick a metric for x,y and size" error which is very hard to understand since there is no "Metric" field at all.

Had one more comment on Bubble Viz Type, but maybe applicable to other viz types:

You need to run "pd.to_datetime()" to convert datetime to SQL recognized datetime format.
In pd.to_sql(), dtype parameter is necessary for at least 3 parameter:
a. DateTime() for your datetime parameter.
b. Series parameter for bubble chart must be String() type
c. Entity parameter for bubble chart must be String() type
Otherwise, none of above could recognize correctly in sqlab somehow. Maybe it's common sense but just record here in case it's not.

authors: QiXuanWang dylburger mistercrunch xrmx

repo: airbnb/superset


text:
在原有elementUI项目中，添加Vux，报错：Module parse failed: Unexpected token (3:0) You may need an appropriate loader to handle this file type.

在现有element-ui 项目中 引用 vux，按照教程，修改了webpack.base.conf.js 加上了vux-loader;然后添加了less less-loader，运行报错！
错误：
` error  in ./src/pages/pc/doct_award_master/add.vue
Module parse failed: Unexpected token (3:0)
You may need an appropriate loader to handle this file type.
| import { render, staticRenderFns } from "./add.vue?vue&type=template&id=11deac61"
| import script from "./add.vue?vue&type=script&lang=js"

../../../../node_modules/vux-loader/src/script-loader.js!export * from "./add.vue?vue&type=script&lang=js"
|
|

@ ./src/router/index.js 267:15-58
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8080 webpack/hot/dev-server ./src/main.js
error  in ./src/pages/pc/doct_award_dict/add.vue
Module parse failed: Unexpected token (3:0)
You may need an appropriate loader to handle this file type.
| import { render, staticRenderFns } from "./add.vue?vue&type=template&id=12b1da35"
| import script from "./add.vue?vue&type=script&lang=js"

../../../../node_modules/vux-loader/src/script-loader.js!export * from "./add.vue?vue&type=script&lang=js"
|
|

@ ./src/router/index.js 217:15-56
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8080 webpack/hot/dev-server ./src/main.js`
代码文件：
`

`
配置文件：
`'use strict'
const path = require('path')
const utils = require('./utils')
const config = require('../config')
const vueLoaderConfig = require('./vue-loader.conf')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
function resolve(dir) {
return path.join(__dirname, '..', dir)
}
const webpackConfig = {
plugins: [
new VueLoaderPlugin()
],
context: path.resolve(__dirname, '../'),
entry: {
app: './src/main.js'
},
output: {
path: config.build.assetsRoot,
filename: '[name].js',
publicPath: process.env.NODE_ENV === 'production'
? config.build.assetsPublicPath
: config.dev.assetsPublicPath
},
resolve: {
extensions: ['.js', '.vue', '.json'],
alias: {
'@': resolve('src'),
}
},
module: {
rules: [
{
test: /.vue$/,
loader: 'vue-loader',
options: vueLoaderConfig
},
{
test: /.js$/,
loader: 'babel-loader',
include: [resolve('src'), resolve('test'), resolve('node_modules/webpack-dev-server/client')]
},
{
test: /.(png|jpe?g|gif|svg)(?.)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
},
{
test: /.(mp4|webm|ogg|mp3|wav|flac|aac)(?.)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('media/[name].[hash:7].[ext]')
}
},
{
test: /.(woff2?|eot|ttf|otf)(?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
}
]
},
node: {
// prevent webpack from injecting useless setImmediate polyfill because Vue
// source contains it (although only uses it if it's native).
setImmediate: false,
// prevent webpack from injecting mocks to Node native modules
// that does not make sense for the client
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty'
}
}
**const vuxLoader = require('vux-loader')
module.exports = vuxLoader.merge(webpackConfig, {
options: {},
plugins: [{
name: 'vux-ui'
}]
})**

"dependencies": {
"axios": "^0.18.0",
"babel-polyfill": "^6.26.0",
"element-ui": "^2.4.3",
"normalize.css": "^8.0.0",
"vue": "^2.5.16",
"vue-router": "^3.0.1",
"vuex": "^3.0.1",
"vux": "^2.9.2"
},
"devDependencies": {
"autoprefixer": "^8.6.5",
"babel-core": "^6.26.3",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^7.1.5",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1",
"chalk": "^2.4.1",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^1.0.0",
"file-loader": "^1.1.11",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^3.2.0",
"less": "^2.7.3",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.4.1",
"node-notifier": "^5.2.1",
"optimize-css-assets-webpack-plugin": "^4.0.3",
"ora": "^2.1.0",
"portfinder": "^1.0.13",
"postcss-import": "^11.1.0",
"postcss-loader": "^2.1.5",
"postcss-url": "^7.3.2",
"rimraf": "^2.6.2",
"semver": "^5.5.0",
"shelljs": "^0.8.2",
"uglifyjs-webpack-plugin": "^1.2.7",
"url-loader": "^1.0.1",
"vue-loader": "^15.2.4",
"vue-style-loader": "^4.1.0",
"vue-template-compiler": "^2.5.16",
"vux-loader": "^1.2.9",
"webpack": "^4.15.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4",
"webpack-merge": "^4.1.3",
"yaml-loader": "^0.5.0"
},
"engines": {
"node": ">= 8.0.0",
"npm": ">= 6.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 11"
]
}
`

同问这个问题，配置都差不多

我也是跟你一样，之前element-ui，现在引入这个vux。
貌似是vue-loader版本太高？

问下解决了吗？

同样遇到该问题，请问大家现在有思路了吗？

看一下是不是vue-loader版本太高了，我之前装了15.0+版本，不行，退到14.2.2版本就OK了；主要是看了https://segmentfault.com/a/1190000014586699?utm_source=tag-newest博主的文章，里面有具体解决思路

看一下是不是vue-loader版本太高了，我之前装了15.0+版本，不行，退到14.2.2版本就OK了；主要是看了https://segmentfault.com/a/1190000014586699?utm_source=tag-newest博主的文章，里面有具体解决思路

按这个方式解决了问题，还有一点就是     vue-loader/lib/plugin    这个loader 不要使用了

收到，谢谢您回复我
------------------ 原始邮件 ------------------
发件人: "Leslie"notifications@github.com;
发送时间: 2019年10月23日(星期三) 晚上11:59
收件人: "airyland/vux"vux@noreply.github.com;
抄送: "yaozheng"297235499@qq.com;"Comment"comment@noreply.github.com;
主题: Re: [airyland/vux] 在原有elementUI项目中，添加Vux，报错：Module parse failed: Unexpected token (3:0) You may need an appropriate loader to handle this file type. (#2935)
看一下是不是vue-loader版本太高了，我之前装了15.0+版本，不行，退到14.2.2版本就OK了；主要是看了https://segmentfault.com/a/1190000014586699?utm_source=tag-newest博主的文章，里面有具体解决思路
按这个方式解决了问题，还有一点就是     vue-loader/lib/plugin    这个loader 不要使用了
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

authors: 18626328976 18945168 MorLQ bigzs chinaguopeng lerit snowlotus

repo: airyland/vux


text:
⚠ Turnos 24x7 has degraded performance

In 2c83013, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 944 ms

Resolved: Turnos 24x7 performance has improved in 5b9b250.

repo: aisa-status/status-upptime-dev


text:
⚠ Turnos 24x7 has degraded performance

In d4df266, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 9116 ms

Resolved: Turnos 24x7 performance has improved in 045f882.


text:
⚠ Turnos 24x7 has degraded performance

In 2321108, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 946 ms

Resolved: Turnos 24x7 performance has improved in 4fc94ce.


text:
✨ support optional argument

Summary by CodeRabbit

New Features

Search bar now available for quick access to content.

Documentation

Updated README to explain argument parsing enhancements, including support for optional arguments.

Bug Fixes

Improved error handling in argument parsing to ensure a smoother user experience.

Tests

Added new tests to verify functionality of optional arguments in command-line interface.

@coderrabit you're totally drunk.

repo: aisk/rust-fire


text:
update(platform): byoc self-service GCP & AWS

https://aiven.atlassian.net/browse/MILK-7
Checklist

[x] The first paragraph of the page is on one line.
[x] The other lines have a line break at 90 characters.
[x] I checked the output.
[x] I applied the style guide.
[x] My links start with /docs/.

@raphlopez I also think the arrows imply directionality, and we should have "Aiven Management" to "Bastion" with arrows going both directions.
With regard to GCP, we only offer BYOC within a single region on GCP (at least for now) so I suspect that's the reasoning behind the diagram. Maybe we replace "Cloud Region" with "GCP Project" and call out in the description that BYOC is only single-region. The message I would tell a customer is, "If you need another region, you need to create another BYOC".

@raphlopez The images have been updated.

repo: aiven/aiven-docs


text:
Added Cassandra source and sink connectors

What changed, and why it matters
Added Cassandra source connector
Migrated Cassandra sink connector  https://help.aiven.io/en/articles/3281827-setting-up-cassandra-sink-connector-for-kafka
Fixes #1156
The Cassandra sink connector currently fails due to a problem in the connector itself, waiting for a fix

So can we test this if there's a bug in the connector? I'm not clear if we should be crowdsourcing reviews or what

I believe we can review one of the connectors, the worst part IMHO is that we have a non working connector available since some time

The failed connector GitHub issue mentions about a fix in the next release date but so far, there's no ETA on the release date. If we prioritize the migration over a failing connector that is not an Aiven issue, my suggestion will be to add a ⚠ note with a link to the failed connector GitHub issue.

Thanks @mparikhaiven, ready for another go!

authors: dewan-ahmed ftisiot lornajane

repo: aiven/devportal


text:
Searchable snapshots with encrypted repository

Hi there,
searchable snapshot is a great feature in order to read data from a snapshot repository at search time...
Could it be compatible with encrypted repository?

Hi there, so far no. But we are working on it

This is very good news, thank you.
Will it be available in version 2.8?

Well I'm not sure. The problem is that the OpenSearch team started to work on the encryption plugin as well, but it looks like the work is stuck. So now we are thinking does it make sense to continue with this plugin or wait for the OpenSearch team.

OK,
I will follow this point from opensearch side and here
thanks a lot

Maybe something will appear

Maybe something will appear

Hello, could you precise, please ?

authors: acidul willyborankin

repo: aiven/encrypted-repository-opensearch


text:
ModuleNotFoundError: No module named 'agents.SOP'

cd example
python run.py --agent Multi_Agent/debate/config.json
File "run.py", line 3, in
from agents.SOP import SOP
ModuleNotFoundError: No module named 'agents.SOP'

hi @serendipity-t , did you pip our latest version package?
you can refer to https://github.com/aiwaves-cn/agents#-installation.

authors: callanwu serendipity-t

repo: aiwaves-cn/agents


text:
Update 87 Scramble String.py

For hacktober fest 2021 :)

currently suffering from the fever that's why late in accepting pull request
Good work:)


text:
Link error in edit size banner

Environment
Docker
Version
0.14.1
Describe the problem
Link in the edit mode banner is 'https://homarr.dev/docs/customizations/layout'

~It should direct to 'https://homarr.dev/docs/customizations/board-customization#layout'~
Correction, even better would be to direct to 'https://homarr.dev/docs/customizations/board-customization#screen-sizes'
Originally raised on discord with large size, but effects all sizes.
Logs
No response
Context
No response
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

Thanks for reporting, will create a fix that will be published within the next release

authors: Meierschlumpf No-Maines-Land

repo: ajnart/homarr


text:
Fixing missing Kali AMI

https://github.com/splunk/attack_range/issues/964

Thank you for improving it


text:
Transfer to ajv-validator org

@jessedc I hope you are well.
I would appreciate if you could move the repo to https://github.com/ajv-validator org - I hope you won't mind. I've moved all Ajv repos there from my account.
I am trying to address Ajv bus factor, and I think it would be easier to attract the maintainers by having Ajv & co in the org, rather than in my personal account.
Thanks a lot for starting this CLI utility - lots of people I know use it.

No problem!

@epoberezkin if you add me to the ajv-validator org and allow me to add repositories I will transfer it ASAP. :+1:

Thank you - added!

🚀

Thank you :)

authors: epoberezkin jessedc

repo: ajv-validator/ajv-cli


text:
Single consumer with multiple queues

Requirement  is to read messages from multiple queues binded on same exchange. What is the best way to implement it?
Is it possible to have single consumer (with one connection) and consume from multiple queues? or we need to have one connection per queue?

one connect ,diffirent channel

authors: Binduts zhanb

repo: akalend/amqpcpp


text:
Use intl hook

What: Added useIntl hook support.
Why: Because react-intl provides hook API, therefore this plugin should support it.
How: Mostly copy-paste of injectIntl API support tests.
Checklist:

[x] Documentation
[x] Tests
[x] Ready to be merged
[ ] Added myself to contributors table

@dominik-zeglen Thank you 💯

@akameco thank you too for this amazing plugin!
Are you going to release it in near future?

I will release it today. I'm working now so I'll do it when I get home.

This PR is included in version v2.2.0 🚀

authors: akameco dominik-zeglen

repo: akameco/babel-plugin-react-intl-auto


text:
RAIR-Dapp

Please add RAIR-Dapp application in Templates under Business Category

Hey @sarora180673 !
Please, add info about this template in root README.md awesome-akash repo.

Tnx @sarora180673 !
Ready to merge @brewsterdrinkwater .

repo: akash-network/awesome-akash


text:
Error on "api = keepa.Keepa(accesskey)" --> "This event loop is already running"

When I try to connect, I run into a Runtime Error "This event loop is already running", which appears to be in reference to the line "api = keepa.Keepa(accesskey). I added snippet with fake key.

Thank you,
Danny

Could you please checkout #65 as it's a similar issue.

I am having same issue. #65 response left me with error: SyntaxError: 'await' outside function

Should be resolved in keepa==1.3.0.  Upgrade to the latest release with pip install keepa -U.

Worked! Thank you

authors: Katgitmake akaszynski dannyavila-loreal

repo: akaszynski/keepa


text:
AKShare 接口问题报告 | AKShare Interface Issue Report | ak.index_stock_cons_csindex()

欢迎加入《数据科学实战》知识星球，交流财经数据与量化投资相关内容 |
Welcome to join "Data Science in Practice" Knowledge
Community for discussions on financial data and quantitative investment.
详细信息参考 | For detailed information, please visit:：https://akshare.akfamily.xyz/learn.html

前提 | Prerequisites
遇到任何问题，请先将您的 AKShare 版本升级到最新版，可以通过如下命令升级 | Before reporting any issues, please upgrade
your AKShare to the latest version using the following command:：
pip install akshare --upgrade  # Python 版本需要大于等于 3.8 | Python version requirement ≥ 3.8

如何提交问题 | How to Submit an Issue
提交问题的同时，请提交以下相关信息，以更精准的解决问题。| Please provide the following information when
submitting an issue for more accurate problem resolution.
不符合提交规范的 issues 会被关闭！ | Issues that don't follow these guidelines will be closed!
详细问题描述 | Detailed Problem Description

请先详细阅读文档对应接口的使用方式 | Please read the documentation thoroughly for the
relevant interface：https://akshare.akfamily.xyz
操作系统版本，目前只支持 64 位操作系统 | Operating system version (64-bit only supported)
Rocky Linux 9.5
Python 版本，目前只支持 3.8 以上的版本 | Python version (must be 3.8 or above)
3.11.10
AKShare 版本，请升级到最新版 | AKShare version (please upgrade to latest)
1.15.52
接口的名称和相应的调用代码 | Interface name and corresponding code
index_stock_cons_csindex_df = ak.index_stock_cons_csindex(symbol="000300")
接口报错的截图或描述 | Screenshot or description of the error

返回的数据并非最新的日期
期望获得的正确结果 | Expected correct results

期望与此数据一致

接口正常

authors: albertandking wangzhengli

repo: akfamily/akshare


text:
Ability to choose from note presets

User should be able to select from different note presets, title & image are required for all of them:

Generic note: Free form paragraphs without any limitation
Contact note: Individual person information including name, email, phone number, etc.
Location note: Location data: addresses, long, lat. Has the ability to search entered data on external map applications
Image/Scans note: Carousel images
Web page note: Frame/Load webpage within the note...?
Event note: Date/Time
List/Checklist note

Implemented Generic, Contact, Location, Image, Event, and Checklist note

Added Weblink note on PR #35

repo: akhoanv/EvidenceVault


text:
illegal base64 data at input byte 7

Hi, I just tried to download a video that is "private" (can only be viewed from the creator website) because my internet sucks and I want to download it while I am in bed.
I tried the master.json filed with this tool and go this error
$HOME/go/bin/vimeo-dl -i 'https://181vod-adaptive.akamaized.net/exp=1617004512~acl=%2F99d44cdc-7796-420d-ae1b-182562c9a474%2F%2A~hmac=d684423a72e2a0295903c84fb145f417fdbfa2046656c8af1bf351e72b6ba24d/99d44cdc-7796-420d-ae1b-182562c9a474/sep/video/fcf9e1a3,b2b9bfca,80504f22,fd55bf40/audio/409d0174,efe8a937/master.json'
Downloading to 99d44cdc-7796-420d-ae1b-182562c9a474-video.mp4
illegal base64 data at input byte 7

Any idea what could go wrong?
Version used: the packaged one:
❯ go get -u github.com/akiomik/vimeo-dl
go: downloading github.com/akiomik/vimeo-dl v0.0.1

Thank you for reporting 🙏  I'll check it out.

@MoOx Could you try again to download with ?base64_init=1 parameter? Like this:
$HOME/go/bin/vimeo-dl -i 'https://181vod-adaptive.akamaized.net/exp=1617004512~acl=%2F99d44cdc-7796-420d-ae1b-182562c9a474%2F%2A~hmac=d684423a72e2a0295903c84fb145f417fdbfa2046656c8af1bf351e72b6ba24d/99d44cdc-7796-420d-ae1b-182562c9a474/sep/video/fcf9e1a3,b2b9bfca,80504f22,fd55bf40/audio/409d0174,efe8a937/master.json?base64_init=1'

If you could, it would be helpful if you could upload the master.json.

That's working with the removal of query_string_ranges=1& !
You can try this one  https://181vod-adaptive.akamaized.net/exp=1617083370~acl=%2F99d44cdc-7796-420d-ae1b-182562c9a474%2F*~hmac=2d44e6ea2ff318edea2920a775b8cc82113497907511f179b8442c402da51aeb/99d44cdc-7796-420d-ae1b-182562c9a474/sep/video/fcf9e1a3,b2b9bfca,80504f22,fd55bf40/audio/409d0174,efe8a937/master.json?query_string_ranges=1&base64_init=1

Oh! Thank you for your cooperation. 😊

Thanks for you help. Do you want me to close the issue or are you going to fix something in your script and close it?

I'll fix codes to show a more friendly error message and then close this issue.

authors: MoOx akiomik

repo: akiomik/vimeo-dl


text:
Responsive Images

Responsiveness
I am facing an issue, The issue is on small devices(tabs, mobiles) the image inside slider becomes blurry as attached below. does there any way to do something like on sm, xs, md, lg and xl screen size use different images?

Hi @irtaza9 I want to resolved this issue can you please assign it to me.

repo: akiran/react-slick


text:
add Akka.Analyzers install canary

Changes
Should be able to reproduce https://github.com/akkadotnet/akka.net/issues/7307
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):

[x] This change follows the Akka.NET API Compatibility Guidelines.
[x] This change follows the Akka.NET Wire Compatibility Guidelines.
[ ] I have reviewed my own pull request.
[x] Design discussion issue https://github.com/akkadotnet/akka.net/issues/7307
[ ] Changes in public API reviewed, if any.
[ ] I have added website documentation for this feature.

Welp, this is why the Canary is dubiously passing:
error: Error while adding package 'Akka.Analyzers' to project 'D:\a\akka.analyzers\akka.analyzers\test\Akka.Analyzers.NetFxInstallCanary\Akka.Analyzers.NetFxInstallCanary.csproj'. The project does not support adding package references through the add package command.

We probably need to re-tool this to use the powershell Package-Install commands


text:
Navigate between different pages  in router flux

hi every one.
I put the inside the App.js file of my drawer program and tab inside a router as follows.
<Router>
    <Scene>
        <Drawer>
            <Scene>
             <Scene/>
        <Drawer/>
        <Tabs>
             <Scene>
             <Scene/>

             <Scene>
             <Scene/>

             <Scene>
             <Scene/>

             <Scene>
            <Scene/>
        <Tabs/>
     <Scene/>
<Router/>

Based on this code we get the following ui

Which has a lower Tab and a Drawer that is code inside App.js. Now inside one of these lower items we created a new Router and left the pages for it so that we could create a stack in this Router but also. For example, one of the lower Tab items in App.js is Profiles. (Profile.js) We coded it inside the profile like that.
export default  ProfileNavigator = () => (
    <Router>
        <Stack key="root">
                    <Scene key="home1" component={Home} direction={'vertical'} hideNavBar/>
            <Scene key="register" component={Heroes} direction={'vertical'} title="Register" />
        </Stack>
    </Router>
);

The problem now is that when we enter the profile page according to this image.

Drawer and other TAB items no longer work, Now my question is, what can I do to fix this problem? Thanks.
Of course, the structure of said files is as follows.

<Router> is the problem

I think you should only use only one <Router>

You can have <Stack> , group <Scene> and every other tags inside the <Router> and its children (again no need for a new <Router>)

After this, I think when you have a drawer in your routes, you should put all the other <Scene>s inside <Drawer>

Maybe like this
<Router>
    <Scene>
        <Drawer>
            <Scene>
            <Scene/>

             <Tabs>
                 <Scene key="profileNavigator">
                    <Scene key="home1" component={Home} direction={'vertical'} hideNavBar/>
                    <Scene key="register" component={Heroes} direction={'vertical'} title="Register" />
                 <Scene/>

                 <Scene>
                 <Scene/>

                 <Scene>
                 <Scene/>

                 <Scene>
                <Scene/>
            <Tabs/>
        <Drawer/>

     <Scene/>
<Router/>

repo: aksonov/react-native-router-flux


text:
Respond to the START of a Scene transition from within a Scene's child component

Is there a way to respond to the START of a Scene transition from within a Scene's child component?
I have audio playing which I stop within componentWillUnmount.  componentWillUnmount is only triggered at the completion of a scene transition (and only when popping a scene, not pushing).
I'd like to be able to stop the audio as soon as the transition is triggered while keeping that logic encapsulated within the relevant component. (i.e. without creating global audio control logic)

You can listen to the reducer - check the Example app for a way to do this.

authors: cridenour dmwallace


text:
ReadOnly Table

Can the table be ReadOnly ?
i need to hide the add, edit and delete buttons, only filter and sorting should be avaiable.

why did you close this? Kindly answer this.

Same question. I want to make table only readonly. How can I disable action buttons?

@federhico I tried to configure table like this and it worked. Maybe it helps.
<ng2-smart-table [settings]="settings" [source]="...">

settings = {
actions: {
columnTitle: '',
add: false,
edit: false,
delete: false,
custom: [],
position: 'left',
},
columns: {
...
},
};

authors: federhico gokcer tcc-world


text:
[nbContextMenu] stopped working

Issue type
I'm submitting a ...  (check one with "x")

[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
Current behavior:
I had to change template of NbMenuItem. To do this, I downloaded menu component sources from Nebulars github. Then I modified paths in imports to include new one.
Now clicking on [nbContextMenu] element throws an error (context menu is not opening):
NbPopoverComponent_Host.ngfactory.js? [sm]:1 ERROR TypeError: Cannot read property 'instance' of null
    at NbPopoverComponent.set [as componentOutlet] (popover.component.js:35)
    at checkAndUpdateQuery (core.js:12847)
    at execQueriesAction (core.js:14207)
    at checkAndUpdateView (core.js:13809)
    at callViewAction (core.js:14153)
    at execComponentViewsAction (core.js:14085)
    at checkAndUpdateView (core.js:13808)
    at callViewAction (core.js:14153)
    at execEmbeddedViewsAction (core.js:14111)
    at checkAndUpdateView (core.js:13803)
View_NbPopoverComponent_Host_0 @ NbPopoverComponent_Host.ngfactory.js? [sm]:1
proxyClass @ compiler.js:14653
DebugContext_.logError @ core.js:14996
ErrorHandler.handleError @ core.js:1509
(anonymous) @ core.js:5914
ZoneDelegate.invoke @ zone.js:392
Zone.run @ zone.js:142
NgZone.runOutsideAngular @ core.js:4697
ApplicationRef.tick @ core.js:5914
(anonymous) @ core.js:5740
ZoneDelegate.invoke @ zone.js:392
onInvoke @ core.js:4749
ZoneDelegate.invoke @ zone.js:391
Zone.run @ zone.js:142
NgZone.run @ core.js:4566
next @ core.js:5740
schedulerFn @ core.js:4331
SafeSubscriber.__tryOrUnsub @ Subscriber.js:239
SafeSubscriber.next @ Subscriber.js:186
Subscriber._next @ Subscriber.js:127
Subscriber.next @ Subscriber.js:91
Subject.next @ Subject.js:56
EventEmitter.emit @ core.js:4311
checkStable @ core.js:4714
onLeave @ core.js:4793
onInvokeTask @ core.js:4743
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:192
ZoneTask.invokeTask @ zone.js:499
invokeTask @ zone.js:1540
globalZoneAwareCallback @ zone.js:1566

NbPopoverComponent_Host.ngfactory.js? [sm]:1 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 0, nodeDef: {…}, elDef: {…}, elView: {…}}
View_NbPopoverComponent_Host_0 @ NbPopoverComponent_Host.ngfactory.js? [sm]:1
proxyClass @ compiler.js:14653
DebugContext_.logError @ core.js:14996
ErrorHandler.handleError @ core.js:1514
(anonymous) @ core.js:5914
ZoneDelegate.invoke @ zone.js:392
Zone.run @ zone.js:142
NgZone.runOutsideAngular @ core.js:4697
ApplicationRef.tick @ core.js:5914
(anonymous) @ core.js:5740
ZoneDelegate.invoke @ zone.js:392
onInvoke @ core.js:4749
ZoneDelegate.invoke @ zone.js:391
Zone.run @ zone.js:142
NgZone.run @ core.js:4566
next @ core.js:5740
schedulerFn @ core.js:4331
SafeSubscriber.__tryOrUnsub @ Subscriber.js:239
SafeSubscriber.next @ Subscriber.js:186
Subscriber._next @ Subscriber.js:127
Subscriber.next @ Subscriber.js:91
Subject.next @ Subject.js:56
EventEmitter.emit @ core.js:4311
checkStable @ core.js:4714
onLeave @ core.js:4793
onInvokeTask @ core.js:4743
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:192
ZoneTask.invokeTask @ zone.js:499
invokeTask @ zone.js:1540
globalZoneAwareCallback @ zone.js:1566

NbContextMenuComponent.html:1 ERROR Error: StaticInjectorError(AppModule)[NbMenuComponent -> NbMenuInternalService]:
  StaticInjectorError(Platform: core)[NbMenuComponent -> NbMenuInternalService]:
    NullInjectorError: No provider for NbMenuInternalService!
    at _NullInjector.get (core.js:1002)
    at resolveToken (core.js:1300)
    at tryResolveToken (core.js:1242)
    at StaticInjector.get (core.js:1110)
    at resolveToken (core.js:1300)
    at tryResolveToken (core.js:1242)
    at StaticInjector.get (core.js:1110)
    at resolveNgModuleDep (core.js:10854)
    at NgModuleRef_.get (core.js:12087)
    at resolveNgModuleDep (core.js:10854)
View_NbContextMenuComponent_0 @ NbContextMenuComponent.html:1
proxyClass @ compiler.js:14653
DebugContext_.logError @ core.js:14996
ErrorHandler.handleError @ core.js:1509
next @ core.js:5497
schedulerFn @ core.js:4331
SafeSubscriber.__tryOrUnsub @ Subscriber.js:239
SafeSubscriber.next @ Subscriber.js:186
Subscriber._next @ Subscriber.js:127
Subscriber.next @ Subscriber.js:91
Subject.next @ Subject.js:56
EventEmitter.emit @ core.js:4311
(anonymous) @ core.js:4771
ZoneDelegate.invoke @ zone.js:392
Zone.run @ zone.js:142
NgZone.runOutsideAngular @ core.js:4697
onHandleError @ core.js:4771
ZoneDelegate.handleError @ zone.js:396
Zone.runTask @ zone.js:195
ZoneTask.invokeTask @ zone.js:499
invokeTask @ zone.js:1540
globalZoneAwareCallback @ zone.js:1566
NbContextMenuComponent.html:1 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 1, nodeDef: {…}, elDef: {…}, elView: {…}}

Importing forRoot in app.module doesn't fix this:
https://github.com/akveo/ngx-admin/issues/1641
Other information:
npm, node, OS, Browser
Node: v8.11.3
npm: 5.6.0
OS: macOS High Sierra
Browser: Chrome

Angular, Nebular
Angular: 5.2.6
Nebular:2.0.0-rc.7

Hi @Squidy06. Did you modify paths in nebular sources? Otherwise, context menu will use nebular's menu implementation anyway, so you have to change context menu implementation as well.
Based just on the error you provided NbMenuModule.forRoot() is missing in app module, but since you provided it, I can't say what goes wrong. Could you can create a reproducible example on stackblitz?
Anyway, modifying components are fragile. Could you please clarify what are you trying to accomplish in a first place. Maybe we can do this in another way?

repo: akveo/ngx-admin


text:
openapi.json show alweys also if disabled explorer

Issue type
I'm submitting a ...  (check one with "x")

[* ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
Qhen i disable the explorer like as follow:
            this.bind(RestExplorerBindings.CONFIG).to({
                path: '/graph',
            });
            this.component(RestExplorerComponent);

myserver.com/openapi.json show all database structure.
i Want to use LoopBack only backend laravel. but this public information is dangerous

For the moment, i use this resolution. let me if correct as folllow in index.ts:
export async function main() {

    const restConfig = Object.assign({
        rest: {
            port: Number(process.env.APP_PORT) || 3000,
            cors: {
                origin: '*',
                methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
                preflightContinue: false,
                optionsSuccessStatus: 204,
                maxAge: 86400,
                credentials: true,
            },
            apiExplorer: {
                disabled: (process.env.APP_ENV !== 'production'),
            },
            expressSettings: {
                'x-powered-by': false,
                env: process.env.APP_ENV || 'development',
            },
        },
    });

    if (process.env.APP_ENV === 'production')
        (restConfig.rest.openApiSpec).endpointMapping = {};

    const app = new ServerMwspaceComApplication(restConfig);
    await app.boot();
    await app.start();

    const url = app.restServer.url;
    console.log(`©2020 IBM ~ All rights reserved | serve at ${url}`);
    return app;
}


text:
Need the list of all icons

Issue description
There are icons provided which are displayed in left sidebar menu like this one in page-menu.ts
{
   title: 'Dashboard',
   icon: 'shopping-cart-outline',
   link: '/pages/dashboard',
   home: true,
 }

I need other icons name like for users, stores, products, etc.
Where do I get all the list of icons to use them?
angular version 14.2.10

https://akveo.github.io/eva-icons/
You can also import icons from other packages...


text:
Why is Avatar not designed to be an area with BFC (Block Formatting Context)?

🐛 Bug Report

To Reproduce
const renderItem = ({ item, index }: { item: any; index: number }) => {
  const avatorComp = (
    <FastImage
      style={{ width: "100%", height: "100%" }}
      source={{
        uri: "https://unsplash.it/400/400?image=1",
        headers: { Authorization: "someAuthToken" },
        priority: FastImage.priority.normal,
      }}
      resizeMode={FastImage.resizeMode.contain}
    />
  );

  return (
    <ListItem
      title={`${item.title} ${index + 1}`}
      description={`${item.description} ${index + 1}`}
      accessoryLeft={(props) => (
        <Avatar {...props} shape="round" ImageComponent={() => avatorComp} />
      )}
      accessoryRight={() => <Button size="tiny">FOLLOW</Button>}
    />
  );
};

This will stretch avatarComp size to the size of the entire ListItem instead of the expected default Avatar size. And it will ignore the shape of Avatar directly.

Expected behavior

I hope it renders like this, but according to the existing design, I need to define avatarComp myself, so that Avatar will be very tasteless

UI Kitten and Eva version

Package
Version

@eva-design/eva
latest

@ui-kitten/components
latest

You didn't use it in the right way. Please check the docs and see accessoryLeft has some arguments

Do you mean like this?
const renderItem = ({ item, index }: { item: any; index: number }) => {
  const avatorComp = (props: FastImageProps) => (
    <FastImage
      {...props}
      style={{ width: "10%", height: "100%" }}
      source={{
        uri: "https://unsplash.it/400/400?image=1",
        headers: { Authorization: "someAuthToken" },
        priority: FastImage.priority.normal,
      }}
      resizeMode={FastImage.resizeMode.contain}
    />
  );

  return (
    <ListItem
      title={`${item.title} ${index + 1}`}
      description={`${item.description} ${index + 1}`}
      accessoryLeft={(props) => avatorComp(props as FastImageProps)}
      accessoryRight={() => <Button size="tiny">FOLLOW</Button>}
    />
  );
};

But what I expect is an Avatar that handles the sub-components correctly.

I solved it, using the following code
const avatorComp = (props?: FastImageProps) => (
  <View style={styles.logo}>
    <FastImage
      {...props}
      source={{
        uri: "https://unsplash.it/400/400?image=1",
        headers: { Authorization: "someAuthToken" },
        priority: FastImage.priority.normal,
      }}
      resizeMode={FastImage.resizeMode.contain}
    />
  </View>
);

const renderItem = ({ item, index }: { item: any; index: number }) => {
  return (
    <ListItem
      title={`${item.title} ${index + 1}`}
      description={`${item.description} ${index + 1}`}
      accessoryLeft={(props) => (
        <Avatar {...props} ImageComponent={avatorComp} />
      )}
      accessoryRight={() => <Button size="tiny">FOLLOW</Button>}
    />
  );
};

But this example is easy to mislead others, and others may also make the same mistake

And I also think that this issue has not been resolved. The avatar should limit the styles of its sub-components such as size, borderRadius, etc., and other related props.

I found out that Avatar limits the sub-components...
const avatorComp = (props?: FastImageProps) => (
    <FastImage
      {...props}
      source={{
        uri: "https://unsplash.it/400/400?image=1",
        headers: { Authorization: "someAuthToken" },
        priority: FastImage.priority.normal,
      }}
      resizeMode={FastImage.resizeMode.contain}
    />
);

const renderItem = ({ item, index }: { item: any; index: number }) => {
  return (
    <ListItem
      title={`${item.title} ${index + 1}`}
      description={`${item.description} ${index + 1}`}
      accessoryLeft={(props) => (
        <Avatar {...props} ImageComponent={avatorComp} />
      )}
      accessoryRight={() => <Button size="tiny">FOLLOW</Button>}
    />
  );
};

It works, and I will close this issue.
But may update the doc?

authors: artyorsh cangSDARM

repo: akveo/react-native-ui-kitten


text:
Typescript: Type 'string[]' is not assignable to type 'string' ts(2322)

🐛 Bug Report
I get a type error when I use some string as a child of Button.
Type 'string[]' is not assignable to type 'string'.ts(2322)

To Reproduce
Create a button component with a string child.
<Button style={styles.likeButton} icon={HeartIcon}> {'SOME TEXT'} </Button>
Expected behavior
No error
Example Repository
https://github.com/boraikizoglu/button-ts-error-ui-kitten
UI Kitten and Eva version

Package
Version

@eva-design/eva
1.4.0

@ui-kitten/components
4.4.1

typescript
3.8.3

@boraikizoglu this is not a library issue. Adding spacings before { and after } equals to empty strings, so the error is correct - you pass 3 strings. I don't think with the code above you expect to render 3 strings instead of one, so I'm going to close this.
So instead of
<Button> Text </Button>

Use
<Button>Text</Button>

authors: artyorsh boraikizoglu


text:
permission error for babai.curtain.bb82mj (Device unavailable)

Device model / 设备型号
babai.curtain.bb82mj
https://home.miot-spec.com/spec/babai.curtain.bb82mj
Component version / 插件版本
No response
HA core version / HA版本
No response
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
-4004 internel error is observed for target-position and  mode.
They should not be readable. It makes devices unavailable sometimes.
Solution: get rid of the read permission renders the device online for a long time.
Entity attributes / 实体属性
curtain.mode.error
curtain.target_position
Home Assistant Logs / 系统日志
No response

Sorry. It turns out that the device can only read one property at a time.

Try master branch.

Try master branch.

Thanks. I figured that I can also customize it to have the chunk_properties to be 1

authors: al-one yangqian

repo: al-one/hass-xiaomi-miot


text:
小爱音箱对话记录更新延迟非常大

Device model / 设备型号
xiaomi.wifispeaker.l06a
Component version / 插件版本
0.7.20
HA core version / HA版本
2023.8.4
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
最近几天小爱音箱对话记录更新的延迟特别大，有两到三分钟左右的延迟才能获取到最新的对话记录，之前一直正常，延迟在两三秒左右。
是小米服务器出问题了，还是我的HA或者插件出故障了？
有人和我遇到同样问题吗？
Entity attributes / 实体属性
sensor.xiaomi_l06a_5996_conversation

Home Assistant Logs / 系统日志
Home Assistant Core
Update for fan.1245_super2_afc1_air_fresh fails
19:03:45 – (ERROR) Xiaomi Miot Auto (自定义集成) - 消息首次出现在 2024年11月3日 21:44:09，显示了 26 次
Update for light.lemesh_wy02_9f1b_light fails
18:38:56 – (ERROR) Xiaomi Miot Auto (自定义集成)
Updating xiaomi_miot light took longer than the scheduled update interval 0:00:02
18:05:45 – (WARNING) 灯光 - 消息首次出现在 2024年11月3日 20:55:04，显示了 9691 次
error while reading discover results: Error in path (parsing) -> header parsing expected 8497 but parsed 12590
15:46:33 – (WARNING) Xiaomi Miot Auto (自定义集成) - 消息首次出现在 02:45:37，显示了 5 次

请问解决了吗  我也是这样 @hsy5571615


text:
Move "Heads Up" toast to Overview Panel

Is there a way to move the "Heads Up: autopilot will reset in ##m ##s" to the Overview panel as either a countdown or progress bar?  The constant popups make it difficult to access the Hacknet server list or any page were text/buttons are shown on the bottom right.

It is intentionally very, very obtrusive. If you are trying to manually
interact with the game while autopilot is running, especially if it's
about to ascend for you, you're going to have a bad time.
Realistically you shouldn't be trying to attempt anything (especially make
any purchases on your own) with a reset looming, or you might subvert
whatever progress autopilot was intending to make.
I suggest disabling autopilot while you are "flying manual".
On Sun, Jan 29, 2023, 8:06 a.m. j-o-e-s @.***> wrote:

Is there a way to move the "Heads Up: autopilot will reset in ##m ##s" to
the Overview panel as either a countdown or progress bar? The constant
popups make it difficult to access the Hacknet server list or any page were
text/buttons are shown on the bottom right.
—
Reply to this email directly, view it on GitHub
https://github.com/alainbryden/bitburner-scripts/issues/268, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AARN33PY4X5DQLENB43MP5DWUZMKXANCNFSM6AAAAAAUKGTVK4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

authors: alainbryden j-o-e-s

repo: alainbryden/bitburner-scripts


text:
New Experiment Group With Transforms

At present, we have a single experiment group drop-only. Once we have the results from this experiment group, we should build a new one, which covers a combination of data drops and transforms.

depends on #38

authors: lannelin philswatton


text:
Update ProgressReport-Feb24-Aug24.md

initial commit

All updated done, I need to review grammar and english as well as spaces and other MD format things but the info is now here.
Specially keen to get reviews on development updated and what I have highligted


text:
Summer internships (GSoC & Outreachy)

You can find out more about sktime's summer internships below:

Google Summer of Code: https://github.com/alan-turing-institute/sktime/wiki/GSoC-2021
Outreachy: https://github.com/alan-turing-institute/sktime/wiki/Outreachy-2021

Please let us know if anything remains unclear.

A few tips on how to get started:

Watch the PyData online tutorial as an introduction, but note that some parts of the code base have evolved since then.
Work through the tutorials. The tutorials should be self-explanatory. Is there anything that isn't clearly explained? Make notes on the parts that we could improve and post them in a discussion thread or issue on GitHub.
Read the contributing guide. Again, make notes on the parts that we could improve.
Take a look at the online documentation at sktime.org, especially the API reference. If you find incomplete or missing docstrings, please open a pull request to fix them.

@mloning I didn't know sktime and I didn't make a proposal for here.
But if I haven't GSoC internship, I would contribute here, even I am not chosen. I loved this environment and framework.💖

unfortunately, application deadlines have passed now but ... well ... there's always next year :-)

And this: https://www.sktime.org/en/latest/mentoring.html

@fkiraly I know that have passed. I can contribute if anybody won't chooses me in GSoC.  I can contribute from here github. without mentor.
Woaww if there is a mentorship program. It makes me excited.
What is the mentorship program deadline?  😍

Hi @mertbozkir, we accept people on a rolling basis depending on mentor availability! There will also be an onboarding event in mid May - we'll announce details soon.

@mloning can I close this, since the program has started

yes, and applications have since closed. I´ve renamed the issue for better reference, this can obviously be closed.

authors: TonyBagnall fkiraly mertbozkir mloning

repo: alan-turing-institute/sktime


text:
[Bug] Fix override/defaulting of "prediction intervals" adders

Reference Issues/PRs
Fixes #3009
What does this implement/fix? Explain your changes.
This adds the base class _predict_quantiles method into conformal.py to ensure that the _predict_quantiles method for the forecaster that is wrapped with conformal.py is consistent with _predict_interval.
Does your contribution introduce a new dependency? If yes, which one?
No
What should a reviewer concentrate their feedback on?
I have just copied and pasted the base class _predict_quantiles method and removed the implements_interval check . Should this be amended at all?
PR checklist
For all contributions

[x] I've added myself to the list of contributors.
[x] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[x] I've added unit tests and made sure they pass locally.
[x] The PR title starts with either [ENH], [MNT], [DOC], or [BUG] indicating whether the PR topic is related to enhancement, maintenance, documentation, or bug.

For new estimators

[ ] I've added the estimator to the online documentation.
[ ] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

Makes sense!
Question, should this perhaps be an explicit call to BaseForecaster._predict_quantiles instead?
Because if we fix a bug in that, it would not propagate to here.
This is very non-hypothetical, see this bug in the default _predict_quantiles! #3106

Good shout - I'll call directly to BaseForecaster

CI failures unrelated, see https://github.com/alan-turing-institute/sktime/issues/3103

Failures unrelated, caused by #3103


text:
Include linting with clippy in pre-commit and actions workflows

Add clippy:

[x] Run cargo clippy and modify code accordingly
[ ] pre-commit hooks
[ ] github actions workflows

Another one to update here are the versions for Rust edition is 2021.

Another one to update here are the versions for Rust edition is 2021.

This is complete.

Also dependabot.

Following recent merges to main it would make sense to revisit this and complete #39 after the above changes.

repo: alan-turing-institute/trustchain


text:
Feature request: support custom OpenAI API endpoints

A CLI parameter like --openai-api-endpoint="http://localhost:11434/v1" would enable the use of local or self-hosted FOSS tools like ollama and others that serve an OpenAI compatible API.
Thank you,
Piero

Oh, that is an excellent idea :+1:

authors: PieBru alanvardy

repo: alanvardy/gpto


text:
Related projects

Would be great to have section in readme with links on projects with another approaches to bringing bem naming in react:

react-bem-helper
bem-classnames
react-bem
b_

Yeah, it make sense.
I'll add useful projects in readme after familiarizing.

@albburtsev, there's this one too: https://github.com/vnovick/classNameGenerator

And now this one.

And https://github.com/bem/bem-react/tree/master/packages/classname

authors: Guria Yankovsky albburtsev elektronik2k5 jedmao

repo: albburtsev/bem-cn


text:
Use tabular to show / edit an array of documents inside another document

I am trying to do something like this:
There is the collection "people"  with this structure:
{
  _id: "1234",
  name: "John",
  addresses: {
    { street: "King St.", number: 1},
    { street: "Queen St.", number: 2}
  }
}

And it is possible to list/edit the addresses of a specific person.
In this case I would have a table with John's addresses like this:

Street
Number
Edit

King St.
1
[Button]

Queen St.
2
[Button]

When clicking in the button you can edit that specific document.

Is it possible to do this with the current version of tabular? I have tried a couple of ways but none of them worked.
Or should I make a second collection, like PersonAddresses?
The part about editing I did with Autoform ( http://autoform.meteor.com/update-array-item and http://autoform.meteor.com/updatepush ), my only concern in this part is about sending the array index from tabular to autoform.

+1 I am running into the same issue. My collection contains an array of objects, and I like to use tabular to display the table. I hope there is solution for it with the current version of tabular

Not supported. I don't think you really need the benefits that tabular pkg provides if there is only one document providing the data. It's possible the pkg could provide a "simple mode", though, where it does the DataTables hookup for you but none of the advanced subscription stuff.

I did it using another collection for the subdocuments, it works like a charm.
The "simple mode" is a great idea @aldeed , it would allow tabular to fit in more use cases :)

I have the same issue - a table within a document. Probably will go with separate collection...
It would be cleaner if I have a chance to preserve the table as part of the current document though.

+1

+1 simple-mode for simple data
It should just work like this: http://datatables.net/manual/data#Arrays

Consolidating to #58

Another vote for client-only collection support, has this been / will this be supported?

authors: aldeed aminjam dropfen kevinpeter lucasfurlani neal-eiger nickich

repo: aldeed/meteor-tabular


text:
🛑 SimplyTranslate is down

In 1d07b6e, SimplyTranslate (https://st.alefvanoon.xyz) was down:

HTTP code: 404
Response time: 5130 ms

Resolved: SimplyTranslate is back up in 0d6f1f4.

repo: alefvanoon/Status


text:
How to reproduce ego-motion files for KITTI?

Hello,
I tried to reproduce ego-motion npy files for the KITTI tracking sequences. I used both kitti_to_rosbag and KITTI360Scripts to convert oxts seq files to poses. I also transformed them into the rectified reference camera frame. However, as you can see in  reproduced trajectory, xyz view and rpy view images the reproduced trajectories are slightly different than yours. Can you please explain how did you generate the ego motions?

Hi,
I encountered a similar issue when working on my MSc Thesis on autonomous driving as I'm trying to run EagerMOT on a custom dataset which I tried to put in the KITTI format. Could you explain if you managed to recreate the ego-motion file how it can be produced?

Those files were generated using https://github.com/aljosaosep/sparse-scene-flow
If the format is different, that was just some numpy calls and then writing to disc. It was done too long ago and I do not have saved instructions, but that repo is the only software which was used.


text:
🛑 NID-home is down

In 3e761a6, NID-home ($XID) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NID-home is back up in 23f3b3a after 6 minutes.

repo: alenhorvat/monitoring


text:
FYI fails when doing multiple requests in parallel

Just as an information: This fails when doing multiple requests in parallel

Yep, it's doing a lot of locking to make sure that only one request is being processed at the same time. The intended outcome is for the server to return an error 503 when the client should back off and try again, 400 if the document itself is invalid.

authors: panique pudo

repo: alephdata/convert-document


text:
Yoga 11e event source?

I am running a Yoga 11e which the readme implies has been tested with this script, but I can't figure out where the event should come from.  Any of the monitoring commands I run, nothing seems to print when I fold the laptop to tablet mode.
I got something working based on the old version in git history using accelerometers and that works fine, but I guess probably that approach was stopped because you need to poll often and it can suck battery?
Thanks for any tips about this.

I didn't test it personally, here's the pull-request where it was added https://github.com/alesya-h/linux_detect_tablet_mode/pull/30/files . It specifically mentions 11e gen6 , so you might have a different device.
As for the older approach, no, it was sunset because modern laptops standardised on using this event, and before that using a pair of accelerometers was an implementation detail for some Lenovo laptops (maybe some others too), when this event wasn't issued by the kernel. Once this event became supported on my laptop I made the current version of the script because it seemed both simpler and more generic. If the old version works for you it's great, that's why I kept it around.

authors: alesya-h singpolyma


text:
[Question] how to avoid page reloads in main process

Describe the bug
how to avoid reload of main process and entire electron app.
We use a common private library between main and renderer process. While I need the HMR to take effect on the renderer process, I do not want the main process to reload itself.
Tried adding  build watch config and also tried disabling the same, but no effect in electron-vite
Please let me know if there is a way to achieve include and exclude of folders to watch.
Electron-Vite Version
1.0.16
Electron Version
22.0.0
Vite Version
4.0.1
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Do not set watch option in main config. More about hot reloading

@alex8088 thanks!


text:
Support subpath imports from externalized dependencies

Description
Using an array of regular expressions for rollupOptions.external, I've fixed an issue causing subpath imports or external dependencies (e.g. import {} from 'pkg/subpath') to be bundled.
What is the purpose of this pull request?

[V] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[ V] Read the Contributing Guidelines.
[ V] Read the Pull Request Guidelines and follow the Commit Convention.
[V] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).

Thanks @yoni-rapoport


text:
Capabilities API

Tell us what hardware you're using:

[ ] Desktop / Laptop
[X] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[X] Raspbian Stretch
[ ] Raspbian Jessy
[x] Other - tell us more: AIY Image powered by Raspbian Stretch

Hi, I want to make my Raspberry Pi like an Echo Show so that when I say "Alexa", it comes up a display card with the information, like the weather. So basically render a card. However, I read this and it said to include it in the Capabilities API. I search through the files, and couldn't find it. Where should I declare it, and how am I suppose to make it run? Thanks.

Hi @Piflyer,
The SDK already implemented the client code for TemplateRuntime Capability Agent.
If you want to render the display cards on a screen, the best way would be changing the GUIRenderer class which currently just prints to console.
Let me know if you have more questions.
Thanks,
Benny

Where do I change it so that it can run?

I suggest to start here GuiRenderer::renderTemplateCard.
This function receives the payload which includes the JSON of the display card.
Thanks,
Benny

Is there a command to make it start?

How can I make the display cards appear on the Raspbian Desktop?

Hi @Piflyer - sorry this ticket was not updated in a while.  The short answer is that our SDK does not provide actual GUI rendering, since that will vary across platforms.  However our console SampleApp provides the hooks for you to do this, which you may find in the GuiRenderer class, which receives all the metadata associated with a card to be rendered.
I'll close this ticket out for now - please update to our 1.10 release, and open a new ticket if you have further questions, thanks.

authors: BennyAvramson Piflyer dhpp

repo: alexa/avs-device-sdk


text:
Missing properties in forecast + new weather forecasting entities

*NB: this is not really a pirate-weather-ha issue but just wanted to start the discussion here 😃
Let me start off by saying I really like pirate-weather! It has both great spatial- and temporal resolution, which is something I need for an integration I am working on. I am building a 'local' alternative to solcast / forecast.solar for forecasting solar PV power/energy production and I rely on accurate weather forecasts, mainly cloud cover and temperature.
I wanted to share something which will probably be useful information for the pirate-weather integration, the weather forecasting system in HA is being revamped: https://github.com/home-assistant/core/pull/75219. Here is a preview of what it looks like on the frontend side: https://github.com/home-assistant/frontend/pull/15028
My biggest problem at the moment is that there is no cloud_cover property in the weather forecast field. I have started a discussion here: https://github.com/home-assistant/architecture/discussions/905 but it seems to get no traction. My question is, would you be able to add the cloud_cover property even though the architecture discussion has not reached any kind of agreement? I don't think it would present any major issues since this is not a core integration, but you would slightly deviate from the spec. It would be awesome to point future users of my integration to your weather integration since it will have the required cloud_cover property.
Just FYI, my alternatives are to use the weather entity state (cloudy, clear, etc.) and convert that to a cloud cover percentage, or to setup a secondary sensor entity that holds the cloud cover information. For example with pirate-weather, I could do:
sensor:
  - platform: pirateweather
    api_key: <APIKEY>
    scan_interval: '00:15:00'
    monitored_conditions:
      - cloud_cover

For the best user experience I would ofcourse highly prefer to have all this information in a single weather entity which users can configure.
Anyway, sorry for the wall of text but thanks again for the great integration!

The forecast in a Weather entity is not frozen so you can expand/add to it with other fields such as cloud cover.
Would obviously not be working with built-in cards but as for custom component/cards you can do pretty much what you want.

Thanks, that's useful information. What about the properties that are listed here? weather/#forecast
Because it does not mention anything about  expanding it with other fields.

Because it does not mention anything about expanding it with other fields.

Docs are for core components. If you (as this one) are working on custom you can add whatever you want to the forecast data. The weather entity is not limiting that capability by it's implementation.
Will get to the other weather requests once we have the revamp of the Weather Entity complete

Yes I get that. I am not working on a custom component, but on an addon. The addon takes a HA weather entity as input to get weather forecast data. The goal is to let everyone use any weather entity they have, but I need a few fields such as temperature, humidity, air_speed and cloud_cover.  That includes the weather integrations in core.
Perhaps the forecast properties can be extended or made more flexible. As I am developing this addon I tried a lot of weather API's / integrations and some have much more information than others, such as irradiation data, dew point data, visibility, pollen, fog, frost, pressure etc.

Really useful to know that it's not frozen, since it means I can just add other attributes to it! Looking through possible attributes, I'm thinking I'll try adding humidity and cloud cover first, but are there any other key ones you had in mind? Or another custom integration that implemented this?

Got this working, it was super easy! There's nothing in the GUI, but you can view new attributes in the developer tools states menu, which I'm thinking is what you're after here? I don't know how you'd use it, but the data is getting in,

Yep, exactly. As for how to use it, the forecast attribute is basically just a list with dicts in it, one for each timestamp.
So {{ state_attr('weather.pirateweather', 'forecast') }} will result in:
[
  {
    "datetime": "2023-06-20T08:00:00+00:00",
    "precipitation_probability": 0,
    "wind_bearing": 126.04,
    "condition": "cloudy",
    "temperature": 21.7,
    "wind_speed": 12.89,
    "precipitation": 0
  },
  {
    "datetime": "2023-06-20T09:00:00+00:00",
    "precipitation_probability": 0,
    "wind_bearing": 146.16,
    "condition": "sunny",
    "temperature": 22.9,
    "wind_speed": 11.45,
    "precipitation": 0
  },
  {... },
 ]

Ok, sorry this took some time, but just pushed v1.2.1 live which includes this! Let me know if it works for you, and then we can add additional parameters from there

Awesome!
I think the property name should be slightly changed, it should be cloud_coverage according to core/entity/weather/#properties. I see the pirateweather integration named it cloud_cover :)

Good catch, I missed this! I'll fix that pronto.
Are the other ones working/ anything else I should add in there?

Please add wind_speed, wind_bearing, wind_speed_unit, pressure and pressure_unit to the hourly weather entity.
Thank you.

Ok, just pushed this live, and let me know what you think!

Just wanted to say that uv_index would be very useful too!
Thanks for this neat component - I wish I'd discovered it a the Pirate Weather API a long time ago!

Great idea with UV, I'll add it to the list for the next update

I'd love to have dewpoint added if possible! It's useful for comparing indoor vs outdoor absolute humidity.

Quick update here. I pushed a v1.3 pre-release this morning that moves Pirate Weather over to the new approach Home Assistant uses for this, and as part of that, added in the uv index and dewpoint! Let me know if you have a chance to try it out

I'm going to close this issue for cleanup but if there are still properties you'd like added to the integration feel free to create a new issue using the 'enhancement' template.

I'm going to close this issue for cleanup but if there are still properties you'd like added to the integration feel free to create a new issue using the 'enhancement' template.

Thanks a lot for the work you guys have done 😁

authors: Billiam alexander0042 cloneofghosts gjohansson-ST langestefan rnorth sheckandar


text:
Qrify file reading bug

Issue Label:

[x] Bug
[ ] New feature
[ ] Enhancement
[ ] New component

Description:
~/Downloads/Bash-Snippets/cheat tags/v1.22.0
❯ qrify -d ~/Downloads/qr-code.png
  File "<string>", line 1
    import sys, json; print json.load(sys.stdin)[0]["symbol"][0]["error"]
                               ^
SyntaxError: invalid syntax
Error:-

~/Downloads/Bash-Snippets/cheat tags/v1.22.0
❯ qrify -d '~/Downloads/qr-code.png'

~/Downloads/Bash-Snippets/cheat tags/v1.22.0
❯ qrify -d '~/Downloads/qr-code.png'

~/Downloads/Bash-Snippets/cheat tags/v1.22.0
❯ qrify -d /home/makeworld/Downloads/qr-code.png
  File "<string>", line 1
    import sys, json; print json.load(sys.stdin)[0]["symbol"][0]["error"]
                               ^
SyntaxError: invalid syntax
Error:-

If its a bug make sure to include this section.
OS and OS version:

[ ] Mac
[ ] Linux 32 Bit
[x] Linux 64 Bit
[ ] Windows 32 Bit
[ ] Windows 64 Bit

OS Version:
❯ uname -a
Linux earth 5.2.4-arch1-1-ARCH #1 SMP PREEMPT Sun Jul 28 10:52:46 UTC 2019 x86_64 GNU/Linux

@alexanderepstein @linyostorovovoltos

When you run python -V what gets returned? Thinking this because currently python3 is not supported for all scripts. Support was just added to the stocks script for python3 so maybe we just need to implement a similar fix here.

Python 3.7.4 is returned, because I'm on Arch Linux. It seems the following lines should be changed from python to python2 for compatibility.
❯ rg python
qrify
133:  error=$(echo "$JSONresponse" | python -c 'import sys, json; print json.load(sys.stdin)[0]["symbol"][0]["error"]')
137:    data=$(echo "$JSONresponse" | python -c 'import sys, json; print json.load(sys.stdin)[0]["symbol"][0]["data"]')

Okay so it looks like we will have to utilize the same logic from the stocks script to add the python3 compatibility here. Slowly, but surely all tools will soon need to support python 2 and 3. Thanks for bringing this to my attention!

Can you upgrade to 1.23.0 I am hoping this issue is now fixed as python3 is supported in all scripts.

repo: alexanderepstein/Bash-Snippets


text:
Could Method websocketServerEvent be public?

Great library! I am using it in one of my projects to make a webpage GUI that controls a Processing sketch. Works really well and requires no other dependencies. How would you feel about making the callback method public instead of private? (private Method websocketServerEvent;) I would like to set my own instead of having to have the callback in my main PApplet. Let me know, I could fork and request.

Hi MaxD
I'm really happy that you find the library usable! It would be great to experience what you are creating with the library. If you at any point get a video recording or the like, please drop me a link :-)
Your suggestion is interesting, but I need you to elaborate the use case a little more before I completely understand the need. Is it because you want to create your own Processing library that extends the Websockets library? I guess it would also make sense to make the "private Method webSocketEvent;" (in WebsocketClient.java) public as well then?
Feel free to make a pull request. I can then take a look at what your intet is.

Exactly, I would simply like to be able to encapsulate your library in a object. I am using it with my Processing project called Freeliner, its a slightly complicated but feature full projection mapping software. I am using your library to create a GUI in a browser, this has many advantages! Websockets are perfect as all is needed is a browser. Perhaps I make a pull request when I have time and would include a JS example :)
https://github.com/maxdee/alc_freeliner/tree/devel
This is where I implemented your library.
https://github.com/maxdee/alc_freeliner/blob/devel/freeliner_sketch/Communicator.pde
And here is some videos of what freeliner can do!
https://vine.co/tags/alcfreeliner

Good morning!
I'm using your code on a RaspBerry Pi. can you possibly post a dummies guide to your code/ sending data? maybe put a different example up that uses your code to send different data? or used in a different way? I'm just looking for some insite into sending data without getting a masters degree in networking.
teach me...   0_0

Hi 7thCrook
It's great that you are using the library!
I am a little hung up these days, but will try to add some extra examples, when ever I get the time. Maybe I could help if you elaborate your issue a little.

your very generous to think my issue is anything other than ignorance.
i have been using processing for a while now and have a good grasp on programming as a whole "I think." however i have several projects that involve transferring data between programs on the same computer and over a network. the library you provided sounds like it will fit my needs i just am not sure how to use it correctly. i think its just my lack of knowledge on networking in general.
a project i would like to network is shown at the link below
https://3dprint.com/118388/3d-printed-v8-solenoid-engine/
right now id like to send several sensor feeds "streaming floats" from one program to another. i can probably figure it out if you can wise me up on how to use this library.
i have so many projects in mind with this capability down the road, right now i just need the basics.
server side
ws= new WebsocketServer(this,8025,"/john");
what are the parameters? (this device?,PORT?,location?)
client side
wsc= new WebsocketClient(this, "ws://localhost:8025/john")
ws://localhost:8025/john"      <--- how does this work if i wanted to change it?
.sendMessage(" data here");
is this the only way to send data?
all data has to be in string format?
what if i wanted to send data to just one of 5 client programs?
void webSocketEvent(String msg)
what does this do?
is it a necessity?
how do i properly use it?

I would simply like to be able to encapsulate your library in a object

This should now be possible with the latest version. It's documented in the README page.

authors: 7thCrook hamoid lassevestergaard maxdee


text:
Clear bower cache on each deploy

I think that it'd be a good idea to clear bower cache on each install in case dependencies updated and the bower file has a .x in the dependency listing.

wow, a year later. Never noticed this. Yep! It'll refetch all the dependencies again IIRC

repo: alexbeletsky/dokku-bower-install


text:
⚠ Secret Website 1 has degraded performance

In 70c463a, Secret Website 1 ($SECRET_WEBSITE_1) experienced degraded performance:

HTTP code: 200
Response time: 4279 ms

Resolved: Secret Website 1 performance has improved in 00f21a0.

repo: alexchapar/status-page


text:
⚠ Secret Website 2 has degraded performance

In 81fd96f, Secret Website 2 ($SECRET_WEBSITE_2) experienced degraded performance:

HTTP code: 200
Response time: 4083 ms

Resolved: Secret Website 2 performance has improved in d7f7dee.


text:
How to link with OpenMP?

OpenMP is special in that it requires -fopenmp to be passed to the linker (-lopenmp won't work).
cc.flag('-fopenmp') is passed only to the compiler, but not the linker. AFAIK cargo doesn't allow arbitrary linker flags.
Is is possible to use OpenMP with build scripts/cargo?

OK, got it:
            println!("cargo:rustc-link-lib=gomp");

~/.cargo/config
[target.x86_64-apple-darwin]
linker = "gcc-7"

repo: alexcrichton/cc-rs


text:
Fix armhf build for GCC-11

GCC 11 changed the default flag to put the FP option in the -march flag (arm7-a+fp) rather than a specific FPU flag. Therefore it needs to be given separately now.
See https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1939379 for some more details.
Example build failure is here: https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=armhf&ver=1.55.0%2Bdfsg1-1&stamp=1634161880&raw=0

Note: the snippet I added is already part of another armv7-a case further below in the file. I'm actually not entirely clear why there are 2 cases to handle these similar situations; both add armv7-a as a flag, but are based on the slightly different conditions target.starts_with("armv7a") vs target.starts_with("armv7"). Anyway, it works to fix the Debian build failure.

Working build with this patch applied: https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=armhf&ver=1.55.0%2Bdfsg1-2&stamp=1634177225&raw=0


text:
Consider adding ability to build libressl instead

Currently this crate only supports downloading and building the openssl source. It might be useful for upstream projects (like openssl-sys) if this crate could be set to build libressl instead.

How would this be useful for upstream projects like openssl-sys?

openssl-sys supports dynamic linking to libressl and has a feature to instead use a bundled openssl. There is no way to use the bundled feature to bundle in libressl.

The point of the vendored feature is to "just make it work in a portable way". If someone cares enough about the library choice to explicitly want libressl, it seems like they can built it themselves.

I write a crate that provides libressl sources for openssl: https://github.com/BusyJay/libressl-src. Currently it can be integrated into openssl-sys by the replace or patch configuration of cargo.
I also feel OK to merge the project into openssl-src if there is a way to do it.

authors: BusyJay dgriffen sfackler

repo: alexcrichton/openssl-src-rs


text:
usage of Channel for sequence of request/reply operations?

Hello,
how does one use a Channel for a sequence of read/write operations?
I have a use case of opening connection via SSH, and then exchanging several XML messages...
I wanted to do a sequence of write-to-channel / read-from-channel steps, but after first iteration the session gets aborted according to other side (server) of my communication.
use anyhow:Result;

struct SshClient {
    ...
    channel: Option<Channel>
}

impl Write for SshClient {
    fn write(&mut self, buf: &[u8]) -> io::Result<usize> { self.channel.as_mut().unwrap().write(buf) }
    fn flush(&mut self) -> io::Result<()> { self.channel.as_mut().unwrap().flush() }
}
impl Read for SshClient {
    fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> { self.channel.as_mut().unwrap().read(buf) }
}

impl SshClient {
    pub fn send_str(&mut self, data: &str) -> Result<()> {
        self.write_all(data.as_bytes())?;
        Ok(())
    }

    pub fn get_reply(&mut self) -> Result<String> {
        if self.channel.is_none() {
            return Err(std::io::Error::new(io::ErrorKind::NotConnected, "Channel not initialized!".to_string()).into());
        }

        let mut result = String::new();
        loop {
            let mut buffer = [1u8; 256];
            let bytes_read = self.read(&mut buffer[..])?;
            let s = String::from_utf8_lossy(&buffer[..bytes_read]);
            result.push_str(&s);
            if result.ends_with(CMD_SEPARATOR) { break; }
            if self.channel.as_ref().unwrap().eof() {
                if bytes_read == 0 {
                    return Err(std::io::Error::new(io::ErrorKind::UnexpectedEof, "Buffer is empty, SSH channel read terminated".to_string()).into());
                } else {
                    break; // read some response and closed socket
                }
            }
        }
        Ok(result)
    }
}

fn main() -> Result<()> {
    ...

    let ssh_client = SshClient {...};

    let ip_addr = IpAddr::from_str(&self.address)?;
    let socket_address = SocketAddr::from((ip_addr, self.port));
    let tcp = TcpStream::connect(socket_address)?;

    let mut session = Session::new()?;
    session.set_timeout(TIMEOUT);
    session.set_tcp_stream(tcp);
    session.handshake()?;
    session.userauth_password(username, password)?;

    let mut channel = session.channel_session()?;
    channel.subsystem("netconf")?;

    ssh_client.channel = Some(channel);

    let request_str: String = "some XML".to_string() + CMD_SEPARATOR;
    ssh_client.send_str(&request_str)?;
    let response_str = ssh_client.get_reply()?;
// response received OK at this point!

    let request_str = "some other XML".to_string() + CMD_SEPARATOR;
    ssh_client.send_str(&request_str)?;
    let response_str = ssh_client.get_reply()?;
// "buffer is empty" error declared inside the `get_reply` fn above is raised, server side reports aborted session!
}

Is this supported sequence/usage of channel, or am i doing something wrong?
I stumbled upon some references of opening PTY etc., but this in my understanding is not the same use-case? (streaming xml over ssh transport vs interactive console commands)
Anyone can help/give some pointers/directions?

This seems to be related/caused by the backing libssh2 functionality and the fact that its channel is intended for single command execution only.
https://7stackoverflow.com/questions/38592865/libssh-send-request-multiple-times-and-read-answer-from-channel
https://api.libssh.org/master/libssh_tutor_command.html
This is rather unexpected from my naive point of view, and i have to investigate options on using ssh for transport and repeatead read/write sessions without actuall shell/terminal... I had expetcted such funtionality would be widely available, but either is not, or is not documented/disucssed...

in the end, it looks like libssh2 Channel is only partialyl reponsible (if at all? please excuse the naive insight, not an expert).
My problem got resolved with the proper subsystem activation - calling
let mut channel = session.channel_session()?;
channel.subsystem("netconf")?;

apprantly changed behavior of connected server and seems to allow sequnce of write/read operations...


text:
Created streams page and added a thing to GSI page

Hey Alex,
here you go, tried to come up with a solid initial page on DynamoDB streams. Also added a bullet to the GSI page saying the a GSI PK doesn't have to be unique. You did that on the index page already but people are just not aware.
Let me know what you think.
Also, I am from Germany, not native English speaker. So I am certainly not offended if you fix any of my grammar, choice of words, style.. :)

Deploy preview for angry-elion-ffa09b ready!
Built with commit 8b70122adf03ab6fa77b64d24b7883cf3c49c2c8
https://deploy-preview-21--angry-elion-ffa09b.netlify.com

Hey @danbdo & @corollari ! Thanks for your work on this, and sorry I've been late to respond. Will try to get a review in this week.

authors: alexdebrie danbdo


text:
Fix kubectl template for arm64

Description

Closes #616
Motivation and Context

[x] I have raised an issue to propose this change, which has been given a label of design/approved by a maintainer (required)

How Has This Been Tested?

Updated the unit tests and tested on x86_64-darwin
go run . get kubectl --arch arm64 --os darwin

Output
Are you a GitHub Sponsor (Yes/No?)

[x] Yes
[ ] No

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Documentation

[x] I have updated the list of tools in README.md if (required) with ./arkade get -o markdown
[ ] I have updated the list of apps in README.md if (required) with ./arkade install --help

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

[ ] I have tested this on arm, or have added code to prevent deployment

One more thing @welteki after the download run the file utility against the binary to show what it is.
file /usr/local/bin/inlets-pro
/usr/local/bin/inlets-pro: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=22xKckeDroV9_xaO-uHB/gX9pIII2bc8A_wucxLeW/l7gRjIlwXiu3Q9cp2Eir/du4Wi3ittY8JHkQroJIO, stripped

$ file  /Users/welteki/.arkade/bin/kubectl
/Users/welteki/.arkade/bin/kubectl: Mach-O 64-bit executable arm64

authors: alexellis welteki

repo: alexellis/arkade


text:
Update theory.md

Answers to 3 questions.

Thank you for your contribution!

authors: AdmiralChopper alexeygrigorev

repo: alexeygrigorev/data-science-interviews


text:
[Question] Uncorect sizes for 1920/1080 video

If video has height = 1920 and width = 1080 its sizes will be swapped.
Logs: {handle: 2642217035440, id: 2641921280496, rect: {height: 1080, left: 0, top: 0, width: 1920}}
Also attach video with what you can test it.

Video
https://github.com/zezo357/flutter_meedu_videoplayer/assets/71345244/d18760cd-7cd6-435e-b241-06f09b690b49

#196

The video size is still 1920x1080. The viewport is rotated by 90 degree. That doesn't change the size of output/resolution.


text:
RPI-RF-MOD auf frischen Raspberry Pi OS nicht erkannt

Hi Alex,
ich bin mir ziemlich sicher, dass es aktuell ein generelles Problem mit der Erkennung des RPI-RF-MOD auf einem aktuellen (oder vielleicht nur einem frisch installierten) Raspberry PI OS gibt. Ich beschreibe mal kurz, wie ich darauf komme, weil ich schon seit einigen Tagen wie doof versuche Debmatic auf meinem Pi 4 mit RPI-RF-MOD zum laufen zu bekommen. Da, soweit ich verstanden habe, Debmatic zum Teil auf piVCCU setzt und ich auch das nicht zum laufen bekommen habe, denke ich liegt das Problem bei piVCCU. Jetzt schon mal sorry für die lange Beschreibung!
Eigentlich wollte ich nur von meinem ELV Charly mit Raspberrymatic auf einen Pi 4 mit 4GB + Debmatic wechseln. Also Backup gemacht, den 3B ausgeschaltet und den RPI-RF-MOD mit Stacking Header auf den Pi 4 gesteckt. Auf einer neuen SD das aktuellste Raspberry PI OS installiert und Debmatic penibel nach Anleitung installiert. Pustekuchen, LED auf dem MOD leuchtet nicht. Ich bin jegliche alte Issues in dem Debmatic Repo durchgegangen nichts hat geholfen (config.txt passt, Kernel-Module sind installiert und wurden auch korrekt gebaut). Also habe ich den MOD noch mal auf den 3B gesetzt und auch hier ein frisches Raspberry PI OS installiert und wieder penibel nach Debmatic Anleitung installiert. Nach diversen versuchen habe ich gedacht, probiere ich doch mal piVCCU weil Debmatic ja irgendwie die Kernel-Module davon nutzt. Aber auch hier wird das Modul mit frischem Raspi OS auf dem Pi 4 und dem 3B nicht erkannt.
Den Output der diversen Diagnose-Befehle (wie z.B. pivccu-info) poste ich jetzt nicht, da ich die selben Outputs wie in dem Issue habe: https://github.com/alexreinert/piVCCU/issues/329. Auch mein UART-RAW Device wird erkannt aber ab der Zeile "HMRF Hardware" alles nur noch "unknown".
Leider hat der User durch wildes rumprobieren es dann auch zum laufen bekommen, aber er weiß leider nicht was genau geholfen hat. Seine 3 Lösungen habe ich erfolglos getestet. Ich vermute irgendetwas ist bei einem frischen bzw. aktuellen Raspi OS anders und das verhindert die Erkennung bzw. Kommunikation mit der MOD.
Weil ich weder piVCCU noch Debmatic auf dem Pi 3B oder dem Pi 4 zum laufen bringen konnte habe ich schon befürchetet der RPI-RF-MOD ist defekt, daher mal RaspberryMatic getestet. Läuft mit dem 4er sowie dem 3B. Dann habe ich gesehen, dass es auch fertige Raspi OS Images mit piVCCU gibt. Das aktuellste Image funktioniert weder auf meinem Pi 4 noch auf meinem 3B. Auch hier bekommt man bei pivccu-info ab der Zeile "HMRF Hardware" nur "unknown". Dann habe ich einfach mal ein altes piVCCU Image (Raspbian_Buster_Liste_piVCCU3_2019-07-11.zip) genommen und siehe da es läuft auf beiden Pi's.
Jetzt die Frage kannst du (oder irgendjemand anderes der das liest) das reproduzieren, dass der RPI-RF-MOD auf dem aktuellen, fertigem piVCCU Image auf dem 3B und dem 4er nicht läuft?
Ich nutze jetzt erst mal weiter RaspberryMatic aber ich unterstütze gern so gut es geht bei der Fehlersuche!

Es ist das erste mal, dass ich davon höre, dass das aktuelle piVCCU3 Image ein Problem macht. Ich möchte nicht ausschließen, dass es aber wieder mal eine neue Charge RPI-RF-MOD gibt, welche sich anders als die mir bekannten verhalten.
Wäre es möglich, dass du mir das einen SSH Zugang auf dem Pi 3B mit aufgestecktem Funkmodul und aktuellem piVCCU3 Image gibst?

Hi Alex, klar das bekommen wir hin. Magst du mir einen SSH Public Key schicken? Dann trage ich den auf dem Pi ein.

Hi Alex,
ich fresse einen Besen. Jetzt funktioniert es. Habe gerade den Pi 3B für dich vorbereitet und siehe da es läuft. Dann noch mal piVCCU auf dem 4er getestet, läuft auch. Jetzt habe ich gerade die SD mit der Debmatic-Installation drauf (die vor ein paar Tagen definitiv nicht funktioniert hat) in den Pi 4 gesteckt und siehe da selbst das funktioniert!
Entweder mein RPI-RF-MOD hat einen Wackeligen oder kann es sein, dass sich der RPI-RF-MOD irgendwie weggehangen hat und durch den Goldcap zwischen den Umbauten "am Leben erhalten" wurde?
Jedenfalls sorry für den Fehlalarm und einen guten Rutsch wünsche ich dir!

authors: alexreinert asteinba

repo: alexreinert/piVCCU