text:
请问会支持 sm系列加密解密验签等操作吗

请问会支持 sm系列加密解密验签等操作吗

同问

source: gharchive/issue

authors: XyJoinIt zzti

license: MIT

license_type: permissive

license_source: github-api


text:
PROTOCOL_PACKETS_OUT_OF_ORDER

Sometimes i receive this error with a query.
{ [Error: Packets out of order. Got: 65 Expected: 216] code: 'PROTOCOL_PACKETS_OUT_OF_ORDER', fatal: true }

this is the debug log:
  serverVersion: '5.1.73',

<-- RowDataPacket
{ id_customer: 1853,
  id_sale: 4,
  id_right: 3,
  company_name: 'zzz aa ANiudad',
  address: 'la,lala>\u0000\u0000�\u00041274\u00017\u00013\u000fabc def$zzz 691,xxx,xxxH\u0000\u0000�\u00041275\u00011\u00013\u001cCIQABR' }

{ [Error: Packets out of order. Got: 36 Expected: 195] code: 'PROTOCOL_PACKETS_OUT_OF_ORDER', fatal: true }

in node 0.10.35 x64 and mysql 2.6.1

Thanks for the report! Unfortunately there is not enough information posted above to do anything with. The best way to help would be to post the full debug log, rather than just the last few lines, because there isn't much context. Another thing that can help us is if you can distill causing the error into a tiny .js file I can run, which also helps us know what methods you are calling in what order as well for this to occur.

Hi @charlitos85 any update?

Hi, i've also got this error in a earlier version (node-mysql 2.6.2) when inserting a big dataset (160.000 records). Now after an update to node-mysql 2.8.0, the same query returns an ER_NET_PACKAGE_TOO_LARGE which means the query is too big for the server to process. You may need to increase max_allowed_packet in your server config to avoid this issue.

