MFC-J430W support

First, great job with this tool! Thank you, I’ve been hating that proprietary driver forever.
I managed to get my scanner to work with minimal modifications as you can see in https://github.com/rumpeltux/brother-scand/commit/0bdfbe4a515b7071b2ba34bbddf0dffb5b0d7af1
(not sure that patch is the right way to approach the problem, but it did the trick for me)
Essentially the message sent by my scanner looks like this:
0040   … … 00 1a 00 31 30 30 2c 31 30 30 2c 32 2c 32   .....100,100,2,2
0050   30 39 2c 38 32 36 2c 32 39 34 2c 31 31 35 37      09,826,294,1157
So there’s no trailing 0.
Another example (this time from ADF, thus no limit on image height):
{
00000000: 3014 0046 3d46 494c 450a 443d 5349 4e0a | 0..F=FILE.D=SIN.
00000010: 453d 5348 4f0a 80                       | E=SHO..
}
{
00000000: 1b49 0a44 3d53 494e 0a4d 3d43 4752 4159 | .I.D=SIN.M=CGRAY
00000010: 0a52 3d31 3030 2c31 3030 0a80           | .R=100,100..
}
{
00000000: 0015 0031 3030 2c31 3030 2c31 2c32 3039 | ...100,100,1,209
00000010: 2c38 3236 2c30 2c30                     | ,826,0,0
}
{
00000000: 1b58 0a41 3d30 2c30 2c38 3236 2c30 0a42 | .X.A=0,0,826,0.B
00000010: 3d35 300a 433d 4a50 4547 0a44 3d53 494e | =50.C=JPEG.D=SIN
00000020: 0a47 3d31 0a4a 3d4d 4944 0a4c 3d31 3238 | .G=1.J=MID.L=128
00000030: 0a4d 3d43 4752 4159 0a4e 3d35 300a 523d | .M=CGRAY.N=50.R=
00000040: 3130 302c 3130 300a 80                  | 100,100..
}

This should be addressed by #6 more correctly now.


WIP: DexAdapterV3 with BalancerV2 support

To support multi-hop swaps on BalV2, I needed to add a poolIds array to the SwapData struct.
I believe we need that for redemptions, with the swap path being agETH -> rsETH -> WETH through this pool and then this one

I haven't been able to get the FlashMintHyETH issuance tests to pass yet. Here's the cast run trace i get from my last commit https://gist.github.com/edkim/084c806e102c6d798f9e75fbf86832b4


Reduce the number of operations on BackupRestoreTest

Too many threads are being created for this operation to be done well on less beefy machines.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11053/
Test PASSed.

I don't think this one is good. Closing.


mobile devices?

So far as i know, multiple mobile devices may share the same public IP address, which might gets blocked by your ddos module, is it possible handling this scenario?
Thanks

@leftstick Yes, the user agent string handles this scenario as the host identification is a combination of IP and user-agent. However if both mobile devices are using the same user-agent browser, and on the same IP, then it is best to whitelist, which I will be addressing in another commit that is also addressed in another issue #10
Whitelist issue addressed and commited https://github.com/rook2pawn/node-ddos/commit/2640c00a03ac8378b71c135d49bf136db871dd54

Thanks @root2pawn


Update JRuby versions for testing in travis-ci

The RVM alias jruby-19mode is outdated (JRuby 1.7.19)
JRuby 9.1 is the active branch
JRuby 1.7 is maintained with no EOL announced

Thanks!


[SPARK-37945][SQL][CORE] Use error classes in the execution errors of arithmetic ops

What changes were proposed in this pull request?
Migrate the following errors in QueryExecutionErrors onto use error classes:
unscaledValueTooLargeForPrecisionError -> UNSCALED_VALUE_TOO_LARGE_FOR_PRECISION
decimalPrecisionExceedsMaxPrecisionError -> DECIMAL_PRECISION_EXCEEDS_MAX_PRECISION
integerOverflowError -> INTEGER_OVERFLOW
outOfDecimalTypeRangeError -> OUT_OF_DECIMAL_TYPE_RANGE
Why are the changes needed?
Porting ArithmeticExceptions to the new error framework
Does this PR introduce any user-facing change?
Yes, errors will indicate that it's controlled Spark exception
How was this patch tested?
./build/sbt "catalyst/testOnly org.apache.spark.sql.types.DecimalSuite"
./build/sbt "sql/testOnly org.apache.spark.sql.execution.streaming.sources.RateStreamProviderSuite"
./build/sbt "core/testOnly testOnly org.apache.spark.SparkThrowableSuite"

@MaxGekk Please review

Can one of the admins verify this patch?

@khalidmammadov Could you re-trigger tests/builds by merging the recent master, please.

+1, LGTM. Merging to master.
Thank you, @khalidmammadov and @amaliujia for review.

@MaxGekk thanks for reviews and merge!


Implements IncludeCode module

Supports including local code files with language tag and line
extraction.

Sure. Thanks for pointing this out...

Thanks for the contribution!


LOOKUP: Create search route for patients

No point in saving these patient records if we can't pull them back up! Let's create a route in cases that lets us retrieve patients who have a phone number or secondary phone number that matches a patient's.

PR 114 should take care of this


NPE in ConnectionSpec.tlsVersions()

At line 110 in ConnectionSpec.tlsVersions() a NPE will occur, when
tlsVersions is null (e.g. for HTTP connections).
Therefore above the line
    TlsVersion[] result = new TlsVersion[tlsVersions.length];

these lines should be inserted
    if (tlsVersions == null || tlsVersions.length == 0) {
        return Collections.emptyList();
    }

We should probably throw an IllegalStateException in this case.

Or UnsupportedOperationException.


Square root

Is there a function for square root? I don't see a sqrt one.

Yes, it is part of the Float trait. Use it like so: 3.0f64.sqrt();

Ok, thanks.


Documentation

Hi there !
Just found your amazing work here, but I can't find any kind of documentation or instructions for basic usage. Am I missing something ?
Thanks !

Yeah, i think we would love to see how to setup and use this Tool.


Switch from packages.config to PackageReference (win)

📒 Description
Switches from the old packages.config method of referencing packages to the new PackageReference method.
The benefits are:

