text:
Calling all(), when using the RedisStorageDriver class, throws error: strlen() expects parameter 1 to be string, null given

Describe the bug
I'm writing my own custom driver, which uses this package DatabaseStorageDriver and RedisStorageDriver. This is because I like to cache tenant data, but mainly store my tenant in my MySQL database.
Now, when I call the all() function from the RedisStorageDriver, I get this error:
strlen() expects parameter 1 to be string, null given
Steps to reproduce

Add new custom driver.
Inject DatabaseStorageDriver & RedisStorageDriver classes into the new custom driver.
Call the RedisStorageDriver's all() method.
Configure config/tenancy.php (storage_driver => cache, storage_drivers => add CacheDriver)
It's worth mentioning that I've setup a custom Redis connection with these params:

'cache' => [     'host' => env('REDIS_HOST', '127.0.0.1'),     'password' => env('REDIS_PASSWORD', null),     'port' => env('REDIS_PORT', '6379'),        'database' => env('REDIS_CACHE_DB', '5'), ],
6. I've also set the connection param of the RedisStorageDriver to this connection in config/tenancy.php
Expected behavior
I should get an (empty) array of cached tenants.
Your setup

Laravel version: v6.14.0
stancl/tenancy version: v2.2.7
Storage driver: Custom 'Cache' Driver, that uses both DatabaseStorageDriver & RedisStorageDriver

Thanking you in advance.

This is because I like to cache tenant data, but mainly store my tenant in my MySQL database.

This feature is not documented yet, but you can do this already. Look at the latest releases: https://github.com/stancl/tenancy/releases/tag/v2.3.0
https://github.com/stancl/tenancy/blob/2.x/assets/config.php#L19
It's also well explained in #348

Thank you! :)

repo: stancl/tenancy


text:
How to download the whole evaluation results for the new version of leaderboard?

@JosselinSomervilleRoberts @dlwh @yifanmai Any update?
The previous file download shortcut vanished...
Any update? @JosselinSomervilleRoberts

You can download v0.3.0 results here.
We don't have a corresponding zip file for v0.4.0 or lite yet.

source: gharchive/issue

authors: yifanmai zhimin-z

repo: stanford-crfm/helm

license_type: permissive

license_source: github-api


text:
Fix error propagation in React app

Use chrome dev tools to see issues with error propagation in front end.

I seem to be able to see the exception traces just fine in Chrome console, but please reopen if you find an error on a specific component, with a specific repro method.

authors: farzaank yifanmai


text:
Fix path and improve setup guide

The primary purpose of this PR is to update the path of the setup script in readme (infra/spin-up-vm.sh instead of infra/spin-up-tpu-vm.sh). I also made some minor modification to the "Automatic Setup" section.
The setup script is very useful 👍

thanks!

I'm going to merge this PR for now.

For long output from the setup script, I don't think it is critical for now. We can address it in a future PR.
For renaming of spin-up-vm.sh, I need a little bit more context, but I can definitely do it in another PR.

source: gharchive/pull-request

authors: Ivan-Zhou dlwh

repo: stanford-crfm/levanter


text:
training/update-dataset: lower consistency level of update transaction

According to the MySQL documentation:
https://dev.mysql.com/doc/refman/8.0/en/innodb-locking.html#innodb-next-key-locks
at REPEATABLE READ level, UPDATE and DELETE statements use gap & next key locking,
and may lock rows or index records that are not matched by the query
(to avoid phantoms).
This is likely the cause of deadlocks we're seeing when the update-dataset
task is run concurrently to a Thingpedia edit operation or a mturk
task, both of which try to insert into the example_utterances database
(Thingpedia also tries to delete & edit).
At READ COMMITTED level, on the other hand, only the rows matched
by the query are locked. In principle, this should be sufficient
to solve the problem, as the update-dataset task only deletes synthetic
data. (It also updates paraphrase data to mark obsolete sentences, but
it's fine if it misses some paraphrase sentences that are inserted concurrently,
because those won't be immediately obsolete).
I say in principle, because we've been played with locking for a while
now, and this has been a long-standing concurrency problem. But this
is a quick fix.

I will definitely appreciate expert review of the analysis in this PR.

Pull Request Test Coverage Report for Build 1911

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 66.858%

Files with Coverage Reduction
New Missed Lines
%

routes/my_conversation.js
1
67.26%

Totals

Change from base Build 1908:
-0.03%

Covered Lines:
6932

Relevant Lines:
9740

💛  - Coveralls

authors: coveralls gcampax

repo: stanford-oval/almond-cloud


text:
Relicense to Apache 2.0

Like the rest of the Genie platform

Pull Request Test Coverage Report for Build 2702

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 68.611%

Totals

Change from base Build 2701:
-0.007%

Covered Lines:
7441

Relevant Lines:
10207

💛  - Coveralls


text:
Remove broken API compatibility code

Genie will now generate the right intent result, as part of the
confidence calibration work.

We can't test this because almond-dev is down, let's assume is correct and fix later.


text:
Unable to fetch the data using git-lfs

Hi,
I am unable to pull all the data tracked by git-lfs
git lfs ls-files
bc0b621be0 - data/train/bags_and_cases.trn
510534d2c2 - data/train/bluetooth.trn
0c9ccfc437 - data/train/boots.trn
2b245b50fc - data/train/keyboards.trn
80c2787284 - data/train/tv.trn
77b7a04ebb - data/train/vacuums.trn

I get the following error:
fetch: Fetching reference refs/heads/master
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
error: failed to fetch some objects from 'https://github.com/stangelid/oposum.git/info/lfs'

What is the alternative solution to this? Could you please help me out?

Hi Akhila,
Apologies for the delayed response on this. You can download the data from
the following alternative link:
https://drive.google.com/uc?id=1eM8BziZT2IzTL1P2WJU7TSFe5mfrZJz5&export=download
Thank you for your interest in our dataset.
Best,
Stefanos
On Mon, 28 Oct 2019 at 21:34, Akhila Yerukola notifications@github.com
wrote:

Hi,
I am unable to pull all the data tracked by git-lfs
git lfs ls-files
bc0b621be0 - data/train/bags_and_cases.trn
510534d2c2 - data/train/bluetooth.trn
0c9ccfc437 - data/train/boots.trn
2b245b50fc - data/train/keyboards.trn
80c2787284 - data/train/tv.trn
77b7a04ebb - data/train/vacuums.trn
I get the following error:
fetch: Fetching reference refs/heads/master
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
error: failed to fetch some objects from 'https://github.com/stangelid/oposum.git/info/lfs'
What is the alternative solution to this? Could you please help me out?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stangelid/oposum/issues/5?email_source=notifications&email_token=AC7KXXOYDQNH6PCC7E77ZB3QQ5LIDA5CNFSM4JGAM6X2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HU4O7WA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7KXXOIA63OLH2DYBDH3A3QQ5LIDANCNFSM4JGAM6XQ
.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Thank you @stangelid!
Would it be possible to share the evaluation script used by you as well?

@stangelid The google drive link is not working. Can you help me to download the data?

Apologies, I was not aware that the google drive link had expired. You can now find the data here: https://drive.google.com/uc?id=1Vt_Pnby63OgB1NK-2qwT_K4mryEXMQ-J&export=download

authors: Akhila-Yerukola dongheechoi stangelid

repo: stangelid/oposum


text:
remove command assurance logic - k8s

#779
Current Behavior
there is failure tolance logic
Proposed Behavior
the logic is not needed any more
Solution Proposal
just remove it

deprecated
partially done

repo: star-whale/starwhale


text:
enhance(sdk): tune predict log results for user-friendly viewer

Description

provide log_dataset_features argument for the user specified log dataset features.
use datastore to store dataset features directly for more user-friendly viewer
remove useless spec files

Modules

[x] Python-SDK

Checklist

[x] run code format and lint check
[x] add unit test
[x] add necessary doc

cc @waynelwz


text:
🛑 Google is down

In edeba98, Google (https://www.google.com) was down:

HTTP code: 502
Response time: 128 ms

Resolved: Google is back up in b00a074 after 29 minutes.

license: MIT


text:
Add brew to PATH for version bump

Overview
Version bump depends on brew
brew has been removed from PATH in the ubuntu-latest runner. See https://github.com/actions/runner-images/issues/6283
Checklist

[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] README.md updated and added information about my change
[ ] I have run changie new to create a changelog entry

Change tested on local fork.

repo: starburstdata/dbt-trino


text:
improve StringUtil impl and add test

Pull request type
improvement

Please check the type of change your PR introduces:

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

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Please @djy0 rename String.move to StringUtil.move in the new PR.

repo: starcoinorg/starcoin-framework-commons


text:
StarMask可以重复添加相同陈列室

钱包已有NFT陈列室，再次添加相同陈列室未检测未报错，还可以正常重复添加，完成链上交易
https://stcscan.io/main/transactions/detail/0x806d11d22088db58fda1b41cffc0f7e428009668590bdfef7c481403012fa70e

可以在前端做个提示。

authors: Foorgoo jolestar

repo: starcoinorg/starmask-extension


text:
Doesn't appear to be working

I installed this fixer w/personal logistics by Semar and Longarm and neither seem to be functioning.  Not sure what I am doing wrong, or if there is something else interfering.  I tested in a new game with just longarm and PL.

Solved. Conversation: https://discord.com/channels/806549677209944084/806935746098495584/1034166776021385226.
Summary:

Check BepInEx\LogOutput.log to see if mods are working normally.
Clear mod cache in mod managers and reinstall the mods.


text:
WIP.

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#470  👈
#469
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ArniStarkware and the rest of your teammates on  Graphite

Restacked on an alternative path.

repo: starkware-libs/mempool


text:
refactor(consensus): state machine returns VecDeque instead of Vec

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2168
#2167  👈
#2166
#2161
#2160
#2159
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @matan-starkware and the rest of your teammates on  Graphite

repo: starkware-libs/papyrus


text:
Dvir/endpoints to create request

Pull Request type
Please check the type of change your PR introduces:

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

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

This change is

crates/papyrus_load_test/src/create_request.rs line 5 at r2 (raw file):
Previously, dan-starkware wrote…
This function (and the other one as well) is not used anywhere.
Please use these in transaction.rs instead of using the done enpoints there.

the next pull request will use them. the done requests currently in the code also will be deleted in the next pull requests.


text:
chore(ci): move papyrus_p2p_sync dep to root toml

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#277  👈
#276
#275
#274
#273
#272
#271
#270
#269
#268
#267
#266
#265
#264
#263
#262
#261
#260
#259
#258
#257
#256
#255
main-v0.13.2

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dorimedini-starkware and the rest of your teammates on  Graphite

repo: starkware-libs/sequencer


text:
Error in build.prod

After downloading commit #2dd5bbe , installation and launck s OK, but build.prod failed with errors.
Attach log of "npm run build.prod"
build.prod.zip

add gulp.src('node_modules/moment/moment.js').pipe(gulp.dest('./node_modules'));
in gulpfile.ts before loadTasks(SEED_TASKS_DIR);

Solved!

license: mit

license_source: bigquery


text:
学习频率设置

请问一下如果我想改成两天学习一次应该在哪个文件中更改呢？

可以修改workflow文件里面的schedule

authors: ZXMMD startkkkkkk


text:
Add/Modify the firewall rule when changing the port number

Hello, thank you for this great tool.
I have been successful with this tool, with all the documentation that was helpful (setup, update.bat, how to add the "Remote Desktop Users" group) until I tried to connect remotely with a non-standard port.
In this case, I had to manually modify the firewall inbound rule to match the specific Port I am using (I am not using the standard 3389 port).
Is it possible to have RPDConf.exe change the 'Remote Desktop' Inbound firewall rule to match the port it sets when we click Apply?
Thanks,
Julien
Screenshot of the firewall rule:

quick question on how to change the port, do you only do that with rdpconf change the port and apply or do you need to restart some services too?
I'm asking as I am about to do this on a remote machine so if I mess up I have no other way to connect.

Hello @ovizii, I don't use RPDConf.exe anymore (I switched to using TeamViewer which fits my needs really well), but as far a I remember for RPDConf, I simply needed to add the port to the firewall, change it in RPDConf and click apply for it to work, without restarting.
If you want a safeguard, TeamViewer can be used without installing it on the system, just take the standalone (no install) version, run it, note the ad-hoc id and password, and you can simply stop it one your RPD is working :-)
Cheers,
Julien

authors: birdypme ovizii

repo: stascorp/rdpwrap


text:
Users can save their featured/most/bookmark like dApps

bookmark page for DApps

This is gonna take some work/thinking because of auth.

authors: FauveAltman robyedlin


text:
Remove page.evaluate and page.exposeFunction from cancel test

So, I still saw the same errors that #1922 was supposed to fix even after applying the changes.
As an experiment, I removed all usages of the doneWhen helper and now rely solely on the UI.
The test still throws this Object error alongside Protocol error (Runtime.callFunctionOn): Target closed.
However, in an interesting twist, if I run it with USE_DAPPETEER=true, it never fails.

@geoknee do you have any insight into why USE_DAPPETEER=true causes the test to never seem to fail?

@snario not sure, but maybe take a look at the puppeteer launch args, they don't look identical in the case of using or not using dappeteer.

My best guess right now is something to do with how cancel is implemented inside Web3Torrent. I think that it is crashing the headless Chromium instance sometimes.

I do think this is a good PR though, removing reliance on events in the console and using only the UI seems like a better pattern for a puppeteer test.

authors: geoknee snario

repo: statechannels/monorepo


text:
Make CLI a consumer of formatter

Moving project-based file formatting into internal library.

@duvanmonsa please take a look. Net-zero changes to functionality. More about how the internal library code's coupled with the CLI.

repo: stateful/runme


text:
Bug: Persist seems to require state for fromPromise

Description
I'm not sure i fully understand the issue, however, it seems as if restore state for an actor looks for childState for a fromPromise and then aborts restore when it doesn't exist.
Here is the related xstate code
const actorData = snapshotChildren[actorId];
      const childState = actorData.state;
      const src = actorData.src;
      const logic = typeof src === 'string' ? guards_dist_xstateGuards.resolveReferencedActor(this, src) : src;
      if (!logic) {
        return;
      }
      const actorState = logic.restoreState?.(childState, _actorScope);

my code
	const preRunActor = fromPromise(async (actorInvoke): Promise<void> => {
		const jobActorRef = getJobActorRef(actorInvoke.self);
		match(params).with({ kind: P.union('hasSideEffects', 'withStepTools') }, () => {
			jobActorRef.send({ type: 'job.persistWorkflow' } satisfies FromJobInternalEvents);
		});
		await defer();
		jobActorRef.send({ type: 'job.toRun' } satisfies FromJobInternalEvents);
	});

This promise is a subchild of a machine.  It seems when the state is being restored, the logic is looking for a child state in the fromPromise actor.  I'm not sure if that would exist.
Expected result
I wanted clarificyation on why the restore would fail.  I would expect fromPromise woudln't have state and the restoration would continue
Actual result
TypeError: Cannot read properties of undefined (reading 'children')
  at StateMachine2.restoreState

Reproduction
attached code
Additional context
No response

It seems that in my fromPromise runtime, actorData._state exists but actorData.state does not.  😖

Thanks for the report and the repro case. I think I already recognized the problem so you can expect the fix for this tomorrow.

@Andarist thanks!  🥳

@Andarist would it be possible to release this today?   Would help unblock me  :)