Ah, thanks, @tvollstaedt ! If you were getting PROTOCOL_PACKETS_OUT_OF_ORDER for the same reason as @charlitos85 (it's hard to know, since there was never an update), and now the error changed to something that makes sense, it's certainly possible we've fixed the underlying error :)

Get same error here,
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

Error: Packets out of order. Got: 1 Expected: 2
    at Parser._tryReadPacketHeader (/Users/minhuang/Code/mysql_http/node_modules/mysql/lib/protocol/Parser.js:470:15)
    at Parser.write (/Users/minhuang/Code/mysql_http/node_modules/mysql/lib/protocol/Parser.js:33:29)
    at Protocol.write (/Users/minhuang/Code/mysql_http/node_modules/mysql/lib/protocol/Protocol.js:38:16)
    at Socket.<anonymous> (/Users/minhuang/Code/mysql_http/node_modules/mysql/lib/Connection.js:88:28)
    at Socket.<anonymous> (/Users/minhuang/Code/mysql_http/node_modules/mysql/lib/Connection.js:526:10)
    at Socket.emit (node:events:394:28)
    at addChunk (node:internal/streams/readable:312:12)
    at readableAddChunk (node:internal/streams/readable:287:9)
    at Socket.Readable.push (node:internal/streams/readable:226:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
    --------------------
    at Protocol._enqueue (/Users/minhuang/Code/mysql_http/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/Users/minhuang/Code/mysql_http/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at Connection.connect (/Users/minhuang/Code/mysql_http/node_modules/mysql/lib/Connection.js:116:18)
    at /Users/minhuang/Code/mysql_http/write_multi_thread.js:87:20
    at new Promise (<anonymous>)
    at connect (/Users/minhuang/Code/mysql_http/write_multi_thread.js:86:14)
    at handle (/Users/minhuang/Code/mysql_http/write_multi_thread.js:97:11)
    at Worker.<anonymous> (/Users/minhuang/Code/mysql_http/write_multi_thread.js:26:23)
    at Worker.emit (node:events:406:35)
    at ChildProcess.<anonymous> (node:internal/cluster/worker:33:12) {
  code: 'PROTOCOL_PACKETS_OUT_OF_ORDER',
  fatal: true
}

authors: charlitos85 dougwilson metrue tvollstaedt

repo: mysqljs/mysql

license: mit

license_source: bigquery


text:
Do customer balance get persisted?

Risk module stores account balance in memory but it is not clear as to how the data gets persisted.

It is persisted into snapshot - if you request it with corresponding command.
Then you can do a journal replay to reach recent known point - exchange state will be consistent, including the balance.

repo: mzheravin/exchange-core


text:
Landing page

Reworked the landing page, removed standard themes

[ ] For smaller icons replace text as tooltip - people will learn what the icons mean
[ ] documentation to small icons
[ ] preferences to small icons

bigger icons top

[ ] Overview video showing key features
[ ] Getting started video introducing the wizard
[ ] mzwizard Workflows: Later we can add an animation there where the different instruments slide together: LC-Orbitrap, GC-TOF

source: gharchive/pull-request

authors: SteffenHeu robinschmid


text:
Error: Need more than 2 values to unpack

Sorry I cannot get this to work, and there is nothing in the readme about additional values?
Cheers for any help you can give me
loaded boston_cooking_a.jpg with size 2448x3264 and resized to 490x653
Traceback (most recent call last):
File "../page_dewarp.py", line 915, in
main()
File "../page_dewarp.py", line 867, in main
cinfo_list = get_contours(name, small, pagemask, 'text')
File "../page_dewarp.py", line 450, in get_contours
cv2.CHAIN_APPROX_NONE)
ValueError: need more than 2 values to unpack

In earlier versions of openCV function findContours() used to return 3 values (image, contours, hierarchy). In openCV 4 it returns two values (contours, hierarchy) and this is what causing the error. Just use openCV 3.

You can also just remove the first _ on line 450, making the line ```
contours, _ = cv2.findContours(mask, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)

authors: Andry-Bal bjornmosten stevethearkiv


text:
🛑 Oracle VM is down

In ebfe849, Oracle VM ($ORACLEVM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Oracle VM is back up in 0ee4ea0 after 2 days, 16 hours, 37 minutes.


text:
Start removes set cookies?

Hi Nicolas,
This is probably not a bug but rather a feature ;).
In your response to my comments
You mention that I should make my tests more atomic using .start to clear out casper settings. I checked casper.prototype.start and I see how you clear out the page DOM. (goes to about:blank location right?). However, what if you need to maintain sessions? It looks like start removes cookies as well or is that not the case?
My thought is that new phantom.Casper would be a new cookie jar not casper.start? Right now my tests are looking like this because I am doing exactly what you said NOT to do (using start and run only once ;). Of course this method makes it so that I can only run all my tests or none.

It looks like start removes cookies as well

Hmm yes indeed… I think this is a edge effect of https://github.com/n1k0/casperjs/commit/834727891adbc158807c67df23910fa742f41bbe
I've got no solution in mind right now to circumvent this behavior :/

Right now my tests are looking like this

Regarding your screenshot, looks like something is not going the way it should; all the test files but the last one are executed without printing anything…
Could you please paste the basic structure of your test files? I want to first check that there's not any problem :)

Hi Nicolas,
Well, I'm sort of doing exactly what you said not to do. I'm only executing start and run once. Start is executed in the first file and run in the last. t.done() is called at the end of each test file.
Perhaps t.done could flush the steps array like run does but keep the environment intact? What do you think?

Yes, it's probably a good idea to reset the step array at the end of a single suite. Could you work on a pull request by your side?

BTW, could you please test again your case passing the --cookies-file=/tmp/cookie.txt option? A bug with the casperjs executable not passing phantomjs native options to the phantom env has been fixed recently.

With no news on this one, I'm closing it. Feel free to reopen if needed :)


text:
Put error

When attempting to set the build status, I get this error. However, I am not able to find "resource/model: version path or name is empty" in the code. There are other "resource/model:" errors, but not the one displayed below. Is there a change that has not been tracked in git, but is in the docker image?
running command: %!w(*fmt.wrapError=&{resource/out: params invalid: resource/model: version path or name is empty 0xc00007ade0})

Nevermind. I found the problem, I was grabbing n7mobile instead of n7docker.


text:
RSS фид для новых комментариев

Сейчас доступен только фид для новых постов, было бы удобно иметь отдельный фид для отслеживания новых комментариев.

Мне идея нравится. Хоть у нас для этого больше на бота уклон и есть ещё онлайн-канал, но альтернативный источник не помешает. Жду PR или сам реализую когда-нибудь)

authors: igor-akhmetov nDmitry


text:
Blueprint

Look into the possibility of https://github.com/laravel-shift/blueprint can be extended for modules.
https://blueprint.laravelshift.com/docs/extending-blueprint/

I just went through the video demo, and this will be great. I'll try this package and recommend it to my tech team.
This can be used in place of stubs.

Could be interesting, hoping to find some time next week to check it out.

authors: dcblogdev solomon-ochepa

repo: nWidart/laravel-modules


text:
SKLearnForQlik

The PyTools Server not Started. I remarked the SKLearnForQlik  in __main
__.py and  the Server is running
import numpy as np
import pandas as pd
from pandas.api.types import is_string_dtype
from pandas.api.types import is_numeric_dtype
import _utils as utils
from _prophet import ProphetForQlik
from _clustering import HDBSCANForQlik
#from _sklearn import SKLearnForQlik
from _spacy import SpaCyForQlik
from _common import CommonFunction
Screenshots

Environment:

Windows 2016
Qlik Sense
SSE Version

Additional context
Add any other context about the problem here.
thank you very much

Hi @Apostolis12 , the solution for this is the same as issue #70. Please take a look at my response there.

Closing this issue as a solution has been provided.

repo: nabeel-oz/qlik-py-tools


text:
Questions about SDD dataset

Hello Nachiket,
I am working on trajectory forcasting modeling and I am impressed with your model. I have questions about the SDD dataset. The raw SDD data is available on the website, but I am not sure that my short trem data processing is the same way as yours. The frames are sampled at FPS = 2.5 and for each pedstrains in each videos, I intercept the first 8s (3.2s observation and 4.8s prediction) of each pedstrain trajectories.  As shown in the code below. I want to know if this process is the same as yours.
Thank you for your time, and I look forward to hearing from you.
--Lue Li
`
import numpy as np
import pathlib
import pickle
from tqdm import tqdm
import random
labels_object = {'"Pedestrian"': 0,'"Skater"': 1,'"Biker"': 2,'"Car"': 3,'"Cart"': 3,'"Bus"': 3}
SDD_RAW_DIR = pathlib.Path('../datasets/SDD')
def get_annotation(data_dir):
global labels_object
print(data_dir)
with open(data_dir, 'r') as f_a:
    lines = []
    for line in f_a:
        line = line.strip().split(" ")
        line = [int(line[5]), int(line[0]), (float(line[2]) + float(line[4])) / 2.0,
                (float(line[1]) + float(line[3])) / 2.0, labels_object[line[9]]]
        # frame object_id x y type
        if (line[4]== 0):
            lines.append(np.asarray(line))
lines = np.stack(lines)
return lines

def process_data(file_dir,setname):
scene_dir = file_dir / 'label.jpg'
data_a = get_annotation(file_dir/'annotations.txt', scene_dir)
all_obj = np.unique(data_a[:, 1])
all_data = None
for obj in all_obj:
    obj_allframe = data_a[(data_a[:,1]==obj), :]
    mask = np.arange(0, obj_allframe.shape[0],12)
    obj_sampleframe = obj_allframe[mask,:]
    if (obj_sampleframe.shape[0] < 20):
        continue
    index = 0
    if (all_data is None):
        all_data = obj_sampleframe[index: index+20,:]
    else:
        all_data = np.concatenate((all_data, obj_sampleframe[index: index+20,:]))
human_num = all_data.shape[0]
print("human_num = {}".format(human_num))
path = '../trajnet_process_onlyped/' +setname + '/stanford/' + str(file_dir.parents[0].name) + '_' + str(file_dir.name)[-1] + '.txt'
np.savetxt(path,all_data,fmt='%.01f')
return human_num

if name == 'main':
  train_set = {'bookstore': [0, 1, 2, 3], 'coupa': [3], 'deathCircle': [0, 1, 2, 3, 4], 'gates': [0,1,3,4,5,6,7,8],
             'hyang': [4, 5, 6, 7, 9], 'little': [], 'nexus': [0, 1, 2, 3, 4, 7, 8, 9], 'quad': []}
test_set = {'bookstore': [], 'coupa': [0, 1], 'deathCircle': [], 'gates': [2],
            'hyang': [0, 1, 3, 8], 'little': [0, 1, 2, 3], 'nexus': [5, 6], 'quad': [0, 1, 2, 3]}
# validation_set = {'bookstore': [4, 5, 6], 'coupa': [2], 'deathCircle': [], 'gates': [0],
#                   'hyang': [2, 10, 11, 12, 13, 14], 'little': [], 'nexus': [10, 11], 'quad': []}
data_setsplit = [train_set, test_set]
set_dir = {}
set_name = {0: 'train', 1: 'test'}
for i, setdir in enumerate(data_setsplit):
    for key, value in setdir.items():
        if value == []:
            continue
        for idx in value:
            video_num = 'video' + str(idx)
            set_dir.setdefault(set_name[i], []).append(SDD_RAW_DIR / key / video_num)
print(set_dir)
for setname, setdir in set_dir.items():
    total_human = 0
    for file_dir in tqdm(setdir, desc='Process ' + setname):
        print(file_dir)
        human_num = process_data(file_dir,setname)
        total_human += human_num
    print('{} human num = {}'.format(setname,total_human))

`

Thank you for your interest in the work.  We use all tracks in the SDD raw files, including skateboarders, bicyclists and golf carts.
Also, since several tracks are longer than 8 sec, they yield several 8 sec snippets that serve as multiple train and test instances.
The train/val/test sets correspond to different scenes in SDD, listed in table 1 of the paper.
Hope this helps!

Thank you very much for your reply!

Hello Nachiket,
Thank you for your wonderful work and open-source code! I want to comment on this question because I am struggling to find SDD data split provided by trajnet, which seems to be expired. Based on the discussion here, may I confirm the data files in https://github.com/nachiket92/P2T/tree/main/data/sdd correspond to the data split of Table I, which is essentially the trajnet split for SDD? And if we want to use the split used in PECNet, we have to process the data provided by PECNet github repo, is that true?
Best,
Zhe Huang


text:
Video Error / Failed

I'm trying to test video but I get some errors.
Any idea how can I fix this and make it work?
I'm not a programmer so please help / guide step-by-step if possible,
Thanks ahead! 💙

I use Anaconda on Windows 10

Try newest release, https://github.com/nadermx/backgroundremover/releases/tag/v0.2.1 Also make sure you have ffmpeg 4.4+ installed

authors: AlonDan nadermx

repo: nadermx/backgroundremover


text:
Limited images

with the given URL in the code, able to download only 378 images.  How to download more images?

Check out the directories in the bucket here
https://storage.googleapis.com/panels-api/

have a gist of the script?

have a gist of the script?

https://github.com/korewaChino/mkbsd-rs

with the given URL in the code, able to download only 378 images. How to download more images?

What😂

repo: nadimkobeissi/mkbsd

license: WTFPL


text:
Segmentation error occurred when I try to run the test.sh

After successfully installing Torch according to the instructions, I try to run test.sh to ensure that all libraries are installed correctly, but the following error occurred:

Using Lua at:
/home/rainsdrop/study/torch/install/bin/lua
paths loaded succesfully
torch loaded succesfully
./test.sh: line 16: 27791 Segmentation fault      $LUA -ltorch -e "print('torch loaded succesfully')"

Here are some configurations of my Ubuntu 18.04：
Cuda compilation tools, release 10.0, V10.0.130
cmake version 3.23.20220525-g5aa6b9d
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

torch7's test.sh was broken before I forked this repo and I don't use it. #3
But it did not have the problem of segmentation fault.
Does the following command also cause segmentation fault?
th -e "print('torch loaded succesfully')"

Yes, here are the running results:
/home/rainsdrop/study# th -e "print('torch loaded succesfully')"
torch loaded succesfully
Segmentation fault

Maybe there is a problem with a dependent library or linking.
The Docker version(clean install) works fine on Ubuntu 18.04, CUDA 10.
Did you run ~/torch/install/bin/torch-activate command after installation? (Or rebooted or re-logged in?)
https://github.com/nagadomi/waifu2x/issues/253#issuecomment-497631624
I don't know any more than this about that.

After trying many times I finally got it installed. And I found out why this problem occurs.
It's weird and I don't know if this is the root cause of this problem.
After executing bash install-deps, In the next step, you need to choose an execution from
./install.sh
TORCH_LUA_VERSION=LUA51 ./install.sh
TORCH_LUA_VERSION=LUA52 ./install.sh
Of course, the premise is to install the corresponding lua version.
I chose one of the latter two during the previous few installations, which made it appear that the installation was successful in the end, but Segmentation error would appear at runtime.
And if the above error does not occur, there will also be an error reminder that there is no installation when trying the require cunn and require cutorch commands.
So I made the last attempt after another failure, and executed ./install.sh instead of the last two steps without changing the other steps.
Then a miracle happened, it finally installed and passed the test.sh file perfectly.

authors: MrRainsdRop nagadomi

repo: nagadomi/distro


text:
Added Korean README.md file.

README ko-KR lang add

Can you add language selection to the main README.md?

No. That is not necessary for me.
I update README very often, so I can't manage it.

authors: Dev-Nergis nagadomi

repo: nagadomi/nunif


text:
Drilldown callback

Great job!   Nicolas just added drilldown support to his built-in table.  Would you be willing to add this feature to subtotal as well?  Thanks.

Thanks for your feedback. Could you please point me to an example to understand how this works.

Here's the example Nicolas provided on his site.  Just click on any value to trigger the callback that would handle the drilldown.  I believe he checked in the handler around 12/25.
http://nicolas.kruchten.com/pivottable/examples/mps_prepop.html

Here's some background:
http://github.com/nicolaskruchten/pivottable/issues/33

Thanks. Just thinking if we should treat the click event on a sub-total cell different from a value cell? Any thoughts?

I think they should be treated the same way, passing in the filters behind the selected cell.  They're all subtotals to me.  That's why I like the drill-down.

@dave-killough I have committed the feature to master branch.
The syntax is slightly different from the original PivotTable.js package. Added an example of event handling to examples/260_event_handlers.html. Let me know if you have any thoughts on this.
Please check and provide your feedback.

Feature released. Closing the issue. Please report as a new issue if any...

Thank you very much - I will check this out when I get back to it.
On Thu, Jan 5, 2017 at 9:07 AM, Nagarajan Chinnasamy <
notifications@github.com> wrote:

Closed #21
https://github.com/nagarajanchinnasamy/pivottable-subtotal-renderer/issues/21
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nagarajanchinnasamy/pivottable-subtotal-renderer/issues/21#event-912678894,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXn6KvT7Gm--4BDKFakUXMavYjpYRhRsks5rPPkIgaJpZM4LVj3R
.

authors: dave-killough nagarajanchinnasamy


text:
Swift 3?

Why didn't you merge swift 3 branch yet??

Hi, @NSCabezon.
I think that I want to support Swift3 in a few days.

Done.
https://github.com/nakajijapan/Shari/releases/tag/1.0.0

authors: NSCabezon nakajijapan

repo: nakajijapan/Shari


text:
保健体育おべんきょ

[ ] 保健Nanoha
[ ] 水泳Nanoha
[ ] マットNanoha

頑張れ〜

repo: nakasyou/todo


text:
Integration with Nuxt 3 / client-side navigation error

Hi,
I'm working on integrating codapi with our website built on Nuxt 3. I've created a [custom plugin] file (https://nuxt.com/docs/guide/directory-structure/plugins) to import snippet.js into the app and defined codapi-* tags as custom elements in configuration file:
  vue: {
    compilerOptions: {
      isCustomElement: (tag) => {
        return tag.startsWith('codapi-')
      }
    },
  },

This works fine on the initial load (when entering page with codapi snippets directly). However, using client-side navigation with transitions (e.g. starting from the homepage and navigating to the page with snippets within the app) leads to an error in the console:
Uncaught TypeError: this.toolbar.addActions is not a function pointing to that line the render function:
this.toolbar.addActions(L ? L.split(" ") : null),

Do you have any idea how to solve that problem? Thanks!

Unfortunately, I have absolutely no idea. But if you prepare an archive with a sample project to reproduce the problem, I can take a look at it.

@nalgeon I created a minimal reproduction bundle: https://github.com/konradsienkowski/codapi-navigation-bug
An error displayed in the console is different there (previously I copied its content from a staging app that uses minified files):
Uncaught DOMException: Failed to construct 'CustomElement': The result must not have children

Behavior is however still the same: If you open the app and navigate to "Article", the snippet script crashes and doesn't work properly. But if you refresh the same page or navigate to /article directly (not using the link), it works okay.
My guess is that the snippet.js executes before the DOM is ready. It'd be great if there were methods/functions available to run it manually, for example with lifecycle hooks. Prism.js, the library we're using for code highlighting offers such an option and it's pretty helpful while using Vue/Nuxt: https://prismjs.com/docs/Prism.html#.manual

It works without errors, both in local & staging environments. Thanks!

authors: konradsienkowski nalgeon

repo: nalgeon/codapi-js


text:
python2.7 manage.py runserver  --- error

(11:37:38 on master)──> bash run_test                                        ──(六, 7月09)─┘
/usr/local/lib/python2.7/dist-packages/Flask-0.11.1-py2.7.egg/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.bootstrap is deprecated, use flask_bootstrap instead.
.format(x=modname), ExtDeprecationWarning
/usr/local/lib/python2.7/dist-packages/Flask-0.11.1-py2.7.egg/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.moment is deprecated, use flask_moment instead.
.format(x=modname), ExtDeprecationWarning
/usr/local/lib/python2.7/dist-packages/Flask-0.11.1-py2.7.egg/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.assets is deprecated, use flask_assets instead.
.format(x=modname), ExtDeprecationWarning
/usr/local/lib/python2.7/dist-packages/Flask-0.11.1-py2.7.egg/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.script is deprecated, use flask_script instead.
.format(x=modname), ExtDeprecationWarning
Traceback (most recent call last):
File "manage.py", line 3, in
from app import create_app
File "/home/chester/github.com/job_analysis/app/init.py", line 11, in
from config import config
ImportError: cannot import name config

出于安全考虑，我没有把 config 放上去，我会把 config 的示例文件传上来

本地测试的config也可以啊，你run_test,可以用测试的版本啊

已上传 config.py 文件，请重新 pull 一下。


text:
Key derivation methods not applicable for namecoin

Electrum seems to support several key derivation methods, which are not compatible with namecoin yet.
As far as I know only the legacy derivation (m/44’/7’/0’ for namecoin which is analogous to m/44’/0’/0’ for bitcoin) can be used. However electrum-nmc also allows the selection of the more modern methods which could lead to fund loss if selected.

You are right! Sorry. Sometimes I have tomatos on my eyes. facepalm

repo: namecoin/electrum-nmc


text:
增加 favicon 配置

问题描述
favicon 配置失效
修改描述

head 模板增加 favicon 配置

移除配置文件中 favicon 默认设置（考虑到没有提供默认图标）

测试描述
配置文件中设置 / 取消 favicon，页面正常渲染

感谢提供这么棒的主题:)

LGTM

authors: jinhucheung nameoverflow

repo: nameoverflow/hexo-theme-icalm


text:
docs: update cli to use npx expo and plugins config typo fix

While using zeego in a new project, noticed a few issues:

Using expo cli command is now deprecated, and expo-build-properties didn't install in my case. Updated to use npx expo instead
The plugins config schema for expo requires you to provide the config for a plugin (in this case expo-build-properties) as a tuple array to the plugins array.
Fixed typo in expo package name expo-build-properites to expo-build-properties

Hope this is useful!

hey @nandorojo just pinging for visibility...
let me know if this needs revisions, or feel free to make edits 🙃

All set

authors: Just-Moh-it nandorojo

repo: nandorojo/zeego


text:
Update Repository name, description, and url to Nano

Description of bug:
Repository is currently called "raiblocks"
Topic line is "RaiBlocks is a cryptocurrency"
Website url for project is "http://raiblocks.net"
Describe the results you expected:
Repository should be called "nano"
Topic line should be "Nano is a cryptocurrency", maybe add key features of the cryptocurrency such as DAG / Block Lattice / Feeless / Instant
Website url for project should be "https://nano.org"
This should help with SEO when searching for nano source code / github

Something like this:
Nano is a feeless, instant, high throughput cryptocurrency
or:
Nano (formerly known as RaiBlocks) is a feeless, instant, high throughput cryptocurrency
To clearify why the repo is called raiblocks

repo: nanocurrency/raiblocks


text:
Player hit

Added OnPlayerHitEvent to the EventSystem
Trigger this event in LifeManager.cs as an RPC to all PhotonPlayers
Subscribed to this event in NetworkPlayerController.cs to start the flash animation
Players flash red for 0.07 secs (this can be tweaked for each player character)
Updated the explosion layer for the players
Added framework for male and female sounds

Right now there are only male sounds in game
The audio manager cycles through five random ones

Made the change. Tell me if you see any other problems.

repo: nanomachines/filibusters-game


text:
Nesting of translations

const messages = i18n('post', {
  a: {
    b: {
      c: 'deep value',
    },
  },
});

Is this a valid construct or not?
If not, it should be described in the documentation.
If valid, we should fix the work of the functions and fix the types:
Now it works, but TS is throwing an error:
Type '{ b: { c: string; }; }' is not assignable to type 'Translation'.
  Object literal may only specify known properties, and 'b' does not exist in type 'TranslationFunction<any[], string | TranslationsJSON | TranslationFunction<any[], string | TranslationsJSON | TranslationFunction<any[], string | TranslationsJSON | TranslationFunction<any[], string | ... 1 more ... | TranslationFunction<...>>>>>'.(2322)

Also it doesn't work with functions:
const messages = i18n('post', {
  a: {
    b: {
      c: count({
        one: '{count} comment',
        many: '{count} comments',
      })
    },
  },
});

Uncaught TypeError: t.a.b.c is not a function

I prefer flat structure here. Let’s think that it is not valid.
How do you think we should fix ths docs?

Just to add a note that the translation structure should be flat in the Translations section.
Also the documentation states the following:

Plain JSON translations compatible with online translation services like Weblate.

But Weblate supports both formats: JSON file and JSON nested structure file.
I think this can be misleading.

Please, send PR

authors: ai dartess


text:
Implement duplication analysis

One of two new capabilities I'd like to add to our core pipeline is analysis of duplication levels (and/or library complexity). I basically don't believe the BLAST numbers and would really like to replace them with something smarter. There are several ways of doing this we could try, and it's possible we'll want to do it multiple ways. Will probably want input from @mikemc on the best way to approach this.

Happy to help here, I'd be keen to take some time to talk this out with you and @harmonbhasin

authors: mikemc willbradshaw

repo: naobservatory/mgs-workflow


text:
layerlist and controls now showing before viewer

🐛 Bug
the lines added here in #4195:
https://github.com/napari/napari/blob/413488578b4ca22e09c300e194978c1ce6bf6f06/napari/_qt/qt_main_window.py#L882-L884
are now causing the layerlist and controls to appear briefly before being moved into the viewer:
https://user-images.githubusercontent.com/1609449/165848892-4e81231d-f952-4daf-a8ed-cd05c7a47a98.mov
cc @brisvag

this also means that all tests using make_napari_viewer now flash these two panels
https://user-images.githubusercontent.com/1609449/165849462-8f493631-e72b-4419-8ad1-a82cae115e01.mov

oops! Thanks for flagging this - maybe @brisvag can take a look. @goanpeca might be able to help too. We should fix before 0.4.16 cc @jni

We should fix before 0.4.16

Absolutely. I've added the milestone so we don't drop that ball.

Oef... I guess it's too fast on my machine for me to notice?
I think this is worse than the alternative (#3624), so at worst we can simply revert the change.
@goanpeca , do you remember what else you tried to solve that problem?

Not sure if this helps---I just did a quick look and I may be missing something, but I tried commenting out dock_widget.setFloating(True) and just have dock_widget.setFloating(False) being called.  I think its still working as expected and doesn't have the dock widget flash separately.
# dock_widget.setFloating(True) (remove this line)
dock_widget.setFloating(False)
        ```

authors: brisvag jni ppwadhwa sofroniewn tlambert03

repo: napari/napari


text:
Remove print statements

Closes #83

Thanks @femtotrader

authors: femtotrader nardew

repo: nardew/talipp


text:
buy rover's materials

hi
i am leading intersting project in my school  for builing this rover.
please tell me how can i buy the full stuff of the rover matrials?
trhnaks
please contact me by email: samih1079@gmail.com

@alsalamcse
There is no "kit" with all the parts.
Part of the learning experience of project management is sourcing parts.  Depending on where you live your sources might have to be different.
On the first page is the Parts List https://github.com/nasa-jpl/open-source-rover/blob/master/parts_list/master_parts_list_raw.csv
Read it from the screen and scroll to the right to find the quantities and price.  The vendor web site is listed.  Better to download the .csv file and import to your local spreadsheet and sort by vendor.  Once I ordered the part, I changed the font color to orange.  Once arrived to green.  If out of stock or other problem, to red.
I like to organize parts in various size zip-lock bags.  You can see pix of this and our  building steps and techniques in the In-Progress Builds gallery for Houston Robotics (now USAi Labs) on the Tapatalk Forum.  Others have many more.  A GREAT Youtube tutorial for building is Leo's: https://www.youtube.com/watch?v=DxgcTCMTy-c&list=PL6Tmb7sYBH6feflfsXgHLtBspMLC-_gxl].  The kid is AMAZING!
When we first started, the projected cost was about $2500.  Not sure what it is now.  But with upgrades, replacements, changes, custom enhancements, tools, accessories, etc. I'm sure we spent $3000.  As part of the first group of builders (we started the week it was announced) with problems,  changes, part delays and life getting in the way, it took us exactly a year til our rover took its "first steps" here: https://www.youtube.com/watch?v=2Wdgss0q63s.
Be sure to join the TapaTalk forum https://www.tapatalk.com/groups/jpl_opensource_rover/
and the Slack forum https://app.slack.com/client/T01CMHZLGPL/C01CTNRDERJ
and read the most recent posts to avoid problems.  For immediate help, use the Slack forum.
What part of the world are you in?
Enjoy!
Jim Phelan

Please use either of the forums for such questions. The issue tracker is for problems with the code/files or feature requests.

authors: Achllle JHPHELAN alsalamcse

repo: nasa-jpl/open-source-rover


text:
Fix typos

Hey,
This tiny PR will fix :

1 typo in ELF_Structures.h
1 typo in README.txt

Best! :robot:

Thanks, just need a CLA to cover these PRs.

Confirmed CLA

CCB 2020-04-29 : APPROVED

authors: astrogeco pgrimaud skliper


text:
does not work in production with linux

it works fine locally but in production it doesn't work with linux please help me!! urgent
It stays loading and does not return the results.

What exactly does not work? Do you have an error log for me?

authors: naseif yoryi

repo: naseif/tiktok-scraper


text:
what are Rollupszk

Zk rollup is a layer-2 scalability solution that enables blockchains to complete transactions faster while keeping gas fees minimal. Zk rollups combine on and off-chain processing to perform better than layer-1 blockchains.

Zk-rollups greatly increase transaction throughput and help reduce transaction costs while inheriting the security of the base-layer (layer-1) network they are connected with for settlement. Instead of posting every single transaction on-chain, zk-rollups only have to periodically post valid batches of transactions from the layer-2 network bundled up to the layer 1, effectively only leveraging the censorship resistance and security of the base layer for transaction settlement. Rollups also commonly use data compression mechanisms to reduce the amount of data posted on the layer 1.


text:
Flappy Klasky Csupo

http://scratch.mit.edu/projects/21362521
http://phosphorus.github.io/#21362521
Error: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0.
    at Sprite.touching (https://phosphorus.github.io/phosphorus.js:1643:37)
    at eval (eval at scopedEval (https://phosphorus.github.io/phosphorus.js:4014:14), <anonymous>:2:8)
    at Stage.P.runtime.P.Stage.step (https://phosphorus.github.io/phosphorus.js:3938:15)

Fuck

repo: nathan/phosphorus


text:
crossorigin.me

Changed corsproxy to crossorigin.me

As I said, I don't plan to use a proxy.

Oh, never mind. I'm just having a bad day with caching, evidently.

@nathan Awesome, I'm glad it works. :D


text:
How to pause the MUF when some the class under initialization.

Sometime I want to pause the MUF when a class instance is initializing. and resume the MUF  when its done. but I dont know how to configuration. Anybody can tell me?
ps: I am very glad that the MUF version 2.0 was released, Its amazing package.

Can you provide a bit more detail on your scenario? Maybe a small example or some details on the undesired behavior that you see with the current library?
One thing that might help is the use of an "UndoBatch" with consolidation. That would de-duplicate multiple related events and treat the changes to that instance as a single undo operation.

authors: TruePluto nathanaw

repo: nathanaw/muf


text:
Non-minified version?

Do you have the non-minified version? Or any instruction how to build that?

https://github.com/nathanhammond/libphonenumber/blob/master/build.xml#L23
I don't know the options for outputmode, but that's where it is set.

authors: glaksmono nathanhammond

repo: nathanhammond/libphonenumber


text:
Fix for Force Charge not working when using H1 over LAN

It looks like a bug has crept in on the later releases when trying to set force charge for H1 using LAN.
H1 LAN doesn't support work mode hence it is not possible to set a fall back mode and the 'assert if work_mode_map is not None' correctly raises an error for H1 LAN.

See https://github.com/nathanmarlor/foxess_modbus/discussions/670

Thank you!

@canton7 sorry that was a bit of a chore for such a small change, linting finally passes….. (I’ve tested to confirm it works as expected) - over to you ☺

Thanks! Apologies for being so slow, I'm back now :)


text:
add addServer(uri)

test added to test/connect.js

Apologies for the delay (two sick kids at home). Ok test now checks for the content of servers and  addServer shuffles if applicable; looks ok now?

Failing tests, run make lint locally, I think you forgot a semi-colon.

Ok all checks are passing now it's the closing bracket on the function (my lint settings locally are a bit different, this one is easy to spot though). I guess I know how to do this now next time I attempt to submit a PR thanks for you time this was a good tiny exercise  👍

repo: nats-io/node-nats


text:
Store toolbar state in localStorage

Both visibility and zoom state should be saved in localstorage with the id of the brew, to guarrantee a better UX, if a user does not want to have the toolbar there all the time, it should stay hidden between reloads, and same goes for the zoom level.

How many different brew ids should be in there?

Why not just a universal setting instead of per brew?

I was thinking you may want to see a different zoom and page layout depending on the brew, but perhaps you're right, one universal setting is good enough.

How about this:  save the current setting in localStorage, not as brew specific.  But if a new (not just /new but just a different) brew is opened, it is reset to the defaults.
So this means that if you hit reload on the page, the view settings are preserved.  But if you decide to view/edit/create a new brew, it goes back to the default.

How about this:  save the current setting in localStorage, not as brew specific.  But if a new (not just /new but just a different) brew is opened, it is reset to the defaults.
So this means that if you hit reload on the page, the view settings are preserved.  But if you decide to view/edit/create a new brew, it goes back to the default.

This restriction sounds like it defeats the purpose of the PR. How often are users just hitting reload on the same page without visiting another brew in between?

This restriction sounds like it defeats the purpose of the PR if it disappears every time you change pages.

I agree

repo: naturalcrit/homebrewery


text:
Add --python-ver detection to invoke command

Fixes: #163

Add automatic --python-ver parameter detection for invoke commands
Added invoke print-python-ver command to display

the detected python-version of container if only a single container is running
the list of python-versions if multiple containers are running

@jifox Thanks for submitting this. I appreciate the spirit of what you're trying to do here, but I'm not happy with adding another Invoke task to do it. We actually have a pattern we've been using internally at NTC for other projects using Invoke that relies more on environment variables to make some overrides that I'd like to see if we could leverage to satisfy the concerns here.
I'll get a follow up here soon. Thanks again.

@jathanism The additional task print_python_ver was just a quick win and could be removed safely.
I intentionally do not change the invoke build|debug|start commands, so that the functionality  is compatible to current functionality and just aids on commands that make no sense to execute for a non existent container (error) like invoke cli.

Please take a look at #180 and see if its alternate approach (controlling the Python version exclusively through environment variables) works for you. Thanks!

@glennmatthews I'll going to use the environment variable approach.

authors: glennmatthews jathanism jifox

repo: nautobot/nautobot


text:
🛑 BarefootEdu is down

In fcb1464, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in 82b2f4a after 54 minutes.

repo: navadhiti/upptime


text:
🛑 BarefootEdu is down

In a2d16e8, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in abb7a29 after 48 minutes.


text:
🛑 BarefootEdu is down

In 1513b57, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in 3bca7ee after 46 minutes.


text:
🛑 Harmony Bot Website is down

In bf83eef, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 7a6ff03.


text:
🛑 Harmony Bot Website is down

In ddc75f0, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 9a38f9f.


text:
🛑 Harmony Bot Website is down

In 1a70664, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in f60945f.


text:
🛑 Harmony Bot Website is down

In 9af0c33, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 34226fb.


text:
🛑 Harmony Bot Website is down

In 6e323aa, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 3010cae.


text:
🛑 Harmony Bot Website is down

In 9a26aec, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 431cf49.


text:
Show snackbar in arrayadapter

is there a way to show snackbar in arrayadapter ? i have a problem to show this . Pls help me ..

Hi, where do you want show the snackbar? Do you want call the snackbar from the array adapter?

authors: ibnuhabibie navasmdc

repo: navasmdc/MaterialDesignLibrary


text:
Position Property "absolute" by default.

Description
I'm using this with angular. but the component is not positioning well in my application. I realize that the issue is Position property is set to "absolute" by default.
canvas.style.position = "absolute";
I changed this manually to "static" and my error is fixed. But edition files inside node modules is not a long term solution. Can you fix it ?

Hello, @PriyashanJayasankha!
We can't change the default style as many other applications are relying on that style.
I recommend applying additional CSS in your case.
.your-canvas-container-class > canvas {
  position: static !important;
}

That doesn't work @WoodNeck

authors: PriyashanJayasankha WoodNeck


text:
[#noissue] Update error event of reactor

Trace reactor subscriber onError.

Codecov Report

Merging #6283 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #6283      +/-   ##
==========================================
- Coverage   39.59%   39.57%   -0.02%
==========================================
  Files        3061     3061
  Lines       91396    91411      +15
  Branches    11842    11844       +2
==========================================
- Hits        36185    36180       -5
- Misses      52229    52248      +19
- Partials     2982     2983       +1

Impacted Files
Coverage Δ

...p/pinpoint/plugin/reactor/ReactorPluginConfig.java
0% <0%> (ø)
:arrow_up:

...reactor/interceptor/CoreSubscriberInterceptor.java
0% <0%> (ø)
:arrow_up:

...vercorp/pinpoint/rpc/packet/ServerClosePacket.java
52% <0%> (-16%)
:arrow_down:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

...rp/pinpoint/rpc/server/PinpointServerAcceptor.java
84.1% <0%> (-4.64%)
:arrow_down:

...cluster/zookeeper/ZookeeperClusterDataManager.java
52.9% <0%> (-1.94%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.22% <0%> (-1.06%)
:arrow_down:

...m/navercorp/pinpoint/profiler/AgentInfoSender.java
84.15% <0%> (-1%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
71.75% <0%> (+0.97%)
:arrow_up:

...pinpoint/profiler/monitor/DeadlockMonitorTask.java
19.76% <0%> (+1.16%)
:arrow_up:

... and 5 more

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 e4968bb...8d651cb. Read the comment docs.

authors: codecov-io jaehong-kim

repo: naver/pinpoint


text:
🛑 ESTAT is down

In 4f6a580, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 4eb71ff.

repo: nbbrd/sdmx-upptime


text:
🛑 NBB is down

In 43d58f4, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 902 ms

Resolved: NBB is back up in 56158b8.


text:
🛑 ISTAT is down

In eb661b9, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 1bdf62b.


text:
🛑 ISTAT is down

In 8d0cce7, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 8260a36 after 13 minutes.


text:
🛑 ISTAT is down

In 80f18b8, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in ed8059d after 5 minutes.


text:
🛑 ESTAT is down

In 1fd3e68, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in b192fa4 after 6 minutes.


text:
🛑 ESTAT is down

In c307fd9, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in fbe0c26 after 5 minutes.


text:
🛑 NBB is down

In 3c22635, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 652 ms

Resolved: NBB is back up in 535632a after 7 minutes.


text:
🛑 ISTAT is down

In 3481347, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in e6edf52 after 5 minutes.


text:
🛑 NBB is down

In 4619da0, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 553 ms

Resolved: NBB is back up in 9fb02e7 after 7 minutes.


text:
🛑 ESTAT is down

In d829a73, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 623d0b7 after 5 minutes.


text:
🛑 IMF is down

In ad720d5, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in a27efb2 after 4 minutes.


text:
🛑 IMF is down

In 87c5ebc, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in 58632b7 after 7 minutes.


text:
🛑 NBB is down

In c4d03c4, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 483 ms

Resolved: NBB is back up in e4395d5 after 7 minutes.


text:
🛑 ISTAT is down

In 0122751, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 07365ec after 5 minutes.


text:
🛑 IMF is down

In 089450a, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in a98dd91 after 9 hours, 24 minutes.


text:
🛑 SE is down

In a65b376, SE (http://andmebaas.stat.ee/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SE is back up in 3fd93df.


text:
🛑 ISTAT is down

In 55aba98, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 7482235 after 11 minutes.


text:
🛑 ESTAT is down

In f6bf69a, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 5cc3981 after 5 minutes.


text:
🛑 ESTAT is down

In dadd53a, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 304e1e9 after 5 minutes.


text:
🛑 ESTAT is down

In 077203c, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 6b8356f after 6 minutes.


text:
🛑 NBB is down

In fabd966, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 562 ms

Resolved: NBB is back up in b1743ca.


text:
🛑 ESTAT is down

In e87d782, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in edbd86c.


text:
🛑 ESTAT is down

In 1bb0786, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 9425b17.


text:
🛑 NBB is down

In 772249f, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 598 ms

Resolved: NBB is back up in 8cc0c78.


text:
security(event, checksig): validate correction of id.

with removing new conditions on checksig, you can see new invalid test case will pass the test!

My answers to this on DM:

fiatjaf, [9/11/24 7:12 PM]
the signature is being checked against the correct id already
fiatjaf, [9/11/24 7:12 PM]
what isn't being checked is if the id in the event is the correct id
fiatjaf, [9/11/24 7:12 PM]
but that is checked in other parts of the code
fiatjaf, [9/11/24 7:12 PM]
I didn't want to duplicate the checks

Thanks.

authors: fiatjaf kehiy

repo: nbd-wtf/go-nostr


text:
Add styling to dropdown menu

The plugin dropdown menu does not look that great. We should think about styling it.

@mrobertsNCC got any examples I can pull from for this?

speaking of this. I was thinking it might be a good idea to add a right click menu to. In case it is borked on a box.

right click menu + fill in all fields would be 👌

Like this?

Drop shadow and tracy color theme. What else can you ask for?

I'm working on the context menu right now. I actually like the colors, but what if we need the charcoal as the background to make it match more of the tracy UI.

Ok, I can try that. I just picked random colors tell it kinda worked.
On Fri, Jul 27, 2018, 8:37 AM Jake Heath notifications@github.com wrote:

I'm working on the context menu right now. I actually like the colors, but
what if we need the charcoal as the background to make it match more of the
tracy UI.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nccgroup/tracy/issues/3#issuecomment-408456694, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACcVCl6VldNrz7DivfykMZ81p4Jxzsvhks5uKzPUgaJpZM4TmxUM
.

Also, might be good to try and make the font the same.
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: small;

This?

Nice. I'm thinking make the font match the UI and adding padding to the borders and cells.

Weird, I thought I applied the font that you gave me.

O maybe you did. I looked like the one from before. If so, ignore that comment

1082b4b8a0d379f17663701ae9d15b7f02f5d3f6 has the context menus and autofill feature. Autofill should be configured in the plugin preferences page:

@natnaelg autofill seems to work, but it does make navigating some pages pretty annoying. I probably need yall to user test it out and see if the flow can be better.

authors: heathj mrobertsNCC natnaelg robertmd

repo: nccgroup/tracy


text:
Extended default http adapter to explicitely set http-get options

As e.g. required by open streetmap

:+1:  thanks for your pull request

published on npm v3.3.0

authors: nchaulet pbihler

repo: nchaulet/node-geocoder


text:
failed to mount FUSE fs: exit status 255

When filing an issue, please include the following information if possible as well as a description of the problem.  Make sure you test with the latest beta of rclone.
https://beta.rclone.org/
https://rclone.org/downloads/

If you've just got a question or aren't sure if you've found a bug then please use the rclone forum instead of filing an issue.

What is your rclone version (eg output from rclone -V)
v1.36
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Mac OS X
Which cloud storage system are you using? (eg Google Drive)
OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone mount -v --allow-non-empty --allow-other onedrive:job/ ~/onedrive

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2017/06/03 06:23:32 DEBUG : rclone: Version "v1.36" starting with parameters ["rclone" "mount" "-vv" "--allow-non-empty" "--allow-other" "onedrive:job/" "/Users/steven/onedrive"]
2017/06/03 06:23:33 INFO  : One drive root 'job': Modify window is 1s
2017/06/03 06:23:33 DEBUG : One drive root 'job': Mounting on "/Users/steven/onedrive"
2017/06/03 06:23:33 Fatal error: failed to mount FUSE fs: exit status 255

Can you try the latest beta please to see if it is the same? Also double check the installation of OSXFUSE.
Thanks

also tried the latest beta, same issue, and installed the last version OSXFUSE

Does the path "/Users/steven/onedrive" exist?
Can you get any other OSXFUSE file systems to work, eg sshfs?

need reboot after install OSXFUSE.
it works now, thanks!

Excellent :-)

authors: alitrack ncw

repo: ncw/rclone


text:
Failed to get endpoints with Amazon Cloud Drive

Hi,
I managed to install and configure the app, but after the initial token expires (in one hour), rclone is not able to refresh the token. The error message I get is:
root@www:~# rclone ls Default:
2016/04/08 19:45:36 Failed to create file system for "Default:": Failed to get endpoints: Get https://drive.amazonaws.com/drive/v1/account/endpoint: oauth2: cannot fetch token: 400 Bad Request
Response: {"error_description":"The request has an invalid grant parameter : refresh_token","error":"invalid_grant"}

I run the command as root, so it's probably not a permission issue.
Details:

Rclone version: rclone v1.28
OS: Ubuntu 14.04.4 LTS (x64)
Storage system: Amazon Cloud Drive

Hmm,  try deleting the remote and reconfiguring.
I have had another report of this - don't know what causes it but that should fix it hopefully.

Of course I tried that several times before creating this issue. Unfortunately it didn't help. Maybe it has something to do with my amazon settings? I even created a security profile on https://developer.amazon.com and whitelisted it in order to make it work. I provided the client ID and secret, but still no luck. Any other options to set?

I think this must be an Amazon problem...
This is the only reference I've manage to find mentioning the error:  yadayada/acd_cli#44
Which country are you in?
Could you send me a the result with --dump-bodies of the authentication going wrong? (Send me this by private email to nick@craig-wood.com as it will contain sensitive info).
If you can answer the above I can ask on the ACD developers forum and they may come up with an answer.
Thanks
Nick

I am from Hungary. I sent you the dump.
Thanks!

I've posted a question on the amazon cloud drive dev forum here: https://forums.developer.amazon.com/forums/thread.jspa?threadID=12536

Thanks!

We've got a response on the forum.

I received this issue today, trying to track down a fix without whining, but the link to the forum posted above has moved.
rclone v1.29
VPS(ubuntu14.04)
Storage: googleDrive, Amazon Cloud Drive
I have reconfigured multiple times, however within an hour or so the token expires and the transfer ceases. I noticed that rclone seems to be producing tokens with an expiry that is far to soon.
2016/05/20 15:44:23 Failed to create file system for "b:/TEST": Failed to get endpoints: HTTP code 401: "401 Unauthorized", reponse body: {"message":"Token has expired"}

The new url for the mentioned thread is: https://forums.developer.amazon.com/questions/22571/invalid-grant-on-oauth-token-refresh.html

@schmorrison can you check the time and timezone on your computer? Oauth2 needs both to be accurate.

@schmorrison can you check the time and timezone on your computer? Oauth2 needs both to be accurate.

I just did, and I hadn't set the timezone on my VPS as the same timezone I was generating certificates on. I changed the time and timezones, but seem to be getting the same error. However the output from running rclone ls shows a time stamp 6 hours ahead of me, which I think would be GMT+0 rather than GMT+6 where I am. Is it supposed to show GMT in the output?

I saw the comment you made in #493 and adjusted the VPS and local machine to UTC. Regenerated the certificates on the local machine and moved them to the VPS and ran rclone ls b:/ which listed files for upwards of 12mins(I definitely saw files that didn't have time to list before setting to UTC) as opposed to the ~2mins prior to the adjustment to UTC. Seems like ACD must be invalidating the token before expiry and is unable to refresh correctly.
I will send the dump-headers output today at some point, hopefully it can provide some clues.

Will think about ls and timezones.
Email the dump headers privately as it will contain sensitive info. nick@craig-wood.com

OK Here is beta 3 which

does a re-authentication on 401 errors (working as per attempt 2)
does a retry on that particular 403 error

http://pub.rclone.org/v1.29-33-g085677dβ/
In my testing this works perfectly now - hopefully it will for you too.

This version fixes it for me. Nice one

Thanks! Working perfectly.

@ncw Ran into the same problem today. The link you posted gives me a 404, can you please check? Or is the fix already in a release?
Thanks a lot!

@pgruetter Amazon revoked rclone access so atm you cant use it.

Oh, that's very bad news. Thanks for the response though, found the other issues discussing this now that you mentioned it.

authors: SzaboGabesz ajkis laher ncw pgruetter schmorrison


text:
Rackspace: lsd command returns only one container from account

rclone v1.34
Ubuntu 14.04.4 LTS
Rackspace
~/.rclone.conf
[devcloud]
type = swift
user = USERNAME
key = APIKEY
auth = https://identity.api.rackspacecloud.com/v2.0

rclone -q -v lsd devcloud:
2016/12/02 23:42:12 rclone: Version "v1.34" starting with parameters ["rclone" "-q" "-v" "lsd" "devcloud:"]
2016/12/02 23:42:12 Swift container : Modify window is 1ns
           0 0001-01-01 00:00:00         0 Testing-Container-Development
2016/12/02 23:42:12 Go routines at exit 5

There are 6 containers in this devcloud account, not just one.
The one returned is the first one as viewed in Cyberduck.
Any ideas why only one (the first) container would be the only response from lsd

Run with -v and --dump-bodies and post the results. You might need to edit sensitive data out before posting.
Hopefully that will give a clue.

I tried that but it didn't produce anything that immediately stands out. The main thing I see is a dump of the catalog of endpoints. And before trying to redact things that might be sensitive and posting those results, I tried some other tests and here is what I learned so far:

Cyberduck seems to always return what I expect and when you choose Rackspace Cloud Files (US) it uses Server: identity.api.rackspacecloud.com
Using rclone lsd on another Rackspace CloudFiles account appears to show all containers (the same list I see in Cyberduck and in the cloud account's control panel)
Using turbolink with standard arguments on the same dev Rackspace CloudFiles account that only returns that one container as mentioned above with rclone lsd, interestingly returns all containers except for the one that that rclone lsd returns. Standard arguments being turbolift -u USER -a KEY --os-rax-auth dfw list --all-container --fields name
If remove the turbolink arguments --os-rax-auth dfw and replace it with --rax-auth-v1 so the command line becomes turbolift -u USER -a KEY --rax-auth-v1 list --all-container --fields name I get the same results as rclone lsd using the config with the entry: auth = https://identity.api.rackspacecloud.com/v2.0. This is interesting because as far as I can tell I am telling rclone to use v2 and turbolink to use v1 and that is when they return the same (unexpected) results.

I've tried a few combinations of the different rclone auth url including using the server that Cyberduck is using and it starts asking for auth_version and/or other parameters that its not clear to me what I need to provide. It is strange to me that I get different results between two different Rackspace Cloud Files accounts.
Does that mean that each account can potentially have different endpoint / version patterns? If so, where do you go on the Rackspace side to determine what you need and how is it that Cyberduck knows how to handle this without these additional inputs by me?
Is there a universal endpoint and argument set that Cyberduck is using that rclone is not able to use?
Suggested next steps to try?

An additional point I just realized to check after my previous post is the region for the containers to make sure they are indeed all DFW which is what we typically use and I found, surprisingly, that the one container that is being returned in the cases where I unexpectedly get only one container, this container is actually in IAD region which I think is the default region for Rackspace Cloud Files.
In the other Rackspace Cloud Files account where all containers are in DFW, it returns all containers when using rclone with the same configured auth url.
So, it seems like if I don't specify the region and there is a container in IAD then it will only return containers from IAD and ignore other regions. Is this correct?
If I try simply adding regions = dfw to the rclone config file and rclone lsd devcf: it then starts complaining about parameters I don't know exactly what they need to be and are ones I don't have to provide with turbolink or Cyberduck as follows: Failed to create file system for "devcf:": Response didn't have storage url and auth token
Thoughts on why rclone lsd stops returning the list of containers if there is at least one container in a different region than the others?

Another update: If I change the auth url back to the first Rackspace option (what appears to be v1) and also specify region = dfw then it stops complaining about the additional parameters I don't know, but the problem continues and it returns only the container from IAD and it ignores all of the containers in DFW even though I have provided that as the region. Again to be clear, in another account that does not have any IAD containers, all of the DFW containers are returned.
Does this highlight a couple bugs where:

the region setting is getting ignored when choosing the v1 auth url
and 2) when not specifying region at all and one container exists in IAD, all other regions are ignored

Or am I missing something?

Thanks for investigating

The region setting is getting ignored when choosing the v1 auth url

v1 auth doesn't support regions so that isn't too surprising

when not specifying region at all and one container exists in IAD, all other containers in other regions are ignored

The swift library docs say about region "Region to use eg "LON", "ORD" - default is use first region (v2,v3 auth only)".  I think that explains what is happening.
rclone & the swift library will only speak to the endpoints for a single region at a time, so it is likely you will need two rclone configs, one for each region.
I'm not sure how cyberduck shows all the containers - is there a universal endpoint - I don't know!

v1 auth doesn't support regions so that isn't too surprising
What isn't surprising? That the region value is ignored or that only a single region's containers are returned? If regions aren't supported in v1 then why is it being selective about which containers are returned if the scenario is that one container is in IAD and the rest are in DFW? Shouldn't the fact that regions aren't supported mean that containers are returned regardless of their region in v1?

rclone & the swift library will only speak to the endpoints for a single region at a time, so it is likely you will need two rclone configs, one for each region.
Can you explain how to create a config for a region at all for rclone?

When I try to specify a region using v2  auth url in rclone it returns an error Failed to create file system for "devcf:": Response didn't have storage url and auth token but storage url and auth token aren't things I would expect to know, rather I would expect rclone to decipher those from its authentication request/response, right?

Does anyone have an example of successfully defining a region (i.e. DFW) for Rackspace (v2/v3 auth) and having it actually return containers only from that region only?
Can you also get the same results when there exists containers from multiple regions in the same account (i.e. IAD and DFW)?
If so, can you share your config file with the sensitive stuff redacted?

Any working examples of a config as described in my post above for Rackspace when the account has multiple region containers in it?

were you able to fetch results from specific region?

@shweta-ctx, I had not yet figured out how to fetch results from a specific region but I am returning to needing to do this on a current project and it seems I still have the same problem where if containers exist in different regions, rclone lsd only returns the list of containers from first region (it chooses which is first I guess) and then it stops and doesn't show any other containers that are in different regions - nor does it recognize the other containers from different regions when trying to copy, etc.
Have anyone made any progress on this?

Although having to specify the region in the first place is really a work around as far as I can tell, because it means i have to define endpoints now for each region instead of just a global endpoint for all regions in the account.

That is how swift seems to work, unless rackspace have another endpoint which can fetch all the containers at once?

Glancing through the github repo for CyberDuck, it appears that they way it pulls all containers from all regions is that it gets all regions available and cycles through them all. Apparently swift has a regions list feature. Perhaps rclone's openswift/rackspace implementation could adopt getting the regions list and allow for region to be undefined or set to 'all' and have it get containers from all regions.

Glancing through the github repo for CyberDuck, it appears that they way it pulls all containers from all regions is that it gets all regions available and cycles through them all.

Ah, I see. That makes sense.

Apparently swift has a regions list feature to get the regions available or cyberduck just predefines all of the rackspace regions for the regions list.
Perhaps rclone's openswift/rackspace implementation could adopt getting/setting the regions list and allow for region to be undefined or set to 'all' and have it get containers from all regions. The reason this is valuable is because it may not always be known what region a container was created in when it is needed to be included in a command, so you would have to do that cycling and bunch of extra coding/setup each time to handle those scenarios.

This would be possible - fancy implementing it?

authors: ncw patakijv shweta-ctx


text:
Fix spotify oembed url

Hey there, it looks like Spotify's oembed url contains an ending slash which causes a redirect (which normally isn't an issue), but this throws a CORS error because they don't include any of the CORS headers. This PR simply removes the slash.

@arthyn hello friend, thank you for your contribution.
I see that you've manually edited providers.latest.js, it's not the recommended way. This file should be automatically generated by sync.js script.
When we run npm run sync, sync.js will sync provider list with the latest content from the original list of providers, managed by oembed.com.
If you want to modify provider list, please follow these steps:

fork iamcal/oembed, update and create pull request
wait until they merge your pr
fork this repository, sync provider list
create pr here

authors: arthyn ndaidong

repo: ndaidong/oembed-parser


text:
🛑 Secrets Manager is down

In 82ae763, Secrets Manager ($SECRET_SITE) was down:

HTTP code: 530
Response time: 85 ms

Resolved: Secrets Manager is back up in d42abcd after 9 minutes.

repo: ndaringer/upptime


text:
hlint-3.2.7 fails to build with GHC-8.10.{3,4}

Not sure if it matters: MacOS 10.15.7, Xcode-12.4, GHC-8.10.{1,2,3,4}, Cabal-3.2.0.0.
hlint builds OK with GHC-8.8.4, and GHC-8.10.2. It fails to build with GHC-8.10.3 or 8.10.4.
Here's the error:
$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 8.10.4
$ cabal -V
cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library
$ cabal install hlint
Resolving dependencies...
Build profile: -w ghc-8.10.4 -O1
In order, the following will be built (use -v for more details):
 - ghc-lib-parser-9.0.1.20210205 (lib) (requires build)
 - ghc-lib-parser-ex-8.10.0.18 (lib) (requires build)
 - hlint-3.2.7 (lib) (requires build)
 - hlint-3.2.7 (exe:hlint) (requires build)
Starting     ghc-lib-parser-9.0.1.20210205 (lib)
Building     ghc-lib-parser-9.0.1.20210205 (lib)
.  .  .  .  .
[230 of 264] Compiling Language.Haskell.TH ( libraries/template-haskell/Language/Haskell/TH.hs, dist/build/Language/Haskell/TH.o, dist/build/Language/Haskell/TH.dyn_o )
[231 of 264] Compiling GHC.Hs.Expr      ( compiler/GHC/Hs/Expr.hs, dist/build/GHC/Hs/Expr.o, dist/build/GHC/Hs/Expr.dyn_o )

compiler/GHC/Hs/Expr.hs:1216:28: warning: [-Wname-shadowing]
    This binding for ‘exp’ shadows the existing binding
      imported from ‘GHC.Prelude’ at compiler/GHC/Hs/Expr.hs:31:1-18
      (and originally defined in ‘GHC.Float’)
     |
1216 | ppr_expr (HsTick _ tickish exp)
     |                            ^^^

compiler/GHC/Hs/Expr.hs:1219:46: warning: [-Wname-shadowing]
    This binding for ‘exp’ shadows the existing binding
      imported from ‘GHC.Prelude’ at compiler/GHC/Hs/Expr.hs:31:1-18
      (and originally defined in ‘GHC.Float’)
     |
1219 | ppr_expr (HsBinTick _ tickIdTrue tickIdFalse exp)
     |                                              ^^^

compiler/GHC/Hs/Expr.hs:1236:9: warning: [-Wname-shadowing]
    This binding for ‘parens’ shadows the existing binding
      imported from ‘GHC.Utils.Outputable’ at compiler/GHC/Hs/Expr.hs:50:1-27
      (and originally defined
         at compiler/GHC/Utils/Outputable.hs:627:1-6)
.  .  .  .  .
compiler/GHC/Tc/Types/Constraint.hs:939:49: warning: [-Wname-shadowing]
    This binding for ‘wc_impl’ shadows the existing binding
      defined at compiler/GHC/Tc/Types/Constraint.hs:914:10
    |
939 | isSolvedWC WC {wc_simple = wc_simple, wc_impl = wc_impl, wc_holes = holes} =
    |                                                 ^^^^^^^
[237 of 264] Compiling GHC.Parser.PostProcess.Haddock ( compiler/GHC/Parser/PostProcess/Haddock.hs, dist/build/GHC/Parser/PostProcess/Haddock.o, dist/build/GHC/Parser/PostProcess/Haddock.dyn_o )

compiler/GHC/Parser/PostProcess/Haddock.hs:1469:3: error:
    parse error on input ‘-- * 'LHsDecl' produced by 'decl_cls' in Parser.y always have a 'BufSpan'’
     |
1469 |   -- * 'LHsDecl' produced by 'decl_cls' in Parser.y always have a 'BufSpan'
     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build ghc-lib-parser-9.0.1.20210205 (which is required by
exe:hlint from hlint-3.2.7). See the build log above for details.

Complete glc-lib-parser-9.0.1.20210205 build log (with errors): ghc-lb-prsr.log.txt

@mouse07410  I'm really sorry you were bitten by this.
There was a window of a few hours Saturday/Sunday where a bad release, ghc-lib-parser-ex-8.10.0.18, contaminated the HLint build.
If you cabal update you'll pull down ghc-lib-parser-ex-8.10.0.19 and cabal install will work as normal.
Thank-you for taking the time to report this and again, I'm very sorry you were inconvenienced!

@mouse07410 - can you confirm this now works?
@shayne-fletcher - I just went and marked 8.10.0.8 as a deprecated version, so hopefully that will encourage Cabal to avoid it if it can. (I guess you gave me Hackage edit privileges at some point!)

I confirm that hlint now builds successfully with GHC-8.10.4.

$ cabal install hlint --overwrite-policy=always
Resolving dependencies...
Build profile: -w ghc-8.10.4 -O1
In order, the following will be built (use -v for more details):
 - ghc-lib-parser-ex-8.10.0.19 (lib) (requires download & build)
 - hlint-3.2.7 (lib) (requires build)
 - hlint-3.2.7 (exe:hlint) (requires build)
Downloading  ghc-lib-parser-ex-8.10.0.19
Downloaded   ghc-lib-parser-ex-8.10.0.19
Starting     ghc-lib-parser-ex-8.10.0.19 (lib)
Building     ghc-lib-parser-ex-8.10.0.19 (lib)
Haddock      ghc-lib-parser-ex-8.10.0.19 (lib)
Installing   ghc-lib-parser-ex-8.10.0.19 (lib)
Completed    ghc-lib-parser-ex-8.10.0.19 (lib)
Starting     hlint-3.2.7 (lib)
Building     hlint-3.2.7 (lib)
Haddock      hlint-3.2.7 (lib)
Installing   hlint-3.2.7 (lib)
Completed    hlint-3.2.7 (lib)
Starting     hlint-3.2.7 (exe:hlint)
Building     hlint-3.2.7 (exe:hlint)
Installing   hlint-3.2.7 (exe:hlint)
Completed    hlint-3.2.7 (exe:hlint)
Symlinking 'hlint'
$

You say

marked 8.10.0.8 as a deprecated version

but the "fixed" hlint builds exactly with this version of ghc-lib-parses, and fails with parser version 9.0.1. That seems to contradict the above statement???

I marked ghc-lib-parser-ex-8.10.0.18 as deprecated, not 8.10.0.8, but other than that mistake in the comment above, I think it's all consistent.
You are seeing that ghc-lib-parser-ex-8.10.0.18 incorrectly pulled in ghc-lib-parser-9.0.1.20210205, which is the bug. The revised ghc-lib-parser-ex-8.10.0.19 pulls in the GHC library on GHC 8.10, and the bug is gone. So yes, it seems to match what I expect.

Thank you!

If the build is segfaulting, I'd suggest trying a few times more. Is this a consistent segfault? What OS are you using?

authors: mouse07410 ndmitchell shayne-fletcher

repo: ndmitchell/hlint


text:
Suggest f <$> x for pure f <*> x

I have sometimes found myself writing pure f <*> x  instead of f <$> x.
The two are equivalent as a consequence of Applicative laws and I believe the latter is simpler and preferable.

I'm rather amazed I didn't have that hint in the list already. But I didn't - now added - thanks!

authors: mx-psi ndmitchell


text:
Emojis not rendering ;(

https://www.javascripting.com/view/emojify-js

replace on DOM

build remark plugin for gridsome

https://github.com/near-sighted/gridsome-plugin-remark-emoji

throws ESModule error. Need to figure out how to make it and it's dependencies CommonJS

published Gridsome plugin to handle this. Works!
https://www.npmjs.com/package/gridsome-plugin-remark-emoji
https://gridsome.org/plugins/gridsome-plugin-remark-emoji

repo: near-sighted/news-site


text:
No way to set ledger-path when adding a key on account creation

I'll go the long way to explain what is missing (or what I didn't manage to find)
When one is creating an account there are two ways in which the Ledger can be used:

To sign the transaction (I am creating an account and funding it myself)
To add a key from the Ledger to the account being created

1. Sign Transaction (works perfectly)
# Create an account funded by an account I control with my ledger, add a new random keypair
near account create-account fund-myself bob.testnet 1 NEAR autogenerate-new-keypair save-to-keychain sign-as alice.testnet network-config testnet sign-with-ledger --seed-phrase-hd-path 44'/397'/0'/0'/1' send

Notice that here I can use --seed-phrase-hd-path to setup the path to the key
2. Add key from ledger
I would expect to be able to select which path to use from the ledger however:
near account create-account sponsor-by-faucet-service bob.testnet use-ledger --seed-phrase-hd-path "44'/397'/0'/0'/1'" network-config testnet create
# error: unexpected argument '--seed-phrase-hd-path' found

near account create-account sponsor-by-faucet-service bob.testnet use-ledger "44'/397'/0'/0'/1'" network-config testnet create
# error: unrecognized subcommand '44'/397'/0'/0'/1''

In this case, there is no way to select the path I want to use to add the key to the account

Indeed, we missed it somehow.
@FroVolod Please, fix it

authors: frol gagdiez

repo: near/near-cli-rs


text:
Accounts with a lot of transactions are slow to load

It took ~1 minute to load the page when I searched for near. This is very suboptimal user experience.

Same for ref-finance.near

It seems that there are two types of queries that are too slow:

counting the number of transactions
fetching the list of transactions

I will get back with more details later

Scaling the DB instance to have more resources and improving the query for transaction fetching in #633 the page opens in ~5 seconds. It is still suboptimal, but at least manageable. We need to improve the pagination and decouple fetching heavy data so they are pulled asynchronously

repo: near/near-explorer


text:
Remove confusing "failed to load validator key" warning.

This happens because we try to load the validator key for all environments

this is a fix for https://github.com/nearprotocol/near-shell/issues/134

repo: nearprotocol/near-shell


text:
[Icon] Open Source hardware

What service is this for?
Similar to the OSI / Open Source Initiative logo (part of Font Awesome), it would be great to have an icon for Open Source Hardware...
https://www.oshwa.org/open-source-hardware-logo/
What are their domain names?
https://www.oshwa.org/ (but this is more for generalised use to refer to hardware, rather than for a service / profile item)
Do you have a link to a SVG of their logo?
https://www.oshwa.org/wp-content/uploads/2014/03/oshw-logo-outline.svg

Sorry for missing this one earlier. It’s included now!

authors: andypiper newbold


text:
Discogs

https://www.discogs.com/user/lakerjv is profile link for parsing

Thanks, @LakerJV! And apologies for kinda losing track of this!

its alright :)))

authors: LakerJV newbold


text:
Ne pas afficher les avatars quand il n'y a qu'une ou deux personnes

problème d'affichage dans cette page (avatars coupées) https://wiki.tripleperformance.fr/wiki/Utilisation_du_parasitoïde_Mastrus_Ridens_pour_lutter_contre_le_carpocapse

Pour le second point il faut ajouter la CSS suivante :
.interaction-bloc .avatars .avatar img {
    width: 42px;
    height: 42px;
    object-fit: cover;
}

Exemple de page avec un seul avatar : https://wiki.tripleperformance.fr/wiki/Robot_de_désherbage

repo: neayi/tripleperformance


text:
[ChatLLaMA] Training process halted

Hi, it seemed like the training process was fine unitl it hit iteration 71? ran the line: python artifacts/main.py artifacts/config/config.yaml --type ALL

Hi @MuffinC, thanks for reaching out, we are sorry for the inconvenience.
This problem should have been fixed in the previous release and we haven't encountered it since.
Did you use the last available version of the pip or of the source code?

Hi Pier, yes i am using the latest version of pip and i've just pulled from the repo while changing my python version to 10. Still encountering the error

authors: MuffinC PierpaoloSorbellini

repo: nebuly-ai/nebullvm


text:
Memory leak when generating reports

Describe the bug
Please see this issue
To Reproduce
Generate any reports, json / html, doesn't matter.
Expected behavior
Reports will be generated, without eating away all my memory.
Additional context
This issue has been going on for a couple of months now and contains way more information and things that have been tried to solve this issue.
So far we have worked out that the issue occures spefically with coverage report.
Any further tips?

Any further tips?

As I asked on that issue, I need clear complete instructions for how to reproduce the issue.  No one has mentioned what version of coverage.py they are using. I don't know how to make the problem appear so that I can debug it.  If you know of a way for me to do that, please provide the instructions.

@nedbat , Before closing the issue I posted your request.
For the instructions, I've enclosed all I knew in here, here and here. All information can be found in the previous issue.

I'm sorry, that still doesn't give me a way to reproduce the issue.  I'm available under contract if you need me to sign an NDA to see your private repo.

Sounds like #1785 to me: affects Python 3.12, eats up a lot of memory.
@0x78f1935, does your code happen to have very long lines in it?

I'm sorry, that still doesn't give me a way to reproduce the issue. I'm available under contract if you need me to sign an NDA to see your private repo.

I'm sorry, I cannot do that.
Altho @sebastian-muthwill, mentioned he was able to reproduce the issue I had encountered.

Sounds like #1785 to me: affects Python 3.12, eats up a lot of memory.
@0x78f1935, does your code happen to have very long lines in it?

No, my unit-tests do not utilize a large mock data set. That being said, I also utilize Flake8 across my codebase.

@nedbat I take the discussion up here.
I tried yesterday to reproduce the issue with a clean Django project with the example from the Django docs and everything went well.
My project is much bigger and is failing.
I try to reproduce the issue and come back.

My project is much bigger and is failing.

I can confirm that this happens to me with big project(s) too.
First, I thought maybe my project was the issue, but now that @sebastian-muthwill  was able to reproduce the issue, I'm more confident we are onto something. I would love to be of help; unfortunately, I'm unable to share my codebase. Just like Sebastian's codebase, mine is big.
I took some time to take my codebase apart and basically started removing all components I didn't want to share so I could make a repository that reproduces the issue. After removing the frontend and Docker environments, I was left with my tests and my backend.
I trimmed my tests to a total of one test and was still able to reproduce the memory leak. The moment I started touching endpoints in my backend (which I don't want to share), things started to work, which is why I'm a bit uncertain. The strange part is that it doesn't really matter which component I turn on or off in any order. When they are turned on, there is a memory leak; when they are turned off, everything is okay (though there is no data to report), which might explain why that approach appears successful. This makes it difficult to pinpoint a specific component.
I thought to myself, that isn't very helpful. Surely, I can find an existing project of someone and transform that into a reproducible environment, but so far no luck with reproduction. I tried various things; I even tried my own project.toml file. No luck.
I hate to say it, but the best workaround I have right now, if you really need your coverage, downgrade to Python 3.11.

There is a memory issue that only affects Python 3.12, due to a bug in that Python version: https://github.com/python/cpython/issues/119118. I believe this is the issue affecting you.
There's a test you can run to check whether this is the issue we think it is. In coveragepy/coverage/phystokens.py, change the line:
 return list(tokenize.generate_tokens(readline))

To:
 return tokenize.generate_tokens(readline)

It should lessen the memory impact, if it's the same issue.

@devdanzin Thanks for pointing that out.
@nedbat I just tested it and can confirm that the issue is gone when settings the return as @devdanzin described.
#return list(tokenize.generate_tokens(readline))   # <-- memory leakage happening
    return tokenize.generate_tokens(readline)         # <-- no issue

Since it is not reproduceable with a fresh installation, I could imagine it has  maybe something to do with the amount of tests run?

So far, we had only seen this issue manifest on files with very long (many thousand characters) lines, where memory ballooned very fast and resulted in a MemoryError. For those, removing the call to list() avoided the memory issue, but still resulted in very slow (many minutes versus a couple of seconds) execution, are you seeing a significant slow down between 3.11 and 3.12?
Since it comes from a Python 3.12 bug, it seemed OK to keep the list() call, as it was still unusable without it and a fix is being worked on.
However, given that your case indicates the list() call is detrimental even for non-pathological files, I believe removing it is the right thing to do. @nedbat?

Thinking about it, the use of @functools.lru_cache(maxsize=100) is probably what causes the leak: the lists use a lot more memory on 3.12 compared to 3.11 (because each Token keeps a new copy of the text of the line it's in), but should be garbage collected after being used. The cache would keep them around, inflating memory usage proportionally to the number/length of files in the report.
Which brings the question: is the removal of the list() call correct given presence of the cache? Wouldn't we be caching an exhausted iterator in that case?

Confirmed that just removing the list() call causes many test failures. Removing both that call and the cache makes tests pass again.
Given that tokenizing seems much faster on 3.12 compared to 3.9 (and uses a lot more memory), maybe we could define coverage.phystokens.generate_tokens to be cached and call list() on versions below 3.12, with no cache and no list() call for 3.12 and above?

There's a test you can run to check whether this is the issue we think it is. In coveragepy/coverage/phystokens.py, change the line:
 return list(tokenize.generate_tokens(readline))

To:
 return tokenize.generate_tokens(readline)

It should lessen the memory impact, if it's the same issue.

I've tested out your theory.
@functools.lru_cache(maxsize=100)
def generate_tokens(text: str) -> TokenInfos:
    """A cached version of `tokenize.generate_tokens`.

    When reporting, coverage.py tokenizes files twice, once to find the
    structure of the file, and once to syntax-color it.  Tokenizing is
    expensive, and easily cached.

    Unfortunately, the HTML report code tokenizes all the files the first time
    before then tokenizing them a second time, so we cache many.  Ideally we'd
    rearrange the code to tokenize each file twice before moving onto the next.
    """
    readline = io.StringIO(text).readline
    # return list(tokenize.generate_tokens(readline))
    return tokenize.generate_tokens(readline)

The behaviour of the end changed drastically.

My memory is stable around 20-25%, around 270MB in memory.
My tests look to be stuck at 100%, but like you mentioned, It just takes bit longer now.
My tests finish and I have my html report (after an awfully long time, I had to wait for more then 30 minutes).

I think your issue might be related, yes!
My current run command looks like pytest --exitfirst -vs --junitxml htmlcov/pytest.xml --cov --cov-report html and consists of 42 tests.

Since it is not reproduceable with a fresh installation, I could imagine it has maybe something to do with the amount of tests run?

I don't think that is the case, while I was stripping down to a reproducable version I was able to walk against this issue with just one test.

are you seeing a significant slow down between 3.11 and 3.12?

I would say 3.11 is significant faster in comparison. Which is weird, cause wasn't 3.12 suppose to be 40% faster?
With 3.11 you can get yourself coffee, with 3.12 you can get yourself coffee and get yourself a french baguette in French, and return safely home. It takes very long.

Thinking about it, the use of @functools.lru_cache(maxsize=100) is probably what causes the leak:

Lets test it:
# @functools.lru_cache(maxsize=100)
def generate_tokens(text: str) -> TokenInfos:
    """A cached version of `tokenize.generate_tokens`.

    When reporting, coverage.py tokenizes files twice, once to find the
    structure of the file, and once to syntax-color it.  Tokenizing is
    expensive, and easily cached.

    Unfortunately, the HTML report code tokenizes all the files the first time
    before then tokenizing them a second time, so we cache many.  Ideally we'd
    rearrange the code to tokenize each file twice before moving onto the next.
    """
    readline = io.StringIO(text).readline
    return list(tokenize.generate_tokens(readline))
    # return tokenize.generate_tokens(readline)

This causes the same issue to arrise. Memoryleak.
I'll try without list foor good meassure.
# @functools.lru_cache(maxsize=100)
def generate_tokens(text: str) -> TokenInfos:
    """A cached version of `tokenize.generate_tokens`.

    When reporting, coverage.py tokenizes files twice, once to find the
    structure of the file, and once to syntax-color it.  Tokenizing is
    expensive, and easily cached.

    Unfortunately, the HTML report code tokenizes all the files the first time
    before then tokenizing them a second time, so we cache many.  Ideally we'd
    rearrange the code to tokenize each file twice before moving onto the next.
    """
    readline = io.StringIO(text).readline
    # return list(tokenize.generate_tokens(readline))
    return tokenize.generate_tokens(readline)

This seems to work, but it doesn't increase the speed. Just like the first attempt, it's stuck on 100%, memory is idle, takes a couple of minutes before html files start appearing. But it takes ages for it to complete.
@devdanzin You beat me too it :P , Thank you for your research!

I think I've found my (big) class which might cause the memory leak. It's a serializer..:

The test seems to be stuck at 100%, but at the moment it was rounding up. I saw the cities file be generated as html file. The size of that file exceeds 8MB. Guess how many statements that class houses? ~24914~
Is this something I should solve my side, (which I obviously should), but is this something coverage is going to account for?
Before cities class:

After reducing the class:

5 Whole minutes to generate 1 (big) file. That is a long time.
Meanwhile generating typescript classess based on those serializers works within seconds.

Very odd that tokenize makes new copies of the line for every token. That seems unnecessary.  I wrote a CPython issue about it:  https://github.com/python/cpython/issues/119654

authors: 0x78f1935 devdanzin nedbat sebastian-muthwill

repo: nedbat/coveragepy


text:
Confirm Box Synchronization

Noty version: 2.2.7
Browser: All
OS: Window
jsFiddle link (if available): .....

Hi All,
I started to use jquery noty and it's very easy to implement.
I want to use the confirm box. It's very easy to implement. My issue is that I want to use it like javascript confirm box where the execution of code below it, is  stopped until "Okay" button is pressed. But here the box is displayed and code below is also executed.
Any idea!
Thanks in advance.

You can move your code block into button's click callback.

authors: musaddiq-pk needim

repo: needim/noty


text:
Downloading starts immediately after CachingPlayerItem created

Hey. I'm pretty new to iOS development so I probably misunderstand something.
What I see is CachingPlayerItem starts downloading right after I create a new instance of it.
What I expect is that it starts downloading either after play() is called for AVPlayer or download() for CachingPlayerItem. In this case, it's not very clear what the purpose of download() is.

I can confirm the same behaviour

I've taken a look at this issue again and figured out that it's instantiating AVPlayer with an item that triggers the download. This wasn't the case before, apparently Apple has changed the implementation slightly at some point.

I believe this is intentional behavior; it's useful so that you can "preload" a video by just instantiating an AVPlayer before you actually intend to start playing it

authors: hssrrw joeldrotleff neekeetab

repo: neekeetab/CachingPlayerItem


text:
Create 1456 maximum-number-of-vowels-in-a-substring-of-given-length.go

File(s) Modified: go/1456-maximum-number-of-vowels-in-a-substring-of-given-length.go
Language(s) Used: Go
Submission URL: _https://leetcode.com/problems/maximum-number-of-vowels-in-a-substring-of-given-length/submissions/1444038246/_

Leetcode formatted and solution matches Neetcode video.

@Jasoncheung94 Thanks for your contribution 👍

repo: neetcode-gh/leetcode


text:
Downgrade 3 dependencies for Colab & fixed Path error

pillow, numpy & gdown don't really need latest version to run, and when they were forced to upgrade on Colab, required restart and conflicted with other libraries in project.

Valid point. I usually have to pin Pillow to 9.5.0 in other things but it's not necessary here (not dealing with BGR24 formatted images directly at any point).
Have fixed up path_from_cwd inside the function, if you could rebase this onto main to remove the merge commits (otherwise I'll have to do it this side) and drop 204de3715f3c361efdc37317266337f49822d10b i'll get this pulled in 😄

Alright, no problem... Reverted that patch since you got it cleaner within the function.  Looks good and works well. Thanks, I pretty much don't need to be using my fork anymore now that we're past those minor issues. Now I get to enjoy playing with it..

Awesome! Let me go ahead and merge this before I push a bunch of refactoring to make it possible to call this like a library without reloading the model every time...

authors: Skquark neggles

repo: neggles/animatediff-cli


text:
fix: spawn worker when one die

If a worker die, it doen't update gCount so maybeStartG doesn't start a
new one.

@guilhem That seems to be a good catch... all tests continue to pass.

authors: guilhem neilotoole

repo: neilotoole/errgroup


text:
TLS DNP Port

Opendnp3 has a TLS mode. It would be very useful to have a implementation of the TLS port in opendatacon to secure data comms over hostile networks.

For an example.
https://github.com/automatak/dnp3/blob/2.0.x/cpp/examples/tls/outstation/main.cpp

Yes, this should be a simple addition to expose that new opendnp3 functionality, BUT, we're not using the latest version of opendnp3 yet. See issue #34; that has to happen first, and it's a bit more involved.

Done

authors: agilbett neilstephens

repo: neilstephens/opendatacon


text:
Encrypted messages are decrypted but are not displayed

Encrypted messages are decrypted but are not displayed on Details about a transaction.

I checked on deb version and it worked well. Could you please tell which one build from https://github.com/nemgrouplimited/symbol-desktop-wallet/releases/tag/v0.13.2 are you using?

Of course.
After checking, it seems that only in the case of a multi-sig transaction, it is not decrypted. Recipients did not see the message when decrypting it after receiving it.
It appears that a co-signer who is not a recipient can also decrypt in this way, but it does not appear. I don't think it is necessary to be displayed because this co-signer is not a receiver, but do we need to use the decryption button?

@trestoJP thanks. This was the missing part. I checked for regular account and you for multisig. Now I'm able to reproduce. Thanks :+1:
Steps to reproduce:

Create multisig transfer transaction with encrypted message.
Sign it to be confirmed.

Decrypt button is visible in transaction details:

for cosigners who didn't initialize transaction (should be?) but it doesn't work (blank value presented)
recipient but it doesn't work (blank value presented)
sender cosigner and it works (I can decrypt and value is presented).

Same thing before confirmation - only cosigner sender is able to decrypt message from unconfirmed transaction.

@trestoJP encrypted messages for multi-sig are blocked now. It's because cosigner don't know (in most cases) private key of multi-sig account.

Closing (look comment above). Encrypted messages not available for multisig.

authors: cryptoBeliever trestoJP

repo: nemgrouplimited/symbol-desktop-wallet


text:
Fix getTanModes if allowed tan mode not in all tan modes

After finally receiving a https url for Commerzbank this was a final fix to get it working.

Any comments on this one? @ampaze @Philipp91

Could you please provide the concrete BPD and allowedTanModes that you received from the bank? Even if it's not fixable otherwise and we need to merge this patch, it's good to document here (and perhaps also in the commit message) why we did that, in case someone stumbles upon this in the future. It's an oddness that requires some justification for future programmers not to simply remove it again.

Sorry for the late reply. Getting this data would be rather complicated because I'd have to ask a customer for access to his system and then mess around with his actual bank account.
Maybe the relevant part of our error report suffices to document it:
Error: Undefined array key 999

Backtrace:
[...]
library/Fhp/FinTs.php => error_function:534
?? => Fhp\{closure}:??
library/Fhp/FinTs.php => array_map:535
library/PicoErp/Hbci/Client.php => getTanModes:94
[...]```

As you can see, just calling `getTanModes()` leads to a PHP error.

999 is a special value. I believe you want to use NoPsd2TanMode as shown in the README.

I am not sure, because the customer was properly challenged with an image based TAN afterwards. According to the README, this tan mode is only needed for ING (which we already process this way).
Anyways, calling getTanModes() should not lead to a PHP error (as in error, not an Exception) because the bank did not return sane data. That's what this MR is for.

Ok fair enough.

Ah I guess the bank adds 999 to the list of TAN modes it supports. So an alternative implementation would be if ($tanModeId === TanMode::SINGLE_STEP_ID) continue;. What do you think? It would be more focused and more defensive coding, i.e. it would still allow us to discover different weird situation that warrant investigation. (In my experience, it's always better to surface errors than to swallow them.)

That should be fine. We don't know if they also send something else, though, but that will be clear when this change is implemented.
Sorry for the long delays between my replies here, I have a rather large backlog currently.

Hey there,
is there a time frame when this fix will be implemented?
I'm trying to get my bank statements from Commerzbank, but i'm currently running in to this issue.
Thanks in advance!

Are we fine with this one?

Yes

authors: DerSpezialist Philipp91 nemiah roben

repo: nemiah/phpFinTS


text:
Making PeriodicTest more lenient

Fixes #<Replace with the number of the issue, Mandatory>
One sentence summary of the change.
Proposed Changes (Mandatory)
A brief list of proposed changes in order to fix the issue:

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

authors: CLAassistant arnefischereit