NuGet restore from PackageReference is built-in to MSBuild
There is no need for an extra packages.config file
The .csproj files look more concise as well
More advanced behavior is supported (which we don't use for now)

See https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files .
🕶 Types of changes
New feature (non-breaking change which adds functionality)
🔎 Review hints

Building from VS works
Building from the command line using MSBuild works. Should be run with /restore option (can work without this option depending on the local configuration in %APPDATA\NuGet)
Example command:
MSBuild.exe src/ui/windows/TogglDesktop/TogglDesktop.sln /property:Configuration=Release /p:Platform="x64" /t:Clean,Build /restore

It work very well with updates in https://github.com/toggl/toggldesktop-branding/pull/33


Show random Santo image

Instead of always showing the same image on the popup, show one of 4 random Santo images for fun flavor 🐶

Screenshots

etc.

merging, since im gonna update (:


etcd traffic should be using https only

Currently, we're configuring etcd to use HTTP and HTTPS, which is a security concern. You also see errors in the etcd logs:
May 01 18:37:30 minion1 etcd[2613]: The scheme of client url http://<IP_ADDRESS>:2379 is HTTP while peer key/cert files are presented. Ignored key/cert files.

See /etc/sysconfig/etcd:
ETCD_LISTEN_CLIENT_URLS="http://<IP_ADDRESS>:2379"
ETCD_LISTEN_PEER_URLS="https://<IP_ADDRESS>:2380"

ETCD_ADVERTISE_CLIENT_URLS="http://minion1.k8s.local:2379,http://<IP_ADDRESS>:2379"

That must all be https.

@ukbelch - you'll be interested in this one.

The idea is that between etcd members traffic goes through https, but since every node contains its own etcd member or proxy the services contacting etcd locally can use raw http (traffic is local in this case always) by using localhost. This allows us to consume less cpu in this specific case.
We might want to revisit this though anyways.

I can understand that idea, but many banks will not accept any insecure traffic, even if it's on localhost, but if we decided that was okay, we shouldn't have a listen on http://<IP_ADDRESS>:2379.

I remember we had a problem documented here: https://github.com/coreos/etcd/blob/master/Documentation/op-guide/configuration.md (documentation on --advertise-client-urls). We had an infinite loop and etcd ran out of fd's.
Be careful if advertising URLs such as http://localhost:2379 from a cluster member and are using the proxy feature of etcd. This will cause loops, because the proxy will be forwarding requests to itself until its resources (memory, file descriptors) are eventually depleted.

But yes, I agree is worth revisiting the issue. Just wanted to provide some context.

closing this as it was fixed. https://github.com/kubic-project/salt/blob/master/salt/etcd/etcd.conf.jinja
if there are any leftovers related, feel free to reopen it.


add connection option to support query from proxies

add connection option to support query from proxies

Thanks for the pull request!
Could you please add a test case for it?

Thanks for the pull request!
Could you please add a test case for it?


[glm] Bump to 1.0.0

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@xiaozhuai, Thanks for your PR, this is error log, please take a look:
FAILED: glm/CMakeFiles/glm.dir/detail/glm.cpp.o
/android-ndk-r25c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=x86_64-none-linux-android21 --sysroot=/android-ndk-r25c/toolchains/llvm/prebuilt/linux-x86_64/sysroot  -I/mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -frtti -fexceptions  -fPIC   -fno-limit-debug-info    -fPIC -Werror -Weverything -MD -MT glm/CMakeFiles/glm.dir/detail/glm.cpp.o -MF glm/CMakeFiles/glm.dir/detail/glm.cpp.o.d -o glm/CMakeFiles/glm.dir/detail/glm.cpp.o -c /mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/detail/glm.cpp
In file included from /mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/detail/glm.cpp:7:
In file included from /mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/gtx/dual_quaternion.hpp:19:
In file included from /mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/gtx/../glm.hpp:106:
/mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/gtx/../detail/setup.hpp:640:3: error: 'constexpr' specifier is incompatible with C++98 [-Werror,-Wc++98-compat]
                constexpr std::size_t countof(T const (&)[N])
                ^
In file included from /mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/detail/glm.cpp:7:
In file included from /mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/gtx/dual_quaternion.hpp:19:
In file included from /mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/gtx/../glm.hpp:115:
In file included from /mnt/vcpkg-ci/b/glm/src/1.0.0-754ce17bcc.clean/glm/gtx/../fwd.hpp:3:

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.

Tested usage successfully by glm:x64-windows:
The package glm provides CMake targets:

    find_package(glm CONFIG REQUIRED)
    target_link_libraries(main PRIVATE glm::glm)

    # Or use the header-only version
    find_package(glm CONFIG REQUIRED)
    target_link_libraries(main PRIVATE glm::glm-header-only)


Popover

Recreate BS3 Popover with ng2 component.

We're going to need a positioning service first.  May want to consider a service for managing the triggers rather than have that logic in the popover component.  May want to consider a distinct and separate component from the tooltip component as what is in the existing library is unwieldy.

Blocked on https://github.com/angular/angular/issues/9293 and https://github.com/angular/angular/issues/8617


Translate documents to Persian 🇮🇷

Translate document to Persian 🇮🇷
Hello, I can translate documents into Persian. If you agree, I will do it.
thank you

Of course I mean wiki and readme.
And another suggestion, I think copy the wiki to the docs folder and enable the github page to make it easier to read.

IMO, translating the wiki may be overkill and possible cumbersome to maintain considering that its content may evolve with time.
But yeah, a Persian version of the README.md would be awesome @KomeilParseh  :iran:

Hi @o2sh
Your opinion is very respectful to me. I will do this. But my suggestion is to copy the wiki to the documentation folder and make a version of the version to make it easier to read and find.
Thanks for reading this

Sorry, I missed the second part of your first comment :facepalm:

my suggestion is to copy the wiki to the documentation folder and make a version of the version to make it easier to read and find

It does sound appealing to have a local version of the wiki (in a .md file format), but it kinda bugs me to have two version of the same thing that would require to be kept in sync. Besides, the man page kinda fulfill this role.
But I may be wrong...

Sorry, I missed the second part of your first comment 🤦

my suggestion is to copy the wiki to the documentation folder and make a version of the version to make it easier to read and find

It does sound appealing to have a local version of the wiki (in a .md file format), but it kinda bugs me to have two version of the same thing that would require to be kept in sync. Besides, the man page kinda fulfill this role.
But I may be wrong...

Hi again @o2sh
Yes it is very attractive.
The truth is that man is very different from this, and GitHub pages a very attractive , and it is a Persian proverb that says, "People's minds are in their eyes (what they see)!"

It does sound appealing to have a local version of the wiki (in a .md file format), but it kinda bugs me to have two version of the same thing that would require to be kept in sync.

Just a possibility: With a version of the wiki in the main repo, it might be possible to create a workflow that checks for changes to docs/ and copies all files to the wiki repo, commits and pushes them. Kind of like this
# deploy.sh
# triggered on changes to docs
# creates a new repo in docs with 1 commit and force pushes from local
# master branch (of inner repo, not onefetch repo) to remote master branch
cd docs

git init
git add -A
git commit -m "refresh wiki"

git push -f https://github.com/o2sh/onefetch.wiki.git master:master

Or this script could be run on new releases, instead.
I'm not sure if this would be useful, though :thinking:
One problem that I can think of is that I'm not sure if a workflow can listen to wiki changes and copy
them to the main repo to keep them in sync. If it can, it would be a bit more complicated since you
couldn't/shouldn't force-push a one-commit history to the main repo.

Sorry about that removed their assignment
Unfortunately, my finger hit it.🤦🏻♂

It does sound appealing to have a local version of the wiki (in a .md file format), but it kinda bugs me to have two version of the same thing that would require to be kept in sync.

Just a possibility: With a version of the wiki in the main repo, it might be possible to create a workflow that checks for changes to docs/ and copies all files to the wiki repo, commits and pushes them. Kind of like this
# deploy.sh
# triggered on changes to docs
# creates a new repo in docs with 1 commit and force pushes from local
# master branch (of inner repo, not onefetch repo) to remote master branch
cd docs

git init
git add -A
git commit -m "refresh wiki"

git push -f https://github.com/o2sh/onefetch.wiki.git master:master

Or this script could be run on new releases, instead.
I'm not sure if this would be useful, though 🤔
One problem that I can think of is that I'm not sure if a workflow can listen to wiki changes and copy
them to the main repo to keep them in sync. If it can, it would be a bit more complicated since you
couldn't force-push a one-commit history to the main repo.

Hi @spenserblack
No, there is no need to do this. In the pages menu in repo settings, by setting the branch and theme, GitHub can automatically render md and show it to users

Like the photo above👆👆

there is no need to do this

If the wiki pages are deleted in favor of gh-pages, there is no need. That suggestion is for if the wiki is still used.

If the wiki pages are deleted in favor of github pages, there is no need. That suggestion is for if the wiki is still used

I mean the content of the same wiki on the pages (with their translation), if the page and the wiki are active together, there will be no problem


Preserve int dtype in data_for_quantity()

Previously, data_for_quantity() converted all index columns to str; but message_ix returns 'year'-indexed columns as int. Convert only columns needing conversion, i.e. those with a specific (categorical) dtype.
How to review

Note that the CI checks all pass.

PR checklist

[x] ~Tests added.~ Skipped. This would involve writing a Scenario subclass that behaved like message_ix.Scenario, i.e. returned int dtype for columns named 'year'.
[x] ~Documentation added.~ N/A
[x] Release notes updated.

Checks pass.


Profile page

As a Citizen,
I want to view My Profile and the Profile of other users,
so that I can see a history of my or another user's activity.

Acceptance criteria:

A user can navigate to their profile and see a list of the actions they've taken.

Acceptance test:

As a registered user, navigate to your profile page
See all the actions you've taken.
If an item is associated with the action, there is a link to that item that you can click.

Note: Wireframe needs example of action with item link.


Show strikes in the play log.

Please note, I have not done any real testing of this change with pre-change games, but it should work out fine thank to "truthiness".  Older games would simply show the original message.


[Q] how sync deleted run

Hi, I use wandb to log my training logs. I made it run in offline mode by calling wandb offline, and then I synced the log by calling wandb sync. Unfortunately, I deleted the run in my dashboard. However, the training continues, and when I try to sync this run again, I get the following:
wandb: ERROR Error while calling W&B API: run XXX/XXX/run_id was previously created and deleted; try a new run name (<Response [409]>)

How can I sync my log again? Because it's still running, can I recover the deleted one and sync it again? Thanks! :)

Hi @Adam-lxd ! Depending on how long ago you deleted the run, you can try undeleting it inside of the overview page here

Hi @ArtsiomWB! Yes, I can sync it now. Thanks for your kind help! :)


fix warnings

I'm sorry for leaving many warnings, and I has fixed them.

Suggest improving the way functions return errors and improving the error log to include as much diagnostic locator information as possible

Ok, I'll add logs for the non fatal errors.


Add Kuldeep Schule in BW

Hallo,
I added Kuldeep Schule from Baden-Württemberg to the list.
Thank you for merging in advance.
MfG ngsec

@ngsec Please provide us with:

the school official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the school recognizes the domain which you are submitting as an official email domain for the students.

@ngsec You might miss my previous comment. Please react.

@ngsec I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


[Feature] Add String-Support

As of right now, the language only supports integers, which makes solving math problems easy, but anything else harder than it needs to be.

Add Strings
Change print to also print strings, perhaps add another function just for them?

Sub-Problem of #5, add String as Type.

Strings are now a thing, see Hello World!
puti is for printing Integers
puts is for printing Strings


TICK in Windows 10 (power shell) looks like small question marks ?

I am using Chart to show a bar graph and the individual "TICK" marks show up as question mark. Been trying to debug it and I was able to make it work when I change TICK from the defined quoted value to
TICK = u"\u2588"
At that point I get a solid color block in whatever color defined.  I tried to
from termgraph import termgraph as tg
from collections import defaultdict
C = tg.AVAILABLE_COLORS

 TICK = u"\u2588"

    tg.chart (
        colors=[C["green"] , C["yellow"]] ,
        data=[[nft , og]] ,
        args=defaultdict (bool ,
            {
                "stacked" : True ,
                "custom_tick": TICK,
                "width" : 60 ,
                "format" : "{:<5.2f}" ,
                "no_labels" : True ,
                "suffix" : f" (NFT:{nft} ({nft_pct:.0f}%), OG:{og} ({og_pct:.0f}%))"
            } ,
        ) ,
        labels=[""] ,
    )

and the class would not reflect the overwrite of the TICK variable passed.  I reviewed the code of the library and the TICK is a global value that is changed when is passed via the argument, but not when I import the package.
What do you recommend is the best approach to fix the definition of TICK so that it will show properly in windows 10.
-- Adonis

Is the terminal being used support UTF-8?
The \u2588 is a standard unicode character for the full block.
https://www.fileformat.info/info/unicode/char/2588/index.htm


Add another flame game example to the collection

🥳
Adding new a new flame game (though basic) to the collection, currently only on Android.

Lgtm, please add a link to the source code later if you intended to open source it :)

I think in the coming weeks 💪 I need to refresh my knowledge over the code base (Its ~2y old haha) - and once done I can shift to the "Open Source" area 👍


Filter None values from recipients on Message.send_to()

Fix issue #152

Hey @sylann, it is somewhat unclear to me why you would ever set a recipient to None?