Done

authors: Andarist ShravanSunder

repo: statelyai/xstate


text:
[core] Do not warn of missing implementation for built-in actions

Fixes #1792
(no easy way to test warnings)

This is sort of a bandaid for lack of the "stop actions" resolving. I'm working on implementing that right now so this PR shouldn't be needed. I think it can be safely closed.

@Andarist Can we re-open this PR? It's a band-aid but a needed one.

@davidkpiano isnt this being entirely fixed by this PR: https://github.com/statelyai/xstate/pull/3126 ? There is only one action item to be handled there and we'll be able to proceed with it (although it would kinda be best to sync the release with the other planned work for "predictable event types in implementations")

authors: Andarist davidkpiano


text:
Chcdev

Adds the classes MemoryRegionVariable and XInvalidated identified as missing earlier.

Thank you for reviewing and for resolving the inconsistencies introduced by the merge.

repo: static-analysis-engineering/CodeHawk-C


text:
Extract JIRA ticket IDs from MR title or description

As optional config, set the project name and use that in a regex, like: PROJECT-(\d+)
Try to find the JIRA ID in:

MR title
MR description - if the GitLab instance is connected to a JIRA instance, it will prefill the description with Closes PROJECT-123

Also add a config for JIRA server URL.

Done


text:
BAR-979: Added restrictions minInclusive and maxInclusive for StartDa…

…to and SluttDato. Next up:

Fodseldato
UtfortDato (3 steder)
TilbudSendtDato
EndretDato

PR Notes

[ ] Have set labels for release level

Til meg selv: Mye hardkoding av 1997-12-31 og 2030-01-01, gjør det enklere å endre disse limitene i fremtiden.

repo: statisticsnorway/barn-barnevern-xsd


text:
docs: improve README examples of lib/node_modules/@stdlib/constants/u…

Resolves #1566 .
Description

improve README examples of constants/unicode namespace

Related Issues

No

This pull request:

resolves #1566
fixes #1566

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[ ] Read, understood, and followed the contributing guidelines.
[ ] Searched for existing issues and pull requests.
[ ] The issue name begins with RFC:

@stdlib-js/reviewers

Closing due to inactivity.

authors: BeastMasterGrinder Planeshifter

repo: stdlib-js/stdlib


text:
issue#1632 resolved

Resolves #1632
Description

What is the purpose of this pull request?

This pull request:

a
b
c

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #1632
fixes #1632

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[X] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

hey @kgryte can you please review this !!!!!!!!!!!!

I wanted to check if there are any issues affecting the merge of my pull request. If so, please let me know, and I'll be happy to make any necessary updates. @kgryte

@kgryte  waiting for your reply !!!

@kgryte  can you please review !!!

@kgryte waiting !!

hey @Planeshifter can you please review this !! its being a long time waiting for your reply !


text:
[SUGGESTION] Epic Games

Can we expect Epic Games support in the future? (Fortnite, Unreal Tournament, UE4, etc.)
Thanks!

Hi kuletxcore , this is completely dependent on Epic.
It is not possible to cache the Epic launcher because it uses HTTPS to download content. They would need to change to HTTP for downloads.

Hi,
This is covered in the FAQ. The container can cache any HTTP based service.
Unfortunately, Epic use HTTPS, so it's not possible to cache it.
Thanks,
Mintopia

authors: MikeTheGreek kuletxcore mintopia

repo: steamcache/generic


text:
对象流程使用同步的方式同步附件

防止附件记录生成但是附件并没有同步成功

当找不到附件时，有问题，须解决

repo: steedos/creator


text:
refactor of socket read method

moved unpacking read to AProtocol.php from Socket.php which makes more sense, because it requires Unpacker and already process readed buffer to signature and output
changed concept of return signature and output logic of this moved method
changed scheme variable from static to private and added setScheme method for Bolt
moved printHex method to Socket, where it's used

Implemented and tested on some projects.

repo: stefanak-michal/Bolt


text:
Bugfix number

please check

prease remove playground2.py

done

should be fixed

authors: jasminsternkopf stefantaubert

repo: stefantaubert/cmudict-parser


text:
Error when import on VRChat Project

I want use use this package in my VRChat world. Send and Recive OSC message to communicate with theatre stage.
But when I import package, There is some errors.
Assets\OscCore\Runtime\Scripts\Utility\OscAddressMethods.cs(33,10): error CS0433: The type 'Il2CppSetOptionAttribute' exists in both 'BlobHandles.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'VRC.Udon.VRCWrapperModules, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
Assets\OscCore\Runtime\Scripts\Utility\OscAddressMethods.cs(33,26): error CS0433: The type 'Option' exists in both 'BlobHandles.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'VRC.Udon.VRCWrapperModules, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
How can I resolve this?

You can't as this isn't what this project is for.

authors: juninjune rurre


text:
Eslint8 support

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Unit tests (npm test) were run locally and passed

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[x] Other (please describe): Drop Eslint 7 support, Add Eslint 8 support

What is the current behavior?

ATM the peerDeps clearly states this plugin is not compatible with the latest Eslint 8 and @typescript-eslint/eslint-plugin.
bug: decorator is not properly detected by eslint #60
bug: @stencil/no-unused-watch reporting errors after eslint v8 update #59
What is the new behavior?
This plugin now works with Eslint 8.

Does this introduce a breaking change?

[x] Yes
[ ] No

This PR drops support for Eslint 7.
Testing
First I updated the peerDeps and devDevs to latest and greatest (Eslint 8, latest @typescript/eslint-plugin) and I ran the unit tests -> all the tests failing, as expected.
Then I find all occurrences of  'ClassProperty ' with 'PropertyDefinition' and ran the unit tests again =>
all tests passed.
Then I finally used npm build followed by npm pack and used the tarball in a sample NX workspace here, the repository has a StencilJS library project and comes with Eslint 8 already configured. I did merely for a sanity check, all seems fine.

Hi team! I was wanted to kindly ask the maintainers to have a look, if possible. I have raised the MR 15 days ago, I was hoping for some feedback :) Thank you!

Any updates on this? Getting some annoying linter errors in the IDE because of #60 :)

Any updates on this? Getting some annoying linter errors in the IDE because of #60 :)

