Provide an option to disable specific stubs in settings

This is a great project - very useful and much faster than other language servers.
However, I've noticed that the stubs aren't accurate for a lot of things. I would much rather navigate to the source definitions than see misleading stub interfaces. It's always edge-cases. Most of the stubs are correct. It took me longer than it should have to realize that my local language server had changed, and that pylance was ignoring the actual source files. Reminds me of the early days of tsds and DefinitelyTyped with reverse engineered type definitions.
Please add an exclusion list for stubs so that developers have a way to fall-back to source definitions other than switching the language server.
The best work-around I have found so far is to toggle "justMyCode": false, in the launch config and step-into code where the pylance stubs are misleading. Before VSCode started using pylance it was possible to navigate into the source definition of installed packages. This feature is much more useful than navigating into a stub definition even when the stubs are correct.
As a corollary, I suggest that the stubs not be used at all when viewing the source definition of an inferred function or class. Specifically with the f12 hot-key or right-click navigation of "Go To Definition".

Rather than jumping to a specific solution, I'd like to better understand the problems you're having first; we fully intend that things will work with the stubs present, and anything past that indicates that there are bugs to solve rather than just disabling stubs (which will only make things worse overall; inferencing is not going to go well, and comparing it to MPLS is a bit tough because it made a number of questionable inferencing decisions).
It seems like you're saying a set of stubs we bundle is incorrect in some way. Which stubs are incorrect? We'd really be interested in making sure those are fixed; we have our own stubs but source some from typeshed and other repos.
You mention navigation; we intend for navigation to work, just that stubs may appear as well. There are some oddities in how VS Code shows this, often putting preselecting the wrong file. There have been requests to allow disabling going to stubs at all (#65), and we are working on modifying our behavior to improve navigation and add customization. What behavior are you seeing? Do you have an example? Are you seeing both locations, or just one and it's the stub?

Rather than jumping to a specific solution, I'd like to better understand the problems you're having first; we fully intend that things will work with the stubs present, and anything past that indicates that there are bugs to solve rather than just disabling stubs (which will only make things worse overall; inferencing is not going to go well, and comparing it to MPLS is a bit tough because it made a number of questionable inferencing decisions).
It seems like you're saying a set of stubs we bundle is incorrect in some way. Which stubs are incorrect? We'd really be interested in making sure those are fixed; we have our own stubs but source some from typeshed and other repos.
You mention navigation; we intend for navigation to work, just that stubs may appear as well. There are some oddities in how VS Code shows this, often putting preselecting the wrong file. There have been requests to allow disabling going to stubs at all (#65), and we are working on modifying our behavior to improve navigation and add customization. What behavior are you seeing? Do you have an example? Are you seeing both locations, or just one and it's the stub?

I see, thank you for the reply and clarifications.
I first noticed here with Django's AsyncClient:

https://github.com/typeddjango/django-stubs/blob/2a732fd2573bcddabb7dc284467481b040d26944/django-stubs/test/__init__.pyi
https://github.com/django/django/blob/master/django/test/__init__.py#L4

But, a number of things seemed broken. I'll take some notes next time I'm working with it.
I still think you should consider the feature to disable stubs for select packages. Thinking back to the early days of typescript and community sourced definitions in DefinitelyTyped, it was around 50% chance that tsds would pay-off vs causing more trouble than they averted for any given dependency.
My current workaround of disabling pylance isn't pretty but it's functionally more effective than disabling justMyCode and stepping into functions with a unit test each time I need to inspect something (which, is also often more effective than looking up the sources online or grep'ing for each one).
My ideal solution would allow me to leave pylance enabled in general for all dependencies (because it is fantastic, and much faster than jedi) except a specific deny-list if I suspect something isn't accurate. Once finished I'd remove everything from the deny-list and hope that the next time I sync'd things would have improved in the stubs. I'm guessing the number of packages covered by stubs will increase in the coming weeks / months, so this may become more important if there is any chance of inaccuracy.

I see, thank you for the reply and clarifications.
I first noticed here with Django's AsyncClient:

https://github.com/typeddjango/django-stubs/blob/2a732fd2573bcddabb7dc284467481b040d26944/django-stubs/test/__init__.pyi
https://github.com/django/django/blob/master/django/test/__init__.py#L4

But, a number of things seemed broken. I'll take some notes next time I'm working with it.
I still think you should consider the feature to disable stubs for select packages. Thinking back to the early days of typescript and community sourced definitions in DefinitelyTyped, it was around 50% chance that tsds would pay-off vs causing more trouble than they averted for any given dependency.
My current workaround of disabling pylance isn't pretty but it's functionally more effective than disabling justMyCode and stepping into functions with a unit test each time I need to inspect something (which, is also often more effective than looking up the sources online or grep'ing for each one).
My ideal solution would allow me to leave pylance enabled in general for all dependencies (because it is fantastic, and much faster than jedi) except a specific deny-list if I suspect something isn't accurate. Once finished I'd remove everything from the deny-list and hope that the next time I sync'd things would have improved in the stubs. I'm guessing the number of packages covered by stubs will increase in the coming weeks / months, so this may become more important if there is any chance of inaccuracy.

I have an issue that may be related to this? This is unfortunately mostly outside my understanding, so apologies if this is in the wrong place.
I'm using a beta version of SQLAlchemy, but as best I can tell PyLance is using some bundled stubs which mean that the new imports show as missing (as it only refers to the released version, even when a newer version is installed via pip). Would a setting like this allow me to tell PyLance to look at the installed packages rather than use the pre-shipped definitions?

The way things are ordered, our bundled stubs come last. I assume SQLAlchemy remains untyped, so we use the stubs we bundled. So yes, some configuration to do this would allow you to bypass these stubs.
For now, a workaround is to delete them from the Pylance distribution.

Thanks! Deleting the types (from .vscode\extensions\ms-python.vscode-pylance-2021.2.3\dist\bundled\stubs\sqlalchemy) has fixed the ghosts telling me functions don't exist 😃 . I would support this feature to provide a way to ignore them in the configuration/GUI.

Any pre-bundled stubs should be opt-in, or the extension can simply ask the user to install stubs.
The golden rule is to be explicit, not implicit. I’m OK to be warned that typings are missing, and can install the requisite typings as I normally do. I’m not OK with IDE sneaking in code from third parties not vetted by core maintainers of the libraries I trust, and resulting typing mismatches.

SQLAlchemy maintainer here.
My 2c is that in SQLAlchemy 2.0 we hope (emphasis on hope...) to have the entire library typed within the source code.   so to the degree that pylance will automatically use the  .py file that has typing information vs. what it has in a stub, we're good, but I dont know the mechanics of that.   However, if pylance still keeps consulting the stubs and confusing things, then we want to give our users instructions on how to use SQLAlchemy 2.0 and make sure no obsolete stubs are being pulled in from their IDE.

@zzzeek, thanks for posting. It's great to hear that SQLAlchemy 2.0 might have full and complete inlined type information! I'm very encouraged and excited to hear that. Fingers crossed that you can make that happen. Let us know if there's anything we (the pylance and pyright maintainers) can do to help. (One thing that you might find useful is the "--verifytypes" option provided by the command-line version of pyright. It allows you to verify whether any public symbols in a py.typed library are missing type information.)
We release pylance every week (except for the next few weeks when we're on a hiatus for the holidays). We can therefore respond quickly once you have the SQLAlchemy 2.0 plans finalized. It's in everyone's best interest that pylance and SQLAlchemy work great together. Let's collaborate to figure out the best answer. Do you have a rough timeline for SQLAlchemy 2.0?

Hi @erictraut, another SQLAlchemy maintainer here, thanks for the offer!
I've started some work on typing by trying to convert some the decorators, but I think we encountered a bug with ParamSpec . I've tagged you to the issue in pyright

Let us know if there's anything we (the pylance and pyright maintainers) can do to help

Having the ability of listing a series of package for which to ignore any stub would be really helpful to develop for a package like sqlalchemy for which the are bundled stub and there may also be stubs installed from pypi.
Tracking down all the possible install location to remove the stubs from both the vscode folder, the npm/yarn/npx pyright install location etc is really tedious, and it's easy to miss a location or an update.
Ideally this would be a pyright configuration we can add to pyproject. something like ignore_stubs = ['sqlalchemy', '...']
I understand that this is use case is somewhat limited to library author for which there are bundled stubs, but you asked :)

I'd prefer to find a solution that's more automatic than a manual configuration override. Pylance has millions of users, so asking each of them to do manual configuration to get the correct behaviors is far from ideal. We should try to find a solution that "just works" for the vast majority of pylance & sqlalchemy users.
PEP 561 unfortunately allows installed stub packages to override the types provided inline by a "py.typed" library even if the stub package isn't marked "partial". I don't recall this ever being an issue prior to this, but it will be a problem for sqlalchemy since there are existing stub packages on pypi, and you're now adding inlined types.
One option is to effectively deprecate the pypi stub package by publishing a new version that is marked as "partial" and removing all modules from it. That way, if someone installs the latest version of the stub package along with the new "py.typed" version of sqlalchemy, they'll work fine together. That doesn't address the situation where users have an older version of the stub package installed and then install the "py.typed" version of sqlalchemy.
Another option is for pylance to detect when a stub package is present along with a corresponding "py.typed" package. It could follow PEP 561 precedence but emit a warning to recommend uninstalling the stub package. This isn't fully automatic, but it would be much more discoverable than a hidden configuration option.
I'll discuss this more with my colleagues once everyone is back from holiday vacations. Maybe they can come up with additional options.

I agree that an automatic solution would be the best. My suggestion of a configuration option was not for general usage but targeted just to library developers.
Ideally once a library is updated no config option is needed.
Thanks for taking the time of considering it!

One option is to effectively deprecate the pypi stub package by publishing a new version that is marked as "partial" and removing all modules from it. That way, if someone installs the latest version of the stub package along with the new "py.typed" version of sqlalchemy, they'll work fine together. That doesn't address the situation where users have an older version of the stub package installed and then install the "py.typed" version of sqlalchemy.

it seems very likely we will have to do something like this.
My impression is that this would not as much be a new version of sqlalchemy2-stubs, because im not aware of any way for the package to be "linked" only to SQLAlchemy 2.0; that is, if we published it to pypi, users of sqlalchemy 1.4 would get it also and their typing would then be completely broken (if you can confirm there's no mechanism I'm not aware of here to handle this problem).
so assuming that, it seems like it would be straightforward to release a package "sqlalchemy-null-stubs", the purpose of which is to replace any existing stubs packages, by providing a blank package that is nonetheless importable under "sqlalchemy-stubs", which IIUC is the magic name that all the type checkers look for.   At least with such a package, we only have to put it up once and then it's there for all future releases.
Questions remain then what is the structure of this package:

for it to be installed at all, I would assume it at least needs to have an __init__.pyi file present?
if this file is present, and we assume it's blank, does that cause the typing annotations in sqlalchemy/__init__.py to be skipped by type checkers or does this work?  otherwise how do we compose this blank stubs package.
can we otherwise assume the presence of a blank sqlalchemy-stubs package will instruct correctly implemented type checkers to honor all annotations in all files within the main sqlalchemy package?
the presence of a blank sqlalchemy-stubs package will definitely mean that none of the pre-installed stubs get used?  e.g. .vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/sqlalchemy, .npm/_npx/<number>/node_modules/pyright/dist/typeshed-fallback/stubs/SQLAlchemy/sqlalchemy etc?   just fyi these files are really hard to find.

You wouldn't want to include an __init__.pyi file because it will override the real __init__.py. I don't think you need to include any .pyi file in the null stub package. Just a "py.typed" file that includes "partial".
This will all require testing across the various type checkers because PEP 561 isn't sufficiently clear about how this all works, and type checker authors have struggled to get consistent behavior here.

My impression is that this would not as much be a new version of sqlalchemy2-stubs, because im not aware of any way for the package to be "linked" only to SQLAlchemy 2.0; that is, if we published it to pypi, users of sqlalchemy 1.4 would get it also and their typing would then be completely broken (if you can confirm there's no mechanism I'm not aware of here to handle this problem).

I think this is possible. We could provide a version on pypi, (let's call it 2.0) that has sqlalchemy >= 2 in the requirements.
Then we can continue to publish other non-empty version of the stub using sqlalchemy < 2 as requirements.
Pip should understand these constraints, and newer version of pip will also report if a non compatible version is installed

OK it works from a pypi perspective, but what does pylance / pyright do?   from what I can see, there is only one stubs package being shipped.  they would need to not package the latest version of sqlalchemy2-stubs

also, someone has sqlalchemy 1.4 installed.  then they say, "pip install sqlalchemy2-stubs --upgrade".  isnt that going to bump their SQLAlchemy to 2.0 ?  id rather not have it work that way.

Pyright doesn't ship any sqlalchemy stubs. Pylance does include sqlalchemy stubs, but we ship a new version of pylance every week and can make whatever changes are necessary to make it work well with sqlalchemy 2.0.

isnt that going to bump their SQLAlchemy to 2.0 ? id rather not have it work that way.

I think so, but pip will then print an error because of incompatible dependencies

OK sorry to fill up your issue tracker, this discussion is moved to https://github.com/sqlalchemy/sqlalchemy/issues/7555.  thanks for your help @erictraut !

Pyright doesn't ship any sqlalchemy stubs. Pylance does include sqlalchemy stubs, but we ship a new version of pylance every week and can make whatever changes are necessary to make it work well with sqlalchemy 2.0.

@erictraut can I assume pyright is downloading the stubs from https://github.com/python/typeshed/tree/master/stubs each time you run it, something like that?  that is, our goal would be to block / replace the stubs that come from typeshed.

Pyright bundles the stubs from typeshed. It doesn't download them dynamically. I update the bundled stubs from typeshed every few weeks, so any change in typeshed will be quickly reflected in pyright. But these shouldn't be an issue anyway because typeshed stubs are resolved last in PEP 561 ordering.

I just tried the approach of implementing a null stubs package, with py.typed containing the word "partial".  Then I went into pylance setup and set the path to these stubs in "stubs-path".   The approach still does not work, until I did a search in my .vscode directory for all SQLAlchemy stubs and deleted them (there were four separate copies of it).
the reason seems clear from the spec:

For the benefit of type checking and code editors, packages can be "partial". This means modules not found in the stub package SHOULD be searched for in parts four and five of the module resolution order above, namely inline packages and typeshed.

so just having a single py.typed file isn't going to work.    We would need to either provide a stub package that features a blank .pyi file for every module in SQLAlchemy (not really feasible), or we somehow get our "blank" stubs into typeshed, or pylance includes some option to de-select certain typeshed stubs from being used.
I remain unclear on how to put multiple versions of stubs in typeshed that are dramatically different based on the version of the main library that's in use.

We (the pylance team) talked about this internally. Perhaps we're overthinking this. Maybe it's sufficient to fix the bundled stubs and then tell users to uninstall any packaged stubs that they have within their Python environment. There will be a short period of time where there's some confusion, but it will clear up over time. If it proves to be a big problem, pyright could detect the incompatible stub package and present the user with a warning and suggest that they uninstall it.

We (the pylance team) talked about this internally. Perhaps we're overthinking this. Maybe it's sufficient to fix the bundled stubs and then tell users to uninstall any packaged stubs that they have within their Python environment. There will be a short period of time where there's some confusion, but it will clear up over time. If it proves to be a big problem, pyright could detect the incompatible stub package and present the user with a warning and suggest that they uninstall it.

I just asked the typeshed folks over at https://github.com/python/typing/discussions/1022 and it seems once SQLAlchemy 2.0 is up and has inline typing, typeshed will remove sqlalchemy stubs from it's current repo.   so this would mean pyright/pylance would no longer include it either in new releases and that would be it.
so it seems the only limiting factor now is how quickly typeshed will make this change once we release SQLAlchemy 2.0.

We bundle the typeshed stubs with pyright/pylance. I typically incorporate the latest versions from typeshed ever two weeks, but I can do it on demand. So if it becomes necessary to delete the SQLAlchemy typeshed stubs quickly, we can take care of that. The typeshed maintainers are also very responsive, so it usually takes less than 24 hours to get a PR reviewed and merged.

OK let's go with that then.   seems like it will work out.

Moving this issue to discussion as an enhancement request for comments and upvotes.


adding support fpr Oracle Linux 6,7,8 and 9

Hi i added and tested the ability handle Oracle Linux systems (6|7|8|9) with this role

[citest]


Fix build.

Fixes the standalone build (need to include ObjC files in the target and import the headers).
This will also enable the ability to use Carthage to install the framework.
Can you please commit and generate a new tagged version (0.6.2?)
Thanks!

Thanks for that contribution!

I am going to check the other pull requests, then make a new tagged version.


struct.error: unpack requires a bytes object of length 4

File: https://drive.google.com/file/d/0B5nWjiXFR3UDZXZsTFJldS1fVFU/view?usp=sharing

I had a similar issue


Bundle load fails due to sandboxing

I was getting an error to update the framework paths, so I added  $(SRC_ROOT)/../Pods - Recursive to the InjectionBundle framework search paths.  Now I get the following errors:
Renaming bundle so it reloads..
rm -rf
"/Users/timothycosta/Desktop/lingq/iLingQ/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle3.bundle" && cp -r
"/Users/timothycosta/Desktop/lingq/iLingQ/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle.bundle"
"/Users/timothycosta/Desktop/lingq/iLingQ/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle3.bundle"
Codesigning with identity 'iPhone Developer: Tim Costa (****)' for iOS device
Uploading
'/Users/timothycosta/Desktop/lingq/iLingQ/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle3.bundle' to device...
Loading Bundle...
Modified iOSInjectionProject/injectionCount.txt ...

*** Bundle load failed ***

Consult the Xcode console.

Error loading /var/mobile/Containers/Data/Application/0ED95CA5-837E-4B4B-AEF8-94F1787DF5A2/tmp/InjectionBundle1.bundle/InjectionBundle:  dlopen(/var/mobile/Containers/Data/Application/0ED95CA5-837E-4B4B-AEF8-94F1787DF5A2/tmp/InjectionBundle1.bundle/InjectionBundle, 265): no suitable image found.  Did find:
	/var/mobile/Containers/Data/Application/0ED95CA5-837E-4B4B-AEF8-94F1787DF5A2/tmp/InjectionBundle1.bundle/InjectionBundle: file system sandbox blocked mmap() of '/var/mobile/Containers/Data/Application/0ED95CA5-837E-4B4B-AEF8-94F1787DF5A2/tmp/InjectionBundle1.bundle/InjectionBundle'
Bundle Load Error
 *** Bundle has failed to load. If this is due to symbols not found, this may be due to symbols being hidden from dynamic libraries. ***

Due to changes in iOS 10, Injection currently no longer works on a device :(.

Ooooooh, sad!

I’ll leave this open in case there is a fix.

some problem hoping for solving it.

From talking to engineers at WWDC and via Radar, this is not a bug, they aren't planning to ever re-enabled this.

There are no entitlements for this, and we are not planning on adding any. If the MDM solution is not appropriate for you, please file a Radar against MDM for them to fix their bugs or provide proper support for app deployments. But allowing apps to download code and load it is not something we are going to support.


Colour palette refresh

What is it and who's it for?
User story
As a (who? user/persona)
I need/want/expect (what? to do this thing)
So that (why? accomplish a goal/get a benefit)
Implementation
Acceptance criteria
Testing and tracking

Setting up additional tracking and monitoring - talk to Tacey
Qual and/or Quant test plan - Alice and Tacey

Measurement

Related KPIs (e.g. breadth of collection accessed, reading time, etc.)

Other considerations
<---Delete as appropriate--->

Impact on URL design
Cardigan documentation

Closing as done – we rolled out the new colour palette last year.


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"<EMAIL_ADDRESS>            "fromName": "support"
        },
        "admin": {
            "enabled": false,
            "emailAddress"<EMAIL_ADDRESS>            "notifyBlockFound": true
        }
    },
    "persistence": {
        "postgres": {
            "host": "<IP_ADDRESS>",
            "port": 5432,
            "user": "miningcore",
            "password": "somepassword",
            "database": "miningcore"
        }
    },
    "paymentProcessing": {
        "enabled": true,
        "interval": 100,
        "shareRecoveryFile": "recovered-shares.txt"
    },
	"api" : {
		"enabled": true,
		"listenAddress": "<IP_ADDRESS>",
		"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": "<IP_ADDRESS>",
          "difficulty": 128,
          "varDiff": {
            "minDiff": 0.05,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 10,
			"maxDelta":500
          }
        }
      },
      "daemons": [
        {
          "host": "<IP_ADDRESS>",
          "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": "<IP_ADDRESS>",
          "difficulty": 128,
          "varDiff": {
            "minDiff": 0.05,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
          }
        }
      },
      "daemons": [
        {
          "host": "<IP_ADDRESS>",
          "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" :<PHONE_NUMBER>57607,
"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":<PHONE_NUMBER>.283833,
"difficulty_scrypt": 68535.30183350088,
"difficulty_groestl":<PHONE_NUMBER>387084,
"difficulty_skein":<PHONE_NUMBER>618071,
"difficulty_qubit":<PHONE_NUMBER>99254,
"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?


WaveBird compatibility?

I've managed to get this mod running off of a couple AA batteries in a third-party N64 controller, and I thought that using a WaveBird controller would be the perfect solution to making it completely self contained. I've wired up the Pico W to a WaveBird controller and for the data line I have it connected to pin 7 of the wireless transmitter in the controller and I've connected VSYS to the middle pin on the power switch so that the Pico W is only powered on when the controller is powered on, and obviously I connected a ground pin on the Pico W to the controller's ground, but when I power it on the controller doesn't show up on my Switch nor does it show up in available Bluetooth connections on my phone. Does anyone know what pin on the WaveBird IC outputs the 24 bit signal needed for this mod, or if it's possible to modify this program to use the signal sent to the WaveBird transmitter that is used by the receiver to generate the 24 bit signal sent to the console?

It doesn't look like there's any trace that'd provide the signal required by this project within the wavebird itself. You'd have to grab it from the console-side transceiver.

It doesn't look like there's any trace that'd provide the signal required by this project within the wavebird itself. You'd have to grab it from the console-side transceiver.

Looks like that controller not only handles reading the button states, but also handles wirelessly transmitting this to the reciever.
you might be able to ditch this controller and read the buttons themselves (and save ton on wasted power) using https://gp2040-ce.info/
Which is exactly the oposite from what this very project does what I want, I want the pico to NOT skip decoding and do use the N64/GC connector.


Use detected SuSE type instead of opensuse when inserting oval data

What did you implement:
command "goval fetch-suse" for SLES is not working
When using
goval-dictionary fetch-suse -suse-enterprise-server 12
OVALs are downloaded from suse website but then i  got "Unsuport family: opensuse" message when inserting then in the database, like #100 and #86 issues
after this change i was able to fetch sles OVALs and was also able to use vuls to analyze SLES vulnerabilities (I'll open an issue to document it on vuls side after)
Fixes #100 #86 (at least I think ;) )
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
After the fix I can now fetch ovals for SLES 11 12 and 15
goval-dictionary fetch-suse -suse-enterprise-server 11
goval-dictionary fetch-suse -suse-enterprise-server 12
goval-dictionary fetch-suse -suse-enterprise-server 15

And I can check packages on my sles system by using vuls API like this
curl 'http://localhost:5515/vuls'  -H 'Content-Type: application/json'  --data '{ "family" : "suse.linux.enterprise.server", "release" : "12.1", "packages" : { "openssl" : { "name" : "openssl", "version" : "1.0.1i-34.1", "arch" : "x86_64"} } }

Checklist:
You don't have to satisfy all of the following.

[ ] Write tests
[ ] Write documentation
[x] Check that there aren't other open pull requests for the same issue/feature
[x] Format your source code by make fmt
[x] Pass the test by make test
[x] Provide verification config / commands
[x] Enable "Allow edits from maintainers" for this PR
[x] Update the messages below

Is this ready for review?: Yes
Reference

https://blog.github.com/2015-01-21-how-to-write-the-perfect-pull-request/

Many Thanks :)

You're welcome :) Thanks for your great tools !


New package: CLEARSWI v1.0.0

Registering package: CLEARSWI
Repository: https://github.com/korbinian90/CLEARSWI.jl
Created by: @korbinian90
Version: v1.0.0
Commit: acc3a555a6c79d743ee26546d6b50085e4a119f2
Reviewed by: @korbinian90
Reference: https://github.com/korbinian90/CLEARSWI.jl/commit/acc3a555a6c79d743ee26546d6b50085e4a119f2#commitcomment-86405951
Description: improved susceptibility weighted imaging using multi-echo aquisitions

I would like to register this package.
CLEAR-SWI is an acronym for a published method, so I would prefer to keep it uppercase CLEARSWI.jl
However, I'm also happy to change it to Clearswi.jl if that is strongly preferred by the package naming style.


Text to Speech seems to be independent from game volume

Before reporting, I have confirmed that

[X] This bug does not appear to be reported on GitHub Issues before.
[X] This bug still exists in the latest version of the Minecraft Transit Railway mod.
[X] I have tested this in the official version of Minecraft Transit Railway, not a modified, custom, or unofficial build.

Describe the Bug
Text to Speech is independent from game volume, at least on Windows. I've attached a video with an example,
https://github.com/user-attachments/assets/8d43c5f0-1651-41fa-9fda-a9fd93391ce6
Reproduction Steps

Trigger a text to speech audio. (e.g. right clicking a tactile map, next stop announcement)

In-game Log and Crash Report
latest.log
Mod Loader
Fabric
Minecraft Version
1.20.4
Minecraft Transit Railway Version
4.0.0 (beta 12)
Operating System
Windows 11
List of Mods or Modpack You Were Using

Architectury (https://modrinth.com/mod/lhGA9TYQ)
Athena (https://modrinth.com/mod/b1ZV3DIJ)
Axiom (https://modrinth.com/mod/N6n5dqoA)
BetterF3 (https://modrinth.com/mod/8shC1gFX)
Chipped (https://modrinth.com/mod/BAscRYKm)
Cloth Config v13 (https://modrinth.com/mod/9s6osm5g)
Continuity (https://modrinth.com/mod/1IjD5062)
CraterLib (https://modrinth.com/mod/Nn8Wasaq)
Fabric API (https://modrinth.com/mod/P7dR8mSH)
Indium (https://modrinth.com/mod/Orvt0mRa)
Iris (https://modrinth.com/mod/YL57xq9U)
Jade (https://modrinth.com/mod/nvQzSEkH)
Joban Client Mod (https://modrinth.com/mod/lQqKCDhg)
Lithium (https://modrinth.com/mod/gvQqBUqZ)
MTR London Underground Addon (https://modrinth.com/mod/jrAXj11W)
MTR Station Decoration Addon (https://modrinth.com/mod/station-decoration)
Minecraft Transit Railway (https://modrinth.com/mod/XKPAmI6u)
Mod Menu (https://modrinth.com/mod/mOgUt4GM)
Placeholder API (https://modrinth.com/mod/eXts2L7r)
ReFramed (https://modrinth.com/mod/jCpoCBpn)
Reese's Sodium Options (https://modrinth.com/mod/Bh37bMuy)
Resourceful Lib (https://modrinth.com/mod/G1hIVOrD)
Simple RPC (https://modrinth.com/mod/ObXSoyrn)
Simply Light (https://www.curseforge.com/projects/300331)
Sodium (https://modrinth.com/mod/AANobbMI)
Sodium Extra (https://modrinth.com/mod/PtjYWJkn)
Xaero's Minimap (https://modrinth.com/mod/1bokaNcj)
Xaero's World Map (https://modrinth.com/mod/NcUtCpym)

Extra Information
No response

I realize it could be hard to tell that the volume doesn't change in the video I attached, here's an example where the game volume is at 0%.
https://github.com/user-attachments/assets/c5f45d52-a354-4713-bc20-c8493c0073ff

Probably related: https://bugs.mojang.com/browse/MC-118470

Probably related: https://bugs.mojang.com/browse/MC-118470

I wasn't fully sure as to how the mod plays the text-to-speech.

It just uses Mojang's Narrator, which in turn differs across system, but none of them seems to take in-game volume into account.
I suppose we could check if the volume is 0 and just not play the announcement, but if the issue is that the voices are too loud, then I don't think there's anything that can be done at the moment.
(Maybe you can change the volume somewhere in the system settings? I am not sure though)

It just uses Mojang's Narrator, which in turn differs across OSes, but none of them seems to take in-game volume into account.
I suppose we could check if the volume is 0 and just not play the announcement. But if the issue is that the voices are too loud, then I don't think there's anything that can be done at the moment.
(Maybe you can change the volume somewhere in the system settings? I am not sure though)

It's a bit of both, but for low volume, it could probably be managed through the built-in volume mixer.
A check for if the volume is 0 is probably a good idea anyway.


Update tutorial-shared-hosting.md

I'm guessing whoever wrote this was not a native English speaker. I cleaned it up and hopefully made it a little easier to follow.

Thanks!

I'm working on my first (and second) yii2 apps. I've been following these directions and can't get them to work even locally. I think my problem is here:
www will be our frontend directory so move contents of frontend/web into it. Do the same with backend/web moving its contents into www/admin. **In each case you need to adjust paths in index.php and index-test.php.**

I don't know how I am supposed to adjust these paths. Any pointers would be much appreciated.

Well, these have to point to the file specified relatively to current dir.

if my old structure was yii-application/frontend/web and my new structure is yii-application/public_html/web do I need to change anything?
I realized in the config file I need to point the controllerNamespace to public_html rather than front_end, but I do see the changes I need to make to index.php.
But if I go to http://localhost/yii-application/public_html/web/ http://localhost/yii-application/public_html/web/ I get
exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request "site/error".' in /Users/asmythe/Dropbox/TF~Clients/Sites/RR/vendor/yiisoft/yii2/base/Module.php:461
Stack trace:

On Mar 7, 2015, at 4:48 PM, Alexander Makarov<EMAIL_ADDRESS>wrote:
Well, these have to point to the file specified relatively to current dir.
—
Reply to this email directly or view it on GitHub https://github.com/yiisoft/yii2/pull/7621#issuecomment-77712269.

Yes, alias path is now different so you need to adjust in in config.


Missing line breaks in "PROBLEMS" tab make it impossible to read long messages

Issue Type: Bug
Build a project with an error that produces a long (single line) error message.
Since there are no automatic line breaks in the "PROBLEMS" tab, at a certain length (depending on the screen resolution/width) it becomes impossible to read the message.
VS Code version: Code 1.33.0 (0dd516dd412d42323fc3464531b1c715d51c4c1a, 2019-04-04T15:08:57.775Z)
OS version: Linux x64 4.15.0-46-generic

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz (12 x 1197)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: enabled_onvideo_decode: unavailable_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 0, 0

Memory (System)
31.32GB (2.87GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

Doxygen
bbe
1.0.0

global-config
Gru
0.0.7

python
ms-
2019.3.6352

cpptools
ms-
0.22.1

cmake
twx
0.0.17

@johschmitz Long message are automatically wrapped. You can see them fully by enabling workbench.list.horizontalScrolling setting.

It does not work, neither does it wrap nor scroll after activating workbench.list.horizontalScrolling.
Could this be related to using the cpptools extension? Or is the "PROBLEMS" tab independent of extensions.

Okay I was actually partially wrong. It does NOT wrap the lines, that was a correct observation but there actually is a scroll bar. It is just very hard to see because it is transparently overlaid over the text.


It doesn't do anything

typed this in terminal
$ echo "hello mr streamer" | ./tts.sh
Reading text from STDIN...
parse error: Invalid numeric literal at line 1, column 10
API Error:

And this was the response. Maybe streamlabs has changed its api. IDK.

Yeah, looks like they've changed their API

This was always using an undocumented API, so not surprised it finally broke
thanks for the comment, will update the readme

Yeah, looks like they've changed their API

This was always using an undocumented API, so not surprised it finally broke
thanks for the comment, will update the readme


SPMP Version 0.3

Addition of members to Role And Responsibilities (4.2)
Addition Group Representatives (4.3)
Addition of  Standards (4.4)
Reorder by alphabetical of Roles and Responsibilities (4.2)
Grammatical editing (5.1)

Authors : @AliShahidGit,  @danhuynh1, @Jamie-Omorodion, @kobilee, @pint5070  @NickMarecek, @prayritkhanna

Go ahead and merge\delete the branch.

Go ahead and merge\delete the branch.

For me it says that I'm not authorized to merge this pull request.

I changed some settings let me know if it works now.

I changed some settings let me know if it works now.

Not yet, this is still what I see

Fixed it lol.


mman module netbsd additions.

@asomers while testing #1624 I found that test_mremap_shrink was failing with ENOMEM on NetBSD. After investigating it seems like this test was never actually run on NetBSD when this PR was authored. 😞  The documentation added for MAP_FIXED is also incorrect, and the confusion seems to be why the test is failing.
I'll submit a PR (another day) to clean all this up.

The NetBSD man page for mremap states
     MAP_FIXED          newp is tried and mremap() fails if that address can't
                        be used as new base address for the range.  Otherwise,
                        oldp and newp are used as hints for the position,
                        factoring in the given alignment.

Whereas nix's documentation for the corresponding parameter new_address states
Permits to use the old and new address as hints to relocate the mapping.

I believe nix's documentation is completely backwards. If MAP_FIXED is not specified, newp is just a hint. But if MAP_FIXED is specified, NetBSD attempts to use newp and fails if it can't.
The test passes None for newp/new_address,  which is converted to NULL which will never work.
On a related note, I have a NetBSD VM now.

@asomers while testing #1624 I found that test_mremap_shrink was failing with ENOMEM on NetBSD.

What happens if you do ulimit -c unlimited ?

@devnexen no change, test still fails.

in my netbsd laptop 3 times out of 4 it passes however if indeed I put a address in the last argument it always pass.


Change Mesh On The Fly

Hello. I have a Build() process in my project where I need at one point, to change the current Mesh of the GameObject (and theire is an ElasticDeformable on it. How do I do it correctly without breaking everything ?
`
Deformable deformable = gameObject.GetComponent();
            deformable.ChangeMesh(ModelData.Mesh);
            deformable.ResetDynamicData();

`
And it work, but then I have a lot of errors: "A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details."
It seems to work thought, but I don't like those errors :/
My Goal is to "Reset" the ElasticDeformable, then Change the Mesh of the MeshFilter, and then "Enable" Again the ElasticDeformable. One note thought: Doing so while enabling/Disabling the ElasticDeformable Component doesn't seams to work.

I'm not sure what version you're on, but on the latest if you want to change the mesh, you should only need to call deformable.ChangeMesh(someMesh)
However, for the Elastic Deformable, simply swapping the mesh is not enough because you also need to reset the additional position and velocity data used for the elastic calculations. If you don't reset the data it will look like this:

To reset the dynamic data, all you need to call is DisposeData() followed by AllocateData()

Here's the example script I wrote to test changing meshes at runtime. Let me know if it works for ya!
using Deform;
using UnityEngine;

public class MeshSwapExample : MonoBehaviour
{
    [SerializeField] private Deformable deformable;
    [SerializeField] private Mesh swapMesh;
    [SerializeField] private KeyCode swapKey = KeyCode.Space;

    private Mesh to, from;

    private void Start()
    {
        to = swapMesh;
        from = deformable.GetOriginalMesh();
    }

    private void Update()
    {
        if (deformable == null)
            return;

        if (Input.GetKeyDown(swapKey))
        {
            deformable.ChangeMesh(to);
            (to, from) = (from, to);

            if (deformable is ElasticDeformable elasticDeformable)
            {
                // You would normally want to call Complete() before disposing/changing the data to finish any running jobs that are using the data,
                // but the deformable.ChangeMesh() call above already calls Complete() so it's not necessary in this case:
                // elasticDeformable.Complete();
                elasticDeformable.DisposeData();
                elasticDeformable.AllocateData();
            }
        }
    }
}

Thanks, I will test that! I had found a dirty solution: remove the ElasticDeformable & create a new one :") I know it's sad... but I had to find something :')
I will try that. I suggest to add an Utility function for the future :)

Well unfortunatly, I have the same behavior as before... It works fine, but when I leave the play mode, I have 140+ error "A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details."

Hmmm I an unable to reproduce this behavior on my end. Do you mind sharing a repro project, or at the exact Unity/Deform version + some code I can run that should cause the error?


Empty board with valid FEN string?

Yup I wanted to create a custom board to make another game that is played with chess pieces but not the same way


chore: change supported API version

Docs: fix broken links in RELEASE.md and API version

Thanks a lot ！


FR: space between Chinese/Japanese/Korean and English

Examples:
日本語englishひらがな
カタカナenglishカタカナ
ﾊﾝｶｸｶﾀｶﾅenglish１２３全角数字
한글english한글

日本語 english ひらがな
カタカナ english カタカナ
ﾊﾝｶｸｶﾀｶﾅ english１２３全角数字
한글 english 한글

The original rule only considers Chinese.
https://github.com/platers/obsidian-linter/blob/5624359551750c9adbb7ad67745a69677cf3259d/src/rules/space-between-chinese-and-english-or-numbers.ts#L25
To deal with CJK, we can easily implement this by replacing [\u4e00-\u9fa5] with \p{sc=Han}|\p{sc=Katakana}|\p{sc=Hiragana}|\p{sc=Hangul}

Thanks for this suggestion. I will have to see about adding this to the list of things to do. I am definitely interested in adding it, I just need to see about making sure that it works gets the right updates to map the property since it will need that to happen due to wording changes that will be necessary.

There may be a problem adding this because of the Unicode property usage, but we can go ahead and see if that truly is the case once I get through some of the things I am working on.

This change has been merged and should be present on master and in the next release. Please let us know if either of these is not the case.


Dependency get failure on latest master. c021b9

Hi all. We are using the Quantum library in our projects and our CI started failing yesterday.
The error message looks to be quantum related:
 * Getting quantum (https://github.com/quantum-elixir/quantum-core.git)
 remote: Enumerating objects: 75, done.
 remote: Counting objects: 100% (75/75), done.
 remote: Compressing objects: 100% (49/49), done.
 remote: Total 2909 (delta 26), reused 73 (delta 26), pack-reused 2834
 Receiving objects: 100% (2909/2909), 729.82 KiB | 11.40 MiB/s, done.
 Resolving deltas: 100% (1676/1676), done.
 fatal: reference is not a tree: c021b9c929770c4f9237b68cb0754ce6c8008347
 ** (Mix)

I've confirmed this locally:
Styx-macs-MacBook-Pro:trixta_space Styx-mac$ mix deps.clean quantum
* Cleaning quantum
Styx-macs-MacBook-Pro:trixta_space Styx-mac$ mix deps.get
* Getting quantum (https://github.com/quantum-elixir/quantum-core.git)
remote: Enumerating objects: 75, done.
remote: Counting objects: 100% (75/75), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 2909 (delta 26), reused 73 (delta 26), pack-reused 2834
Receiving objects: 100% (2909/2909), 729.82 KiB | 859.00 KiB/s, done.
Resolving deltas: 100% (1676/1676), done.
fatal: reference is not a tree: c021b9c929770c4f9237b68cb0754ce6c8008347
** (Mix) Command "git --git-dir=.git checkout --quiet c021b9c929770c4f9237b68cb0754ce6c8008347" failed

It seems like the current master is failing to check out against that SHA. This is likely due to the currently in-progress 2.4.0 release and a missed tag.
I'm bringing it up as currently having {:quantum, git: "https://github.com/quantum-elixir/quantum-core.git"}, will cause your dependency pulls to fail.
TEMPORARY RESOLUTION
I've changed my mix.ex reference to {:quantum, git: "https://github.com/quantum-elixir/quantum-core.git", ref: "a49df9f"},, which is the v2.3.4 release SHA, as a quickfix until the rollout of 2.4.0 happens.
Please let me know if I'm misunderstanding anything. I'll resolve and remove this issue once the release is out.

If you want to make sure that a dependency always works, adding a ref like you did is required.
I‘ll try to get out the unreleased changes out as v3 soon.


added token to the workflow

Codecov Report

Merging #6 (710c3ad) into main (aa30b2a) will increase coverage by 2.77%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main        #6      +/-   ##
===========================================
+ Coverage   97.22%   100.00%   +2.77%
===========================================
  Files           2         2
  Lines          36        38       +2
===========================================
+ Hits           35        38       +3
+ Misses          1         0       -1

Impacted Files
Coverage Δ

api/calculator/test_calculator.py
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Events not triggered on subscription products

Hello,
I am using Nativescript Angular for Android.
I am trying to subscribe to a product that I have configured in Google Play console.
I am able to init the product correctly and I am also able to buy the product. The payment dialog works correctly and notifies the user that subscription was successfull. I get an email confirmation about the subscription and I also see it in my Google Play under orders.
However, the event "purchase.transactionUpdatedEvent" is never triggered on subscription products and I have no way of understanding in the program if the subscription have been done to send this info the server.
Have I misunderstood something about the usage and functions of this library? How am I supposed to catch successfull subscription in the app.

Hey @aftoncreative , I have just tried this with the ProPlugins version and the even is triggered correctly for a subscription. I checked the code here as well and I dont see a reason why it isn't called, except if the native android side doesn't trigger the intent when a sub is used, but I dont remember seeing such a behavior before.

No further response so closing this one for now. In case you still have problems, please provide more details.

@PeterStaev same here - the event transactionUpdatedEvent is not triggered at all on some devices (while working on others) - I can't exactly pinpoint the reason (from what I am experiencing it is not API level dependent)

@NickIliev , sadly I dont have an app using the plugin, so that I can gt a broader test devices. During all my dev testing on emulators the event always fired. If you can pinpoint on which it fails, would love to help out.

@PeterStaev after some additional digging it seems that the issue appears when there are multiple Google Accounts on the same device. Although the primary Google Play Account is the one that has made the purchase (and the buyProduct and restorePurchase are successfully triggering the transactionUpdatedEvent  ) the restorePurchase is not raising the event on a device where there is more than one Google Account.
I also have a user that claims that he has one single account on the device and that is again experiencing the issue so I will need some more investigation - it appears that the restorePurchase might not trigger transactionUpdatedEvent even when the setup is pretty straight-forward
I've just joined ProPlugins and I am currently testing against the proplugin version of the plugin - will let you know as soon as I have more insights.

@PeterStaev some more information.. it seems that it is not related to the multiple accounts as I previously thought.. it is happening on several devices with different API level so I am kinda clueless.
However, I've noticed that the issue might be resolved when using the ProPlugins version... crossing fingers - I am currently deploying in production and will wait for results from users (the only device that was able to reproduce the issue on my side is working well with the ProPlugin version).

@PeterStaev unfortunately the ProPlugin is also experiencing the very same issue. I am not sure where an issue for the ProPlugin should be logged so In am posting the information here for now.
Here is what happens:

I am having a managed product that a user buys (buyProduct) - the event transactionUpdatedEvent is raised as expected everything works.

On app removal and reinstallation the code triggers restorePurchase method which should again raise transactionUpdatedEvent.

The issue:  The event is not raised for a number of Android devices in production. The event is raised for all devices in debug mode. I am experiencing the issue on some slower devices like Samsung A3 (Android 8) and Lenovo K10 (Android 6)

@NickIliev I've added the issue (https://git.proplugins.org/Tangra/nativescript-purchase/issues/7) if you want we can continue the discussion there. The login should be the same as the one you use for the ProPlugins NPM

After discussing this further, the problem was that the purchase was getting consumed in code, which makes it unavailable when restoring. After the consume was removed the event is triggering normally.

Hello, getting back to this now since I started experiencing these problems again. The subscription-product sometimes results in an error:
JNI DETECTED ERROR IN APPLICATION: can't call int com.android.billingclient.api.Purchase.getPurchaseState() on null object
-> Any idea? Sometimes it works sometimes it gives this error.

Hello, getting back to this now since I started experiencing these problems again. The subscription-product sometimes results in an error:
JNI DETECTED ERROR IN APPLICATION: can't call int com.android.billingclient.api.Purchase.getPurchaseState() on null object
-> Any idea? Sometimes it works sometimes it gives this error.


Implement CI/CD pipeline which covers full Kyma lifecycle (install, reconciler, delete)

Description
For ensuring the full lifecycle-management of Kyma works, a CI/CD pipeline is required which applies following actions:

Install Kyma (use 2.0 release)
Run Fast-Integration test
Reconcile Kyma using latest main-Kyma version (HEAD)
Run Fast-Integration test
Delete Kyma
Ensure Kyma was removed
Install Kyma (use 2.0 release again)
Run Fast-Integration test

AC:

Dedicated pipeline in Prow is created which runs daily on working days (before working hours start)
Pipeline simulates common Kyma lifecycle: install, reconcile, delete
Failures are reported to dedicated Slack channel: #jellyfish-ci

Reasons
Cover typical lifecycle-flow of a Kyma installation in a CI/CD pipeline.
Attachments

We have to verify that we are testing at least once the full lifecycle of Kyma in a CI / CD pipeline using the reconciler.
Goal: verify whether an existing pipeline already covers the Kyma lifecycle. If yes: done, if not - please come up with a pipeline which covers these parts.

Covered by existing pipelines. Closing this ticket.


Minor change to allow some webform shim functionality even if polyfiller is loaded and/or initialized post DOMReady

Change was made so that polyfiller could be late loaded and webform
shims would still work. If DOMReady has occurred functions that are
waiting for another DOMReady event (which won't happen) will now fire
immediately. New demo page tested in latest builds of Firefox, Safari
and Chrome as well as IE7-9.

I'm going to turn this part of the discussion over to Matt to reply to,
since he did the development and research on it.
On 12/9/11 1:42 PM, "Alexander Farkas"
<EMAIL_ADDRESS>ub.com> wrote:

Hi,
I'm not 100% sure, wether I understand your code/purpose right. If I try
your demo page without the changes, everything is fine (short test in
IE9/FF8). My hole testsuite is testing webshims by calling polyfill after
the load event.
I do generate Special 'Ready' events, which are immediately fired, if you
[add a new
event-listener](https://github.com/mrohland-at-gannett/webshim/blob/master
/src/polyfiller.js#L198-200). This special event handler is [created by
overriting the normal jQuery ready
method](https://github.com/mrohland-at-gannett/webshim/blob/master/src/pol
yfiller.js#L604-618).
In case your using polyfill after DOMReady I always suggest to set
waitReady option to false, because it doesn't work as expected. ->
Webshims doesn't delay the domready method anymore until all features are
loaded and implemented. Could you please explain in more detail, what the
problem is. If your code doesn't work right (polyfilling after
ready-event), you found a bug, because it should already work, but I have
difficulties to reproduce this.
cheers and thanks for working on the code :-)
alex

Reply to this email directly or view it on GitHub:
https://github.com/aFarkas/webshim/pull/79#issuecomment-3083710

--
Dan Moore
Developer
Gannett Digital ‹ Indianapolis
<EMAIL_ADDRESS>

Sorry about the confusion. The demo file I submitted wasn't the correct scenario (I had been testing something else and submitted that by mistake).
The change I made in polyfiller.js fixes an issue I was having when attempting to dynamically load webshims. Here's what I went through:
To get the webforms portion of webshim to work I had to follow your instructions on Stack Overflow pertaining to yepnope (http://stackoverflow.com/questions/5433126/html5-modernizr-yepnope-webforms2-issue) to get the library to load without any errors. Of course the "You should call $.webshims.polyfill before DOM-Ready" message still appears.
Then the validation polyfills wouldn't appear because .validity-alert-wrapper was still waiting for a DOMReady event, before appending to the body. (line 347 of shim/form-core.js)
The change I made insures that callbacks in a webshims.ready('DOM') call fire immediately if DOMReady has already occurred. I could have just added my fix just to form-core.js but I figured this would resolve the issue if other shims functioned similarly.
I'm sure you're more intimately aware of any ramifications my change could have so if there's a more elegant solution you can suggest I'm eager to hear it.

Ah, I think I understand this now and this is a bug. Instead of modifiying polyfiller.js. Can you try to simply add the following code after jQuery and polyfiller is loaded:
jQuery(function($){
	$.webshims.isReady('DOM', true);
});

Your code fixes the event API, but doesn't fix the isReady API (which isn't currently used but might be used in the future). If this fixes your issue, I will fix it with next release. I hope, I can do this soon, but I do need to find a better solution for issue #78.

That seems to do the trick. Thank you so much for the quick response.

Looks like we need to do a little tweak to allow the webshims stuff to work with highlighting the gdselect fields:
[cid:26CAD207-9FC2-44C1-8059-7843CB813A8C]
(that's on /odygci/firefly/html/firefly-payment-information.html)
--
Dan Moore
Developer
Gannett Digital  Indianapolis
dcmoore<EMAIL_ADDRESS>

@dcmoore-gd
Is this info for me? I don' t really understand. How can I help? Are you using something like custom styleable select elements?

@aFarkas No, I'm sorry about that.  Outlook address completion had somehow decided that the GitHub email for this thread was the same as the corporate email address of a colleague.  Sorry again!


Meeting: April 10th, 2024

Time: 17:00 (Irish Summer Time)
Zoom Link: https://zoom.us/j/91426197903?pwd=cjNGcjgzWmRqZ1YyRW9PM3FFNFVFUT09
Agenda:

PR reviews/merging:

#174
#172

AOB

#117
Decide if cadence changing to weekly from now on?
launch planning / requirements

Attendees

Nick Denny
Kevin Duffey
Victor Lu
Frank Kilcommins


Add floating point math support

Resolves KnightOS/KnightOS#216
It's not finished yet, but I think it's time this started to get reviewed. I stuck to relatively basic operations on floating points and left the rest to userspace. As far as I can tell, besides some non-critical issues with fptostr, the only major issue currently is adding negative numbers. That being said, my testing has not been exhaustive.
Here is what's done:

String/integer to FP conversion
FP to string conversion
Loading common constants
Addition of positive numbers
Multiplication/division by powers of ten only
Logical operators (and, or, xor, not)
Negation, absolute value
Comparison, min, max
Integer and fractional part
Random number generation

Here is what's left to do, ranked by how important I think it is:

Adding negative numbers (i.e. subtraction)
Multiplication and division
Roots/powers
Logarithms
Trigonometry
Any other miscellaneous math operations
Conversion to and from IEEE 754 floats/doubles

Hopefully it's up to par in terms of style and efficiency. I'm not super experienced with Z80, so some portions can get a bit ugly (mostly fptostr and fpAdd).
Feel free to let me know about any problems you find, but my availability is going to decrease over the next few weeks. I will no longer be able to contribute in about a month (but should still be able to answer questions about my code). Ideally, someone else will take over to flesh out the rest.

 Great work. I'll review this in detail tomorrow morning. Thanks!

A quick review looks pretty good. I'm going to push some cleanup commits of my own (add some missing microoptimizations and add constants to the kernel headers) then get this merged.

If you can do the 4 basic operators (+-*/ and maybe % too), I'll write an expression parser and a userspace calculator app with it :)

Okay, if you're sure you want to merge it. Personally, I would wait until addition/subtraction is fully working, or at the very least it should check that both operands are positive and include a warning in the docs.

Don't worry, I won't release a new stable kernel version until we sort those out. It's easier to make future improvements across several pull requests.

Fair enough. Also, I'm afraid I won't have any time to do */% this week, but I'm sure someone better at algorithms than me could hammer it out fairly quickly.

What are some good resources for the relevant algorithms? I don't know how they work.

Neither do I. Binary floating point tutorials should get you most of the way; then you just have to adapt it for BCD. I would imagine you could do multiplication and division fairly easily (albeit quite inefficiently) using repeated addition/subtraction, once fpAdd and fpSub are working.

Thanks!

Docs up at http://www.knightos.org/documentation/reference/decimal_floating_point.html

Looks like some formatting issues with those labeled "Input" or "Output" instead of "Inputs" or "Outputs", and a list indentation issue with itofp, but otherwise looks good 👍

Yep, one step at a time. Fixing the rest of the build server at the moment <_<

Project infrastructure isn't generally healthy after 8 months of negligence

Understandable

https://github.com/KnightOS/kernel/commit/e873701aa76fb98178551fb18f0ff42f300ce790

Hmm, I ran into an issue with fptostr:
  ld a, FP_PI
  kld(hl, .pi)
  pcall(fpLoadConst)
  xor a
  kld(ix, .pi)
  kld(hl, .str)
  pcall(fptostr)
; (draw the string)
.pi:
  .block 9
.str:
  .block 20

This displays "3".

Also tested parsing "3.1415" and printing that, also displays 3. Seems like the fractional part is never displayed.

Derp, I needed to set A to 0xF.

Yeah, it's happened to me before. Can you think of a good way such that A
can be 0x00 by default? Can't really just remap 0xF to 0x0 because 0-digit
fixed point is perfectly valid.
On Sat, Jul 1, 2017 at 11:47 AM Drew DeVault<EMAIL_ADDRESS>wrote:

Derp, I needed to set A to 0xF.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KnightOS/kernel/pull/179#issuecomment-312449178, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAWaunboM_J2FEq3BVvcbmXOVdttKN-oks5sJpRSgaJpZM4OE05m
.

Generally speaking we design our APIs so that 0 for flag fields does the most sane thing possible. In this case, however, I could go either way.

Progress on the calculator is going well, by the way:

https://github.com/KnightOS/calculator

I would have preferred to design the API like you mentioned where 90% of the time you would use A=0. The best solution I can think of is to use bit 5 to indicate fixed point and the bottom nibble for the number of digits, but I don't like that because it wastes the last available flag bit unnecessarily.
Also, great work on the calculator app! I'll be excited to actually be able to do math on my calculator again.

Been looking into subtraction. It seems we'll want to do the 9's compliment again at the end, but I'm having a hard time getting everything to work.

That sounds right. There are just a lot of edge cases to worry about.
Alternatively, I believe it should work to sbc instead of adc because
apparently daa works with both. Then you only need to do one 9's complement
in certain cases, I believe. I have a branch on my fork where I was
exploring that idea before the PR.
On Mon, Jul 3, 2017 at 3:40 PM Drew DeVault<EMAIL_ADDRESS>wrote:

Been looking into subtraction. It seems we'll want to do the 9's
compliment again at the end, but I'm having a hard time getting everything
to work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KnightOS/kernel/pull/179#issuecomment-312720834, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAWauorB-RKoIqhX6Aou5syPrJt8DKYEks5sKUO2gaJpZM4OE05m
.

If you are using the BCD format that the Z80 uses, then SBC followed by DAA
will work and properly set the carry flag. If you are doing the standard
floating point format where the mantissa must be positive, then if it ever
becomes negative, start at the LSB of the mantissa and do 'xor a \ sub
a,(hl) \ daa \ ld (hl),a' then follow up through the rest of the bytes with
'ld a,0 \ sbc a,(hl) \ daa \ ld (hl),a'.
I haven't had time to look at the code as I've been super busy with work,
but I get the email updates.
On Jul 3, 2017 15:45, "Alex Cordonnier"<EMAIL_ADDRESS>wrote:

That sounds right. There are just a lot of edge cases to worry about.
Alternatively, I believe it should work to sbc instead of adc because
apparently daa works with both. Then you only need to do one 9's complement
in certain cases, I believe. I have a branch on my fork where I was
exploring that idea before the PR.
On Mon, Jul 3, 2017 at 3:40 PM Drew DeVault<EMAIL_ADDRESS>wrote:

Been looking into subtraction. It seems we'll want to do the 9's
compliment again at the end, but I'm having a hard time getting
everything
to work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KnightOS/kernel/pull/179#issuecomment-312720834,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAWauorB-
RKoIqhX6Aou5syPrJt8DKYEks5sKUO2gaJpZM4OE05m>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KnightOS/kernel/pull/179#issuecomment-312721459, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFAPiLnVUaeWce93NsVhFJrDX1BmC4Ezks5sKUTKgaJpZM4OE05m
.

Thanks @Zeda - BCD is in use here, but the current approach is to use the 9's compliment and only implement addition. It might be easier to do subtraction separately but I'm not particular either way.
Thanks for the tips, I would definitely welcome your eyeballs on this code if you find some spare time.

@ajcord can I interest you in writing a blog post for knightos.org about your work?

Hmm... I'm getting ready to move across the country, so now is probably not
a good time. Maybe in a few weeks?
On Sat, Jul 8, 2017 at 9:23 AM Drew DeVault<EMAIL_ADDRESS>wrote:

@ajcord https://github.com/ajcord can I interest you in writing a blog
post for knightos.org about your work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KnightOS/kernel/pull/179#issuecomment-313855726, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAWauolhTRDANYQGa0owtCfK7OE_H4gIks5sL4LegaJpZM4OE05m
.

Sure! Send a pull request to https://github.com/KnightOS/knightos.org whenever you like.

I talked to some great Z80 developers at the Vintage Computer Festival today, and one of them suggested implementing x*y as 10^(log(x) + log(y)). Might be worth looking into, although I suspect it may lose some precision and be less efficient. But it could still be worthwhile as a proof of concept once logarithms and powers are implemented.

I've seen that method used for integer multiplication using lookup tables.
It does lose accuracy, but it is suitable in some applications.
I have a few possible multiplication algorithms, by the way. Depending on
how much scrap ram is available I think I could get it twice as fast as
what TI does. The best is actually schoolbook multiplication:
You'll need a dynamically generated LUT of the values
1operand2~9operand2. Each entry is just the mantissa with an extra "00"
in front. That's 72 bytes.
Following this is 8 bytes for the mantissa of operand1, prefixed with 00.
Next is 14 bytes for the mantissa (all zeroed out)
This is 94 bytes total.
Algorithm.
Start output_index at 'output+14'.
Pass 1:  on each of the 7 bytes of operand1, decrement output_index and
mask for the lower nibble. If zero, skip, else binary shift left three
times to get the lut index. Add that at output_index.
Next: Start HL at operand1+8, A=0, then do 'dec hl \ rld' 64 times.
Next:Start output_index at 'output+14'.
Pass 2: Same as Pass 1.
That should multiply the two mantissas. It costs 94 bytes, OPs count is: 23
8-byte BCD adds, shift-left-by-4 a 64-byte buffer (using the rld
instruction) and some overhead.
On Aug 7, 2017 00:08, "Alex Cordonnier"<EMAIL_ADDRESS>wrote:

I talked to some great Z80 developers at the Vintage Computer Festival
today, and one of them suggested implementing x*y as 10^(log(x) + log(y)).
Might be worth looking into, although I suspect it may lose some precision
and be less efficient. But it could still be worthwhile as a proof of
concept once logarithms and powers are implemented.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KnightOS/kernel/pull/179#issuecomment-320564172, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFAPiHvk3MDgeCCQ3Ihtm8lQ01dG9K5Hks5sVo2ogaJpZM4OE05m
.

Do you need 94 bytes of scrap RAM or 94 bytes of statically allocated LUTs? Both are easily doable, fwiw.

As well, I have some algorithms that may be suitable for exp(x) to high
precision. It took me about a week of obsessed math to come up with this
and a notebook out two later. Not sure how well suited it is for BCD math,
though:
Input: x
y=x^2 ; squaring can be faster
a=x/2*(1+5y/156(1+3y/550(1+y/1512)))/(1+3y/26(1+5y/396(1+y/450)))
return (1+a)/(1-a)
On Aug 7, 2017 08:46, "Zeda Thomas"<EMAIL_ADDRESS>wrote:
I've seen that method used for integer multiplication using lookup tables.
It does lose accuracy, but it is suitable in some applications.
I have a few possible multiplication algorithms, by the way. Depending on
how much scrap ram is available I think I could get it twice as fast as
what TI does. The best is actually schoolbook multiplication:
You'll need a dynamically generated LUT of the values
1operand2~9operand2. Each entry is just the mantissa with an extra "00"
in front. That's 72 bytes.
Following this is 8 bytes for the mantissa of operand1, prefixed with 00.
Next is 14 bytes for the mantissa (all zeroed out)
This is 94 bytes total.
Algorithm.
Start output_index at 'output+14'.
Pass 1:  on each of the 7 bytes of operand1, decrement output_index and
mask for the lower nibble. If zero, skip, else binary shift left three
times to get the lut index. Add that at output_index.
Next: Start HL at operand1+8, A=0, then do 'dec hl \ rld' 64 times.
Next:Start output_index at 'output+14'.
Pass 2: Same as Pass 1.
That should multiply the two mantissas. It costs 94 bytes, OPs count is: 23
8-byte BCD adds, shift-left-by-4 a 64-byte buffer (using the rld
instruction) and some overhead.
On Aug 7, 2017 00:08, "Alex Cordonnier"<EMAIL_ADDRESS>wrote:

I talked to some great Z80 developers at the Vintage Computer Festival
today, and one of them suggested implementing x*y as 10^(log(x) + log(y)).
Might be worth looking into, although I suspect it may lose some precision
and be less efficient. But it could still be worthwhile as a proof of
concept once logarithms and powers are implemented.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KnightOS/kernel/pull/179#issuecomment-320564172, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFAPiHvk3MDgeCCQ3Ihtm8lQ01dG9K5Hks5sVo2ogaJpZM4OE05m
.

The LUTs are dynamically generated on the fly, and the algorithm can be
designed to work with an allocated buffer, but it would be a fair bit
faster if the 94 bytes were in a static location.
On Aug 7, 2017 08:58, "Zeda Thomas"<EMAIL_ADDRESS>wrote:

As well, I have some algorithms that may be suitable for exp(x) to high
precision. It took me about a week of obsessed math to come up with this
and a notebook out two later. Not sure how well suited it is for BCD math,
though:
Input: x
y=x^2 ; squaring can be faster
a=x/2*(1+5y/156(1+3y/550(1+y/1512)))/(1+3y/26(1+5y/396(1+y/450)))
return (1+a)/(1-a)
On Aug 7, 2017 08:46, "Zeda Thomas"<EMAIL_ADDRESS>wrote:
I've seen that method used for integer multiplication using lookup tables.
It does lose accuracy, but it is suitable in some applications.
I have a few possible multiplication algorithms, by the way. Depending on
how much scrap ram is available I think I could get it twice as fast as
what TI does. The best is actually schoolbook multiplication:
You'll need a dynamically generated LUT of the values
1operand2~9operand2. Each entry is just the mantissa with an extra "00"
in front. That's 72 bytes.
Following this is 8 bytes for the mantissa of operand1, prefixed with 00.
Next is 14 bytes for the mantissa (all zeroed out)
This is 94 bytes total.
Algorithm.
Start output_index at 'output+14'.
Pass 1:  on each of the 7 bytes of operand1, decrement output_index and
mask for the lower nibble. If zero, skip, else binary shift left three
times to get the lut index. Add that at output_index.
Next: Start HL at operand1+8, A=0, then do 'dec hl \ rld' 64 times.
Next:Start output_index at 'output+14'.
Pass 2: Same as Pass 1.
That should multiply the two mantissas. It costs 94 bytes, OPs count is:
23 8-byte BCD adds, shift-left-by-4 a 64-byte buffer (using the rld
instruction) and some overhead.
On Aug 7, 2017 00:08, "Alex Cordonnier"<EMAIL_ADDRESS>wrote:

I talked to some great Z80 developers at the Vintage Computer Festival
today, and one of them suggested implementing x*y as 10^(log(x) + log(y)).
Might be worth looking into, although I suspect it may lose some precision
and be less efficient. But it could still be worthwhile as a proof of
concept once logarithms and powers are implemented.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KnightOS/kernel/pull/179#issuecomment-320564172, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFAPiHvk3MDgeCCQ3Ihtm8lQ01dG9K5Hks5sVo2ogaJpZM4OE05m
.


chore(deps): update core backstage packages

Depends on #530 (I wasn't able to properly resolve types for Logger without an upgrade)
For the changes meant to be introduced in this PR please see a8c95e004850752066e3276b3bc2d628cb1f4b04 commit.
This PR introduces a standalone dev environment for Keycloak plugin. It starts in parallel:

Keycloak plugin as a standalone backend server with catalog API available
Keycloak instance as a local container

It automatically imports the realm consumed by Keycloak plugin

@schultzp2020 @RobotSail I've finally figured out the standalone backend dev environments that include catalog providers! Check this out! (yes, I'm proud of myself, haha) 🎉

When I tried running the standalone dev environment using yarn --cwd ./plugins/keycloak-backend start from the project root directory, I get the following error:
yarn run v1.22.19
$ open http://localhost:8080/admin/master/console/#/janus-realm && open http://localhost:7007/catalog/entities && turbo run start:plugin start:keycloak
/bin/sh: line 1: open: command not found
error Command failed with exit code 127.

FYI, I'm using Fedora 38.

@Zaperex is there an issue for that?  I agree this start command won't work for linux.  I'd go so far as to suggest removing the open commands and instead improve the documentation around them in the CONTRIBUTING.md, as the && in the command will also be an issue for some folks as well.

@gashcrumb there isn't an issue yet, but I can make one.


The path string returned when nan is imported in node 6 is wrong in some cases

Addressing this: #600
With the old method to get the current directory of 'nan' module, the path isn't got properly when the parent path is in a shared resource:
vboxsrv\vagrant\NODE_MODULES\nan (which don't exists)
with the new method the current directory is obtained correctly:
\\vboxsrv\vagrant\NODE_MODULES\nan
This change makes that packages like bufferutil or ref are built correctly as they are able to get the nan headers if the working directory is inside a network resource.

LGTM but it wouldn't hurt to get one or two more people to sign off on this.
Can you update the commit log to explain what you changed and why?  See git log for examples of what the expected format is.

Sounds like a bug in path.relative() to me. If it's given an absolute network file path then it should return it untouched, I would think.

I speculate (but am not 100% sure) the realpath changes in v6 are responsible.
path.relative('.', __dirname) calls path.resolve() on both arguments.  After the switch to uv_fs_realpath(), __dirname sometimes is not what it used to be on network drives and substituted drives.
I wonder though if simply console.log(__dirname) wouldn't suffice?

Can you update the commit log to explain what you changed and why?

Done!

I speculate (but am not 100% sure) the realpath changes in v6 are responsible.

I believe so, I've tested the method with the following results:
* Windows 10 with node 4.3.0:
  c:\>node -e "console.log(require('path').relative('.','\\\\VBOXSRV\\vagrant'))"
  returns: \\VBOXSRV\vagrant\

* Windows 10 with node 6.5.0:
  c:\>node -e "console.log(require('path').relative('.','\\\\VBOXSRV\\vagrant'))"
  returns: VBOXSRV\vagrant\

Sorry, I pressed the wrong button

I've done some tests with the console.log(__dirname) and seems to work fine as well, with the advantage that it doesn't depend on the methods of the Path module. Do you all think that this could be the best solution?

@rvagg I think you are the original author?  Maybe you can chime in?


fix(client):remove hyperlink from flash message

The anchor tag in this flash message is just displayed as a string.  So I replaced it with just the url so it looks a bit better and the user can copy and paste it.

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Thanks @jakethecoder95!


[Feature request] Open sub menu in the same position as the main menu was originally opened

As someone who likes to use one large, general purpose (with nested sub menus) pie menu over multiple specialized ones, I think the current way of going into nested sub menus could use some improvements.
My idea is to, basically, remember the original opening position of the main menu and use that as a starting point for all the other sub menus. This way, navigating through nested sub menus would be less "jumpy".

I agree this could use some improvements, my best answer to this at the moment is just making submenus with larger radii.
Also, a slice hotkey (located at the bottom of the Functions tab) can be used on a submenu slice.  Submenus open in place when activated through a slice hotkey.
This needs more context, I can make this an option but it will only apply to a few specific activation modes.  Once anything is activated 'on-hover', menus have to be added where the mouse position will be, otherwise subsequent menus will launch prematurely.
Could you screenshot your launch settings tab and post it back here for me?  It would be convenient to what activation mode you're thinking of applying this to.

Right now I use the "Hover over submenus, release on function" with Caps-lock as an activator, but plan to move to "Hover over all selections" with Mouse Forward as an activator (once issue #56 is fixed), unless you can get the #58 working, cause then I will move to whatever method has that ;)

Once anything is activated 'on-hover', menus have to be added where the mouse position will be, otherwise subsequent menus will launch prematurely.

I assume that would be caused by the mouse cursor being already atop the sub menu slice? If so, then the solution could lie, in theory, in the behavior of the option: "Open Pie Menu in the center of screen", since that already moves the mouse cursor to predefined coordinates (replace the center of the screen with Pie Menu coordinates)?


Fix for dm-mysql2-adapter loading problem

Added conditional for mysql2 adapter so that dm-mysql2-adapter isn't loaded. (the gem name is dm-mysql-adapter)
Many people are running into issues when they are using "mysql2" as the adapter in their database.yml file. The incorrect gem name is being loaded—causing rake tasks to fail.
Here is one example: http://stackoverflow.com/questions/6800284/dm-mysql2-adapter-loaderror-but-why

I think we should simply catch load error and show some meaningful message. Switching mysql2 => mysql is covering a typo in your config so I'm not sure if dm-core should be responsible for doing that. WDYT @dkubb?

I would be more inclined to move this into dm-rails, and have something that handles normalizing the stuff from user input, which is basically what database.yml. I wouldn't want to include a hack to fix a hack, thereby perpetuating the style of "sub-standard coding" :P

@solnic The use of "mysql2" in a database.yml is not a typo. See here: https://github.com/brianmario/mysql2
From the README: "To use the ActiveRecord driver (with or without rails), all you should need to do is have this gem installed and set the adapter in your database.yml to "mysql2". That was easy right? :)"
@dkubb I appreciate your candor. I'll take a look at dm-rails to see where this can be added. The existing normalization done here in dm-core should probably be removed, though.

@thommahoney DataMapper uses DataObject drivers and in the database.yml you specify adapter type, not driver. We could add some code to dm-rails that would handle 'mysql2' or inform the user that 'mysql' should be used instead

I just went into #datamapper and solnic helped me understand this: there is no need to use the 'mysql2' gem with DataMapper, because 'dm-mysql' (the driver DataMapper uses) doesn't have problems with character-encodings, which is the reason most people use 'mysql2' (in their ActiveRecord projects).
So if you've come here wondering why this isn't working - the answer is, unless I'm mistaken about why you're using 'mysql2', remove 'mysql2', you don't need it.  dm-mysql works just fine.


Add convey payload to connect event

This change adds the convey payload to the Connect event as discussed in #271.
When used together with Comcast/talaria#43 will allow us to take more informed actions based on the device state.

Codecov Report

Merging #281 into master will increase coverage by 0.45%.
The diff coverage is 73.33%.

@@            Coverage Diff             @@
##           master     #281      +/-   ##
==========================================
+ Coverage   68.82%   69.28%   +0.45%
==========================================
  Files         171      171
  Lines       11101    11107       +6
==========================================
+ Hits         7640     7695      +55
+ Misses       2747     2698      -49
  Partials      714      714

Impacted Files
Coverage Δ

device/manager.go
54.62% <73.33%> (+1.17%)
:arrow_up:

device/device.go
71.11% <0%> (+2.22%)
:arrow_up:

xhttp/fanout/serviceEndpoints.go
100% <0%> (+100%)
: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 093c2cf...a463145. Read the comment docs.

@johnabass Can we merge this or are there changes needed?

We had some internal discussions and had decided to delay this due to performance concerns.  Has anything changed?

@johnabass @schmidtw
Although we understand your concern about performance, we think this change would really benefit all companies using this software, being able to leverage the information contained in the convey payload, such as reboot reasons and uptime, is what makes the Connect event really valuable for extracting business indicators and providing a better costumer experience.
Can we try to workout a solution regarding the performance impact and still maintain the benefits of the pull request?
Is your concern based on the Marshalling of the object? We could move the marshalling to the line before the logging, since the logger is also marshalling to JSON, passing the already marshalled string in the log should leave us with about the same performance. What do you think?

Yeah, this is a good step forward.  The biggest concern we have is actually with the other part of the PR where the internal talaria events get propagated out.  Given the volume of some of them (and the value of some & not others) we will need to add some knobs to the other PR.


Copyright holder and license

Hi,
Could you please add LICENSE file and put the copyright holder and license inside each file?
This way there is no chance of someone stumbling across a piece of code without being exposed to the license.
Thanks!

okay =)


[Question] Is this repo alive?

I would like to refactor the cmake scripts to make this project more modern in general and more suitable for Conan packaging. Will you accept a PR?

Sure, contributions are welcome.

Thanks


Get rust compilation working (with native linker)

This almost certainly depends on #8 or at least a subset of that work.
Basically, rust will install fine and a bunch of commands work out of the box (eg, cargo build seems to work for a number of projects):
export CARGO_HOME=$HOME/.cargo
export MULTIRUST_HOME=$HOME/.multirust
export RUSTUP_HOME=$HOME/.multirust/rustup

curl https://sh.rustup.rs -sSf | sh -s -- -y

export PATH=$HOME/.cargo/bin:$PATH
rustc --version
cargo --version

But when it comes to the linking stage (often happens in cargo test), then it will fail because there's no native linker (ie, no gcc/ld).
It would be great to know if there's a minimal gcc/ld setup that will work here – I know that the Windows version of rust bundles gcc with it, so it definitely should be possible.

Thanks to #8 – Rust compilation now works! Example build:
https://lambci-public-buildresults-e3xwlufrwb3i.s3.amazonaws.com/gh/mhart/test-ci-project/builds/87/24a2a3358efdc78aa41c5530e36b3e74.html
BUT, it's not all roses. Unfortunately the Rust installation itself is huge and leaves little room for Cargo deps, so many projects won't build.
I'll open a new issue to potentially find some solutions for this.

See #24 about shrinking rustc.


deregister notification sync and async

this will only merge after the Alert Type checking is merged, sorry for that
testcases will be provided

can you please rebase this and provide tests if that's the intention, thanks

this one is ready!


Linter slower in extension than when executed directly

Environment data

VSCode Version: 1.28.2
OS Version: CentOS 7
Extension version (available under the Extensions sidebar): last
Python version (& distribution if applicable, e.g. Anaconda): 3.7.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv

Prerequisites:

linter is on
linter is pylint

Actual behavior

Linting report (using pylint) occurs after 5 seconds or so
This causes the (default) timeout of format on save to be triggered
Tried with both python language server and python jedi

Expected  behavior

Using pylint from the command line on the same file takes less than 500ms
Results is slightly better with pep8 but still > 750ms

Steps to reproduce:

Write a python file of ~600 lines
Save

Does this issue occur when all extensions are disabled?: Yes (all extensions disabled but python)

Please could you upload the sample pylint file
Also, how many errors are listed in the problems window for this python file?


is there a way to set vram state like HIGH_VRAM and NORMAL_VRAM like in comfyui?

is there a way to set vram state like HIGH_VRAM and NORMAL_VRAM like in comfyui?

I haven't tested, but the default args you pass in comfyui should carry over here as well. Have you tried running the generated script with those arguments?

so like python3 workflow_api.py --comfyui_arg arg?

Yep. I haven't tested, but I think that should work.

no, it doesn't work. It's not taking any arguments
I have tried
python workflow_api.py --fp16-vae
and
python3 workflow_api.py --comfyui_arg --fp16-vae
But vae always comes fp32


python310Packages.aiohttp-retry: 2.7.0 -> 2.8.3

Description of changes
https://github.com/inyutin/aiohttp_retry/releases

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 186248 run on x86_64-linux 1

4 packages built:

dvc
dvc-with-remotes
python310Packages.aiohttp-retry
python39Packages.aiohttp-retry

Please unmark s3fs as broken on aarch64-linux. That unbreaks dvc-with-remotes for me.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 186248 run on x86_64-linux 1

4 packages built:

dvc
dvc-with-remotes
python310Packages.aiohttp-retry
python39Packages.aiohttp-retry

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

dvc:

got build log for '/nix/store/3bw8sxbzskgbfmb0vb8qlc7lvfy694kd-dvc-2.17.0' from 'daemon'
When evaluating attribute ‘dvc’:
warning: unused-argument
Unused argument: fetchpatch.
Near pkgs/applications/version-management/dvc/default.nix:4:3:
  |
4 | , fetchpatch
  |   ^


RFC Draft Completion

Finalize first draft of RFC document to get feedback before final submission.

Posted my indicated contributions from yesterday (Rasb Pi block diagram, Endpoints list, Background). I may not be able to meet today depending on my progress with my other class, but I'll def be on slack when you guys meet


Image plugin in the works?

Just want to track if Image plugin is being ported, I'm trying locally but no success

https://github.com/facebook/lexical/blob/main/packages/lexical-playground/src/nodes/ImageComponent.tsx


Add runtime tag

Take runtime tag idea from gnomAD production and implement here, then create tickets for RMC freeze 2 runtime

Created private rmc prod repo and added tag


Make language radio buttons bigger

Is this possible?

If it were possible, why would we do it?  These is the browser default behavior and they are exactly aligned with the height of the text.


JSON formatting - camelCase?

Should we officially use camelCase? Google guidelines? https://google.github.io/styleguide/jsoncstyleguide.xml
Whatever we do, consistency is key.

I say we go with Google's style guide for now, and if for some reason there's a disagreement with the guide we can revisit the discussion then. It will provide a clear answer for how to style things, and we can potentially validate against it for consistency.
That said, the only thing that's important to me is to be consistent, and to as much as possible follow industry best practices on formatting.

I agree that the important thing is consistency. I'd be fine using either snake_case or camelCase, as I use both frequently between Ruby and JavaScript respectively.
With the style guide, if there's a community sourced guide similar to the Ruby Style Guide, that would be preferable. I don't know of any currently, and the Google style guide was handily available (and I think is what OSV follows).