Hey @wlach, thanks for asking.
I think this boils down to who is responsible to filter None values.
I have not used this library for ... about 7 years it appears, so I don't know what is expected.
In general, I would do assume 1 of the following:

the lib documents what types of values are valid

and optionally check against bad values to raise an exception or print a warning in "dev mode"

the lib method guards against possible dangerous values
the lib does nothing if it is entirely obvious in the context (but I don't know this context anymore)

Regarding this particular pull request, after re reading it, I would prefer doing the check at __init__ rather than on every call of the send_to property.
So, something like this
self.recipients = [r for r in recipients if r is not None] if recipients else []

But that's if you think the lib should do the filtering.

My sense is that it should be up to the user to handle this. When/if we add typing support to flask-mail we can probably make it assert that recipients are always a string. But I'll leave this open for now.


Offline mode

This PR implements features detailed in #54354

Adding below folks as reviewers
@sbatten for Menu entries
@joaomoreno for vscode updates
@sandy081 for extension view and updates
@JacksonKearl for extension recommendations

menu stuff LGTM

Extensions looks good.


Allow #SWIFT_PACKAGE in Manifest

This defines #SWIFT_PACKAGE for the manifest file, previously it was only defined for all other files built with the package manager.
It’s a fix for part of https://bugs.swift.org/browse/SR-588 although it doesn’t do anything for using getenv() for custom env variables in the manifest.

Why is it useful to have that defined in the Manifest, the expectation is they are only ever parsed by the manager so it should always be true.

Daniel

On Jan 21, 2016, at 4:15 PM, Bastian Rinsche<EMAIL_ADDRESS>wrote:
This defines #SWIFT_PACKAGE for the manifest file, previously it was only defined for all other files built with the package manager.
It’s a fix for part of https://bugs.swift.org/browse/SR-588 https://bugs.swift.org/browse/SR-588 although it doesn’t do anything for using getenv() for custom env variables in the manifest.
You can view, comment on, or merge this pull request online at:
https://github.com/apple/swift-package-manager/pull/115 https://github.com/apple/swift-package-manager/pull/115
Commit Summary
Allow #SWIFT_PACKAGE in Manifest
File Changes
M Fixtures/Miscellaneous/-DSWIFT_PACKAGE/Package.swift https://github.com/apple/swift-package-manager/pull/115/files#diff-0 (6)
M Sources/dep/Manifest.swift https://github.com/apple/swift-package-manager/pull/115/files#diff-1 (2)
M Tests/Functional/TestMiscellaneous.swift https://github.com/apple/swift-package-manager/pull/115/files#diff-2 (1)
Patch Links:
https://github.com/apple/swift-package-manager/pull/115.patch https://github.com/apple/swift-package-manager/pull/115.patch
https://github.com/apple/swift-package-manager/pull/115.diff https://github.com/apple/swift-package-manager/pull/115.diff
—
Reply to this email directly or view it on GitHub https://github.com/apple/swift-package-manager/pull/115.

Hm, I guess you're right, maybe just for consistency then? In theory there could be another build tool which tries to use the Package.swift, but I agree it's currently not actually useful.

I'd rather not add complexity without a clear use case. Generally I am fan of consistency, but the use of Swift as a manifest format is disconnected from "how we build your swift sources".

On Jan 21, 2016, at 4:42 PM, Bastian Rinsche<EMAIL_ADDRESS>wrote:
Hm, I guess you're right, maybe just for consistency then? In theory there could be another build tool which tries to use the Package.swift, but I agree it's currently not actually useful.
—
Reply to this email directly or view it on GitHub https://github.com/apple/swift-package-manager/pull/115#issuecomment-173762619.

I agree with Daniel. Can you provide a clear use case?

No, sorry, I think I was too excited about understanding enough of the source to do this to actually think about its usefulness.

Hah :) np 👍🏻


fix issue 506 updating star.sql file

This is a:

[x] bug fix PR with no breaking changes — please ensure the base branch is main
[ ] new functionality — please ensure the base branch is the latest dev/ branch
[ ] a breaking change — please ensure the base branch is the latest dev/ branch

Description & motivation
This PR is fixing the issue mentioned here: https://github.com/dbt-labs/dbt-utils/issues/506
Checklist

[ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[ ] Snowflake

[ ] I followed guidelines to ensure that my changes will work on "non-core" adapters by:

[ ] dispatching any new macro(s) so non-core adapters can also use them (e.g. the star() source)
[ ] using the limit_zero() macro in place of the literal string: limit 0
[ ] using dbt_utils.type_* macros instead of explicit datatypes (e.g. dbt_utils.type_timestamp() instead of TIMESTAMP

[ ] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to CHANGELOG.md

Thanks for opening this @KamranAMalik!


Sonoff S60TPF Voltage drops to 0V for few seconds

Hello,
i have 2 Sonoff S60TPF power plugs and an automation, which is sending a notification when Voltage drops to 0V for a specified time. Few times a day, both S60TPF are dropping to 0V due to an unknown reason. There is no power outage on the devices.
Does anybody have an idea why this is happening?
Home Assistant Core 2024.10.4
Home Assistant Operating System 13.2
SonoffLAN Integration 3.8.1
Thanks in Advance!
Patrick

The component shows the data that the device or the cloud is sending.
You can turn on the debug logs and see a message with zero volts:
https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#issues


Bind port on arbitrary ip addresses

I've added server_address = ('<IP_ADDRESS>', port) to attempt to open the proxy to non-localhost ip's.
However, no matter which ip address I attempt (aside from ::1), I get this error.
Is it possible to bind to a different IP address?
Traceback (most recent call last):
  File "proxy2.py", line 387, in <module>
    test()
  File "proxy2.py", line 379, in test
    httpd = ServerClass(server_address, HandlerClass)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 417, in __init__
    self.server_bind()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 431, in server_bind
    self.socket.bind(self.server_address)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 49] Can't assign requested address

It is possible but I didn't it.
Because proxy2 is made for debugging/testing and it should be secure by default.
I updated README.md (b2bab64). Thank you for your report 🙇


update community links

As development will be switching from brave to the OSS platform, this PR handles the change of the discord server link for now as we get everything up to speed.

Looks like we already updated it 😄


Draft: image caching + cosign bump

Please check below, if the PR fulfills these requirements:

[ ] Commit(s) and code follow the repositories guidelines.
[ ] Test(s) have been added or updated to support these change(s).
[ ] Doc(s) have been added or updated to support these change(s).

Types of Changes:

Enhancements and a minor bugfix.

Proposed Changes:

hauler store add image and hauler store sync <manifest with images> now takes advantage of go-containerregistry image caching via our cosign fork.  (which gets a bump from v2.2.2 to v2.2.3)
duplicate entries will no longer show up in the index.json of the store location.  (usually caused by a subsequent run of a sync over an existing store location)
better debug logging when adding images

Verification/Testing of Changes:

hauler store sync -f airgap-test.yaml -l debug

Additional Context:

!!! I APOLOGIZE UP FRONT FOR THE PR DIFF CONTAINING gofmt AND lint UPDATES!!! 👎🏻
This is still in draft for additional testing.
Not exactly what @clemenko wants for sync logging but it's a step forward.  https://github.com/rancherfederal/hauler/issues/192

After LOTS of testing, I'm not seeing any benefit here.
During subsequent runs of hauler sync, pulling the layer from cache takes LITERALLY the same amount of time as cosign just noticing the blob already being in the store directory from the previous run.  Subsequent runs take about half the time.

Test manifest w/ 130 images.  Same crappy internet for both my M1 Macbook and a Linux VM.  Below are my averages.

Another sad part about NOT implementing the caching is the lackluster logging.  The caching library from go-containerregistry has really nice logging as seen in my PR.  the "regular process" from cosign... really just outputs nothing.

With all of this said, I might close this PR after some further review with @dweomer.

Closing and breaking down into smaller chunks without the caching and to remove the misleading --cache flag that literally does nothing currently.


Missing DppPluginInvalidInputParameters error

I got this error code which only contains the criptic "Invalid inputs from caller" when trying to perform an scheduled backup for a storage container. it's missing from the troubleshooting page, even though the report directs you to it.

I would expect it to be there, with clear instructions to how to mitigate the issue.
Thanks in advance

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3b7fda94-d18d-41b8-7f89-80a36cf31a26
Version Independent ID: 6a69c2f6-2cd7-aa90-e6f7-7743af568418
Content: Troubleshoot Blob backup and restore issues - Azure Backup
Content Source: articles/backup/backup-azure-troubleshoot-blob-backup.md
Service: backup
GitHub Login: @AbhishekMallick-MS
Microsoft Alias: v-abhmallick

@jorgealziro
Thanks for your feedback! We will investigate and update as appropriate.

@jorgealziro  - Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can review and update accordingly.

Hi @jorgealziro - Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


Small improvements

Multiple small artifact fixes
Validate users.localappdata_low

@cugu can you elaborate on why you closed this PR? (at the moment I'm assuming that you no longer want these changes to be merged)

I wanted to make this PR to https://github.com/forensicanalysis/artifacts master, but GitHub automatically sets this repo as the target for PRs in forked repos.

I see, thx for the context


Cannot login on aardvark from Chrome

This is really strange, it happens only for 2 colleagues of ours, not for me, but at least this is what he gets in the console:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

Version 2.7.2

Hm. Cannot reproduce on my machine with ArangoDB 2.7.2 and current chrome browser (Version 47.0.2526.106 (64-bit)). Are there any special characteristic in their systems? The synchronous XMLHttpRequest warning has nothing to do with the problem described above.

@razvanphp can you provide a sniff of such a non-ssl'ed session? Can you provide a little more information which browers are used in this situation? (version, plugins, os, etc?)

Can't reproduce, Please reopen if more information can be provided.


Can't load plugin sqlalchemy.dialects:druid

Hello all!
I'm trying to create a datasource in superset, using pydruid. I can use pydruid cli successfully, but when I try to create a superset datasource, pointing to druid I'm getting this error: "Can't load plugin sqlalchemy.dialects:druid".
Any idea how to solve this?
Best regards.
Superset version
0.15.0 integrated with hadoop
Expected results
Integrate Druid with SQL lab
Actual results
Unable to integrate Druid with SQL lab
Steps to reproduce
Install pydruid and try to create a database using this plugin

0.15.0 is super old. But my guess is pydruid is not installed in the context in which you run Superset (virtualenv? specific version of python?)

@mistercrunch I'm using python 2.7.5. I tried to install pyhive and it worked perfectly.

I have the same issue running the stock standard docker container. Does anyone have a solution to this?


Dynamical Data Script Splitting

The dynamic data per cell/temperature found in the MATLAB toolbox are composed of 2 Excel files (s1 and s2) while the one in the Python toolbox reads 3 CSV files (s1, s2 and s3).
How did you spit s2 into two files to use them in the Python script?

The CSV files are created from the .mat files in the original Matlab toolbox. Not from the Excel files. In the .mat files you will see data related to scripts 1, 2, and 3 which are related to the CSV files labeled with s1, s2, and s3.


datadog test

Changes:

refactor workflows to use a common shared workflow

 add datadog test instrumentation to note-python


Round childMainAxisExtent in sliver_grid.dart

This fixes issue #16125
This could also be fixed by modifying the assert to round when comparing the maxPaintExtent with paintExtent but imo this is the best way.

I signed it!

I signed it!

@juliusvdijk Would you have the opportunity to address the comments above? If not that's fine, we can take over the PR.

@Hixie I am not sure what would be the correct solution as I do not have a lot of knowledge about the inner workings of Flutter.

I think the right fix is probably to find where we're setting maxPaintExtent and paintExtent, and to use max to make sure the invariant is upheld.

@juliusvdijk I'm going to close this PR for now (to get it off our review queue) but I've marked it so that we will take a look at it when we have a chance. Thanks! Feel free to reopen it or file a new one if you want to have a crack at applying the change suggested above.

Will be great if this issue could be fixed.

@juliusvdijk Are you still having this error on the latest version of Flutter – Flutter version 0.10.1-pre.241 ?


Bug: Getting "Invalid Date" for a valid date

moment('31-05-1985', 'DD-MM-YYYY')
moment([1985, 5, 31])
First one gives a valid date but second one gives a overflow for 'days'.

First one is creating a date for May, second one is creating a date for June.

Thank you.
Really appreciate your help.
Got it.


Add an angular mode and track width characterization

This adds an angular mode (where the robot spins). If the users selects the angular mode then we will also characterize the effective wheelbase diameter. This empirical measurement of track width better accounts for wheel scrub, and usually results in more accurate encoder-based odometry.
This PR is ready for review, but I have marked it as a draft PR because I haven't tested this on the robot I have yet.

I've tested this on the hardware I have, and after a few fixes everything seems to work fine. Note that I only have access to a robot with Talon SRXes and a rather exotic gyro, which means that the non-Talon example code (robot-java and robot-cpp) and all the commented gyro bits are still effectively untested.
That aside, the only outstanding issue is whether or not we should invert the robot's motors for the user when they choose angular mode. Currently, we do not invert any motors for the user. See this thread for more info.

In my opinion, requiring users to physically change their robot to use a tool is a Bad Idea for many teams. I think a goal of these tools is that they should work on unmodified robots.
I'm fine with breaking past user programs -- though I think you could do it without breaking them?

How does this require users to physically change their robot?  The motor inversion is done in the user-side code.

Note: If you select angular mode you must manually reverse the motors on one side of your robot.

That statement at first glance sounds like it's asking for a physical change of the robot. You're right though, it doesn't have to require a physical change.
I don't see any harm adding an additional item to send to the user program indicating whether it should turn or not, it's simple enough. Perhaps future characterizations will be able to take advantage of that?

I suppose it'd be fine to have a flag to send to the robot for turning vs not turning.  I think doing that over the CLI is a bit clunky, though - if we're going to go there, we probably want a GUI for for data logging, as well (this would also allow the user to choose the folder in which the file will be saved, and to choose the filename).

If I am not mistaken, this should be titled track width and not wheelbase.

Something bad happened when Peter force pushed, so I'm just going to open a new PR instead of dealing with the problems directly.


Rummager withdraw

Make the 'unpublish' process also issue a delete_content to Rummager to remove the document from the finder indexes.

Looks good. One minor suggestion. 👍  🎉


Sr844

Add driver for the Stanford Research SR844. This driver were originally made by @fabrizioberr and Frederik Knudsen Wolff

Codecov Report

Merging #210 (e39c73b) into main (8366eb1) will decrease coverage by 0.25%.
The diff coverage is 0.00%.

:exclamation: Current head e39c73b differs from pull request most recent head c82452a. Consider uploading reports for the commit c82452a to get more accurate results

@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
- Coverage   20.88%   20.64%   -0.25%
==========================================
  Files         133      134       +1
  Lines       16630    16824     +194
==========================================
  Hits         3473     3473
- Misses      13157    13351     +194

Impacted Files
Coverage Δ

...b_drivers/drivers/StanfordResearchSystems/SR844.py
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Raise failed authentication log entry to warning

On Gitea version: 1.4.0+rc3
Database: MySQL

Description
Currently failed authentication attempts are logged as info into gitea.log.
All executed SQL queries are also logged as info into xorm.log which means increases file size and disk writes.
In order to avoid the size and write problem I have increased log level to warn, but that leaves my fail2ban without the required log lines.
Alternatively add an option to disable the xorm log, or log executed SQL queries as debug, which should be better for production servers with several active users.
As an aside it would be nice to have a log of failed password reset requests .

related to the #2512 fiuuu from number 2XXX to 3XXX and still not reolved.. amount of 100 issues happened!? seems gitea development features raises mor and more bugs?

@Darcara As an aside it would be nice to have a log of failed password reset requests . is not resolved by #3726. Maybe you could create a new issue to describe that or I will reopen this one.

I made #3745 and thanks for your fast work, much appreciated :)


[Bug]: Type for validateUser is any for the SvelteKit middleware in lucia-auth/middleware

Package
lucia-auth
Package version
1.0.0
Describe the bug
There are correct types for the session returned by validateUser() and validate(). But the session returned by validateUser() has any as a type.
System info
sveltekit & pnpm on windows 10
"lucia-auth": "^1.0.0"
"@prisma/client": "^4.12.0"
"@lucia-auth/adapter-prisma": "^1.0.0"
"@lucia-auth/oauth": "^1.0.0"
"prisma": "^4.12.0"
Reproduction
No response
Relevant log output
No response
Additional information
I am using the correct handle in src/hooks.server.ts and imported the UserAttributes in src/app.d.ts using type UserAttributes = import("@prisma/client").AuthUser;.

Can you paste your app.d.ts?

Sure!
import type { PrismaClient } from "@prisma/client";

declare global {
	namespace App {
		// interface Error {}
		interface Locals {
			auth: import("lucia-auth").AuthRequest;
		}
		// interface PageData {}
		// interface Platform {}
	}
	// eslint-disable-next-line no-var
	var prisma: PrismaClient
}

/// <reference types="lucia-auth" />
declare global {
	namespace Lucia {
		type Auth = import("$lib/lucia").Auth;
		type UserAttributes = import("@prisma/client").AuthUser;
	}
}

export {};

Oh! I see. I imported $lib/lucia instead of $lib/server/lucia. It's working perfectly now, sorry.


Method not allowed - DELETE

Summary
DELETE, PUT, PATCH all return {"message":"Method not allowed"}
Steps To Reproduce
Makefile:
kong-init:
	@curl -X POST http://<IP_ADDRESS>:8001/upstreams \
		--data "name=blue"
	@curl -X POST http://<IP_ADDRESS>:8001/upstreams/blue/targets \
		--data "target=<IP_ADDRESS>:49160" \
		--data "weight=100"
	@curl -X POST http://<IP_ADDRESS>:8001/upstreams \
		--data "name=green"
	@curl -X POST http://<IP_ADDRESS>:8001/upstreams/green/targets \
		--data "target=<IP_ADDRESS>:49161" \
		--data "weight=100"
	@curl -X POST http://<IP_ADDRESS>:8001/apis/ \
		--data "name=dockerapp" \
		--data "hosts=<IP_ADDRESS>" \
		--data "upstream_url=http://green"

kong-reset:
	@curl -X DELETE http://<IP_ADDRESS>:8001/upstreams \
		--data "name=blue"
	@curl -X DELETE http://<IP_ADDRESS>:8001/upstreams/blue/targets \
		--data "target=<IP_ADDRESS>:49160"
	@curl -X DELETE http://<IP_ADDRESS>:8001/upstreams \
		--data "name=green"
	@curl -X DELETE http://<IP_ADDRESS>:8001/upstreams/green/targets \
		--data "target=<IP_ADDRESS>:49161"
	@curl -X DELETE http://<IP_ADDRESS>:8001/apis/ \
		--data "name=dockerapp"

Additional Details & Logs

Kong version (0.10.3)
Operating System (Docker)

@Izhaki please have a read through of the Admin API docs: https://getkong.org/docs/0.10.x/admin-api/
DELETE methods should never take any request body data. For example, deleting an API object dockerapp would look like:
@curl -X DELETE http://<IP_ADDRESS>:8001/apis/dockerapp
Similarly, PATCH/POST/PUT methods for each applicable object are documented at the Admin API reference noted above. If you are having trouble with these, consider posting to the mailing list (https://groups.google.com/forum/#!forum/konglayer) with a detailed description of your issue, as there is no bug with Kong here per se. Thank you!


Resolve AttributeError on macOS

Changed os.uname().architecture to os.uname().machine when checking for architecture on macOS, hoping to resolve #2.

Hi @kvklink !
Thanks for reporting and the fix. This is :top:

I'll make a release the following hours.


add state in Dialog and DialogCallback structs

Need this to pass extra information
https://api.slack.com/dialogs#state

thanks, will hold off on this for the time being though.
I have a branch refactoring interactions and dialogs.

see #416


Paging not working with withGraphJoined()

hello
I have Users model with several child models and later on i have filters on these child models and also i am trying to paginate the result but when i am trying to join the relations with withGraphJoined paging is not working.
         query.withGraphJoined(         {           creatorDetails: {             workCategoryDetails: true,             languageDetails: {               language: true           },         },         { aliases: { creatorDetails: 'creator' } },       )

creatorDetails is HasOneRelation
workCategoryDetails is HasOneRelation
languageDetails is HasManyRelation

Closing as a duplicate of #2186


Change events doesn't work on fields

Awesome library, really love how clean and slick it is, just come across one problem that's all!
It looks like your library takes control of the .change, .keyup, .keydown events as when I try to update a custom input field when there has been a change in the card-number input field for example, it doesn't work at all.
I used this bit of code in Example 4 of your examples:
$("#card-number-1").change(function() {
        console.log("Hello World!");
      });

So in theory, should spit out the logging in console but does absolutely nothing.
I think lines 916-922 is the issue:
this.cardNumberInput.keydown(function(e) {
    CardJs.handleCreditCardNumberKey(e, $this.creditCardNumberMask);
  });
 this.cardNumberInput.keyup(function(e) {
    $this.refreshCreditCardTypeIcon();
  });
 this.cardNumberInput.change(CardJs.handleCreditCardNumberChange);

Not sure how to work around this.

The modified example code that you've provided, according to its selector, appears to be binding the 'change' event to the output field presented in the example, not the card-number input field.
This library does not hijack events of any existing DOM elements or how they are handled. You should be able to hook your own event bindings into the input elements. The one exception is the "Expiry Date" fields, which are re-created forcibly by the library when it is initialized (#16). Even so, you can still bind your own events, however the hook will have to be initialized after the library has loaded.
In keeping with the theme of using Example 4, this code will have your intended functionality:
$('#my-card-1 .card-number').keyup( function( e ) { console.log( 'Hello World!' ); } );

Or
$('#my-card-1').data('cardjs').cardNumberInput.keyup( function( e ) { console.log( 'Hello World!' ); } );

Note the nature of the "change" event and the conditions under which it is triggered combined with how CardJs handles the rewriting of the masked number means that the function will not fire in this case. Same goes for keypress. Both keyup and keydown will fire.

Ah that makes sense.
I did a bit of debugging with this and noticed how keypress wouldn't work but keyup & keydown would. I looked up why they act different and understand now.
Thanks for your help @pandymic!


Consider generating the Canister interface definitions from did files

So that developers don't have to manually create Canister type definitions, we might make it easy on them by allowing them to generate the definition from a did file. But this might be rendered unnecessary if we implement this: https://github.com/demergent-labs/azle/issues/263

I've opened on issue in the candid repo: https://github.com/dfinity/candid/issues/373


[google-cloud-cpp] use features to stop package growth

We have plans to grow google-cloud-cpp, but we think the build times
are large enough already. This creates "features" to at least stop the
package growth as new features are added. The "default-features"
reflects the current features in the package.

What does your PR fix?

N/A

Which triplets are supported/not supported? Have you updated the CI baseline?

No change.

Does your PR follow the maintainer guide?

Yes.

Have you tested these features in this PR? @coryan

Have you tested these features in this PR? @coryan

Evidently: not enough.

Closing for now, I think I need to make changes to the package CMake files to make this work well in all cases.


fix fix repeatedly open tablets_channel when tablets_channel already cancelled

Proposed changes
Issue Number: close #xxx

F20240506 01:01:14.788642 4129046 tablets_channel.cpp:479] Check failed: _tablet_writers.size() == tablet_cnt (64 vs. 0)
*** Check failure stack trace: ***
    @     0x5648cdf21916  google::LogMessage::SendToLog()
    @     0x5648cdf1e360  google::LogMessage::Flush()
    @     0x5648cdf22159  google::LogMessageFatal::~LogMessageFatal()
    @     0x56489db05232  doris::BaseTabletsChannel::_open_all_writers()
    @     0x56489db03af4  doris::BaseTabletsChannel::open()
    @     0x56489d730007  doris::LoadChannel::open()
    @     0x56489d7169f3  doris::LoadChannelMgr::open()
    @     0x56489dd57c07  doris::PInternalService::tablet_writer_open()::$_0::operator()()
    @     0x56489dd57477  std::__invoke_impl<>()
    @     0x56489dd573e9

The execution time of multiple instances is different. The tablets_channel has already been cancelled, and the open operation of a certain instance has only come.   The open operation was repeated, causing the DCheck to fail.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Removing IBM Z references

Removing IBM Z references cc @traci-morrison

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 5d32d52d35c62784cc3c730ad918cfe59cee994d
https://deploy-preview-9763--docsdocker.netlify.com


Heap Sort

Description 📜
Issue #3224 : Heap Sort algorithm using max heap. Sorting data in ascending order.
Fixes #3224

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] DSA

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

@a-rcane Looks good to me . Only change naming convention of your pull request

@Muskan-creator done with the requested changes. Thank you.


Cartographer on Jetson Nano

Hello people,
I was thinking to run cartographer on a NVIDIA Jetson Nano 4Gb, but I have some questions about memory management.
From a lot of experiments on an Intel NUC with an i7 8core (4 physical and 4 virtual) I have see that this slam need a lot of cpu power to work (all my core were saturated during slam).
Recently I have discover that Ceres Solver can use a NVIDIA GPU in order to speed up to speed up DENSE_QR, DENSE_NORMAL_CHOLESKY and DENSE_SCHUR (http://ceres-solver.org/installation.html).
Do you have any experience about that?

I have used cartographer library (not the ROS node) on a Nvidia TX2 (8 GB, 4 cores), and it worked without problems. I have also compiled Ceres with GPU support and modified cartographer to use the following option:
options.dense_linear_algebra_library_type = ceres::DenseLinearAlgebraLibraryType::CUDA;
However, the GPU does not seem to be used.. I have used jtop to see the GPU usage, and the result were peaks of usage from time to time, but those peaks happend also when cartographer was not used at all.. I haven't seen any difference in performance.
Maybe I am missing something, but those were the results I have obtained.

Hi @adiego73 I have stop use cartographer, but recently I get your same behavior on another project. Maybe I am missing something too. I have ask to Ceres github page, and they say to look at the solver summary.


Deprecate CREATE_COLLECTION and AUTH feature flags

Reviewers
Functional:
@seve
Changes

remove CREATE_COLLECTION and AUTH feature flag and code references

QA steps (optional)

Still need to try rdev
Ran locally and checked if buttons are displayed when deprecated feature flags are turned on:

CREATE_COLLECTIONS ("cc")

AUTH ("auth")

Curator flag works as it should:

Will run linter again - I think I'm having issues with aws creds still. Could not run unit tests so figuring that out now!

Thanks so much for removing deprecated flags, @leslieypark !
I think the smoke tests are failing because we need to add curator and revision flags in this file 🙏
frontend/jest/featureFlags.js
e.g.,
localStorage: [
        { name: "cxg-ff-auth", value: "yes" }, // <--- Remove
        { name: "cxg-ff-cc", value: "yes" }, // <--- Remove
        { name: "cxg-ff-gs", value: "yes" },
        { name: "cxg-ff-curator", value: "yes" }, // <--- Add
        { name: "cxg-ff-rc", value: "yes" }, // <--- Add
      ],

Thanks so much again!

THANK YOUUUU!!! I was looking for this!


Write a test for z ordering including deleted elements

Quick and easy fix for that would be to include both selected elements AND deleted elements ids to be moved. It’ll do a few more manipulations but should be correct

Much easier is to simply ignore the deleted elements.

How do you “ignore” them when mutating the array indices?

I meant as described inhttps://github.com/excalidraw/excalidraw/issues/989 --- maybe I'm misunderstanding what you meant.

fixed in #1077, thanks @dwelle !


SSL error

After the last update i get this error when i try to call google_say service:
HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6c53d770>: Failed to establish a new connection: [Errno -3] Try again'))
And this error when i try to send a telegram message:
Error while bootstrap del webhook: urllib3 HTTPError HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot842684153:AAE4Ilk30Yr8T5K8L0DcZxLNG9CpYk5DfcY/deleteWebhook (Caused by NewConnectionError('<telegram.vendor.ptb_urllib3.urllib3.connection.VerifiedHTTPSConnection object at 0x6b4e47d0>: Failed to establish a new connection: [Errno -3] Try again'))
I think the problem is SSL but i don't know how to fix it

Are you running Hassbian or Raspbian?
Also, please use the issue template you've deleted. So I don't have to ask these questions. Thanks! 👍

I have hassio

@andreamastro  Have you installed PiHole or AdGuard home recently?

Yes, Adguard home

This is a common issue with AdGuard Home & PiHole, which occurs if the user does not follow the installation steps.
Please take a look at the AdGuard Home installation steps again. Especially the first step is really important.
For support on my add-ons, please join our Discord server or try the add-on topics on the Home Assistant community forums.
This is not an issue with Home Assistant.


dark mode

the prefers-color-scheme light and prefers-color-scheme dark css media queries are now usable: https://wiki.roll20.net/CSE#Responsive_Design

Has been implemented


Changes to .flatten

Default predicate to flatten everything
If you can't flatten a bloq, don't complain; just don't do anything
Documentation improvements

it's about to play a pivotal role in new tensor simulation


Base fetch overriden and breaks RTK Query

When using secretjs with RTK Query, it breaks all requests as soon as the client is initialized somewhere in code.
I get the following error on a network request:

The weird part is that the url completely changes, the params are not serialized as configured in RTK Query.
From what i see you are overriding the built in fetch with cross-fetch. Why?
It looks like its not a full implementation. As RTK Query is just using the built in fetch, its probably doing something which cross-fetch simply does not support. Any way to quickly patch this? Also tried just patching the code with patch-package, but still breaks.

Fixed it!
So the issue is cross-fetch, i completely removed the dependency and the references to it and now it all works.


Vue Tour is not properly working on Safari

I have a basic implementation of Vue-Tour that works fine on Chrome but it resizes the starting element (v-card) on Safari. I am also using Vuetify. Is this a bug?

Hi @Djshn, can you please provide an example ? I'm unable to reproduce the bug on Safari, everything is working well on my side.

@Djshn any news on this? Or I can close the issue?


How to list stash uploads ids from given folder id

Alright i have been keep reading but i can not figure out
Let me tell my steps
step 1 : list all folders with this way
"https://www.deviantart.com/api/v1/oauth2/stash/delta?offset=" + i + "&ext_submission=false&ext_camera=false&ext_stats=true&access_token=" + srAuthCode;
step 2 : iterate all information until given path folder found
step 3 : obtain that folder id
step 4 : get all submissions under that folder id however this part fails. i am using below query but it does not give me submissions ids (stashid) so i can publish them
string srListitems = "https://www.deviantart.com/api/v1/oauth2/stash/metadata?list=true&folderid=" + srFolderid + "&access_token=" + srAuthCode;

ok i found it. it returns each item as another folder so i have fetch those folders.


MacOS OpenMP linking

As mentioned by @manpen the OpenMP::OpenMP_CXX field is not supported in CMake 3.5, which is our minimum required version because of Ubuntu 16.04 support.
Probably no macOS user is stuck on a 2.5 year old version, but nevertheless this workaround should be added regarding consistency and stability.
The commit is tested and compatible with the travis changes proposed here: https://github.com/kit-parco/networkit/pull/203 (Travis)

Should we really link to libgomp? What if we're compiling with a compiler (e.g. clang) that uses a different OpenMp implementation? I'd suggest to replace that by OpenMP_CXX_FLAGS (which should include -lgomp, right?). It seems to be possible to test for the existence of OpenMP::OpenMP_CXX using if(NOT TARGET OpenMP::OpenMP_CXX), so we could fall back to OpenMP_CXX_FLAGS only in that case.
By the way, doesn't the set_target_properties() in the APPLE case prevent the NETWORKIT_LINK_FLAGS from being used? I guess that would be a bug.

The the if(NOT TARGET OpenMP::OpenMP_CXX) check can probably be done OS-independently. Instead of calling set_target_properties() we should change NETWORKIT_LINK_FLAGS.

This is clearing the better solution! For whatever reason I thought a second set_target_properties call would add to the existing linking flags, because I found the file this way.
But in the old version, the existing -fopenmp was overwritten and thereby OpenMP was never linked.
The new commit should cleanup this issue. Seems that there is not need at all for checking after OpenMP::OpenMP_CXX.
In addition I rechecked the OpenMP linking and saw that link_directories("${OPENMP_LIBRARIES}") is also not supported by CMake 3.5. However, it can be removed because -fopenmp should do the trick here too.

Can you rebase this and fix the merge conflicts on the current cmake-pr?

Travis fails only due to a timeout, so I'm merging this.


fix: change the regex to cover all scenarios in lorem_fr

This PR aims to close the issue #424.
Taking the suggestion from the description, I've moved all regexes to constants, changing in all test cases.

Thanks! <3


Failsafe mechanism for cloudflare_ip_ranges

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
3.10.0
Affected resource(s)
cloudflare_ip_ranges (cidr_blocks)
Terraform configuration files
data "cloudflare_ip_ranges" "cloudflare" {}

data.cloudflare_ip_ranges.cloudflare.cidr_blocks

Link to debug output
n/a
Panic output
No response
Expected output
shouldn't have returned empty in the first place. In case of cloudflare unavailability it should fail instead.
Actual output
it returned an empty list of cidr_blocks, without any error.
terraform proceeded to apply this leading to unavailability (403) in one of the buckets we had restricted to these specific IP ranges.
Steps to reproduce
Likely needs more investigation on your side as we've only seen this happen during today's availability issues.
Additional factoids
No response
References
https://downdetector.com/status/cloudflare/

I wish I had more debug details but as I mentioned, this only happened during today's availability issues.
By the time I re-ran the terraform apply, it returned the correct values.
This is more of a, fail gracefully during these kind of events

thanks for the issue! unfortunately, this isn't something to be addressed in the provider. the issue was the service we call via the API failed open during the incident instead of returning an error (we already handle API errors with https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/internal/sdkv2provider/data_source_ip_ranges.go#L57). that's something i can pass onto the team however, there isn't anything to do here that would have prevented it given it still returned a success.
side note: please don't rely on downdetector for anything. it's a horrible system that scrapes for " down" mentions across platforms and is not an accurate measure of availability. instead, you can subscribe to individual service updates via the platform status page (such as https://www.cloudflarestatus.com/)

It happened again. Any updates on whether the API team is working on addressing this?
This is fairly serious


Service port is exposed when creating an ingress point to it

I'm not sure if this the desired behavior but the service port should not be exposed when creating
an ingress to it.

Ingress

Workload

Useful
Info

Versions
Rancher v2.0.0 UI: v2.0.41

Access
`` admin

Route
containers.index

Duplicated of https://github.com/rancher/rancher/issues/13717
Please see https://github.com/rancher/rancher/issues/13717#issuecomment-392113145


Optional dependencies

According to the docs here, nltk requires pyyaml and has an optional dependency on numpy.  Looking through the code, though, there are a few other packages that get imported (matplotlib, scipy, sklearn, svmlight, unidecode) that should maybe be mentioned as optional dependencies.  But more importantly, when one of these optional packages are missing, attempts to use parts of nltk will sometimes fail with a possibly confusing error message, e.g.:
Traceback (most recent call last):
  File "nltk/classify/maxent.py", line 1484, in <module>
    demo()
  File "nltk/classify/maxent.py", line 1481, in demo
    classifier = names_demo(MaxentClassifier.train)
  File "/home1/malouf/nltk/nltk/classify/util.py", line 184, in names_demo
    classifier = trainer( [(features(n), g) for (n,g) in train] )
  File "nltk/classify/maxent.py", line 288, in train
    train_toks, trace, encoding, labels, **cutoffs)
  File "nltk/classify/maxent.py", line 1111, in train_maxent_classifier_with_iis
    empirical_ffreq = (calculate_empirical_fcount(train_toks, encoding) /
  File "nltk/classify/maxent.py", line 1067, in calculate_empirical_fcount
    fcount = numpy.zeros(encoding.length(), 'd')
NameError: global name 'numpy' is not defined

Missing dependencies should probably be handled more clearly and consistently.  But, some questions:

Should some of these dependencies be made non-optional? I'm thinking mostly of matplotlib and numpy.  Many python distributions come with them pre-installed.
Should the remaining optional dependencies be added to setup.py as "extras", as described here, to encourage users to install them?
For missing dependencies, is it better to fail at import time or at run time?
How fancy do we want to get with the error message?  Simply state that a package is missing? Point the user to a webpage describing how to install NLTK?

For reference, here are the source files that import specific packages:
pylab
./nltk/probability.py
./nltk/parse/dependencygraph.py
./nltk/draw/dispersion.py
./nltk/app/wordfreq_app.py
./nltk/app/init.py
./nltk/tokenize/texttiling.py
numpy
./nltk/classify/maxent.py
./nltk/classify/megam.py
./nltk/classify/scikitlearn.py
./nltk/classify/tadm.py
./nltk/metrics/segmentation.py
./nltk/tag/hmm.py
./nltk/test/classify_fixt.py
./nltk/test/classify_fixt.py
./nltk/test/probability_fixt.py
./nltk/test/unit/test_tag.py
./nltk/test/unit/test_hmm.py
scipy
./nltk/classify/scikitlearn.py
./nltk/metrics/scores.py
sklearn
./nltk/classify/scikitlearn.py
unidecode
./nltk/compat.py
svmlight
nltk/classify/svm.py

3+ years on, the new pip installation should handle this issue c.f. #1538

Resolved in  #1538
Closing resolved issues to prepare for v3.2.5


refactor(chip): Define MIO/ DIO map to IOs

This commit adds maps from MIO/DIO index to actual PAD (chip_io_e). These parameter are helpful when vseq needs to deal with PINMUX config as PINMUX does not have PAD info but the index of MIO/DIO.
It would be best if this list is auto-generated by topgen.

i think this might be really close to what you want. https://cs.opensource.google/opentitan/opentitan/+/master:hw/top_earlgrey/rtl/autogen/top_earlgrey_pkg.sv;l=896

Unfortunately, it is not. The lists in this commit maps MIO/DIO index to chip_vif.ios_if index ( https://cs.opensource.google/opentitan/opentitan/+/master:hw/top_earlgrey/dv/env/chip_if.sv;l=88?q=chip_if.sv&ss=opentitan%2Fopentitan ) . The ios_if index is defined in https://cs.opensource.google/opentitan/opentitan/+/master:hw/top_earlgrey/dv/env/chip_common_pkg.sv;l=72?q=chip_comm&ss=opentitan%2Fopentitan

gah! i only noticed the ordering of the names was similar to to what pinmux expects..then i realize you were using that ordering and inserting the chip_common_pkg enums... haha. This is going to get really confusing. Should we be aligning the two or something?

gah! i only noticed the ordering of the names was similar to to what pinmux expects..then i realize you were using that ordering and inserting the chip_common_pkg enums... haha. This is going to get really confusing. Should we be aligning the two or something?

Yeah.. I really hope ios_if and MIO/DIO are somehow connected so that only one index can be used. Anyhow, this is a way to resolve at least in chip_sw_sleep_pin_wake and chip_sw_sleep_pin_mio_dio_val tests.

gah! i only noticed the ordering of the names was similar to to what pinmux expects..then i realize you were using that ordering and inserting the chip_common_pkg enums... haha. This is going to get really confusing. Should we be aligning the two or something?

Yeah.. I really hope ios_if and MIO/DIO are somehow connected so that only one index can be used. Anyhow, this is a way to resolve at least in chip_sw_sleep_pin_wake and chip_sw_sleep_pin_mio_dio_val tests.

could you file an issue on this? we should probably harmonize this somehow. The issue really is on the direct pads.. the muxed pads i think are more or less consistent.


Should we make an actual frontend?

What if the backend was just this API, plus all the authentication stuff? Would it make sense to have some kind of React app as our frontend, instead of having the Go server serve pages?
The app itself is pretty dead-simple, and doesn't really need a lot....

The one I just wrote works(tm)


Train on the Replica dataset without using depth loss.

Thank you for your contribution. I would like to train the model from scratch on the Replica dataset but without the depth-guided loss. I ran the following command:
CUDA_VISIBLE_DEVICES=1 python train_gpnerf.py --config configs/gpnerf_replica.txt --expname debug --ckpt_path ./out/gnt_best.pth --no_load_opt --no_load_scheduler
but, the follwing error occurs:
File "/home/mihnea/mihnea/GP-NeRF/train_gpnerf.py", line 507, in <module>
    train(args)
  File "/home/mihnea/mihnea/GP-NeRF/train_gpnerf.py", line 163, in train
    ray_sampler = RaySamplerSingleImage(train_data, device)
  File "/home/mihnea/mihnea/GP-NeRF/gpnerf/sample_ray.py", line 46, in __init__
    self.depth_mask = data["depth_mask"]
KeyError: 'depth_mask'

In the ReplicaDataset I don't see the depth_mask key in __getitem__. I added the field as in the ScanNet dataset but I get a new error:
File "/home/mihnea/mihnea/GP-NeRF/train_gpnerf.py", line 507, in <module>
    train(args)
  File "/home/mihnea/mihnea/GP-NeRF/train_gpnerf.py", line 200, in train
    fine_sem_out, loss_distill, loss_depth_guided_sem = model.sem_seg_head(que_deep_semantics, ret['outputs_fine']['feats_out'], selected_inds)
  File "/home/mihnea/anaconda3/envs/semray2/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mihnea/anaconda3/envs/semray2/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mihnea/mihnea/GP-NeRF/gpnerf/semantic_branch.py", line 61, in forward
    agg_feats_3d = agg_sem_feats['feats_out_3d']
IndexError: too many indices for tensor of dimension 2

Can you please guide me on how to choose the correct configuration and the changes to be made so that I can train the desired model?

Thanks for your attention. You can follow the format of ScannetDataset to load depth maps:
def __init__():
  all_depth_files = []
  for ...
    depth_files = [f.replace("pose", "depth").replace("txt", "png") for f in pose_files]
  self.all_depth_files = np.array(all_depth_files, dtype=object)[index]
def __getitem():
  depth_files = self.all_depth_files[real_idx]
  ....
  img = Image.open(depth_files[id_render])
  depth = np.asarray(img, dtype=np.float32) / 1000.0  # mm -> m
  depth = np.ascontiguousarray(depth, dtype=np.float32)
  depth = cv2.resize(depth, (self.w, self.h), interpolation=cv2.INTER_NEAREST)
  ....
  return {
      ....
      "true_depth": torch.from_numpy(depth),
     ....
}

Meanwhile, use single GPU to train may not unable to produce best results due to our method contains a perception head.


chore(README.md): updating discord

Updated discord's channel link to cometbft's channel. Current one is a channel verified don't have right to see (it shows up empty).
Also I believe it would be nice to add an invite link (https://discord.com/invite/cosmosnetwork) so people that aren't in already don't get an error message.
I thought of something like :
Join the Discord and discuss in the chat

Also I believe it would be nice to add an invite link (https://discord.com/invite/cosmosnetwork) so people that aren't in already don't get an error message.

Good idea @Frierened! I've incorporated that suggestion into #1874. Thanks for bringing this to our attention!


Hide/show dunder methods and attributes during autocompletion #95

Elevator Pitch
As a remote JupyterLab user, often hindered by bandwith limitations, it would be useful, to be able to hide dunder methods and attributes during autocompletion for clarity and performance.

Motivation

Dunder special methods and attributes are supposed to be called implicitly, and most of the time are not interesting during any library or class usage.
Arguably, it's similar for _ private methods and attributes.
Design Ideas

In my mind's eye, dunders and private attributes/methods should appear if autocomplete starts explicitly with ._, as in ipywidgets.IntSlider()._. Otherwise they should be hidden.
I don't have any opinion or suggestion about implementation.
Thanks
Gianluca

As mentioned in https://github.com/python-lsp/python-lsp-server/issues/95#issuecomment-991630861 in the ideal scenario, this feature is implemented on both server side (because not sending completion items for dunders will improve performance) and on the client side (because we still need to filter out kernel completions, or at least tell the kernel that we do not want dunders).


qtbase: Fix build with recent oe-core/pseudo on hosts with glibc >= 2.28

Tested by bitbake qtbase nativesdk-qtbase from scratch on glibc and musl

On top of master-next (warrior-next) to avoid patch rebase dance
oe-core on warrior (pseudo patch is in master too)

Merged, thanks:
a4bf2402..eb5d6daa  master -> master
a4bf2402..eb5d6daa  warrior -> warrior


Add application error type for invalid parameter

For example, this can be used in the default case of switch-case statements that are intended to cover all values of an enum:
https://github.com/antoneliasson/twr-lcd-thermometer/blob/b82c2e0ac3b31e709fbe49ce4a094ff4c8c1214b/src/application.c#L133
https://github.com/antoneliasson/twr-mailbox-monitor/blob/main/src/application.c#L90

Thank you for the addition. I merged it to the master branch.


C/Cpp No generation of browse.VC.db under 32 bit linux

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:55:32.357Z)
OS Version: Linux ia32 4.4.0-57-generic
Extensions:

Extension
Author
Version

cpptools
ms-vscode
0.9.3

Steps to Reproduce:

Generate c_cpp_properties.json and add include path of current workspace.
Symbol information is not generated.
I think the problem is: ~/.vscode/extensions/ms-vscode.cpptools-0.9.3/bin/Microsoft.VSCode.CPP.Extension.linux is 64-bit binary - no 32-bit binary provided.

@je-so This looks like a problem with the cpptools extension. @je-so Please try opening an issue with them
Thanks


Introduce method to get driver hosts to be ignored by VCR, WebMock

Consider adding a method to webdrivers to return all of the driver hosts that ought to be ignored by testing tools like VCR and WebMock.
This would simplify the supporting config as follows:
VCR.configure do |config|
  config.ignore_hosts(
-    "chromedriver.storage.googleapis.com",
-    "github.com/mozilla/geckodriver/releases",
-    "selenium-release.storage.googleapis.com",
-    "developer.microsoft.com/en-us/microsoft-edge/tools/webdriver"
+    *Webdrivers.driver_hosts
  )
end

-WebMock.disable_net_connect!(allow_localhost: true, allow: [
-  "https://chromedriver.storage.googleapis.com",
-  "https://github.com/mozilla/geckodriver/releases",
-  "https://selenium-release.storage.googleapis.com",
-  "https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver"
-])
+WebMock.disable_net_connect!(allow_localhost: true, allow: Webdrivers.driver_hosts)

This code was modified from the code provided at https://github.com/titusfortner/webdrivers/wiki/Using-with-VCR-or-WebMock

Well, they aren' t currently public methods, but you could:
Webdrivers::Chromedriver.send(:base_url)

Especially now that you can require only the drivers you want to use, I'm not sure it makes sense for the project to roll this up into a single method...

Thanks thats interesting. So you can get all of the base_urls with:
# With activesupport gem
driver_urls = Webdrivers::Common.subclasses.map { |driver| driver.send(:base_url) }

# Without activesupport
driver_urls = (ObjectSpace.each_object(Webdrivers::Common.singleton_class).to_a - [Webdrivers::Common]).map { |driver| driver.send(:base_url) }

Which reduces the config a little to:
VCR.configure { |config| config.ignore_hosts(*driver_urls) }

WebMock.disable_net_connect!(allow_localhost: true, allow: driver_urls)

Ok, I just merged in code that will make #base_url public so that you don't have to use #send, I think that's all the support I want to provide for this in webdrivers gem at this time.

Thanks @titusfortner!
Here's some code using the newly-public methods for anyone who stumbles on this issue and wants to know how to use them with VCR and WebMock:
# With activesupport gem
driver_urls = Webdrivers::Common.subclasses.map(&:base_url)

# Without activesupport gem
driver_urls = (ObjectSpace.each_object(Webdrivers::Common.singleton_class).to_a - [Webdrivers::Common]).map(&:base_url)

VCR.configure { |config| config.ignore_hosts(*driver_urls) }
WebMock.disable_net_connect!(allow_localhost: true, allow: driver_urls)

(I tried updating the wiki page but it looks like its not open for public edits.)

Hi @eliotsykes, I have updated the wiki with the information you have provided - https://github.com/titusfortner/webdrivers/wiki/Using-with-VCR-or-WebMock
Let me know if anything can be improved. Thanks!

This is now available in 3.9.4

Also, ftr, I changed the wiki so that anyone can add to it.

Hey folks, I’ve tried this but it didn’t work. base_url was giving me full URLs (like https://chromedriver.storage.googleapis.com) which was not allowing the requests.
However, extracting just the host made it work:
driver_urls = Webdrivers::Common.subclasses.map do |driver|
  Addressable::URI.parse(driver.base_url).host
end

@gnclmorais When I try and use :selenium I get an error because AWS is involved, so I had to do this:
driver_urls = Webdrivers::Common.subclasses.map do |driver|
  Addressable::URI.parse(driver.base_url).host
end << 'github-production-release-asset-2e65be.s3.amazonaws.com'

Feel like github-production-release-asset-2e65be probably isn't static, but, I had to add it because just using s3.amazonaws.com didn't work.


Fix invalid prefetch thumbnail url getting pushed to client

Fixes #1180
When prefetching a page, thelounge will first fetch the actual image before pushing the (possibly invalid) url to the client. When it comes across any type of error it'll simply omit the thumbnail.

Anyway, I've already fixed this in #1190

Right, should've thought about that🤔


SwiftEntryKit crashs sometimes

Describe the bug
In app where we use SwiftEntryKit fabric shows that SwiftEntryKit crashed sometimes(not often) over several versions. We can't reproduce this crash, but maybe you will somehow. Here is a screenshots from fabric

iPhone (please complete the following information):

Xcode Version: 11.x
SwiftEntryKit Release # 1.2.0

Hi, could you provide more info?
iOS and device statistics are typically provided in the Firebase console.
Does the crash happen on background/foreground mode (also provided on Firebase)
Also, could you please update to 1.2.3? possibly related to #253.
Could you also send the raw text? (button on the top-right)

Any other info you can think about of and able to provide

Screenshot of iOS versions i posted in first message.
Device States here:

Raw text:
Crashed: com.apple.main-thread
0  SwiftEntryKit                  0x1051c0570 $s13SwiftEntryKit16EKWindowProviderC20setupWindowAndRootVC33_508357B7538CEB0C8D4141987D5008BELLAA20EKRootViewControllerCyF + 104
1  SwiftEntryKit                  0x1051c03e4 $s13SwiftEntryKit16EKWindowProviderC7prepare33_508357B7538CEB0C8D4141987D5008BELL3for22presentInsideKeyWindowAA20EKRootViewControllerCSgAA12EKAttributesV_SbtF + 40
2  SwiftEntryKit                  0x1051c176c $s13SwiftEntryKit16EKWindowProviderC7display33_508357B7538CEB0C8D4141987D5008BELL9entryView5using22presentInsideKeyWindow08rollbackS0yAA07EKEntryN0C_AA12EKAttributesVSbA2AC08RollbackS0OtFTf4ndnnn_n + 1116
3  SwiftEntryKit                  0x1051c6dfc $s13SwiftEntryKitAAC7display5entry5using22presentInsideKeyWindow08rollbackJ0ySo16UIViewControllerC_AA12EKAttributesVSbAB08RollbackJ0OtFZyycfU_ + 3168
4  SwiftEntryKit                  0x10518847c $sIeg_IeyB_TR + 28
5  libdispatch.dylib              0x197340a38 _dispatch_call_block_and_release + 24
6  libdispatch.dylib              0x1973417d4 _dispatch_client_callout + 16
7  libdispatch.dylib              0x1972ef004 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1068
8  CoreFoundation                 0x197892c1c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
9  CoreFoundation                 0x19788db54 __CFRunLoopRun + 1924
10 CoreFoundation                 0x19788d0b0 CFRunLoopRunSpecific + 436
11 GraphicsServices               0x199a8d79c GSEventRunModal + 104
12 UIKitCore                      0x1c40c3978 UIApplicationMain + 212
13 App Name                    0x102ba75a4 main + 27 (AppDelegate.swift:27)
14 libdyld.dylib                  0x1973528e0 start + 4

I'm presenting Entry with ViewController. ViewController contains UIScrollView. And there is one strange behavior: on my iPhone X (iOS 13.2, and previously on 12.x) it freezing when scroll without dropping fps.
When present this ViewController without SwiftEntryKit (just normally present) - all is fine.

I'll try to repro, but in the meantime, would be good to use 1.2.3 instead.

ViewController contains UIScrollView. And there is one strange behavior: on my iPhone X (iOS 13.2, and previously on 12.x) it freezing when scroll without dropping fps.
When present this ViewController without SwiftEntryKit (just normally present) - all is fine.

@Banck could you upload a small project that demonstrates that? I may be able to look into it today.

@huri000 I can't reproduce this behavior outside this project.
But, i've noticed, that these 2 lines (apart and together) affect performance in this entry (with other entries all is fine with the same attributes):
 attributes.screenBackground = visualEffect(style: .dark)
 attributes.entryBackground = .color(color: .init(UIColor.white))

Issue with performance reproduced only on iPhone X (13.2). Don't know why
Crashes can't reproduce.
P.S. Updated to 1.2.3

@huri000 I can't reproduce this behavior outside this project.
But, i've noticed, that these 2 lines (apart and together) affect performance in this entry (with other entries all is fine with the same attributes):
 attributes.screenBackground = visualEffect(style: .dark)
 attributes.entryBackground = .color(color: .init(UIColor.white))

Issue with performance reproduced only on iPhone X (13.2). Don't know why
Crashes can't reproduce.
P.S. Updated to 1.2.3

Strange...but now it doesn't help. Nevermind

@Banck No other developers have been reported this crash. Does it still occur?

Hi, @huri000. I have this crash as well. But i couldn't reproduce it. I am using 2.0.0 version.


Add remaining YLPQuery parameters #60

Added the remaining parameters to the YLPQuery.
If open_at and open_now are used at the same time only open_at will be added to the params.

Thanks for contributing, @iam10k !


Roster Clerk Edit Additions

Details
Add more fields to what roster clerks can edit:

TiG, TiS, and TiB dates
Graduation form BCT and UTC dates

Completed as of b588f61


More of a question...

Sorry, I know this isn't really an issue, but not sure where else I might ask such a question. I have a categorical action where a button hold modifies how a joystick input is interpreted, causing the x-axis of the joystick to affect roll instead of yaw. Is all that I need to add this button hold as a categorical action?

Or maybe an if statement based on the button hold? Is that doable within Actions()

Relatedly, a button press can toggle the camera setting from always directed toward an in-world object and to face the players positive +z direction in a left handed axes. Is using kControlFramePlayer going to interpret joystick values in both cases properly?

In a case like that there are a few different solutions; you could use multiple actions for each kind of joystick, for example, but at the cost of increasing the amount of actions which can impact learning a lot.
What I would suggest instead is that you add a bit of code in the game to map the physical presses of joystick buttons to actions that more directly express intent, like: go in this direction (regardless of the current value of toggles).

I haven't explored feelers much so sorry if this is a silly question, but the point of changing the camera setting for a human player to be oriented into the player's facing direction frame would be to look for entities that would be behind the camera while it is oriented toward the in-world object. Such as, you're locked onto a target and traveling away from it, but want to quickly look in the travel direction to make sure you're not running into anything or to purposely move over something. Do you have any insight on the impact on learner behavior if I don't add in the camera frame toggle and a human player uses it to change their FOV briefly? Using feelers (if I even understand what they do) could it still detect the entity outside of the camera FOV and avoid / move towards it if that is what is observed in the human players actions?

The camera components of the observations and the joystick controls in the actions are related to each other (they are processed together), but the feelers aren't, in the sense that you can use arbitrary transforms for the feelers.
I would keep camera and controls as simple as possible, and try to keep feelers consistent. If you want your feelers to look at different directions, maybe make 2 sets of feelers, or make them go 360 degrees around your player.
Also, depending on the case you may want to restrict feelers to static world, and use entity observations to see enemies for example. Worth trying different things to see what works best in your case.
In any case, I recommend starting from a very very simple task, like just walking towards an object, and make sure your agent can accomplish that before moving on to a more difficult task. Starting from a task that is more complex, combines camera, joystick, feelers, toggles, etc. will make things very difficult to debug.

Sounds good! Yeah I am just thinking into the future, but working on something as you suggest now, just moving towards a target. Thank you for your responses.

No problem!


add type hints to generated python 2 models

This helps to not get linting errors in APIView when importing the generated models directly. I believe adding a simple
# type: (Any) -> None
should help avoid this.

We should add -> None if no return type is expected, for instance __init__

No Python 2 anymore


Add supports local path to main.go

Now, only supports remote repository file...

does this solve?
https://github.com/moby/buildkit/blob/master/client/llb/source.go#L247


dAmbientLight' : undeclared identifier on Safari

Forum thread: https://forum.playcanvas.com/t/web-gl-error-on-safari/24268

Hey all,
I get this error on Safari when using light mapping on imported models:
WebGL: ERROR: 0:438: 'dAmbientLight' : undeclared identifier

To reproduce I used the model viewer template, imported my model, deleted the PlayCanvas cube, placed my template in the scene, and then turned on light mapping on the imported model. This model does have UV1’s. Here is the project:
https://playcanvas.com/project/880175/overview/ambientlighterror 3
I have been working on a project for quite a while with this error looming. It doesn’t seem to affect the scene in any way, I just always get the error in the console. I get the same error from using a default cube and checking on light mapping instead of using an imported model. I cannot reproduce this error on Chrome. Thoughts?

Callstack

I did a little digging on this one. The lightmapper is creating a shader that contains the compile error, but this shader is not used (so results are fine). Safari attempts to compile the shader and so generating the error, where Chrome does not compile it and so we see no error.
I was left wondering:

why is a shader being created, but not used (in this case)?
under what circumstances will the erroneous shader be used?
obviously wondering what the underlying issue is

Is this still an issue?