There is not a single thing I can do, unfortunately :(

Yeah, sorry. Wasn't aiming at you, specifically. Just wanted to bump this one for the powers that be to get notified. ;)

Hi @cezudas, I tried out your branch and while it is working with eslint8, it seems to be causing a bug
Specifically, it seems that it incorrectly marks props/methods decorated with any decorator (@Prop, @Method, @Listen, @Watch, @Event, @Element) as needing to have the private keyword added, which was not required before and actually conflicts with other rules @stencil/props-must-be-public and @stencil/methods-must-be-public

I think it's time to give a second try on this PR.
I created a branch where I updated all the dev dependencies and it seems to work fine.
I also created a build to test in my project and didn't see any new issues.
Do you guys need help to get this done?

@raphaelpor can you share the branch? the current branch is definitely causing issues for me (see my comment above) so it would be good to try out your branch too

@theo-staizen False alarm. I checked again my changes and I do get the same issues as you.
I will try to continue working on that to understand what's going on and see if I can come up with a solution.
Sorry for that.

Hello,
I was playing around with this and discovered that if I updated as follows:
@types/eslint: "8.4.10!
eslint: "8.31.0"
@typescript-eslint/parser: 5.48.1
@typescript-eslint/eslint-plugin: 5.48.1
that the own-props-must-be-private and props-muse-be-public tests were failing.
The changes I made to fix them are as follows and it seems from a first glance and resolving some of the aforementioned issues.
To view the changes I made : https://github.com/maldago/stencil-eslint
Let me know if I can do anything to help out.

Hello,
I was playing around with this and discovered that if I updated as follows:
@types/eslint: "8.4.10!
eslint: "8.31.0"
@typescript-eslint/parser: 5.48.1
@typescript-eslint/eslint-plugin: 5.48.1
that the own-props-must-be-private and props-muse-be-public tests were failing.
The changes I made to fix them are as follows and it seems from a first glance and resolving some of the aforementioned issues.
To view the changes I made : https://github.com/maldago/stencil-eslint
Let me know if I can do anything to help out.

Great @maldago! I will have a look next week and see if we can use then. Thanks 🙏

@maldago Big thanks for you comment. I checked your change and created a PR (#84) based on that.
I also tested it in a private project and everything seems to work as expected.
I will close this PR here since we can use the new one as way to move forward.
Thank you all for contributing. 🎉

authors: Bombo cezudas maldago raphaelpor theo-staizen

repo: stencil-community/stencil-eslint


text:
Jake: When you specify a license it only accepts those, when you spec…

…ify no license it accepts them all (or so I think).

👍

merge when green 😄

Changes Unknown when pulling 738aeb866b30dcf04f2a9dc50f04d4bbb434c1a8 on sni/remove-licence into ** on master**.

authors: coveralls dlemures stephanenicolas

repo: stephanenicolas/toothpick


text:
No srcset

I'm running into issues with the Grunt responsive_images_extender.
None of my srcset are set up in the build folder.
According to the readme documentation, it says that the default task code will set up the srcset directly from the image sizes created from the first responsive_images task. (which in my scenario adds 3img sizes in the build folder)
Although when I run it through the terminal with the following default config code:
grunt.initConfig({
  responsive_images_extender: {
    target: {
      options: {},
      files: [{
        expand: true,
        src: ['**/*.{html,htm,php}'],
        cwd: 'src/',
        dest: 'build/'
      }]
    }
  }

});

it doesn't work. I know that the html files do get processed as they show up in the build folder when I run the task. The terminal output also tells me they have been processed:
Running "responsive_images_extender:target" (responsive_images_extender) task
>> Processed 157 <img> tags

Am I misinterpreting the documentation and still need to do more configuring? Any feedback will be greatly appreciated.

After reviewing the project I was working on, I realized that it was the cwd: that was the problem as the build folder is on the same level as the src folder. It was reading the img from the wrong folder. Moved around my tasks so that it reads it in the right folder.


text:
iOS 7 manual copy file in target project problem

Hi all
I had followed the installation doc to setup https://github.com/stephencelis/SQLite.swift/blob/master/Documentation/Index.md#manual, but still build failed, I have not idea about this. And below is the problem. Any one met this before ?
ld: in '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libextension.dylib', missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libextension.dylib (2 slices) for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This doesn't appear to be related to SQLite.swift. Have you tried asking on Stack Overflow?

@taylor19882002 I'm going to close this ticket due to inactivity. I'll happily reopen it if you're still having trouble and can provide more information per the Contributing Guidelines.


text:
Multiple JOINS

Is it possible to do this select?
Select * from compra
left outer join local_loja on (compra.id_local_loja_fk = local_loja.id_local_loja)
left outer join local on (local_loja.id_local_fk = local._id)
left outer join loja on (local_loja.id_loja_fk = loja._id)
Order by local.local_nome

I've tried this way:
let Tabela_Compra = try db?.prepare(
               " Select * from compra
left outer join local_loja on (compra.id_local_loja_fk = local_loja.id_local_loja)
left outer join local on (local_loja.id_local_fk = local.id_local)
 left outer join loja on (local_loja.id_loja_fk = loja.id_loja)
Order by local.local_nome")

I've tried this way too:
let Tabela_LL      = Table("local_loja");
let id_ll          = Expression<Int>("id_local_loja");
let id_local_fk    = Expression<Int>("id_local_fk");
let id_loja_fk     = Expression<Int>("id_loja_fk");

let Tabela_Local   = Table("local");
let id_local       = Expression<Int>("id_local");
let local_nome     = Expression<String>("local_nome");

let Tabela_Loja    = Table("loja");
let id_loja        = Expression<Int>("id_loja");
let loja_nome      = Expression<String>("loja_nome");

let Tabela_Compra = self.tbl_compra.join(.leftOuter, Tabela_LL, on: Tabela_LL[id_ll] == self.tbl_compra[id_local_loja_fk])
                                   .join(.leftOuter, Tabela_Local, on: Tabela_Local[id_local] == Tabela_LL[id_local_fk])
                                   .order(Tabela_Local[local_nome].desc)

I've tried this way too:
let LL = Table("local_loja").join(.leftOuter, Tabela_Local, on: Tabela_LL[id_local_fk] == Tabela_Local[id_local]);

let LLoja = Table("loja").join(.leftOuter, LL, on: LL[id_loja_fk] == Tabela_Loja[id_loja])

let Tabela_Compra = Table("compra").join(.leftOuter, LLoja, on: LLoja[id_ll] == self.tbl_compra[id_local_loja_fk]).order(LLoja[loja_nome])

for reg in try db!.prepare(Tabela_Compra)

Thank you folks in advance for attention. :)

Good morning colleague..
Unfortunately I have not been able to do this type of join yet.
best regards

duplicate of #689

authors: jberkel ricrio


text:
how to send Data from StepperAdapter to myStepsFragment ?

thanks for awesome third-party library :+1:
i was try to send data from StepperAdapter to fragment like this :
in my stepperAdapter :
switch (position){             case 0:                 final SetTitleFragment setTitleFragment = new SetTitleFragment();                 Bundle b1 = new Bundle();                 b1.putInt(CURRENT_STEP_POSITION_KEY,position);                 b1.putInt("id_from_adapter",10);                 setTitleFragment.setArguments(b1);                 return (Step) setTitleFragment;
in myStepperFragment :
Bundle bundle = new Bundle();
    if (getArguments() != null){
        int id = bundle.getInt("id_from_adapter");
        Toast.makeText(getActivity(),"id_edit = "+id,Toast.LENGTH_SHORT).show();
    }

but i not get the data. the toast result just 0 or NULL
how to do ? please tell me
Thanks

I also need help on the same issue

Hi,
Sorry for not responding sooner.
Could you please explain where you're setting these arguments and where you're reading them in the fragment?

in myStepperFragment :
Bundle bundle = new Bundle();
if (getArguments

This seems a bit suspicious to me i.e. why would you create a new bundle in the Fragment?
Passing the position to each fragment can be done as in the sample app:
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/adapter/StepperFeedbackFragmentStepAdapter.kt
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/step/fragment/StepperFeedbackStepFragment.kt

My question was actually this - How do i best pass data across 2 stepper fragments?

There's a sample in the sample app which you might have a look at:
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/PassDataBetweenStepsActivity.kt
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/adapter/PassDataBetweenStepsFragmentStepAdapter.kt
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/step/fragment/PassDataBetweenStepsFirstStepFragment.kt
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/step/fragment/PassDataBetweenStepsSecondStepFragment.kt

authors: jumaallan yudikarma zawadz88

repo: stepstone-tech/android-material-stepper


text:
feature request: disabling conform for a filetype

Did you check existing requests?

[X] I have searched the existing issues

Describe the feature
I use uncrustify to format my c++ source code and since this formatter is not yet available, I wondered if it would be possible to disable this pluging for a certain ft.
Provide background
No response
What is the significance of this feature?
cannot use this plugin without it
Additional details
No response

I managed to make uncrustify work.


text:
Pulse Width Modulation

Being able to dim / slow components would be cool. I have no idea how to go about doing it.

Gross. Literally just toggling really fast. https://github.com/larsks/raspberry-gpio-python-code/blob/6d62222bd5384eb2dc2ed13065ea28dcb506cc67/source/soft_pwm.c#L90-L114

I can work on this if this project is still in development?

The .NET IOT device bindings library has a software PWM implementation that we can wrap.
A quick demo found that the high precision setting is needed for smooth (aka not stepped) transitions and to prevent flickering, but this pins a high priority thread at 100%. That means full RGB LED control would use 75% of a Raspberry Pi's CPU.
60Hz seems acceptable from a visual standpoint, though we may want to double that to 120Hz for those with acute vision, if going with high precision; without high precision, 120Hz flickers.
using System.Device.Pwm.Drivers;

var running = true;

var pwm = new SoftwarePwmChannel(26, 1, 0, true);
pwm.Start();

while (running)
{
	var key = Console.ReadKey();
	switch (key.Key)
	{
		case ConsoleKey.UpArrow:
			pwm.DutyCycle += 0.01;
			break;
		case ConsoleKey.DownArrow:
			pwm.DutyCycle -= 0.01;
			break;
		case ConsoleKey.RightArrow:
			pwm.Frequency += 1;
			break;
		case ConsoleKey.LeftArrow:
			pwm.Frequency -= 1;
			break;
		case ConsoleKey.Q:
			running = false;
			break;
	}

	Console.WriteLine($"On: {pwm.DutyCycle:P0} % / Freq: {pwm.Frequency,10} Hz");
}

pwm.Stop();
Console.WriteLine("Done!");
pwm.Dispose();

Implemented in v2.0-beta.2 via IPinInterface.Strength -- docs and helpers coming by v2.0 final

repo: stevedesmond-ca/SimpleGPIO


text:
Allow using phpcbf to enable automatically fixing minor items

PHP Code Beautifier and Fixer can be used to automatically fix many common or minor issues and would be great as an additional option.

Ooh, good call! I'm not a fan of that becoming the default behavior, but considering it's swapping out an executable (that's already present, as it comes in with PHP_CodeSniffer) it wouldn't be difficult to add a --phpcbf (or similar) flag to the installer to copy use that program in the hook instead.

I'm not a fan of that becoming the default behavior

Agreed. A tool should never automatically modify someone's code. It should provide feedback and instruction to help them modify it themselves, whether done using a tool or an editor.
Please consider closing this issue if there is no follow-up action to be done here.

I'm going to lean on keeping this out of WP Enforcer, but there's a section within the adding to an existing project section of the README that covers phpcbf usage.

authors: bswatson jhabdas stevegrunwell

repo: stevegrunwell/wp-enforcer


text:
question_mark is stable as of 1.14.0

This broke my build over at
https://travis-ci.org/rust-unofficial/too-many-lists/builds/169379688
cc https://github.com/rust-unofficial/too-many-lists/pull/60

This repo is intended to be an in-tree copy of the code that's actually in the rust-lang/rust repo, could you do that instead? I don't want them to diverge. It should be mostly just copying the files over.

Oops, you probably wrote that down and I proceeded not to read it... Fixing there!

authors: edunham steveklabnik

repo: steveklabnik/rustbook


text:
dft code for aiida incompatible with janus

If we need to do a training workflow using aiida-quantumespresso (dft optimisation with qe --> training with janus), we need to add aiida-quantumespresso to the dependencies of aiida-mlip (or at least have it installed at the same time as janus cause we need to use both).
The problem is that janus and aiida-qe have some dependencies conflict:
And because janus-core (0.6.1b0) depends on seekpath (>=2.1.0,<3.0.0)
 and janus-core (0.6.2) depends on seekpath (>=2.1.0,<3.0.0), janus-core (>=v0.6.0b0,<0.7.0) requires seekpath (>=2.1.0,<3.0.0).
And because aiida-quantumespresso (>=4.6.0,<5.0.0) requires seekpath (>=1.9.3,<2.0) (1), aiida-quantumespresso (>=4.6.0,<5.0.0) is incompatible with janus-core (>=v0.6.0b0,<0.7.0)

Can we change the version of seekpath in janus-core?
Should I use another dft code?
Other solutions?

For context, seekpath is an optional dependency for phonopy which allows plotting the phonon band structure.
I haven't seen anywhere where they explicitly state which versions are compatible, so it may be possible to change our requirements to resolve the conflict.
Given that seekpath 2.0 has been out for more than four years, I'd rather avoid downgrading if possible though.

authors: ElliottKasoar federicazanca

repo: stfc/janus-core


text:
Allow the bot to run in its own bubble

We should allow the bot to be running in its own bubble, independent of any other trades you're doing. When you set the max amount to trade with to 0.2 BTC it should only use its maximum amount of 0.2 BTC. If you make a loss on a trade and only have 0.18 BTC left it should only use that 0.18 BTC for a next trade. Also when selling e.g. ETH for a trade it is currently doing it should not sell any other ETH you have on your account.
This way any profit above 0.2 BTC is also automatically considered profit since it's not being used again. A setting might be added to toggle this behaviour to use profits in next trades.

This is fixed on develop by creating a Trader object that manages its own trades and money pool.

repo: sthewissen/Mynt


text:
'EncodedData' does not conform to expected type 'Sequence'

When trying to save EncodedData to a file I get the following error.
Argument type 'EncodedData' does not conform to expected type 'Sequence'
This is the code I'm using:
let encoder = BinaryEncoder()
if let encoded = try? encoder.encode([String]()) {
  FileManager.default.createFile(atPath: "export.bin", contents: Data(encoded))
}

I see the same result in both an iOS project and a Linux project. Any help would be appreciated.

I see my issue. You don't have a tag for beta 3 so CocoaPods/SPM don't see the latest changes, I'll pull directly from master.

@jdrobert 👍 Let us know if that does not fix it.  If it does not, I'll take a look.

@jdrobert Update: I created a tag for 1.0.0-beta.3 and also released it to CocoaPods.

authors: jdrobert tonystone

repo: stickytools/sticky-encoding


text:
Extract Model Checking from CREST into own package

I think it would be better in the long run to extract the TCTL + timed Kripke part from CREST and provide it as its own package.
This would make it reusable and extendable.
Who knows, maybe other people want to join it, too?

Kickstarting the project here:
https://github.com/stklik/pyTCTL

repo: stklik/CREST


text:
per metric mask

Hi,
unless I missed something, it is not possible now to use one mask per metric (only one mask per stage is possible).
Right know it seems I can specify a single mask that will be applied to all metric and a  metric-wise (but global) weight.
I work on multimodality registration and I know that some of the modalities are better in some known region than other. So I would like to specify a different "weight image" for each metric.
For the command line syntax, the weight parameter that is already present in the metric specification could accept either a scalar or a weight image.
is it possible, to add this feature ?
Michaël

I agree that the proposed modification would be useful for certain cases.  And it's definitely possible.  We can certainly leave this as a 'to-do' item but, honestly, the code overhaul would be quite extensive and so I don't foresee it getting done anytime soon.

I completely understand
thanks

you can do a work around via the following observation :
if the metric is roughly linear then you can apply weights to the images
directly.
e.g.  w * < i - j, i -j > = < w * i - w * j, i - j >
would recommend working out the math but that's the basic idea
brian
On Tue, Sep 20, 2016 at 4:20 PM, sdika notifications@github.com wrote:

I completely understand
thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTs/issues/360#issuecomment-248421927, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfqBvZ42qYvtexoqJuEzK_0s6XR0Nks5qsEAcgaJpZM4KBUqF
.

that indeed works to incorporate the weight in the metric.
However, the nonlinear deformation makes it problematic:
w^2(x) || I(T(x)) - J(x) ||^2 = || w(x)I(T(x)) - w(x)J(x) ||^2
multiplication by w would approximate w(x)I(T(x)) by w(T(x))I(T(x))
for strong deformations, I don't think the approximation would be valid,
thanks anyway

authors: ntustison sdika stnava

repo: stnava/ANTs


text:
🛑 Zweiradwerke is down

In 7a95e65, Zweiradwerke (https://zweiradwerke.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zweiradwerke is back up in 1fcc2cb after 5 minutes.

repo: stoamandl/upptime


text:
Doesn't render correctly with screen(window manager)

When using screen the window/terminal session manager the displayed graph doesn't render correctly.
Supporting screen would be useful so Chia Harvest Graph could be left running in the background on a full-node machine.

For now, a work-around is to use tmux.

authors: Craftplorer stolk

repo: stolk/chiaharvestgraph


text:
Proceed with deploying other components if one fails

Issue: https://github.com/stolostron/backlog/issues/20782
Signed-off-by: Jakob Gray 20209054+JakobGray@users.noreply.github.com

/lgtm

authors: JakobGray ray-harris

repo: stolostron/backplane-operator


text:
ACM-3122 Use PF TrashIcon

Signed-off-by: Kevin Cormier kcormier@redhat.com
Before:

After:

/cc @jeswanke

repo: stolostron/console


text:
ACM-5163 Fix resource count in the topology for 2.7

https://issues.redhat.com/browse/ACM-5163

Fix cluster scoped resource to not rely on a static list
Fix resource count when deploying to multiple clusters

Putting on hold for 2.7.5 stream to open.


text:
Fix external edit alert

https://github.com/stolostron/backlog/issues/18976

/hold

/unhold

repo: stolostron/grc-ui


text:
Added API updates

categories

Friends Search
Leaderboard
Problem Search

@raj454raj, please review

repo: stopstalk/stopstalk-deployment


text:
Extend CLI with --publish flag option configurable

Is your feature request related to a problem? Please describe.
As we see the publish: true is enabled in CLI (https://github.com/storyblok/field-plugin/blob/main/packages/cli/src/commands/deploy/helper.ts#L83C7-L83C21), this it is not possible to push an update of the Plugin in draft level, thus it gets instantly published, which may not align with the way teams may use it in CI automations.
Describe the solution you'd like
It should be possible to define --publish false (though by default it is enabled, that is fine), so the release process would be 2 steps:

CI automation pushes new version of plugin after monorepo project tag creation in "draft" level
Release manager or QA makes sure the plugin is as expected
Manually publish a certain version to go live.

Describe alternatives you've considered
No alternatives, we have to be sure the version we push is the one we want to appear on production, thus there is no doublecheck step or other flows possible.
Additional context
Severity: minor.

Hi @edvinasjurele, thanks for your feature request! We've implemented a small improvement in the latest version of @storyblok/field-plugin-cli (v1.4.0).
The deploy command now includes a --no-publish option, which applies when updating an existing field plugin. While the initial creation still auto-publishes the plugin, you can now save changes without publishing by running:
npx @storyblok/field-plugin-cli@latest deploy --no-publish

Feel free to reach out if you have any questions. I'm happy to help!

authors: BibiSebi edvinasjurele

repo: storyblok/field-plugin


text:
ES6 in webpack configuration file

Currently, I had an existing ES6 webpack config file. Then I can't load alias rules to react-storybook.
Do we have any solution for this?

is duplicated with https://github.com/storybooks/react-storybook/issues/155

Thank you!, I'd love to do this, can we close this issue so there's no duplicate? The other issue has more detailed information in it.

authors: ndelangen vinhlh

repo: storybooks/react-storybook


text:
addon-knobs: Failed prop type: Invalid prop knob.value of type array supplied to ObjectType, expected object

The documentation for the object knob states:
Allows you to get a JSON object or array from the user.
But I get an error in console that it expects only an object:
Failed prop type: Invalid prop knob.value of type array supplied to ObjectType, expected object
The rendering still works correctly, so am assuming something is wrong in the prop type check
This is with the latest version

If you'd like to open a PR for this, we'd really appreciate it.

Looks like it was fixed a few days ago so should be in the 3.3 release: https://github.com/storybooks/storybook/pull/2227
Apologies, did do a search but didn't find anything originally, will close.

Yeah, that's actually fixed twice =D #1701 #2227
So the fix included in 3.3.0-alpha.3 and will be included in 3.2.15

Glad I didn't fix it a third time! ;-)  Thanks folks!

authors: Hypnosphi cuzzins danielduan

repo: storybooks/storybook


text:
Option to select an addon panel && rename selectedDownPanel to selectedAddonPanel

Issue: #811
we had selectedDownPanel option in our UI module but it wasn't available by setOptions
What I did
Allow to set selectedDownPanel by setOptions.
Now it's possible to select the spesific addon panel this way:
setOptions({ selectedDownPanel: 'storybook/notes/panel' })

You need to pass a panel ID to select a panel (same value that you pass to addons.addPanel())
If you don't know the ID you can pass anything and find in the console output the list of all registered
panels
How to test
run cra-kitchen-sink
Check out "Button" section. Selecting stories with different addons you'll see appropriate addon panels auto selected
Try to pass null or something else.

selectedAddonPanel maybe?

Done!
I guess in glamorous components we'll rename all "down" to "addon" and "left" -> "stories"

For the record (for those googling selectedAddonPanel)
it was moved to addons.setConfig({ selectedPanel }) on v5:
https://storybook.js.org/docs/configurations/options-parameter/

authors: Hypnosphi UsulPro matheo


text:
brandImage to occupy 100% of the width of

If you go:

addParameters({
	options: {
		theme: create({ brandImage: 'https://cdn.something/my-image.svg' })
	}
});

The <Img/> has no width or height, nor does <Brand/> or <BrandArea/>. As they're all three display: block, we can safely tell it to occupy 100% the height, and 100% the width of their parents. Because they do, <Img/> will stretch 100% of the height of <Head/>, and width auto.
Tested this with your own logo: _https://storybook.js.org/images/logos/logo-storybook.svg_, rather than use <Logo/>.

@maraisr thanks for this PR, I want to merge it, but some snapshots need to be updated, would you be able to update them?

Are you able to help me with what commands to run to do this? Running a yarn test and selecting, "Update all snapshots" is just producing alot of errors that follow this:
Cannot find module '@storybook/addons' from 'index.js'

I have rebased from upstream/next

@ndelangen those snapahots have been updated! Thank you!

That force push there, was just a rebase onto upstream/next.

authors: maraisr ndelangen


text:
heroku deployed strapi using postgres addon: api token needs to be reset on each build

There is a problem with the api token needing to be reset on each rebuild, which is not practical for production. Is this a known issue?

This is happening the same with a Digital Ocean deployment, using a Postgres database

Hello, please don't create several issues for the same thing. I'll close this and reopen #298 instead

authors: mark-tanser remidej

repo: strapi/gatsby-source-strapi


text:
[POS] Time syncing with peers

StratisX implements time syncing with peers, this is then used for POS block validation.
C# node does not do that at the moment, it needs to be ported.

 [POS] Time syncing with peers

repo: stratisproject/StratisBitcoinFullNode


text:
Add full Flask example in docs

Description
Just added some lines to make example of Flask integration copy-pastable.
Types of Changes

[ ] Core
[ ] Bugfix
[ ] New feature
[ ] Enhancement/optimization
[x] Documentation

Issues Fixed or Closed by This PR

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] ~I have added tests to cover my changes.~
[ ] ~I have tested the changes and verified that they work and don't break anything (as well as I can manage).~

Thanks for contributing to Strawberry! 🎉 You've been invited to join
the Strawberry GraphQL organisation 😊
You can also request a free sticker by filling this form: https://forms.gle/dmnfQUPoY5gZbVT67
And don't forget to join our discord server: https://strawberry.rocks/discord 🔥

authors: ArtemSBulgakov botberry

repo: strawberry-graphql/strawberry


text:
What's the meaning of useSlider's prop 'styles'  with the type CSSProperties

What is the current behavior?
I'm confused about the usage of styles prop in useSlider.
Code at:  https://github.com/streamich/react-use/blob/master/src/useSlider.ts#L16.
src/useSlider.ts
//  type declared
export interface Options {
  ...
  styles: boolean | CSSProperties;
}

// only used as a judge
const styles = options.styles === undefined ? true : options.styles;

if (ref.current && styles) {
  ref.current.style.userSelect = 'none';
}

As shown in the above code, could anyone tell me why CSSProperties are used ?

I think there should be a logical operator ( || ) instead of a bitwise OR operator ( | ).
Let's assume you are using the bitwise OR operator ( | ):
In this case, your answer will be in numbers.
However, if you are using the logical operator ( || ):
Case 1: When a boolean variable doesn't contain an undefined value,
the styles key takes a boolean as its value.
Case 2: When a boolean variable contains an undefined value,
the styles key automatically takes CSSProperties as its value.

authors: Shivanshu-Shrivastava rocketlyz

repo: streamich/react-use

license: Unlicense


text:
feat(usePrevious): reworked the hook, now it is more memory-efficient.

Description
Better to use two-variables exchange than useEffect with new
function on each render.
Type of change

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

Checklist

[x] Read the Contributing Guide
[x] Perform a code self-review
[x] Comment the code, particularly in hard-to-understand areas
[x] Add documentation
[x] Add hook's story at Storybook
[x] Cover changes with tests
[x] Ensure the test suite passes (yarn test)
[x] Provide 100% tests coverage
[x] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[x] Make sure types are fine (yarn lint:types).

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Hi, sorry to roll in like this but this PR was a mistake. The useEffect is necessary in cases where React renders multiple times before committing — something that it's within its rights to do, and something that the excellent <React.StrictMode> does on purpose to root out buggy side-effects like this.

authors: dcporter streamich xobotyi


text:
Refactor: Language selection disappears from homepage when returning to the page

[x] Make language selection persist on homepage

It isn't regularly visible once leaving it.
Here, the language selection appears on the first return to homepage but not on the second.
Same issue for desktop and mobile
https://github.com/user-attachments/assets/e8180508-219b-4bf7-8ccb-9861d92e73c4

@jbeard4 I want language selection to be available on all pages.

fixed otherwise


text:
UPdate user info when upgrading from Anonymous

If it's not possible to fiulter out anonymous users from the user create function. it would be good to have a function that at least updates the user object in Stripe when the user info in firebase auth is updated.

Solved via https://github.com/stripe/stripe-firebase-extensions/issues/94#issuecomment-723881364

authors: perryjsteward thorsten-stripe

repo: stripe/stripe-firebase-extensions


text:
res.send cause process exit without a catchable exception

I have encountered process exit with res.send which will not throw any exception when the res has been terminated by the peer server.
this can be reproduce again and again.
if i comment res.send, then the node process won't exit anymore.

I am having this issue as well with node 5.3 and express 4.13.3
        return res.status(err.status || 500).send((['development'].indexOf(process.env.NODE_ENV) !== -1) ? err : {message: 'something went wrong'});

Process finished with exit code 139

Hi you guys. Unfortunately trying that code snippet does not cause the app to exit for me. In order for us to take a look, please provide the following information:

What exact version of express are you using?
What exact version of Node.js are you using?
A full app we can copy and paste into a file and run that reproduces the issue.
The request to make to the app to reproduce the issue.

Without us being able to reproduce the issue or you providing a stack trace of an error, we would have to wait for you to provide a pull request to fix the issue, if there is an issue in express.

I did some more digging and oddly, it only seems to do it for me when I run with --debug node flag.
This command does not exit:
PORT=3000 NODE_ENV=development NODE_PATH=. FORCE_COLOR=1 node server.js --color

While this one will exist after a res.status(500).send('whatever')
PORT=3000 NODE_ENV=development NODE_PATH=. FORCE_COLOR=1 node --debug server.js --color

Here's my middle ware:
   app.use(function (err, req, res, next) {
        // If the error object doesn't exists
        if (!err) {
            return next();
        }

        // Log it
        logger.error(err);
        if (err.stack) {
            logger.error(err.stack);
        }

        // Error page
        return res.status(err.status || 500).send((['development'].indexOf(process.env.NODE_ENV) !== -1) ? err : {message: 'something went wrong'});
    });

And here is a test API that crashes for me:
    app.route('/api/test').get(function(req, res, next) {
        return next({'message':'test error'});
    });

And here is my terminal output:
error:
{ message: 'test error' }
Segmentation fault: 11

Ah, a "Segmentation fault: 11". This is a Node.js bug, not an express bug. The way node.js works is that there is no way to cause this, so encountering one means there is something very wrong going on in the node.js core code. Can you open an issue against node.js, link here, and help them with reproducing?

Looks like it has already been reported: https://github.com/nodejs/node/issues/4382

Awesome!  Thanks for the help on this.

No problem! Sounds like it should be addressed in 5.3.1 or 5.4.0, which ever comes first.

@dougwilson I am using v4.2.3.
and it doesn't have stack trace when exit.

and debug is not enabled for me.

authors: calidion devourment77 dougwilson

repo: strongloop/express


text:
Improve color mapping for lines on charts

Across sparklines and details charts, particularly on the profile v2 page and the STAR charts, it'd be simpler for users if the colors for line charts had a consistent meaning.  The STAR charts encode the change across the visible range with color (eg., red is regression, blue is growth), so this might be a good starting point for all charts.

@sentientmachine started taking a look at this last night!

Plan: Of the charts that show in the v2 student page, the color of the charts should be a smooth gradient between red and blue to indicate an overall assessment of how good this rise is relative to the rise of the other students.  That way if you see an increasing diagonal line that's green, you can know that this is the best of the group, if a decreasing diagonal line is green then that decline is the "smallest loser", otherwise if red it's the "worst of all users, who are also declining".

The rest of the plan is simple, fly to the moon, shrink the moon, grab the moon....

:moon: :full_moon_with_face: :smile:

I've got the date of the leftmost position.  I was able to get the indexes of the points to its left and right, and I was able to get the values of the points left and right.  Next is to get the percentage the date is between the two dates, and then apply that same ratio to the y values to get the final leftmost y value.  Then compare that to the rightmost value and apply a gradient between green and red for how much it goes up.

@sentientmachine nice!  :+1:

I'm done with all the changes, I'm trying to do a git push to push my branch, but I get an authentication error:
fatal: unable to access 'https://github.com/studentinsights/studentinsights.git/
We'll get it sorted out tuesday.

@sentientmachine nice!  Yeah I think this is from trying to push to the main Student Insights repo.
So I think what you'll need to do is:

Fork this repo, using the button in the upper right of the GitHub UI.
Add your fork (eg., https://github.com/sentientmachine/studentinsights) as a new remote repository to  your local git repository, using the command line git commands on your machine.
Push the work on the branch in your local repository to your GitHub fork.
Then submit a pull request through the GitHub UI from your fork to the main Student Insights repo.

I can take a look at this with you on Tuesday too if you want.  Thanks for all your help!

Need to improve the color schemes from red to gray and from gray to blue.   Don't color the discipline right charts.

authors: kevinrobinson sentientmachine

repo: studentinsights/studentinsights


text:
[6148] Implemented avatars and updating xml file.

Implemented avatars and updating xml file.
Bugzilla:
https://bugzilla.stxnext.pl/show_bug.cgi?id=6148
Gist:
https://gist.github.com/GrzegorzDerdak/f89cfe96d0a9156edfa4

I don't see xml file with users. It should be commited too.

authors: GrzegorzDerdak dpolcyn


text:
How to change asset URLs?

Looking for functionality similar to https://github.com/postcss/postcss-url but I don't believe styled-components works w/ postcss.
Anyone have a solution?

We don’t have compile time plugin support and likely won’t have it anytime soon — If ever. Sorry for that! We like to keep things focused ;)
Instead you could write a small helper function that does this for you? Babel-plugin-preval could even help you with compile time checks and path resolution

cc @mxstbr do you have more ideas by any chance?

I'll check out preval, thanks for the direction.

@philpl @mxstbr Is there a better way to do this?

authors: OutThisLife philpl

repo: styled-components/styled-components


text:
Trying to remount a styled-component based on React key prop

Environment
System:

OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Memory: 1.59 GB / 7.96 GB

Binaries:

Node: 8.11.3 - C:\Program Files\nodejs\node.EXE
npm: 5.6.0 - C:\Program Files\nodejs\npm.CMD

Dependencies

"styled-components": "^4.2.0",
"react": "^16.8.3"
"react-dom": "^16.8.3"
"react-reveal": "^1.2.2"

Reproduction
https://codesandbox.io/s/88mnqo5rz8
Steps to reproduce
I'm looking for a way to remount my component, so I can have animations when the image src changes. I'm using the React key prop to force a remount.
Expected Behavior
I can do it with a straight <img> tag and a key prop.
I would like to do the same with my styled component <S.Carousel_IMG key={selected}> .
S.Carousel_IMG = styled.img``;

Actual Behavior
I don't get the remount and the animation doesn't happen on image src change.
<S.Carousel_IMG key={selected}>
Note: the component ImageCarousel is re-rendering because the {selected} image src is being stored on state.
Is there a way to force React to re-mount a styled component on key props change?

This is probably an issue with react-reveal. Styled components are remounted on key prop change as I have found out in further testing. Therefore, I'm closing this.


text:
Separated selectors generate empty component class name

Hi!
I'm working on a project where we're using styleguidist together with styled-components to present our components and then reference that library in our app to use the components. I've now run in to an issue that only occurs in the app, but not in the styleguidist project.
Environment
System:

OS: macOS 10.15
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 243.12 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash

Binaries:

Node: 12.10.0 - ~/.nvm/versions/node/v12.10.0/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.11.3 - ~/.nvm/versions/node/v12.10.0/bin/npm

npmPackages:

babel-plugin-styled-components: ~1.10.6 => 1.10.6
styled-components: ~4.3.2 => 4.3.2

The component
This is an icon component and the code is supposed to add a margin to the side of it, if it's 1) preceded by anything else and 2) inside a CTA button/CTA link component.
The code looks like this:
const IconWrapper = styled.span<IIconWrapperProps>`
  ${CTALink} * ~ &,
  ${CTAButton} * ~ & {
    [dir="ltr"] & {
      margin-left: ${sizeCalc()};
    }

    [dir="rtl"] & {
      margin-right: ${sizeCalc()};
    }
  }
`

Expected Behavior
The CSS code being generated in the styleguidist project looks like this:
[dir="ltr"] .CTALink-sc-1uvchy5-0 * ~ .gmSsLu,
[dir="ltr"] .CTAButton-sc-5jwiqv-0 * ~ .gmSsLu {
    margin-left: 8px;
}

Actual Behavior
In the app, this is the CSS code:
[dir="ltr"] .sc-gqjmRU * ~ .dQRngX,
[dir="ltr"] * ~ .dQRngX {
    margin-left: 8px;
}

As you can see, it leaves out the CSS class name on the second line for the CTAButton component. At first, I thought this would be because the CTAButton isn't used on the specific page, but it is (as well as the CTALink).
I have tried to not to separate them by a comma (i.e. ${CTALink} * ~ & {…} and ${CTAButton} * ~ & {…}), without any difference.

What does console.log(CTAButton) output in both cases? It looks like the Babel plugin is not applied in the failing case (although that shouldn't matter)?

What does console.log(CTAButton) output in both cases? It looks like the Babel plugin is not applied in the failing case (although that shouldn't matter)?

Let me know if I should expand any parts here:

styleguidist
app

I tried turning off the babel-plugin-styled-components in the styleguidist project, and it still renders renders correctly in that project.

Huh this definitely looks like it should work in both cases 🤔🤔🤔

Huh this definitely looks like it should work in both cases 🤔🤔🤔

I know, right? Any other ways I could troubleshoot this, to your knowledge?

Really need a reproduction to be able to help in some way

Closing due to age of issue, lack of addressability, or lack of reproduction.

authors: kitten mxstbr ourstudio-erikblomqvist probablyup


text:
Example for create media

Hi!
Can you give me some example for create media, please ?
I try but not success :(.

I've been struggling with the same; I've managed to get the filename to show up in the wordpress media library but there is no data stored with it.
wp.create_media(headers={'Content-Disposition': 'attachment; filename="1037659601.jpg'}, data=open(filePathToImage).read().encode('base64'))
Any help from the creators would be nice.

Hi @droustchev do you think you can help us?

Hi @AjayAjaal @JonhNathan987456,
Thanks for your feedback. Unfortunately I'm not able to provide support for these issues at the moment. I'm not sure if @droustchev would have time either.
At the time that we wrote this wrapper, the JSON API was a plugin for Wordpress, and we only supported Basic Auth for authentication. Since version 4.7, the plugin was added to core Wordpress, and I don't think Basic Auth works any more. I believe we need to update this lib to work for 4.7, and for that I would need to also support a different form of authentication.
In short, I'm not sure it makes sense for us to troubleshoot these issues until that underlying problem is fixed, which may take some time.

@AjayAjaal, I tried uploading a file via curl, but have the same issue as you. I wasn't able to figure out how the WP API expects file uploads. If you can provide a curl command that works or a link to some documentation from WP, I can see what needs to be changed in the wrapper. Here is what I tried:
curl -v -u {WP_USER}:{WP_PASSWORD} -H "Content-Disposition: attachment; filename=test.jpg" -d {BASE64_ENCODED_FILE} -X POST http://{WP_HOST}/wp-json/wp/v2/media

#17  can help you!

@happyraul any news?

I'll block some time next week to work on this library.

authors: AjayAjaal JonhNathan987456 droustchev happyraul mahnunchik zodman

repo: stylight/python-wordpress-json


text:
[ci-skip] Add note in the README to refer to user's version for available methods

Lot of people assume that all methods in the README on master branch are available. Examples are #496 and #505. Add a small note upfront saying that they should refer to README of their version and not the master branch.
Closes https://github.com/stympy/faker/issues/496 and https://github.com/stympy/faker/issues/505

+1

authors: kakakakakku tejasbubane

repo: stympy/faker


text:
How to logout the user?

I can't find any documentation anywhere on how to log the user out. Could you provide guidance?

You have go to the profile and slode down then you will see tha option of sign out click on it and logout tha user........

What I meant was programmatically. By the way, the solution is client.session.revoke()


text:
austin/oauth: add figma, snpachat, tiktok, twitter

add enum/interfaces for new oauth providers
Note none of them were added to StytchDemo/Client/Shared/OAuthAuthenticationView.swift, so to consider there
Completes SDK-690

Going to go ahead and merge these and will fix the demo app afterward — thanks again for the help!

authors: austin-stytch dan-stytch

repo: stytchauth/stytch-swift


text:
改訂履歴更新

https://docs.swift.org/swift-book/RevisionHistory/RevisionHistory.html

@stzn やりまっす💪

@jollyjoester
こちら進捗いかがでしょうか？お忙しければ引き取ります！

@stzn うわすみません！失念していました🙏この土日目処に実施させてください！

authors: jollyjoester stzn

repo: stzn/the-swift-programming-language-jp


text:
🛑 Cubari (NHentai) is down

In f9aecc5, Cubari (NHentai) (https://cubari.moe/read/nhentai/381867/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 8127 ms

Resolved: Cubari (NHentai) is back up in 866308c after 5 minutes.

repo: subject-f/cubari-status-page


text:
🛑 Guya.moe Proxied is down

In c95fa2f, Guya.moe Proxied (https://ice.guya.moe/) was down:

HTTP code: 521
Response time: 144 ms

Resolved: Guya.moe Proxied is back up in 58f5d49 after 19 minutes.

repo: subject-f/guya-status-page


text:
Lime 222, CS Audit

Description
Removed the onlyCreditLineLender modifier as it was declared, but never used. So, removing it can lead to gas saving.
Integration Checklist

[ ] Run existing tests and make sure no tests break
[ ] Compare gas savings using gasReport.md

Change Log
An unused modifier was removed from Credit Lines

Codecov Report

Merging #220 (2671f01) into master (6aaf59a) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #220      +/-   ##
==========================================
+ Coverage   15.95%   15.97%   +0.01%
==========================================
  Files          16       16
  Lines        1736     1734       -2
  Branches      321      320       -1
==========================================
  Hits          277      277
+ Misses       1459     1457       -2

Impacted Files
Coverage Δ

contracts/CreditLine/CreditLine.sol
9.88% <ø> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-commenter saxenism


text:
Fix/gopls 1.1x support

What
Fixes support for Golang versions 1.15 and below.
Note
Gopls only supports the last 2 versions of go and attempts to prevent breaking changes for the last 4 versions

This how now been tested on:
Windows: Golang 1.16
Windows: Golang 1.15
MacOS: Golang 1.16
MacOS: Golang 1.15

Fixes #9

@ofen if you could test before we merge and cut a release that would be awesome. As you are running 1.13 which is the last version gopls will possible support

Traceback (most recent call last):
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/windows.py", line 354, in start_async
    transport = create_transport(transport_config, transport_cwd, session)
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 252, in create_transport
    process = start_subprocess()
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 241, in start_subprocess
    return _start_subprocess(config.command, stdin, stdout, subprocess.PIPE, startupinfo, config.env, cwd)
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 323, in _start_subprocess
    cwd=cwd)
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] The system can not find the file specified。

SublimeLinter: WARNING: golangcilint output:
level=error msg="Running error: context loading failed: no go files to analyze"

WARNING:SublimeLinter.plugin.golangcilint:golangcilint output:
level=error msg="Running error: context loading failed: no go files to analyze"

subprocess

go version is : go version go1.15 windows/amd64

Traceback (most recent call last):
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/windows.py", line 354, in start_async
    transport = create_transport(transport_config, transport_cwd, session)
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 252, in create_transport
    process = start_subprocess()
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 241, in start_subprocess
    return _start_subprocess(config.command, stdin, stdout, subprocess.PIPE, startupinfo, config.env, cwd)
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 323, in _start_subprocess
    cwd=cwd)
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] The system can not find the file specified。

SublimeLinter: WARNING: golangcilint output:
level=error msg="Running error: context loading failed: no go files to analyze"

WARNING:SublimeLinter.plugin.golangcilint:golangcilint output:
level=error msg="Running error: context loading failed: no go files to analyze"

go version go1.15 windows/amd64

@TheSecEng Hi! Commit abb9f616f0fab48047d190fda97c1deef46f989a works on Ubuntu 20.04.2 LTS, Sublime Text 4 Build 4113, go1.13.8 (https://github.com/sublimelsp/LSP-gopls/issues/9#issuecomment-955673875). I tested auto-completion, format-on-safe and some minor things like jump-to-definition and LGTM. There is also new exception in console after each plugin reload that could be bug (?).
reloading python 3.3 plugin LSP-gopls.plugin
Traceback (most recent call last):
  File "/home/user/.config/sublime-text-3/Installed Packages/LSP.sublime-package/plugin/core/windows.py", line 540, in _update_panel_main_thread
    panel.run_command("lsp_update_panel", {"characters": characters})
  File "/opt/sublime_text/Lib/python33/sublime.py", line 1312, in run_command
    sublime_api.view_run_command(self.view_id, cmd, args)
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 1490, in run_
    self.view.end_edit(edit)
  File "/opt/sublime_text/Lib/python33/sublime.py", line 1273, in end_edit
    sublime_api.view_end_edit(self.view_id, edit.edit_token)
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 924, in on_modified
    run_view_callbacks('on_modified', view_id)
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 708, in run_view_callbacks
    callback(v, *args)
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 152, in profiler
    return event_handler(*args)
  File "/home/user/.config/sublime-text-3/Installed Packages/AutoFileName.sublime-package/autofilename.py", line 162, in on_modified
    sel = view.sel()[0].a
  File "/opt/sublime_text/Lib/python33/sublime.py", line 1020, in __getitem__
    raise IndexError()
IndexError
reloading python 3.3 plugin LSP-gopls.plugin
Traceback (most recent call last):
  File "/home/user/.config/sublime-text-3/Installed Packages/LSP.sublime-package/plugin/core/windows.py", line 540, in _update_panel_main_thread
    panel.run_command("lsp_update_panel", {"characters": characters})
  File "/opt/sublime_text/Lib/python33/sublime.py", line 1312, in run_command
    sublime_api.view_run_command(self.view_id, cmd, args)
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 1490, in run_
    self.view.end_edit(edit)
  File "/opt/sublime_text/Lib/python33/sublime.py", line 1273, in end_edit
    sublime_api.view_end_edit(self.view_id, edit.edit_token)
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 924, in on_modified
    run_view_callbacks('on_modified', view_id)
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 708, in run_view_callbacks
    callback(v, *args)
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 152, in profiler
    return event_handler(*args)
  File "/home/user/.config/sublime-text-3/Installed Packages/AutoFileName.sublime-package/autofilename.py", line 162, in on_modified
    sel = view.sel()[0].a
  File "/opt/sublime_text/Lib/python33/sublime.py", line 1020, in __getitem__
    raise IndexError()
IndexError

@ofen that's a bug in AutoFileName. It should not assume that there is always a selection in the view.

Traceback (most recent call last):
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/windows.py", line 354, in start_async
    transport = create_transport(transport_config, transport_cwd, session)
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 252, in create_transport
    process = start_subprocess()
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 241, in start_subprocess
    return _start_subprocess(config.command, stdin, stdout, subprocess.PIPE, startupinfo, config.env, cwd)
  File "E:\Programming\sublime_text_4100\Data\Installed Packages\LSP.sublime-package\plugin/core/transports.py", line 323, in _start_subprocess
    cwd=cwd)
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] The system can not find the file specified。

SublimeLinter: WARNING: golangcilint output:
level=error msg="Running error: context loading failed: no go files to analyze"

WARNING:SublimeLinter.plugin.golangcilint:golangcilint output:
level=error msg="Running error: context loading failed: no go files to analyze"

go version go1.15 windows/amd64

This seems line an issue with LSP? IDK there is nothing in this error that I can interpret. But the LSP devs should be able to tell?

FileNotFoundError: [WinError 2] The system can not find the file specified。

This seems line an issue with LSP? IDK there is nothing in this error that I can interpret. But the LSP devs should be able to tell?

It means that the constructed command contains path that doesn't exist.

@jingyuexing can you confirm that the gopls binary was actually installed into the ${storage_path}/LSP-gopls/bin/ folder

@jingyuexing can you confirm that the gopls binary was actually installed into the ${storage_path}/LSP-gopls/bin/ folder

yes,i'm sure,I even installed it manually

yes,i'm sure,I even installed it manually

it looks like it should work better with latest changes?

Haven't tested but it looks good. (just some minor nits)

😂😂

yes,i'm sure,I even installed it manually

it looks like it should work better with latest changes?

i'm haven't test it

yes,i'm sure,I even installed it manually

it looks like it should work better with latest changes?

The same error message as before, "File not found"

yes,i'm sure,I even installed it manually

it looks like it should work better with latest changes?

if using the default config from LSP, working fine, but LSP-gopls will report information:"can't find the file"

LSP: starting ['E:\\Programming\\sublime_text_4100\\Data\\Package Storage/LSP-gopls/gopls'] in I:\Code\go\Study_GO
Unable to start subprocess for gopls
Traceback (most recent call last):
  File "./python3.3/subprocess.py", line 1104, in _execute_child
FileNotFoundError: [WinError 2] The system can not find the file specified。

look like is directory wrong: Package Storage/LSP-gopls/gopls ,but the real path is Package Storage/LSP-gopls/bin/gopls

LSP: starting ['E:\Programming\sublime_text_4100\Data\Package Storage/LSP-gopls/gopls']

LSP: starting ['E:\Programming\sublime_text_4100\Data\Package Storage/LSP-gopls/gopls']

I moved the file to the Package Storage/LSP-gopls directory, everything is normal

LSP: starting ['E:\Programming\sublime_text_4100\Data\Package Storage/LSP-gopls/gopls']

I moved the file to the Package Storage/LSP-gopls directory, everything is normal

What are your LSP-settings?
Zach Schulze
On Nov 1, 2021, 4:17 PM -0700, jingyuexing @.***>, wrote:

LSP: starting ['E:\Programming\sublime_text_4100\Data\Package Storage/LSP-gopls/gopls']
I moved the file to the Package Storage/LSP-gopls directory, everything is normal
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

What are your LSP-settings? Zach Schulze
…
On Nov 1, 2021, 4:17 PM -0700, jingyuexing @.***>, wrote: > LSP: starting ['E:\Programming\sublime_text_4100\Data\Package Storage/LSP-gopls/gopls'] I moved the file to the Package Storage/LSP-gopls directory, everything is normal — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
My custom config is：

"gopls": {
            "enabled": false
 },

The default config is:
"gopls": {
      "command": [
        "gopls"
      ],
      "selector": "source.go",
    },

What are your LSP-settings? Zach Schulze
…
On Nov 1, 2021, 4:17 PM -0700, jingyuexing @.***>, wrote: > LSP: starting ['E:\Programming\sublime_text_4100\Data\Package Storage/LSP-gopls/gopls'] I moved the file to the Package Storage/LSP-gopls directory, everything is normal — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

My custom config is：
"gopls": {
            "enabled": false
 },

The default config is:
"gopls": {
      "command": [
        "gopls"
      ],
      "selector": "source.go",
    },

Your default config is wrong.
It should be
  "command": [
    "${storage_path}/LSP-gopls/bin/gopls"
  ],

authors: TheSecEng jingyuexing ofen rchl

repo: sublimelsp/LSP-gopls


text:
Support psycopg3

It appears psycopg3 returns bytes by default.

I, thank you for you contrib
I approve the PR to run tests, if you want to improve test matrix to keep new lines covered

Honestly, I'm not sure where to right write the coverage test.

replaced by #42

authors: nitrag submarcos

repo: submarcos/django-vectortiles


text:
Passing individual kubeconfigs to subctl verify does not seem to work

What happened:
With the recent changes to kubeconfig handling in subctl, when we try running subctl verify ... passing individual kubeconfigs is not working. However, if we use the new format (--context and --tocontext) it works fine.
[sgaddam@localhost to-del]$ subctl verify ../sgaddam-gcp-spoke2/auth/kubeconfig ../sgaddam-aws-spoke1/auth/kubeconfig --only connectivity,service-discovery --verbose
subctl verify with kubeconfig arguments is deprecated, please use --context and --tocontext instead
Performing the following verifications: connectivity, service-discovery
Running Suite: Submariner E2E suite
===================================
Random Seed: 1667810922
Will run 40 of 44 specs

STEP: Creating kubernetes clients
Failure [240.860 seconds]
[BeforeSuite] BeforeSuite
github.com/submariner-io/shipyard@v0.14.0-rc2/test/e2e/e2e.go:42

  Failed to find submariner-gateway DaemonSet for "sgaddam-gcp-spoke2". No DaemonSet found
  Unexpected error:
      <*errors.errorString | 0xc0001dcb60>: {
          s: "timed out waiting for the condition",
      }
      timed out waiting for the condition
  occurred

  github.com/submariner-io/shipyard@v0.14.0-rc2/test/e2e/framework/framework.go:563
------------------------------

Ran 40 of 0 Specs in 240.860 seconds
FAIL! -- 0 Passed | 40 Failed | 0 Pending | 0 Skipped

subctl version: v0.14.0-rc2

Working scenario:
[sgaddam@localhost to-del]$ subctl verify --context sgaddam-gcp-spoke2 --tocontext sgaddam-aws-spoke1 --only connectivity,service-discovery --verbose
Performing the following verifications: connectivity, service-discovery
Running Suite: Submariner E2E suite
===================================
Random Seed: 1667809977
Will run 40 of 44 specs

STEP: Creating kubernetes clients
STEP: Creating lighthouse clients
STEP: Creating submariner clients
[dataplane-globalnet] Basic TCP connectivity tests across overlapping clusters without discovery when a pod connects via TCP to the globalIP of a remote service when the pod is not on a gateway and the remote service is not on a gateway

...
...

Ran 25 of 44 Specs in 605.046 seconds
SUCCESS! -- 25 Passed | 0 Failed | 0 Pending | 19 Skipped

Environment:

Cloud provider or hardware configuration: OCP 4.11 on GCP Cloud
Install tools: subctl version 0.14.0-rc2

Verified this on a KIND based setup with 0.14.0-rc3 subctl image and it works fine.

repo: submariner-io/subctl


text:
Revert "Add .mdignore file, ignore apis/vendor dir"

This reverts commit cd6ad9c9f9d5431c9b6410f92a4c68ad2dc6a6e1.
Shipyard's markdownlint ignores all vendor directories, so we don't
need to specify this in other projects.
Signed-off-by: Stephen Kitt skitt@redhat.com

Sorry, I should have marked the original as a draft to avoid it being merged while the related tooling was still being improved. :pray:

repo: submariner-io/submariner-operator


text:
Use helm install submariner， how to Run the verification

What happened:
Follow https://submariner.io/operations/deployment/helm/ to install.
Three clusters I have ,  one is host cluster , the other two cluster is member.
Installed  broker and subctl  on host cluster , submariner-operator  on two member clusters.
KUBECONFIG=member1-config:member2-config subctl verify --kubecontexts member1,member2 --only service-discovery,connectivity --verbose
Performing the following verifications: service-discovery, connectivity
Running Suite: Submariner E2E suite
===================================
Random Seed: 1660631360
Will run 37 of 41 specs

STEP: Creating kubernetes clients
STEP: Creating lighthouse clients
Failure [240.028 seconds]
[BeforeSuite] BeforeSuite
github.com/submariner-io/shipyard@v0.13.0/test/e2e/e2e.go:42

  Failed to find Clusters to detect if Globalnet is enabled. No Cluster found
  Unexpected error:
      <*errors.errorString | 0xc0002148b0>: {
          s: "timed out waiting for the condition",
      }
      timed out waiting for the condition
  occurred

  github.com/submariner-io/shipyard@v0.13.0/test/e2e/framework/framework.go:517
------------------------------

Ran 37 of 0 Specs in 240.044 seconds
FAIL! -- 0 Passed | 37 Failed | 0 Pending | 0 Skipped
[] E2E failed

subctl version: v0.13.0

install values.yaml
---
submariner:
  clusterId: "xxx"
  clusterCidr: "xxx"
  serviceCidr: "xxx"
  images:
    repository: private-repo/submariner
    tag: "0.12.2"
broker:
  server: "${SUBMARINER_BROKER_URL}"
  token: "${SUBMARINER_BROKER_TOKEN}"
  namespace: "submariner-broker"
  ca: "${SUBMARINER_BROKER_CA}"
ipsec:
  psk: "${SUBMARINER_PSK}"
operator:
  image:
    repository: private-repo/submariner/submariner-operator
    tag: "0.12.2"
gateway:
  image:
    repository: private-repo/submariner/submariner-gateway
    tag: "0.12.2"

on member cluster
kubectl get pods -n submariner-operator
NAME                                            READY   STATUS    RESTARTS   AGE
submariner-lighthouse-agent-6dd4bc9b4b-ft6cq    1/1     Running   0          3h15m
submariner-lighthouse-coredns-8bf8fccdb-92kpd   1/1     Running   0          3h15m
submariner-lighthouse-coredns-8bf8fccdb-gxpxs   1/1     Running   0          3h15m
submariner-operator-d4cd68cb9-4qdv5             1/1     Running   1          3h15m
submariner-routeagent-8mwrh                     1/1     Running   0          3h15m

Cloud provider or hardware configuration:
Install tools:  helm3  submariner-k8s-broker-0.12.2.tgz  submariner-operator-0.12.2.tgz
Others:

I  find https://github.com/submariner-io/submariner/issues/1926#issuecomment-1191276554  and  add label submariner.io/gateway=true  to the node in two clusters.
And the gateway pod CrashLoopBackOff
+ trap 'exit 1' SIGTERM SIGINT
+ export CHARON_PID_FILE=/var/run/charon.pid
+ CHARON_PID_FILE=/var/run/charon.pid
+ rm -f /var/run/charon.pid
+ SUBMARINER_VERBOSITY=2
+ '[' false == true ']'
+ DEBUG=-v=2
++ cat /proc/sys/net/ipv4/conf/all/send_redirects
+ [[ 0 = 0 ]]
+ exec submariner-gateway -v=2 -alsologtostderr
I0816 07:52:38.140355       1 main.go:93] Starting the submariner gateway engine
W0816 07:52:38.142494       1 client_config.go:608] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0816 07:52:38.145015       1 main.go:115] Creating the cable engine
E0816 07:52:58.164530       1 public_ip.go:81] Error resolving public IP with resolver api:api.ipify.org : retrieving public IP from https://api.ipify.org: Get "https://api.ipify.org": dial tcp: lookup api.ipify.org on 172.17.7.2:53: read udp 172.17.7.155:39744->172.17.7.2:53: i/o timeout
E0816 07:53:18.167455       1 public_ip.go:81] Error resolving public IP with resolver api:api.my-ip.io/ip : retrieving public IP from https://api.my-ip.io/ip: Get "https://api.my-ip.io/ip": dial tcp: lookup api.my-ip.io on 172.17.7.2:53: read udp 172.17.7.155:53572->172.17.7.2:53: i/o timeout
E0816 07:53:38.178138       1 public_ip.go:81] Error resolving public IP with resolver api:ip4.seeip.org : retrieving public IP from https://ip4.seeip.org: Get "https://ip4.seeip.org": dial tcp: lookup ip4.seeip.org on 172.17.7.2:53: read udp 172.17.7.155:56368->172.17.7.2:53: i/o timeout
F0816 07:53:38.178181       1 main.go:267] Error creating local endpoint object: Unable to resolve public IP by any of the resolver methods: [api:api.ipify.org api:api.my-ip.io/ip api:ip4.seeip.org]
github.com/submariner-io/submariner/pkg/endpoint.getPublicIP
        github.com/submariner-io/submariner/pkg/endpoint/public_ip.go:85
