text:
Suport VoteLogCard in Mobile (and some related fixes)

This pull request is for #87
Changes

Extract .container's width as a variable, and use it to calculate width of VoteLogCard
Fix vote proportion bar (top element in VoteLogCard) overflowing caused by borders' of zero-width child. -> I tried my best to make these bars still represent its proportions accurately.
I took the liberty to change vote proportion bar's colors to match the design. If this is not what you intent, I separate the commit for the possible revert.

Screenshot
Mobile

Desktop

w/ Color Change

Thanks!

Looks good to me @mixth

authors: mixth rapee

repo: codeforthailand/politician-directory


text:
Improved Before/After handling for Commands

Handle Before and After of Command without handling it as subCommand if there is no subCommand.

Apologies for the delay, this looks good and feels more consistent. Thank you for the contribution @blaubaer!

source: gharchive/pull-request

authors: blaubaer jszwedko

repo: codegangsta/cli

license: mit

license_type: permissive

license_source: bigquery


text:
Create comparison

The comparison of ours and CycleGAN

repo: codehxj/Sym-GAN

license: MIT

license_source: github-api


text:
[Forge] Missing: Means of adding indexes on existing tables

The Forge class currently may only add indexes during table creation. We need a way to allow Forge (and thus migrations) to add indexes.

+1 for this. I came here to report the same thing.

https://github.com/codeigniter4/CodeIgniter4/pull/6676 closes this

Beautiful! Thanks so much @sclubricants 🏆

source: gharchive/issue

authors: MGatner neilsf sclubricants


text:
[DEV] Enhancements to dev workflows

Description

Run actions only on main repo
Add phpstan analysis to precommit
Strictly check only for PHP files ending in .php. Will exclude .phpcs, .php_cs, etc.
Run linting if there are PHP files to check

Checklist:

[x] Securely signed commits

I deliberately left the syntax-check workflows in place for non-organization repos, since they don't require any special permissions and may catch some of these errors before they run against our Action. I think it is fine to leave them there, unless you have a compelling reason not to?

Nice work on the PHPStan precommit! I think that will help catch a lot of issues before they hit us.

I deliberately left the syntax-check workflows in place for non-organization repos, since they don't require any special permissions and may catch some of these errors before they run against our Action. I think it is fine to leave them there, unless you have a compelling reason not to?

My reason I think is not so compelling -- just for the bit of consistency with other actions.

Let's leave them running then. I think it is probably not common that they trigger on an individual's repo but in the rare cases it does it could catch something helpful.
Idea, what if we update the branches restriction to be "not master" (have to research this, maybe !master?) so when people are pushing to their feature branches it will trigger the syntax checks?

Looking at test-phpstan.yml I notice that we are missing the Composer cache in that one. It should use the same build as test-phpunit.yml so we want them to use the same cache. Could you please add that section to this PR? I think it is a logical place to do it.

authors: MGatner paulbalandan


text:
Fix routes options to be recognizable via used HTTP request method

Description
This PR fixes routes options to be recognizable via used HTTP request method. Right now routes options are shared - one instance per route. It leads to problems like: wrong named route name returned or firing incorrect filter.
I don't think this will introduce any BC, rather will fix buggy behavior, but if anyone notices the problem please let me know.
Fixes #3700
Fixes #3733
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPdocs
[x] Unit testing, with >80% coverage
[ ] N/A User guide updated
[x] Conforms to style guide

Thanks for your code suggestions guys.

👍 i was writing a bug report just at this moment and saw the merge while digging for the buggy code 🎆

authors: element-code michalsn


text:
Convert variable type to int if it was an integer fixes #5688

Fixes #5688
Description
convert any variable that is a number to int type, so errors like #5688 doesn't happen.
Checklist:

[ ] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@rfikree92 Thank you for sending this PR.
Some GitHub Action checks failed.
First, please fix coding style. See
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#php-style
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#static-analysis-on-php-code
And fix and add unit tests.
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#unit-testing

I think the following test cases are needed:
'02471'
'1337e0'
" 42"
"42 "

https://www.php.net/manual/en/function.is-numeric.php#refsect1-function.is-numeric-examples


text:
[4.5] config: update env

Description

delete items that are not expected to change with the environment

Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[] User guide updated
[] Conforms to style guide

For some reason, this PR is incredibly popular!


text:
fix: TypeError for routes when translateURIDashes is enabled

Description
This pull request addresses a TypeError that occurs in CodeIgniter 4 when the translateURIDashes property is set to true in the Routes.php configuration file and an OPTIONS route is defined using a closure. The error message indicates that the str_replace() function receives a Closure instead of the expected string or array.
Related Issue:
Fixes #9208
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Can you add a test?

@maniaba Sorry, I forgot about it earlier, but a changelog entry would be nice too 😅 https://github.com/codeigniter4/CodeIgniter4/blob/develop/user_guide_src/source/changelogs/v4.5.6.rst

authors: maniaba michalsn


text:
feat: added revokeAccessTokenBySecret()

Description
After losing some tokens while i developed my app and i didnt want to remove all of the tokens i changed the revokeAccessToken to support removeing them by the secret that you can get with the AccessTokens() function.
superseded: #838
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

@WaaaghNL It's a little late for that, but why do you need to use secret instead of id?

@WaaaghNL It's a little late for that, but why do you need to use secret instead of id?

I used the secret to keep it inline with the function revokeAccessToken($rawToken) where you insert the raw token.

@WaaaghNL Thank you!

authors: WaaaghNL kenjis


text:
Extension host terminated unexpectedly

code-server version: Latest 1.408-vsc1.32.0
OS Version: Linux VM, Chrome 73.0.3683.86

Description
Tired to open the developer console in chrome. Lost connection to the socket and keeps on trying again and again.

It looks like working fine in local setup.

Please find the attachments for more details.
Steps to Reproduce

Deploy your code-server in Gcloud
Try to open your developer console (CMD + Shift + c)

same issue

@yogeshvar Do you know what version of linux your VM is running?

We have a fix for the socket disconnects, but it looks like the disconnects here were a result of the terminal spawn error. Thanks for reporting!

I too am getting the same error,
I cannot load or download any extensions too. I'm currently self-hosting it

@yogeshvar Do you know what version of linux your VM is running?

Yes, I use Linux version 4.15.0-1028-gcp

Same issue here, I'm using Ubuntu 18.04 on Digital Ocean.

I noticed that this issue goes away upon specifying the data directory.
./code-server --data-dir /root/code-server works fine but without the --data-dir argument code-server crashes within a few minutes of launch.

Same issue here, I'm using Ubuntu 18.04 on Vultr. After sometime it just crashes.

Same issue i am using Digital Ocean, following is the error i am getting on terminal

INFO  http://localhost:80/
INFO
INFO  Starting shared process [1/5]...
WARN  stderr {"data":"(node:1260) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\n"}
INFO  Starting shared process [2/5]... {"error":"Exited unexpectedly"}
WARN  stderr {"data":"(node:1274) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\n"}
internal/child_process.js:366
throw errnoException(err, 'spawn');
^

Error: spawn ENOMEM

at ChildProcess.spawn (internal/child_process.js:366:11)
at Object.spawn [as _spawn] (child_process.js:538:9)
at t.async (/home/travis/build/codercom/code-server/packages/server/out/cli.js:504:34598)
at e.exports (/home/travis/build/codercom/code-server/packages/server/out/cli.js:504:34099)
at e (/home/travis/build/codercom/code-server/packages/server/out/cli.js:504:32722)
at Timeout.u [as _onTimeout] (/home/travis/build/codercom/code-server/packages/server/out/cli.js:504:33015)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)

root@test-ubuntu-1-1:~/myapp# packet_write_wait: Connection to 206.189.228.176 port 22: Broken pipe

authors: Athul-CA karanwadhwa kondongx mertcancam muhammadomais niallobrien nol166 yogeshvar

repo: codercom/code-server


text:
content/conf: Add RTD theme github button

Review: does CI pass and is preview OK?

Works:
https://coderefinery.github.io/sphinx-lesson/branch/rkdarst--github-button/

repo: coderefinery/sphinx-lesson


text:
Add back serialize to unit test

Add back serialize.c to ensure the data we process is the same that was passed
Fixes #19

Codecov Report
Patch coverage: 93.18% and project coverage change: +0.19 :tada:

Comparison is base (8cc7327) 87.67% compared to head (92baa89) 87.86%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   87.67%   87.86%   +0.19%
==========================================
  Files          25       26       +1
  Lines        1209     1253      +44
==========================================
+ Hits         1060     1101      +41
- Misses        149      152       +3

Flag
Coverage Δ