github.com/submariner-io/submariner/pkg/endpoint.GetLocal
        github.com/submariner-io/submariner/pkg/endpoint/local_endpoint.go:89
main.main
        command-line-arguments/main.go:125
runtime.main
        runtime/proc.go:225
runtime.goexit
        runtime/asm_amd64.s:1371
could not determine public IP
github.com/submariner-io/submariner/pkg/endpoint.GetLocal
        github.com/submariner-io/submariner/pkg/endpoint/local_endpoint.go:91
main.main
        command-line-arguments/main.go:125
runtime.main
        runtime/proc.go:225
runtime.goexit
        runtime/asm_amd64.s:1371

I  find https://github.com/submariner-io/submariner/issues/1649  and add annotate gateway.submariner.io/public-ip=ipv4
Now all the check is well for member clusters
subctl  diagnose all --kubeconfig member1-config
Cluster "default"
 ✓ Checking Submariner support for the Kubernetes version
 ✓ Kubernetes version "v1.19.5+k3s2" is supported

 ⚠ Checking Submariner support for the CNI network plugin
 ⚠ Submariner could not detect the CNI network plugin and is using ("generic") plugin. It may or may not work.
 ✓ Trying to detect the Calico ConfigMap

 ✓ Checking gateway connections
 ✓ All connections are established

 ✓ Non-Globalnet deployment detected - checking if cluster CIDRs overlap
 ✓ Clusters do not have overlapping CIDRs
 ✓ Checking Submariner pods
 ✓ All Submariner pods are up and running

 ✓ Checking Submariner support for the kube-proxy mode
 ✓ The kube-proxy mode is supported

 ✓ Checking the firewall configuration to determine if the metrics port (8080) is allowed
 ✓ Skipping this check as it's a single node cluster

 ✓ Checking the firewall configuration to determine if intra-cluster VXLAN traffic is allowed
 ✓ Skipping this check as it's a single node cluster

 ✓ Globalnet is not installed - skipping

Skipping inter-cluster firewall check as it requires two kubeconfigs. Please run "subctl diagnose firewall inter-cluster" command manually.

verify still get error
KUBECONFIG=member1-config:member2-config subctl verify --kubecontexts member1,member2 --only service-discovery,connectivity --verbose
Performing the following verifications: service-discovery, connectivity
Running Suite: Submariner E2E suite
===================================
Random Seed: 1660638382
Will run 37 of 41 specs

STEP: Creating kubernetes clients
STEP: Creating lighthouse clients
STEP: Creating submariner clients
[dataplane-globalnet] Basic TCP connectivity tests across overlapping clusters without discovery when a pod connects via TCP to the globalIP of a remote service when the pod is not on a gateway and the remote service is not on a gateway
  should have sent the expected data from the pod to the other pod
  github.com/submariner-io/submariner@v0.13.0/test/e2e/dataplane/tcp_gn_pod_connectivity.go:35
STEP: Creating namespace objects with basename "dataplane-gn-conn-nd"
STEP: Generated namespace "e2e-tests-dataplane-gn-conn-nd-tzc2l" in cluster "member1" to execute the tests in
STEP: Creating namespace "e2e-tests-dataplane-gn-conn-nd-tzc2l" in cluster "member2"
STEP: Deleting namespace "e2e-tests-dataplane-gn-conn-nd-tzc2l" on cluster "member1"
STEP: Deleting namespace "e2e-tests-dataplane-gn-conn-nd-tzc2l" on cluster "member2"