unittests
87.86% <93.18%> (+0.19%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/transaction/serialize.c
90.62% <90.62%> (ø)

unit-tests/test_tx_parser.c
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter coderofstuff

repo: coderofstuff/app-kaspa


text:
Upgraded Code for Product Pop Up Section

Hello @codervivek5 ,
I have added the ultimate code to fix those bug which are happening previouosly so.
What I have Fixed ?

Code Quality Increase
Product Section Pop Elements and the Buttons
Footer Adjustment
Linked Unlinked html & css
Optimized DarkMode

Screenshot -
Screencast from 02-08-23 12:30:59 AM IST.webm
It is super ready to Merge
Good Label Will Really Appreaciated

close the issue related to this PR

can you fix the close button location....make it even to the corner side>>
if you can fix it then raise a new issue and tell me I will assign it to you

@codervivek5 Okay got it I'm raising a PR for the issue no #751 I'll fix this in this PR


text:
how to make "uri_ignore_words_list" work ?

we use codespell in haproxy, I tried to ignore uri:
https://github.com/chipitsine/haproxy/commit/5e2fd695debdb8d9bee853cd98d0121c5942f8cb
uri are still detected:
https://github.com/chipitsine/haproxy/actions/runs/3670466510/jobs/6205020701
particularly

text is
    >>> Aug  9 20:30:46 localhost \
          haproxy[2022]: 127.0.0.1:34020 [09/Aug/2004:20:30:46] proxy-out \
          proxy-out/cache1 0/0/0/182/+182 200 +279 - - ---- 0/0/0/0/0 0/0 \
          {w.ods.org||} {Formilux/0.1.8|3495|||} \
          "GET http://trafic.1wt.eu/ HTTP/1.1"

Agreed this seems to be a bug as the wildcard isn't working as expected. Specifying it manually works as you'll see here:
https://github.com/peternewman/haproxy/actions/runs/3671097944/jobs/6206070167
But you'll need to ignore the word in the GitHub workflow file then.
I believe the underlying codespell wildcard works, so this is probably something to do with how we're handling it in the Action. If you want to switch to using a config file, I suspect that will fix it too:
https://github.com/codespell-project/codespell#using-a-config-file

it is not documented how to use config with actions, is that possible?

any update on this ?

authors: chipitsine peternewman shipitsin-ilia

repo: codespell-project/actions-codespell


text:
DuckDuckGo Code Corrected

Kindly Checkout The Code And If This Works Well Then Kindly Merge The Pull Request @hiteshkumar8642 Thanks For The Project I Really Loved This Project

Please attach working screenshots for your changes

@codewithnick Sure bro am providing the screenshots in a while. But If You Liked my Work Please Merge It Brother😇😇

Ya @codewithnick brother it's Running Fine I Have Checked Twice. Please Merge It. I My Meeting I will Provide You Screenshots if it not runs on your pc So kindly test it please
Thank You For This Oppertunity😇

@codewithnick bro am not able to attach the screenshot i think some issues are their in your end?

hi @Ratikant-rout  the page parameter does not work like you have added in your code

please check this,
even after adding page param in the payload i am still getting results of page 1
try to take up any other issue if you do not understand this

@codewithnick Let Me Try Once More If This Works Then Well And Good If Not Then I Will Switch To Next Issues

Sure

You can open new issues too, for example add new searchengine

@codewithnick check out the Final commit that might work for your code SHA CODE:- ea4fc14335162677d839fc7b22c5f393f4e0c598

@codewithnick CheckOut The Final Check Pass Only. SIH CODE:- 099b57879976ef9577e1ab5f58d9113855b5ddd2

Looking Forward Am Also Trying To Add A Search Engine @codewithnick Thanks For The opportunity.😇

@codewithnick Thanks For The Appreciation If Possible Kindly Correct The code and merge It. I Am Thinking To Move Towards Making A New Search Engine.

authors: Ratikant-rout codewithnick

repo: codewithnick/searchenginepy


text:
Enhance Math4Python README for Better Clarity and Engagement (Hacktoberfest)

Description:
The current README provides an overview of Math4Python, but it can be improved for better clarity, engagement, and structure. The following enhancements are proposed:

Reorganize the content for better flow, making it easier to understand the platform's purpose and how to contribute.
Enhance feature descriptions by adding more detailed explanations on how each feature benefits users.
Add contribution guidelines to encourage community involvement, outlining steps for creating new lessons, designing coding challenges, fixing bugs, and proposing new features.

Additionally, please assign me this task as part of Hacktoberfest as I would love to contribute, and kindly add the Hacktoberfest labels to the issue.

may i work on this issue

may i work on this issue

hi there, you can work on it if it isn't completed in 2 days ya :)

@codingkatty, I have made the changes and created the PR, please check it and let me know if anything else is needed.

repo: codingkatty/mathpylearn


text:
Make GnuCash Android available outside of Google store

Could you please make the .apk available on the official website for direct download ?
Using GooglePlay requires a Google account which not everyone is willing to register.
Thanks in advance.

https://github.com/codinguser/gnucash-android/releases

Thanks! See #493 for giving this information in the README (which I did read :)

authors: codinguser strk

repo: codinguser/gnucash-android


text:
updated Polish translations

new labels
fixed plurals
replaced few ... with …

Thanks :+1:

authors: codinguser thesebas


text:
Missing .env file?

I tried run the app, but, i see this message:

Hi,
You have to rename the .env.example file to .env and make sure you set the dataBase credentials correctly. I suggest you to visit the laravel documentation at https://laravel.com or if you want video tutorial you can check the https://laracasts.com.

Thankx @codrin-axinte .
You will make a documentation of this cms?
You make a great tool bro.
Congratz :D

I will write some documentation, well at least for installation for now.

authors: MagnusIIIBR codrin-axinte

repo: codrin-axinte/Eve-Corp


text:
Reminder scheduler

Description
Create the component as shown in the video attached below.
Animation Preview

Screenshot/Video:

https://github.com/user-attachments/assets/f747531a-c2d1-40a5-9801-4248439fa757

[!NOTE]
Please refer to the Animata contributing guidelines available here for rules on how to contribute to the project. Let us know in the comments if you’re working on this issue, and feel free to ask any questions!

Requirements

Create a new animated component that matches the provided design.
Add example usage of the component in the documentation or storybook.

 Guidelines & Best Practices

Write reusable and clean code following the project’s style guide.
The component should be fully customizable. The user should be able to modify props such as duration, easing, color, and size where applicable.
Follow the Contributing Guidelines before submitting your pull request.

[!IMPORTANT]
To ensure more contributors have the opportunity to participate, we kindly request that:

Each contributor submits only one pull request related to this issue.
If you're interested in working on this issue, please comment below. We will assign the issue on a first-come, first-served basis.

Additional Resources
Posted on X by: https://x.com/OleksandrPlyuto/status/1841781439529926759

[!Tip]
Join our Discord community if you need help or have any questions. We're here to help you get started and guide you through the process. Join now

hey i would like to work on this. can you please assign this to me.

@prince981620 Done

Hi @prince981620
I hope you're doing well! Since it's been a while since this issue was assigned, I wanted to check in and see if you're still planning to work on it. If so, could you kindly share an update by tomorrow?
If I don't hear back by then, I’ll unassign the issue to allow others to take it up.
Thanks for your understanding!

@prince981620 No worries at all! Closing this now. Thanks for the update!

repo: codse/animata


text:
README for blade.indexerpostprocessor

https://issues.liferay.com/browse/LRDOCS-2893, Cody, I just provided a README fo the gradle project. This was before the recent reorg, as well. Let me know if there's more I should do with this (duplicate for all build types? add to liferay-docs as an article?) before you want to see it. cc @lipusz

Thanks, Russ! This should be fine. I typically replicate the Readme for all build types once I've reviewed. There's a handy Gradle task to do this in the repo (gw replicateSources), so it's pretty easy.
I'll try and take a look at this tomorrow. Thanks!

authors: codyhoag rbohl

repo: codyhoag/liferay-blade-samples


text:
chore: release v0.6.19

:robot: I have created a release beep boop
0.6.19 (2024-04-08)
What's Changed

chore: update deprecated property in .goreleaser.yaml by @coffeebeats in https://github.com/coffeebeats/gdenv/pull/238
fix(mirror): disable retries when checking if a mirror is valid by @coffeebeats in https://github.com/coffeebeats/gdenv/pull/240

Full Changelog: https://github.com/coffeebeats/gdenv/compare/v0.6.18...v0.6.19

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/coffeebeats/gdenv/releases/tag/v0.6.19 :sunflower:

repo: coffeebeats/gdenv


text:
ENH: add quick_tree, distance_matrix to new Alignment

Summary by Sourcery
Add new methods 'distance_matrix' and 'quick_tree' to the Alignment class for calculating pairwise distances and generating phylogenetic trees, respectively. Enhance the 'get_translation' method with a 'name_map' parameter. Introduce comprehensive tests for the new methods and sequence renaming functionality.
New Features:

Introduce the 'distance_matrix' method to calculate pairwise distances between sequences in an alignment, with options for different calculators and handling of invalid data.
Add the 'quick_tree' method to generate a phylogenetic tree from an alignment, with support for bootstrapping and handling of invalid data.

Enhancements:

Improve the 'get_translation' method by adding a 'name_map' parameter to better handle sequence naming.

Tests:

Add tests for the 'distance_matrix' method to ensure correct calculation of pairwise distances, including handling of invalid data.
Introduce tests for the 'quick_tree' method to verify the generation of phylogenetic trees and the handling of bootstrap replicates.
Enhance tests for sequence renaming in the 'iter_seqs' method and the 'get_translation' method to ensure correct functionality.

Pull Request Test Coverage Report for Build 11788201486
Details

40 of 43 (93.02%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 92.162%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_alignment.py
35
38
92.11%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/maths/scipy_optimize.py
2
84.92%

Totals

Change from base Build 11785511276:
-0.003%

Covered Lines:
33770

Relevant Lines:
36642

💛  - Coveralls

authors: KatherineCaley coveralls


text:
Tests failed to run in main's default state due to a misplaced dependency, transformers.  This PR fixes the issue my moving the dep into the main project dependencies so the module can be installed at docker image build time.
End result: make run-community works after cloning and initializing (make first-run) the repository.
This PR does NOT address the broken community tests.

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

@ClaytonSmith can you sign you commits? See: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

it looks the the pytest are failing due changes i made that i think are related. ill take a look at this 👀

@ClaytonSmith we merged a fix for this, thanks for contributing this!

authors: CLAassistant ClaytonSmith scott-cohere tianjing-li

repo: cohere-ai/cohere-toolkit


text:
Require "temporal/version" so Temporal::VERSION can be referenced

I ran across this after pulling the latest SHA.  This fixes #237 for me when I use this branch.

This is similar to a PR I just created at https://github.com/coinbase/temporal-ruby/pull/241, but I think mine is more correct since it more tightly scopes the require to only where it's strictly needed. What do you think? Does my version also allow you to load?

I would also go with #241.

Closing this since it's been fixed with #241

Closed because it's been fixed with #241

authors: DeRauk bmorton jeffschoner mjameswh

repo: coinbase/temporal-ruby


text:
Unreadable block problems and payout not sent to wallet

@oliverw .. I get a bit of a problem from the results of miningcore v.4-1 operations for 2x24 hours and in the work report there are unreadable block problems, payments that are not sent to the wallet.
For more details, log:
Info Log minigcore.v41:

[2018-10-26 20:21:53.7036] [I] [digibyte-scrypt] Detected new block 7557225 via Job-Refresh
[2018-10-26 20:21:53.7036] [I] [digibyte-scrypt] Broadcasting job
[2018-10-26 20:21:53.7684] [I] [dogecoin] Broadcasting job
[2018-10-26 20:21:54.7971] [I] [digibyte-scrypt] [0HLHR6CK1T3PV] Share accepted: D=7.308
[2018-10-26 20:21:56.7141] [I] [digibyte-scrypt] Broadcasting job
[2018-10-26 20:21:56.7786] [I] [dogecoin] Broadcasting job
[2018-10-26 20:21:58.4053] [I] [digibyte-scrypt] Detected new block 7557226 via RPC polling
[2018-10-26 20:21:58.4053] [I] [digibyte-scrypt] Broadcasting job
[2018-10-26 20:21:59.5062] [I] [PayoutManager] Processing payments for pool dogecoin
[2018-10-26 20:21:59.5062] [I] [PayoutManager] No updated blocks for pool dogecoin
[2018-10-26 20:21:59.5141] [I] [PayoutManager] No balances over configured minimum payout for pool dogecoin
[2018-10-26 20:21:59.5141] [I] [PayoutManager] Processing payments for pool digibyte-scrypt
[2018-10-26 20:21:59.5141] [I] [PayoutManager] No updated blocks for pool digibyte-scrypt
[2018-10-26 20:21:59.5141] [I] [PayoutManager] No balances over configured minimum payout for pool digibyte-scrypt
[2018-10-26 20:21:59.7221] [I] [digibyte-scrypt] Broadcasting job
[2018-10-26 20:21:59.7851] [I] [dogecoin] Broadcasting job
[2018-10-26 20:22:02.7345] [I] [digibyte-scrypt] Broadcasting job

config conf.json:
{
    "logging": {
        "level": "Info",
        "enableConsoleLog": true,
        "enableConsoleColors": true,
        "logFile": "",
        "logBaseDirectory": "",
        "perPoolLogFile": false
    },
    "banning": {
        "manager": "integrated",

    },
    "notifications": {
        "enabled": false,
        "email": {
            "host": "smtp.example.com",
            "port": 587,
            "user": "user",
            "password": "password",
            "fromAddress": "info@yourpool.org",
            "fromName": "support"
        },
        "admin": {
            "enabled": false,
            "emailAddress": "user@example.com",
            "notifyBlockFound": true
        }
    },
    "persistence": {
        "postgres": {
            "host": "127.0.0.1",
            "port": 5432,
            "user": "miningcore",
            "password": "somepassword",
            "database": "miningcore"
        }
    },
    "paymentProcessing": {
        "enabled": true,
        "interval": 100,
        "shareRecoveryFile": "recovered-shares.txt"
    },
	"api" : {
		"enabled": true,
		"listenAddress": "127.0.0.1",
		"port": 4000
		},
    "pools": [

	{
      "id": "dogecoin",
      "enabled": true,
      "coin": "dogecoin",
      "address": "DGDD6EFDogvxis8R3pYjmX8Fh1CyzE2VCx",
      "rewardRecipients": [
        {
          "address": "DGDD6EFDogvxis8R3pYjmX8Fh1CyzE2VCx",
          "percentage": 0.01
        }
      ],
      "blockRefreshInterval": 333,
      "jobRebroadcastTimeout": 3,
      "clientConnectionTimeout": 600,
      "banning": {
        "enabled": true,
        "time": 600,
        "invalidPercent": 50,
        "checkThreshold": 50
      },
      "ports": {
        "22556": {
          "listenAddress": "0.0.0.0",
          "difficulty": 128,
          "varDiff": {
            "minDiff": 0.05,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 10,
			"maxDelta":500
          }
        }
      },
      "daemons": [
        {
          "host": "127.0.0.1",
          "port": 22555,
          "user": "dogecoinrpc",
          "password": "F8en7bN3ej3Li2YA1GDmKLCpc8gzEpbWbnBYXhLeiv28"
        }
      ],
      "paymentProcessing": {
        "enabled": true,
        "minimumPayment": 0.5,
        "payoutScheme": "PPLNS",
        "payoutSchemeConfig": {
          "factor": 2.0
        }
      }
    },

	{
      "id": "digibyte-scrypt",
      "enabled": true,
      "coin": "digibyte-scrypt",
      "address": "DDksSrZAzsJqSwtVgRMNRY7dDSviVH66Gb",
      "rewardRecipients": [
        {
          "address": "DDksSrZAzsJqSwtVgRMNRY7dDSviVH66Gb",
          "percentage": 0.01
        }
      ],
      "blockRefreshInterval": 333,
      "jobRebroadcastTimeout": 3,
      "clientConnectionTimeout": 600,
      "banning": {
        "enabled": true,
        "time": 100,
        "invalidPercent": 50,
        "checkThreshold": 50
      },
      "ports": {
        "12024": {
          "listenAddress": "0.0.0.0",
          "difficulty": 128,
          "varDiff": {
            "minDiff": 0.05,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
          }
        }
      },
      "daemons": [
        {
          "host": "127.0.0.1",
          "port": 14022,
          "user": "digibyterpcuser",
          "password": "digibyterpcpassword"
        }
      ],
      "paymentProcessing": {
        "enabled": true,
        "minimumPayment": 0.5,
        "payoutScheme": "PPLNS",
        "payoutSchemeConfig": {
          "factor": 2.0
        }
      }
    }
	]
}

log ccminer dogecoin:

[2018-10-26 19:14:18] scrypt factor set to 9 (1024)
[2018-10-26 19:14:29] GPU #1: GeForce GTX 1050, 51.32 kH/s
[2018-10-26 19:14:50] Stratum difficulty set to 21.3255 (0.00033)
[2018-10-26 19:15:11] GPU #2: 1381 MHz 92C FAN 0%
[2018-10-26 19:15:28] scrypt block 2447250, diff 2542943.099
[2018-10-26 19:15:39] GPU #2: GeForce GTX 1050, 54.36 kH/s
[2018-10-26 19:16:20] Stratum difficulty set to 1.77641 (0.00003)
[2018-10-26 19:16:22] GPU #1: GeForce GTX 1050, 54.46 kH/s
[2018-10-26 19:16:26] GPU #1: GeForce GTX 1050, 53.86 kH/s
[2018-10-26 19:16:27] accepted: 1/1 (diff 0.000), 53.47 kH/s yes!
[2018-10-26 19:16:28] accepted: 2/2 (diff 0.000), 51.70 kH/s yes!
[2018-10-26 19:16:30] GPU #2: GeForce GTX 1050, 52.98 kH/s
[2018-10-26 19:16:31] accepted: 3/3 (diff 0.000), 50.94 kH/s yes!
[2018-10-26 19:16:32] GPU #2: 1294 MHz 92C FAN 0%

log ccminer digibyte:

[2018-10-26 20:20:12] accepted: 375/382 (diff 0.000), 90.41 kH/s yes!
[2018-10-26 20:20:12] GPU #4: 1511 MHz 92C FAN 0%
[2018-10-26 20:20:21] scrypt block 7557221, diff 125274.232
[2018-10-26 20:20:23] scrypt block 7557222, diff 120453.830
[2018-10-26 20:20:29] GPU #4: GeForce GTX 1050, 78.13 kH/s
[2018-10-26 20:20:30] accepted: 376/383 (diff 0.000), 88.73 kH/s yes!
[2018-10-26 20:20:38] scrypt block 7557223, diff 153167.333
[2018-10-26 20:20:47] Stratum difficulty set to 7.30797 (0.00011)
[2018-10-26 20:21:07] GPU #4: GeForce GTX 1050, 72.74 kH/s
[2018-10-26 20:21:09] scrypt block 7557224, diff 147276.293
[2018-10-26 20:21:10] accepted: 377/384 (diff 0.000), 86.78 kH/s yes!
[2018-10-26 20:21:11] GPU #0: GeForce GTX 1050, 75.79 kH/s
[2018-10-26 20:21:13] GPU #0: 1499 MHz 92C FAN 0%
[2018-10-26 20:21:20] GPU #0: GeForce GTX 1050, 80.36 kH/s
[2018-10-26 20:21:24] GPU #0: GeForce GTX 1050, 80.32 kH/s
[2018-10-26 20:21:35] GPU #0: GeForce GTX 1050, 80.12 kH/s
[2018-10-26 20:21:50] GPU #0: GeForce GTX 1050, 79.82 kH/s
[2018-10-26 20:21:53] scrypt block 7557225, diff 141611.821
[2018-10-26 20:21:54] GPU #0: GeForce GTX 1050, 80.17 kH/s
[2018-10-26 20:21:54] accepted: 378/385 (diff 0.001), 81.03 kH/s yes!

log from wallet dogecoin:

{
"blocks" : 2447331,
"currentblocksize" : 33016,
"currentblocktx" : 79,
"difficulty" : 1905688.92937739,
"errors" : "",
"genproclimit" : -1,
"networkhashps" : 154313562757607,
"pooledtx" : 80,
"testnet" : false,
"chain" : "main",
"generate" : false
}

log from wallet digibyte:

{
"blocks": 7557309,
"currentblockweight": 4000,
"pow_algo_id": 1,
"pow_algo": "scrypt",
"difficulty": 68535.30183350088,
"difficulty_sha256d": 1123734147.283833,
"difficulty_scrypt": 68535.30183350088,
"difficulty_groestl": 454776.6457387084,
"difficulty_skein": 448136.3231618071,
"difficulty_qubit": 348291.573699254,
"errors": "",
"pooledtx": 23,
"chain": "main",
"warnings": ""
}

Not sure if that's a real password for your dogecoin daemon, probably should edit that out if it is.

I have tried a number of changes for 2 weeks in the wallet settings and in miningcore config.conf. but still the miningcore process says there are no update blocks and no payments to wallet.

Can you provide some log output where the pool actually finds a block, not just a share?

authors: calebcall oliverw ycusoy

repo: coinfoundry/miningcore


text:
Plot open and closed articles by year

En "artículos anuales en acceso abierto y cerrado" aparece sin datos, pero si están estos datos en el gráfico de torta, habrá algún problema?

the filter was recreated using $ne instead $exists. a9ca3c9566cb9061267100846393a8ec40b29431


text:
Bug with gffread when converting gff3 to gtf (cufflinks 2.2.1)

How to reproduce:

Download ftp://ftp.ensemblgenomes.org/pub/release-34/fungi/gff3/aspergillus_fumigatus/Aspergillus_fumigatus.CADRE.34.gff3.gz
Run
gffread  Aspergillus_fumigatus.CADRE.34.gff3  -T -o A.gtf
Look for gene 'CADAFUAG00003226' in gff3 file
grep -e "CADAFUAG00003226" Aspergillus_fumigatus.CADRE.34.gff3

VIII	JCVI	pseudogene	1378345	1379871	.	+	.	ID=gene:CADAFUAG00003226;Name=AFUA_8G05800;biotype=pseudogene;gene_id=CADAFUAG00003226;logic_name=jcvi_fumigatus
VIII	JCVI	pseudogene	1378345	1379871	.	+	.	ID=transcript:CADAFUAT00003226;Parent=gene:CADAFUAG00003226;Name=AFUA_8G05800;biotype=pseudogene;transcript_id=CADAFUAT00003226

Look for the same gene in A.gtf
grep -e "CADAFUAG00003226" A.gtf
(Nothing found).
If we check the corresponding  transcript id in A.gtf:
grep -e "CADAFUAT00003226" A.gtf

VIII	JCVI	exon	1378345	1379871	.	+	.	transcript_id "transcript:CADAFUAT00003226"; gene_id "transcript:CADAFUAT00003226"; gene_name "AFUA_8G05800";

So the bug here is about losing the gene_id, right?
This happens because the parser was essentially lied to about the feature type of that transcript record there as being a  pseudogene (so, a "gene" type) instead of transcript or miscRNA or pseudoRNA or anything else that would denote an actual transcript feature type instead of a gene feature..
I wonder why they haven't assigned the "pseudogene" feature type to the exon line there as well, just to make sure that the whole hierarchy is "labeled" accordingly as a "pseudogene" (sarcasm, of course).
In order to speed-up the parsing of the gene->transcripts->exons hierarchies the parser currently tries to "guess" the feature level from the feature type..  I think that the GFF format is not strict and standardized enough when it comes to feature types and essential attribute names and values etc. There must be some common sense agreement that the feature type names should match their place in the gene->transcripts->exons hierarchy (i.e. don't call a transcript "gene"). By not following these basic naming conventions all sorts of problems might ensue -- especially for applications which need a rigorous way of recognizing transcript features and discard any non-transcript ones.

I see... So it is not a bug, really. I found a workaround using sed before gffread:
sed '/transcript_id=/s/pseudogene/transcript/' InputFile.gff3 > Preprocessed.gff3

It seems this issue could be closed now.

repo: cole-trapnell-lab/cufflinks


text:
string().trim() is not working.

As title, the whitespaces aren't trimmed after going through the zod layer.

I can't replicate. What version are you using?

Hi colinhacks,
Thanks for replying. I'm using zod@3.21.4. I also notice transform is not working as well while other validations are working well.
schema.ts
`const INPUT_ITEM = object({
name: string({
required_error: "Name is required!",
})
.trim()
.min(MIN_CHARACTER, {
message: "Name cannot be empty!",
})
});
const body = {
item: INPUT_ITEM,
};
export const createItemSchema = object({
body: object({ ...body }),
});
export type createItemInput = TypeOf["body"];
validation.tsexport const validateInputData =
(schema: AnyZodObject) =>
(req: Request, res: Response, next: NextFunction) => {
try {
schema.parse({
body: req.body,
});
next();
} catch (error) {
if (error instanceof ZodError) {
const response: ResponseBody = {
status: "failed",
data: null,
error: error.errors,
};
return res.status(400).send(response);
}
}
};
`
route.ts:
`
import {
createItemSchema,
} from "../schemas";
this.app
.route("/item")
.post(validateInputData(createItemSchema), itemController.createItem);`

Still can't replicate, sorry.
import { z } from "./src";

const INPUT_ITEM = z.object({
  name: z
    .string({
      required_error: "Name is required!",
    })
    .trim()
    .min(1, {
      message: "Name cannot be empty!",
    }),
});

const body = {
  item: INPUT_ITEM,
};

export const createItemSchema = z.object({
  body: z.object({ ...body }),
});

console.log(createItemSchema.parse({ body: { item: { name: " colin " } } }));
// => { body: { item: { name: "colin" }}}

repo: colinhacks/zod


text:
Avoid upper level index import to avoid require cycle

Hello, thanks for the amazing library.
I'm currently using the latest version of zod (3.0.0.-alpha-4) with react-native and I noticed a weird require cycle through my whole application:

WARN     Require cycle: index.js -> src/Root.tsx -> src/routes/Router.tsx -> src/routes/stacks/Authentication.tsx -> src/screens/Authentication/index.ts -> src/screens/Authentication/SignInMail.tsx -> src/screens/Authentication/components/SignInForm.tsx -> node_modules/zod/lib/cjs/index.js -> node_modules/zod/lib/cjs/types/object.js -> node_modules/zod/lib/cjs/helpers/objectUtil.js -> index.js

I did some digging and I found this kind of import:
https://github.com/colinhacks/zod/blob/bb93ec5448d4b06ef3a458160e697babb2059980/src/helpers/objectUtil.ts#L3
I think it is somehow miss referencing this to my app package.json main script.
I tried renaming my entry point to something else but it still gave the warning.
thanks for your attention

@GlCap the newest v3 alpha (zod@3.0.0-alpha.7) has eliminated all cyclical imports which caused this issue (and many others). Can you upgrade (npm install zod@next) and let me know if your issue is resolved?

I found running a madge check on a pre-publish hook is a great way to catch these early!
https://github.com/pahen/madge
🧠

I love madge! That's a good tip. Now I'm just extremely paranoid about ESM modules not working after a bunch of mysterious issues last time. I'm 95% sure the cyclical imports were the root cause but I'm still not sure. Bundler compatibility issues are the bane of my existence.

authors: GlCap colinhacks prescience-data


text:
Icon missing in 1.5.5

Dear all,
Does someone else have the same problem that the icon is no longer showing up in the recent release 1.5.5?

Warmly,
~Robert

Hi Robert, I just manually updated from the github release and Nylas threw an
error that the apm install task failed and it deactivated the plugin. After
restarting Nylas, I reactivated the plugin and everything appears to work. I
think there might be a timeout call, which causes the error. Let me know if it
is just that the plugin is deactivated and/or if there is an error in the
console
![](https://link.nylas.com/open/1y2nvi3n6gk2cgzejrks8jzeo/local-6410ee72-22f3?
r=cmVwbHkrMDAzOWJlOTM5NzRkNjdjODBhNDEzZDMyMjAwMjg2MGQzNWEyMWZlNmRmNzg2MDZlOTJj
ZjAwMDAwMDAxMTNiZGFjYTE5MmExNjljZTBhMWUyM2UzQHJlcGx5LmdpdGh1Yi5jb20=)
On Aug 6 2016, at 9:48 am, Robert Orzanna notifications@github.com wrote:

Dear all,

Does someone else have the same problem that the icon is no longer showing
up in the recent release 1.5.5?

![image](https://cloud.githubusercontent.com/assets/170947/17457087
/2b0e741c-5bed-11e6-807f-a1fdd2035573.png)

Warmly,

~Robert

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [view it on GitHub](https://github.com/colinking
/n1-unsubscribe/issues/51&r=cmVwbHkrMDAzOWJlOTM5NzRkNjdjODBhNDEzZDMyMjAwMjg2MG
QzNWEyMWZlNmRmNzg2MDZlOTJjZjAwMDAwMDAxMTNiZGFjYTE5MmExNjljZTBhMWUyM2UzQHJlcGx5
LmdpdGh1Yi5jb20=), or [mute the thread](https://github.com/notifications
/unsubscribe-auth/ADm-kzGseducHoMmdXNSS6iHDeJEtAfPks5qdJChgaJpZM4JeSF9&r=cmVwb
HkrMDAzOWJlOTM5NzRkNjdjODBhNDEzZDMyMjAwMjg2MGQzNWEyMWZlNmRmNzg2MDZlOTJjZjAwMDA
wMDAxMTNiZGFjYTE5MmExNjljZTBhMWUyM2UzQHJlcGx5LmdpdGh1Yi5jb20=).![](https://git
hub.com/notifications/beacon/ADm-
k0voyTwawBrfHtTwtwWiiG62xm3Jks5qdJChgaJpZM4JeSF9.gif)

Dear @KyleKing,
The plugin is enabled and the output of the error console is the following:

Weird, try uninstalling and reinstalling again. It couldn't install one the N1 npm dependencies, 'underscore'

On Aug 6, 2016, at 10:40 AM, Robert Orzanna notifications@github.com wrote:
Dear @KyleKing,
The plugin is enabled and the output of the error console is the following:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hmm, I have no idea how but the icon is there again.
Weird. I guess it's working again. Thanks for your advice, though!
Let's close this for now.
~Robert

authors: KyleKing orschiro


text:
Slight edit to sortable table content headers

I rule and have completed some work on Case Manager that's ready for review!
Very slight adjustments to @janinedog 's work in #924  - relies on the helper methods rather than setting vars in view
This pull request makes the following changes:

adjusts her great work per my own weird junk

It relates to the following issue #s:

Fixes #924

👍  Thanks!

authors: colinxfleming janinedog


text:
Add pedestal like interceptors on leave stack

Hello,
I was writing an article for pedestal interceptors. After a discussion with a colleague of mine he suggested me this gem being similar and I was thinking why on_leave callback is missing from the library, if it should be added or not? It would be nice to share your thoughts, experience or any issues / knowledge that would worth sharing.
Thank you.

I'm not sure I understand completely but I believe this is covered either by an after or around hook.

authors: gaffneyc laertispappas

repo: collectiveidea/interactor


text:
Obask 633 react js

still need build script to run react UI

ReactServlet duplicates most UIServlet code?
Parsing URL should probably use a library like https://github.com/medialize/URI.js
What are the static JSON files in assets/ for?

Assets files needs to write rendering code separate from java controllers
I.e. you can open index.html#test from file system and it will use assets instead of requesting JSON from server.

Some notes from HipChat
[4:44 AM] Manuel Simoni: zooming seems very slow
[4:46 AM] Manuel Simoni: unlisted workflows should be sorted alphabeticaly
[4:47 AM] Manuel Simoni: prev page doesn't really go one page back
[4:50 AM] Manuel Simoni: and of course, the direction of time is wrong :)
[4:52 AM] Manuel Simoni: the wait,fail,rdy, etc labels should be displayed
[4:54 AM] Manuel Simoni: the gc-batchimport-multiscreen workflow is not displayed as missing

This branch was merged into obask-ui-merge-easy

repo: collectivemedia/celos


text:
Missing spectral normalisation factor in "Spectrum" notebook.

Missing colour.spectral_to_XYZ range correction.
Proposed fix:
diff --git a/notebooks/colorimetry/spectrum.ipynb b/notebooks/colorimetry/spectrum.ipynb
index d497434..76fd3c0 100644
--- a/notebooks/colorimetry/spectrum.ipynb
+++ b/notebooks/colorimetry/spectrum.ipynb
@@ -1021,7 +1021,7 @@
       "CIE_1931_chromaticity_diagram_plot(standalone=False)\n",
       "\n",
       "# Calculating the *xy* chromaticity coordinates.\n",
-      "x, y = colour.XYZ_to_xy(colour.spectral_to_XYZ(spd, cmfs, illuminant))\n",
+      "x, y = colour.XYZ_to_xy(colour.spectral_to_XYZ(spd, cmfs, illuminant) / 100.)\n",
       "\n",
       "# Plotting the *xy* chromaticity coordinates.\n",
       "pylab.plot(x, y, 'o-', color='white')\n",

Good catch!
I'll fix it when I rerun the notebooks.
I should specify about that like it is done in the tutorial:

Note: Output CIE XYZ colourspace matrix is in domain [0, 100].

# The output domain of *colour.spectral_to_XYZ* is [0, 100] and the input domain of *colour.XYZ_to_sRGB* is [0, 1].
# We need to take it in account and rescale the input *CIE XYZ* colourspace matrix.
RGB = colour.XYZ_to_sRGB(XYZ / 100)
print(RGB)

authors: KelSolaar henczati

repo: colour-science/colour-ipython


text:
i18n4k is causing issues when used with projects that use KSP / eager evaluation methods should be replaced with lazy evaluation methods

I'm the author of a project called Kobweb, which uses KSP. One of my users reported a callstack that came from this plugin.

with this error:
* What went wrong:
A problem occurred configuring project ':site'.
> Could not create task ':site:kobwebExport'.
   > Task with name 'kspKotlinJs' not found in project ':site'.

They said they saw a similar error when using ktorfit with your plugin, and that is another project that uses ksp.
After some investigation, we think this line is the culprit, forcing eager evaluation before other plugins are ready :
https://github.com/comahe-de/i18n4k/blob/c8516196097279dd58411c2b7b34c703dfddb1a6/i18n4k-gradle-plugin/src/main/kotlin/de/comahe/i18n4k/gradle/plugin/I18n4kPlugin.kt#L121C20-L121C20
It should probably be rewritten as
project.tasks.matching { it.name.startsWith("compile") }.configureEach {
   it.dependsOn(GENERATE_I18N_SOURCES_TASK_NAME)
}

You should probably also change the withType.forEach calls to withType.configureEach and the findByName calls also to use matching.
I'm not a Gradle expert, nor am I sure if you fix this it will fix the issues I'm seeing with the error linked above, but making these changes are, to my understanding, modern Gradle best practices. See also: https://docs.gradle.org/current/userguide/task_configuration_avoidance.html

If you want to repro this for yourself....

git clone https://github.com/varabyte/kobweb-site.git
Edit build.gradle.kts, adding your plugin and your dependency to commonMain
./gradlew build

@ bitspittle  Thank you for your bug report. I could reproduce it and your suggested change fixed the issue.
Version 0.6.2 is in the pipeline...

authors: bitspittle comahe-de


text:
Allow Rails5 support

Maybe solves #728

Some annoying problems with the route it wants me to change; and I broke the file upload tests (but everything else is happy).
Will resume later, perhaps or just leave this for anyone who wants to scavenge over the changes.
Really should run rubocop to do http://effectif.com/ruby/update-your-project-for-ruby-19-hash-syntax over the project at some point.

Is anybody working on this?

Rails 5 support would be awesome

authors: CloCkWeRX GlombSt dariomac

repo: comfy/comfortable-mexican-sofa


text:
Opt in the null safety

Opt in the null safety

Hello @glynskyi, thanks for this PR!
I think we still need to wait for all dependencies to be migrated before merging this PR and changing sdk requirements (specially gql, to avoid the force non-nullable ! calls); but this is a great start!
cc @vasilich6107 you were more involved in nnbd, what do you think?

@glynskyi thanks for PR.
@comigor we definitely need to check what's  inside)

For everyone like me interested in the progress, here is a list of the dependencies listed in pub.dev and their according nullsafety issues:

[ ] build
[ ] build_config -> same as build?
[ ] code_builder
[ ] collection -> no github linked
[ ] dart_style
[x] equatable
[x] glob -> done, but will not be merged after experiment flag is not longer required
[ ] gql and related tools
[x] http
[x] json_annotation
[ ] meta -> no idea
[x] path,
[x] recase,
[ ] source_gen
[x] yaml

Artemis is a code generator and it means that it is not included in the final build (only the generated classes). So it doesn't need to wait until all dependencies are migrate to the null safety. Actually I successfully uses this PR in my null-safety projects.

So it doesn't need to wait until all dependencies are migrates to the null safety

This is not strictly true. Users of code generators can mostly migrate before their dev_dependencies, yes. You could probably use the stable version of artemis in your null-safety projects too. The artemis project itself imports build-packages though, so it needs to wait for them to be migrated.

@simolus3 you could, but there might be inconsistencies:
Lets take the generated Class GetUserArguments which would accept an int. Normally I could pass null as a value and everything works as intended, but now my projects variable I pass into is of type int? thus there is a missmatch.

@featzima  how do you do that:

I successfully uses this PR in my null safety projects.

I tried this in my pubspec.yaml:
dev_dependencies:
  artemis:
    git: https://github.com/glynskyi/artemis.git

But I get this error:
Because every version of artemis from git depends on equatable ^1.2.5 and [your_crappy_project] depends on equatable 2.0.0-nullsafety.3, artemis from git is forbidden.

I tried running flutter clean and even deleting the pubspec.lock but it didn't fix it...

@GP4cK You're able to fix the required library version during the transition period. Just create the dependency_overrides section in your pubspec.yaml file. The list of required libraries depends on your dependencies.  My pubspec.yaml looks like:
dependency_overrides:
  analyzer: ^0.41.2
  collection: ^1.15.0-nullsafety.4
  rxdart: ^0.24.0
  graphql: ^4.0.0-beta
  gql: '>=0.12.3 <1.0.0'

@featzima interesting :thinking:. How do you not get the glob issue?
Can you by change post your whole pubspec.yaml

Because gql_code_gen 0.1.5 depends on glob ^1.2.0 and no versions of gql_code_gen match >0.1.5 <0.2.0, gql_code_gen ^0.1.5 requires glob ^1.2.0.

And because every version of artemis from git depends on gql_code_gen ^0.1.5, every version of artemis from git requires glob ^1.2.0.

So, because TestProject depends on artemis from git which depends on glob ^2.0.0-nullsafety.0, version solving failed.
pub get failed (1; So, because TestProject depends on artemis from git which depends on glob ^2.0.0-nullsafety.0, version solving failed.)
exit code 1

(also forcing glob to version ^2.0.0-nullsafety.0 leads to issues on code generation)

@jlnrrg

pubspec.yaml
```yaml
environment:
  sdk: '>=2.12.0-0.0 <3.0.0'
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
vector_math: ^2.1.0-nullsafety.5
path: ^1.8.0-nullsafety.3
intl: ^0.17.0
rxdart: ^0.24.0
sprintf: ^6.0.0-nullsafety
shared_preferences: ^0.5.12+4
dio: ^3.0.10
built_value: ^8.0.0-nullsafety.0
built_collection: ^5.0.0-nullsafety.0
http_multi_server: ^2.2.0
flutter_bloc: ^7.0.0-nullsafety.1
expandable: ^4.1.4
scroll_to_index: ^1.0.6
geolocator: ^7.0.0-nullsafety.5
geocoding: ^1.0.5
synchronized: ^3.0.0-nullsafety.1
vicodin: ^1.0.5-nullsafety.0
ktx: ^1.1.5-nullsafety
shimmer: ^2.0.0-nullsafety.0
sealed_unions: ^3.0.2+2
flutter_email_sender: ^4.0.0
url_launcher: ^6.0.0-nullsafety.6
package_info: ^0.5.0-nullsafety
flutter_native_timezone: ^1.0.4
freezed_annotation: ^0.13.0-nullsafety.0
timezone: ^0.7.0-nullsafety.0
flinq: ^1.1.1
trotter: ^1.2.0
firebase_core: ^0.8.0-1.0.nullsafety.1
firebase_analytics: ^7.0.1
firebase_crashlytics: ^0.5.0-1.0.nullsafety.2
flutter_vibrate: ^1.0.0
floor: ^1.0.0-nullsafety.0
rate_app_dialog: ^0.1.2
google_maps_flutter: ^1.0.6
equatable: ^2.0.0-nullsafety.3
app_settings: ^4.0.4
countdown_flutter: ^0.1.2
flutter_svg: ^0.20.0-nullsafety.3
auto_size_text: ^3.0.0-nullsafety.0
fimber: ^0.5.0-nullsafety.1
collection: ^1.15.0-nullsafety.4
dependency_overrides:
analyzer: ^0.41.2
collection: ^1.15.0-nullsafety.4
clock: ^1.1.0-nullsafety.3
intl: ^0.17.0
path: ^1.8.0
url_launcher: ^6.0.0-nullsafety.6
glob: ^2.0.0
firebase_core: ^0.8.0-1.0.nullsafety.1
plugin_platform_interface: ^1.1.0-nullsafety.2
meta: ^1.3.0-nullsafety.6
ffi: ^0.1.3
sqlite3: ^0.1.8
rxdart: ^0.24.0
graphql: ^4.0.0-beta
gql: '>=0.12.3 <1.0.0'
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^1.11.1
built_value_generator: ^8.0.0-nullsafety.0
floor_generator: ^1.0.0-nullsafety.0
freezed: ^0.13.0-nullsafety.0
artemis:
git:
url: https://github.com/glynskyi/artemis.git
ref: 68a83f3
json_serializable: ^4.0.0
</details>

@jlnrrg meta supports nullsafety from 1.3.0
Scroll this page to the bottom
https://pub.dev/packages/meta/versions
So we can switch on the checkbox

build 2.0.0 with nullsafety was released ;)

Hey all, we've just released 7.0.0-beta.1 as a breaking change, still in beta, version that outputs Artemis generated code as nnbd (eg. GraphQL Int! becomes Dart (late) int, while GraphQL Int becomes Dart int?).
Soon I'll start working on migrating Artemis code itself to nnbd, probably rebasing this PR if it's not too much work (given the amount of conflicts – sorry about that, but I lot had to be changed to output code to nnbd), following the dependencies and maybe we can have a full nnbd prerelease.
But please, if your project is already using nnbd, test this new beta and report bugs on top of it! It'd be very helpful to get real use cases (my company has not migrated yet!).

@comigor analyzer >=1.0.0 depends on yaml ^3.0.0, so I think it would be a good idea to adapt this version too

@comigor so I have just tried to override these dependencies:
dependency_overrides:
  build: ^2.0.0
  dart_style: '>=1.3.13 <=1.3.13'
  glob: ^2.0.0
  gql: ^0.13.0-nullsafety.2
  gql_exec: ^0.3.0-nullsafety.1
  gql_http_link: ^0.4.0-nullsafety.1
  gql_dedupe_link: ^2.0.0-nullsafety.1
  gql_link: ^0.4.0-nullsafety.2
  graphql: 5.0.0-nullsafety.1
  http: ^0.13.0
  source_gen: ^1.0.0
  yaml: ^3.0.0

And I called flutter pub run build_runner watch --delete-conflicting-outputs  but this error showed up.
[INFO] Generating build script...
[INFO] Generating build script completed, took 625ms

[INFO] Creating build script snapshot......
[WARNING] stderr: ../../../../documents/flutter/.pub-cache/hosted/pub.dartlang.org/gql_code_gen-0.1.5/lib/ast_builder.dart:83:11: Error: The getter 'name' isn't defined for the class 'DefinitionNode'.
[WARNING] stderr:  - 'DefinitionNode' is from 'package:gql/src/ast/ast.dart' ('../../../../documents/flutter/.pub-cache/hosted/pub.dartlang.org/gql-0.13.0-nullsafety.2/lib/src/ast/ast.dart').
[WARNING] stderr: Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
[WARNING] stderr:   if (def.name != null && def.name.value != null) return def.name.value;
[WARNING] stderr:           ^^^^
[WARNING] stderr: ../../../../documents/flutter/.pub-cache/hosted/pub.dartlang.org/gql_code_gen-0.1.5/lib/ast_builder.dart:83:31: Error: The getter 'name' isn't defined for the class 'DefinitionNode'.
[WARNING] stderr:  - 'DefinitionNode' is from 'package:gql/src/ast/ast.dart' ('../../../../documents/flutter/.pub-cache/hosted/pub.dartlang.org/gql-0.13.0-nullsafety.2/lib/src/ast/ast.dart').
[WARNING] stderr: Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
[WARNING] stderr:   if (def.name != null && def.name.value != null) return def.name.value;
[WARNING] stderr:                               ^^^^
[WARNING] stderr: ../../../../documents/flutter/.pub-cache/hosted/pub.dartlang.org/gql_code_gen-0.1.5/lib/ast_builder.dart:83:62: Error: The getter 'name' isn't defined for the class 'DefinitionNode'.
[WARNING] stderr:  - 'DefinitionNode' is from 'package:gql/src/ast/ast.dart' ('../../../../documents/flutter/.pub-cache/hosted/pub.dartlang.org/gql-0.13.0-nullsafety.2/lib/src/ast/ast.dart').
[WARNING] stderr: Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
[WARNING] stderr:   if (def.name != null && def.name.value != null) return def.name.value;
[WARNING] stderr:                                                              ^^^^
[INFO] Creating build script snapshot... completed, took 10.4s

[SEVERE] Failed to snapshot build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.

pub finished with exit code 78

And these are the packages that I'm using:
dependencies:
  flutter:
    sdk: flutter

  firebase_auth: ^1.0.1
  # freezed_annotation: ^0.14.1
  flutter_bloc: ^7.0.0
  firebase_core: ^1.0.2
  firebase_storage: ^8.0.1

  graphql_flutter: ^5.0.0-nullsafety.1

  flutter_hooks: ^0.16.0
  hooks_riverpod: ^0.13.1+1

  universal_platform: ^1.0.0-nullsafety

  json_serializable: ^4.1.0
  built_value: ^8.0.4
  built_collection: ^5.0.0
  gql: ^0.13.0-nullsafety.2

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2

@inc16sec Hmmm so some breaking changes may be really breaking now :(

@ inc16sec I had the same issue, i got it running for now keeping gql with the latest 0.12.x

@inc16sec I had the same issue, i got it running for now keeping gql with the latest 0.12.x

I have just tried it with gql: ^0.12.4 and gql:  (without specifying a version number) and still got the same error.

Looks like there's is a problem withgql_code_gen.

I am using this override monstrosity to make it works:
dependency_overrides:
  freezed_annotation: 0.14.1
  graphql: 5.0.0-nullsafety.2

  source_gen: ^1.0.0
  glob: ^2.0.0
  dart_style: ^2.0.0
  build: ^2.0.0
  http: ^0.13.0
  http_parser: ^4.0.0
  yaml: ^3.0.0
  # gql: ^0.13.0-nullsafety.2
  gql: ^0.12.4
  gql_exec: ^0.3.0-nullsafety.1
  gql_link: ^0.4.0-nullsafety.2
  gql_http_link: ^0.4.0-nullsafety.1
  gql_dedupe_link: ^2.0.0-nullsafety.1
  gql_build: ^0.2.0-nullsafety.0
  gql_code_builder: ^0.2.0-nullsafety.0
  built_collection: ^5.0.0
  recase: ^4.0.0-nullsafety.0
  graphql_flutter: 5.0.0-nullsafety.1

Thanks for the fast support :smile:
I think this thread will now convert to name issues :face_with_head_bandage:
Here I start:

replace '@required' with 'required'

repo: comigor/artemis


text:
Hyundai Giraffe pinout is incorrect

the male connector is inconsistent with the female connector
According to official Hyundai and community diagrams for female connector:
pin3: CAN2_L and pin11: CAN2_H but it the other way around in /giraffe/hyundai/Hyundai_Giraffe.sch.pdf
the same also for pin4: CAN1_L and pin12: CAN1_H

Hmmm odd, we built this for our santa fe (which we sold and no longer have) and this design worked.

it is likely just a display issue. the package numbering is like this (5-1-6-2-7-8-9-10-3-11-4-12)
could you plz confirm the pinout for the female connector?

repo: commaai/neo


text:
A boolean property parsed incorrectly

Describe the bug
A boolean property parsed incorrectly, at the same time nullable boolean property - ok!
To Reproduce
https://dotnetfiddle.net/fwRMdJ
class Options
{
    [Option('a', "option1", Required = true)]
    public bool Option1 { get; set; }

    [Option('b', "option2", Required = false)]
    public bool? Option2 { get; set; }
}

class Program
{
    static int Main(string[] args)
    {
      args = "--option1 false --option2 false".Split(' ');

        return Parser.Default.ParseArguments<Options>(args)
        .MapResult(
          options => RunAndReturnExitCode(options),
          _ => -1);
    }

    static int RunAndReturnExitCode(Options options)
    {
        Console.WriteLine($"option1={options.Option1}, option2={options.Option2}");
        return 0;
    }
}

option1=True, option2=False
Expected behavior
option1=False, option2=False

Same root problem as I'm having?
https://github.com/commandlineparser/commandline/issues/783#issuecomment-2552873760

authors: DrusTheAxe svonidze

repo: commandlineparser/commandline


text:
Add home counters

What I did
Added counters in home page

for performances reason, we won't proceed with home counters

repo: commercelayer/app-shipments


text:
Simple avail type

Adds new api for QueryEntitlement which lists an deduplicated list of target : role pairs.
The original QueryAvailabilties has been left in and is used for cli queries. See here for updates to cli
https://github.com/common-fate/cli/pull/52

We should also look to deprecate the other Availabilities API eventually

We should standardise on naming for list APIs seems we are using both Queryx and Listx interchangeably. Is there a standard practice we should adopt here for grpc?

There isn't a standard AFAIK - agreed though we should ourselves standardise on one or the other. I have been using QueryX for endpoints that could take filters as parameters and ListX for endpoints that don't, but this may be confusing in the long term

authors: JoshuaWilkes chrnorm meyerjrr

repo: common-fate/sdk


text:
Achievements page takes a long time to load

Summary:
The achievements page seems to be taking ~30 seconds for me to load in some cases. Not sure why it is taking a lot of time to load despite the network being fast/reliable.
Steps to reproduce:

Open the app
Open the sidebar
Tap on the trophy icon to open the achievements page.

Device and Android version:
Samsung SM-J111F (Android 5.1.1)
Commons app version:
2.10.2
Screen shot
The achievements page looks like the following when it is not loaded. It is what I see for about 30 seconds. There's not even a progress indicator.

Would you like to work on the issue?
Nope.

Hey @sivaraam I can see the progressbar in achievements activity. Are you working on latest master?

Possibly related #1816 or #2603

I can see the progressbar in achievements activity. Are you working on latest master?

Nope. As I state in the description, I use the version 2.10.2 of the app which has just recently been release as a stable one.
Anyways, I found why I don't see the progress indicator. It shows when enable animations in the developer settings of my device and doesn't show up when I disable them.
The progress indicators in various places of the app don't seem to be visible when the animations are turned off. I think this could be improved as I've seen apps which show different indicators when the animations are turned off. Not sure how they do it, though.

@4D17Y4 now to achievement is smoother and perfectly working so we can close this issue

I guess the issue still exists and from logs Its seems like when the achievement is opened the leaderboards also gets called and start populating which is giving leading to more time to load.

@nicolas-raoul I think the Achievements section now loads pretty fast and also has a progress indicator for the level badge. Could this be closed?

authors: Rishavgupta12345 ShashwatKedia neeldoshii neslihanturan sivaraam vanshikaarora

repo: commons-app/apps-android-commons


text:
If description contains "360", add {{Pano360}}

360 degrees panoramas can be marked with the {{Pano360}} template, which enables specific features.
Example usage: https://commons.wikimedia.org/w/index.php?title=File:Binsfeldsee_Panorama.jpg&action=edit
When the description contains the string "360", we could:

Ask the uploader Is this picture a 360 degrees panorama? with answers Yes and No
If yes, add {{Pano360}} after the description

Low priority as the wikis do not currently use that many 360 panoramas-specific features (most are used like normal pictures).

I would like to work on this issue. Can you please assign it to me

@nicolas-raoul can i work on this issue?

@devarsh-mavani-19 Thanks for your interest! We currently have many bugs, so we try to fix bugs before adding new low priority features. 😅 How about trying #4779? I can guide you if anything is unclear :-)

@devarsh-mavani-19 Thanks for your interest! We currently have many bugs, so we try to fix bugs before adding new low priority features. 😅 How about trying #4779? I can guide you if anything is unclear :-)

Yes I would like to work on that issue. :)

@devarsh-mavani-19 Great! Would you mind commenting there? I can't assign to anyone who has not commented. :-)


text:
Show where the user's images are being used in Wikipedia

What is the user problem or growth opportunity you want to see solved?
friends asking me: "Where can I see which of the uploaded images are being used (in Wikipedia)?"
How do you know that this problem exists today? Why is this important?
I have convinced friends to install the Commons app. They keep asking me: "Where can I see which of the uploaded images are being used (in Wikipedia)?" I think such a function could be a very strong motivation to upload more images. It should be possible to see where the individual image files are used in the Commons app (linking). In addition, it would be nice if there were an overview page for each user where all uses are recognizable (linking). (For example, where they are in the "statistics" of the users in the Commons app).
Who will benefit from it?
all users
Anything else you would like to add?
I think such a function could be a very strong motivation to upload more images.

When you click on that "three vertical dots" icon (in upper right corner) on your image in Commons app and choose View file page, you'll have a link there File usage on Commons (as well as File usage on other wikis if things like Wikipedia use it - see e.g. example).
Does it work for you?

I think such a function could be a very strong motivation to upload more images.

(Or, it might get demotivating if very few (or none) of your images gets used on wikipedia... :man_shrugging: )

If we do not show the section when empty, it is not demotivating.

See: #6006

authors: OpenGreenStreet mnalis nicolas-raoul parneet-guraya


text:
Feature/bug fix#1793

Title (required)
Improve description language selector in ShareActivity
Fixes #{1793 and title (Improve description language selector in ShareActivity
) }
Description (required)
The spinner items in the ShareActivity were not showing up in certain devices.
{Describe the changes made and why they were made.}
Changed the ration of the spinner to the recycler view for description from 3:7 to 4:6
Tests performed (required)
Tested on {24 & Nexus s emulator}, with {build variant, e.g. betaD

ebug}.
Screenshots showing what changed (optional)
{Only for user interface changes, otherwise remove this section. See how to take a screenshot}
Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

Codecov Report

Merging #1802 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1802   +/-   ##
======================================
  Coverage    3.58%   3.58%
======================================
  Files         192     192
  Lines        9667    9667
  Branches      856     856
======================================
  Hits          347     347
  Misses       9296    9296
  Partials       24      24

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 23014e0...dc51632. Read the comment docs.

Looks good to me, happy to merge after tests succeed (please test with a small-size emulator as well). :)

@misaochan I have already tested on Nexus S (The attached screenshot is from the same), as well as on samsung s device. Seems to be working fine.

Thanks, I missed that note on your screenshot! Btw, is there a reason why there is so much padding between the text and the dropdown arrow on the right? This feature is still usable in its current state, but was wondering about that. The dropdown menu takes up half of the screen width on small screens.

Actually, I have used the default spinner edit text layout which has the default padding. Let me see if I can figure out a way to somehow reduce the padding

@misaochan I believe the last commit will meet your requirements

Thanks @ashishkumar0207 !

authors: ashishkumar468 codecov-io misaochan


text:
Parse and use DMOZ titles/summaries

We current download the DMOZ data but we only store a boolean signal for the presence of URLs or domains in their dumps.
We should start storing titles and descriptions, and then use them as fallbacks in the search results. An example where this would help is commonsearch/cosr-results#3
We should also add support for <META NAME="ROBOTS" CONTENT="NOODP"> as explaned here:
http://sitemaps.blogspot.com/2006/07/more-control-over-page-snippets.html
A few pointers:

Patch storage in RocksDB: https://github.com/commonsearch/cosr-back/blob/master/scripts/import_dmoz.py
Add a datasource in URLserver: https://github.com/commonsearch/cosr-back/tree/master/urlserver
Plug into format_title and format_summary : https://github.com/commonsearch/cosr-back/blob/master/cosrlib/formatting.py
Add some tests! https://github.com/commonsearch/cosr-back/blob/master/tests/cosrlibtests/test_formatting.py

Since #26 we store title + description in the URLServer so this got much easier!

repo: commonsearch/cosr-back


text:
Add elide option to ctkPushButton and make ctkDirectoryButton elided by default

Directory paths are often very long, which can force very wide GUI layouts if the full path is displayed.
To avoid this, ctkDirectoryButton now enables eliding by default (display beginning and end of the path with ... in the middle),
so that if the user sets size policy to Ignored then the button will not be wide and will display a correctly shortened path.

Thanks for the comments @finetjul. I think I addressed all of them, so I'll merge this branch now.

repo: commontk/CTK


text:
V1 - Project Console - Not able to delete CLA Group

Launch Project Console
Login as Project Manager
Click on The Presto Foundation
Delete 06AugV1CLAGroup2
Observed that not able to delete CLA Group

Created PR https://github.com/communitybridge/easycla/pull/1538

Verified that the issue is fixed

authors: dealako nirupamav

repo: communitybridge/easycla


text:
DACT-910: Update underage director appointment error

Added separate error message for validation check of directors age on appointment vs age today

I understand the distinction between these 2 validations, but do we need both? Does the APPOINTMENT_DATE_UNDERAGE effectively replace the DATE_OF_BIRTH_UNDERAGE? Would an API user see both errors?

Hi Phil, yes, both these messages are needed.
The DATE_OF_BIRTH_UNDERAGE message will be returned the first time the users DOB is validated on the page where the directors date of birth is entered. At this point we check the date of birth against the current date to ensure they are over 16 on the current date. Later when the appointment date is entered we perform another check of DOB against appointment date to ensure the director is over 16 on their appointment date, otherwise we will return the APPOINTMENT_DATE_UNDERAGE error message. Different API error messages are required for these checks so we can determine which condition(s) return an error when calling the get validation endpoint from the web.

repo: companieshouse/officer-filing-api


text:
roe-413 Update Entity in web model

JIRA link
https://companieshouse.atlassian.net/browse/ROE-413
Change description
Added field: is_on_register_in_country_formed_in
Removed address fields from model and re-reference common address models
Ensure that all fields in the model and template match the api spec
Work checklist

[x] Tests added where applicable
[x] UI changes meet accessibility criteria

Merge instructions
We are committed to keeping commit history clean, consistent and linear. To achieve this, this commit should be structured as follows:
<type>[optional scope]: <description>

and contain the following structural elements:

fix: a commit that patches a bug in your codebase (this correlates with PATCH in semantic versioning),
feat: a commit that introduces a new feature to the codebase (this correlates with MINOR in semantic versioning),
BREAKING CHANGE: a commit that has a footer BREAKING CHANGE: introduces a breaking API change (correlating with MAJOR in semantic versioning). A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

I have had a look at the includes and what I would like to do is raise a separate ticket.
The reason for this is I think it would be best to include all the registration fields in this includes file together
public_register_name
registration_number
and is_on_register_in_country_formed_in
However, in order to do this we'd need some consistencey in bo other the name "register_name" is used and in the entity it is "public_register_name". A discussion on this came up yesterday in
https://github.com/companieshouse/overseas-entities-api/pull/44
We are thinking of adding a ticket to do this work and we should probably keep it together. I can raise a ticket if you want. I'll discuss this with @markpit and @mwestacott as well.

What I can do for now is as suggested have an includes file just for the radio buttons but with a view to add those other two feilds as part of this other change.

repo: companieshouse/overseas-entities-web


text:
Uncertainty parameter dT wrongly defined

@jongrumer  dT in GRASP2018 is defined as the modulus of difference of transition rates (A) in length and velocity gauge divided by the max of transition rate in length and velocity gauges. However, using the max function in the denominator of dT makes the average values of dT always underestimate the uncertainties in A. Statistically, half of the A_L values are smaller than A_V, so the average dT values are always smaller than the average relative discrepancy between A_L and A_V.

Good  answer.    Sorry I could not attend the CompAS meeting at Uppsala.
Regards,
Charlotte
-------------------------------%0D%0ACharlotte.F.Fischer%40Comcast.Net%0D%0A401 King Farm Blvd%2C %23402%0D%0ARockville%2C MD 20850%0D%0A%0D%0APhone%3A 301-963-4134

On 06/21/2023 5:14 AM EDT Jon Grumer @.***> wrote:
Hi @s-rathi https://github.com/s-rathi!
First of all, dT is not the uncertainty in A - it is not possible to define the uncertainty of a theoretically predicted property. We use dT as an indicator of accuracy and convergence. And, note that even if A_L and A_V agree, they might agree on the wrong value. So you always need to follow the convergence of the A values as you scan your CSF basis space and increase the complexity of your correlation model.
Hope that helped some, cheers
Jon
—
Reply to this email directly, view it on GitHub https://github.com/compas/grasp/issues/108#issuecomment-1600484716, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDK3SD4Y6QF4ARNRDP6TCLXMK3QZANCNFSM6AAAAAAYY5KI2E.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

authors: cffischer s-rathi

repo: compas/grasp


text:
Non-static generators are always unpin

#![feature(generators, generator_trait)]

use std::marker::{PhantomPinned, Unpin};

fn assert_unpin<G: Unpin>(_: G) {
}

fn main() {
    // Even though this generator holds a `PhantomPinned` in its environment, it
    // remains `Unpin`.
    assert_unpin(|| {
        let pinned = PhantomPinned;
        yield;
        drop(pinned);
    });
}

Just needs special logic added to builtin impls.

Conversely:
use std::marker::Unpin;

fn assert_unpin<T: Unpin>(_: T) {
}

fn main() {
    let mut generator = static || {
        yield;
    };
    assert_unpin(generator); //~ ERROR E0277
}

passes but it should not.

repo: compiler-errors/next-solver-hir-issues


text:
Timeline Request

Hey Devs,
There are currently 2 showstoppers for me in Archetype, which have caused me to pause development on my project.  First, there's the name space issue.  Then there's the issue of not being able to reference asset partitions from within other asset partitions to create a many to many type relationship.  I can work around the latter by using IterableBigMaps, but it's kind of ugly.  But there's simply no workaround for the former that doesn't create an irretrievable mess.
So my question is, is there some kind of timeline for when this will be addressed.  I was told last month that the namespace thing would be addressed in November, which is almost over, and there haven't been any commits in a couple of months.
In short, any timeline guidance would be really appreciated as I really want to get back to coding this thing, and I am trying to find out if I should wait or move over to e.g. Ligo (which I'm reluctant to do because I really like Archetype).
Thanks in advance.

Hello @evronm,
thank you for your feedback.
Indeed we are late on the arl import. We should have it by January.
Regarding "not being able to reference asset partitions from within other asset partitions" could you illustrate that with a basic example so that we have a precise idea of your need ?
We have been busy with support and documentation, and on the dev side, we have been working on the TS binding of archetype (and still are) which is a game changer for all integration subjects.
Kind regards.

Well, the classic example of what I'd want to do is something like tagging (not actually what I'm trying to do but a simple example):
Asset tags {   idt: nat;   tag: string; } Asset posts {   idp: nat;   title: string;   content: string;   tags:  partition<post_tags>; } Asset post_tags {   p_tags: partition<tags>; }
I just typed that in, so I'm not sure it will give the correct error, but that's the gist of the kind of thing I'm trying to accomplish.
Thanks again.

authors: evronm rognierbenoit

repo: completium/archetype-lang


text:
🛑 User community is down

In 5127fbb, User community (https://community.networkcanvas.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: User community is back up in 025a48a after 19 minutes.

repo: complexdatacollective/service-status


text:
mongodb-erlang's modify function return error

Hi, Mr Christkv, When I use mongodb-erlang's modify function,I had a problem.Could give me some tips, thank you very much!
erlang code ---
test_modify() ->
Actions = fun() -> mongo:modify(c1, {x,{'$lt',100}}, {y,10}) end,
do(Actions).
do(Actions) ->
case test_connection() of
{ok, Conn} ->
{State, Reason} = mongo:do(safe, master, Conn, testdb, Actions),
case {State, Reason} of
{failure, Reason} ->
mongo:disconnect(Conn),
{failure, Reason};
{ok, Result} ->
mongo:disconnect(Conn),
{ok, Result}
end;
{error, Reason} ->
{error, Reason}
end.
end code -----
my collections is :
mongo shell ----

db.c1.find();
{ "_id" : ObjectId("503b252196d6a81fb4000005"), "x" : 5, "y" : 6 }
{ "_id" : ObjectId("503b26ef96d6a81fb4000006"), "x" : 10, "y" : 11 }
{ "_id" : ObjectId("503b26ef96d6a81fb4000007"), "x" : 12, "y" : 13 }
{ "_id" : ObjectId("503b26ef96d6a81fb4000008"), "x" : 14, "y" : 15 }
end mongo shell ---

When running : test_modify/0 , there catch a error:
error code ---
{failure,{write_failure,10158,
<<"multi update only works with $ operators">>}}
end error code ---

hello, all did you solve this problem? Hope you can share your experience. Since I've got "multi update only works with $ operators" too. Tnx.

repo: comtihon/mongodb-erlang


text:
Feature/fix conan 028

conan-package-tools is broken due to conan 0.28 not extending default profile. This might help

Fixed with a different approach

authors: lasote memsharded

repo: conan-io/conan-package-tools


text:
Categorise Tailwind Classes

We want to provide categories for the Tailwind classes so that we can highlight those in the classname select. Right now we have the styles to do so, but are missing the actual categories on the TailwindOptions

I've already categorised all currently valid css properties  in the prototype, and the categorisation allows for multiple categories per class (so it can also work with more opinionated ones). So that would work nicely for showing you the categories / decorators for the currently applied classes. I'm not sure how well that approach would scale to eg annotating the  search results though.

authors: Rheeseyb maltenuhn

repo: concrete-utopia/utopia


text:
Changelog File?

Can I make the suggestion for a changelog file to be added to the repo? I like what is done at http://www.concrete5.org/documentation/developers/5.7/background/version-history/ but I also think that maintaining a changelog as things are added makes a lot of sense rather than trying to go back and cherry pick all the things that have changed over the last 4 months.
I think simply categorizing the issues (similar to how Yii does) based on the issue "type" labels (bug, enhancement, breaking change, etc). would make a lot of sense and additionally provides an quick place to look when one is trying to figure out what all has changed between say version 5.7.1 and 5.7.3 (or similar).

Will do. We have our own method for keeping the changelog up to date internally, but I will officially create the CHANGELOG.md file with 5.7.4 when it's release and keep it updated thereafter.

Awesome, thanks!

authors: MeyerJL aembler


text:
V8: Undefined ExpressCategory::getCategoryEntity when trying to create attributes for Express Objects

I created a express object. I went to add Attributes, and selected a AttributeType. Then this message came up:
Call to undefined method Concrete\Core\Attribute\Category\ExpressCategory::getCategoryEntity()
Checking the code, I definitely don't see that method defined in that class, nor in the parent AbstractCategory Class

This is fixed now – I imagine it was broken during some refactoring and then I noticed it. Thanks for the heads up.

authors: aembler cryophallion


text:
V8.0.3 Session problems when using Cloudflare / IP

When logging in you'll be redirected to the welcome page. When it loads the Welcome page it immediately forgets I'm logged in and any link I click results in a 404 page. When logging in again after the 404 it goes to system settings and everything works as long as I don't go to the Welcome back section. (Or the last link you clicked after landing on the welcome page, Didn't test that out yet)
I now redirect to the homepage to prevent this from happening.

@Jamezsss
Does this happen with a specific browser?
Do you have any browser extensions enabled that block or clear cookies?

So far I tested on Chrome on Windows 10 and Android. Also Mozilla Firefox. All with the same 404 after clicking on welcome in the settings menu.
Like it completely whipes the session. I am using Cloudflare. I don’t use any extentions for cookies of any sorts. I do have addblockers.

This sounds like a specific session problem, not necessarily an issue with the welcome page specifically.

It only occurs after visiting the welcome section/page. I turned cloudflare off and it still did the same thing. I login. It views the dashboard/welcome page and as soon as you refresh or click a link it gives a 404 page and I am logged out. In all browsers o.O Reinstalled Concrete 2 times to check if it still consisted and it does.

This seems to help:
application/config/concrete.php
Paste below.
 array(
        'trusted_proxies' => array(
            'ips' => [$remoteIp],
        ),
    ),
);

Maybe an idea to build in the option to activate or deactivate this code so cloudflare users (Or similar services) do not experience any session problems. A would like to have ;)

This is a common problem, that's why they publish their IP ranges: https://www.cloudflare.com/ips/

I'm quite new to using them in combination or to IP ranges at all. Concrete at this moment has no options to set these ranges right? Is it even possible? :)

That's a good point, but not sure, my big projects aren't using concrete5. If you'd have to list all IP addresses of that range it would be a pretty long list, they even have things like 104.16.0.0/12, that alone gives you 1048576 addresses 😃

I think you'd have to list all IP addresses... It uses Zend and this is the check https://github.com/zendframework/zend-http/blob/master/src/PhpEnvironment/RemoteAddress.php#L121-L125

I think that the proxy check is done here instead: https://github.com/symfony/http-foundation/blob/v3.1.4/Request.php#L1942 (and the list of trusted proxies should accept both IPv4 and IPv6 ranges, so you can also set in  for instance 104.16.0.0/12 instead of every specific address.
PS: it seems that the list of trusted IP addresses and ranges should be specified in this configuration key: concrete.security.trusted_proxies.ips (see https://github.com/concrete5/concrete5/blob/8.0.3/concrete/src/Foundation/Runtime/Boot/DefaultBooter.php#L358)

I'm on 5.7, yeah..

Sorry what was the solution here? I am seeing this issue on 8.1.0

This seems to help:
application/config/concrete.php
Paste below.
array( 'trusted_proxies' => array( 'ips' => [$remoteIp], ), ), );

@Jamezsss Thanks I don't have a application/config/concrete.php (Possibly because this is a site upgraded from 5.7?) As soon as I paste that I just get white pages... not even the normal errors like if I couldn't write to cache or something. What is the normal full contents of that file?
Is there a more permanent solution planned?

You need to create the file with opening and closing php tags

Sorry thats what I have done (sorry has been forever since I worked in PHP) I am doing exactly this
<?php

return array('trusted_proxies' => array( 'ips' => [$remoteIp], ), ), );

?>

Well you'd need to have that remote IP defined. Usually with cloudflare I need to either install their extension for my webserver or I need to disable session fixation protection via config.

We installed the extension for the webserver.
We are using Windows Server (Sadly) and added mod_cloudflare

https://www.cloudflare.com/technical-resources/#mod_cloudflare

@Jamezsss @KorvinSzanto Found it thanks:
https://support.cloudflare.com/hc/en-us/articles/200170706-How-do-I-restore-original-visitor-IP-with-Nginx-

authors: Jamezsss KorvinSzanto MrKarlDilkington Remo aembler corbinu mlocati


text:
Add interactive install flag

I threw this together this morning and in my down time today. I think if we're following #4295 this would fall under:

Controversial > Feature improvements
Controversial > Usability improvements

This I think is an important change. It adds the ability to install concrete5 via the command line interactively.
Today the best way to install over CLI is to:
A. Already know the required options
B. Look at the InstallCommand class to determine the options via code
C. Try over and over until the errors stop and c5 gets installed
If you're like me, you do C every single time. This is a super painful time waste, so instead lets do a wizardy interactive install:

To test install in interactive mode:
$ concrete5 c5:install -i
I'm personally going to use this every time I install concrete5 moving forward. Once v8 is released we can fully install concrete5 start to finish by doing:
$ composer create-project concrete5/concrete5
$ cd concrete5
$ concrete5 c5:install -i

:beers:

Neat!

That is very cool.

authors: KorvinSzanto MrKarlDilkington aembler


text:
Old code requires -fcommon or major overhaul.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

repo: conda-forge/astromatic-stiff-feedstock


text:
Add bobleesj as maintainer and remove SHA Jinja and preserve_egg_dir

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

I am being added as a maintainer for this project. Thanks!

@bobleesj I will close this and add you as a maintainer on the original PR so we don't need a new build number

authors: bobleesj sbillinge


text:
Allow different clang versions to exist in the same env

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

No, it's already useful to install clang-18 and clang=16

repo: conda-forge/clangdev-feedstock