• Failure in Spec Setup (BeforeEach) [0.017 seconds]
[dataplane-globalnet] Basic TCP connectivity tests across overlapping clusters without discovery
github.com/submariner-io/submariner@v0.13.0/test/e2e/dataplane/tcp_gn_pod_connectivity.go:28
  when a pod connects via TCP to the globalIP of a remote service [BeforeEach]
  github.com/submariner-io/submariner@v0.13.0/test/e2e/dataplane/tcp_gn_pod_connectivity.go:58
    when the pod is not on a gateway and the remote service is not on a gateway
    github.com/submariner-io/submariner@v0.13.0/test/e2e/dataplane/tcp_gn_pod_connectivity.go:65
      should have sent the expected data from the pod to the other pod
      github.com/submariner-io/submariner@v0.13.0/test/e2e/dataplane/tcp_gn_pod_connectivity.go:35

      Error creating namespace &Namespace{ObjectMeta:{e2e-tests-dataplane-gn-conn-nd-tzc2l      0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[e2e-framework:dataplane-gn-conn-nd pod-security.kubernetes.io/audit:privileged pod-security.kubernetes.io/enforce:privileged pod-security.kubernetes.io/warn:privileged] map[] [] []  []},Spec:NamespaceSpec{Finalizers:[],},Status:NamespaceStatus{Phase:,Conditions:[]NamespaceCondition{},},}
      Unexpected error:
          <*errors.StatusError | 0xc0000300a0>: {
              ErrStatus: {
                  TypeMeta: {Kind: "", APIVersion: ""},
                  ListMeta: {
                      SelfLink: "",
                      ResourceVersion: "",
                      Continue: "",
                      RemainingItemCount: nil,
                  },
                  Status: "Failure",
                  Message: "namespaces \"e2e-tests-dataplane-gn-conn-nd-tzc2l\" already exists",
                  Reason: "AlreadyExists",
                  Details: {
                      Name: "e2e-tests-dataplane-gn-conn-nd-tzc2l",
                      Group: "",
                      Kind: "namespaces",
                      UID: "",
                      Causes: nil,
                      RetryAfterSeconds: 0,
                  },
                  Code: 409,
              },
          }
          namespaces "e2e-tests-dataplane-gn-conn-nd-tzc2l" already exists
      occurred

      github.com/submariner-io/shipyard@v0.13.0/test/e2e/framework/framework.go:473
------------------------------

repo: submariner-io/submariner


text:
Styling

TOC should have more consistent line-height, in Metadata sections should not be underlined
General spacing in the article, font sizes etc.
Improve card layout (spacing between the cards)
Improve UX for abstract editing (currently it's confused with body editing)

Suggestion to improve usability of fields that are not part of the body.

For all editable 'fields' that are not part of the body, we display a grey background to indicate that field. We can use that for abstract, title and footnotes
Think it is ok to have some elements being not editable (like the Abstract heading, or the authors list) we just should not show an edit cursor, and show a pointer cursor instead.
we can apply the same visual language to the cards in the metadata panel as well (focus of an input field means we color it grey)

repo: substance/texture